{"version":3,"sources":["vendor/ember-cli/app-prefix.js","agropur-client/adapters/application.js","agropur-client/adapters/barchart-market-datum.js","agropur-client/app.js","agropur-client/authenticators/oauth2-implicit-grant.js","agropur-client/authenticators/oauth2.js","agropur-client/authorizers/oauth2.js","agropur-client/components/basic-dropdown-content.js","agropur-client/components/basic-dropdown-trigger.js","agropur-client/components/basic-dropdown-wormhole.js","agropur-client/components/basic-dropdown.js","agropur-client/components/content-editable.js","agropur-client/components/display-mode-button.js","agropur-client/components/editable-content.js","agropur-client/components/ember-initials/index.js","agropur-client/components/fa-icon.js","agropur-client/components/format-number-cwt.js","agropur-client/components/futures-table.js","agropur-client/components/head-content.js","agropur-client/components/head-layout.js","agropur-client/components/intl-number-format.js","agropur-client/components/market-prices-widget.js","agropur-client/components/period-button.js","agropur-client/components/power-select-multiple.js","agropur-client/components/power-select-multiple/input.js","agropur-client/components/power-select-multiple/trigger.js","agropur-client/components/power-select.js","agropur-client/components/power-select/before-options.js","agropur-client/components/power-select/input.js","agropur-client/components/power-select/label.js","agropur-client/components/power-select/no-matches-message.js","agropur-client/components/power-select/options.js","agropur-client/components/power-select/placeholder.js","agropur-client/components/power-select/power-select-group.js","agropur-client/components/power-select/search-message.js","agropur-client/components/power-select/trigger.js","agropur-client/components/print-button.js","agropur-client/components/rd-chart.js","agropur-client/components/tv-widget.js","agropur-client/components/vault-price.js","agropur-client/components/vault-session-change.js","agropur-client/components/vd-display-percentile.js","agropur-client/components/vd-editable-cell.js","agropur-client/components/vd-modal.js","agropur-client/components/vd-panel-with-reveal.js","agropur-client/components/vd-panel.js","agropur-client/components/vd-row-columns.js","agropur-client/components/vd-select-location.js","agropur-client/components/vd-session-change.js","agropur-client/components/vd-sortable-dropdown.js","agropur-client/components/vd-static-cell.js","agropur-client/components/vd-table-loading-row.js","agropur-client/components/vd-toolbar.js","agropur-client/components/vd-tooltip-icon.js","agropur-client/controllers/application.js","agropur-client/controllers/authenticated.js","agropur-client/controllers/authenticated/basis-hedges/detail.js","agropur-client/controllers/authenticated/basis-hedges/index.js","agropur-client/controllers/authenticated/basis-prices/detail.js","agropur-client/controllers/authenticated/basis-prices/index.js","agropur-client/controllers/authenticated/class-iii-hedges/detail.js","agropur-client/controllers/authenticated/class-iii-hedges/index.js","agropur-client/controllers/authenticated/dairy-contacts.js","agropur-client/controllers/authenticated/dairy-notes.js","agropur-client/controllers/authenticated/dairy-settings.js","agropur-client/controllers/authenticated/dashboard.js","agropur-client/controllers/authenticated/forward-prices.js","agropur-client/controllers/authenticated/milk-physical-position-statement.js","agropur-client/controllers/authenticated/milk-production.js","agropur-client/controllers/authenticated/organization-aggregate/class-iii-and-basis-pl.js","agropur-client/controllers/authenticated/organization-aggregate/percentage-hedged.js","agropur-client/controllers/authenticated/organization-aggregate/production-report.js","agropur-client/controllers/authenticated/organization-aggregate/trade-log.js","agropur-client/controllers/authenticated/organization-aggregate/weighted-avg-basis-price.js","agropur-client/controllers/authenticated/organization-dairies.js","agropur-client/controllers/authenticated/organization-members/index.js","agropur-client/controllers/authenticated/organization-members/member.js","agropur-client/controllers/authenticated/organization-settings.js","agropur-client/controllers/authenticated/organization.js","agropur-client/controllers/login.js","agropur-client/controllers/password-reset.js","agropur-client/data-adapter.js","agropur-client/deprecation-workflow.js","agropur-client/font-awesome.js","agropur-client/graphql/queries/most-current-futures.js","agropur-client/graphql/queries/product-groups.js","agropur-client/graphql/queries/products.js","agropur-client/helpers/-base.js","agropur-client/helpers/and.js","agropur-client/helpers/assign.js","agropur-client/helpers/cancel-all.js","agropur-client/helpers/element.js","agropur-client/helpers/ember-power-select-is-equal.js","agropur-client/helpers/ember-power-select-is-group.js","agropur-client/helpers/ember-power-select-is-selected-present.js","agropur-client/helpers/ensure-safe-component.js","agropur-client/helpers/eq.js","agropur-client/helpers/format-month.js","agropur-client/helpers/format-number.js","agropur-client/helpers/gt.js","agropur-client/helpers/gte.js","agropur-client/helpers/is-after.js","agropur-client/helpers/is-array.js","agropur-client/helpers/is-before.js","agropur-client/helpers/is-between.js","agropur-client/helpers/is-empty.js","agropur-client/helpers/is-equal.js","agropur-client/helpers/is-same-or-after.js","agropur-client/helpers/is-same-or-before.js","agropur-client/helpers/is-same.js","agropur-client/helpers/lt.js","agropur-client/helpers/lte.js","agropur-client/helpers/moment-add.js","agropur-client/helpers/moment-calendar.js","agropur-client/helpers/moment-diff.js","agropur-client/helpers/moment-duration.js","agropur-client/helpers/moment-format.js","agropur-client/helpers/moment-from-now.js","agropur-client/helpers/moment-from.js","agropur-client/helpers/moment-subtract.js","agropur-client/helpers/moment-to-date.js","agropur-client/helpers/moment-to-now.js","agropur-client/helpers/moment-to.js","agropur-client/helpers/moment.js","agropur-client/helpers/not-eq.js","agropur-client/helpers/not.js","agropur-client/helpers/now.js","agropur-client/helpers/or.js","agropur-client/helpers/page-title.js","agropur-client/helpers/perform.js","agropur-client/helpers/pick.js","agropur-client/helpers/pluralize.js","agropur-client/helpers/singularize.js","agropur-client/helpers/task.js","agropur-client/helpers/unix.js","agropur-client/helpers/utc.js","agropur-client/helpers/vd-flash-price.js","agropur-client/helpers/xor.js","agropur-client/initializers/ember-data.js","agropur-client/initializers/ember-simple-auth.js","agropur-client/instance-initializers/head-browser.js","agropur-client/models/barchart-market-datum.js","agropur-client/models/dairy-contact.js","agropur-client/models/dairy.js","agropur-client/models/historical-price.js","agropur-client/models/instrument.js","agropur-client/models/location.js","agropur-client/models/manual-position.js","agropur-client/models/modern-instrument.js","agropur-client/models/modern-product-group.js","agropur-client/models/modern-product.js","agropur-client/models/month.js","agropur-client/models/organization.js","agropur-client/models/tv-channel.js","agropur-client/models/tv-playlist.js","agropur-client/models/tv-video.js","agropur-client/models/user-dairy-config.js","agropur-client/models/user-organization-config.js","agropur-client/models/user.js","agropur-client/models/vault-instrument.js","agropur-client/models/vault-market-datum.js","agropur-client/models/vault-product.js","agropur-client/modifiers/basic-dropdown-trigger.js","agropur-client/modifiers/content-editable.js","agropur-client/modifiers/style.js","agropur-client/router.js","agropur-client/routes/application.js","agropur-client/routes/authenticated.js","agropur-client/routes/authenticated/basis-hedges/detail.js","agropur-client/routes/authenticated/basis-hedges/index.js","agropur-client/routes/authenticated/basis-prices/detail.js","agropur-client/routes/authenticated/basis-prices/index.js","agropur-client/routes/authenticated/class-iii-hedges/detail.js","agropur-client/routes/authenticated/class-iii-hedges/index.js","agropur-client/routes/authenticated/dairy-contacts.js","agropur-client/routes/authenticated/dairy-notes.js","agropur-client/routes/authenticated/dairy-settings.js","agropur-client/routes/authenticated/dairy.js","agropur-client/routes/authenticated/dairy/index.js","agropur-client/routes/authenticated/dashboard.js","agropur-client/routes/authenticated/forward-prices.js","agropur-client/routes/authenticated/index.js","agropur-client/routes/authenticated/markets.js","agropur-client/routes/authenticated/milk-hedges.js","agropur-client/routes/authenticated/milk-physical-position-statement.js","agropur-client/routes/authenticated/milk-production.js","agropur-client/routes/authenticated/milk-revenue-report.js","agropur-client/routes/authenticated/organization-aggregate.js","agropur-client/routes/authenticated/organization-aggregate/class-iii-and-basis-pl.js","agropur-client/routes/authenticated/organization-aggregate/index.js","agropur-client/routes/authenticated/organization-aggregate/percentage-hedged.js","agropur-client/routes/authenticated/organization-aggregate/production-report.js","agropur-client/routes/authenticated/organization-aggregate/trade-log.js","agropur-client/routes/authenticated/organization-aggregate/weighted-avg-basis-price.js","agropur-client/routes/authenticated/organization-dairies.js","agropur-client/routes/authenticated/organization-members/index.js","agropur-client/routes/authenticated/organization-members/member.js","agropur-client/routes/authenticated/organization-settings.js","agropur-client/routes/authenticated/organization.js","agropur-client/routes/callback.js","agropur-client/routes/login.js","agropur-client/routes/not-found.js","agropur-client/routes/password-reset.js","agropur-client/serializers/application.js","agropur-client/serializers/barchart-market-datum.js","agropur-client/serializers/dairy-contact.js","agropur-client/serializers/dairy.js","agropur-client/serializers/manual-position.js","agropur-client/serializers/month.js","agropur-client/serializers/organization.js","agropur-client/serializers/user-dairy-config.js","agropur-client/serializers/user-organization-config.js","agropur-client/services/-ensure-registered.js","agropur-client/services/apollo.js","agropur-client/services/click-wrap.js","agropur-client/services/cookies.js","agropur-client/services/current-dairy.js","agropur-client/services/display-mode.js","agropur-client/services/forward-contracting-info-modal.js","agropur-client/services/head-data.js","agropur-client/services/market-data-token.js","agropur-client/services/market-data.js","agropur-client/services/moment.js","agropur-client/services/notification.js","agropur-client/services/page-title.js","agropur-client/services/period.js","agropur-client/services/session.js","agropur-client/services/store.js","agropur-client/services/tv.js","agropur-client/session-stores/application.js","agropur-client/templates/application.js","agropur-client/templates/authenticated.js","agropur-client/templates/authenticated/basis-hedges/detail.js","agropur-client/templates/authenticated/basis-hedges/index.js","agropur-client/templates/authenticated/basis-prices/detail.js","agropur-client/templates/authenticated/basis-prices/index.js","agropur-client/templates/authenticated/class-iii-hedges/detail.js","agropur-client/templates/authenticated/class-iii-hedges/index.js","agropur-client/templates/authenticated/dairy-contacts.js","agropur-client/templates/authenticated/dairy-notes.js","agropur-client/templates/authenticated/dairy-settings.js","agropur-client/templates/authenticated/dairy.js","agropur-client/templates/authenticated/dairy/index.js","agropur-client/templates/authenticated/dashboard.js","agropur-client/templates/authenticated/forward-prices.js","agropur-client/templates/authenticated/index.js","agropur-client/templates/authenticated/markets.js","agropur-client/templates/authenticated/milk-physical-position-statement.js","agropur-client/templates/authenticated/milk-production.js","agropur-client/templates/authenticated/organization-aggregate.js","agropur-client/templates/authenticated/organization-aggregate/class-iii-and-basis-pl.js","agropur-client/templates/authenticated/organization-aggregate/percentage-hedged.js","agropur-client/templates/authenticated/organization-aggregate/production-report.js","agropur-client/templates/authenticated/organization-aggregate/trade-log.js","agropur-client/templates/authenticated/organization-aggregate/weighted-avg-basis-price.js","agropur-client/templates/authenticated/organization-dairies.js","agropur-client/templates/authenticated/organization-members.js","agropur-client/templates/authenticated/organization-members/index.js","agropur-client/templates/authenticated/organization-members/member.js","agropur-client/templates/authenticated/organization-settings.js","agropur-client/templates/authenticated/organization.js","agropur-client/templates/head.js","agropur-client/templates/login.js","agropur-client/templates/not-found.js","agropur-client/templates/password-reset.js","agropur-client/transforms/boolean.js","agropur-client/transforms/date-input.js","agropur-client/transforms/date.js","agropur-client/transforms/localdate.js","agropur-client/transforms/number.js","agropur-client/transforms/raw.js","agropur-client/transforms/string.js","agropur-client/transforms/utcdate.js","agropur-client/transforms/utcdatetime.js","agropur-client/utils/barchart-to-vela-price.js","agropur-client/utils/date-utils.js","agropur-client/utils/vault-display-price.js","vendor/ember-cli/app-suffix.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"sourcesContent":["'use strict';\n\n\n","define(\"agropur-client/adapters/application\", [\"exports\", \"@ember-data/adapter/json-api\", \"agropur-client/config/environment\", \"@ember/service\"], function (_exports, _jsonApi, _environment, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/adapter/json-api\",0,\"agropur-client/config/environment\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Application = _exports.default = classic(_class = (_class2 = class Application extends _jsonApi.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _defineProperty(this, \"host\", _environment.default.APP.HOST);\n      _defineProperty(this, \"namespace\", 'commercial_api/api');\n    }\n    get headers() {\n      const headers = {};\n      if (this.session.isAuthenticated) {\n        headers['Authorization'] = `Bearer ${this.session.data.authenticated.access_token}`;\n      }\n      return headers;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/adapters/barchart-market-datum\", [\"exports\", \"@ember-data/adapter/rest\", \"@ember-data/adapter/error\", \"@ember/service\", \"agropur-client/config/environment\"], function (_exports, _rest, _error, _service, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/adapter/rest\",0,\"@ember-data/adapter/error\",0,\"@ember/service\",0,\"agropur-client/config/environment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let BarchartMarketDatum = _exports.default = classic(_class = (_class2 = class BarchartMarketDatum extends _rest.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"marketDataToken\", _descriptor, this);\n      _defineProperty(this, \"host\", _environment.default.marketDataGateway.host);\n      _defineProperty(this, \"coalesceFindRequests\", true);\n    }\n    findRecord(store, type, value) {\n      return this.queryQuotes([value]);\n    }\n    findMany(store, type, ids) {\n      return this.queryQuotes(ids);\n    }\n    async queryQuotes(symbols) {\n      try {\n        return await this.requestQuotes(symbols);\n      } catch (error) {\n        // A 401 is the one failure worth retrying: the cached token was\n        // rejected, so drop it and try once with a freshly minted one.\n        // Anything else propagates untouched.\n        if (!(error instanceof _error.UnauthorizedError)) {\n          throw error;\n        }\n        this.marketDataToken.invalidate();\n        return this.requestQuotes(symbols);\n      }\n    }\n    async requestQuotes(symbols) {\n      const accessToken = await this.marketDataToken.getAccessToken();\n      const headers = accessToken ? {\n        Authorization: `Bearer ${accessToken}`\n      } : {};\n      return this.ajax(`${this.host}/v1/quotes/query`, 'POST', {\n        contentType: 'application/json',\n        headers,\n        data: JSON.stringify({\n          filter: {\n            symbols\n          },\n          select: {\n            mode: 'default-plus',\n            fields: ['previousSettlement', 'settlement', 'openInterest']\n          }\n        })\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"marketDataToken\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/app\", [\"exports\", \"@ember/application\", \"ember-resolver\", \"ember-load-initializers\", \"agropur-client/config/environment\", \"@warp-drive/ember/install\", \"agropur-client/font-awesome\", \"@embroider/macros/es-compat2\"], function (_exports, _application, _emberResolver, _emberLoadInitializers, _environment, _install, _fontAwesome, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"ember-resolver\",0,\"ember-load-initializers\",0,\"agropur-client/config/environment\",0,\"@warp-drive/ember/install\",0,\"agropur-client/font-awesome\",0,\"@embroider/macros\",0,\"./deprecation-workflow\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  {\n    (0, _esCompat.default)(require(\"agropur-client/deprecation-workflow\"));\n  }\n  class App extends _application.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"modulePrefix\", _environment.default.modulePrefix);\n      _defineProperty(this, \"podModulePrefix\", _environment.default.podModulePrefix);\n      _defineProperty(this, \"Resolver\", _emberResolver.default);\n    }\n  }\n  _exports.default = App;\n  window.__CLASSIC_OWN_CLASSES__.set(App, true);\n  (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);\n});\n","define(\"agropur-client/authenticators/oauth2-implicit-grant\", [\"exports\", \"ember-simple-auth/authenticators/oauth2-implicit-grant\", \"rsvp\"], function (_exports, _oauth2ImplicitGrant, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"ember-simple-auth/authenticators/oauth2-implicit-grant\",0,\"rsvp\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Oauth2ImplicitGrant = _exports.default = classic(_class = class Oauth2ImplicitGrant extends _oauth2ImplicitGrant.default {\n    authenticate(hash) {\n      return new _rsvp.default.Promise((resolve, reject) => {\n        if (hash.error) {\n          reject(hash.error);\n        } else if (!this._validateData(hash)) {\n          reject('Invalid auth params - \"access_token\" missing.');\n        } else {\n          resolve(hash);\n        }\n      });\n    }\n  }) || _class;\n});\n","define(\"agropur-client/authenticators/oauth2\", [\"exports\", \"ember-simple-auth/authenticators/oauth2-password-grant\", \"agropur-client/config/environment\", \"@ember/utils\"], function (_exports, _oauth2PasswordGrant, _environment, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"ember-simple-auth/authenticators/oauth2-password-grant\",0,\"agropur-client/config/environment\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Oauth2 = _exports.default = classic(_class = class Oauth2 extends _oauth2PasswordGrant.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"serverTokenEndpoint\", `${_environment.default.APP.VAULT_API}/oauth/token`);\n      _defineProperty(this, \"serverTokenRevocationEndpoint\", `${_environment.default.APP.VAULT_API}/logout`);\n    }\n    /**\n       Makes a request to the OAuth 2.0 server.\n        @method makeRequest\n       @param {String} url The request URL\n       @param {Object} data The request data\n       @param {Object} headers Additional headers to send in request\n       @return {Promise} A promise that resolves with the response object\n       @protected\n     */\n    makeRequest(url, data, headers = {}) {\n      headers['Content-Type'] = headers['Content-Type'] ? headers['Content-Type'] : 'application/x-www-form-urlencoded';\n      const body = Object.keys(data).map(key => {\n        return `${encodeURIComponent(key)}=${encodeURIComponent(data[key])}`;\n      }).join('&');\n      const options = {\n        body,\n        headers,\n        method: 'POST'\n      };\n      const clientIdHeader = this._clientIdHeader;\n      if (!(0, _utils.isEmpty)(clientIdHeader)) {\n        Object.assign(options.headers, clientIdHeader);\n      }\n      return new Promise((resolve, reject) => {\n        fetch(url, options).then(response => {\n          response.text().then(text => {\n            try {\n              let json = JSON.parse(text);\n              if (!response.ok) {\n                response.responseJSON = json;\n                reject(response);\n              } else {\n                resolve(json);\n              }\n            } catch {\n              response.responseText = text;\n              reject(response);\n            }\n          });\n        }).catch(reject);\n      });\n    }\n  }) || _class;\n});\n","define(\"agropur-client/authorizers/oauth2\", [\"exports\", \"ember-simple-auth/authenticators/oauth2-implicit-grant\"], function (_exports, _oauth2ImplicitGrant) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-simple-auth/authenticators/oauth2-implicit-grant\"eaimeta@70e063a35619d71f\n  class OAuth2Authenticator extends _oauth2ImplicitGrant.default {}\n  _exports.default = OAuth2Authenticator;\n  window.__CLASSIC_OWN_CLASSES__.set(OAuth2Authenticator, true);\n});\n","define(\"agropur-client/components/basic-dropdown-content\", [\"exports\", \"ember-basic-dropdown/components/basic-dropdown-content\"], function (_exports, _basicDropdownContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _basicDropdownContent.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-basic-dropdown/components/basic-dropdown-content\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/basic-dropdown-trigger\", [\"exports\", \"ember-basic-dropdown/components/basic-dropdown-trigger\"], function (_exports, _basicDropdownTrigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _basicDropdownTrigger.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-basic-dropdown/components/basic-dropdown-trigger\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/basic-dropdown-wormhole\", [\"exports\", \"ember-basic-dropdown/components/basic-dropdown-wormhole\"], function (_exports, _basicDropdownWormhole) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _basicDropdownWormhole.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-basic-dropdown/components/basic-dropdown-wormhole\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/basic-dropdown\", [\"exports\", \"ember-basic-dropdown/components/basic-dropdown\"], function (_exports, _basicDropdown) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _basicDropdown.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-basic-dropdown/components/basic-dropdown\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/content-editable\", [\"exports\", \"ember-content-editable/components/content-editable\"], function (_exports, _contentEditable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _contentEditable.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-content-editable/components/content-editable\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/display-mode-button\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"btn-group btn-group-sm visible-md visible-lg\" role=\"group\">\n  \t<button\n  \t\tclass=\"btn btn-default btn-sm {{if this.isPerCWT 'active'}}\"\n  \t\t{{on \"click\" (fn this.updateDisplayMode \"cwt\")}}\n  \t>\n  \t\tPer CWT\n  \t</button>\n  \t<button\n  \t\tclass=\"btn btn-default btn-sm {{if this.isTotal 'active'}}\"\n  \t\t{{on \"click\" (fn this.updateDisplayMode \"total\")}}\n  \t>\n  \t\tTotal $\n  \t</button>\n  </div>\n  \n  <div\n  \tclass=\"btn-group btn-group-justified btn-group-sm visible-xs visible-sm\"\n  \trole=\"group\"\n  \taria-label=\"...\"\n  >\n  \t<div class=\"btn-group\" role=\"group\">\n  \t\t<button\n  \t\t\tclass=\"btn btn-default btn-sm {{if this.isPerCWT 'active'}}\"\n  \t\t\t{{on \"click\" (fn this.updateDisplayMode \"cwt\")}}\n  \t\t>\n  \t\t\tPer CWT\n  \t\t</button>\n  \t</div>\n  \t<div class=\"btn-group\" role=\"group\">\n  \t\t<button\n  \t\t\tclass=\"btn btn-default btn-sm {{if this.isTotal 'active'}}\"\n  \t\t\t{{on \"click\" (fn this.updateDisplayMode \"total\")}}\n  \t\t>\n  \t\t\tTotal $\n  \t\t</button>\n  \t</div>\n  </div>\n  */\n  {\n    \"id\": \"prhXesaa\",\n    \"block\": \"[[[10,0],[14,0,\\\"btn-group btn-group-sm visible-md visible-lg\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm \\\",[52,[30,0,[\\\"isPerCWT\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"updateDisplayMode\\\"]],\\\"cwt\\\"],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\tPer CWT\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm \\\",[52,[30,0,[\\\"isTotal\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"updateDisplayMode\\\"]],\\\"total\\\"],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\tTotal $\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"btn-group btn-group-justified btn-group-sm visible-xs visible-sm\\\"],[14,\\\"role\\\",\\\"group\\\"],[14,\\\"aria-label\\\",\\\"...\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm \\\",[52,[30,0,[\\\"isPerCWT\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"updateDisplayMode\\\"]],\\\"cwt\\\"],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\tPer CWT\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm \\\",[52,[30,0,[\\\"isTotal\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,4],[[30,0,[\\\"updateDisplayMode\\\"]],\\\"total\\\"],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\tTotal $\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],[\\\"div\\\",\\\"button\\\",\\\"if\\\",\\\"on\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"agropur-client/components/display-mode-button.hbs\",\n    \"isStrictMode\": false\n  });\n  let DisplayModeButton = _exports.default = (_class = class DisplayModeButton extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n    }\n    updateDisplayMode(mode) {\n      this.args.changeDisplayMode(mode);\n    }\n    get isPerCWT() {\n      return this.args.displayMode == 'cwt';\n    }\n    get isTotal() {\n      return this.args.displayMode == 'total';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"updateDisplayMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateDisplayMode\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DisplayModeButton);\n});\n","define(\"agropur-client/components/editable-content\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/object\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <ContentEditable\n  \t...attributes\n  \tstyle=\"display: block; min-height: {{this.minHeight}};\"\n  \t@allowNewlines={{true}}\n  \t@value={{this.postContent}}\n  \t@onChange={{fn (mut this.postContent)}}\n  \t@placeholder={{@placeholder}}\n  />\n  {{#if @enableSave}}\n  \t<button\n  \t\ttype=\"button\"\n  \t\tname=\"button\"\n  \t\tclass=\"btn btn-sm btn-primary\"\n  \t\t{{on \"click\" this.onSave}}\n  \t>\n  \t\t<FaIcon @icon=\"floppy-disk\" />\n  \t\tSave\n  \t</button>\n  {{/if}}\n  */\n  {\n    \"id\": \"OUAX4zJc\",\n    \"block\": \"[[[8,[39,0],[[17,1],[16,5,[29,[\\\"display: block; min-height: \\\",[30,0,[\\\"minHeight\\\"]],\\\";\\\"]]]],[[\\\"@allowNewlines\\\",\\\"@value\\\",\\\"@onChange\\\",\\\"@placeholder\\\"],[true,[30,0,[\\\"postContent\\\"]],[28,[37,1],[[28,[37,2],[[30,0,[\\\"postContent\\\"]]],null]],null],[30,2]]],null],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\"\\\\t\\\"],[11,\\\"button\\\"],[24,3,\\\"button\\\"],[24,0,\\\"btn btn-sm btn-primary\\\"],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[30,0,[\\\"onSave\\\"]]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[8,[39,6],null,[[\\\"@icon\\\"],[\\\"floppy-disk\\\"]],null],[1,\\\"\\\\n\\\\t\\\\tSave\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\",\\\"@placeholder\\\",\\\"@enableSave\\\"],[\\\"content-editable\\\",\\\"fn\\\",\\\"mut\\\",\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"agropur-client/components/editable-content.hbs\",\n    \"isStrictMode\": false\n  });\n  let EditableContent = _exports.default = (_class = class EditableContent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"postContent\", _descriptor, this);\n      _defineProperty(this, \"minHeight\", '300px');\n    }\n    onSave() {\n      if (this.args.onSave) {\n        this.args.onSave(this.postContent);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"postContent\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.postContent;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSave\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, EditableContent);\n});\n","define(\"agropur-client/components/ember-initials/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"mini-svg-data-uri\", \"@ember/template-factory\"], function (_exports, _component, _component2, _miniSvgDataUri, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"@glimmer/component\",0,\"mini-svg-data-uri\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <img\n  \t...attributes\n  \twidth={{this.width}}\n  \theight={{this.height}}\n  \tsrc={{this.src}}\n  \talt={{this.alt}}\n  \ttitle={{this.title}}\n  />\n  */\n  {\n    \"id\": \"gy7HCY0h\",\n    \"block\": \"[[[11,\\\"img\\\"],[17,1],[16,\\\"width\\\",[30,0,[\\\"width\\\"]]],[16,\\\"height\\\",[30,0,[\\\"height\\\"]]],[16,\\\"src\\\",[30,0,[\\\"src\\\"]]],[16,\\\"alt\\\",[30,0,[\\\"alt\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[12],[13]],[\\\"&attrs\\\"],[\\\"img\\\"]]\",\n    \"moduleName\": \"agropur-client/components/ember-initials/index.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * Self-contained replacement for the `ember-initials` addon, which was removed\n   * because its nested legacy babel-6 / micromatch-3 dependency tree carried\n   * advisories with no upstream fix available (see ENG-54).\n   *\n   * The initials, color-index and SVG-generation logic below is ported from\n   * ember-initials@4.0.1 verbatim so that generated avatars stay byte-identical\n   * to what users see today.\n   */\n\n  /**\n   * Color lookup table indexed by a hash of the seed text. The order is\n   * significant: changing it would change every existing user's avatar color.\n   * `#b49255` appears twice (indices 23 and 24) in the upstream table; the\n   * duplicate is intentional and must be preserved.\n   */\n  const DEFAULT_COLORS = ['#1abc9c', '#16a085', '#f1c40f', '#f39c12', '#2ecc71', '#27ae60', '#e67e22', '#d35400', '#3498db', '#2980b9', '#e74c3c', '#c0392b', '#9b59b6', '#8e44ad', '#bdc3c7', '#34495e', '#2c3e50', '#95a5a6', '#7f8c8d', '#ec87bf', '#d870ad', '#f69785', '#9ba37e', '#b49255', '#b49255', '#a94136', '#5461b4'];\n  const DEFAULT_BACKGROUND = '#dd6a58';\n  const DEFAULT_NAME = '?';\n  const DEFAULT_FONT_SIZE = 50;\n  const DEFAULT_FONT_WEIGHT = 200;\n  const DEFAULT_FONT_FAMILY = 'Helvetica Neue Light, Arial, sans-serif';\n  const DEFAULT_TEXT_COLOR = 'white';\n  const DEFAULT_SIZE = 30;\n  function capitalizedFirstLetter(word) {\n    return word ? word[0].toUpperCase() : '';\n  }\n  function initialsFor(name) {\n    let initials = name ? name.trim() : '';\n    const words = initials.split(' ');\n    if (words.length > 1) {\n      const first = capitalizedFirstLetter(words.shift());\n      const last = capitalizedFirstLetter(words.pop());\n      initials = first + last;\n    } else if (words.length === 1) {\n      initials = capitalizedFirstLetter(words.shift());\n    }\n    return initials;\n  }\n  function hashCode(string) {\n    let hash = 0;\n    if (string && string.length > 0) {\n      for (let i = 0; i < string.length; i++) {\n        const char = string.charCodeAt(i);\n        hash = (hash << 5) - hash + char;\n        hash |= 0; // Convert to 32bit integer\n      }\n    }\n    return hash & hash;\n  }\n  function colorIndex(seedText, colorsLength) {\n    const code = hashCode(seedText);\n    return Math.abs(Math.floor(code % colorsLength));\n  }\n  function stringify(object = {}, transform) {\n    return Object.entries(object).map(([key, value]) => transform(key, value)).join(' ');\n  }\n  function generateElement(name, content, attrs = {}) {\n    const attrsString = stringify(attrs, (key, value) => `${key}=\"${value}\"`);\n    return `<${name} ${attrsString}>${content}</${name}>`;\n  }\n  function generateSvg(properties) {\n    const textElement = generateElement('text', properties.initials, {\n      style: stringify(properties.textStyles, (key, value) => `${key}: ${value};`),\n      y: '50%',\n      x: '50%',\n      dy: '0.35em',\n      'text-anchor': 'middle',\n      'pointer-events': 'none',\n      fill: properties.initialsColor\n    });\n    return generateElement('svg', textElement, {\n      style: stringify(properties.backgroundStyles, (key, value) => `${key}: ${value};`),\n      xmlns: 'http://www.w3.org/2000/svg',\n      'pointer-events': 'none',\n      viewBox: '0 0 100 100'\n    });\n  }\n\n  /**\n   * Generated data URIs are memoized at module scope, keyed on the serialized\n   * property object, because the same handful of avatars re-render often.\n   */\n  const svgCache = new Map();\n  function initialsDataUri(properties) {\n    const key = JSON.stringify(properties);\n    const cached = svgCache.get(key);\n    if (cached) return cached;\n    const data = (0, _miniSvgDataUri.default)(generateSvg(properties));\n    svgCache.set(key, data);\n    return data;\n  }\n  class InitialsAvatarComponent extends _component2.default {\n    get defaultName() {\n      return this.args.defaultName ?? DEFAULT_NAME;\n    }\n    get defaultBackground() {\n      return this.args.defaultBackground ?? DEFAULT_BACKGROUND;\n    }\n    get colors() {\n      return this.args.colors ?? DEFAULT_COLORS;\n    }\n    get fontSize() {\n      return this.args.fontSize ?? DEFAULT_FONT_SIZE;\n    }\n    get fontWeight() {\n      return this.args.fontWeight ?? DEFAULT_FONT_WEIGHT;\n    }\n    get fontFamily() {\n      return this.args.fontFamily ?? DEFAULT_FONT_FAMILY;\n    }\n    get textColor() {\n      return this.args.textColor ?? DEFAULT_TEXT_COLOR;\n    }\n    get size() {\n      return this.args.size ?? DEFAULT_SIZE;\n    }\n    get width() {\n      return this.args.width ?? this.size;\n    }\n    get height() {\n      return this.args.height ?? this.size;\n    }\n    get name() {\n      return this.args.name ?? this.defaultName;\n    }\n    get alt() {\n      return this.args.alt ?? this.name;\n    }\n    get title() {\n      return this.args.title ?? this.name;\n    }\n    get seedText() {\n      return this.args.seedText ?? this.name;\n    }\n    get initials() {\n      return this.args.initials || initialsFor(this.name || this.defaultName);\n    }\n    get backgroundColor() {\n      if (this.args.backgroundColor) return this.args.backgroundColor;\n      const {\n        colors,\n        seedText,\n        defaultName,\n        defaultBackground\n      } = this;\n      if (seedText === defaultName) {\n        return defaultBackground;\n      }\n      const index = colorIndex(seedText, colors.length);\n      return colors[index];\n    }\n    get textStyles() {\n      return {\n        'font-family': this.fontFamily,\n        'font-weight': this.fontWeight,\n        'font-size': `${this.fontSize}px`,\n        ...this.args.textStyles\n      };\n    }\n    get backgroundStyles() {\n      return {\n        'user-select': 'none',\n        'vertical-align': 'middle',\n        'background-color': this.backgroundColor,\n        ...this.args.backgroundStyles\n      };\n    }\n    get src() {\n      return this.args.image || initialsDataUri({\n        initials: this.initials,\n        initialsColor: this.textColor,\n        textStyles: this.textStyles,\n        backgroundStyles: this.backgroundStyles\n      });\n    }\n  }\n  _exports.default = InitialsAvatarComponent;\n  window.__CLASSIC_OWN_CLASSES__.set(InitialsAvatarComponent, true);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, InitialsAvatarComponent);\n});\n","define(\"agropur-client/components/fa-icon\", [\"exports\", \"@fortawesome/ember-fontawesome/components/fa-icon\"], function (_exports, _faIcon) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _faIcon.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@fortawesome/ember-fontawesome/components/fa-icon\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/format-number-cwt\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/utils\", \"numeral\", \"@ember/template-factory\"], function (_exports, _component, _object, _utils, _numeral, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"@ember/component\",0,\"@ember/object\",0,\"@ember/utils\",0,\"numeral\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.warning}}\n  \t<span class=\"text-danger\" title={{this.warning}}>\n  \t\t<FaIcon @icon=\"exclamation-triangle\" /></span>\n  {{else}}\n  \t{{this.formattedResult}}\n  {{/if}}\n  */\n  {\n    \"id\": \"j0Af1Vi1\",\n    \"block\": \"[[[41,[30,0,[\\\"warning\\\"]],[[[1,\\\"\\\\t\\\"],[10,1],[14,0,\\\"text-danger\\\"],[15,\\\"title\\\",[30,0,[\\\"warning\\\"]]],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[8,[39,2],null,[[\\\"@icon\\\"],[\\\"exclamation-triangle\\\"]],null],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\"],[1,[30,0,[\\\"formattedResult\\\"]]],[1,\\\"\\\\n\\\"]],[]]]],[],[\\\"if\\\",\\\"span\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"agropur-client/components/format-number-cwt.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _component.default.extend({\n    init() {\n      this._super(...arguments);\n    },\n    formattedResult: (0, _object.computed)('value', 'format', 'perCWT', 'cwt', 'cwtFormat', 'perCows', 'cows', 'total', function () {\n      let cwtValue;\n      let perCWT = this.perCWT == 'cwt';\n      if (this.total) {\n        cwtValue = this.value / this.cwt;\n      } else {\n        cwtValue = this.value;\n      }\n      if (cwtValue) {\n        let temp = 0;\n        if (perCWT) {\n          temp = cwtValue;\n        } else if (this.perCows) {\n          if (this.cows > 0) {\n            temp = cwtValue * this.cwt / this.cows;\n          }\n        } else if (this.cwt) {\n          temp = cwtValue * this.cwt;\n        }\n        if (!Number.isFinite(temp) || Number.isNaN(temp) || !(0, _utils.isPresent)(temp)) {\n          temp = 0;\n        }\n        return (0, _numeral.default)(temp).format(perCWT ? this.cwtFormat : this.format);\n      } else {\n        return (0, _numeral.default)(0).format(perCWT ? this.cwtFormat : this.format);\n      }\n    }),\n    warning: (0, _object.computed)('perCWT', 'perCows', 'cwt', 'cows', function () {\n      if (this.perCWT && this.total && this.cwt === 0) {\n        return 'Unable to calculate per cwt value. Missing monthly milk production.';\n      }\n      if (this.perCows && this.cows === 0) {\n        return 'Unable to calculate per cow value. Missing cows in milk.';\n      }\n      if (!this.perCWT && !this.perCows && this.cwt === 0) {\n        return 'Unable to calculate total dollar value. Missing monthly milk production.';\n      }\n      return;\n    })\n  }).reopenClass({\n    positionalParams: ['value', 'format', 'perCWT', 'cwt', 'cwtFormat', 'perCows', 'cows', 'total']\n  }));\n});\n","define(\"agropur-client/components/futures-table\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"@ember/component/template-only\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div ...attributes>\n  \t<VdPanelWithReveal @hasReveal={{@hasReveal}} @title={{@name}} @header=\"true\">\n  \t\t<div class=\"table-responsive\">\n  \t\t\t<table class=\"table table-striped table-bordered\">\n  \t\t\t\t<thead>\n  \t\t\t\t\t<tr>\n  \t\t\t\t\t\t<th>Month</th>\n  \t\t\t\t\t\t<th>Price</th>\n  \t\t\t\t\t\t<th>Change</th>\n  \t\t\t\t\t\t<th>High</th>\n  \t\t\t\t\t\t<th>Low</th>\n  \t\t\t\t\t</tr>\n  \t\t\t\t</thead>\n  \t\t\t\t<tbody>\n  \t\t\t\t\t{{#each @instruments as |instrument|}}\n  \t\t\t\t\t\t<tr>\n  \t\t\t\t\t\t\t<td title={{instrument.name}}>{{format-month\n  \t\t\t\t\t\t\t\t\tinstrument.displayExpiresAt\n  \t\t\t\t\t\t\t\t}}\n  \t\t\t\t\t\t\t</td>\n  \t\t\t\t\t\t\t<td class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t\t{{instrument.displayLastPrice}}\n  \t\t\t\t\t\t\t</td>\n  \t\t\t\t\t\t\t<td>\n  \t\t\t\t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t\t\t\t@netChange={{instrument.netChange}}\n  \t\t\t\t\t\t\t\t\t@percentChange={{instrument.percentChange}}\n  \t\t\t\t\t\t\t\t/>\n  \t\t\t\t\t\t\t</td>\n  \t\t\t\t\t\t\t<td class=\"instrument-price\" title=\"Session High\">\n  \t\t\t\t\t\t\t\t{{instrument.displayHighPrice}}\n  \t\t\t\t\t\t\t</td>\n  \t\t\t\t\t\t\t<td class=\"instrument-price\" title=\"Session Low\">\n  \t\t\t\t\t\t\t\t{{instrument.displayLowPrice}}\n  \t\t\t\t\t\t\t</td>\n  \n  \t\t\t\t\t\t</tr>\n  \t\t\t\t\t{{/each}}\n  \t\t\t\t\t<tr>\n  \t\t\t\t\t\t<td colspan=\"5\" class=\"delayed-prices-message\"><FaIcon @icon=\"clock\" />\n  \t\t\t\t\t\t\tPrices delayed at least 10 minutes.\n  \t\t\t\t\t\t</td>\n  \t\t\t\t\t</tr>\n  \t\t\t\t</tbody>\n  \t\t\t</table>\n  \t\t</div>\n  \n  \t</VdPanelWithReveal>\n  </div>\n  */\n  {\n    \"id\": \"i2U5uQmQ\",\n    \"block\": \"[[[11,0],[17,1],[12],[1,\\\"\\\\n\\\\t\\\"],[8,[39,1],null,[[\\\"@hasReveal\\\",\\\"@title\\\",\\\"@header\\\"],[[30,2],[30,3],\\\"true\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"table-responsive\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"table\\\"],[14,0,\\\"table table-striped table-bordered\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"th\\\"],[12],[1,\\\"Month\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"th\\\"],[12],[1,\\\"Price\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"th\\\"],[12],[1,\\\"Change\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"th\\\"],[12],[1,\\\"High\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"th\\\"],[12],[1,\\\"Low\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,4]],null]],null],null,[[[1,\\\"\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[15,\\\"title\\\",[30,5,[\\\"name\\\"]]],[12],[1,[28,[35,10],[[30,5,[\\\"displayExpiresAt\\\"]]],null]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,5,[\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,11],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,5,[\\\"netChange\\\"]],[30,5,[\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Session High\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,5,[\\\"displayHighPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Session Low\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,5,[\\\"displayLowPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[5]],null],[1,\\\"\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"5\\\"],[14,0,\\\"delayed-prices-message\\\"],[12],[8,[39,12],null,[[\\\"@icon\\\"],[\\\"clock\\\"]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tPrices delayed at least 10 minutes.\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@hasReveal\\\",\\\"@name\\\",\\\"@instruments\\\",\\\"instrument\\\"],[\\\"div\\\",\\\"vd-panel-with-reveal\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"tbody\\\",\\\"each\\\",\\\"-track-array\\\",\\\"td\\\",\\\"format-month\\\",\\\"vault-session-change\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"agropur-client/components/futures-table.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});\n","define(\"agropur-client/components/head-content\", [\"exports\", \"@ember/service\", \"@glimmer/component\", \"agropur-client/templates/head\", \"@ember/component\"], function (_exports, _service, _component, _head, _component2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/component\",0,\"agropur-client/templates/head\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let HeadContent = _exports.default = (_dec = (0, _service.inject)('head-data'), _class = class HeadContent extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"model\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"model\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component2.setComponentTemplate)(_head.default, HeadContent);\n});\n","define(\"agropur-client/components/head-layout\", [\"exports\", \"ember-cli-head/components/head-layout\"], function (_exports, _headLayout) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _headLayout.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-head/components/head-layout\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/intl-number-format\", [\"exports\", \"@ember/component\", \"@ember-decorators/component\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{this.formattedValue}}\n  */\n  {\n    \"id\": \"qDOX0YpV\",\n    \"block\": \"[[[1,[30,0,[\\\"formattedValue\\\"]]]],[],[]]\",\n    \"moduleName\": \"agropur-client/components/intl-number-format.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IntlNumberFormat = _exports.default = (_dec = (0, _component2.tagName)('span'), _dec2 = (0, _object.computed)('locales', 'style', 'localeMatcher', 'currency', 'currencyDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits', 'value'), classic(_class = _dec(_class = (_class2 = class IntlNumberFormat extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"locales\", '');\n      _defineProperty(this, \"style\", null);\n      _defineProperty(this, \"localeMatcher\", null);\n      _defineProperty(this, \"currency\", null);\n      _defineProperty(this, \"currencyDisplay\", null);\n      _defineProperty(this, \"useGrouping\", null);\n      _defineProperty(this, \"minimumIntegerDigits\", null);\n      _defineProperty(this, \"minimumFractionDigits\", null);\n      _defineProperty(this, \"maximumFractionDigits\", null);\n      _defineProperty(this, \"minimumSignificantDigits\", null);\n      _defineProperty(this, \"maximumSignificantDigits\", null);\n      _defineProperty(this, \"value\", 0);\n    }\n    get formattedValue() {\n      let options = {};\n      Object.assign(options, this.style && {\n        style: this.style\n      }, this.localeMatcher && {\n        localeMatcher: this.localeMatcher\n      }, this.currency && {\n        currency: this.currency\n      }, this.currencyDisplay && {\n        currencyDisplay: this.currencyDisplay\n      }, this.useGrouping && {\n        useGrouping: this.useGrouping\n      }, this.minimumIntegerDigits && {\n        minimumIntegerDigits: this.minimumIntegerDigits\n      }, this.minimumFractionDigits && {\n        minimumFractionDigits: this.minimumFractionDigits\n      }, this.maximumFractionDigits && {\n        maximumFractionDigits: this.maximumFractionDigits\n      }, this.minimumSignificantDigits && {\n        minimumSignificantDigits: this.minimumSignificantDigits\n      }, this.maximumSignificantDigits && {\n        maximumSignificantDigits: this.maximumSignificantDigits\n      });\n      if (this.locales) {\n        return new Intl.NumberFormat(this.locales, options).format(this.value);\n      } else {\n        return new Intl.NumberFormat(undefined, options).format(this.value);\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"formattedValue\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"formattedValue\"), _class2.prototype), _class2)) || _class) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, IntlNumberFormat);\n});\n","define(\"agropur-client/components/market-prices-widget\", [\"exports\", \"@ember/component\", \"@ember/template-factory\"], function (_exports, _component, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <VdPanelWithReveal\n  \tclass=\"markets-widget\"\n  \t@headerLink=\"authenticated.markets\"\n  \t@title=\"CME Markets\"\n  \t@revealTitle=\"Markets Config\"\n  \t@header=\"true\"\n  \t@hasReveal=\"false\"\n  >\n  \t<table class=\"table table-striped table-bordered widget-table primary\">\n  \t\t<thead>\n  \t\t\t<tr>\n  \t\t\t\t<th>Commodity</th>\n  \t\t\t\t<th>Price</th>\n  \t\t\t</tr>\n  \t\t</thead>\n  \t\t<tbody>\n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Class III Milk</div>\n  \t\t\t\t\t{{this.classThreeFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.classThreeFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.classThreeFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.classThreeFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Cash-Settled Cheese</div>\n  \t\t\t\t\t{{this.cashSettledCheeseFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.cashSettledCheeseFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.cashSettledCheeseFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.cashSettledCheeseFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Dry Whey</div>\n  \t\t\t\t\t{{this.dryWheyFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.dryWheyFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.dryWheyFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.dryWheyFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Class IV Milk</div>\n  \t\t\t\t\t{{this.classFourFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.classFourFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.classFourFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.classFourFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Cash-Settled Butter</div>\n  \t\t\t\t\t{{this.cashSettledButterFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.cashSettledButterFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.cashSettledButterFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.cashSettledButterFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Nonfat Dry Milk</div>\n  \t\t\t\t\t{{this.nonfatDryMilkFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.nonfatDryMilkFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.nonfatDryMilkFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.nonfatDryMilkFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Corn</div>\n  \t\t\t\t\t{{this.cornFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.cornFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.cornFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.cornFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Soybean Meal</div>\n  \t\t\t\t\t{{this.soybeanMealFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.soybeanMealFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.soybeanMealFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.soybeanMealFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Soybeans</div>\n  \t\t\t\t\t{{this.soybeanFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.soybeanFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.soybeanFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.soybeanFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \n  \t\t\t<tr>\n  \t\t\t\t<td>\n  \t\t\t\t\t<div>Wheat</div>\n  \t\t\t\t\t{{this.wheatFuture.name}}\n  \t\t\t\t</td>\n  \t\t\t\t<td>\n  \t\t\t\t\t<h4 style=\"margin-top:0px; margin-bottom: 0px;\">\n  \t\t\t\t\t\t<span class=\"instrument-price\" title=\"Last Traded Price\">\n  \t\t\t\t\t\t\t{{this.wheatFuture.displayLastPrice}}\n  \t\t\t\t\t\t</span>\n  \t\t\t\t\t</h4>\n  \t\t\t\t\t<VaultSessionChange\n  \t\t\t\t\t\t@netChange={{this.wheatFuture.netChange}}\n  \t\t\t\t\t\t@percentChange={{this.wheatFuture.percentChange}}\n  \t\t\t\t\t/>\n  \t\t\t\t</td>\n  \t\t\t</tr>\n  \n  \t\t\t<tr>\n  \t\t\t\t<td colspan=\"2\" class=\"delayed-prices-message\"><FaIcon @icon=\"clock\" />\n  \t\t\t\t\tPrices delayed at least 10 minutes</td>\n  \t\t\t</tr>\n  \t\t</tbody>\n  \t</table>\n  \t<div class=\"card-content secondary\">\n  \t\t<div class=\"secondary-content\">\n  \t\t\t<ul class=\"list-unstyled config-list draggable-list\">\n  \t\t\t</ul>\n  \t\t</div>\n  \t</div>\n  </VdPanelWithReveal>\n  */\n  {\n    \"id\": \"f8ybIlVg\",\n    \"block\": \"[[[8,[39,0],[[24,0,\\\"markets-widget\\\"]],[[\\\"@headerLink\\\",\\\"@title\\\",\\\"@revealTitle\\\",\\\"@header\\\",\\\"@hasReveal\\\"],[\\\"authenticated.markets\\\",\\\"CME Markets\\\",\\\"Markets Config\\\",\\\"true\\\",\\\"false\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\t\\\"],[10,\\\"table\\\"],[14,0,\\\"table table-striped table-bordered widget-table primary\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,\\\"thead\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"th\\\"],[12],[1,\\\"Commodity\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"th\\\"],[12],[1,\\\"Price\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Class III Milk\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"classThreeFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"classThreeFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"classThreeFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"classThreeFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Cash-Settled Cheese\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"cashSettledCheeseFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"cashSettledCheeseFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"cashSettledCheeseFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"cashSettledCheeseFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Dry Whey\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"dryWheyFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"dryWheyFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"dryWheyFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"dryWheyFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Class IV Milk\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"classFourFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"classFourFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"classFourFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"classFourFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Cash-Settled Butter\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"cashSettledButterFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"cashSettledButterFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"cashSettledButterFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"cashSettledButterFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Nonfat Dry Milk\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"nonfatDryMilkFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"nonfatDryMilkFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"nonfatDryMilkFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"nonfatDryMilkFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Corn\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"cornFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"cornFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"cornFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"cornFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Soybean Meal\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"soybeanMealFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"soybeanMealFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"soybeanMealFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"soybeanMealFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Soybeans\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"soybeanFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"soybeanFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"soybeanFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"soybeanFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[12],[1,\\\"Wheat\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"wheatFuture\\\",\\\"name\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,5,\\\"margin-top:0px; margin-bottom: 0px;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"instrument-price\\\"],[14,\\\"title\\\",\\\"Last Traded Price\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"wheatFuture\\\",\\\"displayLastPrice\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,10],null,[[\\\"@netChange\\\",\\\"@percentChange\\\"],[[30,0,[\\\"wheatFuture\\\",\\\"netChange\\\"]],[30,0,[\\\"wheatFuture\\\",\\\"percentChange\\\"]]]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"2\\\"],[14,0,\\\"delayed-prices-message\\\"],[12],[8,[39,11],null,[[\\\"@icon\\\"],[\\\"clock\\\"]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tPrices delayed at least 10 minutes\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"card-content secondary\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"secondary-content\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"ul\\\"],[14,0,\\\"list-unstyled config-list draggable-list\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]]]]]],[],[\\\"vd-panel-with-reveal\\\",\\\"table\\\",\\\"thead\\\",\\\"tr\\\",\\\"th\\\",\\\"tbody\\\",\\\"td\\\",\\\"div\\\",\\\"h4\\\",\\\"span\\\",\\\"vault-session-change\\\",\\\"fa-icon\\\",\\\"ul\\\"]]\",\n    \"moduleName\": \"agropur-client/components/market-prices-widget.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MarketPricesWidget = _exports.default = classic(_class = class MarketPricesWidget extends _component.default {}) || _class;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MarketPricesWidget);\n});\n","define(\"agropur-client/components/period-button\", [\"exports\", \"@ember/component\", \"@ember/object\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _object, _moment, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/component\",0,\"moment\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n  \tclass=\"btn-group btn-group-sm year-switch visible-md visible-lg\"\n  \trole=\"group\"\n  >\n  \t<button\n  \t\tclass=\"btn btn-default btn-sm\"\n  \t\t{{on \"click\" (fn @changePeriod \"-1\" \"year\")}}\n  \t><FaIcon @icon=\"angle-double-left\" /></button>\n  \t<button\n  \t\tclass=\"btn btn-default btn-sm\"\n  \t\t{{on \"click\" (fn @changePeriod \"-1\" \"month\")}}\n  \t><FaIcon @icon=\"angle-left\" /></button>\n  \t<button class=\"btn btn-default btn-sm btn-display year-display\">{{moment-format\n  \t\t\tthis.periodDate\n  \t\t\t\"MMM YYYY\"\n  \t\t}}</button>\n  \t<button\n  \t\tclass=\"btn btn-default btn-sm\"\n  \t\t{{on \"click\" (fn @changePeriod \"1\" \"month\")}}\n  \t><FaIcon @icon=\"angle-right\" /></button>\n  \t<button\n  \t\tclass=\"btn btn-default btn-sm\"\n  \t\t{{on \"click\" (fn @changePeriod \"1\" \"year\")}}\n  \t><FaIcon @icon=\"angle-double-right\" /></button>\n  </div>\n  \n  <div\n  \tclass=\"btn-group btn-group-justified btn-group-sm year-switch visible-xs visible-sm\"\n  \trole=\"group\"\n  \taria-label=\"...\"\n  >\n  \t<div class=\"btn-group\" role=\"group\">\n  \t\t<button\n  \t\t\tclass=\"btn btn-default btn-sm\"\n  \t\t\t{{on \"click\" (fn @changePeriod \"-1\" \"year\")}}\n  \t\t><FaIcon @icon=\"angle-double-left\" /></button>\n  \t</div>\n  \t<div class=\"btn-group\" role=\"group\">\n  \t\t<button\n  \t\t\tclass=\"btn btn-default btn-sm\"\n  \t\t\t{{on \"click\" (fn @changePeriod \"-1\" \"month\")}}\n  \t\t><FaIcon @icon=\"angle-left\" /></button>\n  \t</div>\n  \t<div class=\"btn-group\" role=\"group\">\n  \t\t<button\n  \t\t\tclass=\"btn btn-default btn-sm btn-display year-display\"\n  \t\t>{{moment-format this.periodDate \"MMM YYYY\"}}</button>\n  \t</div>\n  \t<div class=\"btn-group\" role=\"group\">\n  \t\t<button\n  \t\t\tclass=\"btn btn-default btn-sm\"\n  \t\t\t{{on \"click\" (fn @changePeriod \"1\" \"month\")}}\n  \t\t><FaIcon @icon=\"angle-right\" /></button>\n  \t</div>\n  \t<div class=\"btn-group\" role=\"group\">\n  \t\t<button\n  \t\t\tclass=\"btn btn-default btn-sm\"\n  \t\t\t{{on \"click\" (fn @changePeriod \"1\" \"year\")}}\n  \t\t><FaIcon @icon=\"angle-double-right\" /></button>\n  \t</div>\n  </div>\n  */\n  {\n    \"id\": \"le08EFL8\",\n    \"block\": \"[[[10,0],[14,0,\\\"btn-group btn-group-sm year-switch visible-md visible-lg\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"-1\\\",\\\"year\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-double-left\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"-1\\\",\\\"month\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-left\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\"],[10,\\\"button\\\"],[14,0,\\\"btn btn-default btn-sm btn-display year-display\\\"],[12],[1,[28,[35,5],[[30,0,[\\\"periodDate\\\"]],\\\"MMM YYYY\\\"],null]],[13],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"1\\\",\\\"month\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-right\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"1\\\",\\\"year\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-double-right\\\"]],null],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"btn-group btn-group-justified btn-group-sm year-switch visible-xs visible-sm\\\"],[14,\\\"role\\\",\\\"group\\\"],[14,\\\"aria-label\\\",\\\"...\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"-1\\\",\\\"year\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-double-left\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"-1\\\",\\\"month\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-left\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,\\\"button\\\"],[14,0,\\\"btn btn-default btn-sm btn-display year-display\\\"],[12],[1,[28,[35,5],[[30,0,[\\\"periodDate\\\"]],\\\"MMM YYYY\\\"],null]],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"1\\\",\\\"month\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-right\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[30,1],\\\"1\\\",\\\"year\\\"],null]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-double-right\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@changePeriod\\\"],[\\\"div\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"fa-icon\\\",\\\"moment-format\\\"]]\",\n    \"moduleName\": \"agropur-client/components/period-button.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let PeriodButton = _exports.default = (_dec = (0, _object.computed)('periodDate'), classic(_class = (_class2 = class PeriodButton extends _component.default {\n    get displayYear() {\n      return (0, _moment.default)(this.periodDate).format('YYYY');\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"displayYear\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"displayYear\"), _class2.prototype), _class2)) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PeriodButton);\n});\n","define(\"agropur-client/components/power-select-multiple\", [\"exports\", \"ember-power-select/components/power-select-multiple\"], function (_exports, _powerSelectMultiple) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _powerSelectMultiple.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select-multiple\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select-multiple/input\", [\"exports\", \"ember-power-select/components/power-select-multiple/input\"], function (_exports, _input) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _input.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select-multiple/input\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select-multiple/trigger\", [\"exports\", \"ember-power-select/components/power-select-multiple/trigger\"], function (_exports, _trigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _trigger.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select-multiple/trigger\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select\", [\"exports\", \"ember-power-select/components/power-select\"], function (_exports, _powerSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _powerSelect.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/before-options\", [\"exports\", \"ember-power-select/components/power-select/before-options\"], function (_exports, _beforeOptions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _beforeOptions.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/before-options\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/input\", [\"exports\", \"ember-power-select/components/power-select/input\"], function (_exports, _input) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _input.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/input\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/label\", [\"exports\", \"ember-power-select/components/power-select/label\"], function (_exports, _label) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _label.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/label\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/no-matches-message\", [\"exports\", \"ember-power-select/components/power-select/no-matches-message\"], function (_exports, _noMatchesMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _noMatchesMessage.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/no-matches-message\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/options\", [\"exports\", \"ember-power-select/components/power-select/options\"], function (_exports, _options) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _options.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/options\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/placeholder\", [\"exports\", \"ember-power-select/components/power-select/placeholder\"], function (_exports, _placeholder) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _placeholder.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/placeholder\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/power-select-group\", [\"exports\", \"ember-power-select/components/power-select/power-select-group\"], function (_exports, _powerSelectGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _powerSelectGroup.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/power-select-group\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/search-message\", [\"exports\", \"ember-power-select/components/power-select/search-message\"], function (_exports, _searchMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _searchMessage.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/search-message\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/power-select/trigger\", [\"exports\", \"ember-power-select/components/power-select/trigger\"], function (_exports, _trigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _trigger.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/components/power-select/trigger\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/components/print-button\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"btn-group btn-group-sm visible-md visible-lg\" role=\"group\">\n  \t<button class=\"btn btn-default btn-sm\" {{on \"click\" this.print}}><FaIcon\n  \t\t\t@icon=\"print\"\n  \t\t/></button>\n  </div>\n  */\n  {\n    \"id\": \"E2cpDKAZ\",\n    \"block\": \"[[[10,0],[14,0,\\\"btn-group btn-group-sm visible-md visible-lg\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"print\\\"]]],null],[12],[8,[39,3],null,[[\\\"@icon\\\"],[\\\"print\\\"]],null],[13],[1,\\\"\\\\n\\\"],[13]],[],[\\\"div\\\",\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"agropur-client/components/print-button.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let PrintButton = _exports.default = classic(_class = (_class2 = class PrintButton extends _component.default {\n    print() {\n      window.print();\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"print\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"print\"), _class2.prototype), _class2)) || _class;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PrintButton);\n});\n","define(\"agropur-client/components/rd-chart\", [\"exports\", \"@ember/component\", \"@ember-decorators/object\", \"agropur-client/config/environment\", \"rsvp\", \"jquery\", \"@ember/object\", \"billboard.js\", \"numeral\", \"@ember/template-factory\"], function (_exports, _component, _object, _environment, _rsvp, _jquery, _object2, _billboard, _numeral, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/object\",0,\"agropur-client/config/environment\",0,\"@ember/component\",0,\"rsvp\",0,\"jquery\",0,\"@ember/object\",0,\"billboard.js\",0,\"numeral\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{yield}}\n  */\n  {\n    \"id\": \"01fEIsV/\",\n    \"block\": \"[[[18,1,null]],[\\\"&default\\\"],[\\\"yield\\\"]]\",\n    \"moduleName\": \"agropur-client/components/rd-chart.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR; // ember-auto-import resolves the `require` condition of billboard.js's exports\n  // map, i.e. `dist/billboard.pkgd.js`. That build auto-registers every shape and\n  // option module, so the config below can use plain string types and does not\n  // need the `spline()` / `grid()` resolver imports (which the packaged build does\n  // not export at all).\n  //\n  // If that resolution ever changes -- e.g. by adding `resolve.conditionNames` to\n  // the `autoImport.webpack` block in `ember-cli-build.js` -- every plain string\n  // type silently becomes an unregistered no-op. The `.bb-ygrid-line.baseline`\n  // assertion in `tests/integration/components/rd-chart-test.js` is what catches\n  // it.\n  const {\n    BRAND\n  } = _environment.default;\n  let RdChart = _exports.default = (_dec = (0, _object.observes)('data.[]'), classic(_class = (_class2 = class RdChart extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"containerId\", 'main-chart');\n    }\n    getColorPattern() {\n      return this.colorPattern ? this.colorPattern : [BRAND.primaryColor, BRAND.secondaryColor, '#0074D9', '#7FDBFF']; // Agropur\n    }\n    init(...args) {\n      super.init(...args);\n    }\n    didInsertElement() {\n      super.didInsertElement();\n      this.renderData();\n    }\n    _initChart() {\n      return new _rsvp.Promise(function (resolve, reject) {\n        if (!this.chart && (0, _jquery.default)(`#${this.containerId}`).length > 0) {\n          this.set('chart', _billboard.default.generate({\n            bindto: `#${this.containerId}`,\n            oninit: resolve,\n            data: {\n              keys: {\n                x: 'x',\n                value: ['value'] // not working\n              },\n              onclick() {},\n              x: 'x',\n              columns: [],\n              type: 'spline',\n              empty: {\n                label: {\n                  text: 'Loading data...'\n                }\n              }\n            },\n            color: {\n              pattern: this.getColorPattern()\n            },\n            spline: {\n              interpolation: {\n                type: 'monotone-x'\n              }\n            },\n            transition: {\n              duration: 500\n            },\n            point: {\n              show: this.showPoints,\n              r: this.pointRadius\n            },\n            grid: {\n              lines: {\n                front: false\n              },\n              x: {\n                show: true\n                // lines : quarters\n              },\n              y: {\n                show: true,\n                lines: [{\n                  value: 0,\n                  class: 'baseline'\n                }]\n              }\n            },\n            legend: {\n              // hide  : true,\n              show: this.showlegend !== undefined ? this.showlegend : true,\n              position: 'bottom',\n              inset: {\n                anchor: 'top-right',\n                step: 1,\n                x: 0,\n                y: 0\n              }\n            },\n            axis: {\n              x: {\n                type: 'timeseries',\n                tick: {\n                  count: this.xTickCount,\n                  culling: {\n                    max: this.xMaxCulling\n                  },\n                  // culling: true,\n                  // format: function (x) { return x.getFullYear(); }\n                  format: '%b %Y' // format string is also available for timeseries data\n                }\n              },\n              y: {\n                // default: [-1,1],\n                max: this.maxYValue,\n                min: this.minYValue,\n                tick: {\n                  count: this.yTickCount,\n                  // values: [ -3, -2, -1, 0, 1, 2, 3],\n                  format: function (d) {\n                    if (this.showPercentage) {\n                      return `${d.toFixed(0)}%`;\n                    }\n                    if (this.cwt === 'false') {\n                      return (0, _numeral.default)(d).format('$0,0.0000');\n                    }\n                    if (this.cwt === 'true') {\n                      return (0, _numeral.default)(d).format('$0,0.00');\n                    }\n                    if (d === 0 || d > 100) {\n                      return (0, _numeral.default)(d).format('$0,0');\n                    }\n                    return (0, _numeral.default)(d).format('$0,0.00');\n                  }.bind(this)\n                }\n              }\n            }\n          }));\n        } else {\n          reject();\n        }\n      }.bind(this));\n    }\n    renderData() {\n      if (this.chart) {\n        // `names` must be applied *after* the data rather than passed through\n        // in the same `load()` call. billboard.js 4.0.3 handles a `names`\n        // argument by calling `data.names()` up front, which redraws while\n        // `data.targets` is still empty. That premature redraw both poisons\n        // the generation-based caches and -- the proximate cause -- consumes\n        // `state.dirty.data` (`ChartInternal/internals/redraw.js`, where the\n        // flag is snapshotted and reset). The redraw that follows the actual\n        // load therefore computes `needShapeUpdate === false` and skips the\n        // D3 enter/update join entirely, so no series path is ever appended.\n        // Splitting the two keeps the very first load -- the only one with no\n        // existing targets -- rendering its line.\n        //\n        // No upstream issue is filed as of 2026-08; drop this split if a\n        // later 4.0.x fixes the ordering.\n        const {\n          names,\n          ...loadArgs\n        } = this.data || {};\n        this.chart.load(loadArgs);\n        if (names) {\n          this.chart.data.names(names);\n        }\n      } else {\n        this._initChart().then(function () {\n          this.renderData();\n        }.bind(this));\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"renderData\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"renderData\"), _class2.prototype), _class2)) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, RdChart);\n});\n","define(\"agropur-client/components/tv-widget\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"agropur-client/config/environment\", \"@glimmer/component\", \"node-esapi\", \"dompurify\", \"ember-modifier\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _object, _service, _environment, _component2, _nodeEsapi, _dompurify, _emberModifier, _tracking, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"@ember/object\",0,\"@ember/service\",0,\"agropur-client/config/environment\",0,\"@glimmer/component\",0,\"node-esapi\",0,\"dompurify\",0,\"ember-modifier\",0,\"@glimmer/tracking\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"hidden-xs\">\n  \t{{#vd-panel-with-reveal\n  \t\ttitle=@title\n  \t\trevealTitle=\"TV Widget Config\"\n  \t\tfooter=true\n  \t\tclass=\"tv-panel\"\n  \t\taspectRatio=\"16/9\"\n  \t}}\n  \t\t<div class=\"primary\">\n  \t\t\t<div id=\"{{@tvPlayerId}}\" {{this.loadVideo this.video}}>\n  \t\t\t</div>\n  \t\t</div>\n  \t\t<div class=\"card-content secondary\">\n  \t\t\t<div class=\"row\">\n  \t\t\t\t{{#if @channelId}}\n  \t\t\t\t\t<div class=\"col-xs-12\">\n  \t\t\t\t\t\t<div style=\"margin: 15px\">\n  \t\t\t\t\t\t\t<script src=\"https://apis.google.com/js/platform.js\"></script>\n  \t\t\t\t\t\t\t<div\n  \t\t\t\t\t\t\t\tclass=\"g-ytsubscribe\"\n  \t\t\t\t\t\t\t\tdata-channelid=\"{{@channelId}}\"\n  \t\t\t\t\t\t\t\tdata-layout=\"full\"\n  \t\t\t\t\t\t\t\tdata-count=\"default\"\n  \t\t\t\t\t\t\t></div>\n  \t\t\t\t\t\t</div>\n  \t\t\t\t\t</div>\n  \t\t\t\t{{/if}}\n  \n  \t\t\t\t<div class=\"col-xs-12\">\n  \t\t\t\t\t<div style=\"margin: 15px\">\n  \t\t\t\t\t\t<PowerSelect\n  \t\t\t\t\t\t\t@options={{this.videos}}\n  \t\t\t\t\t\t\t@searchField=\"title\"\n  \t\t\t\t\t\t\t@selected={{this.video}}\n  \t\t\t\t\t\t\t@renderInPlace={{false}}\n  \t\t\t\t\t\t\t@onChange={{fn (mut this.selectedVideoId)}}\n  \t\t\t\t\t\t\tas |video|\n  \t\t\t\t\t\t>\n  \t\t\t\t\t\t\t<div class=\"media\" style=\"padding: 10px; border-bottom: 1px solid #eee\">\n  \t\t\t\t\t\t\t\t<div class=\"media-left\">\n  \t\t\t\t\t\t\t\t\t<img\n  \t\t\t\t\t\t\t\t\t\tclass=\"img-responsive img-thumbnail media-object\"\n  \t\t\t\t\t\t\t\t\t\tsrc=\"{{video.thumbnails.default.url}}\"\n  \t\t\t\t\t\t\t\t\t\talt=\"\"\n  \t\t\t\t\t\t\t\t\t/>\n  \t\t\t\t\t\t\t\t</div>\n  \t\t\t\t\t\t\t\t<div class=\"media-body\">\n  \t\t\t\t\t\t\t\t\t<h5\n  \t\t\t\t\t\t\t\t\t\tclass=\"media-heading\"\n  \t\t\t\t\t\t\t\t\t\tstyle=\"font-weight:bold;\"\n  \t\t\t\t\t\t\t\t\t>{{video.title}}</h5>\n  \t\t\t\t\t\t\t\t\t<small>{{moment-format\n  \t\t\t\t\t\t\t\t\t\t\tvideo.publishedAt\n  \t\t\t\t\t\t\t\t\t\t\t\"MM/DD/YYYY\"\n  \t\t\t\t\t\t\t\t\t\t\ttimeZone=\"America/Chicago\"\n  \t\t\t\t\t\t\t\t\t\t}}\n  \t\t\t\t\t\t\t\t\t\t{{#if video.description}}&dash; {{video.description}}{{/if}}</small>\n  \t\t\t\t\t\t\t\t</div>\n  \t\t\t\t\t\t\t</div>\n  \t\t\t\t\t\t</PowerSelect>\n  \t\t\t\t\t</div>\n  \t\t\t\t</div>\n  \n  \t\t\t</div>\n  \t\t</div>\n  \n  \t{{/vd-panel-with-reveal}}\n  </div>\n  */\n  {\n    \"id\": \"1pd6SfsH\",\n    \"block\": \"[[[10,0],[14,0,\\\"hidden-xs\\\"],[12],[1,\\\"\\\\n\\\"],[6,[39,1],null,[[\\\"title\\\",\\\"revealTitle\\\",\\\"footer\\\",\\\"class\\\",\\\"aspectRatio\\\"],[[30,1],\\\"TV Widget Config\\\",true,\\\"tv-panel\\\",\\\"16/9\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\t\\\\t\\\"],[10,0],[14,0,\\\"primary\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[11,0],[16,1,[29,[[30,2]]]],[4,[30,0,[\\\"loadVideo\\\"]],[[30,0,[\\\"video\\\"]]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"card-content secondary\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"row\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\"\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"col-xs-12\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,5,\\\"margin: 15px\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"script\\\"],[14,\\\"src\\\",\\\"https://apis.google.com/js/platform.js\\\"],[12],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"g-ytsubscribe\\\"],[15,\\\"data-channelid\\\",[29,[[30,3]]]],[14,\\\"data-layout\\\",\\\"full\\\"],[14,\\\"data-count\\\",\\\"default\\\"],[12],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"col-xs-12\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,5,\\\"margin: 15px\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,4],null,[[\\\"@options\\\",\\\"@searchField\\\",\\\"@selected\\\",\\\"@renderInPlace\\\",\\\"@onChange\\\"],[[30,0,[\\\"videos\\\"]],\\\"title\\\",[30,0,[\\\"video\\\"]],false,[28,[37,5],[[28,[37,6],[[30,0,[\\\"selectedVideoId\\\"]]],null]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"media\\\"],[14,5,\\\"padding: 10px; border-bottom: 1px solid #eee\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"media-left\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"img\\\"],[14,0,\\\"img-responsive img-thumbnail media-object\\\"],[15,\\\"src\\\",[29,[[30,4,[\\\"thumbnails\\\",\\\"default\\\",\\\"url\\\"]]]]],[14,\\\"alt\\\",\\\"\\\"],[12],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"media-body\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h5\\\"],[14,0,\\\"media-heading\\\"],[14,5,\\\"font-weight:bold;\\\"],[12],[1,[30,4,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"small\\\"],[12],[1,[28,[35,10],[[30,4,[\\\"publishedAt\\\"]],\\\"MM/DD/YYYY\\\"],[[\\\"timeZone\\\"],[\\\"America/Chicago\\\"]]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[41,[30,4,[\\\"description\\\"]],[[[1,\\\"‐ \\\"],[1,[30,4,[\\\"description\\\"]]]],[]],null],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\"]],[4]]]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]]]]],[13]],[\\\"@title\\\",\\\"@tvPlayerId\\\",\\\"@channelId\\\",\\\"video\\\"],[\\\"div\\\",\\\"vd-panel-with-reveal\\\",\\\"if\\\",\\\"script\\\",\\\"power-select\\\",\\\"fn\\\",\\\"mut\\\",\\\"img\\\",\\\"h5\\\",\\\"small\\\",\\\"moment-format\\\"]]\",\n    \"moduleName\": \"agropur-client/components/tv-widget.hbs\",\n    \"isStrictMode\": false\n  });\n  const {\n    agropurJeromePlaylistId,\n    agropurOtherPlaylistId\n  } = _environment.default.google.youtube;\n  let TvWidget = _exports.default = (_class = class TvWidget extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"tv\", _descriptor, this);\n      _initializerDefineProperty(this, \"selectedVideoId\", _descriptor2, this);\n      _defineProperty(this, \"loadVideo\", (0, _emberModifier.modifier)((element, [video]) => {\n        if (!video) return;\n        this._loadVideo(element, video);\n      }));\n    }\n    get channel() {\n      return this.tv.channels.find(channel => channel.id === this.args.channelId);\n    }\n    get videos() {\n      let videos = [];\n      if (this.args.playlistId) {\n        videos = this.tv.videos.filter(video => video.playlist.id === this.args.playlistId);\n      } else {\n        videos = this.tv.videos.filter(video => video.channel.id === this.args.channelId && video.playlist.id !== agropurJeromePlaylistId && video.playlist.id !== agropurOtherPlaylistId);\n      }\n      return videos.slice().sort((a, b) => a.publishedAt > b.publishedAt ? -1 : 1);\n    }\n    get video() {\n      const {\n        videos\n      } = this;\n      const selectedVideo = videos.find(video => video.id === this.selectedVideoId);\n      return selectedVideo || videos[0];\n    }\n    _loadVideo(tvPlayer, video) {\n      const {\n        width\n      } = tvPlayer.getBoundingClientRect();\n      const height = width / 16 * 9;\n\n      // Encode values to prevent XSS\n      const encodedVideoId = _nodeEsapi.default.encoder().encodeForURL(video.id || '');\n      const encodedOrigin = _nodeEsapi.default.encoder().encodeForURL(window.location.href);\n      const encodedWidth = _nodeEsapi.default.encoder().encodeForHTMLAttribute(width.toString());\n      const encodedHeight = _nodeEsapi.default.encoder().encodeForHTMLAttribute(height.toString());\n\n      // Create HTML string and sanitize it with DOMPurify\n      const iframeHtml = `<iframe id=\"player\" type=\"text/html\" width='${encodedWidth}' height='${encodedHeight}' src='https://www.youtube-nocookie.com/embed/${encodedVideoId}?rel=0?enablejsapi=1&origin=${encodedOrigin}' frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe>`;\n\n      // Sanitize the HTML to prevent XSS\n      const sanitizedHtml = _dompurify.default.sanitize(iframeHtml, {\n        ALLOWED_TAGS: ['iframe'],\n        ALLOWED_ATTR: ['id', 'type', 'width', 'height', 'src', 'frameborder', 'allow', 'allowfullscreen']\n      });\n      tvPlayer.innerHTML = sanitizedHtml;\n    }\n    save(channel, _playlist, video) {\n      if (channel && video) {\n        const userDairyConfig = this.get('application.userDairyConfig');\n        userDairyConfig.set('config.tvChannel', channel);\n        const selectedVideo = video || channel.videos[0];\n        userDairyConfig.set('config.tvChannel.video', selectedVideo);\n        delete userDairyConfig.get('config').tvChannel.videos;\n        userDairyConfig.save();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tv\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"selectedVideoId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"save\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"save\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, TvWidget);\n});\n","define(\"agropur-client/components/vault-price\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/utils\", \"bignumber.js\", \"numeral\", \"@ember/template-factory\"], function (_exports, _component, _object, _utils, _bignumber, _numeral, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/utils\",0,\"bignumber.js\",0,\"numeral\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.flashPrice}}\n  \t<span class=\"value-changed-transition\">${{this.value}}</span>\n  {{else}}\n  \t{{this.value}}\n  {{/if}}\n  */\n  {\n    \"id\": \"OlHkSwQK\",\n    \"block\": \"[[[41,[30,0,[\\\"flashPrice\\\"]],[[[1,\\\"\\\\t\\\"],[10,1],[14,0,\\\"value-changed-transition\\\"],[12],[1,\\\"$\\\"],[1,[30,0,[\\\"value\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\"],[1,[30,0,[\\\"value\\\"]]],[1,\\\"\\\\n\\\"]],[]]]],[],[\\\"if\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vault-price.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VaultPrice = _exports.default = (_dec = (0, _object.computed)('instrument', 'instrument.{bestPrice,product.tick_size}', 'price'), classic(_class = (_class2 = class VaultPrice extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"flashPrice\", false);\n      _defineProperty(this, \"instrument\", null);\n      _defineProperty(this, \"price\", null);\n    }\n    get value() {\n      if ((0, _utils.isPresent)(this.instrument) && ((0, _utils.isPresent)(this.instrument.bestPrice) || (0, _utils.isPresent)(this.price)) && (0, _utils.isPresent)(this.instrument.product.get('tick_size'))) {\n        let fmt = this.instrument.product.get('rdFormat') === undefined ? '0,0.00' : this.instrument.product.get('rdFormat');\n        let multiple = this.instrument.product.get('rdMultiple') === undefined ? 1 : this.instrument.product.get('rdMultiple');\n        let price = this.price != undefined && this.price != null ? this.price : this.instrument.bestPrice;\n        let dec = new _bignumber.default(price).dividedBy(this.instrument.product.get('tick_size')).times(this.instrument.product.get('tick_value')).times(multiple).toNumber();\n        return (0, _numeral.default)(dec).format(fmt);\n      } else {\n        return '-';\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"value\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"value\"), _class2.prototype), _class2)) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VaultPrice);\n});\n","define(\"agropur-client/components/vault-session-change\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.hasChange}}\n  \t{{#if this.hasPositiveChange}}\n  \t\t<span style=\"color: green;\" title=\"Session Change\">{{this.formattedNetChange}}\n  \t\t\t({{format-number this.percentChange \"0,0.00\"}}%)\n  \t\t\t<i aria-hidden=\"true\" class=\"fa fa-arrow-up\"></i>\n  \t\t</span>\n  \t{{else}}\n  \t\t<span style=\"color: red;\" title=\"Session Change\">{{this.formattedNetChange}}\n  \t\t\t({{format-number this.percentChange \"0,0.00\"}}%)\n  \t\t\t<i aria-hidden=\"true\" class=\"fa fa-arrow-down\"></i>\n  \t\t</span>\n  \t{{/if}}\n  {{else}}\n  \t-\n  {{/if}}\n  */\n  {\n    \"id\": \"6fRwI5R4\",\n    \"block\": \"[[[41,[30,0,[\\\"hasChange\\\"]],[[[41,[30,0,[\\\"hasPositiveChange\\\"]],[[[1,\\\"\\\\t\\\\t\\\"],[10,1],[14,5,\\\"color: green;\\\"],[14,\\\"title\\\",\\\"Session Change\\\"],[12],[1,[30,0,[\\\"formattedNetChange\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t(\\\"],[1,[28,[35,2],[[30,0,[\\\"percentChange\\\"]],\\\"0,0.00\\\"],null]],[1,\\\"%)\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"i\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,0,\\\"fa fa-arrow-up\\\"],[12],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\\t\\\"],[10,1],[14,5,\\\"color: red;\\\"],[14,\\\"title\\\",\\\"Session Change\\\"],[12],[1,[30,0,[\\\"formattedNetChange\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t(\\\"],[1,[28,[35,2],[[30,0,[\\\"percentChange\\\"]],\\\"0,0.00\\\"],null]],[1,\\\"%)\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"i\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,0,\\\"fa fa-arrow-down\\\"],[12],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\"\\\\t-\\\\n\\\"]],[]]]],[],[\\\"if\\\",\\\"span\\\",\\\"format-number\\\",\\\"i\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vault-session-change.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VaultSessionChange = _exports.default = (_dec = (0, _object.computed)('netChange'), _dec2 = (0, _object.computed)('netChange'), _dec3 = (0, _object.computed)('netChange'), classic(_class = (_class2 = class VaultSessionChange extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"netChange\", null);\n      _defineProperty(this, \"percentChange\", null);\n      _defineProperty(this, \"fractionalDecimals\", null);\n    }\n    // This is only needed when we aren't getting the price from the formatted instrument prices.\n    // Currently, this is needed for spot prices.\n    get formattedNetChange() {\n      if (this.fractionalDecimals) {\n        return Intl.NumberFormat('en-US', {\n          minimumFractionDigits: this.fractionalDecimals,\n          maximumFractionDigits: this.fractionalDecimals\n        }).format(this.netChange);\n      } else {\n        return this.netChange;\n      }\n    }\n    get hasChange() {\n      return this.netChange > 0 || this.netChange < 0;\n    }\n    get hasPositiveChange() {\n      return this.netChange > 0;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"formattedNetChange\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"formattedNetChange\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"hasChange\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"hasChange\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"hasPositiveChange\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"hasPositiveChange\"), _class2.prototype), _class2)) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VaultSessionChange);\n});\n","define(\"agropur-client/components/vd-display-percentile\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/utils\", \"@ember/template\", \"@ember/template-factory\"], function (_exports, _component, _object, _utils, _template, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/utils\",0,\"@ember/template\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <span style={{this.color}}>{{format-number this.percentile \"0%\"}}</span>\n  */\n  {\n    \"id\": \"Tk4UP6r5\",\n    \"block\": \"[[[10,1],[15,5,[30,0,[\\\"color\\\"]]],[12],[1,[28,[35,1],[[30,0,[\\\"percentile\\\"]],\\\"0%\\\"],null]],[13]],[],[\\\"span\\\",\\\"format-number\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-display-percentile.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdDisplayPercentile = _exports.default = (_dec = (0, _object.computed)('price', 'range'), _dec2 = (0, _object.computed)('percentile'), classic(_class = (_class2 = class VdDisplayPercentile extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"inverted\", false);\n    }\n    get percentile() {\n      let value = 0;\n      if ((0, _utils.isPresent)(this.price) && (0, _utils.isPresent)(this.range)) {\n        let index = null;\n        this.range.forEach((el, idx) => {\n          if (el >= this.price && index === null) {\n            index = idx;\n          }\n        });\n        if (index === null) {\n          value = 1;\n        } else {\n          value = index / this.range.length;\n        }\n      }\n      return value;\n    }\n    get color() {\n      let color1;\n      let color2;\n      if (this.inverted) {\n        color2 = '008000';\n        color1 = 'FF0000';\n      } else {\n        color1 = '008000';\n        color2 = 'FF0000';\n      }\n      const r = Math.ceil(parseInt(color1.substring(0, 2), 16) * this.percentile + parseInt(color2.substring(0, 2), 16) * (1 - this.percentile));\n      const g = Math.ceil(parseInt(color1.substring(2, 4), 16) * this.percentile + parseInt(color2.substring(2, 4), 16) * (1 - this.percentile));\n      const b = Math.ceil(parseInt(color1.substring(4, 6), 16) * this.percentile + parseInt(color2.substring(4, 6), 16) * (1 - this.percentile));\n      const riskyString = `color: #${this._colorHex(r)}${this._colorHex(g)}${this._colorHex(b)} !important;`;\n      return (0, _template.htmlSafe)(riskyString);\n    }\n    _colorHex(x) {\n      const val = x.toString(16);\n      return val.length === 1 ? `0${val}` : val;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"percentile\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"percentile\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"color\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"color\"), _class2.prototype), _class2)) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdDisplayPercentile);\n});\n","define(\"agropur-client/components/vd-editable-cell\", [\"exports\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"jquery\", \"@ember/runloop\", \"numeral\", \"@ember/component\", \"@ember/object\", \"@ember/utils\", \"bignumber.js\"], function (_exports, _component, _object, _jquery, _runloop, _numeral, _component2, _object2, _utils, _bignumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember-decorators/object\",0,\"jquery\",0,\"@ember/runloop\",0,\"numeral\",0,\"@ember/component\",0,\"@ember/object\",0,\"@ember/utils\",0,\"bignumber.js\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdEditableCell = _exports.default = (_dec = (0, _component.attributeBindings)('contenteditable', 'draggable', 'style', 'title', 'width'), _dec2 = (0, _component.classNameBindings)('divider:vd-table-divider'), _dec3 = (0, _object.observes)('value'), classic(_class = _dec(_class = _dec2(_class = (_class2 = class VdEditableCell extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"isUserTyping\", false);\n      _defineProperty(this, \"isUserCancel\", false);\n      _defineProperty(this, \"draggable\", 'true');\n      _defineProperty(this, \"contenteditable\", 'true');\n      _defineProperty(this, \"plaintext\", false);\n      _defineProperty(this, \"object\", null);\n      _defineProperty(this, \"format\", null);\n      _defineProperty(this, \"displayFactor\", 1);\n      _defineProperty(this, \"attribute\", null);\n      _defineProperty(this, \"divider\", false);\n    }\n    isPercentageValue() {\n      return this.format.match(/%/g);\n    }\n    didInsertElement() {\n      return this._formatContent();\n    }\n\n    // eslint-disable-next-line ember/no-observers\n    valueObserver() {\n      if (!this.isUserTyping && this.value !== undefined) {\n        return this._formatContent();\n      }\n      return null;\n    }\n    focusIn() {\n      let value = this.value;\n      this.set('isUserCancel', false);\n      if (!this.plaintext && !(0, _utils.isNone)(value)) {\n        // If too many significant digits, round\n        value = this._roundValue(value);\n        value = new _bignumber.default(value).times(this.displayFactor);\n        if (this.isPercentageValue()) {\n          value = value.times(100);\n        }\n        value = value.toNumber();\n      }\n\n      // Set the care at the end of the cell content\n      (0, _runloop.next)(this, () => this._resetCaretPosition(value));\n      return (0, _jquery.default)(this.element).text(value);\n    }\n    focusOut() {\n      this._applyValue();\n      this._formatContent();\n      this.set('isUserTyping', false);\n      document.getSelection().removeAllRanges();\n    }\n    keyDown(event) {\n      if (event.keyCode === 27) {\n        // ESC key\n        this.set('isUserCancel', true);\n        (0, _jquery.default)(event.currentTarget).blur();\n        return false;\n      }\n      if (event.keyCode === 13) {\n        // ENTER KEY IS PRESSED\n        (0, _jquery.default)(event.currentTarget).blur();\n        // Try to go to the next row, same col\n        const idx = (0, _jquery.default)(event.currentTarget).closest('td').index() + 1;\n        let el = (0, _jquery.default)(event.currentTarget);\n        if (el.closest('tr').next().find('.grid-year-header').length > 0) {\n          el = (0, _jquery.default)(el.closest('tr').next().find('.grid-year-header')[0]);\n        }\n        el.closest('tr').next().find(`td:nth-child(${idx}).ember-view`).focus();\n        return false;\n      }\n      if (!event.metaKey) {\n        return this.set('isUserTyping', true);\n      }\n      return false;\n    }\n    keyUp(event) {\n      let inputValue = (0, _jquery.default)(this.element).text();\n      let value = 0;\n      if (event.keyCode === 13 ||\n      // ENTER KEY\n      event.keyCode === 39 ||\n      // LEFT ARROW\n      event.keyCode === 38 ||\n      // RIGHT ARROW\n      event.keyCode === 37 ||\n      // UP ARROW\n      event.keyCode === 40) {\n        // DOWN ARROW\n        // do nothing\n        return false;\n      }\n      if (!this.plaintext) {\n        if (inputValue === '' || inputValue === null) {\n          inputValue = '0';\n        }\n        inputValue = inputValue.replace(/[^\\d.-]/g, '');\n        inputValue = this._roundValue(inputValue);\n        value = new _bignumber.default(inputValue);\n        if (this.isPercentageValue()) {\n          value = value.dividedBy(100);\n        }\n        value = value.dividedBy(this.displayFactor).toNumber();\n      } else {\n        value = inputValue === '' ? ' ' : inputValue;\n      }\n      return this._setValue(value);\n    }\n    dragStart(event) {\n      this._formatContent();\n      const colClass = this._getColClass((0, _jquery.default)(event.target));\n      if (colClass) {\n        localStorage.setItem('colClass', colClass);\n      } else {\n        localStorage.removeItem('colClass');\n      }\n      localStorage.setItem('poorSpec', this.value);\n      localStorage.setItem('originId', this.object.get('id'));\n    }\n    dragEnd() {\n      localStorage.removeItem('poorSpec');\n      localStorage.removeItem('originId');\n      localStorage.removeItem('colClass');\n    }\n    dragEnter(event) {\n      event.preventDefault();\n      event.stopPropagation();\n      const object = this.object;\n      if (object.get('id') === localStorage.getItem('originId')) {\n        return false;\n      }\n      if (localStorage.getItem('colClass') && localStorage.getItem('colClass') !== this._getColClass(event.target)) {\n        return false;\n      }\n      event.dataTransfer.effectAllowed = 'copyMove';\n      (0, _jquery.default)(event.target).addClass('drop-enter');\n      if (this.plainText) {\n        this._setValue(localStorage.getItem('poorSpec'));\n      } else {\n        this._setValue(parseFloat(localStorage.getItem('poorSpec')));\n      }\n      this._applyValue();\n      return false;\n    }\n    _formattedValue() {\n      let value = this.value;\n      if (!this.plaintext && !(0, _utils.isNone)(value)) {\n        // If too many significant digits, round\n        value = this._roundValue(value);\n        value = new _bignumber.default(value).times(this.displayFactor);\n        if (this.format) {\n          value = (0, _numeral.default)(value.toNumber()).format(this.format);\n        }\n      }\n      return value;\n    }\n    _resetCaretPosition(value) {\n      const selection = document.getSelection();\n      const range = document.createRange();\n      const contenteditable = this.element;\n      const size = value.toString().length;\n      if (contenteditable.lastChild && contenteditable.lastChild.nodeType === 3) {\n        range.setStart(contenteditable.lastChild, size);\n      } else {\n        range.setStart(contenteditable, size);\n      }\n      selection.removeAllRanges();\n      selection.addRange(range);\n    }\n    _roundValue(value) {\n      return (0, _numeral.default)(value).format('0.[000000]');\n    }\n    _getColClass(target) {\n      return (0, _jquery.default)(target).closest('td').attr('class').split(' ').find(cls => cls.match(/col-\\d*$/));\n    }\n    dragLeave(event) {\n      (0, _jquery.default)(event.target).removeClass('drop-enter');\n    }\n    _formatContent() {\n      return (0, _jquery.default)(this.element).text(this._formattedValue());\n    }\n    _setValue(value) {\n      if (this.attribute) {\n        let object = null;\n        if (this.get('object.content')) {\n          object = this.get('object.content');\n        } else {\n          object = this.object;\n        }\n        object.set(this.attribute, value);\n      } else {\n        this.set('setValue', value);\n      }\n    }\n    _applyValue() {\n      let object = null;\n      if (this.get('object.content')) {\n        object = this.get('object.content');\n      } else {\n        object = this.object;\n      }\n      const isUserCancel = this.isUserCancel;\n      if (object) {\n        if (isUserCancel && object.rollback) {\n          object.rollback();\n          // Exit the apply function\n          return;\n        }\n        if (object.validate) {\n          object.validate().then(() => {\n            if (object.get('isValid') /* && get(object, 'isDirty')*/) {\n              object.save();\n              if (object.execute) {\n                object.execute();\n              }\n            } else if (object.get('isInvalid')) {\n              object.get('errors').forEach(error => this.notification.error(error.validation));\n              object.rollback();\n            }\n          });\n        } else {\n          object.save();\n        }\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"valueObserver\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"valueObserver\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n});\n","define(\"agropur-client/components/vd-modal\", [\"exports\", \"@ember/component\", \"jquery\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _jquery, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"jquery\",0,\"@ember/component\",0,\"@ember/object\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"modal-dialog\" role=\"document\">\n  \t<div class=\"modal-content\">\n  \t\t{{#if this.title}}\n  \t\t\t<div class=\"modal-header\">\n  \t\t\t\t<h4 class=\"modal-title\">{{this.title}}</h4>\n  \t\t\t</div>\n  \t\t{{/if}}\n  \n  \t\t{{#if this._isOpen}}\n  \t\t\t{{yield}}\n  \t\t{{/if}}\n  \t</div>\n  </div>\n  */\n  {\n    \"id\": \"X7uVoheC\",\n    \"block\": \"[[[10,0],[14,0,\\\"modal-dialog\\\"],[14,\\\"role\\\",\\\"document\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"modal-content\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"title\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"modal-header\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"h4\\\"],[14,0,\\\"modal-title\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_isOpen\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[18,1,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\t\\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],[\\\"div\\\",\\\"if\\\",\\\"h4\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-modal.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _component.default.extend({\n    classNames: ['modal'],\n    classNameBindings: ['fade'],\n    attributeBindings: ['tabindex', 'data-backdrop', 'data-keyboard'],\n    ariaRole: 'dialog',\n    tabindex: '-1',\n    'data-backdrop': 'static',\n    'data-keyboard': 'false',\n    _isOpen: false,\n    showModal: (0, _object.computed)('_isOpen', {\n      get() {\n        return this._isOpen;\n      },\n      set(key, value) {\n        if (value) {\n          this._show();\n        } else {\n          this._hide();\n        }\n        return value;\n      }\n    }),\n    _show() {\n      this.set('_isOpen', true);\n      (0, _jquery.default)(this.element).modal('show');\n    },\n    _hide() {\n      this.set('_isOpen', false);\n      (0, _jquery.default)(this.element).modal('hide');\n    },\n    didInsertElement(...args) {\n      this._super(...args);\n      const modal = (0, _jquery.default)(this.element).modal({\n        show: this._isOpen,\n        keyboard: false\n      });\n      modal.on('hidden.bs.modal', () => {\n        this.set('_isOpen', false);\n      });\n    }\n  }));\n});\n","define(\"agropur-client/components/vd-panel-with-reveal\", [\"exports\", \"@ember/component\", \"@ember-decorators/component\", \"@ember/object\", \"@ember/template\", \"@ember/utils\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _template, _utils, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/template\",0,\"@ember/utils\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.header}}\n  \t<div class=\"panel-heading\">\n  \t\t<div class=\"primary-header\">\n  \t\t\t{{#if this.hasReveal}}\n  \t\t\t\t<div class=\"pull-right\"><div\n  \t\t\t\t\t\tclass=\"reveal-icon\"\n  \t\t\t\t\t\t{{on \"click\" this.showSecondaryPanel}}\n  \t\t\t\t\t><FaIcon @icon=\"cog\" /></div></div>\n  \t\t\t{{/if}}\n  \t\t\t<div class=\"title\">\n  \t\t\t\t{{#if this.headerLink}}\n  \t\t\t\t\t<LinkTo @route={{this.headerLink}}>{{this.title}}</LinkTo>\n  \t\t\t\t{{else}}\n  \t\t\t\t\t{{this.title}}\n  \t\t\t\t{{/if}}\n  \t\t\t</div>\n  \t\t</div>\n  \t\t{{#if this.hasReveal}}\n  \t\t\t<div class=\"secondary-header\">\n  \t\t\t\t<div class=\"pull-right\"><div\n  \t\t\t\t\t\tclass=\"reveal-icon\"\n  \t\t\t\t\t\t{{on \"click\" this.hideSecondaryPanel}}\n  \t\t\t\t\t><FaIcon @icon=\"times\" /></div></div>\n  \t\t\t\t<div class=\"title\">{{this.revealTitle}}</div>\n  \t\t\t</div>\n  \t\t{{/if}}\n  \t</div>\n  {{/if}}\n  \n  <div class=\"content\" style={{this.contentStyles}}>\n  \t{{yield}}\n  </div>\n  \n  {{#if this.footer}}\n  \t<div class=\"panel-footer\">\n  \t\t<div class=\"primary-header\">\n  \t\t\t<div class=\"pull-right\"><div\n  \t\t\t\t\tclass=\"reveal-icon\"\n  \t\t\t\t\t{{on \"click\" this.showSecondaryPanel}}\n  \t\t\t\t><FaIcon @icon=\"cog\" /></div></div>\n  \t\t\t<div class=\"title\">{{this.title}}</div>\n  \t\t</div>\n  \t\t<div class=\"secondary-header\">\n  \t\t\t<div class=\"pull-right\"><div\n  \t\t\t\t\tclass=\"reveal-icon\"\n  \t\t\t\t\t{{on \"click\" this.hideSecondaryPanel}}\n  \t\t\t\t><FaIcon @icon=\"times\" /></div></div>\n  \t\t\t<div class=\"title\">{{this.revealTitle}}</div>\n  \t\t</div>\n  \t</div>\n  {{/if}}\n  */\n  {\n    \"id\": \"PeP5+xXx\",\n    \"block\": \"[[[41,[30,0,[\\\"header\\\"]],[[[1,\\\"\\\\t\\\"],[10,0],[14,0,\\\"panel-heading\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"primary-header\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasReveal\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"pull-right\\\"],[12],[11,0],[24,0,\\\"reveal-icon\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"showSecondaryPanel\\\"]]],null],[12],[8,[39,3],null,[[\\\"@icon\\\"],[\\\"cog\\\"]],null],[13],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"title\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"headerLink\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,4],null,[[\\\"@route\\\"],[[30,0,[\\\"headerLink\\\"]]]],[[\\\"default\\\"],[[[[1,[30,0,[\\\"title\\\"]]]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"title\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasReveal\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"secondary-header\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"pull-right\\\"],[12],[11,0],[24,0,\\\"reveal-icon\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"hideSecondaryPanel\\\"]]],null],[12],[8,[39,3],null,[[\\\"@icon\\\"],[\\\"times\\\"]],null],[13],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"title\\\"],[12],[1,[30,0,[\\\"revealTitle\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"content\\\"],[15,5,[30,0,[\\\"contentStyles\\\"]]],[12],[1,\\\"\\\\n\\\\t\\\"],[18,1,null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"footer\\\"]],[[[1,\\\"\\\\t\\\"],[10,0],[14,0,\\\"panel-footer\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"primary-header\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"pull-right\\\"],[12],[11,0],[24,0,\\\"reveal-icon\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"showSecondaryPanel\\\"]]],null],[12],[8,[39,3],null,[[\\\"@icon\\\"],[\\\"cog\\\"]],null],[13],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"title\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"secondary-header\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"pull-right\\\"],[12],[11,0],[24,0,\\\"reveal-icon\\\"],[4,[38,2],[\\\"click\\\",[30,0,[\\\"hideSecondaryPanel\\\"]]],null],[12],[8,[39,3],null,[[\\\"@icon\\\"],[\\\"times\\\"]],null],[13],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"title\\\"],[12],[1,[30,0,[\\\"revealTitle\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&default\\\"],[\\\"if\\\",\\\"div\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"link-to\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-panel-with-reveal.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdPanelWithReveal = _exports.default = (_dec = (0, _component2.classNames)('panel', 'panel-default', 'vd-panel-with-reveal'), _dec2 = (0, _object.computed)('height', 'aspectRatio'), classic(_class = _dec(_class = (_class2 = class VdPanelWithReveal extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"title\", null);\n      _defineProperty(this, \"hasReveal\", true);\n      _defineProperty(this, \"height\", '');\n      _defineProperty(this, \"aspectRatio\", '');\n    }\n    get contentStyles() {\n      const riskyString = `max-height: ${this.height} !important; ${this.aspectRatio ? `aspect-ratio: ${this.aspectRatio};` : ''}`;\n      return (0, _template.htmlSafe)(riskyString);\n    }\n    showSecondaryPanel() {\n      $(this.element).find('.secondary-header,.secondary').show();\n      $(this.element).find('.primary-header').hide();\n      $(this.element).find('.primary').addClass('blured');\n      if ((0, _utils.isPresent)($(this.element).find('.secondary-content'))) {\n        $(this.element).find('.content').css({\n          minHeight: $(this.element).find('.secondary-content').height()\n        });\n      }\n    }\n    hideSecondaryPanel() {\n      $(this.element).find('.secondary-header,.secondary').hide();\n      $(this.element).find('.primary-header').show();\n      $(this.element).find('.primary').removeClass('blured');\n\n      // Reset the content height\n      $(this.element).find('.content').css({\n        minHeight: 'auto'\n      });\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"contentStyles\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"contentStyles\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"showSecondaryPanel\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"showSecondaryPanel\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"hideSecondaryPanel\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"hideSecondaryPanel\"), _class2.prototype), _class2)) || _class) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdPanelWithReveal);\n});\n","define(\"agropur-client/components/vd-panel\", [\"exports\", \"@ember/component\", \"@ember-decorators/component\", \"@ember/object\", \"@ember/template\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _template, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/template\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.header}}\n  \t<div class=\"panel-heading\">\n  \t\t<div class=\"primary-header\">\n  \t\t\t<div class=\"title\">{{this.title}}</div>\n  \t\t</div>\n  \t</div>\n  {{/if}}\n  \n  <div class=\"content\" style={{this.maxHeight}}>\n  \t<div class=\"card-content primary\">{{yield}}</div>\n  </div>\n  \n  {{#if this.footer}}\n  \t<div class=\"panel-footer\">\n  \t\t<div class=\"primary-header\">\n  \t\t\t<div class=\"title\">{{this.title}}</div>\n  \t\t</div>\n  \t</div>\n  {{/if}}\n  */\n  {\n    \"id\": \"jChOnCBb\",\n    \"block\": \"[[[41,[30,0,[\\\"header\\\"]],[[[1,\\\"\\\\t\\\"],[10,0],[14,0,\\\"panel-heading\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"primary-header\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"title\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"content\\\"],[15,5,[30,0,[\\\"maxHeight\\\"]]],[12],[1,\\\"\\\\n\\\\t\\\"],[10,0],[14,0,\\\"card-content primary\\\"],[12],[18,1,null],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"footer\\\"]],[[[1,\\\"\\\\t\\\"],[10,0],[14,0,\\\"panel-footer\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"primary-header\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"title\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&default\\\"],[\\\"if\\\",\\\"div\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-panel.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdPanel = _exports.default = (_dec = (0, _component2.classNames)('panel', 'panel-default', 'vd-panel-with-reveal'), _dec2 = (0, _object.computed)('height'), classic(_class = _dec(_class = (_class2 = class VdPanel extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"title\", null);\n      _defineProperty(this, \"height\", '');\n    }\n    get maxHeight() {\n      const riskyString = `max-height: ${this.height} !important;`;\n      return (0, _template.htmlSafe)(riskyString);\n    }\n\n    // mouseEnter(event) {\n    //   console.log('mouseEnter event on vd-panel: ', event);\n    // }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"maxHeight\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"maxHeight\"), _class2.prototype), _class2)) || _class) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdPanel);\n});\n","define(\"agropur-client/components/vd-row-columns\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"row\">\n  \t<div\n  \t\tclass=\"col-sm-offset-{{this.smOffset}}\n  \t\t\tcol-sm-{{this.smColumn}}\n  \t\t\tcol-md-offset-{{this.mdOffset}}\n  \t\t\tcol-md-{{this.mdColumn}}\n  \t\t\tcol-lg-offset-{{this.lgOffset}}\n  \t\t\tcol-lg-{{this.lgColumn}}\"\n  \t>\n  \t\t{{yield}}\n  \t</div>\n  </div>\n  */\n  {\n    \"id\": \"2oRmxEp5\",\n    \"block\": \"[[[10,0],[14,0,\\\"row\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[10,0],[15,0,[29,[\\\"col-sm-offset-\\\",[30,0,[\\\"smOffset\\\"]],\\\"\\\\n\\\\t\\\\t\\\\tcol-sm-\\\",[30,0,[\\\"smColumn\\\"]],\\\"\\\\n\\\\t\\\\t\\\\tcol-md-offset-\\\",[30,0,[\\\"mdOffset\\\"]],\\\"\\\\n\\\\t\\\\t\\\\tcol-md-\\\",[30,0,[\\\"mdColumn\\\"]],\\\"\\\\n\\\\t\\\\t\\\\tcol-lg-offset-\\\",[30,0,[\\\"lgOffset\\\"]],\\\"\\\\n\\\\t\\\\t\\\\tcol-lg-\\\",[30,0,[\\\"lgColumn\\\"]]]]],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[18,1,null],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"&default\\\"],[\\\"div\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-row-columns.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdRowColumns = _exports.default = (_dec = (0, _object.computed)('column'), _dec2 = (0, _object.computed)('column'), _dec3 = (0, _object.computed)('column'), _dec4 = (0, _object.computed)('offset'), _dec5 = (0, _object.computed)('offset'), _dec6 = (0, _object.computed)('offset'), classic(_class = (_class2 = class VdRowColumns extends _component.default {\n    init() {\n      super.init(...arguments);\n      this.set('column', [12, 12, 12]); // sm, md, lg\n\n      this.set('offset', [0, 0, 0]); // sm, md, lg\n    }\n    get smColumn() {\n      return this.column[0];\n    }\n    get mdColumn() {\n      return this.column[1];\n    }\n    get lgColumn() {\n      return this.column[2];\n    }\n    get smOffset() {\n      return this.offset[0];\n    }\n    get mdOffset() {\n      return this.offset[1];\n    }\n    get lgOffset() {\n      return this.offset[2];\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"smColumn\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"smColumn\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"mdColumn\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"mdColumn\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"lgColumn\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"lgColumn\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"smOffset\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"smOffset\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"mdOffset\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"mdOffset\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"lgOffset\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"lgOffset\"), _class2.prototype), _class2)) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdRowColumns);\n});\n","define(\"agropur-client/components/vd-select-location\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/runloop\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _object, _runloop, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/runloop\",0,\"@ember/service\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <PowerSelect\n  \t@options={{this.searchPromise}}\n  \t@allowClear={{false}}\n  \t@matcher={{this.searchMatcher}}\n  \t@renderInPlace={{true}}\n  \t@searchEnabled={{true}}\n  \t@onInput={{this.doSearch}}\n  \t@loadingMessage=\"Waiting for the server....\"\n  \t@placeholder=\"Select a location for this dairy...\"\n  \t@selected={{this.dairy.locationId}}\n  \t@onChange={{this.updateDairyLocation}}\n  \t@onClose={{this.closeSearch}}\n  \tas |location|\n  >\n  \t{{location.city}},\n  \t{{location.county}}\n  \tCounty,\n  \t{{location.state}}\n  </PowerSelect>\n  */\n  {\n    \"id\": \"rmC0MWpk\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@options\\\",\\\"@allowClear\\\",\\\"@matcher\\\",\\\"@renderInPlace\\\",\\\"@searchEnabled\\\",\\\"@onInput\\\",\\\"@loadingMessage\\\",\\\"@placeholder\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@onClose\\\"],[[30,0,[\\\"searchPromise\\\"]],false,[30,0,[\\\"searchMatcher\\\"]],true,true,[30,0,[\\\"doSearch\\\"]],\\\"Waiting for the server....\\\",\\\"Select a location for this dairy...\\\",[30,0,[\\\"dairy\\\",\\\"locationId\\\"]],[30,0,[\\\"updateDairyLocation\\\"]],[30,0,[\\\"closeSearch\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\t\\\"],[1,[30,1,[\\\"city\\\"]]],[1,\\\",\\\\n\\\\t\\\"],[1,[30,1,[\\\"county\\\"]]],[1,\\\"\\\\n\\\\tCounty,\\\\n\\\\t\\\"],[1,[30,1,[\\\"state\\\"]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"location\\\"],[\\\"power-select\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-select-location.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdSelectLocation = _exports.default = classic(_class = (_class2 = class VdSelectLocation extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _defineProperty(this, \"dairy\", null);\n      _defineProperty(this, \"searchTerm\", null);\n      _defineProperty(this, \"searchPromise\", null);\n    }\n    async _searchLocations() {\n      this.set('searchPromise', this.store.findAll('location').then(locations => this._groupResults(locations)));\n    }\n    _groupResults(list) {\n      // This array will contain the reference to map group objects\n      const result = [];\n\n      // Group the list by 'state' attr\\\n      list.reduce((map, loc) => {\n        if (!map[loc.state]) {\n          result.push(map[loc.state] = {\n            groupName: loc.state,\n            options: [loc]\n          });\n        } else {\n          map[loc.state].options.push(loc);\n        }\n        return map;\n      }, {});\n      return result;\n    }\n    searchMatcher(location, term) {\n      return `${location.city.toUpperCase()} ${location.county.toUpperCase()} ${location.state.toUpperCase()}`.indexOf(term.toUpperCase());\n    }\n    _updateLocation(location) {\n      let loc = location;\n      const dairy = this.dairy;\n      if (!this.store.findRecord('location', loc.get('id'))) {\n        loc = this.store.createRecord('location', {\n          id: location.id,\n          city: location.city,\n          county: location.county,\n          state: location.state\n        });\n      } else {\n        loc = this.store.peekRecord('location', loc.get('id'));\n      }\n      dairy.set('locationId', loc);\n      dairy.set('city', loc.get('city'));\n      dairy.set('county', loc.get('county'));\n      dairy.set('state', loc.get('state'));\n    }\n    doSearch(searchterm) {\n      this.set('searchterm', searchterm);\n      (0, _runloop.debounce)(this, this._searchLocations, 350);\n    }\n    updateDairyLocation(location) {\n      return this._updateLocation(location);\n    }\n    closeSearch() {\n      this.set('searchterm', null);\n      this.set('searchPromise', []);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"doSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"doSearch\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"updateDairyLocation\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateDairyLocation\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"closeSearch\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"closeSearch\"), _class2.prototype), _class2)) || _class;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdSelectLocation);\n});\n","define(\"agropur-client/components/vd-session-change\", [\"exports\", \"@ember/component\", \"@ember-decorators/component\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <span\n  \ttitle=\"Session Change, settled price: {{format-number\n  \t\tthis.instrument.settlementPrice\n  \t\tthis.instrument.product.formatting\n  \t}}\"\n  \tclass=\"{{this.style}}\"\n  >\n  \t<VaultPrice\n  \t\t@instrument={{this.instrument}}\n  \t\t@price={{this.instrument.sessionPriceChange}}\n  \t\tstyle=\"display: inline;\"\n  \t/>\n  \t({{format-number this.instrument.sessionPriceChangePercentage \"0,0.00%\"}})\n  \t{{#if this.arrow}}\n  \t\t<FaIcon @icon={{this.arrow}} />\n  \t{{/if}}\n  \n  </span>\n  */\n  {\n    \"id\": \"BxD74Lxb\",\n    \"block\": \"[[[10,1],[15,\\\"title\\\",[29,[\\\"Session Change, settled price: \\\",[28,[37,1],[[30,0,[\\\"instrument\\\",\\\"settlementPrice\\\"]],[30,0,[\\\"instrument\\\",\\\"product\\\",\\\"formatting\\\"]]],null]]]],[15,0,[29,[[30,0,[\\\"style\\\"]]]]],[12],[1,\\\"\\\\n\\\\t\\\"],[8,[39,2],[[24,5,\\\"display: inline;\\\"]],[[\\\"@instrument\\\",\\\"@price\\\"],[[30,0,[\\\"instrument\\\"]],[30,0,[\\\"instrument\\\",\\\"sessionPriceChange\\\"]]]],null],[1,\\\"\\\\n\\\\t(\\\"],[1,[28,[35,1],[[30,0,[\\\"instrument\\\",\\\"sessionPriceChangePercentage\\\"]],\\\"0,0.00%\\\"],null]],[1,\\\")\\\\n\\\"],[41,[30,0,[\\\"arrow\\\"]],[[[1,\\\"\\\\t\\\\t\\\"],[8,[39,4],null,[[\\\"@icon\\\"],[[30,0,[\\\"arrow\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[13]],[],[\\\"span\\\",\\\"format-number\\\",\\\"vault-price\\\",\\\"if\\\",\\\"fa-icon\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-session-change.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdSessionChange = _exports.default = (_dec = (0, _component2.classNames)('vd-session-change'), _dec2 = (0, _object.computed)('instrument.product.rdFormat'), _dec3 = (0, _object.computed)('instrument.sessionPriceChange'), _dec4 = (0, _object.computed)('instrument.sessionPriceChange'), classic(_class = _dec(_class = (_class2 = class VdSessionChange extends _component.default {\n    get format() {\n      const result = '(0,0.00)';\n      if (this.get('instrument.product.rdFormat')) {\n        return this.get('instrument.product.rdFormat').replace('$', '');\n      }\n      return result;\n    }\n    get style() {\n      let color = '';\n      if (this.get('instrument.sessionPriceChange') < 0) {\n        color = 'text-danger';\n      }\n      if (this.get('instrument.sessionPriceChange') > 0) {\n        color = 'text-success';\n      }\n      return color;\n    }\n    get arrow() {\n      let arrow = '';\n      if (this.get('instrument.sessionPriceChange') < 0) {\n        arrow = 'caret-down';\n      }\n      if (this.get('instrument.sessionPriceChange') > 0) {\n        arrow = 'caret-up';\n      }\n      return arrow;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"format\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"format\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"style\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"style\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"arrow\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"arrow\"), _class2.prototype), _class2)) || _class) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdSessionChange);\n});\n","define(\"agropur-client/components/vd-sortable-dropdown\", [\"exports\", \"@ember/component\", \"@ember/template-factory\"], function (_exports, _component, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"btn-group btn-group-sm hidden-xs pull-right\">\n  \t<button\n  \t\ttype=\"button\"\n  \t\tclass=\"btn btn-default\"\n  \t\t{{on \"click\" (fn (mut this.sortAscending) (not this.sortAscending))}}\n  \t>\n  \t\t{{#if this.sortAscending}}\n  \t\t\t<FaIcon @icon=\"sort-alpha-asc\" />\n  \t\t{{else}}\n  \t\t\t<FaIcon @icon=\"sort-alpha-desc\" />\n  \t\t{{/if}}\n  \t</button>\n  \n  \t<div class=\"btn-group btn-group-sm\">\n  \t\t<button\n  \t\t\ttype=\"button\"\n  \t\t\tclass=\"btn btn-default dropdown-toggle\"\n  \t\t\tdata-toggle=\"dropdown\"\n  \t\t\taria-haspopup=\"true\"\n  \t\t\taria-expanded=\"false\"\n  \t\t>\n  \t\t\t<strong>Sort By:</strong>&nbsp;{{concat\n  \t\t\t\tthis.sortConfig.translationRoot\n  \t\t\t\t\".\"\n  \t\t\t\tthis.sortProperties\n  \t\t\t}}\n  \t\t\t<span class=\"caret\"></span>\n  \t\t</button>\n  \t\t<ul class=\"dropdown-menu\">\n  \t\t\t{{#each this.sortConfig.properties as |property|}}\n  \t\t\t\t<li>\n  \t\t\t\t\t<LinkTo\n  \t\t\t\t\t\t@route={{this.route}}\n  \t\t\t\t\t\t@query={{hash\n  \t\t\t\t\t\t\tsortProperties=property.path\n  \t\t\t\t\t\t\tsortAscending=this.sortAscending\n  \t\t\t\t\t\t}}\n  \t\t\t\t\t>{{property.title}}</LinkTo>\n  \t\t\t\t</li>\n  \t\t\t{{/each}}\n  \t\t</ul>\n  \t</div>\n  </div>\n  */\n  {\n    \"id\": \"B3srEJ1W\",\n    \"block\": \"[[[10,0],[14,0,\\\"btn-group btn-group-sm hidden-xs pull-right\\\"],[12],[1,\\\"\\\\n\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default\\\"],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[28,[37,3],[[28,[37,4],[[30,0,[\\\"sortAscending\\\"]]],null],[28,[37,5],[[30,0,[\\\"sortAscending\\\"]]],null]],null]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"sortAscending\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[8,[39,7],null,[[\\\"@icon\\\"],[\\\"sort-alpha-asc\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[8,[39,7],null,[[\\\"@icon\\\"],[\\\"sort-alpha-desc\\\"]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\"],[10,0],[14,0,\\\"btn-group btn-group-sm\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,\\\"button\\\"],[14,0,\\\"btn btn-default dropdown-toggle\\\"],[14,\\\"data-toggle\\\",\\\"dropdown\\\"],[14,\\\"aria-haspopup\\\",\\\"true\\\"],[14,\\\"aria-expanded\\\",\\\"false\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"strong\\\"],[12],[1,\\\"Sort By:\\\"],[13],[1,\\\" \\\"],[1,[28,[35,9],[[30,0,[\\\"sortConfig\\\",\\\"translationRoot\\\"]],\\\".\\\",[30,0,[\\\"sortProperties\\\"]]],null]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,1],[14,0,\\\"caret\\\"],[12],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,\\\"ul\\\"],[14,0,\\\"dropdown-menu\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"sortConfig\\\",\\\"properties\\\"]]],null]],null],null,[[[1,\\\"\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"li\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,[39,15],null,[[\\\"@route\\\",\\\"@query\\\"],[[30,0,[\\\"route\\\"]],[28,[37,16],null,[[\\\"sortProperties\\\",\\\"sortAscending\\\"],[[30,1,[\\\"path\\\"]],[30,0,[\\\"sortAscending\\\"]]]]]]],[[\\\"default\\\"],[[[[1,[30,1,[\\\"title\\\"]]]],[]]]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"property\\\"],[\\\"div\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"mut\\\",\\\"not\\\",\\\"if\\\",\\\"fa-icon\\\",\\\"strong\\\",\\\"concat\\\",\\\"span\\\",\\\"ul\\\",\\\"each\\\",\\\"-track-array\\\",\\\"li\\\",\\\"link-to\\\",\\\"hash\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-sortable-dropdown.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdSortableDropdown = _exports.default = classic(_class = class VdSortableDropdown extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"route\", null);\n    }\n  }) || _class;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdSortableDropdown);\n});\n","define(\"agropur-client/components/vd-static-cell\", [\"exports\", \"@ember/component\", \"@ember-decorators/component\", \"@ember/object\", \"@ember/utils\", \"@ember/template\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _utils, _template, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/utils\",0,\"@ember/template\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.isInvalid}}\n  \t{{#if this.validate}}\n  \t\t{{this.warning}}\n  \t{{else}}\n  \t\t-\n  \t{{/if}}\n  {{/if}}\n  \n  {{#unless this.isInvalid}}\n  \t{{#if this.isZero}}\n  \t\t{{#if (eq this.zero \"dash\")}}\n  \t\t\t-\n  \t\t{{else}}\n  \t\t\t{{format-number this.value this.format this.attribute}}\n  \t\t{{/if}}\n  \t{{else}}\n  \t\t{{#if this.cwtFormat}}\n  \t\t\t{{format-number-cwt\n  \t\t\t\tthis.value\n  \t\t\t\tthis.format\n  \t\t\t\tthis.displayMode\n  \t\t\t\tthis.object.totalProductionCwt\n  \t\t\t\tthis.cwtFormat\n  \t\t\t\tfalse\n  \t\t\t\tthis.object.cowsInMilk\n  \t\t\t\tthis.total\n  \t\t\t}}\n  \t\t{{else}}\n  \t\t\t{{format-number this.value this.format this.attribute}}\n  \t\t{{/if}}\n  \t{{/if}}\n  {{/unless}}\n  */\n  {\n    \"id\": \"FNcyAikt\",\n    \"block\": \"[[[41,[30,0,[\\\"isInvalid\\\"]],[[[41,[30,0,[\\\"validate\\\"]],[[[1,\\\"\\\\t\\\\t\\\"],[1,[30,0,[\\\"warning\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\\t-\\\\n\\\"]],[]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isInvalid\\\"]]],[[[41,[30,0,[\\\"isZero\\\"]],[[[41,[28,[37,2],[[30,0,[\\\"zero\\\"]],\\\"dash\\\"],null],[[[1,\\\"\\\\t\\\\t\\\\t-\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[1,[28,[35,3],[[30,0,[\\\"value\\\"]],[30,0,[\\\"format\\\"]],[30,0,[\\\"attribute\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[41,[30,0,[\\\"cwtFormat\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[1,[28,[35,4],[[30,0,[\\\"value\\\"]],[30,0,[\\\"format\\\"]],[30,0,[\\\"displayMode\\\"]],[30,0,[\\\"object\\\",\\\"totalProductionCwt\\\"]],[30,0,[\\\"cwtFormat\\\"]],false,[30,0,[\\\"object\\\",\\\"cowsInMilk\\\"]],[30,0,[\\\"total\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[1,[28,[35,3],[[30,0,[\\\"value\\\"]],[30,0,[\\\"format\\\"]],[30,0,[\\\"attribute\\\"]]],null]],[1,\\\"\\\\n\\\"]],[]]]],[]]]],[]],null]],[],[\\\"if\\\",\\\"unless\\\",\\\"eq\\\",\\\"format-number\\\",\\\"format-number-cwt\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-static-cell.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdStaticCellComponent = (_dec = (0, _component2.tagName)('td'), _dec2 = (0, _object.computed)('object', 'value'), _dec3 = (0, _object.computed)('object', 'value'), _dec4 = (0, _object.computed)('object', 'attribute'), classic(_class = _dec(_class = (_class2 = class VdStaticCellComponent extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"object\", null);\n      _defineProperty(this, \"value\", null);\n      _defineProperty(this, \"displayMode\", null);\n      _defineProperty(this, \"cwtformat\", null);\n      _defineProperty(this, \"format\", null);\n      _defineProperty(this, \"total\", false);\n      _defineProperty(this, \"validate\", false);\n      _defineProperty(this, \"attribute\", null);\n      _defineProperty(this, \"zero\", null);\n    }\n    // 'dash'\n\n    get isInvalid() {\n      return !this.object || !this.value && this.value !== 0;\n    }\n    get isZero() {\n      return (0, _utils.isPresent)(this.value) && isFinite(this.value) && this.value === 0;\n    }\n    get warning() {\n      const warning = !this.get('object.hasValidMilkProduction') ? (0, _template.htmlSafe)(`<span class=\"text-danger\" title=\"Invalid value for '${this.attribute}'. Check this month's milk production.\"><i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i></span>`) : null;\n      return warning || (0, _template.htmlSafe)(`<span class=\"text-danger\" title=\"Invalid value for '${this.attribute}'.\"><i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i></span>`);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"isInvalid\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"isInvalid\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isZero\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"isZero\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"warning\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"warning\"), _class2.prototype), _class2)) || _class) || _class);\n  window.__CLASSIC_OWN_CLASSES__.set(VdStaticCellComponent, true);\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdStaticCellComponent);\n});\n","define(\"agropur-client/components/vd-table-loading-row\", [\"exports\", \"@ember/component\", \"@ember-decorators/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.show}}\n  \t<td colspan=\"{{this.colspan}}\" class=\"text-center\">\n  \t\t{{#if this.showIcon}}\n  \t\t\t<div class=\"progress\">\n  \t\t\t\t<div class=\"indeterminate\"><i class=\"fa fa-spinner fa-spin fa-fw\"></i><span\n  \t\t\t\t\t\tclass=\"sr-only\"\n  \t\t\t\t\t>Loading...</span></div>\n  \t\t\t</div>\n  \t\t{{else}}\n  \t\t\t<i class=\"fa fa-ellipsis-h\" aria-hidden=\"true\"></i>\n  \t\t{{/if}}\n  \t</td>\n  {{/if}}\n  */\n  {\n    \"id\": \"TwCW2G0i\",\n    \"block\": \"[[[41,[30,0,[\\\"show\\\"]],[[[1,\\\"\\\\t\\\"],[10,\\\"td\\\"],[15,\\\"colspan\\\",[29,[[30,0,[\\\"colspan\\\"]]]]],[14,0,\\\"text-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showIcon\\\"]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"progress\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"indeterminate\\\"],[12],[10,\\\"i\\\"],[14,0,\\\"fa fa-spinner fa-spin fa-fw\\\"],[12],[13],[10,1],[14,0,\\\"sr-only\\\"],[12],[1,\\\"Loading...\\\"],[13],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"\\\\t\\\\t\\\\t\\\"],[10,\\\"i\\\"],[14,0,\\\"fa fa-ellipsis-h\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[],[\\\"if\\\",\\\"td\\\",\\\"div\\\",\\\"i\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-table-loading-row.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdTableLoadingRow = _exports.default = (_dec = (0, _component2.tagName)('tr'), classic(_class = _dec(_class = class VdTableLoadingRow extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"colspan\", 1);\n      _defineProperty(this, \"show\", false);\n      _defineProperty(this, \"showIcon\", true);\n    }\n  }) || _class) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdTableLoadingRow);\n});\n","define(\"agropur-client/components/vd-toolbar\", [\"exports\", \"@ember/component\", \"@ember-decorators/component\", \"@ember/object\", \"moment\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _moment, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"ember-classic-decorator\",0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"moment\",0,\"@ember/component\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"btn-toolbar\" role=\"toolbar\">\n  \t{{#if this.showPrintButton}}\n  \t\t<div class=\"btn-group btn-group-sm visible-md visible-lg\" role=\"group\">\n  \t\t\t<button class=\"btn btn-default btn-sm\" {{on \"click\" this.print}}><FaIcon\n  \t\t\t\t\t@icon=\"print\"\n  \t\t\t\t/></button>\n  \t\t</div>\n  \t{{/if}}\n  \n  \t{{yield}}\n  \n  \t{{#if this.showCwtTotalButtons}}\n  \t\t<div class=\"btn-group btn-group-sm visible-md visible-lg\" role=\"group\">\n  \t\t\t<button\n  \t\t\t\tclass=\"btn btn-default btn-sm\n  \t\t\t\t\t{{if this.application.userDairyConfig.config.displayMode.perCWT 'active'}}\"\n  \t\t\t\t{{on \"click\" (fn this.toggleMode true false false)}}\n  \t\t\t>\n  \t\t\t\t{{this.generic.displayMode.cwt}}\n  \t\t\t</button>\n  \t\t\t<button\n  \t\t\t\tclass=\"btn btn-default btn-sm\n  \t\t\t\t\t{{if\n  \t\t\t\t\t\tthis.application.userDairyConfig.config.displayMode.perTotal\n  \t\t\t\t\t\t'active'\n  \t\t\t\t\t}}\"\n  \t\t\t\t{{on \"click\" (fn this.toggleMode false false true)}}\n  \t\t\t>\n  \t\t\t\t{{this.generic.displayMode.total}}\n  \t\t\t</button>\n  \t\t</div>\n  \n  \t\t<div\n  \t\t\tclass=\"btn-group btn-group-justified btn-group-sm visible-xs visible-sm\"\n  \t\t\trole=\"group\"\n  \t\t\taria-label=\"...\"\n  \t\t>\n  \t\t\t<div class=\"btn-group\" role=\"group\">\n  \t\t\t\t<button\n  \t\t\t\t\tclass=\"btn btn-default btn-sm\n  \t\t\t\t\t\t{{if\n  \t\t\t\t\t\t\tthis.application.userDairyConfig.config.displayMode.perCWT\n  \t\t\t\t\t\t\t'active'\n  \t\t\t\t\t\t}}\"\n  \t\t\t\t\t{{on \"click\" (fn this.toggleMode true false false)}}\n  \t\t\t\t>\n  \t\t\t\t\t{{this.generic.displayMode.cwt}}\n  \t\t\t\t</button>\n  \t\t\t</div>\n  \t\t\t<div class=\"btn-group\" role=\"group\">\n  \t\t\t\t<button\n  \t\t\t\t\tclass=\"btn btn-default btn-sm\n  \t\t\t\t\t\t{{if\n  \t\t\t\t\t\t\tthis.application.userDairyConfig.config.displayMode.perTotal\n  \t\t\t\t\t\t\t'active'\n  \t\t\t\t\t\t}}\"\n  \t\t\t\t\t{{on \"click\" (fn this.toggleMode false false true)}}\n  \t\t\t\t>\n  \t\t\t\t\t{{this.generic.displayMode.total}}\n  \t\t\t\t</button>\n  \t\t\t</div>\n  \t\t</div>\n  \t{{/if}}\n  \n  \t{{#if this.showYearChangeButtons}}\n  \t\t<div\n  \t\t\tclass=\"btn-group btn-group-sm year-switch visible-md visible-lg\"\n  \t\t\trole=\"group\"\n  \t\t>\n  \t\t\t<button class=\"btn btn-default btn-sm\" {{on \"click\" this.onPrevious}}><FaIcon\n  \t\t\t\t\t@icon=\"angle-left\"\n  \t\t\t\t/></button>\n  \t\t\t<button\n  \t\t\t\tclass=\"btn btn-default btn-sm btn-display year-display\"\n  \t\t\t>{{this.displayYear}}</button>\n  \t\t\t<button class=\"btn btn-default btn-sm\" {{on \"click\" this.onNext}}><FaIcon\n  \t\t\t\t\t@icon=\"angle-right\"\n  \t\t\t\t/></button>\n  \t\t</div>\n  \n  \t\t<div\n  \t\t\tclass=\"btn-group btn-group-justified btn-group-sm year-switch visible-xs visible-sm\"\n  \t\t\trole=\"group\"\n  \t\t\taria-label=\"...\"\n  \t\t>\n  \t\t\t<div class=\"btn-group\" role=\"group\">\n  \t\t\t\t<button\n  \t\t\t\t\tclass=\"btn btn-default btn-sm\"\n  \t\t\t\t\t{{on \"click\" this.onPrevious}}\n  \t\t\t\t><FaIcon @icon=\"angle-left\" /></button>\n  \t\t\t</div>\n  \t\t\t<div class=\"btn-group\" role=\"group\">\n  \t\t\t\t<button\n  \t\t\t\t\tclass=\"btn btn-default btn-sm btn-display year-display\"\n  \t\t\t\t>{{this.displayYear}}</button>\n  \t\t\t</div>\n  \t\t\t<div class=\"btn-group\" role=\"group\">\n  \t\t\t\t<button class=\"btn btn-default btn-sm\" {{on \"click\" this.onNext}}><FaIcon\n  \t\t\t\t\t\t@icon=\"angle-right\"\n  \t\t\t\t\t/></button>\n  \t\t\t</div>\n  \t\t</div>\n  \t{{/if}}\n  </div>\n  */\n  {\n    \"id\": \"ve7H8UxQ\",\n    \"block\": \"[[[10,0],[14,0,\\\"btn-toolbar\\\"],[14,\\\"role\\\",\\\"toolbar\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showPrintButton\\\"]],[[[1,\\\"\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group btn-group-sm visible-md visible-lg\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"print\\\"]]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"print\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\\t\\\"],[18,1,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showCwtTotalButtons\\\"]],[[[1,\\\"\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group btn-group-sm visible-md visible-lg\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\",[52,[30,0,[\\\"application\\\",\\\"userDairyConfig\\\",\\\"config\\\",\\\"displayMode\\\",\\\"perCWT\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,6],[[30,0,[\\\"toggleMode\\\"]],true,false,false],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"generic\\\",\\\"displayMode\\\",\\\"cwt\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\",[52,[30,0,[\\\"application\\\",\\\"userDairyConfig\\\",\\\"config\\\",\\\"displayMode\\\",\\\"perTotal\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,6],[[30,0,[\\\"toggleMode\\\"]],false,false,true],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"generic\\\",\\\"displayMode\\\",\\\"total\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group btn-group-justified btn-group-sm visible-xs visible-sm\\\"],[14,\\\"role\\\",\\\"group\\\"],[14,\\\"aria-label\\\",\\\"...\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\",[52,[30,0,[\\\"application\\\",\\\"userDairyConfig\\\",\\\"config\\\",\\\"displayMode\\\",\\\"perCWT\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,6],[[30,0,[\\\"toggleMode\\\"]],true,false,false],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"generic\\\",\\\"displayMode\\\",\\\"cwt\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[16,0,[29,[\\\"btn btn-default btn-sm\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\",[52,[30,0,[\\\"application\\\",\\\"userDairyConfig\\\",\\\"config\\\",\\\"displayMode\\\",\\\"perTotal\\\"]],\\\"active\\\"]]]],[4,[38,3],[\\\"click\\\",[28,[37,6],[[30,0,[\\\"toggleMode\\\"]],false,false,true],null]],null],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[1,[30,0,[\\\"generic\\\",\\\"displayMode\\\",\\\"total\\\"]]],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showYearChangeButtons\\\"]],[[[1,\\\"\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group btn-group-sm year-switch visible-md visible-lg\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"onPrevious\\\"]]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-left\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"button\\\"],[14,0,\\\"btn btn-default btn-sm btn-display year-display\\\"],[12],[1,[30,0,[\\\"displayYear\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"onNext\\\"]]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-right\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group btn-group-justified btn-group-sm year-switch visible-xs visible-sm\\\"],[14,\\\"role\\\",\\\"group\\\"],[14,\\\"aria-label\\\",\\\"...\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"onPrevious\\\"]]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-left\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"button\\\"],[14,0,\\\"btn btn-default btn-sm btn-display year-display\\\"],[12],[1,[30,0,[\\\"displayYear\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,0],[14,0,\\\"btn-group\\\"],[14,\\\"role\\\",\\\"group\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-default btn-sm\\\"],[4,[38,3],[\\\"click\\\",[30,0,[\\\"onNext\\\"]]],null],[12],[8,[39,4],null,[[\\\"@icon\\\"],[\\\"angle-right\\\"]],null],[13],[1,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"&default\\\"],[\\\"div\\\",\\\"if\\\",\\\"button\\\",\\\"on\\\",\\\"fa-icon\\\",\\\"yield\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-toolbar.hbs\",\n    \"isStrictMode\": false\n  });\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VdToolbar = _exports.default = (_dec = (0, _component2.classNames)('vd-toolbar', 'pull-right'), _dec2 = (0, _component2.attributeBindings)('style'), _dec3 = (0, _object.computed)('month.displayMonth'), classic(_class = _dec(_class = _dec2(_class = (_class2 = class VdToolbar extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"showPrintButton\", false);\n      _defineProperty(this, \"showCwtTotalButtons\", false);\n      _defineProperty(this, \"showYearChangeButtons\", true);\n    }\n    get displayYear() {\n      return (0, _moment.default)(this.get('month.displayMonth')).format('YYYY');\n    }\n    toggleMode(perCWT, perCow, perTotal) {\n      const userDairyConfig = this.get('application.userDairyConfig');\n      userDairyConfig.set('config.displayMode', {\n        perCWT,\n        perCow,\n        perTotal\n      });\n      userDairyConfig.save();\n    }\n    onPrevious() {\n      this.month.previousYear();\n    }\n    onNext() {\n      this.month.nextYear();\n    }\n    print() {\n      window.print();\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"displayYear\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"displayYear\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleMode\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleMode\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"onPrevious\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"onPrevious\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"onNext\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"onNext\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"print\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"print\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, VdToolbar);\n});\n","define(\"agropur-client/components/vd-tooltip-icon\", [\"exports\", \"@ember/component\", \"@ember/runloop\", \"@ember/template-factory\"], function (_exports, _component, _runloop, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-htmlbars\",0,\"@ember/component\",0,\"@ember/runloop\",0,\"@ember/component\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <FaIcon @icon=\"info-circle\" />\n  {{#if this.showTooltip}}\n  \t<div\n  \t\tid=\"{{this.elementId}}-tooltip\"\n  \t\tclass=\"tooltip fade bottom in\"\n  \t\trole=\"tooltip\"\n  \t\tstyle=\"display:block; visibility: hidden;\"\n  \t>\n  \t\t<div class=\"tooltip-arrow\"></div>\n  \t\t<div class=\"tooltip-inner\">{{yield}}{{this._positionLeft}}</div>\n  \t</div>\n  {{/if}}\n  */\n  {\n    \"id\": \"/SK7/NUd\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@icon\\\"],[\\\"info-circle\\\"]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showTooltip\\\"]],[[[1,\\\"\\\\t\\\"],[10,0],[15,1,[29,[[30,0,[\\\"elementId\\\"]],\\\"-tooltip\\\"]]],[14,0,\\\"tooltip fade bottom in\\\"],[14,\\\"role\\\",\\\"tooltip\\\"],[14,5,\\\"display:block; visibility: hidden;\\\"],[12],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"tooltip-arrow\\\"],[12],[13],[1,\\\"\\\\n\\\\t\\\\t\\\"],[10,0],[14,0,\\\"tooltip-inner\\\"],[12],[18,1,null],[1,[30,0,[\\\"_positionLeft\\\"]]],[13],[1,\\\"\\\\n\\\\t\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&default\\\"],[\\\"fa-icon\\\",\\\"if\\\",\\\"div\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"agropur-client/components/vd-tooltip-icon.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, _component.default.extend({\n    tagName: 'em',\n    attributeBindings: ['data-toggle', 'data-placement', 'title'],\n    classNames: ['vd-tooltip-icon'],\n    showTooltip: false,\n    showIcon: false,\n    'data-toggle': 'tooltip',\n    mouseEnter() {\n      const iconWidth = $(this.element).width() / 2;\n      this.set('showTooltip', true);\n      (0, _runloop.later)(() => this._updateTooltipPosition(iconWidth));\n    },\n    _updateTooltipPosition(iconWidth) {\n      const el = $(this.element).find(`#${this.elementId}-tooltip`);\n      const position = el.width() / 2 * -1 + iconWidth;\n      el.css('left', `${position}px`);\n      el.css('visibility', 'visible');\n    },\n    mouseLeave() {\n      this.set('showTooltip', false);\n    },\n    init(...args) {\n      this._super(...args);\n    }\n  }));\n});\n","define(\"agropur-client/controllers/application\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/controller\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ApplicationController = _exports.default = classic(_class = class ApplicationController extends _controller.default {}) || _class;\n});\n","define(\"agropur-client/controllers/authenticated\", [\"exports\", \"@ember/controller\", \"agropur-client/config/environment\", \"moment\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/utils\"], function (_exports, _controller, _environment, _moment, _service, _object, _tracking, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"moment\",0,\"@ember/service\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Authenticated = _exports.default = (_class = class Authenticated extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"queryParams\", ['dairy_id', 'organization_id', 'period', 'display_mode']);\n      _defineProperty(this, \"brandLogoUrl\", _environment.default.BRAND.menuLogoPath);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n      _initializerDefineProperty(this, \"display_mode\", _descriptor2, this);\n      _initializerDefineProperty(this, \"organization_id\", _descriptor3, this);\n      _initializerDefineProperty(this, \"dairy_id\", _descriptor4, this);\n      _initializerDefineProperty(this, \"session\", _descriptor5, this);\n      _initializerDefineProperty(this, \"clickWrap\", _descriptor6, this);\n      _initializerDefineProperty(this, \"forwardContractingInfoModal\", _descriptor7, this);\n      _defineProperty(this, \"ENV\", _environment.default);\n    }\n    get showTools() {\n      return this.model.isOrgAdmin && this.model.organization.showAgropurBasis;\n    }\n    get organizationDairies() {\n      return this.model.dairies.filter(d => {\n        return d.belongsTo('organizationId').id() == this.organization_id;\n      }).sort((a, b) => (0, _utils.compare)(a.name, b.name));\n    }\n    get isClickWrapOpen() {\n      return this.clickWrap.isOpen;\n    }\n    get isForwardContractingInfoModalOpen() {\n      return this.forwardContractingInfoModal.isOpen;\n    }\n    switchOrganization(organization) {\n      this.organization_id = organization.id;\n      const initialDairy = this.model.dairies.find(e => {\n        return e.belongsTo('organizationId').id() == organization.id;\n      });\n      this.dairy_id = initialDairy.id;\n    }\n    switchDairy(dairy) {\n      this.dairy_id = dairy.id;\n    }\n    acceptClickwrapAgreement(dairy) {\n      dairy.save();\n      this.clickWrap.hide();\n    }\n    showSideMenu() {\n      const sideMenu = document.getElementById('side-menu');\n      if (sideMenu) {\n        sideMenu.style.display = 'block';\n        sideMenu.scrollTop = 0;\n      }\n    }\n    hideSideMenu() {\n      const sideMenu = document.getElementById('side-menu');\n      if (sideMenu) {\n        sideMenu.style.display = 'none';\n      }\n    }\n    toggleForwardContractingInfoModal() {\n      this.forwardContractingInfoModal.toggle();\n    }\n    invalidateSession() {\n      this.session.invalidate();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return (0, _moment.default)().format('YYYYMM');\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"display_mode\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'cwt';\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"organization_id\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"dairy_id\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"clickWrap\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"forwardContractingInfoModal\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"switchOrganization\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"switchOrganization\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"switchDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"switchDairy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"acceptClickwrapAgreement\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"acceptClickwrapAgreement\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showSideMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showSideMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideSideMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideSideMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleForwardContractingInfoModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleForwardContractingInfoModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"invalidateSession\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"invalidateSession\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/basis-hedges/detail\", [\"exports\", \"@ember/controller\", \"agropur-client/config/environment\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/service\"], function (_exports, _controller, _environment, _object, _tracking, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@ember/object\",0,\"@glimmer/tracking\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let BasisHedgesDetail = _exports.default = (_class = class BasisHedgesDetail extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"newModel\", _descriptor3, this);\n      _initializerDefineProperty(this, \"newPositionType\", _descriptor4, this);\n      _initializerDefineProperty(this, \"newPositionPrice\", _descriptor5, this);\n      _initializerDefineProperty(this, \"newPositionStrike\", _descriptor6, this);\n      _initializerDefineProperty(this, \"newPositionQuantity\", _descriptor7, this);\n      _initializerDefineProperty(this, \"newPositionLong\", _descriptor8, this);\n      _initializerDefineProperty(this, \"isCreatingPosition\", _descriptor9, this);\n      _initializerDefineProperty(this, \"errorMessage\", _descriptor0, this);\n      _initializerDefineProperty(this, \"showDeleteConfirmModal\", _descriptor1, this);\n      _initializerDefineProperty(this, \"positionToDelete\", _descriptor10, this);\n      _initializerDefineProperty(this, \"isDeletingPosition\", _descriptor11, this);\n      _initializerDefineProperty(this, \"deleteErrorMessage\", _descriptor12, this);\n    }\n    get filteredPhysicalPositions() {\n      return this.model.manualPositions.filter(m => {\n        return m.month.get('id') == this.model.month.id;\n      });\n    }\n    async saveRecord() {\n      const rec = this.newModel;\n      this.isCreatingPosition = true;\n      this.errorMessage = null;\n      try {\n        await rec.save();\n        this.toggleProperty('showPositionModal');\n        this.send('refreshModel');\n      } catch {\n        this.errorMessage = 'There was an error. Position not added.';\n      } finally {\n        this.isCreatingPosition = false;\n      }\n    }\n    async toggleCreateModal() {\n      // If spot price exist use spot -dmw\n      const price = this.model.month.spotBasisInstrument?.price || this.model.month.agropurBasisInstrument?.price;\n\n      // This check was added to prevent the app from crashing when the price is undefined\n      // A better solution may be needed\n      if (price === undefined) {\n        console.error('Unable to determine price for new basis position');\n        return;\n      }\n      this.newModel = this.store.createRecord('manual-position', {\n        positionType: 'PHYSICAL',\n        type: 'FORWARD',\n        price,\n        product_id: this.model.organization.basisGlobexSymbol,\n        month_id: this.model.month,\n        userId: this.model.currentUserId\n      });\n      this.errorMessage = null;\n      this.toggleProperty('showPositionModal');\n    }\n    async cancelPositionModal() {\n      this.newModel.rollbackAttributes();\n      this.errorMessage = null;\n      this.toggleProperty('showPositionModal');\n    }\n    async editManualPosition(position) {\n      this.newModel = position;\n      this.errorMessage = null;\n      this.toggleProperty('showPositionModal');\n    }\n    deleteManualPosition(position) {\n      this.positionToDelete = position;\n      this.deleteErrorMessage = null;\n      this.showDeleteConfirmModal = true;\n    }\n    async confirmDeletePosition() {\n      const position = this.positionToDelete;\n      this.isDeletingPosition = true;\n      this.deleteErrorMessage = null;\n      try {\n        // Delete the record in the store\n        position.deleteRecord();\n\n        // Save the deletion to the server\n        await position.save();\n\n        // Close the modal\n        this.showDeleteConfirmModal = false;\n        this.positionToDelete = null;\n\n        // Force a full page reload\n        window.location.reload();\n      } catch (error) {\n        console.error('Error deleting position:', error);\n        this.deleteErrorMessage = 'There was an error. Position not deleted.';\n      } finally {\n        this.isDeletingPosition = false;\n      }\n    }\n    cancelDeletePosition() {\n      this.showDeleteConfirmModal = false;\n      this.positionToDelete = null;\n      this.deleteErrorMessage = null;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"newModel\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"newPositionType\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'FORWARD';\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"newPositionPrice\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"newPositionStrike\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"newPositionQuantity\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"newPositionLong\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"isCreatingPosition\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteConfirmModal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"positionToDelete\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"isDeletingPosition\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"deleteErrorMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"saveRecord\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveRecord\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleCreateModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCreateModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelPositionModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelPositionModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editManualPosition\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editManualPosition\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteManualPosition\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteManualPosition\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmDeletePosition\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmDeletePosition\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelDeletePosition\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelDeletePosition\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/basis-hedges/index\", [\"exports\", \"@ember/object\", \"@ember/object/computed\", \"@ember/controller\", \"agropur-client/config/environment\", \"@ember/service\"], function (_exports, _object, _computed, _controller, _environment, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexController = _exports.default = (_dec = (0, _computed.filterBy)('model.selectableMonths', 'checked', true), _dec2 = (0, _object.computed)('checkedMonths.@each.checked', 'model.months.length'), _dec3 = (0, _object.computed)('checkedMonths.@each.checked', 'model.months.length'), classic(_class = (_class2 = class IndexController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"notification\", _descriptor2, this);\n      _initializerDefineProperty(this, \"period\", _descriptor3, this);\n      _initializerDefineProperty(this, \"displayMode\", _descriptor4, this);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _defineProperty(this, \"newPositionQuantity\", null);\n      _defineProperty(this, \"newTicketNumber\", null);\n      _defineProperty(this, \"isCreatingPositions\", false);\n      _defineProperty(this, \"errorMessage\", null);\n      _initializerDefineProperty(this, \"checkedMonths\", _descriptor5, this);\n    }\n    get partialMonthsSelected() {\n      return this.checkedMonths.length > 0 && this.checkedMonths.length < this.model.months.length;\n    }\n    get allMonthsSelected() {\n      return this.checkedMonths.length == this.model.months.length;\n    }\n    clearNewPosition() {\n      this.set('newPositionQuantity', null);\n      this.set('newTicketNumber', null);\n    }\n    changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    changeDisplayMode(mode) {\n      return this.displayMode.update(mode);\n    }\n    saveRecords() {\n      const list = this.checkedMonths;\n      const quantity = this.newPositionQuantity;\n      const instrument_id = this.newTicketNumber;\n      let month;\n      this.set('isCreatingPositions', true);\n      this.set('errorMessage', null);\n      if (list.length != 0) {\n        const savePromises = [];\n        list.forEach(el => {\n          month = el.get('month');\n          const e = this.store.createRecord('manual-position', {\n            positionType: 'PHYSICAL',\n            type: 'FORWARD',\n            // If spot price exist use spot -dmw\n            price: month.get('spotBasisInstrument.price') || month.get('agropurBasisInstrument.price'),\n            quantity,\n            long: false,\n            instrument_id\n          });\n          e.set('month', month);\n          e.set('product_id', this.model.organization.basisGlobexSymbol);\n          e.set('user_id', this.model.currentUserId);\n          savePromises.push(e.save().catch(error => {\n            return Promise.reject(error);\n          }));\n        });\n        Promise.all(savePromises).then(() => {\n          this.toggleProperty('showPositionsModal');\n          this.checkedMonths.forEach(m => {\n            m.set('checked', false);\n          });\n          this.clearNewPosition();\n        }).catch(() => {\n          this.set('errorMessage', 'There was an error. Positions not added.');\n        }).finally(() => {\n          this.set('isCreatingPositions', false);\n        });\n      } else {\n        this.set('isCreatingPositions', false);\n      }\n    }\n    toggleCreateModal() {\n      this.clearNewPosition();\n      this.toggleProperty('showPositionsModal');\n    }\n    cancelPositionsModal() {\n      this.clearNewPosition();\n      this.set('errorMessage', null);\n      this.checkedMonths.forEach(m => {\n        m.set('checked', false);\n      });\n      this.toggleProperty('showPositionsModal');\n    }\n    updateAllSelectedMonths() {\n      if (this.checkedMonths.length > 0 && !this.partialMonthsSelected) {\n        this.checkedMonths.forEach(m => {\n          m.set('checked', false);\n        });\n      } else {\n        this.model.selectableMonths.forEach(m => {\n          m.set('checked', true);\n        });\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"notification\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"period\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"displayMode\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"checkedMonths\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"partialMonthsSelected\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"partialMonthsSelected\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"allMonthsSelected\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"allMonthsSelected\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"changePeriod\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"changeDisplayMode\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"changeDisplayMode\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"saveRecords\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveRecords\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleCreateModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleCreateModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cancelPositionsModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"cancelPositionsModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"updateAllSelectedMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateAllSelectedMonths\"), _class2.prototype), _class2)) || _class);\n});\n","define(\"agropur-client/controllers/authenticated/basis-prices/detail\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/controller\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DetailController = _exports.default = classic(_class = class DetailController extends _controller.default {}) || _class;\n});\n","define(\"agropur-client/controllers/authenticated/basis-prices/index\", [\"exports\", \"@ember/controller\", \"agropur-client/utils/date-utils\", \"agropur-client/config/environment\", \"@ember/object\", \"@ember/service\", \"@ember/utils\"], function (_exports, _controller, _dateUtils, _environment, _object, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"agropur-client/utils/date-utils\",0,\"agropur-client/config/environment\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const {\n    dateInput,\n    toUtc,\n    format\n  } = _dateUtils.default;\n  let BasisPricesIndex = _exports.default = (_class = class BasisPricesIndex extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _defineProperty(this, \"ENV\", _environment.default);\n    }\n    get monthsArray() {\n      let months = {};\n      this.model.allBasisInstruments.forEach(instrument => {\n        if (!months[instrument.date]) {\n          months[instrument.date] = {};\n        }\n        months[instrument.date][instrument.product.content.globexSymbol] = instrument;\n      });\n      return Object.entries(months).map(m => {\n        return {\n          date: m[0],\n          basis: m[1][this.model.organization.basisGlobexSymbol],\n          endProduct: m[1][this.model.organization.endProductBasisGlobexSymbol],\n          spot: m[1][this.model.organization.spotGlobexSymbol]\n        };\n      }).sort((a, b) => (0, _utils.compare)(a.date, b.date));\n    }\n    saveBasisRecords() {\n      const list = this.model.availableBasisInstruments;\n      list.forEach(el => {\n        const instrument = el.instrument;\n        const instrumentSymbol = el.instrument.symbol;\n        const timestamp = format(toUtc(new Date()), 'YYYY-MM-DD HH:mm:ss');\n        const closeDate = dateInput(toUtc(el.instrument.expiration));\n        let model = {};\n        if (el.updatedPrice) {\n          model = this.store.createRecord('vault-market-datum', {\n            instrument,\n            instrumentSymbol,\n            timestamp,\n            closeDate,\n            price: +el.updatedPrice,\n            side: 'Last',\n            final: false\n          });\n          model.save();\n          el.updatedPrice = null;\n        }\n      });\n      this.toggleProperty('showBasisOfferModal');\n    }\n    saveEndProductRecords() {\n      const list = this.model.availableEndProductBasisInstruments;\n      list.forEach(el => {\n        const instrument = el.instrument;\n        const instrumentSymbol = el.instrument.symbol;\n        const timestamp = format(toUtc(new Date()), 'YYYY-MM-DD HH:mm:ss');\n        const closeDate = dateInput(toUtc(el.instrument.expiration));\n        let model = {};\n        if (el.updatedPrice) {\n          model = this.store.createRecord('vault-market-datum', {\n            instrument,\n            instrumentSymbol,\n            timestamp,\n            closeDate,\n            price: +el.updatedPrice,\n            side: 'Last',\n            final: false\n          });\n          model.save();\n          el.updatedPrice = null;\n        }\n      });\n      this.toggleProperty('showEndProductBasisModal');\n    }\n    saveSpotRecords() {\n      const list = this.model.availableSpotInstruments;\n      list.forEach(el => {\n        const instrument = el.instrument;\n        const instrumentSymbol = el.instrument.symbol;\n        const timestamp = format(toUtc(new Date()), 'YYYY-MM-DD HH:mm:ss');\n        const closeDate = dateInput(toUtc(el.instrument.expiration));\n        let model = {};\n        if (el.updatedPrice) {\n          model = this.store.createRecord('vault-market-datum', {\n            instrument,\n            instrumentSymbol,\n            timestamp,\n            closeDate,\n            price: +el.updatedPrice,\n            side: 'Last',\n            final: false\n          });\n          model.save();\n          el.updatedPrice = null;\n        }\n      });\n      this.toggleProperty('showSpotModal');\n    }\n    toggleBasisOfferModal() {\n      this.toggleProperty('showBasisOfferModal');\n    }\n    toggleEndProductBasisModal() {\n      this.toggleProperty('showEndProductBasisModal');\n    }\n    toggleSpotModal() {\n      this.toggleProperty('showSpotModal');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"saveBasisRecords\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveBasisRecords\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveEndProductRecords\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveEndProductRecords\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveSpotRecords\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveSpotRecords\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleBasisOfferModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleBasisOfferModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleEndProductBasisModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleEndProductBasisModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleSpotModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleSpotModal\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/class-iii-hedges/detail\", [\"exports\", \"@ember/object\", \"@ember/controller\", \"@ember/service\"], function (_exports, _object, _controller, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DetailController = _exports.default = (_dec = (0, _object.computed)('model.manualPositions.[]', 'model.month.id'), classic(_class = (_class2 = class DetailController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _defineProperty(this, \"newModel\", null);\n      _defineProperty(this, \"newPositionType\", 'FORWARD');\n      _defineProperty(this, \"newPositionPrice\", null);\n      _defineProperty(this, \"newPositionStrike\", null);\n      _defineProperty(this, \"newPositionQuantity\", null);\n      _defineProperty(this, \"newPositionLong\", null);\n      _defineProperty(this, \"isCreatingPosition\", false);\n      _defineProperty(this, \"isDeletingPosition\", false);\n      _defineProperty(this, \"errorMessage\", null);\n      _defineProperty(this, \"deleteErrorMessage\", null);\n      _defineProperty(this, \"showDeleteConfirmModal\", false);\n      _defineProperty(this, \"positionToDelete\", null);\n    }\n    get filteredPhysicalPositions() {\n      return this.model.manualPositions.filter(m => {\n        return m.month.get('id') == this.model.month.id;\n      });\n    }\n    async saveRecord() {\n      const rec = this.newModel;\n      rec.set('long', rec.long === 'true');\n      this.set('isCreatingPosition', true);\n      this.set('errorMessage', null);\n      try {\n        await rec.save();\n        this.toggleProperty('showPositionModal');\n        this.send('refreshModel');\n      } catch {\n        this.set('errorMessage', 'There was an error. Position not added.');\n      } finally {\n        this.set('isCreatingPosition', false);\n      }\n    }\n    toggleCreateModal() {\n      this.set('newModel', this.store.createRecord('manual-position', {\n        positionType: 'PHYSICAL',\n        type: 'FORWARD',\n        product_id: 'DC',\n        month_id: this.model.month,\n        userId: this.model.currentUserId\n      }));\n      this.set('errorMessage', null);\n      this.toggleProperty('showPositionModal');\n    }\n    cancelPositionModal() {\n      this.newModel.rollbackAttributes();\n      this.set('errorMessage', null);\n      this.toggleProperty('showPositionModal');\n    }\n    editManualPosition(position) {\n      this.set('newModel', position);\n      this.set('errorMessage', null);\n      this.toggleProperty('showPositionModal');\n    }\n    deleteManualPosition(position) {\n      this.set('positionToDelete', position);\n      this.set('deleteErrorMessage', null);\n      this.set('showDeleteConfirmModal', true);\n    }\n    async confirmDeletePosition() {\n      const position = this.positionToDelete;\n      this.set('isDeletingPosition', true);\n      this.set('deleteErrorMessage', null);\n      try {\n        // Delete the record in the store\n        position.deleteRecord();\n\n        // Save the deletion to the server\n        await position.save();\n\n        // Close the modal\n        this.set('showDeleteConfirmModal', false);\n        this.set('positionToDelete', null);\n\n        // Force a full page reload\n        window.location.reload();\n      } catch (error) {\n        console.error('Error deleting position:', error);\n        this.set('deleteErrorMessage', 'There was an error. Position not deleted.');\n      } finally {\n        this.set('isDeletingPosition', false);\n      }\n    }\n    cancelDeletePosition() {\n      this.set('showDeleteConfirmModal', false);\n      this.set('positionToDelete', null);\n      this.set('deleteErrorMessage', null);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"filteredPhysicalPositions\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"filteredPhysicalPositions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"saveRecord\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveRecord\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleCreateModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleCreateModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cancelPositionModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"cancelPositionModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"editManualPosition\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"editManualPosition\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"deleteManualPosition\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"deleteManualPosition\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"confirmDeletePosition\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"confirmDeletePosition\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cancelDeletePosition\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"cancelDeletePosition\"), _class2.prototype), _class2)) || _class);\n});\n","define(\"agropur-client/controllers/authenticated/class-iii-hedges/index\", [\"exports\", \"@ember/object\", \"@ember/object/computed\", \"@ember/controller\", \"@ember/array\", \"@ember/service\"], function (_exports, _object, _computed, _controller, _array, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"@ember/controller\",0,\"@ember/array\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexController = _exports.default = (_dec = (0, _computed.filterBy)('model.selectableMonths', 'checked', true), _dec2 = (0, _object.computed)('checkedMonths.@each.checked', 'model.months.length'), _dec3 = (0, _object.computed)('checkedMonths.@each.checked', 'model.months.length'), classic(_class = (_class2 = class IndexController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"period\", _descriptor2, this);\n      _initializerDefineProperty(this, \"displayMode\", _descriptor3, this);\n      _defineProperty(this, \"newPositionType\", 'FORWARD');\n      _defineProperty(this, \"newPositionPrice\", null);\n      _defineProperty(this, \"newPositionStrike\", null);\n      _defineProperty(this, \"newPositionQuantity\", null);\n      _defineProperty(this, \"newPositionLong\", 'true');\n      _defineProperty(this, \"newTicketNumber\", null);\n      _defineProperty(this, \"isCreatingPositions\", false);\n      _defineProperty(this, \"errorMessage\", null);\n      _initializerDefineProperty(this, \"checkedMonths\", _descriptor4, this);\n    }\n    init() {\n      super.init(...arguments);\n      this.set('selectedMonths', (0, _array.A)());\n    }\n    get partialMonthsSelected() {\n      return this.checkedMonths.length > 0 && this.checkedMonths.length < this.model.months.length;\n    }\n    get allMonthsSelected() {\n      return this.checkedMonths.length == this.model.months.length;\n    }\n    clearNewPosition() {\n      this.set('newPositionType', 'FORWARD');\n      this.set('newPositionPrice', null);\n      this.set('newPositionStrike', null);\n      this.set('newPositionQuantity', null);\n      this.set('newPositionLong', 'true');\n      this.set('newTicketNumber', null);\n    }\n    changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    changeDisplayMode(mode) {\n      return this.displayMode.update(mode);\n    }\n    async saveRecords() {\n      const list = this.checkedMonths;\n      const type = this.newPositionType;\n      const price = this.newPositionPrice;\n      const strike = this.newPositionStrike;\n      const quantity = this.newPositionQuantity;\n      const long = this.newPositionLong === 'true';\n      const instrument_id = this.newTicketNumber;\n      this.set('isCreatingPositions', true);\n      this.set('errorMessage', null);\n      if (list.length != 0) {\n        const savePromises = [];\n        list.forEach(el => {\n          const e = this.store.createRecord('manual-position', {\n            positionType: 'PHYSICAL',\n            type,\n            price,\n            strike,\n            quantity,\n            long,\n            instrument_id\n          });\n          e.set('month', el.get('month'));\n          e.set('product_id', 'DC');\n          e.set('user_id', this.model.currentUserId);\n          savePromises.push(e.save().catch(error => {\n            return Promise.reject(error);\n          }));\n        });\n        try {\n          await Promise.all(savePromises);\n          this.toggleProperty('showPositionsModal');\n          this.checkedMonths.forEach(m => {\n            m.set('checked', false);\n          });\n          this.clearNewPosition();\n        } catch (error) {\n          console.error('Error creating positions:', error);\n          this.set('errorMessage', 'There was an error. Positions not added.');\n        } finally {\n          this.set('isCreatingPositions', false);\n        }\n      } else {\n        this.set('isCreatingPositions', false);\n      }\n    }\n    toggleCreateModal() {\n      this.clearNewPosition();\n      this.set('errorMessage', null);\n      this.toggleProperty('showPositionsModal');\n    }\n    cancelPositionsModal() {\n      this.clearNewPosition();\n      this.set('errorMessage', null);\n      this.checkedMonths.forEach(m => {\n        m.set('checked', false);\n      });\n      this.toggleProperty('showPositionsModal');\n    }\n    updateAllSelectedMonths() {\n      if (this.checkedMonths.length > 0 && !this.partialMonthsSelected) {\n        this.checkedMonths.forEach(m => {\n          m.set('checked', false);\n        });\n      } else {\n        this.model.selectableMonths.forEach(m => {\n          m.set('checked', true);\n        });\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"period\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"displayMode\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"checkedMonths\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"partialMonthsSelected\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"partialMonthsSelected\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"allMonthsSelected\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"allMonthsSelected\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"changePeriod\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"changeDisplayMode\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"changeDisplayMode\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"saveRecords\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveRecords\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleCreateModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleCreateModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cancelPositionsModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"cancelPositionsModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"updateAllSelectedMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateAllSelectedMonths\"), _class2.prototype), _class2)) || _class);\n});\n","define(\"agropur-client/controllers/authenticated/dairy-contacts\", [\"exports\", \"@ember/object\", \"@ember/object/computed\", \"@ember/controller\", \"@ember/service\"], function (_exports, _object, _computed, _controller, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"@ember/controller\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairyContractsController = _exports.default = (_dec = (0, _object.computed)('model.{dairy,contacts.[]}', 'searchAttr', 'searchTerm'), _dec2 = (0, _object.computed)('sortProperties'), _dec3 = (0, _object.computed)('sortProperty', 'sortAscending'), _dec4 = (0, _computed.sort)('filteredDairyContacts', 'dairyContactSorting'), classic(_class = (_class2 = class DairyContractsController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _defineProperty(this, \"queryParams\", ['sortProperties', 'sortAscending', 'searchAttr', 'searchTerm']);\n      _defineProperty(this, \"searchAttr\", 'title');\n      _defineProperty(this, \"searchTerm\", '');\n      _defineProperty(this, \"sortProperties\", 'title');\n      _defineProperty(this, \"sortAscending\", true);\n      _initializerDefineProperty(this, \"sortedDairyContacts\", _descriptor2, this);\n    }\n    init() {\n      super.init(...arguments);\n      this.set('searchAttrs', ['title', 'name', 'phone', 'email']);\n    }\n    get filteredDairyContacts() {\n      const searchAttr = this.searchAttr;\n      const searchTerm = this.searchTerm;\n      return this.get('model.contacts').filter(function (contact) {\n        const testString = searchTerm.length > 0 ? this._getTestString(contact, searchAttr, searchTerm) : '';\n        return testString.toLowerCase().includes(searchTerm.toLowerCase());\n      }, this);\n    }\n    get sortProperty() {\n      return [this._getSortProperty(this.sortProperties)];\n    }\n    _getSortProperty(sortProperties) {\n      let property = '';\n      switch (sortProperties) {\n        case 'title':\n          property = 'title';\n          break;\n        case 'name':\n          property = 'fullName';\n          break;\n        case 'phone':\n          property = 'phone';\n          break;\n        case 'email':\n          property = 'email';\n          break;\n      }\n      return property || '';\n    }\n    _getTestString(contact, searchAttr) {\n      let testString = '';\n      switch (searchAttr) {\n        case 'title':\n          testString = contact.get('title');\n          break;\n        case 'name':\n          testString = contact.get('fullName');\n          break;\n        case 'phone':\n          testString = contact.get('phone');\n          break;\n        case 'email':\n          testString = contact.get('email');\n          break;\n      }\n      return testString || '';\n    }\n    get dairyContactSorting() {\n      let sortProperty = this.sortProperty;\n      sortProperty = typeof sortProperty === 'string' ? new Array(sortProperty) : sortProperty;\n      const sort = this.sortAscending ? sortProperty[0] : sortProperty[0].concat(':desc');\n      return new Array(sort);\n    }\n    toggleCreateModal(record) {\n      if (!this.showCreateModal) {\n        this.toggleProperty('showCreateModal');\n        if (record === 'new') {\n          const store = this.store;\n          record = store.createRecord('dairy-contact', {\n            title: '',\n            firstName: '',\n            lastName: '',\n            phone: '',\n            email: '',\n            primary: false,\n            miscellaneous: {\n              notes: ''\n            },\n            isAuthorizedTrader: false,\n            dairyId: this.get('model.dairy')\n          });\n        }\n        this.set('newContactModel', record);\n      }\n    }\n    saveContact(contact) {\n      contact.save().then(() => {\n        this.get('model.contacts').update();\n      });\n      this.toggleProperty('showCreateModal');\n    }\n    rollbackContact(contact) {\n      contact.rollbackAttributes();\n      this.toggleProperty('showCreateModal');\n    }\n    deleteContact(contact) {\n      contact.destroyRecord().then(() => {\n        this.get('model.contacts').update();\n      });\n    }\n    primaryClicked(contact) {\n      contact.toggleProperty('primary');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"filteredDairyContacts\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"filteredDairyContacts\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"sortProperty\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortProperty\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"dairyContactSorting\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"dairyContactSorting\"), _class2.prototype), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"sortedDairyContacts\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"toggleCreateModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleCreateModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"saveContact\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveContact\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"rollbackContact\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"rollbackContact\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"deleteContact\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"deleteContact\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"primaryClicked\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"primaryClicked\"), _class2.prototype), _class2)) || _class);\n});\n","define(\"agropur-client/controllers/authenticated/dairy-notes\", [\"exports\", \"@ember/controller\", \"@ember/object\"], function (_exports, _controller, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/controller\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairyNotesController = _exports.default = classic(_class = (_class2 = class DairyNotesController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"dairy\", null);\n    }\n    async onSaveNote(note) {\n      if (this.model.dairy) {\n        this.model.dairy.notes = note;\n        await this.model.dairy?.save();\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"onSaveNote\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"onSaveNote\"), _class2.prototype), _class2)) || _class;\n});\n","define(\"agropur-client/controllers/authenticated/dairy-settings\", [\"exports\", \"@ember/controller\", \"agropur-client/config/environment\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _environment, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DairySettings = _exports.default = (_class = class DairySettings extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"clickWrap\", _descriptor, this);\n    }\n    rollbackDairy(dairy) {\n      dairy.rollbackAttributes();\n    }\n    saveDairy(dairy) {\n      dairy.save();\n    }\n    showClickWrap() {\n      this.clickWrap.show();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"clickWrap\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"rollbackDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackDairy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveDairy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showClickWrap\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showClickWrap\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/dashboard\", [\"exports\", \"moment\", \"@ember/controller\", \"agropur-client/config/environment\", \"@ember/object\", \"@ember/service\"], function (_exports, _moment, _controller, _environment, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"moment\",0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Dashboard = _exports.default = (_class = class Dashboard extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"displayMode\", _descriptor, this);\n    }\n    get chartData() {\n      let months = this.model.months.filter(month => {\n        return _moment.default.utc(month.get('date')).isSameOrBefore((0, _moment.default)().add(12, 'months')) || month.get('agropurBasisPrice') !== 0;\n      });\n      let config = {\n        columns: [],\n        names: {}\n      };\n      config['columns'].push(['x'].concat(months.map(month => {\n        return _moment.default.utc(month.get('date')).format('YYYY-MM-DD');\n      })));\n      config['columns'].push(['data1'].concat(months.map(month => {\n        const price = month.get('classThreeMilkPrice');\n        if (this.get('model.displayMode') == 'cwt') {\n          return price ?? null;\n        }\n\n        // Two distinct missing-data cases, neither of which the product can\n        // represent. `classThreeMilkPrice` is undefined for a month with no\n        // historical price and no loaded instrument -- multiplying that gives\n        // NaN, which billboard does not bridge the way it bridges a null; the\n        // whole series path collapses to disconnected stubs. And `production`\n        // is checked raw because `totalProductionCwt` divides it by 100, so a\n        // null production arrives here as a plain 0 that is indistinguishable\n        // from a month that genuinely produced nothing. Both cases want the\n        // gap the `cwt` branch above already produces. See the rd-chart and\n        // month model tests for the two behaviors this relies on.\n        const production = month.get('production');\n        const cwt = month.get('totalProductionCwt');\n        return price == null || production == null || !Number.isFinite(cwt) ? null : price * cwt;\n      })));\n      config['names']['data1'] = 'Class III Milk Price';\n      return config;\n    }\n    async changeDisplayMode(mode) {\n      return this.displayMode.update(mode);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"displayMode\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"changeDisplayMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changeDisplayMode\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/forward-prices\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ForwardPrices = _exports.default = (_class = class ForwardPrices extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n      _initializerDefineProperty(this, \"displayMode\", _descriptor2, this);\n    }\n    async changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    async changeDisplayMode(mode) {\n      return this.displayMode.update(mode);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"displayMode\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeDisplayMode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changeDisplayMode\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/milk-physical-position-statement\", [\"exports\", \"@ember/controller\", \"agropur-client/config/environment\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _environment, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@ember/object\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MilkPhysicalPositionStatement = _exports.default = (_class = class MilkPhysicalPositionStatement extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n    }\n    get totalPL() {\n      return this.model.manualPositions.reduce((acc, p) => acc + p.plInDollars, 0);\n    }\n    async changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/milk-production\", [\"exports\", \"@ember/controller\", \"agropur-client/config/environment\", \"@ember/object\", \"@ember/service\", \"moment\"], function (_exports, _controller, _environment, _object, _service, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@ember/object\",0,\"@ember/service\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let MilkProduction = _exports.default = (_class = class MilkProduction extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n    }\n    toggleCreateModal() {\n      this.toggleProperty('showMilkPoundsModal');\n    }\n    async changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    async saveRecords() {\n      const milkPounds = this.newMilkPoundsPerDay;\n      this.model.months.forEach(month => {\n        month.production = milkPounds * _moment.default.utc(month.get('date')).daysInMonth();\n        month.save();\n      });\n      this.newMilkPoundsPerDay = null;\n      this.toggleProperty('showMilkPoundsModal');\n    }\n    cancelMilkPoundsModal() {\n      this.toggleProperty('showMilkPoundsModal');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"toggleCreateModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleCreateModal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"saveRecords\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveRecords\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cancelMilkPoundsModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelMilkPoundsModal\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-aggregate/class-iii-and-basis-pl\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@ember/controller\", \"moment\", \"jquery\", \"agropur-client/config/environment\", \"noty\", \"@glimmer/tracking\", \"tracked-built-ins\"], function (_exports, _object, _service, _controller, _moment, _jquery, _environment, _noty, _tracking, _trackedBuiltIns) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/controller\",0,\"moment\",0,\"jquery\",0,\"agropur-client/config/environment\",0,\"noty\",0,\"@glimmer/tracking\",0,\"tracked-built-ins\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ClassIiiAndBasisPlController = _exports.default = (_dec = (0, _service.inject)('session'), _class = class ClassIiiAndBasisPlController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"allDairiesExpanded\", _descriptor, this);\n      _defineProperty(this, \"selectedDairies\", new _trackedBuiltIns.TrackedArray([]));\n      _initializerDefineProperty(this, \"session\", _descriptor2, this);\n      _initializerDefineProperty(this, \"period\", _descriptor3, this);\n    }\n    get sortedDairies() {\n      return this.model.monthAggregateData.filteredDairies.slice().sort((a, b) => {\n        if (a.producerId > b.producerId) {\n          return 1;\n        }\n        if (a.producerId < b.producerId) {\n          return -1;\n        }\n        return 0;\n      }) ?? [];\n    }\n    downloadCSVFile(data, report, date) {\n      let csvContent = '';\n      data.rows.forEach(rowArray => {\n        const row = rowArray.join(',');\n        csvContent += `${row}\\r\\n`;\n      });\n      report = report.split(' ').join('_');\n      const filename = `${data.filename}_${report}_${(0, _moment.default)(date).format('MMYYYY')}.csv`;\n      var blob = new Blob([csvContent], {\n        type: 'text/csv;charset=utf-8'\n      });\n      var link = document.createElement('a');\n      var csvUrl = URL.createObjectURL(blob);\n      link.href = csvUrl;\n      link.style = 'visibility:hidden';\n      link.download = filename;\n      document.body.appendChild(link);\n      link.click();\n      document.body.removeChild(link);\n      return filename;\n    }\n    generateTradeFile(month, organization) {\n      const data = {\n        filename: null,\n        rows: []\n      };\n\n      // const header = [\n      // \t\"CompanyNumber\", // = 1\n      // \t\"DivisionNumber\",\n      // \t\"HaulerNumber\", // empty\n      // \t\"ProducerNumber\",\n      // \t\"PseudoSequenceNumber\", // = 0\n      // \t\"AssignCompSequenceNumber\", // = 0\n      // \t\"VendorCode\", // From Agropur\n      // \t\"AssignCompCode\", // From Agropur\n      // \t\"Zero\", // = 0\n      // \t\"ScheduleDollarAmount\", //\n      // \t\"AssignCompGrade\", // = *\n      // \t\"AssignCompDescription\",\n      // \t\"AssignCompPriority\", // = 10\n      // \t\"ZERO\", // = 0,\n      // \t\"Schedule\",// = MO\n      // \t\"SPLIT\", // = Y\n      // \t\"REVERSAL\",\n      // \t\"Pounds\",\n      // \t\"Volume\", // = 0, per Annette\n      // \t\"Contract Price\",\n      // \t\"Settlement Price\",\n      // \t\"Month\",\n      // \t\"Year\"\n      // ]\n\n      // data.rows.push(header);\n\n      let divisionId;\n      switch (organization.id) {\n        case '4':\n          // Wisconsin\n          divisionId = 1; // Set to 1, per Trevor Fleege.\n          break;\n        case '5':\n          // Jerome\n          divisionId = 40;\n          break;\n        case '6':\n          // Le Sueur\n          divisionId = 33;\n          break;\n        case '7':\n          // Lake Norden\n          divisionId = 50;\n          break;\n        case '8':\n          // Hull\n          divisionId = 3;\n          break;\n        default:\n          divisionId = 0;\n      }\n      month.dairies.forEach(d => {\n        const producerId = d.producerId;\n        if (d.basisPoundsHedged) {\n          const basisPositionRow = [1, divisionId, null, producerId, 0, 0, '40000', 'CNBAS', 0, Math.abs(d.basisHedgeAdjustment).toFixed(2), '*', `Basis Contract`, 10, 0, 'MO', 'Y', d.basisHedgeAdjustment <= 0 ? 'Y' : 'N', d.basisPoundsHedged, 0, d.averageBasisPrice, month.spotInstrument?.price, _moment.default.utc(month.date).format('MM'), _moment.default.utc(month.date).format('YYYY')];\n          data.rows.push(basisPositionRow);\n        }\n        if (d.classThreePoundsHedged) {\n          const classThreePositionRow = [1, divisionId, null, producerId, 0, 0, '40000', 'CNCL3', 0, Math.abs(d.classThreeHedgeAdjustment).toFixed(2), '*', `Class III Contract`, 10, 0, 'MO', 'Y', d.classThreeHedgeAdjustment <= 0 ? 'Y' : 'N', d.classThreePoundsHedged, 0, d.averageClassThreePrice, month.classThreePrice, _moment.default.utc(month.date).format('MM'), _moment.default.utc(month.date).format('YYYY')];\n          data.rows.push(classThreePositionRow);\n        }\n        data.filename = organization.name.split(' ').join('_');\n      });\n      return data;\n    }\n    changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    toggleDairy(dairy) {\n      dairy.expanded = !dairy.expanded;\n    }\n    expandAllDairies(dairies) {\n      this.allDairiesExpanded = true;\n      dairies.forEach(d => {\n        d.expanded = true;\n      });\n    }\n    collapseAllDairies(dairies) {\n      this.allDairiesExpanded = false;\n      dairies.forEach(d => {\n        d.expanded = false;\n      });\n    }\n    updateSelectedDairies(dairies) {\n      this.selectedDairies.splice(0, this.selectedDairies.length, ...dairies);\n      if (this.model.monthAggregateData?.selectedDairies) {\n        this.model.monthAggregateData.selectedDairies.splice(0, this.model.monthAggregateData.selectedDairies.length, ...dairies);\n      }\n    }\n    csvExport() {\n      const data = {\n        filename: null,\n        rows: []\n      };\n      const header = ['Producer Number', 'Producer', 'Month', 'Ticket Number', 'Product', 'Bought/Sold', 'Contracted(lbs)', 'Type', 'Strike', 'Trade Price', 'Settlement/Actual', 'Gain/Loss ($/cwt)', 'Class III Adjustment', 'Basis Adjustment'];\n      data.rows.push(header);\n      const month = this.model.monthAggregateData;\n      if (month) {\n        const date = _moment.default.utc(month.date).format('MMM YYYY');\n        month.dairies.forEach(d => {\n          const positions = d.trades;\n          if (positions.length > 0) {\n            // If you want to see every dairy with positions\n\n            const producerId = d.producerId;\n            const producer = d.name.replace(',', ' ');\n            let classThree = Number(d.classThreeHedgeAdjustment);\n            let basis = Number(d.basisHedgeAdjustment);\n            let netHedgeAdjustment = Number(d.basisHedgeAdjustment);\n            let poundsHedged = Number(d.totalPoundsHedged);\n            for (let i = 0; i < positions.length; i++) {\n              const p = positions[i];\n              const product = p.productId;\n              let productFormatted;\n              if (product === this.model.organization.basisGlobexSymbol || product === this.model.organization.spotGlobexSymbol) {\n                productFormatted = 'Agropur Basis';\n              } else {\n                productFormatted = 'Class III Milk';\n              }\n              netHedgeAdjustment = Number(p.hedgeAdjustment).toFixed(2);\n              classThree = product === this.model.organization.basisGlobexSymbol || product === this.model.organization.spotGlobexSymbol ? '' : Number(netHedgeAdjustment).toFixed(2);\n              basis = product === this.model.organization.basisGlobexSymbol || product === this.model.organization.spotGlobexSymbol ? Number(netHedgeAdjustment).toFixed(2) : '';\n              poundsHedged = Number(p.quantity);\n              const side = p.isLong ? 'Bought' : 'Sold';\n              const type = p.type;\n              const strike = type !== 'FORWARD' ? Number(p.strike).toFixed(2) : '';\n              const tradePrice = Number(p.price).toFixed(2);\n              const productPrice = Number(p.currentPrice).toFixed(2);\n              const hedgePL = Number(p.pl).toFixed(2);\n              const ticketNumber = p.instrumentId;\n              const positionRow = [producerId, producer, date, ticketNumber, productFormatted, side, poundsHedged, type, strike, tradePrice, productPrice, hedgePL, classThree, basis];\n              data.rows.push(positionRow);\n            }\n          }\n        });\n      }\n      data.filename = this.model.organization.name.split(' ').join('_');\n      return this.downloadCSVFile(data, 'Class III & Basis P/L', this.model.periodDate);\n    }\n    oneTimeExport() {\n      const month = this.model.monthAggregateData;\n      const organization = this.model.organization;\n      const data = this.generateTradeFile(month, organization);\n      return this.downloadCSVFile(data, 'Class III & Basis P/L', this.model.periodDate);\n    }\n    exportToFTP(month, organization) {\n      const data = this.generateTradeFile(month, organization);\n      const division = organization.division;\n      const date = _moment.default.utc(month.date);\n      const updatedAt = _moment.default.utc();\n      data.filename = `${updatedAt.format('YYYYMMDD_HHmmss')}_${division.split(' - ')[1].toUpperCase()}_${date.format('MMYYYY')}`;\n      let csvCon = '';\n      data.rows.forEach(rowArray => {\n        const row = rowArray.join(',');\n        csvCon += `${row}\\r\\n`;\n      });\n      const csvContent = new Blob([csvCon], {\n        type: 'multipart/form-data'\n      });\n      const n = new _noty.default({\n        text: 'Are you sure you want to export to DSI?',\n        layout: 'center',\n        animation: {\n          open: null,\n          close: null\n        },\n        modal: true,\n        force: true,\n        closeWith: ['button'],\n        timeout: false,\n        buttons: [_noty.default.button('Send', 'btn btn-danger btn-sm', () => {\n          const filename = `${division.split(' - ')[1].toUpperCase()}_${(0, _moment.default)(organization.displayMonth).utc().format('MMYYYY')}.csv`;\n          const formData = new FormData();\n          formData.append('upload', csvContent, filename);\n          return _jquery.default.ajax({\n            url: `${_environment.default.APP.HOST}/commercial_api/api/exports/agropur/dsi`,\n            type: 'POST',\n            headers: {\n              Authorization: `Bearer ${this.session.data.authenticated.access_token}`\n            },\n            context: this,\n            processData: false,\n            contentType: false,\n            data: formData\n          }).done(function () {\n            new _noty.default({\n              text: `${filename} has beed sucessfully exported`,\n              type: 'success'\n            }).show();\n            n.close();\n          }).fail(function (jqXHR, textStatus, errorThrown) {\n            if (jqXHR.status === 401) {\n              new _noty.default({\n                text: `${errorThrown}`,\n                type: 'error'\n              }).show();\n              n.close();\n            }\n          });\n        }), _noty.default.button('Cancel', 'btn btn-default btn-sm', () => {\n          n.close();\n        })]\n      }).show();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"allDairiesExpanded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleDairy\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"expandAllDairies\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"expandAllDairies\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"collapseAllDairies\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"collapseAllDairies\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateSelectedDairies\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedDairies\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"csvExport\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"csvExport\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"oneTimeExport\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"oneTimeExport\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"exportToFTP\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"exportToFTP\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-aggregate/percentage-hedged\", [\"exports\", \"@ember/object\", \"@ember/controller\", \"moment\", \"@ember/service\", \"tracked-built-ins\", \"@glimmer/tracking\"], function (_exports, _object, _controller, _moment, _service, _trackedBuiltIns, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/controller\",0,\"moment\",0,\"@ember/service\",0,\"tracked-built-ins\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let PercentageHedgedController = _exports.default = (_class = class PercentageHedgedController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n      _defineProperty(this, \"selectedDairies\", new _trackedBuiltIns.TrackedArray([]));\n      _initializerDefineProperty(this, \"allMonthsExpanded\", _descriptor2, this);\n    }\n    downloadCSVFile(data, report, date) {\n      let csvContent = '';\n      data.rows.forEach(rowArray => {\n        const row = rowArray.join(',');\n        csvContent += `${row}\\r\\n`;\n      });\n      report = report.split(' ').join('_');\n      const filename = `${data.filename}_${report}_${(0, _moment.default)(date).format('MMYYYY')}.csv`;\n      var blob = new Blob([csvContent], {\n        type: 'text/csv;charset=utf-8'\n      });\n      var link = document.createElement('a');\n      var csvUrl = URL.createObjectURL(blob);\n      link.href = csvUrl;\n      link.style = 'visibility:hidden';\n      link.download = filename;\n      document.body.appendChild(link);\n      link.click();\n      document.body.removeChild(link);\n      return filename;\n    }\n    changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    toggleMonth(month) {\n      month.expanded = !month.expanded;\n    }\n    updateSelectedDairies(dairies) {\n      this.selectedDairies.splice(0, this.selectedDairies.length, ...dairies);\n      this.model.sortedMonths.forEach(m => {\n        m.selectedDairies.splice(0, m.selectedDairies.length, ...dairies);\n      });\n    }\n    expandAllMonths(months) {\n      this.allMonthsExpanded = true;\n      months.forEach(m => {\n        m.expanded = true;\n      });\n    }\n    collapseAllMonths(months) {\n      this.allMonthsExpanded = false;\n      months.forEach(m => {\n        m.expanded = false;\n      });\n    }\n    csvExport() {\n      const data = {\n        filename: null,\n        rows: []\n      };\n      const header = ['Month', 'Producer Number', 'Producer', 'Base Volume', 'Actual Production', 'Class III Contracted(lbs)', 'Class III Contracted(%)', 'Basis Contracted(lbs)', 'Basis Contracted(%)'];\n      data.rows.push(header);\n      const month = this.model.sortedMonths[0];\n      month.dairies.forEach(d => {\n        const producerId = d.producerId;\n        const producer = d.name.replace(',', ' ');\n        const totalProduction = d.plannedProduction;\n        const actualProduction = d.actualProduction;\n        const totalClassThreeMilkPoundsHedged = d.classThreePoundsHedged;\n        const totalClassThreeMilkPercentageHedged = d.classThreePercentageHedged;\n        const totalAgropurBasisPoundsHedged = d.basisPoundsHedged;\n        const totalAgropurBasisPercentageHedged = d.basisPercentageHedged;\n        const date = _moment.default.utc(month.date).format('MMM YYYY');\n        const dairyRow = [date, producerId, producer, totalProduction.toFixed(0), actualProduction.toFixed(0), totalClassThreeMilkPoundsHedged.toFixed(0), totalClassThreeMilkPercentageHedged.toFixed(4), totalAgropurBasisPoundsHedged.toFixed(0), totalAgropurBasisPercentageHedged.toFixed(4)];\n        data.rows.push(dairyRow);\n      });\n      data.filename = this.model.organization.name.split(' ').join('_');\n      return this.downloadCSVFile(data, 'Percentage Hedged', this.model.periodDate);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"allMonthsExpanded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleMonth\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleMonth\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateSelectedDairies\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedDairies\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"expandAllMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"expandAllMonths\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"collapseAllMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"collapseAllMonths\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"csvExport\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"csvExport\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-aggregate/production-report\", [\"exports\", \"@ember/object\", \"@ember/controller\", \"moment\", \"@ember/service\", \"tracked-built-ins\", \"@glimmer/tracking\"], function (_exports, _object, _controller, _moment, _service, _trackedBuiltIns, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/controller\",0,\"moment\",0,\"@ember/service\",0,\"tracked-built-ins\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ProductionReportController = _exports.default = (_class = class ProductionReportController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n      _initializerDefineProperty(this, \"allMonthsExpanded\", _descriptor2, this);\n      _defineProperty(this, \"selectedDairies\", new _trackedBuiltIns.TrackedArray([]));\n    }\n    downloadCSVFile(data, report, date) {\n      let csvContent = '';\n      data.rows.forEach(rowArray => {\n        const row = rowArray.join(',');\n        csvContent += `${row}\\r\\n`;\n      });\n      report = report.split(' ').join('_');\n      const filename = `${data.filename}_${report}_${(0, _moment.default)(date).format('MMYYYY')}.csv`;\n      var blob = new Blob([csvContent], {\n        type: 'text/csv;charset=utf-8'\n      });\n      var link = document.createElement('a');\n      var csvUrl = URL.createObjectURL(blob);\n      link.href = csvUrl;\n      link.style = 'visibility:hidden';\n      link.download = filename;\n      document.body.appendChild(link);\n      link.click();\n      document.body.removeChild(link);\n      return filename;\n    }\n    changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    toggleMonth(month) {\n      month.expanded = !month.expanded;\n    }\n    updateSelectedDairies(dairies) {\n      this.selectedDairies.splice(0, this.selectedDairies.length, ...dairies);\n      this.model.sortedMonths.forEach(m => {\n        m.selectedDairies.splice(0, m.selectedDairies.length, ...dairies);\n      });\n    }\n    expandAllMonths(months) {\n      this.allMonthsExpanded = true;\n      months.forEach(m => {\n        m.expanded = true;\n      });\n    }\n    collapseAllMonths(months) {\n      this.allMonthsExpanded = false;\n      months.forEach(m => {\n        m.expanded = false;\n      });\n    }\n    csvExport() {\n      const data = {\n        filename: null,\n        rows: []\n      };\n      const header = ['Month', 'Producer Number', 'Producer', 'Base Volume', 'Actual Production', 'Difference(lbs)', 'Difference(%)'];\n      data.rows.push(header);\n      const month = this.model.sortedMonths[0];\n      month.dairies.forEach(d => {\n        const producerId = d.producerId;\n        const producer = d.name.replace(',', ' ');\n        const totalProduction = d.plannedProduction;\n        const actualProduction = d.actualProduction;\n        const productionDifference = d.productionDifference;\n        const productionPercentageDifference = d.productionPercentageDifference;\n        const date = _moment.default.utc(month.date).format('MMM YYYY');\n        const dairyRow = [date, producerId, producer, totalProduction.toFixed(0), actualProduction.toFixed(0), productionDifference.toFixed(0), productionPercentageDifference.toFixed(4)];\n        data.rows.push(dairyRow);\n      });\n      data.filename = this.model.organization.name.split(' ').join('_');\n      return this.downloadCSVFile(data, 'Production Report', this.model.periodDate);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"allMonthsExpanded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleMonth\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleMonth\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateSelectedDairies\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedDairies\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"expandAllMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"expandAllMonths\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"collapseAllMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"collapseAllMonths\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"csvExport\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"csvExport\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-aggregate/trade-log\", [\"exports\", \"@ember/object\", \"@ember/controller\", \"moment\", \"agropur-client/config/environment\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _object, _controller, _moment, _environment, _service, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/controller\",0,\"moment\",0,\"agropur-client/config/environment\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let TradeLogController = _exports.default = (_class = class TradeLogController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"showClassThreeTrades\", _descriptor, this);\n      _initializerDefineProperty(this, \"showBasisTrades\", _descriptor2, this);\n      _initializerDefineProperty(this, \"period\", _descriptor3, this);\n    }\n    get filteredTrades() {\n      return this.model.sortedTrades.filter(t => {\n        if (this.showClassThreeTrades && t.productId == 'DC') {\n          return true;\n        }\n        if (this.showBasisTrades && t.productId == this.model.organization.basisGlobexSymbol) {\n          return true;\n        }\n        return false;\n      });\n    }\n    downloadCSVFile(data, report, date) {\n      let csvContent = '';\n      data.rows.forEach(rowArray => {\n        const row = rowArray.join(',');\n        csvContent += `${row}\\r\\n`;\n      });\n      report = report.split(' ').join('_');\n      const filename = `${data.filename}_${report}_${(0, _moment.default)(date).format('MMYYYY')}.csv`;\n      var blob = new Blob([csvContent], {\n        type: 'text/csv;charset=utf-8'\n      });\n      var link = document.createElement('a');\n      var csvUrl = URL.createObjectURL(blob);\n      link.href = csvUrl;\n      link.style = 'visibility:hidden';\n      link.download = filename;\n      document.body.appendChild(link);\n      link.click();\n      document.body.removeChild(link);\n      return filename;\n    }\n    changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    toggleClassThreeTrades() {\n      this.showClassThreeTrades = !this.showClassThreeTrades;\n    }\n    toggleBasisTrades() {\n      this.showBasisTrades = !this.showBasisTrades;\n    }\n    csvExport() {\n      const data = {\n        filename: null,\n        rows: []\n      };\n      const header = ['Trade Date', 'Producer Number', 'Producer', 'User ID', 'Contract Month', 'Product', 'Bought/Sold', 'Contracted(lbs)', 'Type', 'Strike', 'Trade Price', 'Ticket ID', 'Broker'];\n      data.rows.push(header);\n      this.filteredTrades.forEach(t => {\n        const timestamp = _moment.default.utc(t.timestamp).format('MM/DD/YYYY');\n        const producerId = t.producerId;\n        const producer = t.producerName.replace(',', ' ');\n        const userId = t.userId;\n        const expiration = _moment.default.utc(t.expiration).format('MMM YYYY');\n        const productId = t.productId === 'DC' ? 'Class III Milk' : 'Agropur Basis';\n        const isLong = t.isLong ? 'Bought' : 'Sold';\n        const quantity = t.quantity;\n        const type = t.type === 'FORWARD' ? 'FORWARD' : t.type;\n        const strike = t.strike || '';\n        const price = t.price;\n        const ticketId = t.instrumentId;\n        const broker = t.broker;\n        const tradeRow = [timestamp, producerId, producer, userId, expiration, productId, isLong, quantity.toFixed(0), type, strike, price?.toFixed(2), ticketId, broker];\n        data.rows.push(tradeRow);\n      });\n      data.filename = this.model.organization.name.split(' ').join('_');\n      return this.downloadCSVFile(data, 'Trade Log', this.model.periodDate);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"showClassThreeTrades\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"showBasisTrades\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleClassThreeTrades\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleClassThreeTrades\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleBasisTrades\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleBasisTrades\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"csvExport\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"csvExport\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-aggregate/weighted-avg-basis-price\", [\"exports\", \"@ember/object\", \"@ember/controller\", \"moment\", \"@ember/service\", \"tracked-built-ins\", \"@glimmer/tracking\"], function (_exports, _object, _controller, _moment, _service, _trackedBuiltIns, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/controller\",0,\"moment\",0,\"@ember/service\",0,\"tracked-built-ins\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let WeightedAvgBasisPriceController = _exports.default = (_class = class WeightedAvgBasisPriceController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"period\", _descriptor, this);\n      _initializerDefineProperty(this, \"allMonthsExpanded\", _descriptor2, this);\n      _defineProperty(this, \"selectedDairies\", new _trackedBuiltIns.TrackedArray([]));\n    }\n    downloadCSVFile(data, report, date) {\n      let csvContent = '';\n      data.rows.forEach(rowArray => {\n        const row = rowArray.join(',');\n        csvContent += `${row}\\r\\n`;\n      });\n      report = report.split(' ').join('_');\n      const filename = `${data.filename}_${report}_${(0, _moment.default)(date).format('MMYYYY')}.csv`;\n      var blob = new Blob([csvContent], {\n        type: 'text/csv;charset=utf-8'\n      });\n      var link = document.createElement('a');\n      var csvUrl = URL.createObjectURL(blob);\n      link.href = csvUrl;\n      link.style = 'visibility:hidden';\n      link.download = filename;\n      document.body.appendChild(link);\n      link.click();\n      document.body.removeChild(link);\n      return filename;\n    }\n    changePeriod(num, value) {\n      return this.period.update(num, value);\n    }\n    toggleMonth(month) {\n      month.expanded = !month.expanded;\n    }\n    updateSelectedDairies(dairies) {\n      this.selectedDairies.splice(0, this.selectedDairies.length, ...dairies);\n      this.model.sortedMonths.forEach(m => {\n        m.selectedDairies.splice(0, m.selectedDairies.length, ...dairies);\n      });\n    }\n    expandAllMonths(months) {\n      this.allMonthsExpanded = true;\n      months.forEach(m => {\n        m.expanded = true;\n      });\n    }\n    collapseAllMonths(months) {\n      this.allMonthsExpanded = false;\n      months.forEach(m => {\n        m.expanded = false;\n      });\n    }\n    csvExport() {\n      const data = {\n        filename: null,\n        rows: []\n      };\n      const header = ['Month', 'Producer Number', 'Producer', 'Base Volume', 'Actual Production', 'Basis Contracted(lbs)', 'Basis Contracted(%)', 'Planned Weighted Average Price', 'Actual Weighted Average Price', 'Current Offer'];\n      data.rows.push(header);\n      const month = this.model.sortedMonths[0];\n      const date = _moment.default.utc(month.date).format('MMM YYYY');\n      const agropurBasisPrice = month.basisPrice?.toFixed(2);\n      month.dairies.forEach(d => {\n        const producerId = d.producerId;\n        const producer = d.name.replace(',', ' ');\n        const totalProduction = d.plannedProduction;\n        const totalAgropurBasisPoundsHedged = d.basisPoundsHedged;\n        const totalAgropurBasisPercentageHedged = d.basisPercentageHedged;\n        const totalAgropurBasisHedgePrice = d.weightedAvgPrice;\n        const actualWeightedAvgPrice = d.actualWeightedAvgPrice ? d.actualWeightedAvgPrice.toFixed(2) : d.actualWeightedAvgPrice;\n        const dairyRow = [date, producerId, producer, totalProduction.toFixed(0), d.actualProduction.toFixed(0), totalAgropurBasisPoundsHedged.toFixed(0), totalAgropurBasisPercentageHedged.toFixed(4), totalAgropurBasisHedgePrice.toFixed(2), actualWeightedAvgPrice, agropurBasisPrice];\n        data.rows.push(dairyRow);\n      });\n      data.filename = this.model.organization.name.split(' ').join('_');\n      return this.downloadCSVFile(data, 'Weighted Average Basis Price', this.model.periodDate);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"period\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"allMonthsExpanded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"changePeriod\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changePeriod\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleMonth\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleMonth\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateSelectedDairies\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateSelectedDairies\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"expandAllMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"expandAllMonths\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"collapseAllMonths\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"collapseAllMonths\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"csvExport\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"csvExport\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-dairies\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@ember/object/computed\", \"agropur-client/config/environment\", \"jquery\", \"@ember/controller\"], function (_exports, _object, _service, _computed, _environment, _jquery, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/object/computed\",0,\"agropur-client/config/environment\",0,\"jquery\",0,\"@ember/controller\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let OrganizationDairiesController = _exports.default = (_dec = (0, _computed.alias)('model.dairies'), _dec2 = (0, _object.computed)('sortProperties'), _dec3 = (0, _object.computed)('sortProperties'), _dec4 = (0, _object.computed)('sortProperty', 'sortAscending'), _dec5 = (0, _computed.sort)('filteredDairies', 'dairySorting'), _dec6 = (0, _object.computed)('dairies.[]', 'searchAttr', 'searchTerm', 'application.dairy'), classic(_class = (_class2 = class OrganizationDairiesController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"session\", _descriptor2, this);\n      _initializerDefineProperty(this, \"currentDairy\", _descriptor3, this);\n      _initializerDefineProperty(this, \"notification\", _descriptor4, this);\n      _initializerDefineProperty(this, \"dairies\", _descriptor5, this);\n      _defineProperty(this, \"searchAttr\", 'name');\n      _defineProperty(this, \"searchTerm\", '');\n      _defineProperty(this, \"queryParams\", ['sortProperties', 'sortAscending', 'searchAttr', 'searchTerm']);\n      _defineProperty(this, \"sortProperties\", 'name');\n      _defineProperty(this, \"sortAscending\", true);\n      _initializerDefineProperty(this, \"sortedDairies\", _descriptor6, this);\n    }\n    init() {\n      super.init(...arguments);\n      this.set('searchAttrs', ['name', 'producer', 'contact', 'location']);\n    }\n    get sortProperty() {\n      return [this._getSortProperty(this.sortProperties)];\n    }\n    get sortName() {\n      switch (this.sortProperties) {\n        case 'name':\n          return 'Name';\n        case 'organization':\n          return 'Organization';\n        case 'producerId':\n          return 'Producer ID';\n        case 'primary':\n          return 'Primary Contact';\n        case 'location':\n          return 'Location';\n        default:\n          return '';\n      }\n    }\n    _getSortProperty(sortProperties) {\n      let property = '';\n      switch (sortProperties) {\n        case 'name':\n          property = 'name';\n          break;\n        case 'producerId':\n          property = 'producerId';\n          break;\n        case 'primary':\n          property = 'primaryContact.fullName';\n          break;\n        case 'location':\n          property = 'cityState';\n          break;\n      }\n      return property || '';\n    }\n    get dairySorting() {\n      let sortProperty = this.sortProperty;\n      sortProperty = typeof sortProperty === 'string' ? new Array(sortProperty) : sortProperty;\n      const sort = this.sortAscending ? sortProperty[0] : sortProperty[0].concat(':desc');\n      return new Array(sort);\n    }\n    _getTestString(dairy, searchAttr) {\n      let testString = '';\n      switch (searchAttr) {\n        case 'name':\n          testString = dairy.get('name');\n          break;\n        case 'producer':\n          testString = dairy.get('config.producerId');\n          break;\n        case 'contact':\n          testString = dairy.get('primaryContact.fullName');\n          break;\n        case 'location':\n          testString = dairy.get('cityState');\n          break;\n      }\n      return testString || '';\n    }\n    get filteredDairies() {\n      const searchAttr = this.searchAttr;\n      const searchTerm = this.searchTerm;\n      return this.dairies.filter(function (dairy) {\n        const testString = searchTerm.length > 0 ? this._getTestString(dairy, searchAttr, searchTerm) : '';\n        return testString.toLowerCase().includes(searchTerm.toLowerCase());\n      }, this);\n    }\n    _addDairy(newDairyModel) {\n      let {\n        access_token\n      } = this.get('session.data.authenticated');\n      const members = this.newDairyModelMembers.map(({\n        id\n      }) => id);\n      const data = {\n        organizationId: this.get('model.organization.id'),\n        dairy: newDairyModel.serialize(),\n        members\n      };\n      return _jquery.default.ajax({\n        type: 'POST',\n        url: `${_environment.default.APP.HOST}/commercial_api/api/dairies`,\n        contentType: 'application/json',\n        context: this,\n        processData: false,\n        headers: {\n          Authorization: `Bearer ${access_token}`\n        },\n        data: JSON.stringify(data)\n      }).catch(() => {\n        return;\n      }).then(() => {\n        this.send('refreshModel');\n      });\n    }\n    toggleCreateModal() {\n      if (!this.showCreateModal) {\n        this.toggleProperty('showCreateModal');\n        this.set('newDairyModel', this.store.createRecord('dairy'));\n        this.set('newDairyModelMembers', []);\n      } else {\n        this.toggleProperty('showCreateModal');\n        this.newDairyModel.deleteRecord();\n        this.set('newDairyModelMembers', []);\n      }\n    }\n    saveDairy(dairy) {\n      this._addDairy(dairy);\n      this.toggleProperty('showCreateModal');\n    }\n    rollbackDairy(dairy) {\n      this.toggleProperty('showCreateModal');\n      dairy.deleteRecord();\n    }\n    deleteDairy(dairy) {\n      const label = dairy.get('name');\n      const shouldCallSetup = dairy === this.get('application.dairy');\n      dairy.destroyRecord();\n      this.notification.success(`${label} has been deleted`);\n      if (shouldCallSetup) {\n        window.location.reload();\n      }\n    }\n    addUserDairyConfig(type, users) {\n      this.set(`newDairyModel${type}s`, users);\n    }\n    setCurrentDairy(dairy) {\n      this.currentDairy.set(dairy);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"currentDairy\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"notification\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"dairies\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"sortProperty\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortProperty\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"sortName\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"dairySorting\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"dairySorting\"), _class2.prototype), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"sortedDairies\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"filteredDairies\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"filteredDairies\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleCreateModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleCreateModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"saveDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveDairy\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"rollbackDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"rollbackDairy\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"deleteDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"deleteDairy\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"addUserDairyConfig\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"addUserDairyConfig\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setCurrentDairy\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setCurrentDairy\"), _class2.prototype), _class2)) || _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-members/index\", [\"exports\", \"@ember/object\", \"@ember/object/computed\", \"@ember/controller\", \"@ember/service\", \"@ember/utils\"], function (_exports, _object, _computed, _controller, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"@ember/controller\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexController = _exports.default = (_dec = (0, _computed.alias)('model.userOrganizationConfigs'), _dec2 = (0, _object.computed)('userOrganizationConfigs.[]', 'searchAttr', 'searchTerm', 'application.userOrganizationConfig'), _dec3 = (0, _object.computed)('sortProperties'), _dec4 = (0, _object.computed)('sortProperty', 'sortAscending'), _dec5 = (0, _computed.sort)('filteredUserOrganizationConfigs', 'userOrganizationConfigSorting'), _dec6 = (0, _object.computed)('model.{dairies.[],organization.id}', 'organization_id'), classic(_class = (_class2 = class IndexController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _defineProperty(this, \"newModel\", null);\n      _initializerDefineProperty(this, \"userOrganizationConfigs\", _descriptor2, this);\n      _defineProperty(this, \"queryParams\", ['sortProperties', 'sortAscending', 'searchAttr', 'searchTerm']);\n      _defineProperty(this, \"organizationPermissions\", null);\n      _defineProperty(this, \"filter\", 'all');\n      _defineProperty(this, \"searchAttr\", 'name');\n      _defineProperty(this, \"searchTerm\", '');\n      _defineProperty(this, \"sortProperties\", 'name');\n      _defineProperty(this, \"sortAscending\", true);\n      _initializerDefineProperty(this, \"sortedUserOrganizationConfigs\", _descriptor3, this);\n    }\n    init() {\n      super.init(...arguments);\n      this.set('permissions', ['DAIRY_READ', 'DAIRY_WRITE']);\n      this.set('searchAttrs', ['name', 'phone', 'email']);\n      this.set('organizationPermissions', [{\n        label: 'Admin',\n        code: 300\n      }, {\n        label: 'Member',\n        code: 302\n      }]);\n    }\n    _getTestString(userOrganizationConfig, searchAttr) {\n      let testString = '';\n      switch (searchAttr) {\n        case 'name':\n          testString = userOrganizationConfig.get('userId.fullName');\n          break;\n        case 'phone':\n          testString = userOrganizationConfig.get('userId.phone');\n          break;\n        case 'email':\n          testString = userOrganizationConfig.get('userId.email');\n          break;\n      }\n      return testString || '';\n    }\n    get filteredUserOrganizationConfigs() {\n      const searchAttr = this.searchAttr;\n      const searchTerm = this.searchTerm;\n      return this.userOrganizationConfigs.filter(function (userOrganizationConfig) {\n        const testString = searchTerm.length > 0 ? this._getTestString(userOrganizationConfig, searchAttr, searchTerm) : '';\n        return testString.toLowerCase().includes(searchTerm.toLowerCase());\n      }, this);\n    }\n    get sortProperty() {\n      return [this._getSortProperty(this.sortProperties)];\n    }\n    _getSortProperty(sortProperties) {\n      let property = '';\n      switch (sortProperties) {\n        case 'name':\n          property = 'userId.content.fullName';\n          break;\n        case 'phone':\n          property = 'userId.content.phone';\n          break;\n        case 'email':\n          property = 'userId.content.email';\n          break;\n      }\n      return property || '';\n    }\n    get userOrganizationConfigSorting() {\n      let sortProperty = this.sortProperty;\n      sortProperty = typeof sortProperty === 'string' ? new Array(sortProperty) : sortProperty;\n      const sort = this.sortAscending ? sortProperty[0] : sortProperty[0].concat(':desc');\n      return new Array(sort);\n    }\n    get organizationDairies() {\n      return this.model.dairies.filter(d => {\n        return d.belongsTo('organizationId').id() == this.model.organization.id;\n      }).slice().sort((a, b) => (0, _utils.compare)(a.name, b.name));\n    }\n    _getDairyFromIndex(index) {\n      return this.dairyService.availableDairies[index];\n    }\n    openAddMemberModal(organization) {\n      this.toggleProperty('showCreateModal');\n      const member = this.store.createRecord('user-organization-config', {\n        userId: null,\n        organizationId: organization,\n        defaultDairyId: null,\n        miscellaneous: {\n          addOrganizationPermissions: {\n            label: 'Member',\n            code: 302\n          },\n          addDairyPermissions: []\n        },\n        permissions: []\n      });\n      this.set('memberAdditionModel', member);\n    }\n    addMember(member) {\n      const dairiesToAdd = member.get('miscellaneous.addDairyPermissions').map(({\n        id\n      }) => id);\n      member.set('miscellaneous.dairiesToAdd', dairiesToAdd);\n      if (member.get('miscellaneous.addOrganizationPermissions.label') === 'Admin') {\n        member.set('permissions', [300, 302]);\n      } else {\n        member.set('permissions', [302]);\n      }\n      member.save().then(() => {\n        this.model.userOrganizationConfigs.update();\n      });\n      this.toggleProperty('showCreateModal');\n    }\n    rollback(member) {\n      member.rollbackAttributes();\n      this.toggleProperty('showCreateModal');\n    }\n    deleteMember(member) {\n      member.destroyRecord();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"userOrganizationConfigs\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"filteredUserOrganizationConfigs\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"filteredUserOrganizationConfigs\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"sortProperty\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortProperty\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"userOrganizationConfigSorting\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"userOrganizationConfigSorting\"), _class2.prototype), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"sortedUserOrganizationConfigs\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"organizationDairies\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"organizationDairies\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"openAddMemberModal\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"openAddMemberModal\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"addMember\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"addMember\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"rollback\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"rollback\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"deleteMember\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"deleteMember\"), _class2.prototype), _class2)) || _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization-members/member\", [\"exports\", \"@ember/object\", \"@ember/controller\"], function (_exports, _object, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/controller\"eaimeta@70e063a35619d71f\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MemberController = _exports.default = classic(_class = (_class2 = class MemberController extends _controller.default {\n    deleteMembership(member) {\n      member.destroyRecord();\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"deleteMembership\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"deleteMembership\"), _class2.prototype), _class2)) || _class;\n});\n","define(\"agropur-client/controllers/authenticated/organization-settings\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"@ember/object\"], function (_exports, _controller, _service, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@ember/service\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let OrganizationSettings = _exports.default = (_class = class OrganizationSettings extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"forwardContractingInfoModal\", _descriptor2, this);\n    }\n    async saveOrganization(organization) {\n      organization.save();\n    }\n    async rollbackOrganization(organization) {\n      organization.rollbackAttributes();\n    }\n    toggleForwardContractingInfoModal() {\n      this.forwardContractingInfoModal.toggle();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"forwardContractingInfoModal\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"saveOrganization\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"saveOrganization\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"rollbackOrganization\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"rollbackOrganization\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleForwardContractingInfoModal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleForwardContractingInfoModal\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/authenticated/organization\", [\"exports\", \"@ember/controller\", \"@glimmer/tracking\"], function (_exports, _controller, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Organization = _exports.default = (_class = class Organization extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"organization\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organization\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _class);\n});\n","define(\"agropur-client/controllers/login\", [\"exports\", \"@ember/object\", \"@ember/controller\", \"agropur-client/config/environment\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _object, _controller, _environment, _service, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let LoginController = _exports.default = (_class = class LoginController extends _controller.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ENV\", _environment.default);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _defineProperty(this, \"brandLogoUrl\", _environment.default.BRAND.logoPath);\n      _defineProperty(this, \"brandLogoText\", _environment.default.BRAND.logoAltText);\n      _initializerDefineProperty(this, \"errorMessage\", _descriptor2, this);\n      _initializerDefineProperty(this, \"isAuthenticating\", _descriptor3, this);\n      _initializerDefineProperty(this, \"isRedirecting\", _descriptor4, this);\n      _defineProperty(this, \"identification\", null);\n      _defineProperty(this, \"password\", null);\n      _defineProperty(this, \"pendingAuth\", null);\n    }\n    get isBusy() {\n      return this.isAuthenticating || this.isRedirecting;\n    }\n    resetState() {\n      // Orphan any in-flight authenticate() call so its late callbacks\n      // don't mutate state after the user has left the login route.\n      this.pendingAuth = null;\n      this.errorMessage = null;\n      this.isAuthenticating = false;\n      this.isRedirecting = false;\n    }\n    errorMessageFor(err) {\n      // err is the fetch Response from authenticators/oauth2, with the parsed\n      // body attached as responseJSON; statusText is unreliable (empty on HTTP/2).\n      const status = err?.status;\n      const oauthError = err?.responseJSON?.error;\n      if (status === 400 || status === 401 || oauthError === 'invalid_grant') {\n        return 'Invalid email or password. Please try again.';\n      }\n      return err?.responseJSON?.error_description || 'Unable to sign in right now. Please try again in a moment.';\n    }\n    authenticate(event) {\n      event.preventDefault();\n      event.stopPropagation();\n      if (this.isBusy) {\n        return;\n      }\n      const identification = (this.identification ?? '').trim();\n      const password = (this.password ?? '').trim();\n      if (!identification || !password) {\n        this.errorMessage = 'Please enter your email and password.';\n        return;\n      }\n      this.errorMessage = null;\n      this.isAuthenticating = true;\n      const attempt = this.session.authenticate('authenticator:oauth2', identification, password, null, {\n        Authorization: _environment.default.APP.CLIENT_OAUTH\n      });\n      this.pendingAuth = attempt;\n      attempt.then(() => {\n        if (this.pendingAuth !== attempt) {\n          return;\n        }\n        // The session is established, but ember-simple-auth is still\n        // transitioning into the app, which can take several seconds\n        // while initial data loads. Keep the form locked until then.\n        this.isAuthenticating = false;\n        this.isRedirecting = true;\n      }).catch(err => {\n        if (this.pendingAuth !== attempt) {\n          return;\n        }\n        this.isAuthenticating = false;\n        this.errorMessage = this.errorMessageFor(err);\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isAuthenticating\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"isRedirecting\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"authenticate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"authenticate\"), _class.prototype), _class);\n});\n","define(\"agropur-client/controllers/password-reset\", [\"exports\", \"@ember/controller\", \"agropur-client/config/environment\", \"@glimmer/tracking\", \"@ember/object\"], function (_exports, _controller, _environment, _tracking, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/controller\",0,\"agropur-client/config/environment\",0,\"@glimmer/tracking\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let PasswordResetController = _exports.default = (_class = class PasswordResetController extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"brandLogoUrl\", void 0);\n      _defineProperty(this, \"brandLogoText\", void 0);\n      _defineProperty(this, \"programName\", void 0);\n      _initializerDefineProperty(this, \"emailAddress\", _descriptor, this);\n      _initializerDefineProperty(this, \"submitted\", _descriptor2, this);\n      this.brandLogoText = _environment.default.BRAND.logoAltText;\n      this.brandLogoUrl = _environment.default.BRAND.logoPath;\n      this.programName = _environment.default.BRAND.programName;\n    }\n    async submitPasswordResetRequest(event) {\n      event.preventDefault();\n      event.stopPropagation();\n      const redirectURI = `${window.location.origin}/callback`;\n      const body = {\n        email: this.emailAddress,\n        redirect_uri: redirectURI\n      };\n      const url = `${_environment.default.APP.HOST}/oauth/reset_password`;\n      await fetch(url, {\n        method: 'POST',\n        cache: 'no-cache',\n        // *default, no-cache, reload, force-cache, only-if-cached\n        credentials: 'same-origin',\n        // include, *same-origin, omit\n        headers: {\n          'Content-Type': 'application/json'\n        },\n        body: JSON.stringify(body)\n      });\n      this.submitted = true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"emailAddress\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"submitted\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"submitPasswordResetRequest\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitPasswordResetRequest\"), _class.prototype), _class);\n});\n","define(\"agropur-client/data-adapter\", [\"exports\", \"@ember-data/debug/data-adapter\"], function (_exports, _dataAdapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _dataAdapter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/debug/data-adapter\"eaimeta@70e063a35619d71f\n});\n","import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow';\n\n/**\n * Docs: https://github.com/ember-cli/ember-cli-deprecation-workflow\n *\n * To populate this list, run the app (or the test suite) for a while, then run\n * `deprecationWorkflow.flushDeprecations()` in the browser console and copy the\n * generated handlers here.\n */\nsetupDeprecationWorkflow({\n\t// Set to true to be aggressive and throw on any unhandled deprecation.\n\tthrowOnUnhandled: false,\n\tworkflow: [],\n});\n","import { library, config } from '@fortawesome/fontawesome-svg-core';\nimport * as freeSolidSvgIcons from '@fortawesome/free-solid-svg-icons';\nimport '@fortawesome/fontawesome-svg-core/styles.css'; // This adds the basic icon styles into your app\n\n// Disable auto CSS import into head. It solved the side effect for jumping icon size.\n// This is required for Fastboot apps, otherwise build fails\n// It's the recommended way for setup Font Awesome in your app\nconfig.autoAddCss = false;\n\nlibrary.add(freeSolidSvgIcons['fas']); // import all icons of fas\n","define(\"agropur-client/graphql/queries/most-current-futures\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  const doc = {\n    \"kind\": \"Document\",\n    \"definitions\": [{\n      \"kind\": \"OperationDefinition\",\n      \"operation\": \"query\",\n      \"variableDefinitions\": [],\n      \"directives\": [],\n      \"selectionSet\": {\n        \"kind\": \"SelectionSet\",\n        \"selections\": [{\n          \"kind\": \"Field\",\n          \"name\": {\n            \"kind\": \"Name\",\n            \"value\": \"Products\"\n          },\n          \"arguments\": [],\n          \"directives\": [],\n          \"selectionSet\": {\n            \"kind\": \"SelectionSet\",\n            \"selections\": [{\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"id\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"name\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"mostCurrentFuture\"\n              },\n              \"arguments\": [],\n              \"directives\": [],\n              \"selectionSet\": {\n                \"kind\": \"SelectionSet\",\n                \"selections\": [{\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"id\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"name\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"velaInstrumentId\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"barchartSymbol\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"expiresAt\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"displayExpiresAt\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"exchangeSymbol\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"productType\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"instrumentType\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }]\n              }\n            }]\n          }\n        }]\n      }\n    }],\n    \"loc\": {\n      \"start\": 0,\n      \"end\": 199\n    }\n  };\n  var _default = _exports.default = doc;\n});\n","define(\"agropur-client/graphql/queries/product-groups\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  const doc = {\n    \"kind\": \"Document\",\n    \"definitions\": [{\n      \"kind\": \"OperationDefinition\",\n      \"operation\": \"query\",\n      \"variableDefinitions\": [],\n      \"directives\": [],\n      \"selectionSet\": {\n        \"kind\": \"SelectionSet\",\n        \"selections\": [{\n          \"kind\": \"Field\",\n          \"name\": {\n            \"kind\": \"Name\",\n            \"value\": \"ProductGroups\"\n          },\n          \"arguments\": [],\n          \"directives\": [],\n          \"selectionSet\": {\n            \"kind\": \"SelectionSet\",\n            \"selections\": [{\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"id\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"description\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"Products\"\n              },\n              \"arguments\": [],\n              \"directives\": [],\n              \"selectionSet\": {\n                \"kind\": \"SelectionSet\",\n                \"selections\": [{\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"id\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"name\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"slug\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"alias\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"venue\"\n                  },\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"venueName\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"currentFutures\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": [],\n                  \"selectionSet\": {\n                    \"kind\": \"SelectionSet\",\n                    \"selections\": [{\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"id\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"name\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"velaInstrumentId\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"barchartSymbol\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"expiresAt\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"displayExpiresAt\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"exchangeSymbol\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"productType\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"instrumentType\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }]\n                  }\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"mostCurrentFuture\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": [],\n                  \"selectionSet\": {\n                    \"kind\": \"SelectionSet\",\n                    \"selections\": [{\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"id\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"name\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"velaInstrumentId\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"barchartSymbol\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"expiresAt\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"displayExpiresAt\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"exchangeSymbol\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"productType\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }, {\n                      \"kind\": \"Field\",\n                      \"name\": {\n                        \"kind\": \"Name\",\n                        \"value\": \"instrumentType\"\n                      },\n                      \"arguments\": [],\n                      \"directives\": []\n                    }]\n                  }\n                }]\n              }\n            }]\n          }\n        }]\n      }\n    }],\n    \"loc\": {\n      \"start\": 0,\n      \"end\": 451\n    }\n  };\n  var _default = _exports.default = doc;\n});\n","define(\"agropur-client/graphql/queries/products\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  const doc = {\n    \"kind\": \"Document\",\n    \"definitions\": [{\n      \"kind\": \"OperationDefinition\",\n      \"operation\": \"query\",\n      \"variableDefinitions\": [],\n      \"directives\": [],\n      \"selectionSet\": {\n        \"kind\": \"SelectionSet\",\n        \"selections\": [{\n          \"kind\": \"Field\",\n          \"name\": {\n            \"kind\": \"Name\",\n            \"value\": \"Products\"\n          },\n          \"arguments\": [],\n          \"directives\": [],\n          \"selectionSet\": {\n            \"kind\": \"SelectionSet\",\n            \"selections\": [{\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"id\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"name\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"slug\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"alias\": {\n                \"kind\": \"Name\",\n                \"value\": \"venue\"\n              },\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"venueName\"\n              },\n              \"arguments\": [],\n              \"directives\": []\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"ProductGroup\"\n              },\n              \"arguments\": [],\n              \"directives\": [],\n              \"selectionSet\": {\n                \"kind\": \"SelectionSet\",\n                \"selections\": [{\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"id\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"description\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }]\n              }\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"currentFutures\"\n              },\n              \"arguments\": [],\n              \"directives\": [],\n              \"selectionSet\": {\n                \"kind\": \"SelectionSet\",\n                \"selections\": [{\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"id\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"name\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"velaInstrumentId\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"barchartSymbol\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"expiresAt\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"displayExpiresAt\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"exchangeSymbol\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"productType\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"instrumentType\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }]\n              }\n            }, {\n              \"kind\": \"Field\",\n              \"name\": {\n                \"kind\": \"Name\",\n                \"value\": \"mostCurrentFuture\"\n              },\n              \"arguments\": [],\n              \"directives\": [],\n              \"selectionSet\": {\n                \"kind\": \"SelectionSet\",\n                \"selections\": [{\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"id\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"name\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"velaInstrumentId\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"barchartSymbol\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"expiresAt\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"displayExpiresAt\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"exchangeSymbol\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"productType\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }, {\n                  \"kind\": \"Field\",\n                  \"name\": {\n                    \"kind\": \"Name\",\n                    \"value\": \"instrumentType\"\n                  },\n                  \"arguments\": [],\n                  \"directives\": []\n                }]\n              }\n            }]\n          }\n        }]\n      }\n    }],\n    \"loc\": {\n      \"start\": 0,\n      \"end\": 426\n    }\n  };\n  var _default = _exports.default = doc;\n});\n","define(\"agropur-client/helpers/-base\", [\"exports\", \"ember-moment/helpers/-base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _base.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/-base\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/and\", [\"exports\", \"ember-truth-helpers/helpers/and\"], function (_exports, _and) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _and.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/and\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/assign\", [\"exports\", \"ember-assign-helper/helpers/assign\"], function (_exports, _assign) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _assign.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-assign-helper/helpers/assign\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/cancel-all\", [\"exports\", \"ember-concurrency/helpers/cancel-all\"], function (_exports, _cancelAll) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _cancelAll.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-concurrency/helpers/cancel-all\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/element\", [\"exports\", \"ember-element-helper/helpers/element\"], function (_exports, _element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _element.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-element-helper/helpers/element\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/ember-power-select-is-equal\", [\"exports\", \"ember-power-select/helpers/ember-power-select-is-equal\"], function (_exports, _emberPowerSelectIsEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _emberPowerSelectIsEqual.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/helpers/ember-power-select-is-equal\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/ember-power-select-is-group\", [\"exports\", \"ember-power-select/helpers/ember-power-select-is-group\"], function (_exports, _emberPowerSelectIsGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _emberPowerSelectIsGroup.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/helpers/ember-power-select-is-group\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/ember-power-select-is-selected-present\", [\"exports\", \"ember-power-select/helpers/ember-power-select-is-selected-present\"], function (_exports, _emberPowerSelectIsSelectedPresent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _emberPowerSelectIsSelectedPresent.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-power-select/helpers/ember-power-select-is-selected-present\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/ensure-safe-component\", [\"exports\", \"@embroider/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _util.EnsureSafeComponentHelper;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@embroider/util\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/eq\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.eq = eq;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  function eq(params) {\n    return params[0] === params[1];\n  }\n  var _default = _exports.default = (0, _helper.helper)(eq);\n});\n","define(\"agropur-client/helpers/format-month\", [\"exports\", \"moment\", \"@ember/utils\", \"@ember/component/helper\"], function (_exports, _moment, _utils, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.formatMonth = formatMonth;\n  0; //eaimeta@70e063a35619d71f0,\"moment\",0,\"@ember/utils\",0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  function formatMonth(param) {\n    const [month] = param;\n    if ((0, _utils.isPresent)(month)) {\n      return _moment.default.utc(month).format('MMM YYYY');\n    }\n    return 'N/A';\n  }\n  var _default = _exports.default = (0, _helper.helper)(formatMonth);\n});\n","define(\"agropur-client/helpers/format-number\", [\"exports\", \"@ember/component/helper\", \"@ember/utils\", \"numeral\"], function (_exports, _helper, _utils, _numeral) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.formatNumber = formatNumber;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/utils\",0,\"numeral\"eaimeta@70e063a35619d71f\n  function formatNumber(params) {\n    const [value, format] = params;\n    if ((0, _utils.isPresent)(value) && (0, _utils.isPresent)(format)) {\n      return (0, _numeral.default)(value).format(format);\n    }\n    return value;\n  }\n  var _default = _exports.default = (0, _helper.helper)(formatNumber);\n});\n","define(\"agropur-client/helpers/gt\", [\"exports\", \"ember-truth-helpers/helpers/gt\"], function (_exports, _gt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _gt.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/gt\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/gte\", [\"exports\", \"ember-truth-helpers/helpers/gte\"], function (_exports, _gte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _gte.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/gte\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-after\", [\"exports\", \"ember-moment/helpers/is-after\"], function (_exports, _isAfter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isAfter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-after\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-array\", [\"exports\", \"ember-truth-helpers/helpers/is-array\"], function (_exports, _isArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isArray.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-array\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-before\", [\"exports\", \"ember-moment/helpers/is-before\"], function (_exports, _isBefore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isBefore.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-before\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-between\", [\"exports\", \"ember-moment/helpers/is-between\"], function (_exports, _isBetween) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isBetween.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-between\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-empty\", [\"exports\", \"ember-truth-helpers/helpers/is-empty\"], function (_exports, _isEmpty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isEmpty.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-empty\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-equal\", [\"exports\", \"ember-truth-helpers/helpers/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isEqual.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/is-equal\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-same-or-after\", [\"exports\", \"ember-moment/helpers/is-same-or-after\"], function (_exports, _isSameOrAfter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isSameOrAfter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same-or-after\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-same-or-before\", [\"exports\", \"ember-moment/helpers/is-same-or-before\"], function (_exports, _isSameOrBefore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isSameOrBefore.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same-or-before\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/is-same\", [\"exports\", \"ember-moment/helpers/is-same\"], function (_exports, _isSame) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _isSame.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/is-same\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/lt\", [\"exports\", \"ember-truth-helpers/helpers/lt\"], function (_exports, _lt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _lt.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/lt\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/lte\", [\"exports\", \"ember-truth-helpers/helpers/lte\"], function (_exports, _lte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _lte.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/lte\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-add\", [\"exports\", \"ember-moment/helpers/moment-add\"], function (_exports, _momentAdd) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentAdd.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-add\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-calendar\", [\"exports\", \"ember-moment/helpers/moment-calendar\"], function (_exports, _momentCalendar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentCalendar.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-calendar\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-diff\", [\"exports\", \"ember-moment/helpers/moment-diff\"], function (_exports, _momentDiff) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentDiff.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-diff\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-duration\", [\"exports\", \"ember-moment/helpers/moment-duration\"], function (_exports, _momentDuration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentDuration.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-duration\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-format\", [\"exports\", \"ember-moment/helpers/moment-format\"], function (_exports, _momentFormat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentFormat.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-format\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-from-now\", [\"exports\", \"ember-moment/helpers/moment-from-now\"], function (_exports, _momentFromNow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentFromNow.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-from-now\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-from\", [\"exports\", \"ember-moment/helpers/moment-from\"], function (_exports, _momentFrom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentFrom.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-from\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-subtract\", [\"exports\", \"ember-moment/helpers/moment-subtract\"], function (_exports, _momentSubtract) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentSubtract.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-subtract\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-to-date\", [\"exports\", \"ember-moment/helpers/moment-to-date\"], function (_exports, _momentToDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentToDate.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to-date\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-to-now\", [\"exports\", \"ember-moment/helpers/moment-to-now\"], function (_exports, _momentToNow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentToNow.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to-now\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment-to\", [\"exports\", \"ember-moment/helpers/moment-to\"], function (_exports, _momentTo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _momentTo.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment-to\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/moment\", [\"exports\", \"ember-moment/helpers/moment\"], function (_exports, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _moment.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/moment\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-eq\"], function (_exports, _notEq) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _notEq.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/not-eq\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/not\", [\"exports\", \"ember-truth-helpers/helpers/not\"], function (_exports, _not) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _not.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/not\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/now\", [\"exports\", \"ember-moment/helpers/now\"], function (_exports, _now) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _now.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/now\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/or\", [\"exports\", \"ember-truth-helpers/helpers/or\"], function (_exports, _or) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _or.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/or\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/page-title\", [\"exports\", \"ember-page-title/helpers/page-title\"], function (_exports, _pageTitle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pageTitle.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-page-title/helpers/page-title\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/perform\", [\"exports\", \"ember-concurrency/helpers/perform\"], function (_exports, _perform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _perform.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-concurrency/helpers/perform\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/pick\", [\"exports\", \"@ember/component/helper\", \"@ember/object\"], function (_exports, _helper, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.pick = pick;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/object\"eaimeta@70e063a35619d71f\n  function pick([path, action]) {\n    return function (obj) {\n      const value = (0, _object.get)(obj, path);\n      if (!action) {\n        return value;\n      }\n      action(value);\n    };\n  }\n  var _default = _exports.default = (0, _helper.helper)(pick);\n});\n","define(\"agropur-client/helpers/pluralize\", [\"exports\", \"ember-inflector/helpers/pluralize\"], function (_exports, _pluralize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pluralize.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-inflector/helpers/pluralize\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/singularize\", [\"exports\", \"ember-inflector/helpers/singularize\"], function (_exports, _singularize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _singularize.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-inflector/helpers/singularize\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/task\", [\"exports\", \"ember-concurrency/helpers/task\"], function (_exports, _task) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _task.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-concurrency/helpers/task\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/unix\", [\"exports\", \"ember-moment/helpers/unix\"], function (_exports, _unix) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _unix.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/unix\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/utc\", [\"exports\", \"ember-moment/helpers/utc\"], function (_exports, _utc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _utc.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/helpers/utc\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/helpers/vd-flash-price\", [\"exports\", \"@ember/component/helper\", \"@ember/template\"], function (_exports, _helper, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.vdFlashPrice = vdFlashPrice;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/template\"eaimeta@70e063a35619d71f\n  function vdFlashPrice(value) {\n    return (0, _template.htmlSafe)(`<span class=\"value-changed-transition\">${value[0]}</span>`);\n  }\n  var _default = _exports.default = (0, _helper.helper)(vdFlashPrice);\n});\n","define(\"agropur-client/helpers/xor\", [\"exports\", \"ember-truth-helpers/helpers/xor\"], function (_exports, _xor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _xor.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-truth-helpers/helpers/xor\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/initializers/ember-data\", [\"exports\", \"@ember-data/request-utils/deprecation-support\"], function (_exports, _deprecationSupport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/request-utils/deprecation-support\"eaimeta@70e063a35619d71f\n  /*\n    This code initializes EmberData in an Ember application.\n  */\n  var _default = _exports.default = {\n    name: 'ember-data',\n    initialize(application) {\n      application.registerOptionsForType('serializer', {\n        singleton: false\n      });\n      application.registerOptionsForType('adapter', {\n        singleton: false\n      });\n    }\n  };\n});\n","define(\"agropur-client/initializers/ember-simple-auth\", [\"exports\", \"ember-simple-auth/initializers/ember-simple-auth\"], function (_exports, _emberSimpleAuth) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _emberSimpleAuth.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-simple-auth/initializers/ember-simple-auth\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/instance-initializers/head-browser\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  var _default = _exports.default = {\n    name: 'head-browser',\n    initialize() {\n      // do nothing!\n      // this functionality has been moved into addon/components/head-layout.js\n      // This is only here in order to not break existing addons relying on this, e.g. ember-page-title.\n    }\n  };\n});\n","define(\"agropur-client/models/barchart-market-datum\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let BarchartMarketDatum = _exports.default = (_dec = (0, _model.attr)('number'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('number'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('number'), _dec6 = (0, _model.attr)('number'), _dec7 = (0, _model.attr)('number'), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.attr)('string'), _dec0 = (0, _model.attr)('number'), _dec1 = (0, _model.attr)('number'), _dec10 = (0, _model.attr)('number'), _dec11 = (0, _model.attr)('number'), _dec12 = (0, _model.attr)('number'), _dec13 = (0, _model.attr)('date'), _dec14 = (0, _model.attr)('string'), _dec15 = (0, _model.attr)('date'), _dec16 = (0, _model.attr)('string'), _dec17 = (0, _model.attr)('number'), _dec18 = (0, _model.belongsTo)('modern-instrument', {\n    async: true,\n    inverse: 'barchartSymbol'\n  }), _dec19 = (0, _model.attr)('number'), _dec20 = (0, _model.attr)('number'), _dec21 = (0, _model.attr)('number'), classic(_class = (_class2 = class BarchartMarketDatum extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"close\", _descriptor, this);\n      _initializerDefineProperty(this, \"dayCode\", _descriptor2, this);\n      _initializerDefineProperty(this, \"dollarVolume\", _descriptor3, this);\n      _initializerDefineProperty(this, \"flag\", _descriptor4, this);\n      _initializerDefineProperty(this, \"high\", _descriptor5, this);\n      _initializerDefineProperty(this, \"lastPrice\", _descriptor6, this);\n      _initializerDefineProperty(this, \"low\", _descriptor7, this);\n      _initializerDefineProperty(this, \"mode\", _descriptor8, this);\n      _initializerDefineProperty(this, \"name\", _descriptor9, this);\n      _initializerDefineProperty(this, \"netChange\", _descriptor0, this);\n      _initializerDefineProperty(this, \"numTrades\", _descriptor1, this);\n      _initializerDefineProperty(this, \"open\", _descriptor10, this);\n      _initializerDefineProperty(this, \"percentChange\", _descriptor11, this);\n      _initializerDefineProperty(this, \"previousVolume\", _descriptor12, this);\n      _initializerDefineProperty(this, \"serverTimestamp\", _descriptor13, this);\n      _initializerDefineProperty(this, \"symbol\", _descriptor14, this);\n      _initializerDefineProperty(this, \"tradeTimestamp\", _descriptor15, this);\n      _initializerDefineProperty(this, \"unitCode\", _descriptor16, this);\n      _initializerDefineProperty(this, \"volume\", _descriptor17, this);\n      _initializerDefineProperty(this, \"instrument\", _descriptor18, this);\n      _initializerDefineProperty(this, \"openInterest\", _descriptor19, this);\n      _initializerDefineProperty(this, \"settlement\", _descriptor20, this);\n      _initializerDefineProperty(this, \"previousSettlement\", _descriptor21, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"close\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"dayCode\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"dollarVolume\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"flag\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"high\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"lastPrice\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"low\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"mode\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"name\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"netChange\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"numTrades\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"open\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"percentChange\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"previousVolume\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, \"serverTimestamp\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, \"symbol\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, \"tradeTimestamp\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, \"unitCode\", [_dec16], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, \"volume\", [_dec17], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, \"instrument\", [_dec18], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, \"openInterest\", [_dec19], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, \"settlement\", [_dec20], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, \"previousSettlement\", [_dec21], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/dairy-contact\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairyContact = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('boolean'), _dec7 = (0, _model.attr)('boolean'), _dec8 = (0, _model.attr)(), _dec9 = (0, _model.belongsTo)('dairy', {\n    async: true,\n    inverse: 'dairyContacts'\n  }), classic(_class = (_class2 = class DairyContact extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"title\", _descriptor, this);\n      _initializerDefineProperty(this, \"firstName\", _descriptor2, this);\n      _initializerDefineProperty(this, \"lastName\", _descriptor3, this);\n      _initializerDefineProperty(this, \"email\", _descriptor4, this);\n      _initializerDefineProperty(this, \"phone\", _descriptor5, this);\n      _initializerDefineProperty(this, \"primary\", _descriptor6, this);\n      _initializerDefineProperty(this, \"isAuthorizedTrader\", _descriptor7, this);\n      _initializerDefineProperty(this, \"miscellaneous\", _descriptor8, this);\n      _initializerDefineProperty(this, \"dairyId\", _descriptor9, this);\n    }\n    get fullName() {\n      return `${this.firstName} ${this.lastName}`;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"title\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"firstName\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"lastName\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"email\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"phone\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"primary\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"isAuthorizedTrader\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"miscellaneous\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"dairyId\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/dairy\", [\"exports\", \"@ember-data/model\", \"@ember/utils\"], function (_exports, _model, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  /* eslint-disable ember/no-get */\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Dairy = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('number'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('boolean'), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.attr)('string'), _dec0 = (0, _model.attr)('string'), _dec1 = (0, _model.attr)('string'), _dec10 = (0, _model.attr)('string'), _dec11 = (0, _model.attr)(), _dec12 = (0, _model.attr)(), _dec13 = (0, _model.attr)(), _dec14 = (0, _model.belongsTo)('user-dairy-config', {\n    async: true,\n    inverse: 'dairyId'\n  }), _dec15 = (0, _model.hasMany)('dairy-contact', {\n    async: true,\n    inverse: 'dairyId'\n  }), _dec16 = (0, _model.belongsTo)('location', {\n    async: true,\n    inverse: null\n  }), _dec17 = (0, _model.belongsTo)('organization', {\n    async: true,\n    inverse: 'dairies'\n  }), _dec18 = (0, _model.attr)('string'), classic(_class = (_class2 = class Dairy extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"slug\", _descriptor, this);\n      // TODO: Remove - Not used\n      _initializerDefineProperty(this, \"producerId\", _descriptor2, this);\n      _initializerDefineProperty(this, \"name\", _descriptor3, this);\n      _initializerDefineProperty(this, \"vaultType\", _descriptor4, this);\n      // TODO: Remove - Always Agropur\n      _initializerDefineProperty(this, \"pricingModel\", _descriptor5, this);\n      // TODO: Remove - Always Agropur\n      _initializerDefineProperty(this, \"productionType\", _descriptor6, this);\n      // TODO: Remove - Always total\n      _initializerDefineProperty(this, \"isClickwrapAccepted\", _descriptor7, this);\n      _initializerDefineProperty(this, \"addressLine1\", _descriptor8, this);\n      _initializerDefineProperty(this, \"addressLine2\", _descriptor9, this);\n      _initializerDefineProperty(this, \"city\", _descriptor0, this);\n      _initializerDefineProperty(this, \"state\", _descriptor1, this);\n      _initializerDefineProperty(this, \"zipCode\", _descriptor10, this);\n      _initializerDefineProperty(this, \"config\", _descriptor11, this);\n      _initializerDefineProperty(this, \"notes\", _descriptor12, this);\n      _initializerDefineProperty(this, \"miscellaneous\", _descriptor13, this);\n      _initializerDefineProperty(this, \"userDairyConfig\", _descriptor14, this);\n      _initializerDefineProperty(this, \"dairyContacts\", _descriptor15, this);\n      _initializerDefineProperty(this, \"locationId\", _descriptor16, this);\n      _initializerDefineProperty(this, \"organizationId\", _descriptor17, this);\n      _initializerDefineProperty(this, \"userId\", _descriptor18, this);\n    }\n    // TODO: Question - Why is this a string?\n\n    get primaryContact() {\n      const dairyContacts = this.hasMany('dairyContacts').value() ?? [];\n      return dairyContacts.filter(({\n        primary\n      }) => !!primary)?.[0] ?? null;\n    }\n    get cityState() {\n      const city = this.get('locationId.city');\n      const state = this.get('locationId.state');\n      return (0, _utils.isPresent)(city) && (0, _utils.isPresent)(state) ? `${city}, ${state}` : city;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"slug\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"producerId\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"name\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"vaultType\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"pricingModel\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"productionType\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"isClickwrapAccepted\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"addressLine1\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"addressLine2\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"city\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"state\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"zipCode\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"config\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"notes\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, \"miscellaneous\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, \"userDairyConfig\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, \"dairyContacts\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, \"locationId\", [_dec16], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, \"organizationId\", [_dec17], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, \"userId\", [_dec18], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/historical-price\", [\"exports\", \"@ember/object/computed\", \"@ember-data/model\", \"agropur-client/utils/date-utils\"], function (_exports, _computed, _model, _dateUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object/computed\",0,\"@ember-data/model\",0,\"agropur-client/utils/date-utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let HistoricalPrice = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec3 = (0, _computed.alias)('classThree'), _dec4 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec5 = (0, _computed.alias)('classFour'), _dec6 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec7 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec8 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec9 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec0 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec1 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), classic(_class = (_class2 = class HistoricalPrice extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"date\", _descriptor, this);\n      _initializerDefineProperty(this, \"classThree\", _descriptor2, this);\n      _initializerDefineProperty(this, \"classThreeMilk\", _descriptor3, this);\n      _initializerDefineProperty(this, \"classFour\", _descriptor4, this);\n      _initializerDefineProperty(this, \"classFourMilk\", _descriptor5, this);\n      _initializerDefineProperty(this, \"corn\", _descriptor6, this);\n      _initializerDefineProperty(this, \"soybeanMeal\", _descriptor7, this);\n      _initializerDefineProperty(this, \"nonfatDryMilk\", _descriptor8, this);\n      _initializerDefineProperty(this, \"dryWhey\", _descriptor9, this);\n      _initializerDefineProperty(this, \"cashSettledCheese\", _descriptor0, this);\n      _initializerDefineProperty(this, \"cashSettledButter\", _descriptor1, this);\n    }\n    get classThreeMargin() {\n      return this._matrixMarginPrice(this.classThree, this.corn, this.soybeanMeal);\n    }\n    get classFourMargin() {\n      return this._matrixMarginPrice(this.classFour, this.corn, this.soybeanMeal);\n    }\n    _matrixMarginPrice(price = 0, cornPrice = 0, soybeanMealPrice = 0) {\n      return price - cornPrice * 0.833 - soybeanMealPrice * 0.0083;\n    }\n    get isFirstOfTheYear() {\n      // IS JANUARY ?\n      return this.getDate().get('month') === 0;\n    }\n    bySymbol(symbol) {\n      let attribute = null;\n      switch (symbol) {\n        case 'DC':\n          attribute = 'classThree';\n          break;\n        case 'GDK':\n          attribute = 'classFour';\n          break;\n        case 'CSC':\n          attribute = 'cashSettledCheese';\n          break;\n        case 'CB':\n          attribute = 'cashSettledButter';\n          break;\n        case 'GNF':\n          attribute = 'nonfatDryMilk';\n          break;\n        case 'DY':\n          attribute = 'dryWhey';\n          break;\n        case 'ZC':\n          attribute = 'corn';\n          break;\n        case 'ZM':\n          attribute = 'soybeanMeal';\n          break;\n      }\n      return attribute ? this.get(attribute) : 0;\n    }\n    getDate() {\n      return (0, _dateUtils.toUtc)(this.date);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"date\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"classThree\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"classThreeMilk\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"classFour\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"classFourMilk\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"corn\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"soybeanMeal\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"nonfatDryMilk\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"dryWhey\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"cashSettledCheese\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"cashSettledButter\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/instrument\", [\"exports\", \"@ember/object/computed\", \"@ember-data/model\"], function (_exports, _computed, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object/computed\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Instrument = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('date'), _dec4 = (0, _model.attr)('date'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('number'), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.belongsTo)('product', {\n    async: true\n  }), _dec0 = (0, _computed.alias)('product_id'), _dec1 = (0, _model.attr)('string'), _dec10 = (0, _model.attr)('string'), _dec11 = (0, _model.attr)('string'), _dec12 = (0, _computed.alias)('best.price'), _dec13 = (0, _model.belongsTo)('marketdatum', {\n    async: true\n  }), _dec14 = (0, _model.belongsTo)('marketdatum', {\n    async: true\n  }), _dec15 = (0, _model.belongsTo)('marketdatum', {\n    async: true\n  }), _dec16 = (0, _model.belongsTo)('marketdatum', {\n    async: true\n  }), _dec17 = (0, _model.attr)('number'), _dec18 = (0, _model.attr)('number'), _dec19 = (0, _computed.alias)('underlying_id'), _dec20 = (0, _model.belongsTo)('instrument', {\n    async: true\n  }), classic(_class = (_class2 = class Instrument extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"symbol\", _descriptor, this);\n      _initializerDefineProperty(this, \"name\", _descriptor2, this);\n      _initializerDefineProperty(this, \"expiration_date\", _descriptor3, this);\n      _initializerDefineProperty(this, \"display_expiration_date\", _descriptor4, this);\n      _initializerDefineProperty(this, \"expiration_type\", _descriptor5, this);\n      _initializerDefineProperty(this, \"option_type\", _descriptor6, this);\n      _initializerDefineProperty(this, \"strike\", _descriptor7, this);\n      _initializerDefineProperty(this, \"trading_status\", _descriptor8, this);\n      _initializerDefineProperty(this, \"product_id\", _descriptor9, this);\n      _initializerDefineProperty(this, \"product\", _descriptor0, this);\n      _initializerDefineProperty(this, \"instrument_type\", _descriptor1, this);\n      _initializerDefineProperty(this, \"spread_code\", _descriptor10, this);\n      _initializerDefineProperty(this, \"spread_description\", _descriptor11, this);\n      _initializerDefineProperty(this, \"bestPrice\", _descriptor12, this);\n      _initializerDefineProperty(this, \"last\", _descriptor13, this);\n      _initializerDefineProperty(this, \"close\", _descriptor14, this);\n      _initializerDefineProperty(this, \"high\", _descriptor15, this);\n      _initializerDefineProperty(this, \"low\", _descriptor16, this);\n      _initializerDefineProperty(this, \"settlement_price\", _descriptor17, this);\n      _initializerDefineProperty(this, \"historical_price\", _descriptor18, this);\n      _initializerDefineProperty(this, \"underlyingInstrument\", _descriptor19, this);\n      _initializerDefineProperty(this, \"underlying_id\", _descriptor20, this);\n    }\n    //\n    //  Return the most recent price available.\n    //  If the instrument hasn't traded today, it will be the close price.\n    //\n    get best() {\n      if (this.get('last.price') !== undefined) {\n        return this.last;\n      } else {\n        return this.close;\n      }\n    }\n    get sessionPriceChange() {\n      if (this.get('best.price') !== undefined && this.get('close.price') !== undefined) {\n        return this.get('best.price') - this.get('close.price');\n      } else {\n        return null;\n      }\n    }\n    get sessionPriceChangePercentage() {\n      if (this.sessionPriceChange !== null && this.get('best.price') !== 0) {\n        return this.sessionPriceChange / this.get('best.price');\n      }\n      return 0;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"symbol\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"name\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"expiration_date\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"display_expiration_date\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"expiration_type\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"option_type\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"strike\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"trading_status\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"product_id\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"product\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"instrument_type\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"spread_code\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"spread_description\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"bestPrice\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, \"last\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, \"close\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, \"high\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, \"low\", [_dec16], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, \"settlement_price\", [_dec17], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, \"historical_price\", [_dec18], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, \"underlyingInstrument\", [_dec19], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, \"underlying_id\", [_dec20], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/location\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Location = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), classic(_class = (_class2 = class Location extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"city\", _descriptor, this);\n      _initializerDefineProperty(this, \"county\", _descriptor2, this);\n      _initializerDefineProperty(this, \"state\", _descriptor3, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"city\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"county\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"state\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/manual-position\", [\"exports\", \"@ember-data/model\", \"@ember/utils\", \"@ember/object/computed\"], function (_exports, _model, _utils, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\",0,\"@ember/utils\",0,\"@ember/object/computed\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ManualPosition = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('number'), _dec4 = (0, _model.attr)('number'), _dec5 = (0, _model.attr)('number'), _dec6 = (0, _model.attr)('boolean'), _dec7 = (0, _model.attr)('date-input'), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.attr)('string'), _dec0 = (0, _model.belongsTo)('month', {\n    async: true,\n    inverse: 'manualPositions'\n  }), _dec1 = (0, _computed.alias)('month_id'), _dec10 = (0, _model.attr)('string'), _dec11 = (0, _model.attr)('number'), _dec12 = (0, _computed.alias)('user_id'), classic(_class = (_class2 = class ManualPosition extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"positionType\", _descriptor, this);\n      _initializerDefineProperty(this, \"type\", _descriptor2, this);\n      _initializerDefineProperty(this, \"strike\", _descriptor3, this);\n      _initializerDefineProperty(this, \"price\", _descriptor4, this);\n      _initializerDefineProperty(this, \"quantity\", _descriptor5, this);\n      _initializerDefineProperty(this, \"long\", _descriptor6, this);\n      _initializerDefineProperty(this, \"timestamp\", _descriptor7, this);\n      _initializerDefineProperty(this, \"broker\", _descriptor8, this);\n      _initializerDefineProperty(this, \"instrument_id\", _descriptor9, this);\n      _initializerDefineProperty(this, \"month_id\", _descriptor0, this);\n      _initializerDefineProperty(this, \"month\", _descriptor1, this);\n      _initializerDefineProperty(this, \"product_id\", _descriptor10, this);\n      _initializerDefineProperty(this, \"user_id\", _descriptor11, this);\n      _initializerDefineProperty(this, \"userId\", _descriptor12, this);\n    }\n    get shouldIncludeInPhysical() {\n      const isAgropurSymbol = [this.get('month.dairy.organizationId.basisGlobexSymbol'), 'DC'].indexOf(this.get('product.globexSymbol')) >= 0;\n      const isPhysical = (0, _utils.isEqual)(this.positionType, 'PHYSICAL');\n      return (0, _utils.isEqual)(this.get('month.vaultType'), 'AGROPUR') ? isAgropurSymbol && isPhysical : isPhysical;\n    }\n    get priceFormatting() {\n      let format = null;\n      switch (this.get('product.globexSymbol')) {\n        case 'DC':\n          format = '$0.00';\n          break;\n        default:\n          format = '$0.00';\n      }\n      return format;\n    }\n    get instrument() {\n      return this.get('month.content') && this.get('month.content').getInstrumentBySymbol ? this.get('month.content').getInstrumentBySymbol(this.get('product.globexSymbol')) : null;\n    }\n    get historicalPrice() {\n      return this.get('month.historicalPrice.content') && this.get('month.historicalPrice.content').bySymbol ? this.get('month.historicalPrice.content').bySymbol(this.get('product.globexSymbol')) : 0;\n    }\n    get currentPrice() {\n      return this.get('month.classThreeMilkPrice');\n    }\n    get plInDollars() {\n      if (this.product_id === this.get('month.dairy.organizationId.basisGlobexSymbol')) {\n        return this.agropurBasisPlInDollars;\n      }\n      let price = this.currentPrice;\n      const quantity = this.quantity / 100;\n      let result = 0;\n      if (this.type === 'FORWARD') {\n        result = quantity * (this.price - price) * (this.long ? -1 : 1);\n      } else if (this.type === 'PUT' || this.type === 'CALL') {\n        const strikePriceDiff = this.strike - price;\n        if (this.type === 'PUT' && strikePriceDiff > 0) {\n          result += quantity * strikePriceDiff * (this.long ? 1 : -1);\n        } else if (this.type === 'CALL' && strikePriceDiff < 0) {\n          result += quantity * strikePriceDiff * (this.long ? -1 : 1);\n        }\n        const _price = this.price * quantity;\n        if (this.long) {\n          result -= _price;\n        } else {\n          result += _price;\n        }\n      }\n      return result;\n    }\n    get agropurBasisPlInDollars() {\n      if (this.month.get('spotBasisInstrument')?.lastMarketDatum) {\n        return (this.price - this.get('month.spotBasisPrice')) * (this.quantity / 100) || 0;\n      } else {\n        return (this.price - this.get('month.agropurBasisPrice')) * (this.quantity / 100) || 0;\n      }\n    }\n    get premiumInTicks() {\n      const quantity = this.quantity / 100;\n      let total = 0;\n      if (quantity > 0 && this.instrumentType === 'Option' && this.long) {\n        total += this.price * (quantity / this.get('product.contractSize'));\n      }\n      if (quantity > 0 && this.instrumentType === 'Option' && !this.long) {\n        total -= this.price * (quantity / this.get('product.contractSize'));\n      }\n      return total;\n    }\n    get premiumInDollars() {\n      return this.premiumInTicks / (this.get('product.tickSize') * this.get('product.tickValue'));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"positionType\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"strike\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"price\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"quantity\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"long\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"timestamp\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"broker\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"instrument_id\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"month_id\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"month\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"product_id\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"user_id\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"userId\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/modern-instrument\", [\"exports\", \"@ember/object/computed\", \"@ember-data/model\", \"agropur-client/utils/vault-display-price\", \"agropur-client/utils/barchart-to-vela-price\"], function (_exports, _computed, _model, _vaultDisplayPrice, _barchartToVelaPrice) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object/computed\",0,\"@ember-data/model\",0,\"agropur-client/utils/vault-display-price\",0,\"agropur-client/utils/barchart-to-vela-price\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ModernInstrument = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.belongsTo)('barchart-market-datum', {\n    async: true,\n    inverse: 'instrument'\n  }), _dec4 = (0, _model.attr)('date'), _dec5 = (0, _model.attr)('date'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _computed.alias)('productId'), _dec8 = (0, _model.belongsTo)('modern-product', {\n    async: true,\n    inverse: null\n  }), _dec9 = (0, _computed.alias)('exchangeSymbol'), _dec0 = (0, _model.attr)('string'), _dec1 = (0, _computed.alias)('instrumentType'), _dec10 = (0, _model.attr)('string'), _dec11 = (0, _model.attr)('string'), _dec12 = (0, _computed.alias)('type'), _dec13 = (0, _model.attr)('string'), _dec14 = (0, _computed.alias)('barchartSymbol.lastPrice'), _dec15 = (0, _computed.alias)('barchartSymbol.high'), _dec16 = (0, _computed.alias)('barchartSymbol.low'), _dec17 = (0, _computed.alias)('barchartSymbol.percentChange'), classic(_class = (_class2 = class ModernInstrument extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"name\", _descriptor, this);\n      _initializerDefineProperty(this, \"velaInstrumentId\", _descriptor2, this);\n      _initializerDefineProperty(this, \"barchartSymbol\", _descriptor3, this);\n      _initializerDefineProperty(this, \"expiresAt\", _descriptor4, this);\n      _initializerDefineProperty(this, \"displayExpiresAt\", _descriptor5, this);\n      _initializerDefineProperty(this, \"exchangeSymbol\", _descriptor6, this);\n      _initializerDefineProperty(this, \"product\", _descriptor7, this);\n      _initializerDefineProperty(this, \"productId\", _descriptor8, this);\n      _initializerDefineProperty(this, \"symbol\", _descriptor9, this);\n      _initializerDefineProperty(this, \"productType\", _descriptor0, this);\n      // Future or Option\n      _initializerDefineProperty(this, \"instrument_type\", _descriptor1, this);\n      _initializerDefineProperty(this, \"instrumentType\", _descriptor10, this);\n      _initializerDefineProperty(this, \"type\", _descriptor11, this);\n      _initializerDefineProperty(this, \"option_type\", _descriptor12, this);\n      _initializerDefineProperty(this, \"strike\", _descriptor13, this);\n      _initializerDefineProperty(this, \"lastPrice\", _descriptor14, this);\n      _initializerDefineProperty(this, \"highPrice\", _descriptor15, this);\n      _initializerDefineProperty(this, \"lowPrice\", _descriptor16, this);\n      _initializerDefineProperty(this, \"percentChange\", _descriptor17, this);\n    }\n    get displayStrike() {\n      return (0, _vaultDisplayPrice.default)(this.strike, this.rootSymbol);\n    }\n\n    // Ideally, this woudl be returned from the server.\n    get rootSymbol() {\n      const possibleSymbols = ['ZW', 'CB', 'GDK', 'ZS', 'CSC', 'LE', 'ZM', 'GNF', 'DC', 'ZC', 'DY'];\n      if (!this.exchangeSymbol) {\n        return null;\n      }\n      const firstTwo = this.exchangeSymbol.substring(0, 2);\n      if (possibleSymbols.includes(firstTwo)) {\n        return firstTwo;\n      } else {\n        const firstThree = this.exchangeSymbol.substring(0, 3);\n        return firstThree;\n      }\n    }\n    get displayLastPrice() {\n      return (0, _vaultDisplayPrice.default)(this.lastPrice, this.rootSymbol, 'USD');\n    }\n    get displayHighPrice() {\n      return (0, _vaultDisplayPrice.default)(this.highPrice, this.rootSymbol, 'USD');\n    }\n    get displayLowPrice() {\n      return (0, _vaultDisplayPrice.default)(this.lowPrice, this.rootSymbol, 'USD');\n    }\n    get velaFormattedLastPrice() {\n      return (0, _barchartToVelaPrice.default)(this.rootSymbol, this.lastPrice);\n    }\n    get netChange() {\n      return (0, _vaultDisplayPrice.default)(this.get('barchartSymbol.netChange'), this.rootSymbol);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"name\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"velaInstrumentId\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"barchartSymbol\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"expiresAt\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"displayExpiresAt\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"exchangeSymbol\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"product\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"productId\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"symbol\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"productType\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"instrument_type\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"instrumentType\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"option_type\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, \"strike\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, \"lastPrice\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, \"highPrice\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, \"lowPrice\", [_dec16], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, \"percentChange\", [_dec17], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/modern-product-group\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ModernProductGroup = _exports.default = (_dec = (0, _model.attr)('string'), classic(_class = (_class2 = class ModernProductGroup extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"description\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"description\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/modern-product\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ModernProduct = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.belongsTo)('modern-product-group', {\n    async: true,\n    inverse: null\n  }), classic(_class = (_class2 = class ModernProduct extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"name\", _descriptor, this);\n      _initializerDefineProperty(this, \"type\", _descriptor2, this);\n      _initializerDefineProperty(this, \"productGroup\", _descriptor3, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"name\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"productGroup\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/month\", [\"exports\", \"@glimmer/tracking\", \"@ember/object/computed\", \"@ember-data/model\", \"agropur-client/config/environment\", \"agropur-client/utils/date-utils\", \"@ember/utils\"], function (_exports, _tracking, _computed, _model, _environment, _dateUtils, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@glimmer/tracking\",0,\"@ember/object/computed\",0,\"@ember-data/model\",0,\"agropur-client/config/environment\",0,\"agropur-client/utils/date-utils\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  const {\n    toUtc\n  } = _dateUtils.default;\n  const {\n    currentRollbackMonth\n  } = _dateUtils.default;\n  let Month = _exports.default = (_dec = (0, _model.attr)('utcdate'), _dec2 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec3 = (0, _computed.alias)('dairy.productionType'), _dec4 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec5 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec6 = (0, _model.belongsTo)('historical-price', {\n    async: true,\n    inverse: null\n  }), _dec7 = (0, _model.belongsTo)('month', {\n    async: true,\n    inverse: null\n  }), _dec8 = (0, _model.belongsTo)('dairy', {\n    async: true,\n    inverse: null\n  }), _dec9 = (0, _model.hasMany)('manual-position', {\n    async: true,\n    inverse: 'month_id'\n  }), classic(_class = (_class2 = class Month extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"date\", _descriptor, this);\n      _initializerDefineProperty(this, \"cowsInMilk\", _descriptor2, this);\n      _initializerDefineProperty(this, \"productionType\", _descriptor3, this);\n      _initializerDefineProperty(this, \"production\", _descriptor4, this);\n      _initializerDefineProperty(this, \"actualProduction\", _descriptor5, this);\n      _initializerDefineProperty(this, \"historicalPrice\", _descriptor6, this);\n      _initializerDefineProperty(this, \"previous\", _descriptor7, this);\n      _initializerDefineProperty(this, \"dairy\", _descriptor8, this);\n      _initializerDefineProperty(this, \"classThreeMilkInstrument\", _descriptor9, this);\n      _initializerDefineProperty(this, \"agropurBasisInstrument\", _descriptor0, this);\n      _initializerDefineProperty(this, \"endBasisInstrument\", _descriptor1, this);\n      _initializerDefineProperty(this, \"spotBasisInstrument\", _descriptor10, this);\n      _initializerDefineProperty(this, \"totalPoundsPerContract\", _descriptor11, this);\n      _defineProperty(this, \"classThreeMilkPercentageHedgedLimit\", _environment.default.APP.HEDGE_LIMITS.classThreeMilk);\n      _defineProperty(this, \"agropurBasisPercentageHedgedLimit\", _environment.default.APP.HEDGE_LIMITS.agropurBasis);\n      /* ============= MANUAL POSITIONS ============= */\n      _initializerDefineProperty(this, \"manualPositions\", _descriptor12, this);\n    }\n    get classThreeMilkForwardPriceHedged() {\n      let price = 0;\n      this.classThreeMilkForwardPositions.forEach(p => {\n        price += p.get('price') * (p.get('quantity') / this.classThreeMilkForwardPoundsHedged);\n      });\n      return price;\n    }\n    get classThreeMilkPutOptionPriceHedged() {\n      let price = 0;\n      this.classThreeMilkPutOptionPositions.forEach(p => {\n        price += (p.get('strike') - p.get('price')) * (p.get('quantity') / this.classThreeMilkPutOptionPoundsHedged);\n      });\n      return price;\n    }\n    get displayedClassThreeMilkPutOptionPriceHedged() {\n      let price = 0;\n      this.classThreeMilkPutOptionPositions.forEach(p => {\n        price += p.get('strike') * (p.get('quantity') / this.classThreeMilkPutOptionPoundsHedged);\n      });\n      return price;\n    }\n    get classThreeMilkCallOptionPriceHedged() {\n      let price = 0;\n      this.classThreeMilkCallOptionPositions.forEach(p => {\n        price += (p.get('strike') + p.get('price')) * (p.get('quantity') / this.classThreeMilkCallOptionPoundsHedged);\n      });\n      return price;\n    }\n    get classThreeMilkForwardPercentageHedged() {\n      return this.totalProduction > 0 ? this.classThreeMilkForwardPoundsHedged / this.totalProduction : Infinity;\n    }\n    get classThreeMilkPutOptionPercentageHedged() {\n      return this.classThreeMilkPutOptionPoundsHedged / this.totalProduction || 0;\n    }\n    get classThreeMilkCallOptionPercentageHedged() {\n      return this.classThreeMilkCallOptionPoundsHedged / this.totalProduction || 0;\n    }\n    get classThreePoundsHedged() {\n      return this.classThreeMilkPoundsHedged;\n    }\n    get classThreeMilkPercentageHedged() {\n      return this.classThreeMilkPercentageHedgedOverTotalProduction;\n    }\n    get classThreeMilkPercentageUnhedged() {\n      return Math.max(0, 1 - this.classThreeMilkPercentageHedged);\n    }\n    get offExchangeClassThreeMilkPL() {\n      return this.classThreeMilkForwardPL + this.classThreeOptionPL;\n    }\n    get classThreeMilkPositions() {\n      return (this.hasMany('manualPositions').value() ?? []).filter(p => p.product_id === 'DC');\n    }\n    get classThreeMilkForwardPositions() {\n      return this.classThreeMilkPositions.filter(p => p.type === 'FORWARD');\n    }\n    get classThreeMilkPutOptionPositions() {\n      return this.classThreeMilkPositions.filter(p => p.type === 'PUT');\n    }\n    get classThreeMilkCallOptionPositions() {\n      return this.classThreeMilkPositions.filter(p => p.type === 'CALL');\n    }\n    get classThreeMilkForwardPoundsHedged() {\n      return this.classThreeMilkForwardPositions.reduce((arr, p) => {\n        if (p && p.quantity) {\n          return arr + parseInt(p.quantity);\n        } else {\n          return arr;\n        }\n      }, 0);\n    }\n    get classThreeMilkForwardCWTHedged() {\n      return this.classThreeMilkForwardPoundsHedged / 100;\n    }\n    get classThreeMilkForwardPL() {\n      return this.classThreeMilkForwardPositions.reduce((arr, p) => {\n        return arr + p.plInDollars;\n      }, 0);\n    }\n    get classThreeMilkPutOptionPoundsHedged() {\n      return this.classThreeMilkPutOptionPositions.reduce((arr, p) => {\n        if (p && p.quantity) {\n          return arr + parseInt(p.quantity);\n        } else {\n          return arr;\n        }\n      }, 0);\n    }\n    get classThreeMilkPutOptionCWTHedged() {\n      return this.classThreeMilkPutOptionPoundsHedged / 100;\n    }\n    get classThreePutOptionPL() {\n      return this.classThreeMilkPutOptionPositions.reduce((arr, p) => {\n        return arr + p.plInDollars;\n      }, 0);\n    }\n    get classThreeMilkCallOptionPoundsHedged() {\n      return this.classThreeMilkCallOptionPositions.reduce((arr, p) => {\n        if (p && p.quantity) {\n          return arr + parseInt(p.quantity);\n        } else {\n          return arr;\n        }\n      }, 0);\n    }\n    get classThreeMilkCallOptionCWTHedged() {\n      return this.classThreeMilkCallOptionPoundsHedged / 100;\n    }\n    get classThreeMilkOptionPoundsHedged() {\n      return this.classThreeMilkCallOptionPoundsHedged + this.classThreeMilkPutOptionPoundsHedged;\n    }\n    get classThreeMilkOptionCWTHedged() {\n      return this.classThreeMilkOptionPoundsHedged / 100;\n    }\n    get classThreeCallOptionPL() {\n      return this.classThreeMilkCallOptionPositions.reduce((arr, p) => {\n        return arr + p.plInDollars;\n      }, 0);\n    }\n    get classThreeOptionPL() {\n      return this.classThreeCallOptionPL + this.classThreePutOptionPL;\n    }\n    get classThreeMilkPoundsHedged() {\n      return this.classThreeMilkForwardPoundsHedged + (this.classThreeMilkPutOptionPoundsHedged > this.classThreeMilkCallOptionPoundsHedged ? this.classThreeMilkPutOptionPoundsHedged : this.classThreeMilkCallOptionPoundsHedged);\n    }\n    get classThreeMilkCWTHedged() {\n      return this.classThreeMilkPoundsHedged / 100;\n    }\n    get agropurForwardPrice() {\n      return this.spotBasisInstrument?.lastMarketDatum ? this.classThreeMilkPrice + this.spotBasisPrice : this.classThreeMilkPrice + this.agropurBasisPrice;\n    }\n    get blendedMilkPrice() {\n      return this.agropurForwardPrice;\n    }\n    get basisMilkPositions() {\n      const manualPositions = this.hasMany('manualPositions').value() ?? [];\n      const spotGlobexSymbol = this.get('dairy.organizationId.spotGlobexSymbol');\n      const basisGlobexSymbol = this.get('dairy.organizationId.basisGlobexSymbol');\n      return manualPositions.filter(positions => positions.product_id === spotGlobexSymbol || positions.product_id === basisGlobexSymbol);\n    }\n    get basisMilkForwardPositions() {\n      return this.basisMilkPositions.filter(p => p.type === 'FORWARD');\n    }\n    get basisMilkForwardPoundsHedged() {\n      return this.basisMilkForwardPositions.reduce((arr, p) => {\n        if (p && p.quantity) {\n          return arr + parseInt(p.quantity);\n        } else {\n          return arr;\n        }\n      }, 0);\n    }\n    get agropurBasisPoundsHedged() {\n      return this.basisMilkForwardPoundsHedged;\n    }\n    get agropurBasisCWTHedged() {\n      return this.agropurBasisPoundsHedged / 100;\n    }\n    get agropurBasisPercentageHedged() {\n      return this.agropurBasisPoundsHedged / this.totalProduction || 0;\n    }\n    get agropurBasisStaticPoundsHedgeable() {\n      return this.agropurBasisPercentageHedgedLimit * this.totalProduction;\n    }\n    get agropurBasisRemainingPoundsHedgeable() {\n      return this.agropurBasisStaticPoundsHedgeable - this.agropurBasisPoundsHedged;\n    }\n    get agropurClassThreeMilkStaticPoundsHedgeable() {\n      return this.classThreeMilkPercentageHedgedLimit * this.totalProduction;\n    }\n    get agropurClassThreeMilkRemainingPoundsHedgeable() {\n      return this.agropurClassThreeMilkStaticPoundsHedgeable - this.classThreeMilkPoundsHedged;\n    }\n    get agropurPLAdjustedClassThreePrice() {\n      return (this.classThreeMilkPrice * this.totalProductionCwt + this.offExchangeClassThreeMilkPL) / this.totalProductionCwt || 0;\n    }\n    get agropurPLAdjustedBasisPrice() {\n      return (this.agropurBasisPrice * (this.totalProduction - this.agropurBasisPoundsHedged) + this.agropurBasisHedgePrice * this.agropurBasisPoundsHedged) / this.totalProduction || 0;\n    }\n    get agropurPLAdjustedForwardPrice() {\n      return this.classThreeMilkPrice + this.basisPrice;\n    }\n    get agropurBasisPercentageUnhedged() {\n      return Math.max(0, 1 - this.agropurBasisPercentageHedged);\n    }\n    get agropurBasisHedgePrice() {\n      let price = 0;\n      this.basisMilkPositions.forEach(p => {\n        price += p.get('price') * (p.get('quantity') / this.agropurBasisPoundsHedged);\n      });\n      return price;\n    }\n    get agropurBasisNetPL() {\n      if (this.spotBasisInstrument?.lastMarketDatum) {\n        return this.agropurBasisPoundsHedged > 0 ? (this.agropurBasisHedgePrice - this.spotBasisPrice) * (this.agropurBasisPoundsHedged / 100) : 0;\n      } else {\n        return this.agropurBasisPoundsHedged > 0 ? (this.agropurBasisHedgePrice - this.agropurBasisPrice) * (this.agropurBasisPoundsHedged / 100) : 0;\n      }\n    }\n    get totalAgropurBasisNetPL() {\n      return this.agropurBasisNetPL;\n    }\n    get classThreeMilkPercentageHedgedOverTotalProduction() {\n      return this.classThreeMilkPoundsHedged / this.totalProduction || 0;\n    }\n    getPhysicalPositions(globexSymbol) {\n      return this.physicalPositions.filter(p => (0, _utils.isEqual)(p.get('product.globexSymbol'), globexSymbol));\n    }\n    getPhysicalPositionsOptionPL(globexSymbol) {\n      let total = 0;\n      total += this.getPhysicalPositionsValue(globexSymbol, 'CALL', 'plInDollars');\n      total += this.getPhysicalPositionsValue(globexSymbol, 'PUT', 'plInDollars');\n      return total;\n    }\n    getPhysicalPositionsValue(globexSymbol, type, attrValue) {\n      const fSum = (ttl, p) => ttl + p.get(attrValue);\n      const filtered = this.getPhysicalPositions(globexSymbol);\n      return filtered.filter(p => (0, _utils.isEqual)(p.get('type').toUpperCase(), type)).reduce(fSum, 0);\n    }\n    get physicalPositions() {\n      return (this.hasMany('physicalPositions').value() ?? []).filter(p => p.shouldIncludeInPhysical);\n    }\n    get isPast() {\n      return toUtc(this.date).isBefore(currentRollbackMonth(), 'month');\n    }\n    get isFirstOfTheYear() {\n      // IS JANUARY ?\n      return toUtc(this.date).get('month') === 0;\n    }\n    get daysInMonth() {\n      return toUtc(this.date).daysInMonth();\n    }\n\n    /* ============= MILK PRODUCTION ============= */\n    get hasValidMilkProduction() {\n      return this.productionType === 'POUNDS_COW_DAY' ? this.cowsInMilk > 0 && this.production > 0 : this.production > 0;\n    }\n    get totalProduction() {\n      return this.production;\n    }\n    get totalProductionCwt() {\n      return this.totalProduction / 100;\n    }\n\n    /* ============= MILKCHECK ============= */\n\n    get milkCheck() {\n      return this.blendedMilkPrice;\n    }\n    get totalMilkCheck() {\n      return this.milkCheck * this.totalProductionCwt;\n    }\n    get totalDairyHedgePL() {\n      return this.offExchangeClassThreeMilkPL + this.totalAgropurBasisNetPL;\n    }\n    get totalDairyRevenue() {\n      return this.totalMilkCheck + this.totalDairyHedgePL;\n    }\n\n    /* ============= FORMATTED PRICES ============= */\n\n    get classThreeMilkPrice() {\n      return this.get('historicalPrice.classThree') ? this.get('historicalPrice.classThree') : this.get('classThreeMilkInstrument.lastPrice');\n    }\n    get agropurBasisPrice() {\n      return this.agropurBasisInstrument ? this.get('agropurBasisInstrument.price') : 0;\n    }\n    get endBasisPrice() {\n      return this.endProductBasisInstrument ? this.get('endProductBasisInstrument.price') : 0;\n    }\n    get spotBasisPrice() {\n      return this.spotBasisInstrument ? this.get('spotBasisInstrument.price') : 0;\n    }\n    get baseVolumePerDay() {\n      return this.production / this.daysInMonth;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"date\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"cowsInMilk\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"productionType\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"production\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"actualProduction\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"historicalPrice\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"previous\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"dairy\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"classThreeMilkInstrument\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"agropurBasisInstrument\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"endBasisInstrument\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"spotBasisInstrument\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"totalPoundsPerContract\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 200000;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"manualPositions\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/organization\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Organization = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('string'), _dec8 = (0, _model.attr)('date'), _dec9 = (0, _model.attr)('string'), _dec0 = (0, _model.attr)(), _dec1 = (0, _model.hasMany)('dairy', {\n    async: true,\n    inverse: 'organizationId'\n  }), _dec10 = (0, _model.hasMany)('user-organization-config', {\n    async: true,\n    inverse: 'organizationId'\n  }), _dec11 = (0, _model.belongsTo)('user', {\n    async: true,\n    inverse: null\n  }), _class = class Organization extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"name\", _descriptor, this);\n      _initializerDefineProperty(this, \"description\", _descriptor2, this);\n      _initializerDefineProperty(this, \"slug\", _descriptor3, this);\n      _initializerDefineProperty(this, \"logo\", _descriptor4, this);\n      _initializerDefineProperty(this, \"location\", _descriptor5, this);\n      _initializerDefineProperty(this, \"email\", _descriptor6, this);\n      _initializerDefineProperty(this, \"phone\", _descriptor7, this);\n      _initializerDefineProperty(this, \"createdDate\", _descriptor8, this);\n      _initializerDefineProperty(this, \"division\", _descriptor9, this);\n      _initializerDefineProperty(this, \"miscellaneous\", _descriptor0, this);\n      _initializerDefineProperty(this, \"dairies\", _descriptor1, this);\n      _initializerDefineProperty(this, \"userOrganizationConfigs\", _descriptor10, this);\n      _initializerDefineProperty(this, \"ownerId\", _descriptor11, this);\n      // Force all to show agropur basis\n      _defineProperty(this, \"showAgropurBasis\", true);\n      _defineProperty(this, \"pricingModels\", ['AGROPUR']);\n    }\n    get spotGlobexSymbol() {\n      if (this.id == 4) {\n        return 'WI_SPOT';\n      }\n\n      // Jerome\n      if (this.id == 5) {\n        return 'NEW_BASIS';\n      }\n\n      // Le Sueur\n      if (this.id == 6) {\n        return 'LS_SPOT';\n      }\n\n      // Lake Norden\n      if (this.id == 7) {\n        return 'LN_SPOT';\n      }\n\n      // Hull\n      if (this.id == 8) {\n        return 'HULL_SPOT';\n      }\n      return null;\n    }\n    get basisGlobexSymbol() {\n      if (this.id == 4) {\n        return 'WI_BASIS';\n      }\n\n      // Jerome\n      if (this.id == 5) {\n        return 'BASIS';\n      }\n\n      // Le Sueur\n      if (this.id == 6) {\n        return 'LS_BASIS';\n      }\n\n      // Lake Norden\n      if (this.id == 7) {\n        return 'LN_BASIS';\n      }\n\n      // Hull\n      if (this.id == 8) {\n        return 'HULL_BASIS';\n      }\n      return null;\n    }\n    get endProductBasisGlobexSymbol() {\n      // Jerome\n      if (this.id == 5) {\n        return 'UNCONTRACTED_BASIS';\n      }\n      return null;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"description\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"slug\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"logo\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"location\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"email\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"phone\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"createdDate\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"division\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"miscellaneous\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"dairies\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"userOrganizationConfigs\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"ownerId\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/models/tv-channel\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let TvChannel = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('date'), _dec5 = (0, _model.attr)(), _dec6 = (0, _model.attr)('number'), _dec7 = (0, _model.attr)('number'), _dec8 = (0, _model.attr)('number'), _dec9 = (0, _model.hasMany)('tv-video', {\n    async: true,\n    inverse: 'channel'\n  }), classic(_class = (_class2 = class TvChannel extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"title\", _descriptor, this);\n      _initializerDefineProperty(this, \"description\", _descriptor2, this);\n      _initializerDefineProperty(this, \"customUrl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"publishedAt\", _descriptor4, this);\n      _initializerDefineProperty(this, \"thumbnails\", _descriptor5, this);\n      _initializerDefineProperty(this, \"viewCount\", _descriptor6, this);\n      _initializerDefineProperty(this, \"subscriberCount\", _descriptor7, this);\n      _initializerDefineProperty(this, \"videoCount\", _descriptor8, this);\n      _initializerDefineProperty(this, \"videos\", _descriptor9, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"title\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"description\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"customUrl\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"publishedAt\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"thumbnails\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"viewCount\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"subscriberCount\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"videoCount\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"videos\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/tv-playlist\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let TvPlaylist = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('date'), _dec4 = (0, _model.attr)(), _dec5 = (0, _model.belongsTo)('tv-channel', {\n    async: true,\n    inverse: null\n  }), _dec6 = (0, _model.hasMany)('tv-video', {\n    async: true,\n    inverse: 'playlist'\n  }), classic(_class = (_class2 = class TvPlaylist extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"title\", _descriptor, this);\n      _initializerDefineProperty(this, \"description\", _descriptor2, this);\n      _initializerDefineProperty(this, \"publishedAt\", _descriptor3, this);\n      _initializerDefineProperty(this, \"thumbnails\", _descriptor4, this);\n      _initializerDefineProperty(this, \"channel\", _descriptor5, this);\n      _initializerDefineProperty(this, \"videos\", _descriptor6, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"title\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"description\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"publishedAt\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"thumbnails\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"channel\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"videos\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/tv-video\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let TvVideo = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('date'), _dec4 = (0, _model.attr)(), _dec5 = (0, _model.belongsTo)('tv-channel', {\n    async: true,\n    inverse: 'videos'\n  }), _dec6 = (0, _model.belongsTo)('tv-playlist', {\n    async: true,\n    inverse: 'videos'\n  }), classic(_class = (_class2 = class TvVideo extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"title\", _descriptor, this);\n      _initializerDefineProperty(this, \"description\", _descriptor2, this);\n      _initializerDefineProperty(this, \"publishedAt\", _descriptor3, this);\n      _initializerDefineProperty(this, \"thumbnails\", _descriptor4, this);\n      _initializerDefineProperty(this, \"channel\", _descriptor5, this);\n      _initializerDefineProperty(this, \"playlist\", _descriptor6, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"title\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"description\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"publishedAt\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"thumbnails\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"channel\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"playlist\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/user-dairy-config\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let UserDairyConfig = _exports.default = (_dec = (0, _model.belongsTo)('user', {\n    async: true,\n    inverse: null\n  }), _dec2 = (0, _model.belongsTo)('dairy', {\n    async: true,\n    inverse: 'userDairyConfig'\n  }), _dec3 = (0, _model.attr)('boolean', {\n    defaultValue: false\n  }), _dec4 = (0, _model.attr)('utcdatetime'), _dec5 = (0, _model.attr)('boolean'), _dec6 = (0, _model.attr)(), _dec7 = (0, _model.attr)(), _class = class UserDairyConfig extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"userId\", _descriptor, this);\n      _initializerDefineProperty(this, \"dairyId\", _descriptor2, this);\n      _initializerDefineProperty(this, \"clickwrapAccepted\", _descriptor3, this);\n      _initializerDefineProperty(this, \"clickwrapAcceptedAt\", _descriptor4, this);\n      _initializerDefineProperty(this, \"deleted\", _descriptor5, this);\n      _initializerDefineProperty(this, \"config\", _descriptor6, this);\n      _initializerDefineProperty(this, \"permissions\", _descriptor7, this);\n    }\n    get display() {\n      let result = null;\n      if (this.config.displayMode.perCWT) {\n        result = 'cwt';\n      }\n      if (this.config.displayMode.perCow) {\n        result = 'cow';\n      }\n      if (this.config.displayMode.perTotal) {\n        result = 'total';\n      }\n      return result;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"userId\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"dairyId\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"clickwrapAccepted\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"clickwrapAcceptedAt\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"deleted\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"config\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"permissions\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/models/user-organization-config\", [\"exports\", \"@ember/object\", \"@ember-data/model\"], function (_exports, _object, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let UserOrganizationConfig = _exports.default = (_dec = (0, _model.attr)('number'), _dec2 = (0, _model.attr)(), _dec3 = (0, _model.attr)(), _dec4 = (0, _model.belongsTo)('user', {\n    async: true,\n    inverse: null\n  }), _dec5 = (0, _model.belongsTo)('organization', {\n    async: true,\n    inverse: 'userOrganizationConfigs'\n  }), classic(_class = (_class2 = class UserOrganizationConfig extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"defaultDairyId\", _descriptor, this);\n      _initializerDefineProperty(this, \"miscellaneous\", _descriptor2, this);\n      _initializerDefineProperty(this, \"permissions\", _descriptor3, this);\n      _initializerDefineProperty(this, \"userId\", _descriptor4, this);\n      _initializerDefineProperty(this, \"organizationId\", _descriptor5, this);\n    }\n    get isOrganizationOwner() {\n      return (0, _object.get)(this, 'organizationId.ownerId.id') == (0, _object.get)(this, 'userId.id');\n    }\n    get isOrganizationAdmin() {\n      return this.permissions.includes(300);\n    }\n    get organizationRole() {\n      if (this.isOrganizationOwner) {\n        return 'Owner';\n      }\n      if (this.isOrganizationAdmin) {\n        return 'Admin';\n      }\n      return 'Member';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"defaultDairyId\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"miscellaneous\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"permissions\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"userId\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"organizationId\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/user\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let User = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('boolean'), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.attr)('string'), _dec0 = (0, _model.attr)('string'), _dec1 = (0, _model.attr)('string'), _dec10 = (0, _model.attr)('string'), _dec11 = (0, _model.attr)('string'), _dec12 = (0, _model.attr)(), _class = class User extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"externalId\", _descriptor, this);\n      _initializerDefineProperty(this, \"email\", _descriptor2, this);\n      _initializerDefineProperty(this, \"firstName\", _descriptor3, this);\n      _initializerDefineProperty(this, \"lastName\", _descriptor4, this);\n      _initializerDefineProperty(this, \"avatar\", _descriptor5, this);\n      _initializerDefineProperty(this, \"locale\", _descriptor6, this);\n      _initializerDefineProperty(this, \"canTrade\", _descriptor7, this);\n      _initializerDefineProperty(this, \"addressLine1\", _descriptor8, this);\n      _initializerDefineProperty(this, \"addressLine2\", _descriptor9, this);\n      _initializerDefineProperty(this, \"city\", _descriptor0, this);\n      _initializerDefineProperty(this, \"state\", _descriptor1, this);\n      _initializerDefineProperty(this, \"province\", _descriptor10, this);\n      _initializerDefineProperty(this, \"zipCode\", _descriptor11, this);\n      _initializerDefineProperty(this, \"permissions\", _descriptor12, this);\n    }\n    get fullName() {\n      return `${this.firstName} ${this.lastName}`;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"externalId\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"email\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"firstName\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"lastName\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"avatar\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"locale\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"canTrade\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"addressLine1\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"addressLine2\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"city\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"state\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"province\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"zipCode\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"permissions\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/models/vault-instrument\", [\"exports\", \"@ember-data/model\", \"agropur-client/utils/date-utils\", \"moment\"], function (_exports, _model, _dateUtils, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\",0,\"agropur-client/utils/date-utils\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const {\n    currentRollbackMonth,\n    toUtc\n  } = _dateUtils.default;\n  let VaultInstrument = _exports.default = (_dec = (0, _model.belongsTo)('vault-product', {\n    async: true,\n    inverse: 'vaultInstruments'\n  }), _dec2 = (0, _model.hasMany)('vault-market-datum', {\n    async: true,\n    inverse: 'instrument'\n  }), _dec3 = (0, _model.attr)('utcdate'), _dec4 = (0, _model.attr)('number'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('string'), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec0 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec1 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec10 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec11 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec12 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec13 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _dec14 = (0, _model.attr)('number', {\n    defaultValue: 0\n  }), _class = class VaultInstrument extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"product\", _descriptor, this);\n      _initializerDefineProperty(this, \"vaultMarketData\", _descriptor2, this);\n      _initializerDefineProperty(this, \"expiration\", _descriptor3, this);\n      _initializerDefineProperty(this, \"externalId\", _descriptor4, this);\n      _initializerDefineProperty(this, \"symbol\", _descriptor5, this);\n      _initializerDefineProperty(this, \"name\", _descriptor6, this);\n      _initializerDefineProperty(this, \"type\", _descriptor7, this);\n      _initializerDefineProperty(this, \"optionType\", _descriptor8, this);\n      _initializerDefineProperty(this, \"delayedPrice\", _descriptor9, this);\n      _initializerDefineProperty(this, \"closePrice\", _descriptor0, this);\n      _initializerDefineProperty(this, \"settlementPrice\", _descriptor1, this);\n      _initializerDefineProperty(this, \"strike\", _descriptor10, this);\n      _initializerDefineProperty(this, \"bid\", _descriptor11, this);\n      _initializerDefineProperty(this, \"ask\", _descriptor12, this);\n      _initializerDefineProperty(this, \"high\", _descriptor13, this);\n      _initializerDefineProperty(this, \"low\", _descriptor14, this);\n      _defineProperty(this, \"_timer\", null);\n      _defineProperty(this, \"_pendingPrices\", []);\n    }\n    get sortedVaultMarketData() {\n      const vaultMarketData = this.hasMany('vaultMarketData').value() ?? [];\n      // using standard ascending sort\n      return vaultMarketData.slice().sort((a, b) => a.timestamp - b.timestamp);\n    }\n    get lastMarketDatum() {\n      return this.sortedVaultMarketData[this.sortedVaultMarketData.length - 1];\n    }\n    get lastPrice() {\n      return this.lastMarketDatum?.price ?? 0;\n    }\n    get price() {\n      return this.lastPrice;\n    }\n    get scenarioPrice() {\n      return this.scenario?.price || this.price;\n    }\n    get settlementBestPrice() {\n      return this.settlementPrice || this.closePrice;\n    }\n    get dateCode() {\n      return this.getExpirationDate().format('YYMM');\n    }\n    get date() {\n      return (0, _moment.default)(this.expiration).format('YYYY-MM-01');\n    }\n    get sessionPriceChange() {\n      let current = this.delayedPrice;\n      const last = this.settlementBestPrice;\n      if (this.delayedPrice === 0) {\n        current = this.closePrice;\n      }\n      if (current > 0 && last > 0) {\n        return current - last;\n      }\n      return 0;\n    }\n    get sessionPriceChangePercentage() {\n      let current = this.delayedPrice;\n      const last = this.settlementBestPrice;\n      if (this.delayedPrice === 0) {\n        current = this.closePrice;\n      }\n      if (current > 0 && last > 0) {\n        return (current - last) / last;\n      }\n      return 0;\n    }\n    get shouldDisplay() {\n      return this.getExpirationDate().isSameOrAfter(currentRollbackMonth(), 'month');\n    }\n    get isExpired() {\n      return this.getExpirationDate().isBefore(currentRollbackMonth(), 'month');\n    }\n    get isFirstOfTheYear() {\n      return this.getExpirationDate().get('month') === 0;\n    }\n    getExpirationDate() {\n      return toUtc(this.expiration);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"product\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"vaultMarketData\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"expiration\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"externalId\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"symbol\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"type\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"optionType\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"delayedPrice\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"closePrice\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"settlementPrice\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"strike\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"bid\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"ask\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"high\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"low\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/models/vault-market-datum\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let VaultMarketDatum = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('number'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('utcdatetime'), _dec5 = (0, _model.attr)('utcdate'), _dec6 = (0, _model.attr)('boolean'), _dec7 = (0, _model.belongsTo)('vault-instrument', {\n    async: true,\n    inverse: 'vaultMarketData'\n  }), classic(_class = (_class2 = class VaultMarketDatum extends _model.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"instrumentSymbol\", _descriptor, this);\n      _initializerDefineProperty(this, \"price\", _descriptor2, this);\n      _initializerDefineProperty(this, \"side\", _descriptor3, this);\n      _initializerDefineProperty(this, \"timestamp\", _descriptor4, this);\n      _initializerDefineProperty(this, \"closeDate\", _descriptor5, this);\n      _initializerDefineProperty(this, \"final\", _descriptor6, this);\n      _initializerDefineProperty(this, \"instrument\", _descriptor7, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"instrumentSymbol\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"price\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"side\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"timestamp\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"closeDate\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"final\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"instrument\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/models/vault-product\", [\"exports\", \"@ember-data/model\", \"moment\", \"agropur-client/utils/date-utils\", \"@ember/utils\"], function (_exports, _model, _moment, _dateUtils, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/model\",0,\"moment\",0,\"agropur-client/utils/date-utils\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  const {\n    currentRollbackMonth\n  } = _dateUtils.default;\n  let VaultProduct = _exports.default = (_dec = (0, _model.attr)('string'), _dec2 = (0, _model.attr)('string'), _dec3 = (0, _model.attr)('string'), _dec4 = (0, _model.attr)('string'), _dec5 = (0, _model.attr)('string'), _dec6 = (0, _model.attr)('string'), _dec7 = (0, _model.attr)('string'), _dec8 = (0, _model.attr)('string'), _dec9 = (0, _model.attr)('string'), _dec0 = (0, _model.attr)('string'), _dec1 = (0, _model.attr)('number'), _dec10 = (0, _model.attr)('number'), _dec11 = (0, _model.attr)('string'), _dec12 = (0, _model.attr)(), _dec13 = (0, _model.attr)(), _dec14 = (0, _model.attr)(), _dec15 = (0, _model.hasMany)('vault-instrument', {\n    async: true,\n    inverse: 'product'\n  }), classic(_class = (_class2 = class VaultProduct extends _model.default {\n    constructor(...args) {\n      super(...args);\n      // externalId      : attr('number'),\n      _initializerDefineProperty(this, \"name\", _descriptor, this);\n      _initializerDefineProperty(this, \"globexSymbol\", _descriptor2, this);\n      _initializerDefineProperty(this, \"clearingSymbol\", _descriptor3, this);\n      _initializerDefineProperty(this, \"formatting\", _descriptor4, this);\n      _initializerDefineProperty(this, \"instrumentType\", _descriptor5, this);\n      _initializerDefineProperty(this, \"exchange\", _descriptor6, this);\n      _initializerDefineProperty(this, \"category\", _descriptor7, this);\n      _initializerDefineProperty(this, \"subCategory\", _descriptor8, this);\n      _initializerDefineProperty(this, \"contractUnit\", _descriptor9, this);\n      _initializerDefineProperty(this, \"contractSize\", _descriptor0, this);\n      _initializerDefineProperty(this, \"tickValue\", _descriptor1, this);\n      _initializerDefineProperty(this, \"tickSize\", _descriptor10, this);\n      _initializerDefineProperty(this, \"priceQuotation\", _descriptor11, this);\n      _initializerDefineProperty(this, \"listedContracts\", _descriptor12, this);\n      _initializerDefineProperty(this, \"tradingHours\", _descriptor13, this);\n      _initializerDefineProperty(this, \"tradingDays\", _descriptor14, this);\n      _initializerDefineProperty(this, \"vaultInstruments\", _descriptor15, this);\n    }\n    get nonExpiredFutures() {\n      const maxDate = currentRollbackMonth().add(12, 'months');\n      const map = this.get('marketData.futuresMap');\n      const exchangeLimits = {\n        CME: 12,\n        CBOT: 7\n      };\n      let resp = null;\n      if ((0, _utils.isPresent)(map)) {\n        resp = Object.keys(map).map(key => map[key][this.globexSymbol]).filter(el => el && el.get('shouldDisplay') && el.getExpirationDate).filter(el => el.getExpirationDate().isSameOrBefore(maxDate, 'month')).filter((el, idx) => idx < exchangeLimits[this.exchange] ? el : null);\n      }\n      return resp;\n    }\n    getFirstAvailableFutureId(dt) {\n      const symbol = this.globexSymbol;\n      const listed = this.listedContracts;\n      const date = (0, _moment.default)(dt);\n      let month = date.get('month');\n      let futuresMonthCode = ['F', 'G', 'H', 'J', 'K', 'M', 'N', 'Q', 'U', 'V', 'X', 'Z'][month];\n      if ((0, _utils.isEmpty)(listed)) {\n        return null;\n      }\n      if (listed.indexOf(futuresMonthCode) < 0) {\n        let iterationsCount = 0;\n        do {\n          date.add(1, 'months');\n          month = date.get('month');\n          futuresMonthCode = ['F', 'G', 'H', 'J', 'K', 'M', 'N', 'Q', 'U', 'V', 'X', 'Z'][month];\n          iterationsCount += 1;\n        } while (listed.indexOf(futuresMonthCode) < 0 && iterationsCount <= 12);\n      }\n      const suffix = date.format('YYMM');\n      return `${suffix}${symbol}F`;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"name\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"globexSymbol\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"clearingSymbol\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"formatting\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"instrumentType\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"exchange\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"category\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"subCategory\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"contractUnit\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"contractSize\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"tickValue\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"tickSize\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"priceQuotation\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"listedContracts\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, \"tradingHours\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, \"tradingDays\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, \"vaultInstruments\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/modifiers/basic-dropdown-trigger\", [\"exports\", \"ember-basic-dropdown/modifiers/basic-dropdown-trigger\"], function (_exports, _basicDropdownTrigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _basicDropdownTrigger.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-basic-dropdown/modifiers/basic-dropdown-trigger\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/modifiers/content-editable\", [\"exports\", \"ember-content-editable-modifier/modifiers/content-editable\"], function (_exports, _contentEditable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _contentEditable.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-content-editable-modifier/modifiers/content-editable\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/modifiers/style\", [\"exports\", \"ember-style-modifier/modifiers/style\"], function (_exports, _style) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _style.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-style-modifier/modifiers/style\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/router\", [\"exports\", \"@ember/routing/router\", \"agropur-client/config/environment\"], function (_exports, _router, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/router\",0,\"agropur-client/config/environment\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Router extends _router.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"location\", _environment.default.locationType);\n      _defineProperty(this, \"rootURL\", _environment.default.rootURL);\n    }\n  }\n  _exports.default = Router;\n  window.__CLASSIC_OWN_CLASSES__.set(Router, true);\n  Router.map(function () {\n    this.route('login');\n    this.route('authenticated', {\n      path: '/'\n    }, function () {\n      this.route('dashboard');\n      this.route('milk-production');\n      this.route('dairy-contacts');\n      this.route('dairy-settings');\n      this.route('dairy-notes');\n      this.route('forward-prices');\n\n      // REPORTS\n      this.route('milk-physical-position-statement');\n      this.route('basis-prices', function () {\n        this.route('detail', {\n          path: '/:symbol'\n        });\n      });\n      this.route('class-iii-hedges', function () {\n        this.route('detail', {\n          path: '/:id'\n        });\n      });\n      this.route('basis-hedges', function () {\n        this.route('detail', {\n          path: '/:id'\n        });\n      });\n      this.route('organization-members', function () {\n        this.route('member', {\n          path: '/:id'\n        });\n      });\n      this.route('organization-dairies');\n      this.route('organization-settings');\n      this.route('organization-aggregate', function () {\n        this.route('class-iii-and-basis-pl');\n        this.route('percentage-hedged');\n        this.route('production-report');\n        this.route('trade-log');\n        this.route('weighted-avg-basis-price');\n      });\n      this.route('organization', function () {\n        this.route('member', {\n          path: '/members/:member_id'\n        });\n      });\n      this.route('markets');\n      this.route('dairy', {\n        path: '/dairies/:id'\n      }, function () {\n        this.route('notes');\n        this.route('settings', function () {\n          this.route('profile');\n        });\n      });\n    });\n    this.route('callback');\n    this.route('password-reset');\n  });\n});\n","define(\"agropur-client/routes/application\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ApplicationRoute = _exports.default = classic(_class = (_class2 = class ApplicationRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    async beforeModel() {\n      await this.session.setup();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"agropur-client/graphql/queries/product-groups\", \"agropur-client/config/environment\", \"@ember/utils\"], function (_exports, _service, _route, _rsvp, _moment, _productGroups, _environment, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"agropur-client/graphql/queries/product-groups\",0,\"agropur-client/config/environment\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let AuthenticatedRoute = _exports.default = (_dec = (0, _service.inject)('market-data'), classic(_class = (_class2 = class AuthenticatedRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"authenticationRoute\", 'login');\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n      _initializerDefineProperty(this, \"apollo\", _descriptor3, this);\n      _initializerDefineProperty(this, \"marketDataPolling\", _descriptor4, this);\n      _defineProperty(this, \"queryParams\", {\n        period: {\n          refreshModel: true\n        },\n        dairy_id: {\n          refreshModel: true\n        },\n        organization_id: {\n          refreshModel: true\n        },\n        display_mode: {\n          refreshModel: true\n        }\n      });\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    async model(params) {\n      let periodDate = (0, _moment.default)(params.period, 'YYYYMM');\n      return (0, _rsvp.hash)({\n        dairies: this.store.findAll('dairy'),\n        dairy: params.dairy_id ? this.store.findRecord('dairy', params.dairy_id) : null,\n        userOrganizationConfigs: this.store.findAll('user-organization-config'),\n        organizations: this.store.findAll('organization'),\n        organization: params.organization_id ? this.store.findRecord('organization', params.organization_id) : null,\n        periodDate,\n        user: fetch(`${_environment.default.APP.HOST}/commercial_api/api/users/me`, {\n          headers: {\n            'Content-Type': 'application/json',\n            Authorization: `Bearer ${this.session.data.authenticated.access_token}`\n          }\n        }).then(response => {\n          return response.json();\n        }),\n        displayMode: params.display_mode,\n        productGroups: this.apollo.query({\n          query: _productGroups.default\n        }),\n        allBasisInstruments: this.store.findAll('vault-instrument'),\n        historicalPrices: this.store.query('historical-price', {\n          from: (0, _moment.default)(periodDate).subtract(1, 'month').format('YYYY-MM-DD'),\n          to: (0, _moment.default)(periodDate).add(2, 'years').format('YYYY-MM-DD')\n        }),\n        users: this.store.findAll('user'),\n        // This isn't actually used, but is currently needed due to Ember.js Data nuances.\n        products: this.store.findAll('vault-product')\n      });\n    }\n    async afterModel(model) {\n      if (model.productGroups) {\n        let productGroups = [];\n        let products = [];\n        let instruments = [];\n        let mostCurrentFutures = [];\n        let currentFutures = {};\n        let milkCutoffDate = (0, _moment.default)().subtract(15, 'days');\n        model.productGroups.ProductGroups.forEach(productGroup => {\n          productGroups.push({\n            id: productGroup.id,\n            description: productGroup.description\n          });\n          productGroup.Products.forEach(product => {\n            products.push({\n              id: product.id,\n              name: product.name,\n              slug: product.slug,\n              productGroup: productGroup.id\n            });\n            let sortedCurrentFutures = product.currentFutures.slice().sort((a, b) => {\n              return (0, _utils.compare)(a.expiresAt, b.expiresAt);\n            });\n            let currentFuture = sortedCurrentFutures.find(f => {\n              if (product.slug == 'us-dairy-class-iii' || product.slug == 'us-dairy-class-iv' || product.slug == 'us-dairy-nonfat-milk' || product.slug == 'us-dairy-dry-whey' || product.slug == 'us-dairy-cheese' || product.slug == 'us-dairy-butter') {\n                return (0, _moment.default)(f.displayExpiresAt).isAfter(milkCutoffDate);\n              }\n              return true;\n            });\n            if (currentFuture) {\n              mostCurrentFutures.push({\n                productName: product.name,\n                slug: product.slug,\n                instrument_id: currentFuture.id\n              });\n            }\n            currentFutures[product.slug] = product.currentFutures;\n            product.currentFutures.forEach(future => {\n              instruments.push({\n                id: future.id,\n                name: future.name,\n                velaInstrumentId: future.velaInstrumentId,\n                barchartSymbol: future.barchartSymbol,\n                expiresAt: future.expiresAt,\n                displayExpiresAt: future.displayExpiresAt,\n                exchangeSymbol: future.exchangeSymbol,\n                product: product.id,\n                productType: future.productType,\n                instrumentType: future.instrumentType\n              });\n            });\n          });\n        });\n        const classThreeProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'us-dairy-class-iii';\n        });\n        model.classThreeFutureId = classThreeProduct.instrument_id;\n        const classFourProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'us-dairy-class-iv';\n        });\n        model.classFourFutureId = classFourProduct.instrument_id;\n        const nonfatDryMilkProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'us-dairy-nonfat-milk';\n        });\n        model.nonfatDryMilkFutureId = nonfatDryMilkProduct.instrument_id;\n        const dryWheyProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'us-dairy-dry-whey';\n        });\n        model.dryWheyFutureId = dryWheyProduct.instrument_id;\n        const cashSettledCheeseProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'us-dairy-cheese';\n        });\n        model.cashSettledCheeseFutureId = cashSettledCheeseProduct.instrument_id;\n        const cashSettledButterProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'us-dairy-butter';\n        });\n        model.cashSettledButterFutureId = cashSettledButterProduct.instrument_id;\n        const cornProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'grain-corn';\n        });\n        model.cornFutureId = cornProduct.instrument_id;\n        const soybeanMealProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'grain-soybean-meal';\n        });\n        model.soybeanMealFutureId = soybeanMealProduct.instrument_id;\n        const soybeansProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'grain-soybeans';\n        });\n        model.soybeansFutureId = soybeansProduct.instrument_id;\n        const wheatProduct = mostCurrentFutures.find(product => {\n          return product.slug == 'grain-chicago-soft-red-winter-wheat';\n        });\n        model.wheatFutureId = wheatProduct.instrument_id;\n        this.store.pushPayload({\n          'modern-product-group': productGroups,\n          'modern-product': products,\n          'modern-instruments': instruments\n        });\n      }\n      model.organizations = model.organizations.slice().sort((a, b) => {\n        return (0, _utils.compare)(a.name, b.name);\n      });\n      if (!model.organization || !model.dairy) {\n        model.organization = model.organizations[0];\n        const initialDairy = model.dairies.find(e => {\n          return e.belongsTo('organizationId').id() == model.organization.id;\n        });\n        model.dairy = initialDairy;\n      }\n      model.basisInstruments = model.allBasisInstruments.filter(e => e.product.content.globexSymbol === model.organization.basisGlobexSymbol).slice().sort((a, b) => (0, _utils.compare)(a.expiration, b.expiration));\n      model.spotInstruments = model.allBasisInstruments.filter(e => e.product.content.globexSymbol === model.organization.spotGlobexSymbol).slice().sort((a, b) => (0, _utils.compare)(a.expiration, b.expiration));\n      model.endProductBasisInstruments = model.allBasisInstruments.filter(e => e.product.content.globexSymbol === model.organization.endProductBasisGlobexSymbol).slice().sort((a, b) => (0, _utils.compare)(a.expiration, b.expiration));\n      if (model.organization && model.organization.get('showAgropurBasis')) {\n        let basisSymbols = model.allBasisInstruments.map(i => {\n          return i.symbol;\n        });\n        const basisMarketData = [];\n        let currentPage = 0;\n        const pageSize = 200;\n        let currentBasisMarketData;\n        let currentBasisSymbols;\n        while (currentPage * pageSize < basisSymbols.length) {\n          currentBasisSymbols = basisSymbols.slice(currentPage * pageSize, currentPage * pageSize + pageSize);\n          currentBasisMarketData = await this.store.query('vault-market-datum', {\n            sides: ['Last', 'Close'],\n            instrument_symbols: currentBasisSymbols\n          });\n          basisMarketData.push(...currentBasisMarketData);\n          currentPage++;\n        }\n        model.basisMarketData = basisMarketData;\n      }\n      model.currentUserId = model.user.id;\n      model.fullName = `${model.user.firstName} ${model.user.lastName}`;\n      let userOrganizationConfig = model.userOrganizationConfigs.find(c => {\n        return c.belongsTo('organizationId').id() === model.organization.id && c.belongsTo('userId').id() == model.currentUserId;\n      });\n      const orgPermissions = userOrganizationConfig?.get('permissions');\n      model.isOrgAdmin = orgPermissions?.includes(300);\n      this.marketDataPolling.start();\n      this.marketDataPolling.subscribeTo(model.classThreeFutures);\n    }\n    setupController(controller, model) {\n      super.setupController(...arguments);\n      controller.set('organization_id', model.organization.id);\n      controller.set('dairy_id', model.dairy.id);\n\n      // Temporary: Due to issue with server side permissions.\n      if (model.dairy) {\n        model.manualPositions = this.store.query('manual-position', {\n          dairy_id: model.dairy.id\n        });\n      }\n      if (!model.dairy.isClickwrapAccepted && model.dairy.userId == model.currentUserId) {\n        controller.set('showClickWrap', true);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"apollo\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"marketDataPolling\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/routes/authenticated/basis-hedges/detail\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\"], function (_exports, _object, _service, _route, _rsvp, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DetailRoute = _exports.default = classic(_class = (_class2 = class DetailRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n      _initializerDefineProperty(this, \"router\", _descriptor3, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model(params) {\n      const {\n        dairy,\n        basisInstruments,\n        spotInstruments,\n        currentUserId,\n        isOrgAdmin,\n        organization\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        manualPositions: this.store.query('manual-position', {\n          dairy_id: dairy.id\n        }).then(results => results.filter(position => {\n          return position.get('product_id') === organization.spotGlobexSymbol || position.get('product_id') === organization.basisGlobexSymbol;\n        })),\n        month: this.store.findRecord('month', params.id),\n        basisInstruments,\n        spotInstruments,\n        currentUserId,\n        isOrgAdmin,\n        dairy,\n        organization\n      });\n    }\n    afterModel(model) {\n      if (model.month.belongsTo('dairy').id() != model.dairy.id) {\n        this.router.transitionTo('authenticated.class-iii-hedges');\n      }\n      let basisInstrument = model.basisInstruments.find(e => {\n        return _moment.default.utc(e.get('expiration')).isSame(model.month.date, 'month');\n      });\n      let spotInstrument = model.spotInstruments.find(e => {\n        return _moment.default.utc(e.get('expiration')).isSame(model.month.date, 'month');\n      });\n      model.month.set('agropurBasisInstrument', basisInstrument);\n      model.month.set('spotBasisInstrument', spotInstrument);\n    }\n    refreshModel() {\n      this.refresh();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"refreshModel\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"refreshModel\"), _class2.prototype), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/basis-hedges/index\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/object\", \"@ember/utils\"], function (_exports, _service, _route, _rsvp, _moment, _object, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/object\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexRoute = _exports.default = classic(_class = (_class2 = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const {\n        periodDate,\n        dairy,\n        displayMode,\n        basisInstruments,\n        spotInstruments,\n        currentUserId,\n        isOrgAdmin,\n        organization\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        periodDate,\n        displayMode,\n        classThreeFutures: this.store.peekAll('modern-instrument').filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)),\n        basisInstruments,\n        spotInstruments,\n        currentUserId,\n        isOrgAdmin,\n        manualPositions: this.store.query('manual-position', {\n          dairy_id: dairy.id\n        }).then(results => results.filter(position => {\n          return position.get('product_id') === organization.basisGlobexSymbol || position.get('product_id') === organization.spotGlobexSymbol;\n        })),\n        months: this.store.query('month', {\n          start_date: periodDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(periodDate).add(23, 'months').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        }),\n        organization\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n      let month;\n      let classThreeinstrument;\n      let basisInstrument;\n      let spotInstrument;\n      for (let i = 0; i < model.months.length; i++) {\n        month = model.months[i];\n        classThreeinstrument = model.classThreeFutures.find(e => {\n          return (0, _moment.default)(e.get('displayExpiresAt')).isSame(month.date, 'day');\n        });\n        month.set('classThreeMilkInstrument', classThreeinstrument);\n        basisInstrument = model.basisInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('agropurBasisInstrument', basisInstrument);\n        spotInstrument = model.spotInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('spotBasisInstrument', spotInstrument);\n      }\n      model.selectableMonths = model.months.map(m => {\n        return _object.default.create({\n          month: m,\n          checked: false\n        });\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/basis-prices/detail\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DetailRoute = _exports.default = classic(_class = (_class2 = class DetailRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model(params) {\n      return this.store.findRecord('vault-instrument', params.id);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/basis-prices/index\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"@glimmer/tracking\"], function (_exports, _service, _route, _rsvp, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _class2, _class3, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let AvailableInstrumentMonth = (_class = class AvailableInstrumentMonth {\n    constructor(instrument) {\n      _initializerDefineProperty(this, \"instrument\", _descriptor, this);\n      _initializerDefineProperty(this, \"updatedPrice\", _descriptor2, this);\n      this.instrument = instrument;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"instrument\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"updatedPrice\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(AvailableInstrumentMonth, true);\n  window.__CLASSIC_OWN_CLASSES__.set(AvailableInstrumentMonth, true);\n  let IndexRoute = _exports.default = classic(_class2 = (_class3 = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor3, this);\n      _initializerDefineProperty(this, \"router\", _descriptor4, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const {\n        basisInstruments,\n        endProductBasisInstruments,\n        spotInstruments,\n        allBasisInstruments,\n        basisMarketData,\n        organization,\n        isOrgAdmin\n      } = this.modelFor('authenticated');\n      if (!organization.showAgropurBasis || !isOrgAdmin) {\n        this.router.transitionTo('authenticated.dashboard');\n      }\n      return (0, _rsvp.hash)({\n        basisInstruments,\n        endProductBasisInstruments,\n        spotInstruments,\n        allBasisInstruments,\n        basisMarketData,\n        isOrgAdmin,\n        organization\n      });\n    }\n    afterModel(model) {\n      model.availableBasisInstruments = model.basisInstruments.map(ins => {\n        return new AvailableInstrumentMonth(ins);\n      });\n      model.availableEndProductBasisInstruments = model.endProductBasisInstruments.map(ins => {\n        return new AvailableInstrumentMonth(ins);\n      });\n      model.availableSpotInstruments = model.spotInstruments.map(ins => {\n        return new AvailableInstrumentMonth(ins);\n      });\n    }\n  }, _descriptor3 = _applyDecoratedDescriptor(_class3.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class3.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class3)) || _class2;\n});\n","define(\"agropur-client/routes/authenticated/class-iii-hedges/detail\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/utils\"], function (_exports, _object, _service, _route, _rsvp, _moment, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DetailRoute = _exports.default = classic(_class = (_class2 = class DetailRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n      _initializerDefineProperty(this, \"router\", _descriptor3, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model(params) {\n      const {\n        dairy,\n        currentUserId,\n        isOrgAdmin\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        manualPositions: this.store.query('manual-position', {\n          dairy_id: dairy.id,\n          product_id: 'DC'\n        }),\n        month: this.store.findRecord('month', params.id),\n        classThreeFutures: this.store.peekAll('modern-instrument').filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)),\n        currentUserId,\n        isOrgAdmin,\n        dairy\n      });\n    }\n    afterModel(model) {\n      // Make sure the dairy and month hasn't diverged.\n      if (model.month.belongsTo('dairy').id() != model.dairy.id) {\n        this.router.transitionTo('authenticated.class-iii-hedges');\n      }\n      let instrument = model.classThreeFutures.find(e => {\n        return (0, _moment.default)(e.get('displayExpiresAt')).isSame(model.month.date, 'day');\n      });\n      model.month.set('classThreeMilkInstrument', instrument);\n    }\n    refreshModel() {\n      this.refresh();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"refreshModel\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"refreshModel\"), _class2.prototype), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/class-iii-hedges/index\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/object\", \"@ember/utils\"], function (_exports, _service, _route, _rsvp, _moment, _object, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/object\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexRoute = _exports.default = classic(_class = (_class2 = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const {\n        periodDate,\n        dairy,\n        displayMode,\n        currentUserId,\n        isOrgAdmin\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        periodDate,\n        displayMode,\n        classThreeFutures: this.store.peekAll('modern-instrument').filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)),\n        currentUserId,\n        isOrgAdmin,\n        months: this.store.query('month', {\n          start_date: periodDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(periodDate).add(2, 'years').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        })\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n      let month;\n      let instrument;\n      for (let i = 0; i < model.months.length; i++) {\n        month = model.months[i];\n        instrument = model.classThreeFutures.find(e => {\n          return (0, _moment.default)(e.get('displayExpiresAt')).isSame(month.date, 'day');\n        });\n        month.set('classThreeMilkInstrument', instrument);\n      }\n      model.selectableMonths = model.months.map(m => {\n        return _object.default.create({\n          month: m,\n          checked: false\n        });\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/dairy-contacts\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"@ember/service\"], function (_exports, _route, _rsvp, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairyContractsRoute = _exports.default = classic(_class = (_class2 = class DairyContractsRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n    }\n    model() {\n      let {\n        dairy,\n        organization,\n        isOrgAdmin\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        dairy,\n        organization,\n        isOrgAdmin,\n        contacts: this.store.query('dairy-contact', {\n          dairy: dairy.id\n        })\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/dairy-notes\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"@ember/service\"], function (_exports, _route, _rsvp, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairyNotesRoute = _exports.default = classic(_class = (_class2 = class DairyNotesRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        dairy,\n        organization\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        dairy,\n        organization\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/dairy-settings\", [\"exports\", \"rsvp\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _rsvp, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"rsvp\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairySettingsRoute = _exports.default = classic(_class = (_class2 = class DairySettingsRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        dairy,\n        organization\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        dairy,\n        organization\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/dairy\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairyRoute = _exports.default = classic(_class = (_class2 = class DairyRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"session\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model(params) {\n      return this.store.findRecord('dairy', params.id);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/dairy/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexRoute = _exports.default = classic(_class = (_class2 = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    redirect() {\n      this.router.transitionTo('dairy.profile');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/dashboard\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/service\", \"@ember/utils\"], function (_exports, _route, _rsvp, _moment, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DashboardRoute = _exports.default = classic(_class = (_class2 = class DashboardRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const application = this.modelFor('authenticated');\n      const {\n        displayMode,\n        dairy,\n        organization,\n        basisInstruments\n      } = application;\n\n      // Show the previous month for the first week of the new month.\n      let startDate = (0, _moment.default)().date() < 8 ? (0, _moment.default)().startOf('month').subtract(1, 'month') : (0, _moment.default)().startOf('month');\n      const instruments = this.store.peekAll('modern-instrument');\n      return (0, _rsvp.hash)({\n        displayMode,\n        organization,\n        months: this.store.query('month', {\n          start_date: startDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(startDate).add(23, 'months').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        }),\n        classThreeFuture: this.store.peekRecord('modern-instrument', application.classThreeFutureId),\n        classFourFuture: this.store.peekRecord('modern-instrument', application.classFourFutureId),\n        dryWheyFuture: this.store.peekRecord('modern-instrument', application.dryWheyFutureId),\n        cashSettledCheeseFuture: this.store.peekRecord('modern-instrument', application.cashSettledCheeseFutureId),\n        nonfatDryMilkFuture: this.store.peekRecord('modern-instrument', application.nonfatDryMilkFutureId),\n        cashSettledButterFuture: this.store.peekRecord('modern-instrument', application.cashSettledButterFutureId),\n        soybeanMealFuture: this.store.peekRecord('modern-instrument', application.soybeanMealFutureId),\n        cornFuture: this.store.peekRecord('modern-instrument', application.cornFutureId),\n        soybeanFuture: this.store.peekRecord('modern-instrument', application.soybeansFutureId),\n        wheatFuture: this.store.peekRecord('modern-instrument', application.wheatFutureId),\n        classThreeFutures: instruments.filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)),\n        basisInstruments\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n      let month;\n      let instrument;\n      let basisInstrument;\n      for (let i = 0; i < model.months.length; i++) {\n        month = model.months[i];\n        instrument = model.classThreeFutures.find(e => {\n          return (0, _moment.default)(e.get('displayExpiresAt')).isSame(month.date, 'day');\n        });\n        month.set('classThreeMilkInstrument', instrument);\n        basisInstrument = model.basisInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('agropurBasisInstrument', basisInstrument);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/forward-prices\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/service\", \"@ember/utils\"], function (_exports, _route, _rsvp, _moment, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ForwardPricesRoute = _exports.default = classic(_class = (_class2 = class ForwardPricesRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const {\n        periodDate,\n        dairy,\n        displayMode,\n        organization,\n        basisInstruments,\n        endProductBasisInstruments,\n        spotInstruments\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        periodDate,\n        displayMode,\n        classThreeFutures: this.store.peekAll('modern-instrument').filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)),\n        organization,\n        basisInstruments,\n        endProductBasisInstruments,\n        spotInstruments,\n        months: this.store.query('month', {\n          start_date: periodDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(periodDate).add(23, 'months').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        })\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n      let month;\n      let classThreeinstrument;\n      let basisInstrument;\n      let endProductBasisInstrument;\n      let spotInstrument;\n      for (let i = 0; i < model.months.length; i++) {\n        month = model.months[i];\n        classThreeinstrument = model.classThreeFutures.find(e => {\n          return (0, _moment.default)(e.get('displayExpiresAt')).isSame(month.date, 'day');\n        });\n        month.set('classThreeMilkInstrument', classThreeinstrument);\n        basisInstrument = model.basisInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('agropurBasisInstrument', basisInstrument);\n        endProductBasisInstrument = model.endProductBasisInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('endProductBasisInstrument', endProductBasisInstrument);\n        spotInstrument = model.spotInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('spotBasisInstrument', spotInstrument);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexRoute = _exports.default = classic(_class = (_class2 = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n    }\n    beforeModel /* transition */() {\n      this.router.transitionTo('authenticated.dashboard'); // Implicitly aborts the on-going transition.\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/markets\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"@ember/service\", \"@ember/utils\"], function (_exports, _route, _rsvp, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MarketsRoute = _exports.default = classic(_class = (_class2 = class MarketsRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let instruments = this.store.peekAll('modern-instrument');\n      return _rsvp.default.hash({\n        classThreeFutures: instruments.filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 12),\n        classFourFutures: instruments.filter(i => {\n          return i.name.includes('Class IV') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 12),\n        dryWheyFutures: instruments.filter(i => {\n          return i.name.includes('Dry Whey US') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 12),\n        cashSettledCheeseFutures: instruments.filter(i => {\n          return i.name.includes('Cheese') && !i.name.includes('Block') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 12),\n        nonfatDryMilkFutures: instruments.filter(i => {\n          return i.name.includes('Nonfat Milk') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 12),\n        cashSettledButterFutures: instruments.filter(i => {\n          // This isn't very robust.\n          return i.name.includes('Butter US') && !i.name.includes('European') && !i.name.includes('Global') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 12),\n        cornFutures: instruments.filter(i => {\n          return i.name.includes('Corn') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 7),\n        soybeanMealFutures: instruments.filter(i => {\n          return i.name.includes('Soybean Meal') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 7),\n        soybeanFutures: instruments.filter(i => {\n          return i.name.includes('Soybeans') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 7),\n        wheatFutures: instruments.filter(i => {\n          return i.name.includes('Chicago Soft Red Winter Wheat') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 7),\n        liveCattleFutures: instruments.filter(i => {\n          return i.name.includes('Live Cattle') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)).slice(0, 7),\n        cheeseBarrel: this.store.findRecord('barchart-market-datum', 'C3Y00'),\n        cheeseBlock: this.store.findRecord('barchart-market-datum', 'C4Y00'),\n        spotButter: this.store.findRecord('barchart-market-datum', 'C5Y00'),\n        spotNonfat: this.store.findRecord('barchart-market-datum', 'C4Y00')\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/milk-hedges\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/service\", \"@ember/utils\"], function (_exports, _route, _rsvp, _moment, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MilkHedgesRoute = _exports.default = classic(_class = (_class2 = class MilkHedgesRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const {\n        periodDate,\n        dairy,\n        organization\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        periodDate,\n        organization,\n        months: this.store.query('month', {\n          start_date: periodDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(periodDate).add(23, 'months').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        })\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/milk-physical-position-statement\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/service\", \"@ember/utils\"], function (_exports, _route, _rsvp, _moment, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/service\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MilkPhysicalPositionStatementRoute = _exports.default = classic(_class = (_class2 = class MilkPhysicalPositionStatementRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const {\n        periodDate,\n        dairy,\n        organization,\n        basisInstruments\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        periodDate,\n        organization,\n        months: this.store.query('month', {\n          start_date: periodDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(periodDate).add(23, 'months').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        }),\n        manualPositions: this.store.query('manual-position', {\n          dairy_id: dairy.id\n        }),\n        basisInstruments,\n        classThreeFutures: this.store.peekAll('modern-instrument').filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt))\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n      let month;\n      let classThreeinstrument;\n      let basisInstrument;\n      for (let i = 0; i < model.months.length; i++) {\n        month = model.months[i];\n        classThreeinstrument = model.classThreeFutures.find(e => {\n          return (0, _moment.default)(e.get('displayExpiresAt')).isSame(month.date, 'day');\n        });\n        month.set('classThreeMilkInstrument', classThreeinstrument);\n        basisInstrument = model.basisInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('agropurBasisInstrument', basisInstrument);\n      }\n      model.manualPositions = model.manualPositions.filter(m => {\n        return (0, _moment.default)(m.get('month_id.date')).isSameOrAfter((0, _moment.default)().subtract(1, 'month'));\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/milk-production\", [\"exports\", \"@ember/object\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/utils\"], function (_exports, _object, _service, _route, _rsvp, _moment, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MilkProductionRoute = _exports.default = classic(_class = (_class2 = class MilkProductionRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    async model() {\n      const {\n        periodDate,\n        dairy,\n        organization,\n        isOrgAdmin\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        periodDate,\n        organization,\n        isOrgAdmin,\n        months: this.store.query('month', {\n          start_date: periodDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(periodDate).add(2, 'years').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        })\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n    }\n    refreshModel() {\n      this.refresh();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"refreshModel\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"refreshModel\"), _class2.prototype), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/milk-revenue-report\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/utils\"], function (_exports, _service, _route, _rsvp, _moment, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MilkRevenueReportRoute = _exports.default = classic(_class = (_class2 = class MilkRevenueReportRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      const {\n        periodDate,\n        dairy,\n        displayMode,\n        organization,\n        basisInstruments\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        periodDate,\n        displayMode,\n        classThreeFutures: this.store.peekAll('modern-instrument').filter(i => {\n          return i.name.includes('Class III') && i.productType == 'Future';\n        }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt)),\n        basisInstruments,\n        organization,\n        months: this.store.query('month', {\n          start_date: periodDate.format('YYYY-MM-DD'),\n          end_date: (0, _moment.default)(periodDate).add(23, 'months').format('YYYY-MM-DD'),\n          dairy_id: dairy.id\n        })\n      });\n    }\n    afterModel(model) {\n      model.months = model.months.slice().sort((a, b) => (0, _utils.compare)(a.date, b.date));\n      let month;\n      let classThreeinstrument;\n      let basisInstrument;\n      for (let i = 0; i < model.months.length; i++) {\n        month = model.months[i];\n        classThreeinstrument = model.classThreeFutures.find(e => {\n          return (0, _moment.default)(e.get('displayExpiresAt')).isSame(month.date, 'day');\n        });\n        month.set('classThreeMilkInstrument', classThreeinstrument);\n        basisInstrument = model.basisInstruments.find(e => {\n          return _moment.default.utc(e.get('expiration')).isSame(month.date, 'month');\n        });\n        month.set('agropurBasisInstrument', basisInstrument);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/organization-aggregate\", [\"exports\", \"@ember/routing/route\", \"agropur-client/config/environment\", \"@ember/service\", \"rsvp\", \"moment\", \"@ember/utils\", \"tracked-built-ins\", \"@glimmer/tracking\"], function (_exports, _route, _environment, _service, _rsvp, _moment, _utils, _trackedBuiltIns, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _class2, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _class3, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _class4, _descriptor44, _descriptor45;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"agropur-client/config/environment\",0,\"@ember/service\",0,\"rsvp\",0,\"moment\",0,\"@ember/utils\",0,\"tracked-built-ins\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let AggregationTrade = (_class = class AggregationTrade {\n    constructor(p) {\n      _initializerDefineProperty(this, \"deleted\", _descriptor, this);\n      _initializerDefineProperty(this, \"id\", _descriptor2, this);\n      _initializerDefineProperty(this, \"isLong\", _descriptor3, this);\n      _initializerDefineProperty(this, \"tradeType\", _descriptor4, this);\n      _initializerDefineProperty(this, \"price\", _descriptor5, this);\n      _initializerDefineProperty(this, \"productId\", _descriptor6, this);\n      _initializerDefineProperty(this, \"quantity\", _descriptor7, this);\n      _initializerDefineProperty(this, \"strike\", _descriptor8, this);\n      _initializerDefineProperty(this, \"timestamp\", _descriptor9, this);\n      _initializerDefineProperty(this, \"type\", _descriptor0, this);\n      _initializerDefineProperty(this, \"userId\", _descriptor1, this);\n      _initializerDefineProperty(this, \"instrumentId\", _descriptor10, this);\n      _initializerDefineProperty(this, \"broker\", _descriptor11, this);\n      _initializerDefineProperty(this, \"organization\", _descriptor12, this);\n      _initializerDefineProperty(this, \"dairy\", _descriptor13, this);\n      _initializerDefineProperty(this, \"producerName\", _descriptor14, this);\n      _initializerDefineProperty(this, \"expiration\", _descriptor15, this);\n      _initializerDefineProperty(this, \"producerId\", _descriptor16, this);\n      this.id = p.id;\n      this.dairy = p.dairy;\n      this.deleted = p.deleted;\n      this.productId = p.productId;\n      this.quantity = p.quantity;\n      this.strike = p.strike;\n      this.timestamp = p.timestamp;\n      this.type = p.type;\n      this.broker = p.broker;\n      this.instrumentId = p.instrumentId;\n      this.price = p.price;\n      this.productId = p.productId;\n      this.tradeType = p.positionType;\n      this.isLong = p.long;\n      this.organization = p.organization;\n      this.userId = p.userId;\n      this.producerName = p.producerName;\n      this.expiration = p.expiration;\n      this.producerId = p.producerId;\n    }\n    get currentPrice() {\n      const {\n        month\n      } = this.dairy;\n      let basisPrice = month.basisInstrument ? month.basisInstrument.price : 0;\n      let spotPrice = month.spotInstrument ? month.spotInstrument.price : 0;\n      let classThreePrice = month.classThreePrice ? month.classThreePrice : 0;\n      let outrightPrice = null;\n      const isSpotPriceSet = month.spotInstrument?.lastMarketDatum != null;\n      outrightPrice = this.productId === this.organization.basisGlobexSymbol ? isSpotPriceSet ? spotPrice : basisPrice : this.productId === 'DC' ? classThreePrice : null;\n      switch (this.type) {\n        case 'CALL':\n          return this.strike < outrightPrice ? outrightPrice - this.strike : 0;\n        case 'PUT':\n          return this.strike > outrightPrice ? this.strike - outrightPrice : 0;\n        default:\n          return outrightPrice;\n      }\n    }\n    get pl() {\n      return this.isLong ? this.currentPrice - this.price : this.price - this.currentPrice;\n    }\n    get hedgeAdjustment() {\n      return this.quantity / 100 * this.pl;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"deleted\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"id\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isLong\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"tradeType\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"price\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"productId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"quantity\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"strike\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"timestamp\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"type\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"userId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"instrumentId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"broker\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"organization\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"dairy\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"producerName\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"expiration\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"producerId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _class);\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(AggregationTrade, true);\n  window.__CLASSIC_OWN_CLASSES__.set(AggregationTrade, true);\n  let AggregationDairy = (_class2 = class AggregationDairy {\n    constructor(d) {\n      _initializerDefineProperty(this, \"id\", _descriptor17, this);\n      _initializerDefineProperty(this, \"producerId\", _descriptor18, this);\n      _initializerDefineProperty(this, \"name\", _descriptor19, this);\n      _initializerDefineProperty(this, \"date\", _descriptor20, this);\n      _initializerDefineProperty(this, \"plannedProduction\", _descriptor21, this);\n      _initializerDefineProperty(this, \"actualProduction\", _descriptor22, this);\n      _initializerDefineProperty(this, \"productionDifference\", _descriptor23, this);\n      _initializerDefineProperty(this, \"productionPercentageDifference\", _descriptor24, this);\n      _initializerDefineProperty(this, \"dairy\", _descriptor25, this);\n      _initializerDefineProperty(this, \"organization\", _descriptor26, this);\n      _initializerDefineProperty(this, \"trades\", _descriptor27, this);\n      _initializerDefineProperty(this, \"month\", _descriptor28, this);\n      _initializerDefineProperty(this, \"expanded\", _descriptor29, this);\n      this.month = d.month;\n      this.id = d.dairyId;\n      this.producerId = d.producerId;\n      this.name = d.dairyName;\n      this.date = d.date;\n      this.organization = d.organization;\n      this.plannedProduction = d.production.totalProduction;\n      this.actualProduction = d.production.actualProduction;\n      this.productionDifference = d.production.actualProduction - d.production.totalProduction;\n      this.productionPercentageDifference = this.productionDifference / this.plannedProduction;\n      let trade;\n      d.positions.forEach(p => {\n        p.producerId = this.producerId;\n        p.producerName = this.name;\n        p.expiration = this.date;\n        p.organization = this.organization;\n        p.dairy = this;\n        trade = new AggregationTrade(p);\n        this.trades.push(trade);\n      });\n    }\n    get basisPrice() {\n      return this.month.basisInstrument?.price;\n    }\n    get classThreeTrades() {\n      return this.trades.filter(t => {\n        return t.productId == 'DC';\n      });\n    }\n    get classThreePoundsHedged() {\n      let putPounds = 0;\n      let callPounds = 0;\n      let forwardPounds = 0;\n      this.classThreeTrades.forEach(t => {\n        if (t.type == 'FORWARD') {\n          forwardPounds += t.quantity;\n        }\n        if (t.type == 'PUT') {\n          putPounds += t.quantity;\n        }\n        if (t.type == 'CALL') {\n          callPounds += t.quantity;\n        }\n      });\n      return forwardPounds + (putPounds > callPounds ? putPounds : callPounds);\n    }\n    get classThreePercentageHedged() {\n      return this.plannedProduction ? this.classThreePoundsHedged / this.plannedProduction : 0;\n    }\n    get averageClassThreePrice() {\n      let weight;\n      let price = 0;\n      this.classThreeTrades.forEach(t => {\n        weight = t.quantity / this.classThreePoundsHedged;\n        price += weight * t.price;\n      });\n      return price;\n    }\n    get basisTrades() {\n      return this.trades.filter(t => {\n        return t.productId == this.organization.basisGlobexSymbol || t.productId === this.organization.spotGlobexSymbol;\n      });\n    }\n    get basisPoundsHedged() {\n      let pounds = 0;\n      this.basisTrades.forEach(t => {\n        pounds += t.quantity;\n      });\n      return pounds;\n    }\n    get basisPercentageHedged() {\n      return this.plannedProduction ? this.basisPoundsHedged / this.plannedProduction : 0;\n    }\n    get totalPoundsHedged() {\n      return this.classThreePoundsHedged + this.basisPoundsHedged;\n    }\n    get averageBasisPrice() {\n      let weight;\n      let price = 0;\n      this.basisTrades.forEach(t => {\n        weight = t.quantity / this.basisPoundsHedged;\n        price += weight * t.price;\n      });\n      return price;\n    }\n    get weightedAvgPrice() {\n      let poundsNotHedged = this.plannedProduction - this.basisPoundsHedged;\n      const {\n        basisPrice = 0\n      } = this;\n      return (this.averageBasisPrice * this.basisPoundsHedged + basisPrice * poundsNotHedged) / this.plannedProduction;\n    }\n    get actualWeightedAvgPrice() {\n      if (this.actualProduction) {\n        let poundsNotHedged = this.actualProduction - this.basisPoundsHedged;\n        const {\n          basisPrice = 0\n        } = this;\n        return (this.averageBasisPrice * this.basisPoundsHedged + basisPrice * poundsNotHedged) / this.actualProduction;\n      } else {\n        return null;\n      }\n    }\n    get classThreeHedgeAdjustment() {\n      return this.classThreeTrades.reduce((acc, cur) => {\n        return acc + cur.hedgeAdjustment;\n      }, 0);\n    }\n    get basisHedgeAdjustment() {\n      return this.basisTrades.reduce((acc, cur) => {\n        return acc + cur.hedgeAdjustment;\n      }, 0);\n    }\n    get netHedgeAdjustment() {\n      return this.classThreeHedgeAdjustment + this.basisHedgeAdjustment;\n    }\n  }, _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, \"id\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, \"producerId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, \"name\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, \"date\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, \"plannedProduction\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor22 = _applyDecoratedDescriptor(_class2.prototype, \"actualProduction\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor23 = _applyDecoratedDescriptor(_class2.prototype, \"productionDifference\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor24 = _applyDecoratedDescriptor(_class2.prototype, \"productionPercentageDifference\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor25 = _applyDecoratedDescriptor(_class2.prototype, \"dairy\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor26 = _applyDecoratedDescriptor(_class2.prototype, \"organization\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor27 = _applyDecoratedDescriptor(_class2.prototype, \"trades\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return new _trackedBuiltIns.TrackedArray([]);\n    }\n  }), _descriptor28 = _applyDecoratedDescriptor(_class2.prototype, \"month\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor29 = _applyDecoratedDescriptor(_class2.prototype, \"expanded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class2);\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(AggregationDairy, true);\n  window.__CLASSIC_OWN_CLASSES__.set(AggregationDairy, true);\n  let MonthAggregation = (_class3 = class MonthAggregation {\n    constructor(m) {\n      _initializerDefineProperty(this, \"id\", _descriptor30, this);\n      _initializerDefineProperty(this, \"organizationId\", _descriptor31, this);\n      _initializerDefineProperty(this, \"dairies\", _descriptor32, this);\n      _initializerDefineProperty(this, \"selectedDairies\", _descriptor33, this);\n      _initializerDefineProperty(this, \"date\", _descriptor34, this);\n      _initializerDefineProperty(this, \"basisInstrument\", _descriptor35, this);\n      _initializerDefineProperty(this, \"spotInstrument\", _descriptor36, this);\n      _initializerDefineProperty(this, \"classThreeFuture\", _descriptor37, this);\n      _initializerDefineProperty(this, \"historicalPrices\", _descriptor38, this);\n      _initializerDefineProperty(this, \"cowsInMilk\", _descriptor39, this);\n      _initializerDefineProperty(this, \"historicalPriceId\", _descriptor40, this);\n      _initializerDefineProperty(this, \"production\", _descriptor41, this);\n      _initializerDefineProperty(this, \"updatedAt\", _descriptor42, this);\n      _initializerDefineProperty(this, \"expanded\", _descriptor43, this);\n      this.id = m.id;\n      this.organizationId = m.organizationId;\n      this.date = m.date;\n      this.historicalPriceId = m.historicalPriceId;\n      this.cowsInMilk = m.cowsInMilk;\n      this.production = m.production;\n      this.updatedAt = m.updatedAt;\n      let sortedDairies = m.dairies.sort((a, b) => {\n        if (a.producerId > b.producerId) {\n          return 1;\n        }\n        if (a.producerId < b.producerId) {\n          return -1;\n        }\n        return 0;\n      });\n      let dairy;\n      sortedDairies.forEach(d => {\n        d.date = this.date;\n        d.organization = m.organization;\n        d.month = this;\n        dairy = new AggregationDairy(d);\n        this.dairies.push(dairy);\n      });\n    }\n    get filteredDairies() {\n      if (this.selectedDairies && this.selectedDairies.length > 0) {\n        let dairyIds = this.selectedDairies.map(({\n          id\n        }) => id);\n        return this.dairies.filter(d => {\n          return dairyIds.find(f => {\n            return f == d.id;\n          });\n        });\n      } else {\n        return this.dairies;\n      }\n    }\n    get classThreePrice() {\n      let historicalPrice = this.historicalPrices && this.historicalPrices.classThree ? this.historicalPrices.classThree : null;\n      let futurePrice = this.classThreeFuture && this.classThreeFuture.lastPrice ? this.classThreeFuture.lastPrice : null;\n      return historicalPrice ? historicalPrice : futurePrice;\n    }\n    get plannedProduction() {\n      return this.filteredDairies.reduce((acc, cur) => {\n        return acc + cur.plannedProduction;\n      }, 0);\n    }\n    get actualProduction() {\n      return this.filteredDairies.reduce((acc, cur) => {\n        return acc + cur.actualProduction;\n      }, 0);\n    }\n    get productionDifference() {\n      return this.actualProduction - this.plannedProduction;\n    }\n    get productionPercentageDifference() {\n      return this.plannedProduction ? this.productionDifference / this.plannedProduction : 0;\n    }\n    get trades() {\n      return this.filteredDairies.flatMap(d => {\n        return d.trades;\n      });\n    }\n    get classThreePoundsHedged() {\n      return this.filteredDairies.reduce((arr, cur) => {\n        return arr + cur.classThreePoundsHedged;\n      }, 0);\n    }\n    get classThreePercentageHedged() {\n      return this.plannedProduction ? this.classThreePoundsHedged / this.plannedProduction : 0;\n    }\n    get basisPoundsHedged() {\n      return this.filteredDairies.reduce((arr, cur) => {\n        return arr + cur.basisPoundsHedged;\n      }, 0);\n    }\n    get basisPercentageHedged() {\n      return this.basisPoundsHedged / this.plannedProduction;\n    }\n    get averageBasisPrice() {\n      let weight;\n      let price = 0;\n      this.filteredDairies.forEach(dairy => {\n        weight = dairy.basisPoundsHedged / this.basisPoundsHedged;\n        price += weight * dairy.averageBasisPrice;\n      });\n      return price;\n    }\n    get weightedAvgPrice() {\n      let poundsNotHedged = this.plannedProduction - this.basisPoundsHedged;\n      let basisPrice = this.basisInstrument ? this.basisInstrument.price : 0;\n      return (this.averageBasisPrice * this.basisPoundsHedged + basisPrice * poundsNotHedged) / this.plannedProduction;\n    }\n    get actualWeightedAvgPrice() {\n      if (this.actualProduction) {\n        let poundsNotHedged = this.actualProduction - this.basisPoundsHedged;\n        let basisPrice = this.basisInstrument ? this.basisInstrument.price : 0;\n        return (this.averageBasisPrice * this.basisPoundsHedged + basisPrice * poundsNotHedged) / this.actualProduction;\n      } else {\n        return null;\n      }\n    }\n    get classThreeHedgeAdjustment() {\n      return this.filteredDairies.reduce((acc, cur) => {\n        return acc + cur.classThreeHedgeAdjustment;\n      }, 0);\n    }\n    get basisHedgeAdjustment() {\n      return this.filteredDairies.reduce((acc, cur) => {\n        return acc + cur.basisHedgeAdjustment;\n      }, 0);\n    }\n    get netHedgeAdjustment() {\n      return this.filteredDairies.reduce((acc, cur) => {\n        return acc + cur.netHedgeAdjustment;\n      }, 0);\n    }\n  }, _descriptor30 = _applyDecoratedDescriptor(_class3.prototype, \"id\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor31 = _applyDecoratedDescriptor(_class3.prototype, \"organizationId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor32 = _applyDecoratedDescriptor(_class3.prototype, \"dairies\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return new _trackedBuiltIns.TrackedArray([]);\n    }\n  }), _descriptor33 = _applyDecoratedDescriptor(_class3.prototype, \"selectedDairies\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return new _trackedBuiltIns.TrackedArray([]);\n    }\n  }), _descriptor34 = _applyDecoratedDescriptor(_class3.prototype, \"date\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor35 = _applyDecoratedDescriptor(_class3.prototype, \"basisInstrument\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor36 = _applyDecoratedDescriptor(_class3.prototype, \"spotInstrument\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor37 = _applyDecoratedDescriptor(_class3.prototype, \"classThreeFuture\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor38 = _applyDecoratedDescriptor(_class3.prototype, \"historicalPrices\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor39 = _applyDecoratedDescriptor(_class3.prototype, \"cowsInMilk\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor40 = _applyDecoratedDescriptor(_class3.prototype, \"historicalPriceId\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor41 = _applyDecoratedDescriptor(_class3.prototype, \"production\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor42 = _applyDecoratedDescriptor(_class3.prototype, \"updatedAt\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor43 = _applyDecoratedDescriptor(_class3.prototype, \"expanded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class3.prototype, \"filteredDairies\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class3.prototype, \"filteredDairies\"), _class3.prototype), _class3);\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(MonthAggregation, true);\n  window.__CLASSIC_OWN_CLASSES__.set(MonthAggregation, true);\n  let OrganizationAggregateRoute = _exports.default = (_class4 = class OrganizationAggregateRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor44, this);\n      _initializerDefineProperty(this, \"store\", _descriptor45, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    async model() {\n      let {\n        organization,\n        basisInstruments,\n        historicalPrices,\n        spotInstruments\n      } = this.modelFor('authenticated');\n      const classThreeFutures = await this.store.peekAll('modern-instrument').filter(i => {\n        return i.name.includes('Class III') && i.productType == 'Future';\n      }).slice().sort((a, b) => (0, _utils.compare)(a.displayExpiresAt, b.displayExpiresAt));\n      return (0, _rsvp.hash)({\n        organization,\n        basisInstruments,\n        historicalPrices,\n        spotInstruments,\n        classThreeFutures,\n        initialAggregateData: fetch(`${_environment.default.APP.HOST}/commercial_api/api/aggregation/organization/${organization.id}`, {\n          headers: {\n            Authorization: `Bearer ${this.session.data.authenticated.access_token}`\n          }\n        }).then(function (response) {\n          return response.json();\n        })\n      });\n    }\n    afterModel(model) {\n      let arr = new _trackedBuiltIns.TrackedArray([]);\n      let ins;\n      let month;\n      model.initialAggregateData.forEach(m => {\n        delete m.actualProduction;\n        m.organization = model.organization;\n        month = new MonthAggregation(m);\n        ins = model.basisInstruments.find(e => {\n          return e && m && e.date == m.date;\n        });\n        month.basisInstrument = ins;\n        ins = model.spotInstruments.find(e => {\n          return e && m && e.date == m.date;\n        });\n        month.spotInstrument = ins;\n        ins = model.classThreeFutures.find(e => {\n          return (0, _moment.default)(e.displayExpiresAt).utc().isSame(m.date, 'day');\n        });\n        month.classThreeFuture = ins;\n        ins = model.historicalPrices.find(e => {\n          return e && m && e.date == m.date;\n        });\n        month.historicalPrices = ins;\n        arr.push(month);\n      });\n      model.aggregateData = arr;\n    }\n  }, _descriptor44 = _applyDecoratedDescriptor(_class4.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor45 = _applyDecoratedDescriptor(_class4.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class4);\n});\n","define(\"agropur-client/routes/authenticated/organization-aggregate/class-iii-and-basis-pl\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"rsvp\", \"moment\"], function (_exports, _route, _service, _rsvp, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"@ember/service\",0,\"rsvp\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ClassIiiAndBasisPlRoute = _exports.default = (_class = class ClassIiiAndBasisPlRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        organization,\n        periodDate,\n        isOrgAdmin\n      } = this.modelFor('authenticated');\n      let {\n        aggregateData\n      } = this.modelFor('authenticated.organization-aggregate');\n      let monthAggregateData = aggregateData.find(m => {\n        return (0, _moment.default)(m.date).isSame(periodDate);\n      });\n      monthAggregateData?.selectedDairies?.splice(0, monthAggregateData.selectedDairies.length);\n      return (0, _rsvp.hash)({\n        organization,\n        periodDate,\n        monthAggregateData,\n        isOrgAdmin,\n        dairies: this.store.query('dairy', {\n          organization_id: organization.get('id')\n        })\n      });\n    }\n    resetController(controller) {\n      controller.selectedDairies.splice(0, controller.selectedDairies.length);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/routes/authenticated/organization-aggregate/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexRoute = _exports.default = classic(_class = (_class2 = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n    }\n    beforeModel /* transition */() {\n      this.router.transitionTo('authenticated.organization-aggregate.class-iii-and-basis-pl'); // Implicitly aborts the on-going transition.\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/organization-aggregate/percentage-hedged\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\"], function (_exports, _service, _route, _rsvp, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let PercentageHedgedRoute = _exports.default = classic(_class = (_class2 = class PercentageHedgedRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        organization,\n        periodDate\n      } = this.modelFor('authenticated');\n      let {\n        aggregateData\n      } = this.modelFor('authenticated.organization-aggregate');\n      const aggregateMonths = aggregateData.filter(m => {\n        const d = (0, _moment.default)(m.date);\n        const end = (0, _moment.default)(periodDate).add(2, 'years');\n        return d.isSameOrAfter(periodDate) && d.isBefore(end);\n      });\n      aggregateMonths.forEach(m => {\n        m.selectedDairies.splice(0, m.selectedDairies.length);\n      });\n      const sortedMonths = aggregateMonths.sort((a, b) => {\n        if (a.date > b.date) {\n          return 1;\n        }\n        if (a.date < b.date) {\n          return -1;\n        }\n        return 0;\n      });\n      return (0, _rsvp.hash)({\n        organization,\n        periodDate,\n        dairies: this.store.query('dairy', {\n          organization_id: organization.get('id')\n        }),\n        sortedMonths\n      });\n    }\n    resetController(controller) {\n      controller.selectedDairies.splice(0, controller.selectedDairies.length);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/organization-aggregate/production-report\", [\"exports\", \"@ember/routing/route\", \"rsvp\", \"moment\", \"@ember/service\"], function (_exports, _route, _rsvp, _moment, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ProductionReportRoute = _exports.default = (_class = class ProductionReportRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        organization,\n        periodDate\n      } = this.modelFor('authenticated');\n      let {\n        aggregateData\n      } = this.modelFor('authenticated.organization-aggregate');\n      const aggregateMonths = aggregateData.filter(m => {\n        const d = (0, _moment.default)(m.date);\n        const end = (0, _moment.default)(periodDate).add(2, 'years');\n        return d.isSameOrAfter(periodDate) && d.isBefore(end);\n      });\n      aggregateMonths.forEach(m => {\n        m.selectedDairies.splice(0, m.selectedDairies.length);\n      });\n      const sortedMonths = aggregateMonths.sort((a, b) => {\n        if (a.date > b.date) {\n          return 1;\n        }\n        if (a.date < b.date) {\n          return -1;\n        }\n        return 0;\n      });\n      return (0, _rsvp.hash)({\n        organization,\n        periodDate,\n        sortedMonths,\n        dairies: this.store.query('dairy', {\n          organization_id: organization.id\n        })\n      });\n    }\n    resetController(controller) {\n      controller.selectedDairies.splice(0, controller.selectedDairies.length);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/routes/authenticated/organization-aggregate/trade-log\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\"], function (_exports, _service, _route, _rsvp, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let TradeLogRoute = _exports.default = (_class = class TradeLogRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        organization,\n        periodDate\n      } = this.modelFor('authenticated');\n      let {\n        aggregateData\n      } = this.modelFor('authenticated.organization-aggregate');\n      aggregateData.forEach(m => {\n        m.selectedDairies.splice(0, m.selectedDairies.length);\n      });\n      let monthTrades = aggregateData.flatMap(m => {\n        return m.trades.filter(t => {\n          return (0, _moment.default)(t.timestamp).startOf('month').isSame(periodDate);\n        });\n      });\n      const sortedTrades = monthTrades.sort((a, b) => {\n        if (a.timestamp > b.timestamp) {\n          return 1;\n        }\n        if (a.timestamp < b.timestamp) {\n          return -1;\n        }\n        return 0;\n      });\n      return (0, _rsvp.hash)({\n        organization,\n        periodDate,\n        sortedTrades\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/routes/authenticated/organization-aggregate/weighted-avg-basis-price\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\", \"moment\"], function (_exports, _service, _route, _rsvp, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"moment\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let WeightedAvgBasisPriceRoute = _exports.default = (_class = class WeightedAvgBasisPriceRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        organization,\n        periodDate\n      } = this.modelFor('authenticated');\n      let {\n        aggregateData\n      } = this.modelFor('authenticated.organization-aggregate');\n      const aggregateMonths = aggregateData.filter(m => {\n        const d = (0, _moment.default)(m.date);\n        const end = (0, _moment.default)(periodDate).add(2, 'years');\n        return d.isSameOrAfter(periodDate) && d.isBefore(end);\n      });\n      aggregateMonths.forEach(m => {\n        m.selectedDairies.splice(0, m.selectedDairies.length);\n      });\n      const sortedMonths = aggregateMonths.sort((a, b) => {\n        if (a.date > b.date) {\n          return 1;\n        }\n        if (a.date < b.date) {\n          return -1;\n        }\n        return 0;\n      });\n      return (0, _rsvp.hash)({\n        organization,\n        periodDate,\n        dairies: this.store.query('dairy', {\n          organization_id: organization.get('id')\n        }),\n        sortedMonths\n      });\n    }\n    resetController(controller) {\n      controller.selectedDairies.splice(0, controller.selectedDairies.length);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/routes/authenticated/organization-dairies\", [\"exports\", \"@ember/object\", \"@ember/routing/route\", \"rsvp\", \"@ember/service\"], function (_exports, _object, _route, _rsvp, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/routing/route\",0,\"rsvp\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let OrganizationDairiesRoute = _exports.default = classic(_class = (_class2 = class OrganizationDairiesRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        organization,\n        isOrgAdmin\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        organization,\n        dairies: this.store.query('dairy', {\n          organization_id: organization.get('id')\n        }),\n        contacts: this.store.query('dairy-contact', {\n          primary: true\n        }),\n        users: this.store.findAll('user'),\n        isOrgAdmin\n      });\n    }\n    refreshModel() {\n      this.refresh();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"refreshModel\", [_object.action], Object.getOwnPropertyDescriptor(_class2.prototype, \"refreshModel\"), _class2.prototype), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/organization-members/index\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\"], function (_exports, _service, _route, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let IndexRoute = _exports.default = classic(_class = (_class2 = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      let {\n        organization,\n        isOrgAdmin,\n        dairies\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        organization,\n        userOrganizationConfigs: this.store.query('user-organization-config', {\n          organization_id: organization.id\n        }),\n        users: this.store.findAll('user'),\n        dairies,\n        isOrgAdmin\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/organization-members/member\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"rsvp\"], function (_exports, _service, _route, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"rsvp\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MemberRoute = _exports.default = classic(_class = (_class2 = class MemberRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model(params) {\n      let {\n        organization\n      } = this.modelFor('authenticated');\n      return (0, _rsvp.hash)({\n        organization,\n        userOrganizationConfig: this.store.findRecord('user-organization-config', params.id)\n      });\n    }\n    afterModel(model) {\n      if (!model.userOrganizationConfig.isOrganizationAdmin) {\n        model.userDairyConfigs = this.store.query('user-dairy-config', {\n          user: model.userOrganizationConfig.belongsTo('userId').id(),\n          organization: model.organization.id\n        });\n      }\n      return model;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/organization-settings\", [\"exports\", \"@ember/service\", \"@ember/routing/route\"], function (_exports, _service, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let OrganizationSettingsRoute = _exports.default = classic(_class = (_class2 = class OrganizationSettingsRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n    model() {\n      return this.modelFor('authenticated').organization;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/authenticated/organization\", [\"exports\", \"@ember/service\", \"@ember/routing/route\"], function (_exports, _service, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let OrganizationRoute = _exports.default = classic(_class = (_class2 = class OrganizationRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/callback\", [\"exports\", \"@ember/service\", \"@ember/routing/route\", \"ember-simple-auth/authenticators/oauth2-implicit-grant\"], function (_exports, _service, _route, _oauth2ImplicitGrant) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"@ember/routing/route\",0,\"ember-simple-auth/authenticators/oauth2-implicit-grant\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let CallbackRoute = _exports.default = classic(_class = (_class2 = class CallbackRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n    }\n    async activate() {\n      const hash = (0, _oauth2ImplicitGrant.parseResponse)(window.location.hash);\n      await this.session.authenticate('authenticator:oauth2-implicit-grant', hash);\n      this.router.transitionTo('/');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/login\", [\"exports\", \"@ember/routing/route\", \"jquery\", \"agropur-client/config/environment\", \"@ember/service\"], function (_exports, _route, _jquery, _environment, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\",0,\"jquery\",0,\"agropur-client/config/environment\",0,\"ember-classic-decorator\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let LoginRoute = _exports.default = classic(_class = (_class2 = class LoginRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"routeIfAlreadyAuthenticated\", 'authenticated.dashboard');\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    beforeModel() {\n      this.session.prohibitAuthentication('authenticated.dashboard');\n    }\n    activate() {\n      _jquery.default.ajaxSetup({\n        headers: {\n          Authorization: _environment.default.APP.CLIENT_OAUTH\n        }\n      });\n    }\n    deactivate() {\n      this.controller.resetState();\n      _jquery.default.ajaxSetup({\n        headers: null\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/not-found\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/routing/route\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let NotFoundRoute = _exports.default = classic(_class = (_class2 = class NotFoundRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    beforeModel(transition) {\n      this.session.requireAuthentication(transition, 'login');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/routes/password-reset\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/routing/route\"eaimeta@70e063a35619d71f\n  class PasswordResetRoute extends _route.default {}\n  _exports.default = PasswordResetRoute;\n  window.__CLASSIC_OWN_CLASSES__.set(PasswordResetRoute, true);\n});\n","define(\"agropur-client/serializers/application\", [\"exports\", \"@ember-data/serializer/json\", \"ember-inflector\", \"@ember/utils\", \"@ember/array\"], function (_exports, _json, _emberInflector, _utils, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\",0,\"ember-inflector\",0,\"@ember/utils\",0,\"@ember/array\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Application = _exports.default = classic(_class = class Application extends _json.default {\n    pushPayload(store, payload) {\n      if ((0, _utils.typeOf)(payload) === 'object') {\n        Object.keys(payload).forEach(key => {\n          const modelName = (0, _emberInflector.singularize)(key);\n          const modelClass = store.modelFor(modelName);\n          const serializer = store.serializerFor(modelName);\n          if (serializer !== this && serializer.pushPayload) {\n            return serializer.pushPayload(store, payload[key], modelName, modelClass);\n          }\n          store.push(serializer._normalizeResponse(store, modelClass, payload[key], null,\n          // id\n          null,\n          // request type\n          !(0, _array.isArray)(payload[key]) // isSingle\n          ));\n          return null;\n        });\n      }\n    }\n    keyForRelationship(key, relationship) {\n      if (relationship === 'belongsTo' && key != 'barchartSymbol') {\n        return `${key}Id`;\n      }\n      return super.keyForRelationship(key, relationship);\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/barchart-market-datum\", [\"exports\", \"@ember-data/serializer/json\", \"moment\"], function (_exports, _json, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\",0,\"moment\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let BarchartMarketDatum = _exports.default = classic(_class = class BarchartMarketDatum extends _json.default {\n    extractId(modelClass, resourceHash) {\n      resourceHash.id = resourceHash.symbol;\n      return super.extractId(modelClass, resourceHash);\n    }\n    normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      payload = payload.data || payload.results || [];\n      let cutoffTime;\n      if ((0, _moment.default)().utc().hour() >= 22) {\n        cutoffTime = _moment.default.utc().hour(22).minute(0).second(0).millisecond(0);\n      } else {\n        cutoffTime = _moment.default.utc().hour(22).minute(0).second(0).millisecond(0).subtract(1, 'day');\n      }\n      payload.forEach(quote => {\n        if (quote.flag == 's' || (0, _moment.default)(quote.tradeTimestamp).isBefore(cutoffTime)) {\n          quote.netChange = 0;\n          quote.percentChange = 0;\n          quote.high = 0;\n          quote.low = 0;\n        }\n      });\n      return super.normalizeResponse(store, primaryModelClass, payload, id, requestType);\n    }\n    normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n      if (Array.isArray(payload)) {\n        payload = payload[0];\n      }\n      if (payload === undefined) {\n        payload = {};\n      }\n      return super.normalizeSingleResponse(store, primaryModelClass, payload, id, requestType);\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/dairy-contact\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DairyContact = _exports.default = classic(_class = class DairyContact extends _json.default {\n    serialize(...args) {\n      const json = super.serialize(...args);\n      // Server expect 'miscellaneous' attr to be a String\n      json.miscellaneous = JSON.stringify(json.miscellaneous);\n      return json;\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/dairy\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Dairy = _exports.default = classic(_class = class Dairy extends _json.default {\n    serialize(...args) {\n      const json = super.serialize(...args);\n      json.config = JSON.stringify(json.config);\n      json.miscellaneous = JSON.stringify(json.miscellaneous);\n      json.producerId = json.producerId.toString();\n      return json;\n    }\n    deserialize(...args) {\n      const json = super.deserialize(...args);\n      json.producerId = parseInt(json.producerId, 10);\n      return json;\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/manual-position\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let ManualPosition = _exports.default = classic(_class = class ManualPosition extends _json.default {\n    serialize(...args) {\n      const json = super.serialize(...args);\n      json.monthId = json.month_id;\n      json.productId = json.product_id;\n      json.userId = json.user_id;\n      json.positionType = 'PHYSICAL';\n      json.position_type = 'PHYSICAL';\n      json.instrumentId = json.instrument_id;\n      return json;\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/month\", [\"exports\", \"agropur-client/serializers/application\", \"moment\"], function (_exports, _application, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"agropur-client/serializers/application\",0,\"moment\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Month = _exports.default = classic(_class = class Month extends _application.default {\n    normalize(model, hash /*, prop*/) {\n      if ((0, _moment.default)().subtract(1, 'month').isAfter(hash.date)) {\n        hash.historicalPriceId = hash.date.replace(/-/g, '');\n      }\n      return super.normalize(...arguments);\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/organization\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Organization = _exports.default = classic(_class = class Organization extends _json.default {\n    serialize(...args) {\n      const json = super.serialize(...args);\n      // Server expect 'miscellaneous' attr to be a String\n      json.miscellaneous = JSON.stringify(json.miscellaneous);\n      return json;\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/user-dairy-config\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let UserDairyConfig = _exports.default = classic(_class = class UserDairyConfig extends _json.default {\n    serialize(...args) {\n      const json = super.serialize(...args);\n      // Server expect 'config' attr to be a String\n      json.config = JSON.stringify(json.config);\n      return json;\n    }\n  }) || _class;\n});\n","define(\"agropur-client/serializers/user-organization-config\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let UserOrganizationConfig = _exports.default = classic(_class = class UserOrganizationConfig extends _json.default {\n    serialize(...args) {\n      const json = super.serialize(...args);\n      // Server expect 'config' attr to be a String\n      if (json.config) {\n        json.config = JSON.stringify(json.config);\n      }\n      return json;\n    }\n  }) || _class;\n});\n","define(\"agropur-client/services/-ensure-registered\", [\"exports\", \"@embroider/util/services/ensure-registered\"], function (_exports, _ensureRegistered) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _ensureRegistered.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@embroider/util/services/ensure-registered\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/services/apollo\", [\"exports\", \"@ember/service\", \"ember-apollo-client/services/apollo\", \"@apollo/client/core\", \"@ember/utils\", \"@apollo/client/link/error\"], function (_exports, _service, _apollo, _core, _utils, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/service\",0,\"ember-apollo-client/services/apollo\",0,\"@apollo/client/core\",0,\"@ember/utils\",0,\"@apollo/client/link/error\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let _ApolloService = _exports.default = classic(_class = (_class2 = class _ApolloService extends _apollo.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    link() {\n      const {\n        apiURL,\n        requestCredentials\n      } = this.options;\n      const linkOptions = {\n        uri: apiURL,\n        fetch\n      };\n      const token = this.session.get('data.authenticated.access_token');\n      if ((0, _utils.isPresent)(requestCredentials)) {\n        linkOptions.credentials = requestCredentials;\n      }\n      if ((0, _utils.isPresent)(token)) {\n        linkOptions.headers = {\n          Authorization: `Bearer ${token}`\n        };\n      }\n\n      // Afterware\n      const errorLink = (0, _error.onError)(({\n        networkError\n      }) => {\n        if (networkError && (networkError.statusCode === 400 || networkError.statusCode === 401)) {\n          this.session.invalidate();\n        }\n      });\n      return errorLink.concat(new _core.HttpLink(linkOptions));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/services/click-wrap\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _service, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ClickWrap = _exports.default = (_class = class ClickWrap extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"isOpen\", _descriptor, this);\n    }\n    show() {\n      this.isOpen = true;\n    }\n    hide() {\n      this.isOpen = false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class);\n});\n","define(\"agropur-client/services/cookies\", [\"exports\", \"ember-cookies/services/cookies\"], function (_exports, _cookies) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _cookies.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-cookies/services/cookies\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/services/current-dairy\", [\"exports\", \"@ember/service\"], function (_exports, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let CurrentDairy = _exports.default = (_class = class CurrentDairy extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n    }\n    set(dairy) {\n      this.router.transitionTo({\n        queryParams: {\n          dairy_id: dairy.id\n        }\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/services/display-mode\", [\"exports\", \"@ember/service\"], function (_exports, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let DisplayMode = _exports.default = (_class = class DisplayMode extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n    }\n    update(mode) {\n      this.router.transitionTo({\n        queryParams: {\n          display_mode: mode\n        }\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});\n","define(\"agropur-client/services/forward-contracting-info-modal\", [\"exports\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _service, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ForwardContractingInfoModal = _exports.default = (_class = class ForwardContractingInfoModal extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"isOpen\", _descriptor, this);\n    }\n    toggle() {\n      this.isOpen = !this.isOpen;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class);\n});\n","define(\"agropur-client/services/head-data\", [\"exports\", \"ember-cli-head/services/head-data\"], function (_exports, _headData) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _headData.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-cli-head/services/head-data\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/services/market-data-token\", [\"exports\", \"@ember/service\", \"agropur-client/config/environment\"], function (_exports, _service, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"agropur-client/config/environment\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  // Refresh a little before the token actually expires so an in-flight request\n  // never lands at the gateway with a just-expired token.\n  const EXPIRY_SKEW_MS = 60000;\n\n  /**\n   * Fetches and caches the Auth0 machine-to-machine access token used for\n   * market-data-gateway requests.\n   *\n   * This is deliberately not the signed-in user's token: the gateway trusts a\n   * dedicated Agropur m2m client, so quotes keep flowing regardless of which user\n   * (if any) is driving the polling loop.\n   *\n   * When the client-credentials details are not configured the service reports\n   * itself as unconfigured and callers send no Authorization header. That is the\n   * local-development path, where the gateway runs with BYPASS_AUTH=true.\n   */\n  class MarketDataTokenService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"cachedToken\", null);\n      _defineProperty(this, \"pendingRequest\", null);\n    }\n    get authConfig() {\n      return _environment.default.marketDataGateway?.auth ?? {};\n    }\n    get isConfigured() {\n      const {\n        tokenUrl,\n        audience,\n        clientId,\n        clientSecret\n      } = this.authConfig;\n      return Boolean(tokenUrl && audience && clientId && clientSecret);\n    }\n\n    /**\n     * Returns a valid access token, reusing the cached one until it nears\n     * expiry. Concurrent callers share a single in-flight token request.\n     * Returns null when client credentials are not configured.\n     */\n    async getAccessToken() {\n      if (!this.isConfigured) {\n        return null;\n      }\n      if (this.cachedToken && Date.now() < this.cachedToken.expiresAt) {\n        return this.cachedToken.accessToken;\n      }\n      this.pendingRequest ??= this.requestToken().finally(() => {\n        this.pendingRequest = null;\n      });\n      return this.pendingRequest;\n    }\n\n    /** Drops the cached token so the next call fetches a fresh one. */\n    invalidate() {\n      this.cachedToken = null;\n    }\n    async requestToken() {\n      const {\n        tokenUrl,\n        audience,\n        clientId,\n        clientSecret\n      } = this.authConfig;\n\n      // Form encoding matches the client's client_secret_post auth method and\n      // keeps the request CORS-simple, avoiding a preflight on every refresh.\n      const body = new URLSearchParams({\n        grant_type: 'client_credentials',\n        client_id: clientId,\n        client_secret: clientSecret,\n        audience\n      });\n      const response = await fetch(tokenUrl, {\n        method: 'POST',\n        headers: {\n          'Content-Type': 'application/x-www-form-urlencoded'\n        },\n        body\n      });\n      if (!response.ok) {\n        throw new Error(`Market data token request failed with status ${response.status}.`);\n      }\n      const {\n        access_token: accessToken,\n        expires_in: expiresIn\n      } = await response.json();\n      if (!accessToken) {\n        throw new Error('Market data token response did not include an access token.');\n      }\n      this.cachedToken = {\n        accessToken,\n        expiresAt: Date.now() + Math.max(Number(expiresIn) * 1000 - EXPIRY_SKEW_MS, 0)\n      };\n      return accessToken;\n    }\n  }\n  _exports.default = MarketDataTokenService;\n  window.__CLASSIC_OWN_CLASSES__.set(MarketDataTokenService, true);\n});\n","define(\"agropur-client/services/market-data\", [\"exports\", \"@ember/runloop\", \"@ember/service\"], function (_exports, _runloop, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/runloop\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let MarketDataService = _exports.default = classic(_class = (_class2 = class MarketDataService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n      _defineProperty(this, \"pollTimer\", null);\n      _defineProperty(this, \"pollFrequency\", 60000);\n      _defineProperty(this, \"subscribedInstruments\", null);\n    }\n    init() {\n      super.init(...arguments);\n    }\n    start() /*subscriber, */{\n      if (this.pollTimer !== null) {\n        (0, _runloop.cancel)(this.pollTimer);\n      }\n      this.marketDataPoll();\n    }\n    stop() /*subscriber*/{\n      (0, _runloop.cancel)(this.pollTimer);\n    }\n    subscribeTo(instruments) {\n      this.set('subscribedInstruments', instruments);\n    }\n    marketDataPoll() {\n      let instruments = this.subscribedInstruments;\n      if (instruments && instruments.length > 0) {\n        let instrumentIds = instruments.map(({\n          id\n        }) => id);\n        let length = instrumentIds.length;\n        var current = 0;\n        var groups = [];\n        var end;\n        while (current < length) {\n          end = length < current + 49 ? length : current + 49;\n          groups.pushObject(instrumentIds.slice(current, end));\n          current += 50;\n        }\n        groups.forEach(g => {\n          this.store.query('marketdatum', {\n            instrument_ids: g,\n            sides: ['Last']\n          });\n        });\n      }\n      this.set('pollTimer', (0, _runloop.later)(this, this.marketDataPoll.bind(this), this.pollFrequency));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class;\n});\n","define(\"agropur-client/services/moment\", [\"exports\", \"ember-moment/services/moment\"], function (_exports, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _moment.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-moment/services/moment\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/services/notification\", [\"exports\", \"@ember/object\", \"@ember/object/computed\", \"agropur-client/config/environment\", \"jquery\", \"@ember/template\", \"@ember/service\", \"noty\"], function (_exports, _object, _computed, _environment, _jquery, _template, _service, _noty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"agropur-client/config/environment\",0,\"jquery\",0,\"@ember/template\",0,\"@ember/service\",0,\"noty\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let NotificationService = _exports.default = (_dec = (0, _object.computed)(''), _dec2 = (0, _computed.filterBy)('userNotifications', 'status', 'UNREAD').readOnly(), _dec3 = (0, _computed.filterBy)('userNotifications', 'status', 'READ').readOnly(), classic(_class = (_class2 = class NotificationService extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"session\", _descriptor2, this);\n      _initializerDefineProperty(this, \"unreadUserNotifications\", _descriptor3, this);\n      _initializerDefineProperty(this, \"readUserNotifications\", _descriptor4, this);\n    }\n    get userNotifications() {\n      return this.store.peekAll('user-notification');\n    }\n    init() {\n      super.init(...arguments);\n      _noty.default.overrideDefaults({\n        layout: 'topRight',\n        theme: 'relax',\n        timeout: 1000,\n        progressBar: false,\n        closeWith: ['click']\n      });\n    }\n    _createNoty(text, type) {\n      new _noty.default({\n        text,\n        type\n      }).show();\n    }\n    _createNotyWithOptions(options) {\n      return new _noty.default(options).show();\n    }\n    _closeNoty() {\n      _noty.default.closeAll();\n    }\n    alert(text) {\n      this._createNoty(text, 'alert');\n    }\n    success(text) {\n      this._createNoty(text, 'success');\n    }\n    warning(text) {\n      this._createNoty(text, 'warning');\n    }\n    error(text) {\n      this._createNoty(text, 'error');\n    }\n    info(text) {\n      this._createNoty(text, 'info');\n    }\n    custom(options) {\n      this._createNotyWithOptions(options);\n    }\n    centerKiller(message) {\n      let text = message;\n      if ((0, _template.isHTMLSafe)(text)) {\n        text = message.string;\n      }\n      return new _noty.default({\n        text,\n        type: 'alert',\n        modal: true,\n        killer: true,\n        layout: 'center',\n        timeout: false,\n        closeWith: [],\n        animation: {\n          open: null,\n          close: null\n        }\n      }).show();\n    }\n    _getXAuthToken() {\n      return this.get('session.data.authenticated.auth');\n    }\n    _loadNotifications() {\n      const token = this._getXAuthToken();\n      return _jquery.default.ajax({\n        type: 'GET',\n        url: `${_environment.default.APP.HOST}/api/notifications`,\n        contentType: 'application/json',\n        dataType: 'json',\n        headers: {\n          'X-AUTH-TOKEN': token\n        }\n      }).then(payload => {\n        return this.store.pushPayload({\n          notifications: payload\n        });\n      });\n    }\n    _loadUserNotifications() {\n      const token = this._getXAuthToken();\n      return _jquery.default.ajax({\n        type: 'GET',\n        url: `${_environment.default.APP.HOST}/api/user-notifications`,\n        contentType: 'application/json',\n        dataType: 'json',\n        headers: {\n          'X-AUTH-TOKEN': token\n        }\n      }).then(payload => {\n        return this.store.pushPayload({\n          userNotifications: payload\n        });\n      });\n    }\n    _updateUserNotification(userNotification) {\n      const token = this._getXAuthToken();\n      return _jquery.default.ajax({\n        type: 'PATCH',\n        url: `${_environment.default.APP.HOST}/api/user-notifications/${userNotification.get('id')}`,\n        contentType: 'application/json',\n        dataType: 'json',\n        headers: {\n          'X-AUTH-TOKEN': token\n        },\n        data: userNotification\n      }).then(payload => {\n        return this.store.pushPayload({\n          userNotifications: payload\n        });\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"userNotifications\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"userNotifications\"), _class2.prototype), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"unreadUserNotifications\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"readUserNotifications\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});\n","define(\"agropur-client/services/page-title\", [\"exports\", \"ember-page-title/services/page-title\"], function (_exports, _pageTitle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _pageTitle.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-page-title/services/page-title\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/services/period\", [\"exports\", \"@ember/service\"], function (_exports, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _Period_brand;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _classPrivateGetter(s, r, a) { return a(_assertClassBrand(s, r)); }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Period = _exports.default = (_class = (_Period_brand = /*#__PURE__*/new WeakSet(), class Period extends _service.default {\n    constructor(...args) {\n      super(...args);\n      _classPrivateMethodInitSpec(this, _Period_brand);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n    }\n    update(num, value) {\n      const newPeriod = moment(_classPrivateGetter(_Period_brand, this, _get_period)).add(num, value).format('YYYYMM');\n      this.router.transitionTo({\n        queryParams: {\n          period: newPeriod\n        }\n      });\n    }\n  }), _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.service], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  function _get_period(_this) {\n    return _this.router.currentRoute.queryParams.period;\n  }\n});\n","define(\"agropur-client/services/session\", [\"exports\", \"ember-simple-auth/services/session\"], function (_exports, _session) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"ember-simple-auth/services/session\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SessionService = _exports.default = classic(_class = class SessionService extends _session.default {}) || _class;\n});\n","define(\"agropur-client/services/store\", [\"exports\", \"ember-data/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _store.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-data/store\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/services/tv\", [\"exports\", \"@glimmer/tracking\", \"agropur-client/config/environment\", \"@ember/service\", \"jquery\", \"rsvp\"], function (_exports, _tracking, _environment, _service, _jquery, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"agropur-client/config/environment\",0,\"@ember/service\",0,\"jquery\",0,\"rsvp\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const {\n    eaRiskChannelId,\n    agropurJeromePlaylistId,\n    agropurOtherPlaylistId\n  } = _environment.default.google.youtube;\n  let TvService = _exports.default = (_class = class TvService extends _service.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n      _initializerDefineProperty(this, \"isSettled\", _descriptor2, this);\n      this.loadData().catch(error => {\n        console.error(error);\n      }).finally(() => {\n        this.isSettled = true;\n      });\n    }\n    async loadData() {\n      await this.getPlaylistItems(agropurJeromePlaylistId);\n      await this.getPlaylistItems(agropurOtherPlaylistId);\n      await this.getChannelInfo(eaRiskChannelId);\n      await this.getChannelVideos(eaRiskChannelId);\n      await this.getChannelPlaylists(eaRiskChannelId);\n    }\n    get channels() {\n      if (!this.isSettled) return [];\n      return this.store.peekAll('tv-channel');\n    }\n    get playlists() {\n      if (!this.isSettled) return [];\n      return this.store.peekAll('tv-playlist');\n    }\n    get videos() {\n      if (!this.isSettled) return [];\n      return this.store.peekAll('tv-video');\n    }\n    getChannelInfo(channelId) {\n      return new _rsvp.Promise(resolve => {\n        let url = '';\n        const googleKey = _environment.default.google.key;\n        const youtubeHost = _environment.default.google.youtube.host;\n        const parts = 'snippet,contentDetails,statistics';\n        url = `${youtubeHost}/channels/?id=${channelId}&part=${parts}&maxResults=30&key=${googleKey}`;\n        _jquery.default.ajax({\n          url,\n          context: this,\n          success: resp => {\n            for (let i = 0; i < resp.items.length; i++) {\n              const raw = resp.items[i];\n              const channel = {\n                id: resp.items[i].id,\n                type: 'tv-channel',\n                attributes: {\n                  title: raw.snippet.title,\n                  description: raw.snippet.description,\n                  customUrl: raw.snippet.customUrl,\n                  publishedAt: raw.snippet.publishedAt,\n                  thumbnails: raw.snippet.thumbnails,\n                  viewCount: raw.statistics.viewCount,\n                  subscriberCount: raw.statistics.subscriberCount,\n                  videoCount: raw.statistics.videoCount\n                }\n              };\n              this.store.push({\n                data: channel\n              });\n            }\n            resolve();\n          }\n        });\n      });\n    }\n    getChannelVideos(channelId) {\n      return new _rsvp.Promise(resolve => {\n        let url = '';\n        const googleKey = _environment.default.google.key;\n        const youtubeHost = _environment.default.google.youtube.host;\n        const type = 'video';\n        const part = 'id,snippet';\n        const order = 'date';\n        const maxResults = 30;\n        url = `${youtubeHost}/search?type=${type}&channelId=${channelId}&part=${part}&order=${order}&maxResults=${maxResults}&key=${googleKey}`;\n        _jquery.default.ajax({\n          url,\n          context: this,\n          success: resp => {\n            const channel = {\n              id: resp.items[0].snippet.channelId,\n              type: 'tv-channel',\n              attributes: {\n                title: resp.items[0].snippet.channelTitle\n              }\n            };\n            this.store.push({\n              data: channel\n            });\n            for (let i = 0; i < resp.items.length; i++) {\n              const raw = resp.items[i];\n              const video = {\n                id: raw.id.videoId,\n                type: 'tv-video',\n                attributes: {\n                  title: raw.snippet.title,\n                  description: raw.snippet.description,\n                  publishedAt: raw.snippet.publishedAt,\n                  thumbnails: raw.snippet.thumbnails\n                },\n                relationships: {\n                  channel: {\n                    data: {\n                      id: raw.snippet.channelId,\n                      type: 'tv-channel'\n                    }\n                  }\n                }\n              };\n              this.store.push({\n                data: video\n              });\n            }\n            resolve();\n          }\n        });\n      });\n    }\n    // pageToken\n    getChannelPlaylists(channelId) {\n      return new _rsvp.Promise(resolve => {\n        let url = '';\n        const googleKey = _environment.default.google.key;\n        const youtubeHost = _environment.default.google.youtube.host;\n        const parts = 'id,snippet';\n        url = `${youtubeHost}/playlists/?channelId=${channelId}&part=${parts}&maxResults=30&key=${googleKey}`;\n        _jquery.default.ajax({\n          url,\n          context: this,\n          success: resp => {\n            for (let i = 0; i < resp.items.length; i++) {\n              const raw = resp.items[i].snippet;\n              const playlist = {\n                id: resp.items[i].id,\n                type: 'tv-playlist',\n                attributes: {\n                  title: raw.title,\n                  description: raw.description,\n                  publishedAt: raw.publishedAt,\n                  thumbnails: raw.thumbnails\n                },\n                relationships: {\n                  channel: {\n                    data: {\n                      id: raw.channelId,\n                      type: 'tv-channel'\n                    }\n                  }\n                }\n              };\n              this.store.push({\n                data: playlist\n              });\n            }\n            resolve();\n          }\n        });\n      });\n    }\n    getPlaylistItems(playlistId) {\n      return new _rsvp.Promise(resolve => {\n        let url = '';\n        const googleKey = _environment.default.google.key;\n        const youtubeHost = _environment.default.google.youtube.host;\n        const parts = 'id,snippet';\n        const maxResults = 30;\n        url = `${youtubeHost}/playlistItems/?playlistId=${playlistId}&part=${parts}&maxResults=${maxResults}&key=${googleKey}`;\n        _jquery.default.ajax({\n          url,\n          context: this,\n          success: resp => {\n            const channel = {\n              id: resp.items[0].snippet.channelId,\n              type: 'tv-channel',\n              attributes: {\n                title: resp.items[0].snippet.channelTitle\n              }\n            };\n            this.store.push({\n              data: channel\n            });\n            const playlist = {\n              id: resp.items[0].snippet.playlistId,\n              type: 'tv-playlist',\n              attributes: {}\n            };\n            this.store.push({\n              data: playlist\n            });\n            for (let i = 0; i < resp.items.length; i++) {\n              const raw = resp.items[i].snippet;\n              const video = {\n                id: raw.resourceId.videoId,\n                type: 'tv-video',\n                attributes: {\n                  title: raw.title,\n                  description: raw.description,\n                  publishedAt: raw.publishedAt,\n                  thumbnails: raw.thumbnails,\n                  position: raw.position\n                },\n                relationships: {\n                  channel: {\n                    data: {\n                      id: raw.channelId,\n                      type: 'tv-channel'\n                    }\n                  },\n                  playlist: {\n                    data: {\n                      id: raw.playlistId,\n                      type: 'tv-playlist'\n                    }\n                  }\n                }\n              };\n              this.store.push({\n                data: video\n              });\n            }\n            resolve();\n          }\n        });\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isSettled\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class);\n});\n","define(\"agropur-client/session-stores/application\", [\"exports\", \"ember-simple-auth/session-stores/adaptive\"], function (_exports, _adaptive) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"ember-simple-auth/session-stores/adaptive\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SessionStore = _exports.default = classic(_class = class SessionStore extends _adaptive.default {}) || _class;\n});\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('{{page-title \\\"AgropurClient\\\"}}\\n\\n<HeadLayout />\\n\\n{{outlet}}\\n<BasicDropdownWormhole />', { moduleName: 'agropur-client/templates/application.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div id=\\\"side-menu\\\">\\n\t<div class=\\\"logo-container\\\"><img\\n\t\t\tclass=\\\"logo\\\"\\n\t\t\tsrc=\\\"{{this.brandLogoUrl}}\\\"\\n\t\t/></div>\\n\t<div id=\\\"close-menu\\\">\\n\t\t<button\\n\t\t\t{{on \\\"click\\\" this.hideSideMenu}}\\n\t\t\ttype=\\\"button\\\"\\n\t\t\tclass=\\\"close toggle-side-menu-button\\\"\\n\t\t\taria-label=\\\"Close\\\"\\n\t\t><span aria-hidden=\\\"true\\\">&times;</span></button>\\n\t</div>\\n\t<ul class=\\\"list-unstyled\\\">\\n\t\t<li {{on \\\"click\\\" this.hideSideMenu}}>\\n\t\t\t<LinkTo @route=\\\"authenticated.dashboard\\\">\\n\t\t\t\tDashboard\\n\t\t\t</LinkTo>\\n\t\t</li>\\n\t\t<li {{on \\\"click\\\" this.hideSideMenu}}>\\n\t\t\t<LinkTo @route=\\\"authenticated.milk-production\\\">\\n\t\t\t\tMilk Production\\n\t\t\t</LinkTo>\\n\t\t</li>\\n\t\t<li {{on \\\"click\\\" this.hideSideMenu}}>\\n\t\t\t<LinkTo @route=\\\"authenticated.forward-prices\\\">\\n\t\t\t\tForward Prices\\n\t\t\t</LinkTo>\\n\t\t</li>\\n\t\t<li>\\n\t\t\t<a href=\\\"\\\" style=\\\"font-weight: bold;\\\">Hedges</a>\\n\t\t</li>\\n\t\t<li style=\\\"padding-left: 15px;\\\" {{on \\\"click\\\" this.hideSideMenu}}><LinkTo\\n\t\t\t\t@route=\\\"authenticated.class-iii-hedges\\\"\\n\t\t\t>Class III</LinkTo></li>\\n\t\t{{#if this.model.organization.showAgropurBasis}}\\n\t\t\t<li style=\\\"padding-left: 15px;\\\" {{on \\\"click\\\" this.hideSideMenu}}>\\n\t\t\t\t<LinkTo @route=\\\"authenticated.basis-hedges\\\">Basis</LinkTo></li>\\n\t\t{{/if}}\\n\t\t<li style=\\\"padding-left: 15px;\\\">\\n\t\t\t<a\\n\t\t\t\thref=\\\"https://vault.ever.ag/callback#access_token={{this.session.data.authenticated.access_token}}&id_token={{this.session.data.authenticated.id_token}}\\\"\\n\t\t\t\ttarget=\\\"_blank\\\"\\n\t\t\t>Dairy RP (EA Risk)</a>\\n\t\t</li>\\n\t\t<li>\\n\t\t\t<a href=\\\"\\\" style=\\\"font-weight: bold;\\\">Reports</a>\\n\t\t</li>\\n\t\t<li style=\\\"padding-left: 15px;\\\" {{on \\\"click\\\" this.hideSideMenu}}>\\n\t\t\t<LinkTo @route=\\\"authenticated.milk-physical-position-statement\\\">Hedge\\n\t\t\t\tPosition Statement</LinkTo>\\n\t\t</li>\\n\t\t<li>\\n\t\t\t<a href=\\\"https://quotes.ever.ag\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n\t\t\t\tDRP Quotes\\n\t\t\t</a>\\n\t\t</li>\\n\t</ul>\\n\\n\t<ul id=\\\"bottom-side-menu\\\" class=\\\"list-unstyled\\\">\\n\t\t<!-- FORWARD CONTRACTING INFO -->\\n\t\t<li>\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-block btn-sm btn-default side-menu-button\\\"\\n\t\t\t\t{{on \\\"click\\\" this.toggleForwardContractingInfoModal}}\\n\t\t\t>\\n\t\t\t\t<FaIcon @icon=\\\"info-circle\\\" />\\n\t\t\t\tProgram Information\\n\t\t\t</button>\\n\t\t</li>\\n\t\t<li>\\n\t\t\t<a id=\\\"call-button\\\" href=\\\"tel:+1-312-492-4275\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-block btn-sm btn-default side-menu-button\\\"\\n\t\t\t\t>\\n\t\t\t\t\tCall the Forward Desk\\n\t\t\t\t</button>\\n\t\t\t</a>\\n\t\t</li>\\n\\n\t\t<li>\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-block btn-sm btn-default side-menu-button\\\"\\n\t\t\t\t{{on \\\"click\\\" this.invalidateSession}}\\n\t\t\t>Logout</button>\\n\t\t</li>\\n\t</ul>\\n</div>\\n<nav class=\\\"navbar navbar-default navbar-fixed-top hidden-print\\\">\\n\t{{! Small Device Menu }}\\n\t<div\\n\t\tclass=\\\"{{if this.application.isFullScreen \\'container-fluid\\' \\'container\\'}}\\n\t\t\tvisible-xs visible-sm visible-md\\\"\\n\t>\\n\t\t<div\\n\t\t\tclass=\\\"navbar-header brand-logo top-nav-logo\\\"\\n\t\t\t{{on \\\"click\\\" this.showSideMenu}}\\n\t\t\t{{on \\\"touchEnd\\\" this.showSideMenu}}\\n\t\t\tstyle=\\\"font-size: 36px; padding-top: 8px;\\\"\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"bars\\\" />\\n\t\t</div>\\n\\n\t\t<ul class=\\\"nav navbar-nav navbar-right\\\">\\n\t\t\t<!-- DAIRY SWITCH -->\\n\t\t\t<li>\\n\t\t\t\t<div class=\\\"menu-switch\\\">\\n\t\t\t\t\t<PowerSelect\\n\t\t\t\t\t\t@options={{this.organizationDairies}}\\n\t\t\t\t\t\t@placeholder=\\\"Select Dairy\\\"\\n\t\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t\t@selected={{this.model.dairy}}\\n\t\t\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t\t\t@onChange={{this.switchDairy}}\\n\t\t\t\t\t\tas |item|\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<span style=\\\"margin-right:10px;\\\">{{item.name}}</span>\\n\t\t\t\t\t</PowerSelect>\\n\t\t\t\t</div>\\n\t\t\t</li>\\n\\n\t\t\t<!-- ORGANIZATION MENU ITEMS -->\\n\t\t\t<li class=\\\"org-nav\\\">\\n\t\t\t\t<div class=\\\"menu-switch\\\">\\n\t\t\t\t\t<PowerSelect\\n\t\t\t\t\t\t@options={{this.model.organizations}}\\n\t\t\t\t\t\t@placeholder=\\\"Select Organization\\\"\\n\t\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t\t@selected={{this.model.organization}}\\n\t\t\t\t\t\t@onChange={{this.switchOrganization}}\\n\t\t\t\t\t\tas |item|\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<span style=\\\"margin-right:10px;\\\">{{item.name}}</span>\\n\t\t\t\t\t</PowerSelect>\\n\t\t\t\t</div>\\n\t\t\t</li>\\n\\n\t\t\t<!-- USER MENU ITEMS -->\\n\t\t\t<li class=\\\"dropdown\\\">\\n\t\t\t\t<a\\n\t\t\t\t\thref=\\\"#\\\"\\n\t\t\t\t\tclass=\\\"dropdown-toggle avatar-dropdown-button fa\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\trole=\\\"button\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<div class=\\\"avatar\\\" title=\\\"{{this.model.fullName}}\\\">\\n\t\t\t\t\t\t<EmberInitials\\n\t\t\t\t\t\t\t@name={{this.model.fullName}}\\n\t\t\t\t\t\t\t@defaultName=\\\"?\\\"\\n\t\t\t\t\t\t\t@seedText={{this.model.fullName}}\\n\t\t\t\t\t\t\t@textColor=\\\"white\\\"\\n\t\t\t\t\t\t\t@fontSize={{36}}\\n\t\t\t\t\t\t\t@fontWeight={{100}}\\n\t\t\t\t\t\t\t@fontFamily=\\\"Roboto-Regular, Helvetica, Arial, sans-serif\\\"\\n\t\t\t\t\t\t\t@size={{48}}\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t</div>\\n\t\t\t\t</a>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t<li class=\\\"dropdown-header\\\">{{this.model.dairy.name}}</li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.dairy-contacts\\\">Contacts</LinkTo></li>\\n\t\t\t\t\t<li><a href=\\\"#\\\">Notes</a></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.dairy-settings\\\">Settings</LinkTo></li>\\n\t\t\t\t\t<li role=\\\"separator\\\" class=\\\"divider\\\"></li>\\n\t\t\t\t\t<li class=\\\"dropdown-header\\\">{{this.model.organization.name}}</li>\\n\t\t\t\t\t<li><LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate\\\"\\n\t\t\t\t\t\t>Aggregate</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t>Dairies</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t>Members</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-settings\\\">Organization\\n\t\t\t\t\t\t\tSettings</LinkTo></li>\\n\t\t\t\t\t<li role=\\\"separator\\\" class=\\\"divider\\\"></li>\\n\t\t\t\t\t<li><a {{on \\\"click\\\" this.invalidateSession}}>\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"sign-out-alt\\\" />\\n\t\t\t\t\t\t\tLogout</a></li>\\n\t\t\t\t</ul>\\n\t\t\t</li>\\n\t\t\t<div class=\\\"clearfix\\\"></div>\\n\t\t</ul>\\n\t</div>\\n\\n\t{{! Primary Menu }}\\n\t<div\\n\t\tclass=\\\"{{if this.application.isFullScreen \\'container-fluid\\' \\'container\\'}}\\n\t\t\thidden-xs hidden-sm hidden-md\\\"\\n\t>\\n\t\t<div class=\\\"navbar-header brand-logo\\\">\\n\t\t\t<LinkTo @route=\\\"authenticated.dashboard\\\" class=\\\"navbar-header brand-logo\\\">\\n\t\t\t\t<img class=\\\"logo\\\" src=\\\"{{this.brandLogoUrl}}\\\" />\\n\t\t\t</LinkTo>\\n\t\t</div>\\n\\n\t\t<ul class=\\\"nav navbar-nav bold-text visible-lg\\\">\\n\t\t\t<li>\\n\t\t\t\t<LinkTo @route=\\\"authenticated.dashboard\\\">\\n\t\t\t\t\tDashboard\\n\t\t\t\t</LinkTo>\\n\t\t\t</li>\\n\t\t\t<li>\\n\t\t\t\t<LinkTo @route=\\\"authenticated.milk-production\\\">\\n\t\t\t\t\tMilk Production\\n\t\t\t\t</LinkTo>\\n\t\t\t</li>\\n\t\t\t<li>\\n\t\t\t\t<LinkTo @route=\\\"authenticated.forward-prices\\\">\\n\t\t\t\t\tForward Prices\\n\t\t\t\t</LinkTo>\\n\t\t\t</li>\\n\t\t\t<li class=\\\"dropdown\\\">\\n\t\t\t\t<a\\n\t\t\t\t\thref=\\\"#\\\"\\n\t\t\t\t\tclass=\\\"dropdown-toggle\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\trole=\\\"button\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>Hedges <span class=\\\"caret\\\"></span></a>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.milk-physical-position-statement\\\">Hedge\\n\t\t\t\t\t\t\tPosition Statement</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.class-iii-hedges\\\">Class III</LinkTo></li>\\n\t\t\t\t\t{{#if this.model.organization.showAgropurBasis}}\\n\t\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.basis-hedges\\\">Basis</LinkTo></li>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<a\\n\t\t\t\t\t\t\thref=\\\"https://vault.ever.ag/callback#access_token={{this.session.data.authenticated.access_token}}&id_token={{this.session.data.authenticated.id_token}}\\\"\\n\t\t\t\t\t\t\ttarget=\\\"_blank\\\"\\n\t\t\t\t\t\t>Dairy RP (EA Risk)</a>\\n\t\t\t\t\t</li>\\n\t\t\t\t</ul>\\n\t\t\t</li>\\n\t\t\t{{#if this.showTools}}\\n\t\t\t\t<li class=\\\"dropdown\\\">\\n\t\t\t\t\t<a\\n\t\t\t\t\t\thref=\\\"#\\\"\\n\t\t\t\t\t\tclass=\\\"dropdown-toggle\\\"\\n\t\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\t\trole=\\\"button\\\"\\n\t\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t\t>Tools <span class=\\\"caret\\\"></span></a>\\n\t\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.basis-prices\\\">Basis Administration</LinkTo></li>\\n\t\t\t\t\t</ul>\\n\t\t\t\t</li>\\n\t\t\t{{/if}}\\n\t\t\t<li>\\n\t\t\t\t<a href=\\\"https://quotes.ever.ag\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n\t\t\t\t\tDRP Quotes\\n\t\t\t\t</a>\\n\t\t\t</li>\\n\t\t</ul>\\n\t\t<ul class=\\\"nav navbar-nav navbar-right\\\">\\n\\n\t\t\t<div class=\\\"navbar-left\\\" style=\\\"margin-right: 10px;\\\">\\n\t\t\t\t<button\\n\t\t\t\t\tclass=\\\"btn btn-default navbar-btn\\\"\\n\t\t\t\t\t{{on \\\"click\\\" this.toggleForwardContractingInfoModal}}\\n\t\t\t\t>\\n\t\t\t\t\t<FaIcon @icon=\\\"info-circle\\\" />\\n\t\t\t\t\tForward Contracting Information\\n\t\t\t\t</button>\\n\t\t\t</div>\\n\\n\t\t\t<!-- DAIRY MENU ITEMS -->\\n\t\t\t<li>\\n\t\t\t\t<div\\n\t\t\t\t\tclass=\\\"\\\"\\n\t\t\t\t\tstyle=\\\"margin-top: 15px; margin-right: 15px; min-width: 200px;\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<PowerSelect\\n\t\t\t\t\t\t@options={{this.organizationDairies}}\\n\t\t\t\t\t\t@placeholder=\\\"Select Dairy\\\"\\n\t\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t\t@selected={{this.model.dairy}}\\n\t\t\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t\t\t@onChange={{this.switchDairy}}\\n\t\t\t\t\t\tas |item|\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<span style=\\\"margin-right:10px;\\\">{{item.name}}</span>\\n\t\t\t\t\t</PowerSelect>\\n\t\t\t\t</div>\\n\t\t\t</li>\\n\\n\t\t\t<!-- ORGANIZATION MENU ITEMS -->\\n\t\t\t<li>\\n\t\t\t\t<div\\n\t\t\t\t\tclass=\\\"\\\"\\n\t\t\t\t\tstyle=\\\"margin-top: 15px; margin-right: 15px; min-width: 200px;\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<PowerSelect\\n\t\t\t\t\t\t@options={{this.model.organizations}}\\n\t\t\t\t\t\t@placeholder=\\\"Select Organization\\\"\\n\t\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t\t@selected={{this.model.organization}}\\n\t\t\t\t\t\t@onChange={{this.switchOrganization}}\\n\t\t\t\t\t\tas |item|\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<span style=\\\"margin-right:10px;\\\">{{item.name}}</span>\\n\t\t\t\t\t</PowerSelect>\\n\t\t\t\t</div>\\n\t\t\t</li>\\n\\n\t\t\t<!-- USER MENU ITEMS -->\\n\t\t\t<li class=\\\"dropdown\\\">\\n\t\t\t\t<a\\n\t\t\t\t\thref=\\\"#\\\"\\n\t\t\t\t\tclass=\\\"dropdown-toggle avatar-dropdown-button fa\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\trole=\\\"button\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<div class=\\\"avatar\\\" title=\\\"{{this.model.fullName}}\\\">\\n\t\t\t\t\t\t<EmberInitials\\n\t\t\t\t\t\t\t@name={{this.model.fullName}}\\n\t\t\t\t\t\t\t@defaultName=\\\"?\\\"\\n\t\t\t\t\t\t\t@seedText={{this.model.fullName}}\\n\t\t\t\t\t\t\t@textColor=\\\"white\\\"\\n\t\t\t\t\t\t\t@fontSize={{36}}\\n\t\t\t\t\t\t\t@fontWeight={{100}}\\n\t\t\t\t\t\t\t@fontFamily=\\\"Roboto-Regular, Helvetica, Arial, sans-serif\\\"\\n\t\t\t\t\t\t\t@size={{48}}\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t</div>\\n\t\t\t\t</a>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t\t<li class=\\\"dropdown-header\\\">{{this.model.dairy.name}}</li>\\n\t\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.dairy-contacts\\\">Contacts</LinkTo></li>\\n\t\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.dairy-notes\\\">Notes</LinkTo></li>\\n\t\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.dairy-settings\\\">Settings</LinkTo></li>\\n\t\t\t\t\t\t<li role=\\\"separator\\\" class=\\\"divider\\\"></li>\\n\t\t\t\t\t\t<li class=\\\"dropdown-header\\\">{{this.model.organization.name}}</li>\\n\t\t\t\t\t\t<li><LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate\\\"\\n\t\t\t\t\t\t\t>Aggregate</LinkTo></li>\\n\t\t\t\t\t\t<li><LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t>Dairies</LinkTo></li>\\n\t\t\t\t\t\t<li><LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t\t>Members</LinkTo></li>\\n\t\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-settings\\\">Organization\\n\t\t\t\t\t\t\t\tSettings</LinkTo></li>\\n\t\t\t\t\t\t<li role=\\\"separator\\\" class=\\\"divider\\\"></li>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t\t<li><a {{on \\\"click\\\" this.invalidateSession}}>\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"sign-out-alt\\\" />\\n\t\t\t\t\t\t\tLogout</a></li>\\n\t\t\t\t</ul>\\n\t\t\t</li>\\n\t\t</ul>\\n\t</div>\\n</nav>\\n\\n<div\\n\tid=\\\"page\\\"\\n\tclass=\\\"{{if this.application.isFullScreen \\'container-fluid\\' \\'container\\'}}\\\"\\n\tstyle=\\\"padding-top:85px\\\"\\n>\\n\t{{outlet}}\\n\\n\t<div class=\\\"text-muted\\\" style=\\\"padding: 20px;\\\">\\n\t\tCopyright © 2025. All\\n\t\t<a href=\\\"https://www.barchartmarketdata.com/\\\">market data</a>\\n\t\tis provided by Barchart Solutions. Futures: at least 10 minute delayed.\\n\t\tInformation is provided \\'as is\\' and solely for informational purposes, not for\\n\t\ttrading purposes or advice. To see all exchange delays and terms of use,\\n\t\tplease see\\n\t\t<a href=\\\"https://www.barchartmarketdata.com/terms\\\">disclaimer</a>.\\n\t\t<br /><img src=\\\"/assets/cme-transparent.png\\\" alt=\\\"CME Logo\\\" />\\n\\n\t</div>\\n</div>\\n\\n<VdModal\\n\t@showModal={{this.isForwardContractingInfoModalOpen}}\\n\t@title=\\\"Forward Contracting Program Information\\\"\\n>\\n\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\\n\t\t<p>Basis Prices can be hedged on up to 100% of your base milk volume. Class\\n\t\t\tIII prices can be hedged on up to 100% of your base milk volume.</p>\\n\\n\t\t<hr />\\n\\n\t\t<h4 class=\\\"modal-title\\\">Hedging Information</h4>\\n\t\t<ul>\\n\t\t\t<li><strong>{{this.ENV.BRAND.organizationName}}\\n\t\t\t\t\tForward Contracting Choices</strong></li>\\n\t\t\t<ul>\\n\t\t\t\t<li><strong>Class III Milk</strong> (Up to 24 months forward)</li>\\n\t\t\t\t<ul>\\n\t\t\t\t\t<li><strong>Forward Contract</strong></li>\\n\t\t\t\t\t<ul>\\n\t\t\t\t\t\t<li>Fixed Class III price</li>\\n\t\t\t\t\t\t<li>Transaction Cost: $0.10/cwt</li>\\n\t\t\t\t\t</ul>\\n\t\t\t\t\t<li><strong>Minimum Price Option Contract</strong></li>\\n\t\t\t\t\t<ul>\\n\t\t\t\t\t\t<li>Minimum Class III price with unlimited upside</li>\\n\t\t\t\t\t\t<li>Option Premiums: Call for quotes</li>\\n\t\t\t\t\t\t<li>Transaction Cost: $0.10/cwt</li>\\n\t\t\t\t\t</ul>\\n\\n\t\t\t\t\t<li><strong>Maximum Price Option Contract</strong></li>\\n\t\t\t\t\t<ul>\\n\t\t\t\t\t\t<li>Caps your Class III price for a received premium. If the Class III\\n\t\t\t\t\t\t\tprice settles at/below your Max price you will collect the premium for\\n\t\t\t\t\t\t\tthat contract. If it settles above, you will be capped at your Max price\\n\t\t\t\t\t\t\tplus the premium received.</li>\\n\t\t\t\t\t\t<li>Option Premiums: Call for quotes</li>\\n\t\t\t\t\t\t<li>Transaction Cost: $0.10/cwt</li>\\n\t\t\t\t\t</ul>\\n\t\t\t\t\t<li><strong>Minimum/Maximum Price Option Contract</strong></li>\\n\t\t\t\t\t<ul>\\n\t\t\t\t\t\t<li>Minimum set price with upside to a maximum set Class III price</li>\\n\t\t\t\t\t\t<li>Option Premiums: Call for quotes</li>\\n\t\t\t\t\t\t<li>Transaction Cost: $0.10/cwt</li>\\n\t\t\t\t\t</ul>\\n\t\t\t\t</ul>\\n\t\t\t\t<li><strong>{{this.ENV.BRAND.organizationName}} Basis</strong>\\n\t\t\t\t\t(Can forward as far as it is offered)</li>\\n\t\t\t\t<ul>\\n\t\t\t\t\t<li><strong>Basis Contract</strong></li>\\n\t\t\t\t\t<ul>\\n\t\t\t\t\t\t<li>Fixed {{this.ENV.BRAND.organizationName}} Basis price</li>\\n\t\t\t\t\t\t<li>Transaction Cost: No cost</li>\\n\t\t\t\t\t\t<li>Basis can be locked up as far as it is offered with a cutoff day of\\n\t\t\t\t\t\t\tthe 1st for the front month. For example, Dec 31, 2020 is the last day\\n\t\t\t\t\t\t\tyou can lock up Jan 2021 basis.\\n\t\t\t\t\t\t</li>\\n\t\t\t\t\t</ul>\\n\t\t\t\t</ul>\\n\t\t\t</ul>\\n\t\t</ul>\\n\\n\t\t<hr />\\n\\n\t\t<div>\\n\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t<div class=\\\"media\\\">\\n\t\t\t\t\t\t<div class=\\\"media-left\\\">\\n\t\t\t\t\t\t\t<img\\n\t\t\t\t\t\t\t\tclass=\\\"media-object img-thumbnail\\\"\\n\t\t\t\t\t\t\t\tsrc=\\\"/images/ever-ag.svg\\\"\\n\t\t\t\t\t\t\t\talt=\\\"EA Risk\\\"\\n\t\t\t\t\t\t\t\tstyle=\\\"max-width: 75px; border: 0px;\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t<div class=\\\"media-body\\\">\\n\t\t\t\t\t\t\t<h4 class=\\\"media-heading modal-title\\\">EA Risk\\n\t\t\t\t\t\t\t\t{{this.ENV.BRAND.organizationName}}\\n\t\t\t\t\t\t\t\tForward Desk</h4>\\n\t\t\t\t\t\t\t<address>\\n\t\t\t\t\t\t\t\t<a\\n\t\t\t\t\t\t\t\t\thref=\\\"mailto:{{this.ENV.BRAND.forwardDeskEmail}}\\\"\\n\t\t\t\t\t\t\t\t>{{this.ENV.BRAND.forwardDeskEmail}}</a><br />\\n\t\t\t\t\t\t\t\t<a href=\\\"tel:312-492-4275\\\">(312) 492-4275</a>\\n\t\t\t\t\t\t\t</address>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<!-- <br> -->\\n\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t<h4 class=\\\"modal-title\\\">Team Members</h4>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<!-- <br> -->\\n\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t<div class=\\\"col-xs-12 col-sm-6\\\">\\n\t\t\t\t\t<div class=\\\"media\\\">\\n\t\t\t\t\t\t<div class=\\\"media-left\\\">\\n\t\t\t\t\t\t\t<img\\n\t\t\t\t\t\t\t\tclass=\\\"media-object img-thumbnail mt-10\\\"\\n\t\t\t\t\t\t\t\tsrc=\\\"/images/ca.jpg\\\"\\n\t\t\t\t\t\t\t\talt=\\\"Collin Aardema\\\"\\n\t\t\t\t\t\t\t\tstyle=\\\"max-width: 75px;\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t<div class=\\\"media-body\\\">\\n\t\t\t\t\t\t\t<h5 class=\\\"media-heading modal-title\\\">Collin Aardema</h5>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\\n\t\t\t\t<div class=\\\"col-xs-12 col-sm-6\\\">\\n\t\t\t\t\t<div class=\\\"media\\\">\\n\t\t\t\t\t\t<div class=\\\"media-left\\\">\\n\t\t\t\t\t\t\t<img\\n\t\t\t\t\t\t\t\tclass=\\\"media-object img-thumbnail mt-10\\\"\\n\t\t\t\t\t\t\t\tsrc=\\\"/images/zb.jpg\\\"\\n\t\t\t\t\t\t\t\talt=\\\"Zach Bowers\\\"\\n\t\t\t\t\t\t\t\tstyle=\\\"max-width: 75px;\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t<div class=\\\"media-body\\\">\\n\t\t\t\t\t\t\t<h5 class=\\\"media-heading modal-title\\\">Zach Bowers</h5>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t<div class=\\\"col-xs-12 col-sm-6\\\">\\n\t\t\t\t\t<div class=\\\"media\\\">\\n\t\t\t\t\t\t<div class=\\\"media-left\\\">\\n\t\t\t\t\t\t\t<img\\n\t\t\t\t\t\t\t\tclass=\\\"media-object img-thumbnail mt-10\\\"\\n\t\t\t\t\t\t\t\tsrc=\\\"/images/ck.jpg\\\"\\n\t\t\t\t\t\t\t\talt=\\\"Cody Koster\\\"\\n\t\t\t\t\t\t\t\tstyle=\\\"max-width: 75px;\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t<div class=\\\"media-body\\\">\\n\t\t\t\t\t\t\t<h5 class=\\\"media-heading modal-title\\\">Cody Koster</h5>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\\n\t\t\t\t<div class=\\\"col-xs-12 col-sm-6\\\">\\n\t\t\t\t\t<div class=\\\"media\\\">\\n\t\t\t\t\t\t<div class=\\\"media-left\\\">\\n\t\t\t\t\t\t\t<img\\n\t\t\t\t\t\t\t\tclass=\\\"media-object img-thumbnail mt-10\\\"\\n\t\t\t\t\t\t\t\tsrc=\\\"/images/jp.jpg\\\"\\n\t\t\t\t\t\t\t\talt=\\\"Jan Prins\\\"\\n\t\t\t\t\t\t\t\tstyle=\\\"max-width: 75px;\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t<div class=\\\"media-body\\\">\\n\t\t\t\t\t\t\t<h5 class=\\\"media-heading modal-title\\\">Jan Prins</h5>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-default btn-sm\\\"\\n\t\t\t{{on \\\"click\\\" this.toggleForwardContractingInfoModal}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tClose\\n\t\t</button>\\n\t</div>\\n</VdModal>\\n\\n<VdModal @showModal={{this.isClickWrapOpen}} @title=\\\"Program Agreement\\\">\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t{{#if this.ENV.BRAND.showAgropurAgreement}}\\n\\n\t\t\t<h3>Terms and Conditions for Agropur’s Forward Contracting Program</h3>\\n\t\t\t<p>Welcome to the Agropur Forward Contracting Program Platform (the\\n\t\t\t\t“Platform”). Please review the following basic rules (the “Terms”) that\\n\t\t\t\tgovern your participation to Agropur’s Forward Contracting Program (the\\n\t\t\t\t“Program”). By accessing or using the Platform, you represent and warrant\\n\t\t\t\tthat you are a duly authorized representative with full ability to bind your\\n\t\t\t\tfarm, and agree to be bound by these Terms. You also represent that you have\\n\t\t\t\tobtained all necessary approvals from all individuals who have the authority\\n\t\t\t\tto bind your farm. If you disagree with any of these Terms, you may not use\\n\t\t\t\tthe Platform or enroll in the Program</p>\\n\t\t\t<ol>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p><u>Forward Contracting Program.</u>\\n\t\t\t\t\t\tThe Program is not a guarantee of higher milk prices. Agropur is providing\\n\t\t\t\t\t\tthe Program as a planning option for its patrons. By entering into the\\n\t\t\t\t\t\tProgram, you assume all risks in milk price fluctuations. You are not\\n\t\t\t\t\t\tobligated to participate in the Program. By participating in the Program,\\n\t\t\t\t\t\tyou agree to deliver to Agropur the entire output of milk from your farm.\\n\t\t\t\t\t\tFurthermore, by agreeing to these Terms, you</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Contract Execution.</u>\\n\t\t\t\t\t\tBy accepting these Terms, you understand and agree that a forward contract\\n\t\t\t\t\t\tis signed between you and Agropur inc. (“Agropur”). No additional document\\n\t\t\t\t\t\tor paperwork will be needed for the forward contract to come into effect.\\n\t\t\t\t\t\tBy clicking “I agree”, you commit to delivering to Agropur the quantity of\\n\t\t\t\t\t\tmilk identified in the forward contract (the “Contracted Quantity”), for\\n\t\t\t\t\t\tthe term of the forward contract ( the “Contract Term”), at the agreed\\n\t\t\t\t\t\tupon price.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Forward Contracting Deadline</u>\\n\t\t\t\t\t\t– Forward contracts must be entered into before the 1st of the month for\\n\t\t\t\t\t\tthat specific month being contracted.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Maximum Contracted Quantity.</u>\\n\t\t\t\t\t\tUnless otherwise agreed by Agropur, in no event shall your Contracted\\n\t\t\t\t\t\tQuantity of milk under the Program for any given month be greater than\\n\t\t\t\t\t\tyour base volume of milk as stated in the Forward Contracting Platform.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Forward Contract Positions.</u>\\n\t\t\t\t\t\tThe type of forward contract, the price and contracted quantity of milk\\n\t\t\t\t\t\t(collectively, the “Contract Positions”) will be displayed and reported in\\n\t\t\t\t\t\tyour forward contract program subscription. It is your responsibility to\\n\t\t\t\t\t\tensure that your Contract Positions are accurate and to immediately notify\\n\t\t\t\t\t\tAgropur in case of discrepancies.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Milk Price Adjustment.</u>\\n\t\t\t\t\t\tThe entire output of milk that you deliver to Agropur will be paid in\\n\t\t\t\t\t\taccordance with Agropur’s then-current milk purchase pricing policy (the\\n\t\t\t\t\t\t“Normal Milk Pricing”). Separately, there will be an adjustment to the\\n\t\t\t\t\t\tNormal Milk Pricing for the Contracted Quantity. This adjustment will be\\n\t\t\t\t\t\tapplied as a separate gain or loss to your Normal Milk Pricing.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Calculation of Milk Price Adjustment.</u>\\n\t\t\t\t\t\tEach type of forward contract Milk Price Adjustment will be calculated as\\n\t\t\t\t\t\tfollows:\\n\t\t\t\t\t\t<ol type=\\\"a\\\">\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tForward Price Contract:\\n\t\t\t\t\t\t\t\t<ol>\\n\t\t\t\t\t\t\t\t\t<li>Forward Contract price minus the actual class III milk price, times\\n\t\t\t\t\t\t\t\t\t\tContracted Quantity.</li>\\n\t\t\t\t\t\t\t\t</ol>\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tMinimum/Maximum Price Contract:\\n\t\t\t\t\t\t\t\t<ol>\\n\t\t\t\t\t\t\t\t\t<li>If the actual Class III price for the Delivery Month is less than\\n\t\t\t\t\t\t\t\t\t\tthe Minimum Forward Price, you will receive a positive payment\\n\t\t\t\t\t\t\t\t\t\tadjustment based on the Minimum Forward Price\\n\t\t\t\t\t\t\t\t\t\t<em>minus</em>\\n\t\t\t\t\t\t\t\t\t\tthe actual class III price, times the Contracted Quantity,\\n\t\t\t\t\t\t\t\t\t\t<em>minus</em>\\n\t\t\t\t\t\t\t\t\t\tthe costs associated with the Minimum/Maximum Price Contract.\\n\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\tIf the actual Class III price for the Delivery Month is greater than\\n\t\t\t\t\t\t\t\t\t\tthe Maximum Forward Price, you will receive a negative payment\\n\t\t\t\t\t\t\t\t\t\tadjustment based on the Maximum Forward Price\\n\t\t\t\t\t\t\t\t\t\t<em>minus</em>\\n\t\t\t\t\t\t\t\t\t\tthe actual class 3 price, times the Contracted Quantity\\n\t\t\t\t\t\t\t\t\t\t<em>minus</em>\\n\t\t\t\t\t\t\t\t\t\tthe costs associated with the Minimum/Maximum Price Contract.\\n\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t<li>If the actual Class III price for the Delivery Month is less than\\n\t\t\t\t\t\t\t\t\t\tthe Maximum Forward Price, and greater than the Minimum Forward Price,\\n\t\t\t\t\t\t\t\t\t\tyou will not receive any price adjustment, however you will still pay\\n\t\t\t\t\t\t\t\t\t\tfor the costs associated with the Minimum/Maximum Price Contract.</li>\\n\t\t\t\t\t\t\t\t</ol>\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>Minimum Price Forward Contract:\\n\t\t\t\t\t\t\t\t<ol>\\n\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\tIf the actual Class III settlement price for the Delivery Month is\\n\t\t\t\t\t\t\t\t\t\thigher than the Minimum forward price, you will not receive any price\\n\t\t\t\t\t\t\t\t\t\tadjustment, however you will still pay for the costs associated with\\n\t\t\t\t\t\t\t\t\t\tthe Minimum Price Contract.\\n\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\tIf the actual Class III price for the Delivery Month is less than the\\n\t\t\t\t\t\t\t\t\t\tMinimum Forward Price, you will receive a positive payment adjustment\\n\t\t\t\t\t\t\t\t\t\tbased on the Minimum Forward Price\\n\t\t\t\t\t\t\t\t\t\t<em>minus</em>\\n\t\t\t\t\t\t\t\t\t\tthe actual class III price, times the Contracted Quantity,\\n\t\t\t\t\t\t\t\t\t\t<em>minus</em>\\n\t\t\t\t\t\t\t\t\t\tthe costs associated with the Minimum Price Contract.\\n\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t</ol>\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tMaximum Price Contract:\\n\t\t\t\t\t\t\t\t<ol>\\n\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\tIf the actual Class III price for the Delivery Month is greater than\\n\t\t\t\t\t\t\t\t\t\tthe Maximum Forward Price, the Seller will receive a negative payment\\n\t\t\t\t\t\t\t\t\t\tadjustment based on the Maximum Forward Price\\n\t\t\t\t\t\t\t\t\t\t<em>minus</em>\\n\t\t\t\t\t\t\t\t\t\tthe actual class III price,\\n\t\t\t\t\t\t\t\t\t\t<em>plus</em>\\n\t\t\t\t\t\t\t\t\t\tthe premium collected with the Maximum Price Contract times the\\n\t\t\t\t\t\t\t\t\t\tContracted Quantity.\\n\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\tIf the actual Class III price for the Delivery Month is less than the\\n\t\t\t\t\t\t\t\t\t\tMaximum Forward Price, the seller will receive the premium collected\\n\t\t\t\t\t\t\t\t\t\ton the Maximum Forward Price Contract.\\n\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t</ol>\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>Basis Contract</li>\\n\t\t\t\t\t\t\t<ol>\\n\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\tBasis Contract price minus Agropur’s monthly spot price, times\\n\t\t\t\t\t\t\t\t\tContracted Quantity.\\n\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t</ol>\\n\t\t\t\t\t\t</ol>\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Platform or Program Modifications.</u>\\n\t\t\t\t\t\tAgropur may, at any time and in its sole discretion, cancel the Program,\\n\t\t\t\t\t\tthe Platform and/or Agropur’s milk purchase pricing policy, or change,\\n\t\t\t\t\t\tmodify, add, remove or suspend any portion thereof, without notice or\\n\t\t\t\t\t\tliability to you or to any third party except for any amounts owed to you\\n\t\t\t\t\t\tprior to cancellation of the Program or Platform. Agropur shall have\\n\t\t\t\t\t\tabsolute discretion to determine whether to enter into any forward\\n\t\t\t\t\t\tcontract.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Delivery locations.</u>\\n\t\t\t\t\t\tAll deliveries made pursuant to this contract shall be to an Agropur\\n\t\t\t\t\t\tproduction plant, as specified by Agropur.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Default and Termination.</u>\\n\t\t\t\t\t\tAgropur may immediately terminate this Agreement and/or any Forward\\n\t\t\t\t\t\tContracts and recover from you all costs, damages, expenses and fees\\n\t\t\t\t\t\t(“Damages”) if any or more of the following events occur:\\n\t\t\t\t\t\t<ol type=\\\"a\\\">\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tYou fail to deliver the milk in accordance with this Agreement and/or a\\n\t\t\t\t\t\t\t\tForward Contract;\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tYou become insolvent or adjudged bankrupt, or Agropur has a reasonable\\n\t\t\t\t\t\t\t\tbelief that you are insolvent or will declare bankruptcy;\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tYou have not complied with the terms and conditions of this Agreement;\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tYou fail to provide adequate assurance of performance immediately after\\n\t\t\t\t\t\t\t\tdemand for such assurance by Agropur; or\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\tYou default any of your obligations under this Agreement and/or a\\n\t\t\t\t\t\t\t\tForward Contract.\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t</ol>\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Failure to Deliver.</u>\\n\t\t\t\t\t\tIf you fail to deliver the Contracted Quantity for the contract duration\\n\t\t\t\t\t\tto the delivery location on or before the delivery date, you agree to\\n\t\t\t\t\t\tcompensate Agropur for all damages suffered by Agropur as a result of your\\n\t\t\t\t\t\tdefault including, without limitation, any difference in price that\\n\t\t\t\t\t\tAgropur pays for purchases of milk for the Contracted Quantity. Agropur\\n\t\t\t\t\t\tmay, at its sole option and discretion, either (i) void your forward\\n\t\t\t\t\t\tcontract, (ii) accept a lesser quantity of milk or (iii) accept deliveries\\n\t\t\t\t\t\tof the Contracted Quantity beyond the contract duration, without prejudice\\n\t\t\t\t\t\tto any other rights Agropur may have under contract or at law.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Termination for Convenience.</u>\\n\t\t\t\t\t\tAgropur may terminate the Program, any forward contracts at any time and\\n\t\t\t\t\t\twithout stating any reason therefor.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Offset.</u>\\n\t\t\t\t\t\tAgropur shall have the right to offset any Damages from any amount owed by\\n\t\t\t\t\t\tAgropur to you under the Program, these Terms or any forward contract.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Assignment.</u>\\n\t\t\t\t\t\tThese Terms and any forward contract signed hereunder shall be binding\\n\t\t\t\t\t\tupon and inure to the benefit of the parties hereto and their respective\\n\t\t\t\t\t\theirs, personal representatives and successors. You may not assign, pledge\\n\t\t\t\t\t\tor otherwise transfer your rights or interests hereunder or make them\\n\t\t\t\t\t\tsubject to a security interest without having obtained Agropur’s prior\\n\t\t\t\t\t\twritten consent to that effect.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Independent Contractors.</u>\\n\t\t\t\t\t\tNothing in these Terms of a forward contract shall be construed to create\\n\t\t\t\t\t\ta relationship of principal-agent, master-servant, partners or joint\\n\t\t\t\t\t\tventurers between you and Agropur. You are an independent contractor and\\n\t\t\t\t\t\thave no authority to legally bind Agropur. Each party will be solely\\n\t\t\t\t\t\tresponsible for the acts and omissions of its own employees and agents and\\n\t\t\t\t\t\twill also be responsible for all wages and obligations, whether compulsory\\n\t\t\t\t\t\tor in the nature of fringe benefits, due to its own employees or agents.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Independent Contractors.</u>\\n\t\t\t\t\t\tNothing in these Terms of a forward contract shall be construed to create\\n\t\t\t\t\t\ta relationship of principal-agent, master-servant, partners or joint\\n\t\t\t\t\t\tventurers between you and Agropur. You are an independent contractor and\\n\t\t\t\t\t\thave no authority to legally bind Agropur. Each party will be solely\\n\t\t\t\t\t\tresponsible for the acts and omissions of its own employees and agents and\\n\t\t\t\t\t\twill also be responsible for all wages and obligations, whether compulsory\\n\t\t\t\t\t\tor in the nature of fringe benefits, due to its own employees or agents.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Confidentiality.</u>\\n\t\t\t\t\t\tAll information communicated by Agropur or contained on the Platform\\n\t\t\t\t\t\t(including, without limitation, the pricing contained in any forward\\n\t\t\t\t\t\tcontracts) is strictly confidential and you shall not disclose this\\n\t\t\t\t\t\tinformation to any third party or use such information for any other\\n\t\t\t\t\t\tpurpose.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Liens.</u>\\n\t\t\t\t\t\tAll milk sold to Agropur hereunder shall be free and clear of all liens\\n\t\t\t\t\t\tand security interests.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Governing Law and Litigation.</u>\\n\t\t\t\t\t\tThese terms, and any forward contract signed between you and Agropur shall\\n\t\t\t\t\t\tbe governed by the laws of the State of Wisconsin. Any dispute between you\\n\t\t\t\t\t\tand Agropur shall be brought before the courts of Wisconsin, who should\\n\t\t\t\t\t\thave exclusive jurisdiction to adjudicate any such matter.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Agropur’s Milk Purchase Pricing Policy and Milk Supply Agreement.</u>\\n\t\t\t\t\t\tAll purchases of milk by Agropur shall be subject to Agropur’s milk\\n\t\t\t\t\t\tpurchase pricing policy, as well as Agropur’s then-current standard terms\\n\t\t\t\t\t\tand conditions of purchase, both of which shall be incorporated by\\n\t\t\t\t\t\treference herein.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Entire Agreement.</u>\\n\t\t\t\t\t\tThese Terms, together with the forward contracts, the standard terms and\\n\t\t\t\t\t\tconditions of purchase and Agropur’s milk purchase pricing policy\\n\t\t\t\t\t\tconstitute the entire agreement between you and Agropur with respect to\\n\t\t\t\t\t\tthe subject matter hereof, and replaces any prior contract, agreement or\\n\t\t\t\t\t\tdiscussions between you and Agropur.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<p>\\n\t\t\t\t\t\t<u>Disclosure.</u>\\n\t\t\t\t\t\tYou understand and agree that Agropur is not a futures commission merchant\\n\t\t\t\t\t\t(“FCM”) under the Commodities Exchange Act. Agropur does not charge any\\n\t\t\t\t\t\tfees nor makes any profit in connection with the Program.\\n\t\t\t\t\t</p>\\n\t\t\t\t</li>\\n\t\t\t</ol>\\n\t\t\t<p><strong>Disclosure Statement:</strong></p>\\n\t\t\t<p>I am voluntarily entering into Forward Contract(s) with Agropur inc. I\\n\t\t\t\tunderstand that Agropur is not a futures commission merchant (“FCM”) under\\n\t\t\t\tthe Commodities Exchange Act. By agreeing to these terms, I understand that\\n\t\t\t\tI am forfeiting any right I might have to receive Federal milk marketing\\n\t\t\t\torder’s minimum pricing for that portion of the milk that is under contract,\\n\t\t\t\tfor the duration of the contract. I also understand that my milk will be\\n\t\t\t\tpriced in accordance with the terms and conditions of the contract.</p>\\n\t\t{{/if}}\\n\\n\t\t<form>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<div class=\\\"checkbox\\\">\\n\t\t\t\t\t<label>\\n\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t@type=\\\"checkbox\\\"\\n\t\t\t\t\t\t\t@name=\\\"AcceptClickwrapAgreement\\\"\\n\t\t\t\t\t\t\t@checked={{this.model.dairy.isClickwrapAccepted}}\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t\t<p>I have read and understood the terms and conditions.</p><p><strong>By\\n\t\t\t\t\t\t\t\tclicking \\\"accept\\\", the user will be deemed to have read and accepted the\\n\t\t\t\t\t\t\t\tterms and conditions on its behalf and on behalf of all authorized\\n\t\t\t\t\t\t\t\tsignatories of the farm.</strong>\\n\t\t\t\t\t\t</p>\\n\t\t\t\t\t</label>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</form>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-primary\\\"\\n\t\t\t{{on \\\"click\\\" (fn this.acceptClickwrapAgreement this.model.dairy)}}\\n\t\t\tdisabled={{not this.model.dairy.isClickwrapAccepted}}\\n\t\t>\\n\t\t\t<i class=\\\"fa fa-check\\\"></i>\\n\t\t\tAccept\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-md-6\\\">\\n\t\t\t\t<LinkTo @route=\\\"authenticated.basis-hedges\\\" class=\\\"btn btn-default btn-sm\\\">\\n\t\t\t\t\t<FaIcon @icon=\\\"chevron-left\\\" />\\n\t\t\t\t\tBack to Positions</LinkTo>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"col-md-6 text-right\\\">\\n\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t<button\\n\t\t\t\t\t\tclass=\\\"btn btn-primary btn-sm\\\"\\n\t\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\t\tNew Basis Position\\n\t\t\t\t\t</button>\\n\t\t\t\t{{/if}}\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t\t<h2 class=\\\"vd-title\\\" style=\\\"margin-top: 15px;\\\">{{format-month\\n\t\t\t\tthis.model.month.date\\n\t\t\t}}\\n\t\t\t{{this.ENV.BRAND.organizationName}}\\n\t\t\tBasis</h2>\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\">\\n\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t<thead>\\n\t\t\t<tr>\\n\t\t\t\t<td colspan=\\\"{{if this.content.month.isPast \\'9\\' \\'10\\'}}\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">Basis Positions</h2>\\n\t\t\t\t</td>\\n\t\t\t</tr>\\n\t\t\t<tr>\\n\t\t\t\t<th>Date Entered</th>\\n\t\t\t\t<th>User</th>\\n\t\t\t\t<th>Ticket Number</th>\\n\t\t\t\t<th>Bought / Sold</th>\\n\t\t\t\t<th>Pounds</th>\\n\t\t\t\t<th>Position type</th>\\n\t\t\t\t<th>Hedged Basis Price</th>\\n\t\t\t\t<th>Forward Basis</th>\\n\t\t\t\t<th>Spot Basis</th>\\n\t\t\t\t<th>Basis P&L</th>\\n\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t<th>&nbsp;</th>\\n\t\t\t\t{{/if}}\\n\t\t\t</tr>\\n\t\t</thead>\\n\t\t<tbody>\\n\t\t\t{{#each this.filteredPhysicalPositions as |position|}}\\n\t\t\t\t<tr>\\n\t\t\t\t\t<td>{{position.timestamp}}</td>\\n\t\t\t\t\t<td>{{position.user_id}}</td>\\n\t\t\t\t\t<td>{{position.instrument_id}}</td>\\n\t\t\t\t\t<td>{{if position.long \\\"BOUGHT\\\" \\\"SOLD\\\"}}</td>\\n\t\t\t\t\t<td>{{format-number position.quantity \\\"0,0\\\"}}</td>\\n\t\t\t\t\t<td>FORWARD</td>\\n\t\t\t\t\t<td>{{format-number position.price position.priceFormatting}}</td>\\n\t\t\t\t\t<td>{{format-number\\n\t\t\t\t\t\t\tposition.month.agropurBasisPrice\\n\t\t\t\t\t\t\tposition.priceFormatting\\n\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t<td>{{format-number\\n\t\t\t\t\t\t\tposition.month.spotBasisPrice\\n\t\t\t\t\t\t\tposition.priceFormatting\\n\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t<td>{{format-number position.plInDollars \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-warning\\\"\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.editManualPosition position)}}\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"edit\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-danger\\\"\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.deleteManualPosition position)}}\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"trash\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t</tr>\\n\t\t\t{{else}}\\n\t\t\t\t<tr>\\n\t\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t\t<td colspan=\\\"12\\\">There are no positions for this month.</td>\\n\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t<td colspan=\\\"11\\\">There are no positions for this month.</td>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t</tr>\\n\t\t\t{{/each}}\\n\t\t</tbody>\\n\t</table>\\n</div>\\n\\n<VdModal\\n\t@showModal={{this.showPositionModal}}\\n\t@title={{if (gt this.newModel.id 0) \\\"Edit Position\\\" \\\"Create Position\\\"}}\\n>\\n\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t{{#if this.errorMessage}}\\n\t\t\t<div class=\\\"alert alert-danger\\\">\\n\t\t\t\t{{this.errorMessage}}\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"tradeDate\\\" class=\\\"col-sm-3 control-label\\\">Trade Date</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"date\\\"\\n\t\t\t\t\t\t@value={{this.newModel.timestamp}}\\n\t\t\t\t\t\tplaceholder={{this.newModel.timestamp}}\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Position Type</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select class=\\\"form-control\\\" disabled>\\n\t\t\t\t\t\t<option value=\\\"FORWARD\\\">\\n\t\t\t\t\t\t\tForward\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Side</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select class=\\\"form-control\\\" disabled>\\n\t\t\t\t\t\t<option value=\\\"false\\\">\\n\t\t\t\t\t\t\tSOLD\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label class=\\\"col-sm-3 control-label\\\">Unhedged</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<p class=\\\"form-control-static\\\">{{format-number\\n\t\t\t\t\t\t\tthis.newModel.month.agropurBasisRemainingPoundsHedgeable\\n\t\t\t\t\t\t\t\\\"0,0\\\"\\n\t\t\t\t\t\t}}\\n\t\t\t\t\t\tlbs\\n\t\t\t\t\t</p>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div\\n\t\t\t\tclass=\\\"form-group\\n\t\t\t\t\t{{if\\n\t\t\t\t\t\t(gte\\n\t\t\t\t\t\t\tthis.newModel.quantity\\n\t\t\t\t\t\t\tthis.newModel.month.agropurBasisRemainingPoundsHedgeable\\n\t\t\t\t\t\t)\\n\t\t\t\t\t\t\\'has-error\\'\\n\t\t\t\t\t}}\\\"\\n\t\t\t>\\n\t\t\t\t<label class=\\\"col-sm-3 control-label\\\">Pounds</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newModel.quantity}}\\n\t\t\t\t\t\tplaceholder=\\\"0\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t\t<span\\n\t\t\t\t\t\tclass=\\\"help-block\\n\t\t\t\t\t\t\t{{unless\\n\t\t\t\t\t\t\t\t(gte\\n\t\t\t\t\t\t\t\t\tthis.newModel.quantity\\n\t\t\t\t\t\t\t\t\tthis.newModel.month.agropurBasisRemainingPoundsHedgeable\\n\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t\\'hidden\\'\\n\t\t\t\t\t\t\t}}\\\"\\n\t\t\t\t\t>Hedges cannot exceed 100% of monthly milk production.</span>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Price</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newModel.price}}\\n\t\t\t\t\t\tplaceholder={{this.newModel.priceFormatting}}\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\tdisabled\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Ticket Number</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t@value={{this.newModel.instrument_id}}\\n\t\t\t\t\t\tplaceholder=\\\"Trade ticket number\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t{{on \\\"click\\\" this.cancelPositionModal}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button class=\\\"btn btn-sm btn-success\\\" {{on \\\"click\\\" this.saveRecord}}>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\t{{if (gt this.newModel.id 0) \\\"Save\\\" \\\"Create\\\"}}\\n\t\t</button>\\n\t</div>\\n</VdModal>\\n\\n<VdModal @showModal={{this.showDeleteConfirmModal}} @title=\\\"Delete Position\\\">\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t{{#if this.deleteErrorMessage}}\\n\t\t\t<div class=\\\"alert alert-danger\\\">\\n\t\t\t\t{{this.deleteErrorMessage}}\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<p>Are you sure you want to delete this position?</p>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t{{on \\\"click\\\" this.cancelDeletePosition}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-danger\\\"\\n\t\t\t{{on \\\"click\\\" this.confirmDeletePosition}}\\n\t\t\tdisabled={{this.isDeletingPosition}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"trash\\\" />\\n\t\t\t{{#if this.isDeletingPosition}}Deleting...{{else}}Delete{{/if}}\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/basis-hedges/detail.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body hidden-xs hidden-sm\\\">\\n\t\t<div class=\\\"pull-right\\\">\\n\t\t\t<div class=\\\"clearfix\\\">\\n\t\t\t\t<PeriodButton\\n\t\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t\t<div style=\\\"margin-top: 5px;\\\">\\n\t\t\t\t<div class=\\\"pull-right\\\">\\n\t\t\t\t\t<DisplayModeButton\\n\t\t\t\t\t\t@displayMode={{this.model.displayMode}}\\n\t\t\t\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t\t<PrintButton />\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<h2 class=\\\"vd-title\\\">{{this.ENV.BRAND.organizationName}} Basis Positions</h2>\\n\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t<div class=\\\"btn-group btn-group-sm\\\" style=\\\"margin-top: 1em;\\\">\\n\t\t\t\t<button\\n\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t>\\n\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\tAdd Positions</button>\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t</div>\\n\\n\t<div class=\\\"panel-body visible-xs visible-sm\\\">\\n\t\t<h2 class=\\\"vd-title\\\">{{this.ENV.BRAND.organizationName}} Basis Positions</h2>\\n\t\t<hr />\\n\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t<div class=\\\"btn-group btn-group-justified btn-group-sm\\\" role=\\\"group\\\">\\n\t\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t\t<button\\n\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t\t>Add Positions</button>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<DisplayModeButton\\n\t\t\t@displayMode={{this.model.displayMode}}\\n\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t/>\\n\t\t<PeriodButton\\n\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t/>\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th class=\\\"vd-table-divider vd-tooltip-icon-on-hover\\\">Month</th>\\n\t\t\t\t\t<th>Base Volume</th>\\n\t\t\t\t\t<th>Pounds Basis Hedged</th>\\n\t\t\t\t\t<th>Basis % Hedged</th>\\n\t\t\t\t\t<th>Forward Basis</th>\\n\t\t\t\t\t<th>Spot Basis</th>\\n\t\t\t\t\t<th>Hedged Basis Price</th>\\n\t\t\t\t\t<th>Net Basis P/L</th>\\n\t\t\t\t\t<th>&nbsp;</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.model.months as |month|}}\\n\t\t\t\t\t{{#if month.isFirstOfTheYear}}\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<td class=\\\"grid-year-header\\\" colspan=\\\"{{this.colspan}}\\\"></td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t\t<tr>\\n\\n\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month month.date}}\\n\t\t\t\t\t\t\t{{#if month.isPast}}<small>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"calendar-times\\\" /></small>{{/if}}</td>\\n\\n\t\t\t\t\t\t<td>{{format-number month.totalProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.agropurBasisPoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.agropurBasisPercentageHedged \\\"0,0.0%\\\"}}</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.agropurBasisPrice}}\\n\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\tmonth.agropurBasisPrice\\n\t\t\t\t\t\t\t\t\tmonth.agropurBasisInstrument.product.formatting\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.spotBasisPrice}}\\n\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\tmonth.spotBasisPrice\\n\t\t\t\t\t\t\t\t\tmonth.spotBasisInstrument.product.formatting\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.agropurBasisHedgePrice}}\\n\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\tmonth.agropurBasisHedgePrice\\n\t\t\t\t\t\t\t\t\tmonth.agropurBasisInstrument.product.formatting\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.agropurBasisNetPL}}\\n\t\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\t\tmonth.agropurBasisNetPL\\n\t\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t\tthis.model.displayMode\\n\t\t\t\t\t\t\t\t\tmonth.agropurBasisCWTHedged\\n\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\t\tmonth.cows\\n\t\t\t\t\t\t\t\t\ttrue\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\\n\t\t\t\t\t\t<td><LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.basis-hedges.detail\\\"\\n\t\t\t\t\t\t\t\t@model={{month.id}}\\n\t\t\t\t\t\t\t>Details</LinkTo></td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n</div>\\n\\n<VdModal @showModal={{this.showPositionsModal}} @title=\\\"Add New Positions\\\">\\n\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t{{#if this.errorMessage}}\\n\t\t\t<div class=\\\"alert alert-danger\\\">\\n\t\t\t\t{{this.errorMessage}}\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Positions Type</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select class=\\\"form-control\\\" disabled>\\n\t\t\t\t\t\t<option value=\\\"FORWARD\\\" selected={{eq this.newPositionType \\\"FORWARD\\\"}}>\\n\t\t\t\t\t\t\tForward\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Side</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select class=\\\"form-control\\\" disabled>\\n\t\t\t\t\t\t<option value=\\\"false\\\">\\n\t\t\t\t\t\t\tSOLD\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Pounds</label>\\n\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newPositionQuantity}}\\n\t\t\t\t\t\tplaceholder=\\\"0,000\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Ticket Number</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t@value={{this.newTicketNumber}}\\n\t\t\t\t\t\tplaceholder=\\\"Trade ticket number\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\" style=\\\"max-height: 300px; overflow-y:scroll\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Month(s)</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<table class=\\\"table table-striped table-bordered\\\" style=\\\"width: 100%\\\">\\n\t\t\t\t\t\t<thead>\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<th width=\\\"40\\\">\\n\t\t\t\t\t\t\t\t\t<input\\n\t\t\t\t\t\t\t\t\t\ttype=\\\"checkbox\\\"\\n\t\t\t\t\t\t\t\t\t\tchecked={{this.allMonthsSelected}}\\n\t\t\t\t\t\t\t\t\t\tindeterminate={{this.partialMonthsSelected}}\\n\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" this.updateAllSelectedMonths}}\\n\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t</th>\\n\t\t\t\t\t\t\t\t<th>Month</th>\\n\t\t\t\t\t\t\t\t<th>Forward Price</th>\\n\t\t\t\t\t\t\t\t<th>Spot Price</th>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t</thead>\\n\t\t\t\t\t\t<tbody>\\n\\n\t\t\t\t\t\t\t{{#each this.model.selectableMonths as |m|}}\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t<Input @type=\\\"checkbox\\\" @checked={{m.checked}} /></td>\\n\t\t\t\t\t\t\t\t\t<td>{{format-month m.month.date}}</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\t\t\tm.month.agropurBasisPrice\\n\t\t\t\t\t\t\t\t\t\t\tm.month.agropurBasisInstrument.product.formatting\\n\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\t\t\tm.month.spotBasisPrice\\n\t\t\t\t\t\t\t\t\t\t\tm.month.agropurBasisInstrument.product.formatting\\n\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t</table>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button class=\\\"btn btn-default\\\" {{on \\\"click\\\" this.cancelPositionsModal}}>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-success\\\"\\n\t\t\t{{on \\\"click\\\" this.saveRecords}}\\n\t\t\tdisabled={{this.isCreatingPositions}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\t{{#if this.isCreatingPositions}}Saving...{{else}}Save{{/if}}\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/basis-hedges/index.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-md-6\\\">\\n\t\t\t\t<LinkTo\\n\t\t\t\t\t@route=\\\"authenticated.basis-prices\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default btn-sm\\\"\\n\t\t\t\t><FaIcon @icon=\\\"chevron-left\\\" /> Back to Overview</LinkTo>\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t\t<h2\\n\t\t\tclass=\\\"vd-title\\\"\\n\t\t\tstyle=\\\"margin-top: 15px;\\\"\\n\t\t>{{this.model.instrument.name}}</h2>\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\">\\n\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t<thead>\\n\t\t\t<tr>\\n\t\t\t\t<th>ID</th>\\n\t\t\t\t<th>Forward Basis Offer</th>\\n\t\t\t\t<th>Date Offered</th>\\n\t\t\t</tr>\\n\t\t</thead>\\n\t\t<tbody>\\n\\n\t\t\t{{#each this.model.sortedVaultMarketData as |datum|}}\\n\t\t\t\t<tr\\n\t\t\t\t\ttitle=\\\"{{if\\n\t\t\t\t\t\t(eq datum.id this.model.instrument.lastMarketDatum.id)\\n\t\t\t\t\t\t\\'Forward Basis\\'\\n\t\t\t\t\t}}\\\"\\n\t\t\t\t\tclass=\\\"{{if\\n\t\t\t\t\t\t\t(eq datum.id this.model.instrument.lastMarketDatum.id)\\n\t\t\t\t\t\t\t\\'bold-text\\'\\n\t\t\t\t\t\t}}\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<td>{{datum.id}}</td>\\n\t\t\t\t\t<td>{{datum.price}}</td>\\n\t\t\t\t\t<td>{{moment-format\\n\t\t\t\t\t\t\tdatum.timestamp\\n\t\t\t\t\t\t\t\\\"MM/DD/YYYY @ hh:mm:ss A z\\\"\\n\t\t\t\t\t\t\ttimeZone=\\\"America/Chicago\\\"\\n\t\t\t\t\t\t}}</td>\\n\t\t\t\t</tr>\\n\t\t\t{{else}}\\n\t\t\t\t<tr>\\n\t\t\t\t\t<td colspan=\\\"7\\\">No Forward Basis</td>\\n\t\t\t\t</tr>\\n\t\t\t{{/each}}\\n\\n\t\t</tbody>\\n\t</table>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/basis-prices/detail.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body\\\">\\n\t\t<VdToolbar @showCwtTotalButtons={{false}} @showYearChangeButtons={{false}}>\\n\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t{{#if this.model.organization.basisGlobexSymbol}}\\n\t\t\t\t\t<div class=\\\"btn-group btn-group-sm hidden-xs hidden-sm\\\">\\n\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleBasisOfferModal}}\\n\t\t\t\t\t\t>Update Basis Offer</button>\\n\t\t\t\t\t</div>\\n\t\t\t\t\t<div\\n\t\t\t\t\t\tclass=\\\"btn-group btn-group-justified btn-group-sm visible-xs visible-sm\\\"\\n\t\t\t\t\t\trole=\\\"group\\\"\\n\t\t\t\t\t\taria-label=\\\"...\\\"\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleBasisOfferModal}}\\n\t\t\t\t\t\t\t>Update Basis Offer</button>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{/if}}\\n\\n\t\t\t\t{{#if this.model.organization.endProductBasisGlobexSymbol}}\\n\t\t\t\t\t<div class=\\\"btn-group btn-group-sm hidden-xs hidden-sm\\\">\\n\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleEndProductBasisModal}}\\n\t\t\t\t\t\t>Update EPB Basis</button>\\n\t\t\t\t\t</div>\\n\t\t\t\t\t<div\\n\t\t\t\t\t\tclass=\\\"btn-group btn-group-justified btn-group-sm visible-xs visible-sm\\\"\\n\t\t\t\t\t\trole=\\\"group\\\"\\n\t\t\t\t\t\taria-label=\\\"...\\\"\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleEndProductBasisModal}}\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\tUpdate EPB Basis</button>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{/if}}\\n\t\t\t\t{{#if this.model.organization.spotGlobexSymbol}}\\n\t\t\t\t\t<div class=\\\"btn-group btn-group-sm hidden-xs hidden-sm\\\">\\n\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleSpotModal}}\\n\t\t\t\t\t\t>Update Spot</button>\\n\t\t\t\t\t</div>\\n\t\t\t\t\t<div\\n\t\t\t\t\t\tclass=\\\"btn-group btn-group-justified btn-group-sm visible-xs visible-sm\\\"\\n\t\t\t\t\t\trole=\\\"group\\\"\\n\t\t\t\t\t\taria-label=\\\"...\\\"\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleSpotModal}}\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\tUpdate Spot</button>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{/if}}\\n\t\t\t{{/if}}\\n\t\t</VdToolbar>\\n\t\t<h2 class=\\\"vd-title\\\">{{this.model.organization.name}}\\n\t\t\tBasis Administration Page</h2>\\n\t\t<div class=\\\"text-success\\\">View and update\\n\t\t\t{{this.ENV.BRAND.organizationName}}\\n\t\t\tBasis offers here.</div>\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\">\\n\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t<thead>\\n\t\t\t<tr>\\n\t\t\t\t<th class=\\\"vd-table-divider vd-tooltip-icon-on-hover\\\">Month</th>\\n\t\t\t\t<th>Forward Basis</th>\\n\t\t\t\t{{#if this.model.organization.endProductBasisGlobexSymbol}}\\n\t\t\t\t\t<th>EPB Basis</th>\\n\t\t\t\t{{/if}}\\n\t\t\t\t<th>Spot Basis</th>\\n\t\t\t\t<th>Last Updated</th>\\n\t\t\t\t<th>&nbsp;</th>\\n\t\t\t</tr>\\n\t\t</thead>\\n\t\t<tbody>\\n\t\t\t{{#each this.monthsArray as |m|}}\\n\t\t\t\t{{#if m.basis.isFirstOfTheYear}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td class=\\\"grid-year-header\\\" colspan=\\\"5\\\"></td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/if}}\\n\t\t\t\t<tr>\\n\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month m.date}}</td>\\n\t\t\t\t\t<td>{{format-number m.basis.price \\\"$0.00\\\"}}</td>\\n\t\t\t\t\t{{#if this.model.organization.endProductBasisGlobexSymbol}}\\n\t\t\t\t\t\t<td>{{format-number m.endProduct.price \\\"$0.00\\\"}}</td>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t\t<td>{{format-number m.spot.price \\\"$0.00\\\"}}</td>\\n\t\t\t\t\t<td>{{moment-format\\n\t\t\t\t\t\t\tm.basis.lastMarketDatum.timestamp\\n\t\t\t\t\t\t\t\\\"MM/DD/YYYY @ hh:mm:ss A z\\\"\\n\t\t\t\t\t\t\ttimeZone=\\\"America/Chicago\\\"\\n\t\t\t\t\t\t}}\\n\t\t\t\t\t</td>\\n\t\t\t\t\t<td>\\n\t\t\t\t\t\t{{#if m.basis}}\\n\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.basis-prices.detail\\\"\\n\t\t\t\t\t\t\t\t@model={{m.basis}}\\n\t\t\t\t\t\t\t>Details</LinkTo>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\tDetails\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</td>\\n\t\t\t\t</tr>\\n\\n\t\t\t{{/each}}\\n\\n\t\t</tbody>\\n\t</table>\\n</div>\\n\\n<VdModal @showModal={{this.showBasisOfferModal}} @title=\\\"Update Basis Offer\\\">\\n\\n\t<!--=========================== BASIS BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\" style=\\\"max-height: 300px; overflow-y:scroll\\\">\\n\t\t\t\t<label for=\\\"months\\\" class=\\\"col-sm-3 control-label\\\">Month(s)</label>\\n\t\t\t\t<div class=\\\"col-sm-8\\\">\\n\t\t\t\t\t<table class=\\\"table table-striped table-bordered\\\" style=\\\"width: 100%\\\">\\n\t\t\t\t\t\t<thead>\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<th class=\\\"col-sm-4\\\">Month</th>\\n\t\t\t\t\t\t\t\t<th class=\\\"col-sm-4\\\">Basis Price</th>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t</thead>\\n\t\t\t\t\t\t<tbody>\\n\t\t\t\t\t\t\t{{#each this.model.availableBasisInstruments as |s|}}\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td>{{format-month s.instrument.expiration}}</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t<label for=\\\"basis-price\\\" class=\\\"hidden\\\">Update Basis Price</label>\\n\t\t\t\t\t\t\t\t\t\t<form id=\\\"basisPriceForm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t$\\n\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\tid=\\\"basis-price\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t@value={{s.updatedPrice}}\\n\t\t\t\t\t\t\t\t\t\t\t\tplaceholder={{s.instrument.price}}\\n\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t</form>\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t</table>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button class=\\\"btn btn-default\\\" {{on \\\"click\\\" this.toggleBasisOfferModal}}>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button class=\\\"btn btn-success\\\" {{on \\\"click\\\" this.saveBasisRecords}}>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\tSave\\n\t\t</button>\\n\t</div>\\n</VdModal>\\n\\n<VdModal\\n\t@showModal={{this.showEndProductBasisModal}}\\n\t@title=\\\"Update End Product Basis Price\\\"\\n>\\n\\n\t<!--=========================== END PRODUCT BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\" style=\\\"max-height: 300px; overflow-y:scroll\\\">\\n\t\t\t\t<label for=\\\"months\\\" class=\\\"col-sm-3 control-label\\\">Month(s)</label>\\n\t\t\t\t<div class=\\\"col-sm-8\\\">\\n\t\t\t\t\t<table class=\\\"table table-striped table-bordered\\\" style=\\\"width: 100%\\\">\\n\t\t\t\t\t\t<thead>\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<th class=\\\"col-sm-4\\\">Month</th>\\n\t\t\t\t\t\t\t\t<th class=\\\"col-sm-4\\\">End Product Basis Price</th>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t</thead>\\n\t\t\t\t\t\t<tbody>\\n\t\t\t\t\t\t\t{{#each this.model.availableEndProductBasisInstruments as |s|}}\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td>{{format-month s.instrument.expiration}}</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t<label for=\\\"basis-price\\\" class=\\\"hidden\\\">Update End Product Basis Price</label>\\n\t\t\t\t\t\t\t\t\t\t$\\n\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\tid=\\\"end-product-price\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@value={{s.updatedPrice}}\\n\t\t\t\t\t\t\t\t\t\t\tplaceholder={{s.instrument.price}}\\n\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t</table>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t{{on \\\"click\\\" this.toggleEndProductBasisModal}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button class=\\\"btn btn-success\\\" {{on \\\"click\\\" this.saveEndProductRecords}}>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\tSave\\n\t\t</button>\\n\t</div>\\n</VdModal>\\n\\n<VdModal @showModal={{this.showSpotModal}} @title=\\\"Update Spot Price\\\">\\n\\n\t<!--=========================== SPOT BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\" style=\\\"max-height: 300px; overflow-y:scroll\\\">\\n\t\t\t\t<label for=\\\"months\\\" class=\\\"col-sm-3 control-label\\\">Month(s)</label>\\n\t\t\t\t<div class=\\\"col-sm-8\\\">\\n\t\t\t\t\t<table class=\\\"table table-striped table-bordered\\\" style=\\\"width: 100%\\\">\\n\t\t\t\t\t\t<thead>\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<th class=\\\"col-sm-4\\\">Month</th>\\n\t\t\t\t\t\t\t\t<th class=\\\"col-sm-4\\\">Spot Price</th>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t</thead>\\n\t\t\t\t\t\t<tbody>\\n\t\t\t\t\t\t\t{{#each this.model.availableSpotInstruments as |s|}}\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td>{{format-month s.instrument.expiration}}</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t$\\n\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\tid=\\\"spot-price\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@value={{s.updatedPrice}}\\n\t\t\t\t\t\t\t\t\t\t\tplaceholder={{s.instrument.price}}\\n\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t</table>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button class=\\\"btn btn-default\\\" {{on \\\"click\\\" this.toggleSpotModal}}>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button class=\\\"btn btn-success\\\" {{on \\\"click\\\" this.saveSpotRecords}}>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\tSave\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/basis-prices/index.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body hidden-xs\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-md-6\\\">\\n\t\t\t\t<LinkTo\\n\t\t\t\t\t@route=\\\"authenticated.class-iii-hedges\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default btn-sm\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<FaIcon @icon=\\\"chevron-left\\\" />\\n\t\t\t\t\tBack to Positions</LinkTo>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"col-md-6 text-right\\\">\\n\t\t\t\t{{#if @model.isOrgAdmin}}\\n\t\t\t\t\t<button\\n\t\t\t\t\t\tclass=\\\"btn btn-primary btn-sm\\\"\\n\t\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\t\tNew Position\\n\t\t\t\t\t</button>\\n\t\t\t\t{{/if}}\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t\t<h2 class=\\\"vd-title\\\" style=\\\"margin-top: 15px;\\\">{{format-month\\n\t\t\t\t@model.month.date\\n\t\t\t}}\\n\t\t\tClass III Milk</h2>\\n\t</div>\\n\\n\t<div class=\\\"panel-body visible-xs\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<LinkTo\\n\t\t\t\t\t@route=\\\"authenticated.class-iii-hedges\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default btn-sm\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<FaIcon @icon=\\\"chevron-left\\\" />\\n\t\t\t\t\tBack to Positions</LinkTo>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"col-xs-12 text-right\\\">\\n\t\t\t\t{{#if @model.isOrgAdmin}}\\n\t\t\t\t\t<hr />\\n\t\t\t\t\t<button\\n\t\t\t\t\t\tclass=\\\"btn btn-block btn-primary btn-sm\\\"\\n\t\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\t\tNew Position\\n\t\t\t\t\t</button>\\n\t\t\t\t{{/if}}\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t\t<h2 class=\\\"vd-title h3\\\" style=\\\"margin-top: 15px;\\\">{{format-month\\n\t\t\t\t@model.month.date\\n\t\t\t}}\\n\t\t\tClass III Milk</h2>\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th>Date Entered</th>\\n\t\t\t\t\t<th>User</th>\\n\t\t\t\t\t<th>Broker</th>\\n\t\t\t\t\t<th>Ticket Number</th>\\n\t\t\t\t\t<th>Bought / Sold</th>\\n\t\t\t\t\t<th>Pounds</th>\\n\t\t\t\t\t<th>Position type</th>\\n\t\t\t\t\t<th>Strike</th>\\n\t\t\t\t\t<th>Option Premium</th>\\n\t\t\t\t\t<th>Hedged Class III Price</th>\\n\t\t\t\t\t<th>Current Class III Market Price</th>\\n\t\t\t\t\t<th>Class III P&L</th>\\n\t\t\t\t\t{{#if @model.isOrgAdmin}}\\n\t\t\t\t\t\t<th>&nbsp;</th>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.filteredPhysicalPositions as |position|}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td>{{position.timestamp}}</td>\\n\t\t\t\t\t\t<td>{{#if position.userId}}{{position.userId}}{{else}}KDM{{/if}}</td>\\n\t\t\t\t\t\t<td>{{position.broker}}</td>\\n\t\t\t\t\t\t<td>{{position.instrument_id}}</td>\\n\t\t\t\t\t\t<td>{{#if position.long}}Bought{{else}}Sold{{/if}}</td>\\n\t\t\t\t\t\t<td>{{format-number position.quantity \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if (eq position.type \\\"FORWARD\\\")}}\\n\t\t\t\t\t\t\t\tForward\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t{{#if (eq position.type \\\"PUT\\\")}}\\n\t\t\t\t\t\t\t\t\tMin Price\\n\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\tMax Price\\n\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>{{#if position.strike}}{{format-number\\n\t\t\t\t\t\t\t\t\tposition.strike\\n\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t}}{{else}}-{{/if}}</td>\\n\t\t\t\t\t\t<td>{{#if position.strike}}{{format-number\\n\t\t\t\t\t\t\t\t\tposition.price\\n\t\t\t\t\t\t\t\t\tposition.priceFormatting\\n\t\t\t\t\t\t\t\t}}{{else}}-{{/if}}</td>\\n\t\t\t\t\t\t<td>{{#unless position.strike}}{{format-number\\n\t\t\t\t\t\t\t\t\tposition.price\\n\t\t\t\t\t\t\t\t\tposition.priceFormatting\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t{{else}}-{{/unless}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>{{format-number position.currentPrice @model.product.formatting}}</td>\\n\t\t\t\t\t\t<td>{{format-number position.plInDollars \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t{{#if @model.isOrgAdmin}}\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-warning\\\"\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.editManualPosition position)}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"edit\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-danger\\\"\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.deleteManualPosition position)}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"trash\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{else}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t{{#if @model.isOrgAdmin}}\\n\t\t\t\t\t\t\t<td colspan=\\\"12\\\">There are no positions for this month.</td>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t<td colspan=\\\"11\\\">There are no positions for this month.</td>\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n</div>\\n\\n<VdModal\\n\t@showModal={{this.showPositionModal}}\\n\t@title={{if (gt this.newModel.id 0) \\\"Edit Position\\\" \\\"Create Position\\\"}}\\n>\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t{{#if this.errorMessage}}\\n\t\t\t<div class=\\\"alert alert-danger\\\">\\n\t\t\t\t{{this.errorMessage}}\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Class Three Price</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@value={{format-number\\n\t\t\t\t\t\t\t@model.month.classThreeMilkPrice\\n\t\t\t\t\t\t\t@model.product.formatting\\n\t\t\t\t\t\t}}\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\tdisabled\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"tradeDate\\\" class=\\\"col-sm-3 control-label\\\">Trade Date</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"date\\\"\\n\t\t\t\t\t\t@value={{this.newModel.timestamp}}\\n\t\t\t\t\t\tplaceholder={{this.newModel.timestamp}}\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Position Type</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t{{on \\\"change\\\" (pick \\\"target.value\\\" (fn (mut this.newModel.type)))}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<option value=\\\"FORWARD\\\" selected={{eq this.newModel.type \\\"FORWARD\\\"}}>\\n\t\t\t\t\t\t\tForward\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t\t<option value=\\\"CALL\\\" selected={{eq this.newModel.type \\\"CALL\\\"}}>\\n\t\t\t\t\t\t\tMax Price\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t\t<option value=\\\"PUT\\\" selected={{eq this.newModel.type \\\"PUT\\\"}}>\\n\t\t\t\t\t\t\tMin Price\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t{{#unless (eq this.newModel.type \\\"FORWARD\\\")}}\\n\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Strike Price</label>\\n\t\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t\t@value={{this.newModel.strike}}\\n\t\t\t\t\t\t\tplaceholder={{this.newModel.priceFormatting}}\\n\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t{{/unless}}\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Side</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t{{on \\\"change\\\" (pick \\\"target.value\\\" (fn (mut this.newModel.long)))}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<option\\n\t\t\t\t\t\t\tvalue=\\\"true\\\"\\n\t\t\t\t\t\t\tselected={{or\\n\t\t\t\t\t\t\t\t(eq this.newModel.long true)\\n\t\t\t\t\t\t\t\t(eq this.newModel.long \\\"true\\\")\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t>\\n\t\t\t\t\t\t\tBOUGHT\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t\t<option\\n\t\t\t\t\t\t\tvalue=\\\"false\\\"\\n\t\t\t\t\t\t\tselected={{or\\n\t\t\t\t\t\t\t\t(eq this.newModel.long false)\\n\t\t\t\t\t\t\t\t(eq this.newModel.long \\\"false\\\")\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t>\\n\t\t\t\t\t\t\tSOLD\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div\\n\t\t\t\tclass=\\\"form-group\\n\t\t\t\t\t{{if\\n\t\t\t\t\t\t(gte\\n\t\t\t\t\t\t\tthis.newModel.quantity\\n\t\t\t\t\t\t\tthis.newModel.month.agropurClassThreeMilkRemainingPoundsHedgeable\\n\t\t\t\t\t\t)\\n\t\t\t\t\t\t\\'has-error\\'\\n\t\t\t\t\t}}\\\"\\n\t\t\t>\\n\t\t\t\t<label class=\\\"col-sm-3 control-label\\\">Pounds</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newModel.quantity}}\\n\t\t\t\t\t\tplaceholder=\\\"0,000\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t\t<span\\n\t\t\t\t\t\tclass=\\\"help-block\\n\t\t\t\t\t\t\t{{unless\\n\t\t\t\t\t\t\t\t(gte\\n\t\t\t\t\t\t\t\t\tthis.newModel.quantity\\n\t\t\t\t\t\t\t\t\tthis.newModel.month.agropurClassThreeMilkRemainingPoundsHedgeable\\n\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t\\'hidden\\'\\n\t\t\t\t\t\t\t}}\\\"\\n\t\t\t\t\t>Hedges cannot exceed 100% of monthly milk production.</span>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t{{#if (eq this.newModel.type \\\"FORWARD\\\")}}\\n\t\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Price</label>\\n\t\t\t\t{{else}}\\n\t\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Premium</label>\\n\t\t\t\t{{/if}}\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newModel.price}}\\n\t\t\t\t\t\tplaceholder={{this.newModel.priceFormatting}}\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Ticket Number</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t@value={{this.newModel.instrument_id}}\\n\t\t\t\t\t\tplaceholder=\\\"Trade ticket number\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t{{on \\\"click\\\" this.cancelPositionModal}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button class=\\\"btn btn-sm btn-success\\\" {{on \\\"click\\\" this.saveRecord}}>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\t{{if (gt this.newModel.id 0) \\\"Save\\\" \\\"Create\\\"}}\\n\t\t</button>\\n\t</div>\\n</VdModal>\\n\\n<VdModal @showModal={{this.showDeleteConfirmModal}} @title=\\\"Delete Position\\\">\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t{{#if this.deleteErrorMessage}}\\n\t\t\t<div class=\\\"alert alert-danger\\\">\\n\t\t\t\t{{this.deleteErrorMessage}}\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<p>Are you sure you want to delete this position?</p>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t{{on \\\"click\\\" this.cancelDeletePosition}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-danger\\\"\\n\t\t\t{{on \\\"click\\\" this.confirmDeletePosition}}\\n\t\t\tdisabled={{this.isDeletingPosition}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"trash\\\" />\\n\t\t\t{{#if this.isDeletingPosition}}Deleting...{{else}}Delete{{/if}}\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/class-iii-hedges/detail.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body hidden-xs hidden-sm\\\">\\n\t\t<div class=\\\"pull-right\\\">\\n\t\t\t<div class=\\\"clearfix\\\">\\n\t\t\t\t<PeriodButton\\n\t\t\t\t\t@periodDate={{@model.periodDate}}\\n\t\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t\t<div style=\\\"margin-top: 5px;\\\">\\n\t\t\t\t<div class=\\\"pull-right\\\">\\n\t\t\t\t\t<DisplayModeButton\\n\t\t\t\t\t\t@displayMode={{@model.displayMode}}\\n\t\t\t\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t\t<PrintButton />\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<h2 class=\\\"vd-title\\\">Class III Milk Positions</h2>\\n\t\t{{#if @model.isOrgAdmin}}\\n\t\t\t<div class=\\\"btn-group btn-group-sm\\\" style=\\\"margin-top: 1em;\\\">\\n\t\t\t\t<button\\n\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t>\\n\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\tAdd Positions</button>\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t</div>\\n\\n\t<div class=\\\"panel-body visible-xs visible-sm\\\">\\n\t\t<h2 class=\\\"vd-title\\\">Class III Milk Positions</h2>\\n\t\t<hr />\\n\t\t{{#if @model.isOrgAdmin}}\\n\t\t\t<div class=\\\"btn-group btn-group-justified btn-group-sm\\\" role=\\\"group\\\">\\n\t\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t\t<button\\n\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t\t>Add Positions</button>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<DisplayModeButton\\n\t\t\t@displayMode={{@model.displayMode}}\\n\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t/>\\n\t\t<PeriodButton\\n\t\t\t@periodDate={{@model.periodDate}}\\n\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t/>\\n\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th class=\\\"vd-table-divider vd-tooltip-icon-on-hover\\\">Month</th>\\n\t\t\t\t\t<th>Base Volume</th>\\n\t\t\t\t\t<th>Class III Market Price</th>\\n\\n\t\t\t\t\t<th>Pounds Hedged</th>\\n\t\t\t\t\t<th>Class III % Hedged</th>\\n\\n\t\t\t\t\t<th>Forward Price</th>\\n\t\t\t\t\t<th>Min Price</th>\\n\t\t\t\t\t<th>Max Price</th>\\n\t\t\t\t\t<th>Options P/L</th>\\n\t\t\t\t\t<th>Forward P/L</th>\\n\t\t\t\t\t<th class=\\\"vd-tooltip-icon\\\">\\n\t\t\t\t\t\tNet Class III P/L&nbsp;\\n\t\t\t\t\t\t<VdTooltipIcon\\n\t\t\t\t\t\t\t@class=\\\"fa fa-info-circle\\\"\\n\t\t\t\t\t\t\t@data-toggle=\\\"tooltip\\\"\\n\t\t\t\t\t\t\t@data-placement=\\\"bottom\\\"\\n\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t<table>\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td>&nbsp;Hedge P/L on Hedged Production&nbsp;</td>\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t</table>\\n\t\t\t\t\t\t</VdTooltipIcon>\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th>&nbsp;</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\\n\t\t\t\t{{#each @model.months as |month|}}\\n\t\t\t\t\t{{#if month.isFirstOfTheYear}}\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<td class=\\\"grid-year-header\\\" colspan=\\\"{{this.colspan}}\\\"></td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month month.date}}\\n\t\t\t\t\t\t\t{{#if month.isPast}}<small><FaIcon\\n\t\t\t\t\t\t\t\t\t\t@icon=\\\"calendar-times\\\"\\n\t\t\t\t\t\t\t\t\t/></small>{{/if}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.totalProduction \\\"0,0\\\"}}</td>\\n\\n\t\t\t\t\t\t<td title=\\\"Class III Milk\\\">\\n\t\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.markets\\\">\\n\t\t\t\t\t\t\t\t{{format-number month.classThreeMilkPrice \\\"$0,0.00\\\"}}\\n\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>{{format-number month.classThreePoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.classThreeMilkPercentageHedged \\\"0,0.0%\\\"}}</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkForwardPriceHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\tmonth.totalProductionCwt\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\tmonth.cows\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t({{format-number month.classThreeMilkForwardPercentageHedged \\\"0,0%\\\"}})\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\tmonth.displayedClassThreeMilkPutOptionPriceHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkPutOptionCWTHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\tmonth.cows\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t({{format-number month.classThreeMilkPutOptionPercentageHedged \\\"0,0%\\\"}})\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkCallOptionPriceHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkCallOptionCWTHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\tmonth.cows\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t({{format-number month.classThreeMilkCallOptionPercentageHedged \\\"0,0%\\\"}})\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\tmonth.classThreeOptionPL\\n\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkOptionCWTHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\tmonth.cows\\n\t\t\t\t\t\t\t\ttrue\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t</td>\\n\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkForwardPL\\n\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkForwardCWTHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\tmonth.cows\\n\t\t\t\t\t\t\t\ttrue\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t</td>\\n\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\tmonth.offExchangeClassThreeMilkPL\\n\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\tmonth.classThreeMilkCWTHedged\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\tmonth.cows\\n\t\t\t\t\t\t\t\ttrue\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t</td>\\n\\n\t\t\t\t\t\t<td><LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.class-iii-hedges.detail\\\"\\n\t\t\t\t\t\t\t\t@model={{month.id}}\\n\t\t\t\t\t\t\t>Details</LinkTo></td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n</div>\\n\\n<VdModal @showModal={{this.showPositionsModal}} @title=\\\"Add New Positions\\\">\\n\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t{{#if this.errorMessage}}\\n\t\t\t<div class=\\\"alert alert-danger\\\">\\n\t\t\t\t{{this.errorMessage}}\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Positions Type</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t{{on \\\"change\\\" (pick \\\"target.value\\\" (fn (mut this.newPositionType)))}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<option value=\\\"FORWARD\\\" selected={{eq this.newPositionType \\\"FORWARD\\\"}}>\\n\t\t\t\t\t\t\tForward\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t\t<option value=\\\"CALL\\\" selected={{eq this.newPositionType \\\"CALL\\\"}}>\\n\t\t\t\t\t\t\tMax Price\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t\t<option value=\\\"PUT\\\" selected={{eq this.newPositionType \\\"PUT\\\"}}>\\n\t\t\t\t\t\t\tMin Price\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t{{#unless (eq this.newPositionType \\\"FORWARD\\\")}}\\n\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Strike Price</label>\\n\t\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t\t@value={{this.newPositionStrike}}\\n\t\t\t\t\t\t\tplaceholder=\\\"0.00\\\"\\n\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t{{/unless}}\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Side</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<select\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t{{on \\\"change\\\" (pick \\\"target.value\\\" (fn (mut this.newPositionLong)))}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<option value=\\\"true\\\" selected={{eq this.newPositionLong \\\"true\\\"}}>\\n\t\t\t\t\t\t\tBOUGHT\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t\t<option value=\\\"false\\\" selected={{eq this.newPositionLong \\\"false\\\"}}>\\n\t\t\t\t\t\t\tSOLD\\n\t\t\t\t\t\t</option>\\n\t\t\t\t\t</select>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Pounds</label>\\n\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newPositionQuantity}}\\n\t\t\t\t\t\tplaceholder=\\\"0,000\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t{{#if (eq this.newPositionType \\\"FORWARD\\\")}}\\n\t\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Price</label>\\n\t\t\t\t{{else}}\\n\t\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Premium</label>\\n\t\t\t\t{{/if}}\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newPositionPrice}}\\n\t\t\t\t\t\tplaceholder=\\\"0.00\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Ticket Number</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t@value={{this.newTicketNumber}}\\n\t\t\t\t\t\tplaceholder=\\\"Trade ticket number\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"form-group\\\" style=\\\"max-height: 300px; overflow-y:scroll\\\">\\n\t\t\t\t<label for=\\\"inputEmail3\\\" class=\\\"col-sm-3 control-label\\\">Month(s)</label>\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<table class=\\\"table table-striped table-bordered\\\" style=\\\"width: 100%\\\">\\n\t\t\t\t\t\t<thead>\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<th width=\\\"40\\\">\\n\t\t\t\t\t\t\t\t\t<input\\n\t\t\t\t\t\t\t\t\t\ttype=\\\"checkbox\\\"\\n\t\t\t\t\t\t\t\t\t\tchecked={{this.allMonthsSelected}}\\n\t\t\t\t\t\t\t\t\t\tindeterminate={{this.partialMonthsSelected}}\\n\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" this.updateAllSelectedMonths}}\\n\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t</th>\\n\t\t\t\t\t\t\t\t<th>Month</th>\\n\t\t\t\t\t\t\t\t<th>Market Price</th>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t</thead>\\n\t\t\t\t\t\t<tbody>\\n\\n\t\t\t\t\t\t\t{{#each @model.selectableMonths as |m|}}\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t<Input @type=\\\"checkbox\\\" @checked={{m.checked}} /></td>\\n\t\t\t\t\t\t\t\t\t<td>{{format-month m.month.date}}</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t<VaultPrice\\n\t\t\t\t\t\t\t\t\t\t\t@instrument={{m.month.classThreeMilkInstrument}}\\n\t\t\t\t\t\t\t\t\t\t\t@flashPrice=\\\"true\\\"\\n\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t</table>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button class=\\\"btn btn-default\\\" {{on \\\"click\\\" this.cancelPositionsModal}}>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-success\\\"\\n\t\t\t{{on \\\"click\\\" this.saveRecords}}\\n\t\t\tdisabled={{this.isCreatingPositions}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\t{{#if this.isCreatingPositions}}Saving...{{else}}Save{{/if}}\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/class-iii-hedges/index.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tclass=\\\"hidden-xs\\\"\\n\t\t\t\t\tsrc=\\\"{{this.model.organization.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.organization.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.model.dairy.name}}</h2>\\n\t\t\t\t\t<div class=\\\"text-success\\\">Edit your dairy\\'s profile, contacts, notes, and\\n\t\t\t\t\t\tsettings here.</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\\n\t\t\t\t\t<li class=\\\"active\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-contacts\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-users\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Contacts\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-notes\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-list\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Notes\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-settings\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-cog\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Settings\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t\t\t\t<div class=\\\"panel panel-default flat-panel\\\">\\n\t\t\t\t\t\t\t\t\t<div class=\\\"panel-heading\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleCreateModal \\\"new\\\")}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t><FaIcon @icon=\\\"plus\\\" /> Add Contact</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t<div\\n\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn-group btn-group-sm hidden-xs pull-right\\\"\\n\t\t\t\t\t\t\t\t\t\t\tstyle=\\\"margin-left: 10px;\\\"\\n\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"input-group input-group-sm\\\" style=\\\"max-width: 400px;\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t<span\\n\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"input-group-addon\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\\\"background-color: #fff;\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t><FaIcon @icon=\\\"filter\\\" /></span>\\n\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control input-sm\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder={{concat \\\"contacts.search.\\\" this.searchAttr}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.searchTerm}}\\n\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"input-group-btn hidden\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn (mut this.searchTerm) \\\"\\\")}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>Clear Filter</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"input-group-btn\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t><strong>Filter By:</strong>&nbsp;{{this.searchAttr}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\\\"caret\\\"></span></button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\\\"dropdown-menu dropdown-menu-right\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{#each this.searchAttrs as |attribute|}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.dairy-contacts\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=attribute searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{attribute}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm hidden-xs pull-right\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t{{on\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\\\"click\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t(fn (mut this.sortAscending) (not this.sortAscending))\\n\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t{{#if this.sortAscending}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"sort-alpha-down\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"sort-alpha-up\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t\t\t\t\t</button>\\n\\n\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>Sort By:</strong>&nbsp;{{this.sortProperties}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.dairy-contacts\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"title\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Title</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.dairy-contacts\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"name\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Name</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.dairy-contacts\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"phone\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Phone</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.dairy-contacts\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"email\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Email</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t</ul>\\n\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"clearfix\\\"></div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"table-responsive\\\">\\n\t\t\t\t\t\t\t\t\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<thead>\\n\t\t\t\t\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Title</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Name</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Phone</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Email</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Primary</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Trader</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Edit</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Delete</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t\t\t\t\t</thead>\\n\t\t\t\t\t\t\t\t\t\t\t<tbody>\\n\t\t\t\t\t\t\t\t\t\t\t\t{{#each this.sortedDairyContacts as |contact|}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{contact.title}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{contact.fullName}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{contact.phone}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{contact.email}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{#if contact.primary}}<FaIcon\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@icon=\\\"check\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>{{else}}-{{/if}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{#if contact.isAuthorizedTrader}}<FaIcon\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@icon=\\\"check\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>{{else}}-{{/if}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-xs btn-warning\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleCreateModal contact)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t><FaIcon @icon=\\\"pencil-alt\\\" /></button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-xs btn-danger\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.deleteContact contact)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t><FaIcon @icon=\\\"trash\\\" /></button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\\\"9\\\">No contacts for this dairy.</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t\t\t\t\t\t</table>\\n\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>\\n\\n<VdModal @showModal={{this.showCreateModal}} @title=\\\"Add Contact\\\">\\n\t<!--=========================== BODY ===========================-->\\n\t<div class=\\\"modal-body\\\">\\n\t\t<form>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label>Title</label>\\n\t\t\t\t<Input class=\\\"form-control\\\" @value={{this.newContactModel.title}} />\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label>First Name</label>\\n\t\t\t\t<Input class=\\\"form-control\\\" @value={{this.newContactModel.firstName}} />\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label>Last Name</label>\\n\t\t\t\t<Input class=\\\"form-control\\\" @value={{this.newContactModel.lastName}} />\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label>Phone</label>\\n\t\t\t\t<Input class=\\\"form-control\\\" @value={{this.newContactModel.phone}} />\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label>Email</label>\\n\t\t\t\t<Input class=\\\"form-control\\\" @value={{this.newContactModel.email}} />\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<div class=\\\"checkbox\\\">\\n\t\t\t\t\t<label>\\n\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t@type=\\\"checkbox\\\"\\n\t\t\t\t\t\t\t@name=\\\"Primary Contact\\\"\\n\t\t\t\t\t\t\t@checked={{this.newContactModel.primary}}\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t\tSet this person as the dairy\\'s primary contact.\\n\t\t\t\t\t</label>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<div class=\\\"checkbox\\\">\\n\t\t\t\t\t<label>\\n\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t@type=\\\"checkbox\\\"\\n\t\t\t\t\t\t\t@name=\\\"Authorized Trader\\\"\\n\t\t\t\t\t\t\t@checked={{this.newContactModel.isAuthorizedTrader}}\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t\tSet this person as an authorized trader for the dairy.\\n\t\t\t\t\t</label>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<Textarea\\n\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t@value={{this.newContactModel.miscellaneous.notes}}\\n\t\t\t\t\t@cols=\\\"40\\\"\\n\t\t\t\t\t@rows=\\\"12\\\"\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t</form>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t{{on \\\"click\\\" (fn this.rollbackContact this.newContactModel)}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-success\\\"\\n\t\t\t{{on \\\"click\\\" (fn this.saveContact this.newContactModel)}}\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\tSave\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/dairy-contacts.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tclass=\\\"hidden-xs\\\"\\n\t\t\t\t\tsrc=\\\"{{this.model.organization.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.organization.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.model.dairy.name}}</h2>\\n\t\t\t\t\t<div class=\\\"text-success\\\">Edit your dairy\\'s profile, contacts, notes, and\\n\t\t\t\t\t\tsettings here.</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-contacts\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-users\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Contacts\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li class=\\\"active\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-notes\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-list\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Notes\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-settings\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-cog\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Settings\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<EditableContent\\n\t\t\t\t\t\t\t@postContent={{this.model.dairy.notes}}\\n\t\t\t\t\t\t\t@onSave={{this.onSaveNote}}\\n\t\t\t\t\t\t\t@enableSave={{true}}\\n\t\t\t\t\t\t\t@placeholder=\\\"Enter Notes Here...\\\"\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/dairy-notes.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tclass=\\\"hidden-xs\\\"\\n\t\t\t\t\tsrc=\\\"{{this.model.organization.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.organization.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{@model.dairy.name}}</h2>\\n\t\t\t\t\t<div class=\\\"text-success\\\">Edit your dairy\\'s profile, contacts, notes, and\\n\t\t\t\t\t\tsettings here.</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-contacts\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-users\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Contacts\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-notes\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-list\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Notes\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li class=\\\"active\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.dairy-settings\\\">\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-cog\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Settings\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<div>\\n\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t<div class=\\\"col-sm-12\\\">\\n\t\t\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"subhead mb-0\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t<h2 class=\\\"subhead-heading\\\">Dairy Profile</h2>\\n\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<br />\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-sm-8 col-md-6\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<form>\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">ID</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{@model.dairy.id}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\\\"help-block\\\">This is your Dairy ID within Vault.</span>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Organization</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{@model.dairy.organizationId.name}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Division</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{@model.dairy.organizationId.division}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Producer ID</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{@model.dairy.producerId}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Dairy Name</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{@model.dairy.name}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</form>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-sm-8 col-md-6\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<form>\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"checkbox\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"checkbox\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@name=\\\"ClickwrapAgreement\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@checked={{@model.dairy.isClickwrapAccepted}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@disabled={{true}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\\\"#\\\" {{on \\\"click\\\" this.showClickWrap}}>Click here to read\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tover the terms and conditions of the Hedging Agreement.</a>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</form>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-sm-8 col-md-6\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<form>\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Street Address</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{@model.dairy.miscellaneous.street}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</form>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-sm-8 col-md-6\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<form>\\n\t\t\t\t\t\t\t\t\t\t\t\t<hr />\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.saveDairy @model.dairy)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\\\"fa fa-floppy-o\\\"></i>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSave Dairy\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.rollbackDairy @model.dairy)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\\\"fa fa-times\\\"></i>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tCancel\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</form>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/dairy-settings.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tclass=\\\"hidden-xs\\\"\\n\t\t\t\t\tsrc=\\\"{{this.application.organization.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.application.organization.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.model.dairy.name}}</h2>\\n\t\t\t\t\t<div class=\\\"text-success\\\">{{this.dairy.description}}</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\\n\t\t\t\t\t<LinkTo @route=\\\"dairy.contacts\\\">\\n\t\t\t\t\t\t<i class=\\\"fa fa-users\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Contacts\\n\t\t\t\t\t</LinkTo>\\n\\n\t\t\t\t\t<LinkTo @route=\\\"dairy.notes\\\">\\n\t\t\t\t\t\t<i class=\\\"fa fa-list\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Notes\\n\t\t\t\t\t</LinkTo>\\n\\n\t\t\t\t\t<LinkTo @route=\\\"dairy.settings\\\">\\n\t\t\t\t\t\t<i class=\\\"fa fa-cog\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Settings\\n\t\t\t\t\t</LinkTo>\\n\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t{{outlet}}\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/dairy.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('{{outlet}}', { moduleName: 'agropur-client/templates/authenticated/dairy/index.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<!-- MAIN PANEL -->\\n\t<div class=\\\"col-xs-12 col-sm-12 col-lg-8\\\">\\n\t\t<VdPanel\\n\t\t\t@title={{this.dashboard.main-chart-title}}\\n\t\t\t@class=\\\"hidden-xs\\\"\\n\t\t\t@footer={{false}}\\n\t\t>\\n\t\t\t<div\\n\t\t\t\tclass=\\\"card-content primary\\\"\\n\t\t\t\tstyle=\\\"margin-top: 10px; margin-left: 10px; margin-right: 5px\\\"\\n\t\t\t>\\n\t\t\t\t<div\\n\t\t\t\t\tstyle=\\\"height: 300px; margin-top: 10px;\\\"\\n\t\t\t\t\tclass=\\\"dashboard-chart rd-chart\\\"\\n\t\t\t\t\tid=\\\"main-chart\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<RdChart\\n\t\t\t\t\t\t@data={{this.chartData}}\\n\t\t\t\t\t\t@pointRadius=\\\"4\\\"\\n\t\t\t\t\t\t@showPoints=\\\"true\\\"\\n\t\t\t\t\t\t@containerId=\\\"main-chart\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</VdPanel>\\n\\n\t\t<div class=\\\"panel panel-default visible-xs\\\">\\n\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t<h2 class=\\\"vd-title\\\">Dashboard</h2>\\n\t\t\t\t<hr />\\n\t\t\t\t<DisplayModeButton\\n\t\t\t\t\t@displayMode={{@model.displayMode}}\\n\t\t\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<div class=\\\"panel panel-default\\\">\\n\t\t\t<div class=\\\"panel-heading hidden-xs\\\">\\n\t\t\t\t<DisplayModeButton\\n\t\t\t\t\tclass=\\\"pull-right\\\"\\n\t\t\t\t\t@displayMode={{@model.displayMode}}\\n\t\t\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t\t\t/>\\n\\n\t\t\t\t<div class=\\\"clearfix\\\"></div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"table-responsive\\\">\\n\t\t\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t\t\t<thead>\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<th rowspan=\\\"2\\\" class=\\\"vd-table-divider\\\" style=\\\"min-width: 70px\\\">\\n\t\t\t\t\t\t\t\tMonth\\n\t\t\t\t\t\t\t</th>\\n\t\t\t\t\t\t\t<th rowspan=\\\"2\\\">Class III Market Price</th>\\n\t\t\t\t\t\t\t<th rowspan=\\\"2\\\" class=\\\"vd-table-divider\\\">Net Class III % Hedged</th>\\n\\n\t\t\t\t\t\t\t{{#if @model.organization.showAgropurBasis}}\\n\t\t\t\t\t\t\t\t<th rowspan=\\\"2\\\">Forward Basis</th>\\n\t\t\t\t\t\t\t\t<th rowspan=\\\"2\\\" class=\\\"vd-table-divider\\\">Basis % Hedged</th>\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t</thead>\\n\t\t\t\t\t<tbody>\\n\\n\t\t\t\t\t\t{{#each @model.months as |m|}}\\n\t\t\t\t\t\t\t{{#unless m.isPast}}\\n\t\t\t\t\t\t\t\t{{#if m.isFirstOfTheYear}}\\n\t\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t\t<td class=\\\"grid-year-header\\\" colspan=\\\"7\\\"></td>\\n\t\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month m.date}}\\n\t\t\t\t\t\t\t\t\t\t{{if m.isPast \\\"(H)\\\"}}</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\t\t\t\tm.classThreeMilkPrice\\n\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\t\t\t\tm.totalProductionCwt\\n\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\t\t\t\tm.cowsInMilk\\n\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\t\t\tm.classThreeMilkPercentageHedgedOverTotalProduction\\n\t\t\t\t\t\t\t\t\t\t\t\\\"0,0%\\\"\\n\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t</td>\\n\\n\t\t\t\t\t\t\t\t\t{{#if @model.organization.showAgropurBasis}}\\n\t\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t\t{{#if m.agropurBasisPrice}}{{format-number-cwt\\n\t\t\t\t\t\t\t\t\t\t\t\t\tm.agropurBasisPrice\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\t\t\t\t\t\tm.totalProductionCwt\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\t\t\t\t\t\tm.cowsInMilk\\n\t\t\t\t\t\t\t\t\t\t\t\t}}{{else}}-{{/if}}\\n\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\t\t\t\t\t\t{{#if m.agropurBasisPrice}}{{format-number\\n\t\t\t\t\t\t\t\t\t\t\t\t\tm.agropurBasisPercentageHedged\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\\\"0,0%\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t}}{{else}}-{{/if}}\\n\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t{{/if}}\\n\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t{{/unless}}\\n\t\t\t\t\t\t{{/each}}\\n\\n\t\t\t\t\t</tbody>\\n\t\t\t\t</table>\\n\t\t\t</div>\\n\\n\t\t</div>\\n\t</div>\\n\\n\t<!-- RIGHT PANEL -->\\n\t<div class=\\\"col-xs-12 col-sm-12 col-lg-4\\\">\\n\\n\t\t{{#if this.ENV.BRAND.showAgropurTv}}\\n\t\t\t{{#if (eq this.application.organization.division \\\"Agropur - Jerome\\\")}}\\n\t\t\t\t<TvWidget\\n\t\t\t\t\t@title=\\\"Agropur TV\\\"\\n\t\t\t\t\t@tvPlayerId=\\\"agropur-player\\\"\\n\t\t\t\t\t@playlistId=\\\"PLvwF_ZHHbxVe3GTSfPCn5xvElSfsYK4q4\\\"\\n\t\t\t\t/>\\n\t\t\t{{else}}\\n\t\t\t\t<TvWidget\\n\t\t\t\t\t@title=\\\"Agropur TV\\\"\\n\t\t\t\t\t@tvPlayerId=\\\"agropur-player\\\"\\n\t\t\t\t\t@playlistId=\\\"PLvwF_ZHHbxVdrUH5pKrGpt70hXukEnKFy\\\"\\n\t\t\t\t/>\\n\t\t\t{{/if}}\\n\t\t{{/if}}\\n\\n\t\t<TvWidget\\n\t\t\t@title=\\\"EA Risk TV\\\"\\n\t\t\t@tvPlayerId=\\\"ea-risk-player\\\"\\n\t\t\t@channelId={{this.ENV.google.youtube.eaRiskChannelId}}\\n\t\t/>\\n\\n\t\t<MarketPricesWidget\\n\t\t\t@classThreeFuture={{this.model.classThreeFuture}}\\n\t\t\t@cashSettledCheeseFuture={{this.model.cashSettledCheeseFuture}}\\n\t\t\t@dryWheyFuture={{this.model.dryWheyFuture}}\\n\t\t\t@classFourFuture={{this.model.classFourFuture}}\\n\t\t\t@cashSettledButterFuture={{this.model.cashSettledButterFuture}}\\n\t\t\t@nonfatDryMilkFuture={{this.model.nonfatDryMilkFuture}}\\n\t\t\t@cornFuture={{this.model.cornFuture}}\\n\t\t\t@soybeanMealFuture={{this.model.soybeanMealFuture}}\\n\t\t\t@soybeanFuture={{this.model.soybeanFuture}}\\n\t\t\t@wheatFuture={{this.model.wheatFuture}}\\n\t\t/>\\n\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/dashboard.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body visible-xs visible-sm\\\">\\n\t\t<h2 class=\\\"vd-title\\\">Forward Prices</h2>\\n\t\t<hr />\\n\t\t<div class=\\\"vd-toolbar pull-right\\\">\\n\t\t\t<div class=\\\"btn-toolbar\\\" role=\\\"toolbar\\\">\\n\t\t\t\t<DisplayModeButton\\n\t\t\t\t\t@displayMode={{@model.displayMode}}\\n\t\t\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t\t\t/>\\n\t\t\t\t<PeriodButton\\n\t\t\t\t\t@periodDate={{@model.periodDate}}\\n\t\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n\t<div class=\\\"panel-body hidden-xs hidden-sm\\\">\\n\t\t<div class=\\\"pull-right\\\">\\n\t\t\t<div class=\\\"clearfix\\\">\\n\t\t\t\t<PeriodButton\\n\t\t\t\t\t@periodDate={{@model.periodDate}}\\n\t\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t\t<div style=\\\"margin-top: 5px;\\\">\\n\t\t\t\t<div class=\\\"pull-right\\\">\\n\t\t\t\t\t<DisplayModeButton\\n\t\t\t\t\t\t@displayMode={{@model.displayMode}}\\n\t\t\t\t\t\t@changeDisplayMode={{this.changeDisplayMode}}\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t\t<PrintButton />\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<h2 class=\\\"vd-title\\\">Forward Prices</h2>\\n\t\t<div class=\\\"text-success\\\">\\n\t\t\t{{#if @model.organization.showAgropurBasis}}\\n\t\t\t\tPrices can be hedged individually for \\\"Class III\\\" and \\\"Forward Basis.\\\"<br />\\n\t\t\t{{else}}\\n\t\t\t\tPrices can be hedged for “Class III” through the \\\"Forward Contract.”<br />\\n\t\t\t{{/if}}\\n\t\t\tClick on the “Forward Contracting Information” tab above for instructions on\\n\t\t\thow to hedge these prices.\\n\t\t\t<br /><FaIcon @icon=\\\"clock\\\" />\\n\t\t\tClass III Market prices are delayed at least 10 minutes.\\n\t\t</div>\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\" style=\\\"position:relative;\\\">\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">Month</th>\\n\t\t\t\t\t<th>Class III Market Price</th>\\n\t\t\t\t\t<th>Class III Session Change</th>\\n\t\t\t\t\t{{#if @model.organization.showAgropurBasis}}\\n\t\t\t\t\t\t<th>Forward Basis</th>\\n\t\t\t\t\t\t<th class=\\\"visible-xs\\\">Total Forward Price</th>\\n\t\t\t\t\t\t<th>Spot Basis</th>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each @model.months as |m|}}\\n\\n\t\t\t\t\t{{#if m.isFirstOfTheYear}}\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<td class=\\\"grid-year-header\\\" colspan=\\\"6\\\"></td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month m.date}}\\n\t\t\t\t\t\t\t{{#if m.isPast}}<small>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"calendar-times\\\" />\\n\t\t\t\t\t\t\t\t</small>{{/if}}</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\tm.classThreeMilkPrice\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\tm.totalProductionCwt\\n\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\tm.cowsInMilk\\n\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t</td>\\n\\n\t\t\t\t\t\t{{#if m.classThreeMilkInstrument}}\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t<VaultSessionChange\\n\t\t\t\t\t\t\t\t\t@netChange={{m.classThreeMilkInstrument.netChange}}\\n\t\t\t\t\t\t\t\t\t@percentChange={{m.classThreeMilkInstrument.percentChange}}\\n\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t<td>-</td>\\n\t\t\t\t\t\t{{/if}}\\n\\n\t\t\t\t\t\t{{#if @model.organization.showAgropurBasis}}\\n\t\t\t\t\t\t\t<td title=\\\"Basis\\\">\\n\t\t\t\t\t\t\t\t{{#if m.agropurBasisPrice}}\\n\t\t\t\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.basis-hedges.detail\\\" @model={{m.id}}>\\n\t\t\t\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\t\t\t\tm.agropurBasisPrice\\n\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\t\t\t\tm.totalProductionCwt\\n\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\t\t\t\tm.cowsInMilk\\n\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t{{#if @model.organization.showAgropurBasis}}\\n\t\t\t\t\t\t\t\t<td title=\\\"SpotBasis\\\">\\n\t\t\t\t\t\t\t\t\t{{#if m.spotBasisPrice}}\\n\t\t\t\t\t\t\t\t\t\t{{format-number-cwt\\n\t\t\t\t\t\t\t\t\t\t\tm.spotBasisPrice\\n\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@model.displayMode\\n\t\t\t\t\t\t\t\t\t\t\tm.totalProductionCwt\\n\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t\t\t\tfalse\\n\t\t\t\t\t\t\t\t\t\t\tm.cowsInMilk\\n\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/forward-prices.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('', { moduleName: 'agropur-client/templates/authenticated/index.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<FuturesTable\\n\t\t@instruments={{@model.classThreeFutures}}\\n\t\t@name=\\\"Class III Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.classFourFutures}}\\n\t\t@name=\\\"Class IV Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.nonfatDryMilkFutures}}\\n\t\t@name=\\\"Non-fat Dry Milk Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.cornFutures}}\\n\t\t@name=\\\"Corn Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.soybeanMealFutures}}\\n\t\t@name=\\\"Soybean Meal Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.soybeanFutures}}\\n\t\t@name=\\\"Soybean Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.cashSettledCheeseFutures}}\\n\t\t@name=\\\"Cash-Settled Cheese Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.cashSettledButterFutures}}\\n\t\t@name=\\\"Cash-Settled Butter Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.dryWheyFutures}}\\n\t\t@name=\\\"Dry Whey Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.liveCattleFutures}}\\n\t\t@name=\\\"Live Cattle Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\t<FuturesTable\\n\t\t@instruments={{@model.wheatFutures}}\\n\t\t@name=\\\"Chicago SRW Wheat Futures\\\"\\n\t\tclass=\\\"col-md-4\\\"\\n\t/>\\n\\n\t<div class=\\\"col-md-4\\\">\\n\t\t<VdPanelWithReveal @title=\\\"Spot Prices\\\" @header=\\\"true\\\">\\n\t\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t\t<thead>\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<th>Product</th>\\n\t\t\t\t\t\t<th>Settlement</th>\\n\t\t\t\t\t\t<th>Change</th>\\n\t\t\t\t\t</tr>\\n\t\t\t\t</thead>\\n\t\t\t\t<tbody>\\n\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td>Cheese Barrel</td>\\n\t\t\t\t\t\t<td>{{format-number @model.cheeseBarrel.settlement \\\"$0,0.0000\\\"}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t<VaultSessionChange\\n\t\t\t\t\t\t\t\t@netChange={{@model.cheeseBarrel.netChange}}\\n\t\t\t\t\t\t\t\t@percentChange={{@model.cheeseBarrel.percentChange}}\\n\t\t\t\t\t\t\t\t@fractionalDecimals=\\\"4\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td>Cheese Block</td>\\n\t\t\t\t\t\t<td>{{format-number @model.cheeseBlock.settlement \\\"$0,0.000\\\"}}</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t<VaultSessionChange\\n\t\t\t\t\t\t\t\t@netChange={{@model.cheeseBlock.netChange}}\\n\t\t\t\t\t\t\t\t@percentChange={{@model.cheeseBlock.percentChange}}\\n\t\t\t\t\t\t\t\t@fractionalDecimals=\\\"3\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td>Spot Butter</td>\\n\t\t\t\t\t\t<td>{{format-number @model.spotButter.settlement \\\"$0,0.0000\\\"}}</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t<VaultSessionChange\\n\t\t\t\t\t\t\t\t@netChange={{@model.spotButter.netChange}}\\n\t\t\t\t\t\t\t\t@percentChange={{@model.spotButter.percentChange}}\\n\t\t\t\t\t\t\t\t@fractionalDecimals=\\\"4\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td>Spot Nonfat</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{format-number @model.spotNonfat.settlement \\\"$0,0.000\\\"}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t<VaultSessionChange\\n\t\t\t\t\t\t\t\t@netChange={{@model.spotNonfat.netChange}}\\n\t\t\t\t\t\t\t\t@percentChange={{@model.spotNonfat.percentChange}}\\n\t\t\t\t\t\t\t\t@fractionalDecimals=\\\"3\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t</tr>\\n\\n\t\t\t\t</tbody>\\n\t\t\t</table>\\n\t\t</VdPanelWithReveal>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/markets.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body\\\">\\n\t\t<h2 class=\\\"vd-title\\\">Class III & Basis Hedge Position Statement</h2>\\n\t</div>\\n</div>\\n\\n<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th>Month</th>\\n\t\t\t\t\t<th>Commodity</th>\\n\t\t\t\t\t<th>Bought / Sold</th>\\n\t\t\t\t\t<th>Quantity</th>\\n\t\t\t\t\t<th>Instrument type</th>\\n\t\t\t\t\t<th>Strike</th>\\n\t\t\t\t\t<th>Trade Price</th>\\n\t\t\t\t\t<th>Last Price</th>\\n\t\t\t\t\t<th>Session Change</th>\\n\t\t\t\t\t<th>Net P/L</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each @model.manualPositions as |position|}}\\n\t\t\t\t\t{{#if (eq position.product_id @model.organization.basisGlobexSymbol)}}\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<td>{{format-month position.month.date}}</td>\\n\t\t\t\t\t\t\t<td title=\\\"Basis\\\">{{this.ENV.BRAND.organizationName}} Basis</td>\\n\t\t\t\t\t\t\t<td>{{#if position.long}}Bought{{else}}Sold{{/if}}</td>\\n\t\t\t\t\t\t\t<td>{{format-number position.quantity \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t<td>{{#if (eq position.type \\\"FORWARD\\\")}}FORWARD{{else}}{{position.type}}\\n\t\t\t\t\t\t\t\t\tOPTION{{/if}}</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t{{if\\n\t\t\t\t\t\t\t\t\tposition.strike\\n\t\t\t\t\t\t\t\t\t(format-number\\n\t\t\t\t\t\t\t\t\t\tposition.strike\\n\t\t\t\t\t\t\t\t\t\t(if\\n\t\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\t\tposition.instrument.underlying.product.formatting\\n\t\t\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t\t\\\"-\\\"\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\tposition.price\\n\t\t\t\t\t\t\t\t\t(if\\n\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\tposition.instrument.underlying.product.formatting\\n\t\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>{{vd-flash-price\\n\t\t\t\t\t\t\t\t\t(format-number position.month.agropurBasisPrice \\\"$0,0.00\\\")\\n\t\t\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t\t\t<td>-</td>\\n\t\t\t\t\t\t\t<td>{{format-number position.plInDollars \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<td>{{format-month position.month.date}}</td>\\n\t\t\t\t\t\t\t<td title=\\\"Class III Milk\\\">Class III Milk\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>{{#if position.long}}Bought{{else}}Sold{{/if}}</td>\\n\t\t\t\t\t\t\t<td>{{format-number position.quantity \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t<td>{{#if (eq position.type \\\"FORWARD\\\")}}FORWARD{{else}}{{position.type}}\\n\t\t\t\t\t\t\t\t\tOPTION{{/if}}</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t{{if\\n\t\t\t\t\t\t\t\t\tposition.strike\\n\t\t\t\t\t\t\t\t\t(format-number\\n\t\t\t\t\t\t\t\t\t\tposition.strike\\n\t\t\t\t\t\t\t\t\t\t(if\\n\t\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\t\tposition.month.classThreeMilkInstrument.underlying.product.formatting\\n\t\t\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t\t\\\"-\\\"\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t{{format-number\\n\t\t\t\t\t\t\t\t\tposition.price\\n\t\t\t\t\t\t\t\t\t(if\\n\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\tposition.product.formatting\\n\t\t\t\t\t\t\t\t\t\tposition.month.classThreeMilkInstrument.underlying.product.formatting\\n\t\t\t\t\t\t\t\t\t)\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t{{vd-flash-price\\n\t\t\t\t\t\t\t\t\t(format-number position.month.classThreeMilkPrice \\\"$0,0.00\\\")\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t{{! Is this correct for options? }}\\n\t\t\t\t\t\t\t\t<VaultSessionChange\\n\t\t\t\t\t\t\t\t\t@netChange={{position.month.classThreeMilkInstrument.netChange}}\\n\t\t\t\t\t\t\t\t\t@percentChange={{position.month.classThreeMilkInstrument.percentChange}}\\n\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>{{format-number position.plInDollars \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t{{else}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td colspan=\\\"10\\\">There are no positions</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/each}}\\n\t\t\t\t<tr>\\n\t\t\t\t\t<td colspan=\\\"9\\\" style=\\\"text-align: right\\\">Total P&L:</td>\\n\t\t\t\t\t<td>{{format-number this.totalPL \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t</tr>\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/milk-physical-position-statement.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"panel-body visible-xs visible-sm\\\">\\n\t\t<h2>Milk Production</h2>\\n\t\t<hr />\\n\t\t<div class=\\\"vd-toolbar pull-right\\\">\\n\t\t\t<div class=\\\"btn-toolbar\\\" role=\\\"toolbar\\\">\\n\t\t\t\t<PeriodButton\\n\t\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n\t<div class=\\\"panel-body visible-md visible-lg\\\">\\n\t\t<div class=\\\"vd-toolbar pull-right\\\">\\n\t\t\t<div class=\\\"btn-toolbar\\\" role=\\\"toolbar\\\">\\n\t\t\t\t<PeriodButton\\n\t\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t\t/>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<h2>Milk Production</h2>\\n\t\t<h2>{{this.showModal}}</h2>\\n\t\t<div class=\\\"text-success\\\">\\n\t\t\t“Base Volume” is the amount of milk\\n\t\t\t{{this.ENV.BRAND.organizationName}}\\n\t\t\tanticipates you will supply each month based on your historical production.<br\\n\t\t\t/>\\n\t\t\t“Actual Production” is how much milk\\n\t\t\t{{this.ENV.BRAND.organizationName}}\\n\t\t\tshows you actually produced. Please ensure this number matches your records.<br\\n\t\t\t/>\\n\t\t\tYou are able to contract up to 100% of your base volume with\\n\t\t\t{{this.ENV.BRAND.organizationName}}.\\n\t\t</div>\\n\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t<div class=\\\"btn-group btn-group-sm\\\" style=\\\"margin-top: 1em;\\\">\\n\t\t\t\t<button\\n\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t>\\n\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\tUpdate Volume</button>\\n\t\t\t</div>\\n\t\t{{/if}}\\n\t</div>\\n</div>\\n<div class=\\\"panel panel-default\\\">\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-striped table-bordered\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">Month</th>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">Base Volume (lbs/day)</th>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">Base Volume (lbs/month)</th>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">Actual Production (lbs)</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.model.months as |m|}}\\n\t\t\t\t\t{{#if m.isFirstOfTheYear}}\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<td class=\\\"grid-year-header\\\" colspan=\\\"9\\\"></td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\t\t{{format-month m.date}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t\t\t<IntlNumberFormat\\n\t\t\t\t\t\t\t\t@tagName=\\\"td\\\"\\n\t\t\t\t\t\t\t\tclass=\\\"text-center vd-table-divider\\\"\\n\t\t\t\t\t\t\t\t@value={{m.baseVolumePerDay}}\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t<VdEditableCell\\n\t\t\t\t\t\t\t\t@tagName=\\\"td\\\"\\n\t\t\t\t\t\t\t\t@value={{m.production}}\\n\t\t\t\t\t\t\t\t@attribute=\\\"production\\\"\\n\t\t\t\t\t\t\t\t@object={{m}}\\n\t\t\t\t\t\t\t\t@format=\\\"0,0\\\"\\n\t\t\t\t\t\t\t\t@class=\\\"col-2 vd-table-divider\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t<VdEditableCell\\n\t\t\t\t\t\t\t\t@tagName=\\\"td\\\"\\n\t\t\t\t\t\t\t\t@value={{m.actualProduction}}\\n\t\t\t\t\t\t\t\t@attribute=\\\"actualProduction\\\"\\n\t\t\t\t\t\t\t\t@object={{m}}\\n\t\t\t\t\t\t\t\t@format=\\\"0,0\\\"\\n\t\t\t\t\t\t\t\t@class=\\\"col-3 vd-table-divider\\\"\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t<IntlNumberFormat\\n\t\t\t\t\t\t\t\t@tagName=\\\"td\\\"\\n\t\t\t\t\t\t\t\tclass=\\\"text-center vd-table-divider\\\"\\n\t\t\t\t\t\t\t\t@value={{m.baseVolumePerDay}}\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t<IntlNumberFormat\\n\t\t\t\t\t\t\t\t@tagName=\\\"td\\\"\\n\t\t\t\t\t\t\t\tclass=\\\"text-center vd-table-divider\\\"\\n\t\t\t\t\t\t\t\t@value={{m.totalProduction}}\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t<IntlNumberFormat\\n\t\t\t\t\t\t\t\t@tagName=\\\"td\\\"\\n\t\t\t\t\t\t\t\tclass=\\\"text-center vd-table-divider\\\"\\n\t\t\t\t\t\t\t\t@value={{m.actualProduction}}\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n</div>\\n<VdModal @showModal={{this.showMilkPoundsModal}} @title=\\\"Daily Milk Pounds\\\">\\n\\n\t<div class=\\\"modal-body\\\">\\n\t\t<form class=\\\"form-horizontal\\\">\\n\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t<label for=\\\"inputMilkPounds\\\" class=\\\"col-sm-3 control-label\\\">Daily Milk\\n\t\t\t\t\tPounds</label>\\n\\n\t\t\t\t<div class=\\\"col-sm-9\\\">\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t@value={{this.newMilkPoundsPerDay}}\\n\t\t\t\t\t\tplaceholder=\\\"0,000\\\"\\n\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t/>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</form>\\n\t\t<div class=\\\"clear-fix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button class=\\\"btn btn-default\\\" {{on \\\"click\\\" this.cancelMilkPoundsModal}}>\\n\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\tCancel\\n\t\t</button>\\n\t\t<button class=\\\"btn btn-success\\\" {{on \\\"click\\\" this.saveRecords}}>\\n\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\tSave\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/milk-production.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tsrc=\\\"/{{this.model.organization.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.organization.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.model.organization.name}}</h2>\\n\t\t\t\t\t<div\\n\t\t\t\t\t\tclass=\\\"text-success hidden-xs\\\"\\n\t\t\t\t\t>{{this.model.organization.description}}</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\t\t\t\t\t<li class=\\\"active\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-aggregate\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Aggregate\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-dairies\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Dairies\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-members\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"address-card\\\" class=\\\"hidden-xs\\\" />&nbsp;Members\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-settings\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"cog\\\" class=\\\"hidden-xs\\\" />&nbsp;Settings\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t\t\t\t{{outlet}}\\n\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-aggregate.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default flat-panel\\\">\\n\t<div class=\\\"panel-heading visible-lg\\\">\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\" style=\\\"margin-left:10px;\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div\\n\t\t\tclass=\\\"btn-group pull-right\\\"\\n\t\t\trole=\\\"group\\\"\\n\t\t\tstyle=\\\"margin-left:10px; min-width:300px;\\\"\\n\t\t>\\n\t\t\t<PowerSelectMultiple\\n\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t>\\n\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t</PowerSelectMultiple>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t{{on \\\"click\\\" this.csvExport}}\\n\t\t\t\ttitle=\\\"Click to download the report as a CSV file.\\\"\\n\t\t\t>\\n\t\t\t\t<FaIcon @icon=\\\"file-excel\\\" />\\n\t\t\t\tCSV Download</button>\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t{{on \\\"click\\\" this.oneTimeExport}}\\n\t\t\t\ttitle=\\\"Click to download the report as a CSV file.\\\"\\n\t\t\t>\\n\t\t\t\t<FaIcon @icon=\\\"file-excel\\\" />\\n\t\t\t\tDownload One-Time\\n\t\t\t</button>\\n\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t{{on\\n\t\t\t\t\t\t\\\"click\\\"\\n\t\t\t\t\t\t(fn\\n\t\t\t\t\t\t\tthis.exportToFTP this.model.monthAggregateData this.model.organization\\n\t\t\t\t\t\t)\\n\t\t\t\t\t}}\\n\t\t\t\t\ttitle=\\\"Click to export the report to DSI.\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<FaIcon @icon=\\\"paper-plane\\\" />\\n\t\t\t\t\tDSI Export</button>\\n\t\t\t{{/if}}\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t>\\n\t\t\t\t<strong>Report:</strong>&nbsp; Class III & Basis P/L\\n\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t</button>\\n\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t>Class III & Basis P/L</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t</ul>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"panel-heading hidden-lg\\\">\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<PowerSelectMultiple\\n\t\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t\t>\\n\t\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t\t</PowerSelectMultiple>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<strong>Report:</strong>&nbsp; Class III & Basis P/L\\n\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t</button>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t\t>Class III & Basis P/L</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th>\\n\t\t\t\t\t\t{{#if this.allDairiesExpanded}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.collapseAllDairies this.sortedDairies)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.expandAllDairies this.sortedDairies)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\" style=\\\"min-width: 90px\\\">\\n\t\t\t\t\t\tProducer<br />Number\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th style=\\\"min-width: 150px;\\\">Producer</th>\\n\t\t\t\t\t<th>Month</th>\\n\t\t\t\t\t<th>Ticket Number</th>\\n\t\t\t\t\t<th>Product</th>\\n\t\t\t\t\t<th>Bought/Sold</th>\\n\t\t\t\t\t<th>Contracted (lbs)</th>\\n\t\t\t\t\t<th>Type</th>\\n\t\t\t\t\t<th>Strike</th>\\n\t\t\t\t\t<th>Trade Price</th>\\n\t\t\t\t\t<th>Settlement/Actual</th>\\n\t\t\t\t\t<th>Gain/Loss ($/cwt)</th>\\n\t\t\t\t\t<th>Class III Adjustment</th>\\n\t\t\t\t\t<th>Basis Adjustment</th>\\n\t\t\t\t\t<th>Net Adjustment</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.sortedDairies as |dairy|}}\\n\t\t\t\t\t{{#if (gt dairy.trades.length 0)}}\\n\t\t\t\t\t\t<tr class=\\\"bold-text\\\">\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t{{#if dairy.expanded}}\\n\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleDairy dairy)}}\\n\t\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleDairy dairy)}}\\n\t\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\t\t\t{{dairy.producerId}}\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>{{dairy.name}}</td>\\n\t\t\t\t\t\t\t<td>{{format-month this.model.monthAggregateData.date}}</td>\\n\t\t\t\t\t\t\t<td colspan=\\\"3\\\"></td>\\n\t\t\t\t\t\t\t<td>{{format-number dairy.totalPoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t<td colspan=\\\"5\\\"></td>\\n\t\t\t\t\t\t\t<td>{{format-number dairy.classThreeHedgeAdjustment \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t\t<td>{{format-number dairy.basisHedgeAdjustment \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t\t<td>{{format-number dairy.netHedgeAdjustment \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t{{#if dairy.expanded}}\\n\t\t\t\t\t\t\t{{#each dairy.trades as |position|}}\\n\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t<td></td>\\n\t\t\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{dairy.producerId}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{dairy.name}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{format-month this.model.monthAggregateData.date}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{position.instrumentId}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{#if (eq position.productId \\\"DC\\\")}}Class III Milk{{else}}{{this.ENV.BRAND.organizationName}}\\n\t\t\t\t\t\t\t\t\t\t\tBasis{{/if}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{#if position.isLong}}Bought{{else}}Sold{{/if}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{format-number position.quantity \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{#if\\n\t\t\t\t\t\t\t\t\t\t\t(eq position.type \\\"FORWARD\\\")\\n\t\t\t\t\t\t\t\t\t\t}}FORWARD{{else}}{{position.type}}{{/if}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{if\\n\t\t\t\t\t\t\t\t\t\t\tposition.strike\\n\t\t\t\t\t\t\t\t\t\t\t(format-number position.strike \\\"$0,0.00\\\")\\n\t\t\t\t\t\t\t\t\t\t\t\\\"-\\\"\\n\t\t\t\t\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t\t\t\t\t<td>{{format-number position.price \\\"$0.00\\\"}}</td>\\n\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t{{format-number position.currentPrice \\\"$0.00\\\"}}\\n\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t<td>{{format-number position.pl \\\"$0.00\\\"}}</td>\\n\t\t\t\t\t\t\t\t\t{{#if (eq position.productId \\\"DC\\\")}}\\n\t\t\t\t\t\t\t\t\t\t<td>{{format-number position.hedgeAdjustment \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t\t\t\t\t<td></td>\\n\t\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\t\t<td></td>\\n\t\t\t\t\t\t\t\t\t\t<td>{{format-number position.hedgeAdjustment \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t\t\t<td></td>\\n\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t{{/each}}\\n\t\t\t\t<tr class=\\\"bold-text\\\">\\n\t\t\t\t\t<td colspan=\\\"13\\\" style=\\\"text-align:right;\\\">Total:</td>\\n\t\t\t\t\t<td>{{format-number\\n\t\t\t\t\t\t\tthis.model.monthAggregateData.classThreeHedgeAdjustment\\n\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t<td>{{format-number\\n\t\t\t\t\t\t\tthis.model.monthAggregateData.basisHedgeAdjustment\\n\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t<td>{{format-number\\n\t\t\t\t\t\t\tthis.model.monthAggregateData.netHedgeAdjustment\\n\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t}}</td>\\n\t\t\t\t</tr>\\n\t\t\t</tbody>\\n\t\t</table>\\n\\n\t</div>\\n\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-aggregate/class-iii-and-basis-pl.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default flat-panel\\\">\\n\t<div class=\\\"panel-heading visible-lg\\\">\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\" style=\\\"margin-left:10px;\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div\\n\t\t\tclass=\\\"btn-group pull-right\\\"\\n\t\t\trole=\\\"group\\\"\\n\t\t\tstyle=\\\"margin-left:10px; min-width:300px;\\\"\\n\t\t>\\n\t\t\t<PowerSelectMultiple\\n\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t>\\n\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t</PowerSelectMultiple>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t{{on \\\"click\\\" this.csvExport}}\\n\t\t\t\ttitle=\\\"Click to download the report as a CSV file.\\\"\\n\t\t\t>\\n\t\t\t\t<FaIcon @icon=\\\"file-excel\\\" />\\n\t\t\t\tCSV Download</button>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t>\\n\t\t\t\t<strong>Report:</strong>&nbsp; Percentage Hedged\\n\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t</button>\\n\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t>Class III & Basis P/L</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t</ul>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"panel-heading hidden-lg\\\">\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<PowerSelectMultiple\\n\t\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t\t>\\n\t\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t\t</PowerSelectMultiple>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<strong>Report:</strong>&nbsp; Percentage Hedged\\n\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t</button>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t\t>Class III & Basis P/L</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"table-responsive\\\">\\n\\n\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th>\\n\t\t\t\t\t\t{{#if this.allMonthsExpanded}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.collapseAllMonths this.model.sortedMonths)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.expandAllMonths this.model.sortedMonths)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">Month</th>\\n\t\t\t\t\t<th>Producer<br />Number</th>\\n\t\t\t\t\t<th>Producer</th>\\n\t\t\t\t\t<th>Base Volume</th>\\n\t\t\t\t\t<th>Actual Production</th>\\n\t\t\t\t\t<th colspan=\\\"2\\\">Class III Contracted</th>\\n\t\t\t\t\t<th colspan=\\\"2\\\">Basis Contracted</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.model.sortedMonths as |month|}}\\n\t\t\t\t\t<tr class=\\\"bold-text\\\">\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.expanded}}\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleMonth month)}}\\n\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleMonth month)}}\\n\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\t\t{{format-month month.date}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td colspan=\\\"2\\\"></td>\\n\t\t\t\t\t\t<td>{{format-number month.plannedProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.actualProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.classThreePoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.classThreePercentageHedged \\\"0,0.00%\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.basisPoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.basisPercentageHedged \\\"0,0.00%\\\"}}</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t\t{{#if month.expanded}}\\n\t\t\t\t\t\t{{#each month.filteredDairies as |dairy|}}\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<td></td>\\n\t\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month month.date}}</td>\\n\t\t\t\t\t\t\t\t<td>{{dairy.id}}</td>\\n\t\t\t\t\t\t\t\t<td>{{dairy.name}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.plannedProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.actualProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.classThreePoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.classThreePercentageHedged \\\"0,0.00%\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.basisPoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.basisPercentageHedged \\\"0,0.00%\\\"}}</td>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\\n\t</div>\\n\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-aggregate/percentage-hedged.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default flat-panel\\\">\\n\t<div class=\\\"panel-heading visible-lg\\\">\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\" style=\\\"margin-left:10px;\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div\\n\t\t\tclass=\\\"btn-group pull-right\\\"\\n\t\t\trole=\\\"group\\\"\\n\t\t\tstyle=\\\"margin-left:10px; min-width:300px;\\\"\\n\t\t>\\n\t\t\t<PowerSelectMultiple\\n\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t>\\n\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t</PowerSelectMultiple>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t{{on \\\"click\\\" this.csvExport}}\\n\t\t\t\ttitle=\\\"Click to download the report as a CSV file.\\\"\\n\t\t\t>\\n\t\t\t\t<FaIcon @icon=\\\"file-excel\\\" />\\n\t\t\t\tCSV Download</button>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t>\\n\t\t\t\t<strong>Report:</strong>&nbsp; Production Report\\n\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t</button>\\n\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t>Class III & Basis P/L</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t</ul>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"panel-heading hidden-lg\\\">\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<PowerSelectMultiple\\n\t\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t\t>\\n\t\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t\t</PowerSelectMultiple>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<strong>Report:</strong>&nbsp; Production Report\\n\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t</button>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t\t>Class III & Basis P/L</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"table-responsive\\\">\\n\\n\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th>\\n\t\t\t\t\t\t{{#if this.allMonthsExpanded}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.collapseAllMonths this.model.sortedMonths)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.expandAllMonths this.model.sortedMonths)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">Month</th>\\n\t\t\t\t\t<th>Producer<br />Number</th>\\n\t\t\t\t\t<th>Producer</th>\\n\t\t\t\t\t<th>Base Volume</th>\\n\t\t\t\t\t<th>Actual Production</th>\\n\t\t\t\t\t<th>Difference (lbs)</th>\\n\t\t\t\t\t<th>Difference (%)</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.model.sortedMonths as |month|}}\\n\t\t\t\t\t<tr class=\\\"bold-text\\\">\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.expanded}}\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleMonth month)}}\\n\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleMonth month)}}\\n\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\t\t{{format-month month.date}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td colspan=\\\"2\\\"></td>\\n\t\t\t\t\t\t<td>{{format-number month.plannedProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.actualProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.productionDifference \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.productionPercentageDifference \\\"0,0.00%\\\"}}</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t\t{{#if month.expanded}}\\n\t\t\t\t\t\t{{#each month.filteredDairies as |dairy|}}\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<td></td>\\n\t\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month month.date}}</td>\\n\t\t\t\t\t\t\t\t<td>{{dairy.producerId}}</td>\\n\t\t\t\t\t\t\t\t<td>{{dairy.name}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.plannedProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.actualProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.productionDifference \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number\\n\t\t\t\t\t\t\t\t\t\tdairy.productionPercentageDifference\\n\t\t\t\t\t\t\t\t\t\t\\\"0,0.00%\\\"\\n\t\t\t\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\\n\t</div>\\n\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-aggregate/production-report.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default flat-panel\\\">\\n\t<div class=\\\"panel-heading visible-lg\\\">\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\" style=\\\"margin-left:10px;\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\" style=\\\"margin-left:10px;\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default {{if this.showClassThreeTrades \\'active\\'}}\\\"\\n\t\t\t\t{{on \\\"click\\\" this.toggleClassThreeTrades}}\\n\t\t\t>Class III Milk</button>\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default {{if this.showBasisTrades \\'active\\'}}\\\"\\n\t\t\t\t{{on \\\"click\\\" this.toggleBasisTrades}}\\n\t\t\t>{{this.ENV.BRAND.organizationName}}\\n\t\t\t\tBasis</button>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\" style=\\\"margin-left:10px;\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t{{on \\\"click\\\" this.csvExport}}\\n\t\t\t\ttitle=\\\"Click to download the report as a CSV file.\\\"\\n\t\t\t>\\n\t\t\t\t<FaIcon @icon=\\\"file-excel\\\" />\\n\t\t\t\tCSV Download</button>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t>\\n\t\t\t\t<strong>Report:</strong>&nbsp; Trade Log\\n\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t</button>\\n\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t>Class III & Basis P/L</LinkTo>\\n\t\t\t\t</li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t</ul>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"panel-heading hidden-lg\\\">\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default {{if this.showClassThreeMilkTrades \\'active\\'}}\\\"\\n\t\t\t\t\t{{on \\\"click\\\" this.toggleClassThreeTrades}}\\n\t\t\t\t>Class III Milk</button>\\n\t\t\t</div>\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default {{if this.showBasisTrades \\'active\\'}}\\\"\\n\t\t\t\t\t{{on \\\"click\\\" this.toggleBasisTrades}}\\n\t\t\t\t>{{this.ENV.BRAND.organizationName}}\\n\t\t\t\t\tBasis</button>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<strong>Report:</strong>&nbsp; Trade Log\\n\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t</button>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t\t>Class III & Basis P/L</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"table-responsive\\\">\\n\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th>Trade Date</th>\\n\t\t\t\t\t<th style=\\\"min-width: 90px\\\">\\n\t\t\t\t\t\tProducer<br />Number\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th>Producer</th>\\n\t\t\t\t\t<th>User ID</th>\\n\t\t\t\t\t<th>Contract<br />Month</th>\\n\t\t\t\t\t<th>Product</th>\\n\t\t\t\t\t<th>Bought/Sold</th>\\n\t\t\t\t\t<th>Contracted (lbs)</th>\\n\t\t\t\t\t<th>Type</th>\\n\t\t\t\t\t<th>Strike</th>\\n\t\t\t\t\t<th>Trade Price</th>\\n\t\t\t\t\t<th>Ticket Number</th>\\n\t\t\t\t\t<th>Broker</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.filteredTrades as |trade|}}\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<td>{{moment-format\\n\t\t\t\t\t\t\t\ttrade.timestamp\\n\t\t\t\t\t\t\t\t\\\"MM/DD/YYYY\\\"\\n\t\t\t\t\t\t\t\ttimeZone=\\\"America/Chicago\\\"\\n\t\t\t\t\t\t\t}}</td>\\n\t\t\t\t\t\t<td>{{trade.producerId}}</td>\\n\t\t\t\t\t\t<td>{{trade.producerName}}</td>\\n\t\t\t\t\t\t<td>{{trade.userId}}</td>\\n\t\t\t\t\t\t<td>{{format-month trade.expiration}}</td>\\n\t\t\t\t\t\t<td>{{#if (eq trade.productId \\\"DC\\\")}}Class III Milk{{else}}Agropur Basis{{/if}}</td>\\n\t\t\t\t\t\t<td>{{#if trade.isLong}}Bought{{else}}Sold{{/if}}</td>\\n\t\t\t\t\t\t<td>{{format-number trade.quantity \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{#if\\n\t\t\t\t\t\t\t\t(eq trade.type \\\"FORWARD\\\")\\n\t\t\t\t\t\t\t}}FORWARD{{else}}{{trade.type}}{{/if}}</td>\\n\t\t\t\t\t\t<td>{{if trade.strike (format-number trade.strike \\\"$0,0.00\\\") \\\"-\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number trade.price \\\"$0.00\\\"}}</td>\\n\t\t\t\t\t\t<td>{{trade.instrumentId}}</td>\\n\t\t\t\t\t\t<td>{{trade.broker}}</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t{{/each}}\\n\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-aggregate/trade-log.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"panel panel-default flat-panel\\\">\\n\t<div class=\\\"panel-heading visible-lg\\\">\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\" style=\\\"margin-left:10px;\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div\\n\t\t\tclass=\\\"btn-group pull-right\\\"\\n\t\t\trole=\\\"group\\\"\\n\t\t\tstyle=\\\"margin-left:10px; min-width:300px;\\\"\\n\t\t>\\n\t\t\t<PowerSelectMultiple\\n\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t>\\n\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t</PowerSelectMultiple>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group pull-right\\\" role=\\\"group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t{{on \\\"click\\\" this.csvExport}}\\n\t\t\t\ttitle=\\\"Click to download the report as a CSV file.\\\"\\n\t\t\t>\\n\t\t\t\t<FaIcon @icon=\\\"file-excel\\\" />\\n\t\t\t\tCSV Download</button>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group\\\">\\n\t\t\t<button\\n\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t>\\n\t\t\t\t<strong>Report:</strong>&nbsp; Weighted Average Basis Price\\n\\n\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t</button>\\n\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t>Class III & Basis P/L</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t<li>\\n\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t</ul>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"panel-heading hidden-lg\\\">\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<PeriodButton\\n\t\t\t\t@periodDate={{this.model.periodDate}}\\n\t\t\t\t@changePeriod={{this.changePeriod}}\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<PowerSelectMultiple\\n\t\t\t\t\t@options={{this.model.dairies}}\\n\t\t\t\t\t@selected={{this.selectedDairies}}\\n\t\t\t\t\t@placeholder=\\\"Select some dairies...\\\"\\n\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t\t@onChange={{this.updateSelectedDairies}}\\n\t\t\t\t\tas |ORGANIZATION_DAIRY|\\n\t\t\t\t>\\n\t\t\t\t\t{{ORGANIZATION_DAIRY.name}}\\n\t\t\t\t</PowerSelectMultiple>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<div class=\\\"btn-group btn-group-justified\\\" role=\\\"group\\\">\\n\t\t\t<div class=\\\"btn-group\\\" role=\\\"group\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t>\\n\t\t\t\t\t<strong>Report:</strong>&nbsp; Weighted Average Basis Price\\n\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t</button>\\n\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.class-iii-and-basis-pl\\\"\\n\t\t\t\t\t\t>Class III & Basis P/L</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.weighted-avg-basis-price\\\"\\n\t\t\t\t\t\t>Weighted Average Basis Price</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.percentage-hedged\\\"\\n\t\t\t\t\t\t>Percentage Hedged</LinkTo></li>\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t@route=\\\"authenticated.organization-aggregate.production-report\\\"\\n\t\t\t\t\t\t>Production Report</LinkTo></li>\\n\t\t\t\t\t<li><LinkTo @route=\\\"authenticated.organization-aggregate.trade-log\\\">Trade\\n\t\t\t\t\t\t\tLog</LinkTo></li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\t\t<div class=\\\"clearfix\\\"></div>\\n\t</div>\\n\\n\t<div class=\\\"table-responsive\\\">\\n\\n\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t<thead>\\n\t\t\t\t<tr>\\n\t\t\t\t\t<th>\\n\t\t\t\t\t\t{{#if this.allMonthsExpanded}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.collapseAllMonths this.model.sortedMonths)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.expandAllMonths this.model.sortedMonths)}}\\n\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\tMonth\\n\t\t\t\t\t</th>\\n\t\t\t\t\t<th>Producer<br />Number</th>\\n\t\t\t\t\t<th>Producer</th>\\n\t\t\t\t\t<th>Base Volume</th>\\n\t\t\t\t\t<th>Actual Production</th>\\n\t\t\t\t\t<th colspan=\\\"2\\\">Basis Contracted</th>\\n\t\t\t\t\t<th>Forward Basis</th>\\n\t\t\t\t\t<th>Basis Contracted Price</th>\\n\t\t\t\t\t<th>Planned Weighted Avg Price</th>\\n\t\t\t\t\t<th>Actual Weighted Avg Price</th>\\n\t\t\t\t</tr>\\n\t\t\t</thead>\\n\t\t\t<tbody>\\n\t\t\t\t{{#each this.model.sortedMonths as |month|}}\\n\t\t\t\t\t<tr class=\\\"bold-text\\\">\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.expanded}}\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleMonth month)}}\\n\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"minus-square\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.toggleMonth month)}}\\n\t\t\t\t\t\t\t\t\tstyle=\\\"border: none; padding: 0; background: none;\\\"\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus-square\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">\\n\t\t\t\t\t\t\t{{format-month month.date}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td colspan=\\\"2\\\"></td>\\n\t\t\t\t\t\t<td>{{format-number month.plannedProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.actualProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.basisPoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.basisPercentageHedged \\\"0,0.00%\\\"}}</td>\\n\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t{{#if month.basisPrice}}{{format-number\\n\t\t\t\t\t\t\t\t\tmonth.basisPrice\\n\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t}}{{else}}-{{/if}}\\n\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t<td>{{format-number month.averageBasisPrice \\\"$0,0.0000\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.weightedAvgPrice \\\"$0,0.0000\\\"}}</td>\\n\t\t\t\t\t\t<td>{{format-number month.actualWeightedAvgPrice \\\"$0,0.0000\\\"}}</td>\\n\t\t\t\t\t</tr>\\n\t\t\t\t\t{{#if month.expanded}}\\n\t\t\t\t\t\t{{#each month.filteredDairies as |dairy|}}\\n\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t<td></td>\\n\t\t\t\t\t\t\t\t<td class=\\\"vd-table-divider\\\">{{format-month month.date}}</td>\\n\t\t\t\t\t\t\t\t<td>{{dairy.producerId}}</td>\\n\t\t\t\t\t\t\t\t<td>{{dairy.name}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.plannedProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.actualProduction \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.basisPoundsHedged \\\"0,0\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.basisPercentageHedged \\\"0,0.00%\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t{{#if month.basisPrice}}{{format-number\\n\t\t\t\t\t\t\t\t\t\t\tmonth.basisPrice\\n\t\t\t\t\t\t\t\t\t\t\t\\\"$0,0.00\\\"\\n\t\t\t\t\t\t\t\t\t\t}}{{else}}-{{/if}}\\n\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.averageBasisPrice \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.weightedAvgPrice \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t\t\t<td>{{format-number dairy.actualWeightedAvgPrice \\\"$0,0.00\\\"}}</td>\\n\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t{{/each}}\\n\t\t\t</tbody>\\n\t\t</table>\\n\t</div>\\n\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-aggregate/weighted-avg-basis-price.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tsrc=\\\"{{this.model.organization.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.organization.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.model.organization.name}}</h2>\\n\t\t\t\t\t<div\\n\t\t\t\t\t\tclass=\\\"text-success hidden-xs\\\"\\n\t\t\t\t\t>{{this.model.organization.description}}</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-aggregate\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Aggregate\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li class=\\\"active\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-dairies\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Dairies\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-members\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"address-card\\\" class=\\\"hidden-xs\\\" />&nbsp;Members\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-settings\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"cog\\\" class=\\\"hidden-xs\\\" />&nbsp;Settings\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t\t\t\t<div class=\\\"panel panel-default flat-panel\\\">\\n\t\t\t\t\t\t\t\t\t<div class=\\\"panel-heading\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleCreateModal}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd Dairy\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t<div\\n\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn-group btn-group-sm hidden-xs pull-right\\\"\\n\t\t\t\t\t\t\t\t\t\t\tstyle=\\\"margin-left: 10px;\\\"\\n\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"input-group input-group-sm\\\" style=\\\"max-width: 400px;\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\\\"input-group-addon\\\" style=\\\"background-color: #fff;\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"filter\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t</span>\\n\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control input-sm\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\\\"Dairy Name\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.searchTerm}}\\n\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"input-group-btn hidden\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn (mut this.searchTerm) \\\"\\\")}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>Clear Filter</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"input-group-btn\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t><strong>Filter By:</strong>&nbsp;{{this.searchAttr}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\\\"caret\\\"></span></button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\\\"dropdown-menu dropdown-menu-right\\\">\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=\\\"name\\\" searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDairy Name\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=\\\"producer\\\" searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tProducer ID\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=\\\"contact\\\" searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPrimary Contact\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=\\\"location\\\" searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocation\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm hidden-xs pull-right\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t{{on\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\\\"click\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t(fn (mut this.sortAscending) (not this.sortAscending))\\n\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t{{#if this.sortAscending}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"sort-alpha-up\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"sort-alpha-down\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t\t\t\t\t\t\t</button>\\n\\n\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>Sort By:</strong>&nbsp;{{this.sortName}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"name\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Name</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"organization\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Organization</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"producerId\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Producer ID</LinkTo></li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"primary\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Primary Contact</LinkTo></li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-dairies\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortProperties=\\\"location\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsortAscending=this.sortAscending\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Location</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t\t\t\t\t\t</ul>\\n\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"clearfix\\\"></div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"table-responsive\\\">\\n\t\t\t\t\t\t\t\t\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<thead>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>ID</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dairy Name</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Producer ID</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Primary Contact</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Location</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Owner ID</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Clickwrap</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Details</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Switch</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Delete</th>\\n\t\t\t\t\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t\t\t\t\t</thead>\\n\t\t\t\t\t\t\t\t\t\t\t<tbody>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t{{#each this.sortedDairies as |dairy|}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<tr\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle=\\\"{{if\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(eq dairy this.application.dairy)\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\\'Currently Active Dairy\\'\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"{{if (eq dairy this.application.dairy) \\'bold-text\\'}}\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{dairy.id}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{dairy.name}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{dairy.producerId}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{dairy.primaryContact.fullName}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{dairy.cityState}}</td>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{dairy.userId}}</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{#if dairy.isClickwrapAccepted}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"check\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{else}}-{{/if}}</td>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.dairy-settings\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@query={{hash dairy_id=dairy.id}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>Details</LinkTo>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-xs btn-primary\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.setCurrentDairy dairy)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"sign-in-alt\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-xs btn-danger\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.deleteDairy dairy)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"trash\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>\\n\t\t\t\t\t\t\t\t\t\t\t\t{{/each}}\\n\\n\t\t\t\t\t\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t\t\t\t\t\t</table>\\n\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t<VdModal @showModal={{this.showCreateModal}} @title=\\\"Add Dairy\\\">\\n\t\t\t\t\t\t\t<!--=========================== BODY ===========================-->\\n\t\t\t\t\t\t\t<div class=\\\"modal-body\\\">\\n\t\t\t\t\t\t\t\t<form>\\n\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Name</label>\\n\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@value={{this.newDairyModel.name}}\\n\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Producer ID</label>\\n\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@value={{this.newDairyModel.producerId}}\\n\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t<span class=\\\"help-block\\\">This is your\\n\t\t\t\t\t\t\t\t\t\t\t{{this.ENV.BRAND.organizationName}}\\n\t\t\t\t\t\t\t\t\t\t\tPatron number.</span>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Street Address (Optional)</label>\\n\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@value={{this.newDairyModel.miscellaneous.street}}\\n\t\t\t\t\t\t\t\t\t\t\tplaceholder=\\\"Street Address\\\"\\n\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Location</label>\\n\t\t\t\t\t\t\t\t\t\t<VdSelectLocation @dairy={{this.newDairyModel}} />\\n\t\t\t\t\t\t\t\t\t\t<span class=\\\"help-block\\\">Enter the city and state that you ship your\\n\t\t\t\t\t\t\t\t\t\t\tmilk to.</span>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<hr />\\n\\n\t\t\t\t\t\t\t\t\t<h4>Dairy Members (Read Access)</h4>\\n\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Users</label>\\n\t\t\t\t\t\t\t\t\t\t<PowerSelectMultiple\\n\t\t\t\t\t\t\t\t\t\t\t@options={{this.model.users}}\\n\t\t\t\t\t\t\t\t\t\t\t@selected={{this.newDairyModelMembers}}\\n\t\t\t\t\t\t\t\t\t\t\t@placeholder=\\\"Select admins for this dairy...\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@searchField=\\\"fullName\\\"\\n\t\t\t\t\t\t\t\t\t\t\t@onChange={{fn this.addUserDairyConfig \\\"Member\\\"}}\\n\t\t\t\t\t\t\t\t\t\t\tas |user|\\n\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t<strong>{{user.fullName}}</strong>\\n\t\t\t\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t\t\t\t\t{{user.email}}\\n\t\t\t\t\t\t\t\t\t\t</PowerSelectMultiple>\\n\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t</form>\\n\t\t\t\t\t\t\t\t<div class=\\\"clear-fix\\\"></div>\\n\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t<!--=========================== BUTTONS ===========================-->\\n\t\t\t\t\t\t\t<div class=\\\"modal-footer\\\">\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.rollbackDairy this.newDairyModel)}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\t\t\t\t\t\t\tCancel\\n\t\t\t\t\t\t\t\t</button>\\n\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-success\\\"\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.saveDairy this.newDairyModel)}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\t\t\t\t\t\t\tSave\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t</VdModal>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-dairies.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tsrc=\\\"{{this.model.organization.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.organization.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.model.organization.name}}</h2>\\n\t\t\t\t\t<div\\n\t\t\t\t\t\tclass=\\\"text-success hidden-xs\\\"\\n\t\t\t\t\t>{{this.model.organization.description}}</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-aggregate\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Aggregate\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-dairies\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Dairies\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li class=\\\"active\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-members\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"address-card\\\" class=\\\"hidden-xs\\\" />&nbsp;Members\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-settings\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"cog\\\" class=\\\"hidden-xs\\\" />&nbsp;Settings\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t\t\t\t{{outlet}}\\n\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-members.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"col-xs-12\\\">\\n\t<div class=\\\"panel panel-default flat-panel\\\">\\n\t\t<div class=\\\"panel-heading\\\">\\n\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t{{#if this.model.isOrgAdmin}}\\n\t\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.openAddMemberModal this.model.organization)}}\\n\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"plus\\\" />\\n\t\t\t\t\t\t\tAdd Member\\n\t\t\t\t\t\t</button>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{/if}}\\n\t\t\t</div>\\n\\n\t\t\t<div\\n\t\t\t\tclass=\\\"btn-group btn-group-sm hidden-xs pull-right\\\"\\n\t\t\t\tstyle=\\\"margin-left: 10px;\\\"\\n\t\t\t>\\n\t\t\t\t<div class=\\\"input-group input-group-sm\\\" style=\\\"max-width: 400px;\\\">\\n\t\t\t\t\t<span class=\\\"input-group-addon\\\" style=\\\"background-color: #fff;\\\">\\n\t\t\t\t\t\t<FaIcon @icon=\\\"filter\\\" />\\n\t\t\t\t\t</span>\\n\t\t\t\t\t<Input\\n\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\tclass=\\\"form-control input-sm\\\"\\n\t\t\t\t\t\t@value={{this.searchTerm}}\\n\t\t\t\t\t/>\\n\t\t\t\t\t<div class=\\\"input-group-btn hidden\\\">\\n\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t\t\t{{on \\\"click\\\" (fn (mut this.searchTerm) \\\"\\\")}}\\n\t\t\t\t\t\t>Clear Filter</button>\\n\t\t\t\t\t</div>\\n\\n\t\t\t\t\t<div class=\\\"input-group-btn\\\">\\n\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t\t\t><strong>Filter By:</strong>&nbsp;{{this.searchAttr}}\\n\t\t\t\t\t\t\t<span class=\\\"caret\\\"></span></button>\\n\t\t\t\t\t\t<ul class=\\\"dropdown-menu dropdown-menu-right\\\">\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=\\\"name\\\" searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\tName\\n\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=\\\"phone\\\" searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\tPhone\\n\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t\t\t\t@query={{hash searchAttr=\\\"email\\\" searchTerm=this.searchTerm}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\tEmail\\n\t\t\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t</ul>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"btn-group btn-group-sm hidden-xs pull-right\\\">\\n\t\t\t\t<button\\n\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t{{on \\\"click\\\" (fn (mut this.sortAscending) (not this.sortAscending))}}\\n\t\t\t\t>\\n\t\t\t\t\t{{#if this.sortAscending}}\\n\t\t\t\t\t\t<FaIcon @icon=\\\"sort-alpha-up\\\" />\\n\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t<FaIcon @icon=\\\"sort-alpha-down\\\" />\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t</button>\\n\\n\t\t\t\t<div class=\\\"btn-group btn-group-sm\\\">\\n\t\t\t\t\t<button\\n\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\tclass=\\\"btn btn-default dropdown-toggle\\\"\\n\t\t\t\t\t\tdata-toggle=\\\"dropdown\\\"\\n\t\t\t\t\t\taria-haspopup=\\\"true\\\"\\n\t\t\t\t\t\taria-expanded=\\\"false\\\"\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<strong>Sort By:</strong>&nbsp;{{this.sortProperties}}\\n\t\t\t\t\t\t<span class=\\\"caret\\\"></span>\\n\t\t\t\t\t</button>\\n\t\t\t\t\t<ul class=\\\"dropdown-menu\\\">\\n\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t\t\t@query={{hash sortProperties=\\\"name\\\" sortAscending=this.sortAscending}}\\n\t\t\t\t\t\t\t>Name</LinkTo>\\n\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t\t\t@query={{hash sortProperties=\\\"phone\\\" sortAscending=this.sortAscending}}\\n\t\t\t\t\t\t\t>Phone</LinkTo>\\n\t\t\t\t\t\t</li>\\n\t\t\t\t\t\t<li>\\n\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\t\t\t\t\t\t@query={{hash sortProperties=\\\"email\\\" sortAscending=this.sortAscending}}\\n\t\t\t\t\t\t\t>Email</LinkTo>\\n\t\t\t\t\t\t</li>\\n\t\t\t\t\t</ul>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\\n\t\t\t<div class=\\\"clearfix\\\"></div>\\n\t\t</div>\\n\\n\t\t<div class=\\\"table-responsive\\\">\\n\t\t\t<table class=\\\"table table-hover table-bordered table-condensed\\\">\\n\t\t\t\t<thead>\\n\t\t\t\t\t<tr>\\n\t\t\t\t\t\t<th>ID</th>\\n\t\t\t\t\t\t<th>User ID</th>\\n\t\t\t\t\t\t<th>Name</th>\\n\t\t\t\t\t\t<th>Email</th>\\n\t\t\t\t\t\t<th>Role</th>\\n\t\t\t\t\t\t<th>Details</th>\\n\t\t\t\t\t\t<th>Delete</th>\\n\t\t\t\t\t</tr>\\n\t\t\t\t</thead>\\n\t\t\t\t<tbody>\\n\t\t\t\t\t{{#each this.sortedUserOrganizationConfigs as |userOrganizationConfig|}}\\n\t\t\t\t\t\t<tr\\n\t\t\t\t\t\t\ttitle=\\\"{{if\\n\t\t\t\t\t\t\t\t(eq userOrganizationConfig this.application.userOrganizationConfig)\\n\t\t\t\t\t\t\t\t\\'Currently Active Member\\'\\n\t\t\t\t\t\t\t}}\\\"\\n\t\t\t\t\t\t\tclass=\\\"{{if\\n\t\t\t\t\t\t\t\t\t(eq userOrganizationConfig this.application.userOrganizationConfig)\\n\t\t\t\t\t\t\t\t\t\\'bold-text\\'\\n\t\t\t\t\t\t\t\t}}\\\"\\n\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t<td>{{userOrganizationConfig.id}}</td>\\n\t\t\t\t\t\t\t<td>{{userOrganizationConfig.userId.id}}</td>\\n\t\t\t\t\t\t\t<td>{{userOrganizationConfig.userId.fullName}}</td>\\n\t\t\t\t\t\t\t<td>{{userOrganizationConfig.userId.email}}</td>\\n\t\t\t\t\t\t\t<td>{{userOrganizationConfig.organizationRole}}</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t<LinkTo\\n\t\t\t\t\t\t\t\t\t@route=\\\"authenticated.organization-members.member\\\"\\n\t\t\t\t\t\t\t\t\t@model={{userOrganizationConfig.id}}\\n\t\t\t\t\t\t\t\t>Details</LinkTo>\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-xs btn-danger\\\"\\n\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.deleteMember userOrganizationConfig)}}\\n\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"trash\\\" />\\n\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t<td colspan=\\\"7\\\">\\n\t\t\t\t\t\t\t\t<div class=\\\"well\\\">\\n\t\t\t\t\t\t\t\t\t<img src=\\\"\\\" alt=\\\"\\\" class=\\\"img-responsive\\\" />\\n\t\t\t\t\t\t\t\t\t<h2>You don\\'t currently have any members</h2>\\n\t\t\t\t\t\t\t\t\t<button type=\\\"button\\\" name=\\\"button\\\" class=\\\"btn btn-sm btn-primary\\\">Add\\n\t\t\t\t\t\t\t\t\t\tyour first member!</button>\\n\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t</tr>\\n\t\t\t\t\t{{/each}}\\n\t\t\t\t</tbody>\\n\t\t\t</table>\\n\t\t</div>\\n\t</div>\\n</div>\\n\\n<VdModal @showModal={{this.showCreateModal}} @title=\\\"Add Member\\\">\\n\t<div class=\\\"modal-body\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<form>\\n\t\t\t\t\t<h4>Vault User</h4>\\n\t\t\t\t\t<PowerSelect\\n\t\t\t\t\t\t@options={{this.model.users}}\\n\t\t\t\t\t\t@selected={{this.memberAdditionModel.userId}}\\n\t\t\t\t\t\t@placeholder=\\\"Select a Vault user to add to this organization...\\\"\\n\t\t\t\t\t\t@searchField=\\\"fullName\\\"\\n\t\t\t\t\t\t@renderInPlace={{true}}\\n\t\t\t\t\t\t@onChange={{fn (mut this.memberAdditionModel.userId)}}\\n\t\t\t\t\t\tas |user|\\n\t\t\t\t\t>\\n\t\t\t\t\t\t<strong>{{user.fullName}}</strong>\\n\t\t\t\t\t\t&mdash;\\n\t\t\t\t\t\t{{user.email}}\\n\t\t\t\t\t</PowerSelect>\\n\\n\t\t\t\t\t<hr />\\n\\n\t\t\t\t\t<h4>{{this.model.organization.name}}</h4>\\n\t\t\t\t\t<PowerSelect\\n\t\t\t\t\t\t@options={{this.organizationPermissions}}\\n\t\t\t\t\t\t@selected={{this.memberAdditionModel.miscellaneous.addOrganizationPermissions}}\\n\t\t\t\t\t\t@placeholder=\\\"Select organization permissions...\\\"\\n\t\t\t\t\t\t@searchField=\\\"label\\\"\\n\t\t\t\t\t\t@onChange={{fn\\n\t\t\t\t\t\t\t(mut this.memberAdditionModel.miscellaneous.addOrganizationPermissions)\\n\t\t\t\t\t\t}}\\n\t\t\t\t\t\tas |ORGANIZATION_PERMISSION|\\n\t\t\t\t\t>\\n\t\t\t\t\t\t{{ORGANIZATION_PERMISSION.label}}\\n\t\t\t\t\t</PowerSelect>\\n\\n\t\t\t\t\t{{#if\\n\t\t\t\t\t\t(eq\\n\t\t\t\t\t\t\tthis.memberAdditionModel.miscellaneous.addOrganizationPermissions.label\\n\t\t\t\t\t\t\t\\\"Member\\\"\\n\t\t\t\t\t\t)\\n\t\t\t\t\t}}\\n\t\t\t\t\t\t<hr />\\n\t\t\t\t\t\t<h4>Dairy Memberships (Read Access)</h4>\\n\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Dairies</label>\\n\t\t\t\t\t\t\t<PowerSelectMultiple\\n\t\t\t\t\t\t\t\t@options={{this.organizationDairies}}\\n\t\t\t\t\t\t\t\t@selected={{this.memberAdditionModel.miscellaneous.addDairyPermissions}}\\n\t\t\t\t\t\t\t\t@placeholder=\\\"Select dairies to add a membership to...\\\"\\n\t\t\t\t\t\t\t\t@searchField=\\\"name\\\"\\n\t\t\t\t\t\t\t\t@onChange={{fn\\n\t\t\t\t\t\t\t\t\t(mut this.memberAdditionModel.miscellaneous.addDairyPermissions)\\n\t\t\t\t\t\t\t\t}}\\n\t\t\t\t\t\t\t\tas |dairy|\\n\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t<strong>{{dairy.name}}</strong>\\n\t\t\t\t\t\t\t\t-\\n\t\t\t\t\t\t\t\t{{dairy.producerId}}\\n\t\t\t\t\t\t\t</PowerSelectMultiple>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t{{/if}}\\n\t\t\t\t</form>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n\\n\t<!--=========================== BUTTONS ===========================-->\\n\t<div class=\\\"modal-footer\\\">\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t{{on \\\"click\\\" (fn this.rollback this.memberAdditionModel)}}\\n\t\t>\\n\t\t\t<i class=\\\"fa fa-times\\\"></i>\\n\t\t\tCancel\\n\t\t</button>\\n\\n\t\t<button\\n\t\t\tclass=\\\"btn btn-sm btn-success\\\"\\n\t\t\t{{on \\\"click\\\" (fn this.addMember this.memberAdditionModel)}}\\n\t\t>\\n\t\t\t<i class=\\\"fa fa-floppy-o\\\"></i>\\n\t\t\tSave\\n\t\t</button>\\n\t</div>\\n</VdModal>', { moduleName: 'agropur-client/templates/authenticated/organization-members/index.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-sm-3 col-md-2\\\">\\n\t\t<LinkTo\\n\t\t\t@route=\\\"authenticated.organization-members\\\"\\n\t\t\tclass=\\\"btn btn-default btn-block\\\"\\n\t\t>\\n\t\t\t<FaIcon @icon=\\\"chevron-left\\\" />\\n\t\t\tBack to Members\\n\t\t</LinkTo>\\n\t</div>\\n\t<div class=\\\"col-sm-9 col-md-10\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"subhead mb-0\\\">\\n\t\t\t\t\t<h2\\n\t\t\t\t\t\tclass=\\\"subhead-heading\\\"\\n\t\t\t\t\t>{{this.model.userOrganizationConfig.userId.content.fullName}}</h2>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-sm-12\\\">\\n\\n\t\t\t\t{{#if this.model.userOrganizationConfig.isOrganizationAdmin}}\\n\t\t\t\t\tSince this user is an organizational admin for\\n\t\t\t\t\t<b>{{this.model.organization.name}}</b>, he/she can access\\n\t\t\t\t\t<b>all dairies</b>\\n\t\t\t\t\tin the organization.\\n\t\t\t\t\t<br /><br />\\n\t\t\t\t\t<button class=\\\"btn btn-danger\\\">Remove admin access</button>\\n\t\t\t\t{{else}}\\n\t\t\t\t\tThis user can access the following dairies/producers:\\n\t\t\t\t\t<div class=\\\"table-responsive\\\" style=\\\"margin-top: 10px;\\\">\\n\t\t\t\t\t\t<table class=\\\"table table-bordered table-condensed\\\">\\n\t\t\t\t\t\t\t<tbody>\\n\t\t\t\t\t\t\t\t{{#each this.model.userDairyConfigs as |userDairyConfig|}}\\n\\n\t\t\t\t\t\t\t\t\t<tr>\\n\t\t\t\t\t\t\t\t\t\t<td style=\\\"text-align: left;\\\">{{userDairyConfig.dairyId.name}}</td>\\n\t\t\t\t\t\t\t\t\t\t<td>\\n\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-xs btn-danger\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.deleteMembership userDairyConfig)}}\\n\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"trash\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t</td>\\n\t\t\t\t\t\t\t\t\t</tr>\\n\\n\t\t\t\t\t\t\t\t{{/each}}\\n\t\t\t\t\t\t\t</tbody>\\n\t\t\t\t\t\t</table>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{/if}}\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-members/member.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tsrc=\\\"{{this.model.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.model.name}}</h2>\\n\t\t\t\t\t<div class=\\\"text-success hidden-xs\\\">{{this.model.description}}</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-aggregate\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Aggregate\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-dairies\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Dairies\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li>\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-members\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"address-card\\\" class=\\\"hidden-xs\\\" />&nbsp;Members\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\\n\t\t\t\t\t<li class=\\\"active\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization-settings\\\">\\n\t\t\t\t\t\t\t<FaIcon @icon=\\\"cog\\\" class=\\\"hidden-xs\\\" />&nbsp;Settings\\n\t\t\t\t\t\t</LinkTo>\\n\t\t\t\t\t</li>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<div>\\n\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t<div class=\\\"col-lg-12\\\">\\n\t\t\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"subhead mb-0\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t<h2 class=\\\"subhead-heading\\\">Organization Profile</h2>\\n\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t<br />\\n\\n\t\t\t\t\t\t\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-sm-8 col-md-6\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<form>\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">ID</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.id}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\\\"help-block\\\">This is your Organization ID within Vault.</span>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Name</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.name}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Description</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.description}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Email</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"email\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.email}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Phone</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"phone\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.phone}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Location</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.location}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Division</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"text\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.division}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Class III Hedge Limit</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.miscellaneous.hedgeLimits.classThreeMilk}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Basis Hedge Limit</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@type=\\\"number\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@value={{this.model.miscellaneous.hedgeLimits.agropurBasis}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t\t\t\t\t<hr />\\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-primary\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.saveOrganization this.model)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"save\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSave Organization\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\\\"button\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-sm btn-default\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" (fn this.rollbackOrganization this.model)}}\\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"times\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tCancel\\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</form>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t<div class=\\\"col-md-offset-2 col-md-4 hidden-xs hidden-sm\\\">\\n\t\t\t\t\t\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t\t\t\t\t\t<label class=\\\"control-label\\\">Organization Logo</label>\\n\t\t\t\t\t\t\t\t\t\t\t\t<div>\\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsrc=\\\"{{this.model.logo}}\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\talt=\\\"{{this.model.name}}\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"img-thumbnail\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\\\"width:200px;height:200px;\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\\\"btn btn-default\\\"\\n\t\t\t\t\t\t\t\t\t\t\t\t{{on \\\"click\\\" this.toggleForwardContractingInfoModal}}\\n\t\t\t\t\t\t\t\t\t\t\t>\\n\t\t\t\t\t\t\t\t\t\t\t\t<FaIcon @icon=\\\"info-circle\\\" />\\n\t\t\t\t\t\t\t\t\t\t\t\tForward Contracting Information\\n\t\t\t\t\t\t\t\t\t\t\t</button>\\n\t\t\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t\t\t</div>\\n\\n\t\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization-settings.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12\\\">\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<img\\n\t\t\t\t\tsrc=\\\"{{this.model.logo}}\\\"\\n\t\t\t\t\talt=\\\"{{this.model.name}}\\\"\\n\t\t\t\t\tstyle=\\\"height:48px;width:48px;\\\"\\n\t\t\t\t/>\\n\t\t\t\t<div class=\\\"organization-title\\\">\\n\t\t\t\t\t<h2 class=\\\"vd-title\\\">{{this.vmodel.name}}</h2>\\n\t\t\t\t\t<div class=\\\"text-success hidden-xs\\\">{{this.model.description}}</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row organization-header-background\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\" style=\\\"border-bottom: 1px solid #ddd;\\\">\\n\t\t\t\t<ul class=\\\"nav nav-tabs\\\" style=\\\"border-bottom: none;\\\">\\n\\n\t\t\t\t\t{{!-- {{#link-to \\'authenticated.organization.months\\'}}\\n          <i class=\\\"fa fa-list hidden-xs\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Aggregate\\n          {{/link-to}} --}}\\n\\n\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization.dairies\\\">\\n\t\t\t\t\t\t<FaIcon @icon=\\\"list\\\" class=\\\"hidden-xs\\\" />&nbsp;Dairies\\n\t\t\t\t\t</LinkTo>\\n\\n\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization.members\\\">\\n\t\t\t\t\t\t<FaIcon @icon=\\\"address-card\\\" class=\\\"hidden-xs\\\" />&nbsp;Members\\n\t\t\t\t\t</LinkTo>\\n\\n\t\t\t\t\t<LinkTo @route=\\\"authenticated.organization.settings\\\">\\n\t\t\t\t\t\t<FaIcon @icon=\\\"cog\\\" class=\\\"hidden-xs\\\" />&nbsp;Settings\\n\t\t\t\t\t</LinkTo>\\n\t\t\t\t</ul>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t\t<br />\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12\\\">\\n\t\t\t\t<div class=\\\"panel panel-default\\\" style=\\\"border-top: none; margin-top: 0px;\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t{{outlet}}\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t</div>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/authenticated/organization.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('{{!\\nAdd content you wish automatically added to the documents head\\nhere. The \\'model\\' available in this template can be populated by\\nsetting values on the \\'head-data\\' service.\\n}}\\n<title>\\n\t{{this.model.title}}\\n</title>\\n\\n{{#if this.model.showMobileConfig}}\\n\t<!-- Mobile WebApp Config && Icons -->\\n\t<link\\n\t\trel=\\\"apple-touch-icon\\\"\\n\t\tsizes=\\\"180x180\\\"\\n\t\thref=\\\"/apple-touch-icon.png?v=3e8P475exd\\\"\\n\t/>\\n\t<link\\n\t\trel=\\\"icon\\\"\\n\t\ttype=\\\"image/png\\\"\\n\t\tsizes=\\\"32x32\\\"\\n\t\thref=\\\"/favicon-32x32.png?v=3e8P475exd\\\"\\n\t/>\\n\t<link\\n\t\trel=\\\"icon\\\"\\n\t\ttype=\\\"image/png\\\"\\n\t\tsizes=\\\"16x16\\\"\\n\t\thref=\\\"/favicon-16x16.png?v=3e8P475exd\\\"\\n\t/>\\n\t<link rel=\\\"manifest\\\" href=\\\"/site.webmanifest?v=3e8P475exd\\\" />\\n\t<link\\n\t\trel=\\\"mask-icon\\\"\\n\t\thref=\\\"/safari-pinned-tab.svg?v=3e8P475exd\\\"\\n\t\tcolor=\\\"#162e4d\\\"\\n\t/>\\n\t<link rel=\\\"shortcut icon\\\" href=\\\"/favicon.ico?v=3e8P475exd\\\" />\\n\t<meta name=\\\"apple-mobile-web-app-title\\\" content=\\\"Agro-Vault\\\" />\\n\t<meta name=\\\"application-name\\\" content=\\\"Agro-Vault\\\" />\\n\t<meta name=\\\"msapplication-TileColor\\\" content=\\\"#f4f4f4\\\" />\\n\t<meta\\n\t\tname=\\\"msapplication-TileImage\\\"\\n\t\tcontent=\\\"/mstile-144x144.png?v=3e8P475exd\\\"\\n\t/>\\n\t<meta name=\\\"theme-color\\\" content=\\\"#f4f4f4\\\" />\\n{{/if}}', { moduleName: 'agropur-client/templates/head.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div id=\\\"login-page\\\" class=\\\"row\\\">\\n\t<div\\n\t\tclass=\\\"col-sm-8 col-sm-offset-2 col-xs-10 col-xs-offset-1 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4\\\"\\n\t>\\n\\n\t\t<div class=\\\"center-block\\\">\\n\t\t\t{{#if this.ENV.BRAND.demo}}\\n\t\t\t\t<img\\n\t\t\t\t\tid=\\\"login-page-logo\\\"\\n\t\t\t\t\tsrc=\\\"{{this.brandLogoUrl}}\\\"\\n\t\t\t\t\tclass=\\\"img-responsive\\\"\\n\t\t\t\t\talt=\\\"{{this.brandLogoText}}\\\"\\n\t\t\t\t\tstyle=\\\"height: 48px; margin-left: auto; margin-right: auto; margin-top: 30px; margin-bottom: 30px;\\\"\\n\t\t\t\t/>\\n\t\t\t{{else}}\\n\t\t\t\t<img\\n\t\t\t\t\tid=\\\"login-page-logo\\\"\\n\t\t\t\t\tsrc=\\\"{{this.brandLogoUrl}}\\\"\\n\t\t\t\t\tclass=\\\"img-responsive\\\"\\n\t\t\t\t\talt=\\\"{{this.brandLogoText}}\\\"\\n\t\t\t\t\tstyle=\\\"height: 100%; max-height: 150px; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 30px;\\\"\\n\t\t\t\t/>\\n\t\t\t{{/if}}\\n\t\t</div>\\n\\n\t\t{{#if this.ENV.BRAND.programName}}\\n\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t<div class=\\\"col-xs-12 panel panel-default agropur-panel\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<p\\n\t\t\t\t\t\t\tclass=\\\"text-center agropur-text-header\\\"\\n\t\t\t\t\t\t>{{this.ENV.BRAND.programName}}</p>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t{{/if}}\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12 panel panel-default\\\" style=\\\"padding: 20px;\\\">\\n\t\t\t\t<h3 class=\\\"visible-xs visible-sm\\\" style=\\\"margin-top: 5px;\\\">Login</h3>\\n\\n\t\t\t\t<h1 class=\\\"hidden-xs hidden-sm\\\">Login</h1>\\n\t\t\t\t<p\\n\t\t\t\t\tstyle=\\\"background-color: #eee; padding: 10px; font-size: 1.2em; margin-bottom: 20px;\\\"\\n\t\t\t\t\tclass=\\\"hidden-xs hidden-sm\\\"\\n\t\t\t\t>This application uses the latest browser technologies. Please use\\n\t\t\t\t\t<a href=\\\"https://www.google.com/chrome/browser/desktop/index.html\\\">Google\\n\t\t\t\t\t\tChrome</a>,\\n\t\t\t\t\t<a href=\\\"https://www.apple.com/safari/\\\">Apple Safari</a>\\n\t\t\t\t\tor\\n\t\t\t\t\t<a href=\\\"https://www.mozilla.org/en-US/firefox/\\\">Mozilla Firefox</a>\\n\t\t\t\t\twhen accessing this application.</p>\\n\\n\t\t\t\t{{#if this.errorMessage}}\\n\t\t\t\t\t<div class=\\\"alert alert-danger\\\" role=\\\"alert\\\">\\n\t\t\t\t\t\t<p>{{this.errorMessage}}</p>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{/if}}\\n\t\t\t\t{{#if this.isRedirecting}}\\n\t\t\t\t\t<div class=\\\"alert alert-info\\\" role=\\\"alert\\\">\\n\t\t\t\t\t\t<p><i class=\\\"fa fa-spinner fa-spin\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Signed\\n\t\t\t\t\t\t\tin! Loading the application&hellip;</p>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{/if}}\\n\\n\t\t\t\t<form {{on \\\"submit\\\" this.authenticate}}>\\n\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t<label for=\\\"identification\\\">Email</label>\\n\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t@id=\\\"identification\\\"\\n\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\tplaceholder=\\\"Enter Login\\\"\\n\t\t\t\t\t\t\t@value={{this.identification}}\\n\t\t\t\t\t\t\tdisabled={{this.isBusy}}\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t</div>\\n\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t<label for=\\\"password\\\">Password</label>\\n\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t@id=\\\"password\\\"\\n\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\tplaceholder=\\\"Enter Password\\\"\\n\t\t\t\t\t\t\t@type=\\\"password\\\"\\n\t\t\t\t\t\t\t@value={{this.password}}\\n\t\t\t\t\t\t\tdisabled={{this.isBusy}}\\n\t\t\t\t\t\t/>\\n\t\t\t\t\t</div>\\n\t\t\t\t\t<p>Forgot your password?\\n\t\t\t\t\t\t<LinkTo @route=\\\"password-reset\\\">Reset it here</LinkTo>\\n\t\t\t\t\t</p>\\n\t\t\t\t\t<button\\n\t\t\t\t\t\tid=\\\"login\\\"\\n\t\t\t\t\t\ttype=\\\"submit\\\"\\n\t\t\t\t\t\tclass=\\\"btn btn-primary pull-right\\\"\\n\t\t\t\t\t\tdisabled={{this.isBusy}}\\n\t\t\t\t\t>\\n\t\t\t\t\t\t{{#if this.isAuthenticating}}\\n\t\t\t\t\t\t\t<i class=\\\"fa fa-spinner fa-spin\\\" aria-hidden=\\\"true\\\"></i>&nbsp;Signing\\n\t\t\t\t\t\t\tIn&hellip;\\n\t\t\t\t\t\t{{else if this.isRedirecting}}\\n\t\t\t\t\t\t\t<i\\n\t\t\t\t\t\t\t\tclass=\\\"fa fa-spinner fa-spin\\\"\\n\t\t\t\t\t\t\t\taria-hidden=\\\"true\\\"\\n\t\t\t\t\t\t\t></i>&nbsp;Loading&hellip;\\n\t\t\t\t\t\t{{else}}\\n\t\t\t\t\t\t\tLogin\\n\t\t\t\t\t\t{{/if}}\\n\t\t\t\t\t</button>\\n\t\t\t\t</form>\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/login.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div class=\\\"row\\\">\\n\t<div class=\\\"col-xs-12 col-sm-4 col-sm-offset-4 text-center\\\">\\n\t\t<VdPanel>\\n\t\t\t<div style=\\\"padding-bottom: 20px;\\\">\\n\t\t\t\t<h1>404: PAGE NOT FOUND</h1>\\n\t\t\t\t<LinkTo @route=\\\"dashboard\\\">Click here to go back to the Dashboard</LinkTo>\\n\t\t\t</div>\\n\t\t</VdPanel>\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/not-found.hbs' });\n","import { hbs } from 'ember-cli-htmlbars';\nexport default hbs('<div id=\\\"login-page\\\" class=\\\"row\\\">\\n\t<div\\n\t\tclass=\\\"col-sm-8 col-sm-offset-2 col-xs-10 col-xs-offset-1 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4\\\"\\n\t>\\n\\n\t\t<div class=\\\"center-block\\\">\\n\t\t\t<img\\n\t\t\t\tid=\\\"login-page-logo\\\"\\n\t\t\t\tsrc=\\\"{{this.brandLogoUrl}}\\\"\\n\t\t\t\tclass=\\\"img-responsive\\\"\\n\t\t\t\talt=\\\"{{this.brandLogoText}}\\\"\\n\t\t\t\tstyle=\\\"height: 100%; max-height: 150px; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 30px;\\\"\\n\t\t\t/>\\n\t\t</div>\\n\\n\t\t{{#if this.programName}}\\n\t\t\t<div class=\\\"row\\\">\\n\t\t\t\t<div class=\\\"col-xs-12 panel panel-default agropur-panel\\\">\\n\t\t\t\t\t<div class=\\\"panel-body\\\">\\n\t\t\t\t\t\t<p class=\\\"text-center agropur-text-header\\\">{{this.programName}}</p>\\n\t\t\t\t\t</div>\\n\t\t\t\t</div>\\n\t\t\t</div>\\n\t\t{{/if}}\\n\\n\t\t<div class=\\\"row\\\">\\n\t\t\t<div class=\\\"col-xs-12 panel panel-default\\\" style=\\\"padding: 20px;\\\">\\n\t\t\t\t<h3 class=\\\"visible-xs visible-sm\\\" style=\\\"margin-top: 5px;\\\">Reset Password</h3>\\n\\n\t\t\t\t<h1 class=\\\"hidden-xs hidden-sm\\\">Reset Password</h1>\\n\\n\t\t\t\t{{#if this.submitted}}\\n\t\t\t\t\tYour request has been submitted. If your email address is associated with a\\n\t\t\t\t\tvalid account, you\\'ll receive an email with password reset instructions.\\n\t\t\t\t\t<div style=\\\"margin-top: 10px;\\\">\\n\t\t\t\t\t\t<LinkTo @route=\\\"login\\\" class=\\\"btn btn-primary\\\">Back to Login</LinkTo>\\n\t\t\t\t\t</div>\\n\t\t\t\t{{else}}\\n\t\t\t\t\t<p>Submit your email below to receive a password reset email.</p>\\n\\n\t\t\t\t\t<form {{on \\\"submit\\\" this.submitPasswordResetRequest}}>\\n\t\t\t\t\t\t<div class=\\\"form-group\\\">\\n\t\t\t\t\t\t\t<Input\\n\t\t\t\t\t\t\t\tid=\\\"email\\\"\\n\t\t\t\t\t\t\t\tclass=\\\"form-control\\\"\\n\t\t\t\t\t\t\t\tplaceholder=\\\"Enter email address\\\"\\n\t\t\t\t\t\t\t\t@value={{this.emailAddress}}\\n\t\t\t\t\t\t\t/>\\n\t\t\t\t\t\t</div>\\n\t\t\t\t\t\t<button\\n\t\t\t\t\t\t\tid=\\\"login\\\"\\n\t\t\t\t\t\t\ttype=\\\"submit\\\"\\n\t\t\t\t\t\t\tclass=\\\"btn btn-primary pull-right\\\"\\n\t\t\t\t\t\t>Submit</button>\\n\t\t\t\t\t</form>\\n\t\t\t\t{{/if}}\\n\\n\t\t\t</div>\\n\t\t</div>\\n\\n\t</div>\\n</div>', { moduleName: 'agropur-client/templates/password-reset.hbs' });\n","define(\"agropur-client/transforms/boolean\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.BooleanTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/transforms/date-input\", [\"exports\", \"@ember-data/serializer/transform\", \"moment\"], function (_exports, _transform, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/transform\",0,\"moment\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let DateInput = _exports.default = classic(_class = class DateInput extends _transform.default {\n    deserialize(serialized) {\n      return _moment.default.utc(serialized).format('YYYY-MM-DD');\n    }\n    serialize(deserialized) {\n      return _moment.default.utc(deserialized).format('YYYY-MM-DD hh:mm:ss');\n    }\n  }) || _class;\n});\n","define(\"agropur-client/transforms/date\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.DateTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/transforms/localdate\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Localdate = _exports.default = classic(_class = class Localdate extends _transform.default {\n    deserialize(serialized) {\n      return new Date(serialized);\n    }\n    serialize(deserialized) {\n      return deserialized.toISOString().substr(0, 10);\n    }\n  }) || _class;\n});\n","define(\"agropur-client/transforms/number\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.NumberTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/transforms/raw\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Raw = _exports.default = classic(_class = class Raw extends _transform.default {\n    deserialize(serialized) {\n      return serialized;\n    }\n    serialize(deserialized) {\n      return deserialized;\n    }\n  }) || _class;\n});\n","define(\"agropur-client/transforms/string\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.StringTransform;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n});\n","define(\"agropur-client/transforms/utcdate\", [\"exports\", \"@ember-data/serializer/transform\", \"moment\"], function (_exports, _transform, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/transform\",0,\"moment\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Utcdate = _exports.default = classic(_class = class Utcdate extends _transform.default {\n    deserialize(serialized) {\n      return _moment.default.utc(serialized).toDate();\n    }\n    serialize(deserialized) {\n      return _moment.default.utc(deserialized).format('YYYY-MM-DD');\n    }\n  }) || _class;\n});\n","define(\"agropur-client/transforms/utcdatetime\", [\"exports\", \"@ember-data/serializer/transform\", \"moment\"], function (_exports, _transform, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-classic-decorator\",0,\"@ember-data/serializer/transform\",0,\"moment\"eaimeta@70e063a35619d71f\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let Utcdatetime = _exports.default = classic(_class = class Utcdatetime extends _transform.default {\n    deserialize(serialized) {\n      return _moment.default.utc(serialized).toDate();\n    }\n    serialize(deserialized) {\n      return _moment.default.utc(deserialized).format('YYYY-MM-DD HH:mm:ss');\n    }\n  }) || _class;\n});\n","define(\"agropur-client/utils/barchart-to-vela-price\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = barchartToVelaPrice;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function barchartToVelaPrice(symbol, price) {\n    let newPrice = price;\n    switch (symbol) {\n      case 'GDK':\n        newPrice = price * 100;\n        break;\n      case 'DC':\n        newPrice = price * 100;\n        break;\n      case 'ZM':\n        newPrice = price * 10;\n        break;\n      case 'GNF':\n        newPrice = price * 1000;\n        break;\n      case 'DY':\n        newPrice = price * 1000;\n        break;\n      case 'CSC':\n        newPrice = price * 1000;\n        break;\n      case 'CB':\n        newPrice = price * 1000;\n        break;\n    }\n    return newPrice;\n  }\n});\n","define(\"agropur-client/utils/date-utils\", [\"exports\", \"moment\"], function (_exports, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"moment\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = {\n    isPastWithRollback() {\n      const thisMonth = (0, _moment.default)();\n      const startDate = null;\n      if (thisMonth.date() < this.rollAfterDay) {\n        startDate.substract(1, 'months');\n      }\n    },\n    currentRollbackMonth() {\n      const thisMonth = (0, _moment.default)();\n      if (thisMonth.date() < 8) {\n        return thisMonth.startOf('month').subtract(1, 'months');\n      }\n      return thisMonth.startOf('month');\n    },\n    getCurrentMonth() {\n      return (0, _moment.default)();\n    },\n    getCurrentDatetime() {\n      return (0, _moment.default)();\n    },\n    toUtc(date) {\n      return _moment.default.utc(date);\n    },\n    format(date, format) {\n      if (date instanceof _moment.default) {\n        return date.format(format);\n      }\n      return (0, _moment.default)(date).format(format);\n    },\n    dateInput(date) {\n      if (date instanceof _moment.default) {\n        return date.format('YYYY-MM-DD');\n      }\n      return (0, _moment.default)(date).format('YYYY-MM-DD');\n    }\n  };\n});\n","define(\"agropur-client/utils/vault-display-price\", [\"exports\", \"agropur-client/config/environment\"], function (_exports, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = vaultDisplayPrice;\n  0; //eaimeta@70e063a35619d71f0,\"agropur-client/config/environment\"eaimeta@70e063a35619d71f\n  function vaultDisplayPrice(price, rootSymbol, currency) {\n    if (!rootSymbol || !price) {\n      return price;\n    }\n    const priceFormat = _environment.default.APP.PRICE_FORMAT[rootSymbol];\n    const modifiedPrice = price * priceFormat.displayFactor;\n    if (currency) {\n      return Intl.NumberFormat('en-US', {\n        style: 'currency',\n        currency,\n        minimumFractionDigits: priceFormat.fractionalDecimals,\n        maximumFractionDigits: priceFormat.fractionalDecimals\n      }).format(modifiedPrice);\n    } else {\n      return Intl.NumberFormat('en-US', {\n        minimumFractionDigits: priceFormat.fractionalDecimals,\n        maximumFractionDigits: priceFormat.fractionalDecimals\n      }).format(modifiedPrice);\n    }\n  }\n});\n","\n","define('agropur-client/config/environment', [], function() {\n  var prefix = 'agropur-client';\ntry {\n  var metaName = prefix + '/config/environment';\n  var rawConfig = document.querySelector('meta[name=\"' + metaName + '\"]').getAttribute('content');\n  var config = JSON.parse(decodeURIComponent(rawConfig));\n\n  var exports = { 'default': config };\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n  return exports;\n}\ncatch(err) {\n  throw new Error('Could not read config from meta tag with name \"' + metaName + '\".');\n}\n\n});\n","\n          if (!runningTests) {\n            require(\"agropur-client/app\")[\"default\"].create({\"HOST\":\"https://staging-api.vaultag.com\",\"CLIENT_OAUTH\":\"Basic NTNkMmJmNTg2ZjAwMDA2NjBiN2RkMTY3OmMzZmEwZTY3LWZhMGYtNDI1MC1hZjM5LWM1NzQyYzBmMjIxMA==\",\"VAULT_API\":\"https://staging-api.vaultag.com\",\"CLIENT\":{\"URL\":\"https://staging-agropur.vaultdairy.com\"},\"isRunningWithServerArgs\":false,\"PRICE_FORMAT\":{\"ZW\":{\"displayFactor\":0.01,\"fractionalDecimals\":4},\"CB\":{\"displayFactor\":0.01,\"fractionalDecimals\":4},\"GDK\":{\"displayFactor\":1,\"fractionalDecimals\":2},\"ZS\":{\"displayFactor\":0.01,\"fractionalDecimals\":4},\"CSC\":{\"displayFactor\":1,\"fractionalDecimals\":4},\"LE\":{\"displayFactor\":0.01,\"fractionalDecimals\":4},\"ZM\":{\"displayFactor\":1,\"fractionalDecimals\":1},\"GNF\":{\"displayFactor\":0.01,\"fractionalDecimals\":4},\"DC\":{\"displayFactor\":1,\"fractionalDecimals\":2},\"ZC\":{\"displayFactor\":0.01,\"fractionalDecimals\":4},\"DY\":{\"displayFactor\":0.01,\"fractionalDecimals\":4}},\"HEDGE_LIMITS\":{\"classThreeMilk\":1,\"agropurBasis\":1}});\n          }\n        \n"],"names":["setupDeprecationWorkflow","throwOnUnhandled","workflow","config","autoAddCss","library","add","freeSolidSvgIcons"],"mappings":"AAAA;AACA;AACA;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ECXA;AACA;AACA;AACA;AACA;AACA;AACA;EACA,IAAAA,oCAAwB,EAAC;IACxB;IACAC,gBAAgB,EAAE,KAAK;IACvBC,QAAQ,EAAE;EACX,CAAC,CAAC;AAAC;;;;;;ECXoD;;EAEvD;EACA;EACA;EACAC,0BAAM,CAACC,UAAU,GAAG,KAAK;EAEzBC,2BAAO,CAACC,GAAG,CAACC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAAA;;ACTvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;ECXuB;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,gRAAgR;IAAC,YAAY,EAAC,0CAA0C;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAvX;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,40lDAA40lD;IAAC,YAAY,EAAC,4CAA4C;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAr7lD;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,uhYAAuhY;IAAC,YAAY,EAAC,gEAAgE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAppY;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,o/YAAo/Y;IAAC,YAAY,EAAC,+DAA+D;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAhnZ;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,o0EAAo0E;IAAC,YAAY,EAAC,gEAAgE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAj8E;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,+odAA+od;IAAC,YAAY,EAAC,+DAA+D;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA3wd;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,y8fAAy8f;IAAC,YAAY,EAAC,oEAAoE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA1kgB;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,ohgBAAohgB;IAAC,YAAY,EAAC,mEAAmE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAppgB;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,mhhBAAmhhB;IAAC,YAAY,EAAC,2DAA2D;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA3ohB;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,09FAA09F;IAAC,YAAY,EAAC,wDAAwD;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA/kG;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,ypTAAypT;IAAC,YAAY,EAAC,2DAA2D;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAjxT;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,0+EAA0+E;IAAC,YAAY,EAAC,kDAAkD;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;ECAzlF;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,8EAA8E;IAAC,YAAY,EAAC,wDAAwD;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAnM;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,kqNAAkqN;IAAC,YAAY,EAAC,sDAAsD;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECArxN;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,8uMAA8uM;IAAC,YAAY,EAAC,2DAA2D;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;ECAt2M;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,YAAY;IAAC,YAAY,EAAC,kDAAkD;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA3H;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,wwJAAwwJ;IAAC,YAAY,EAAC,oDAAoD;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAz3J;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,mjMAAmjM;IAAC,YAAY,EAAC,6EAA6E;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA7rM;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,giNAAgiN;IAAC,YAAY,EAAC,4DAA4D;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAzpN;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,y1GAAy1G;IAAC,YAAY,EAAC,mEAAmE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAz9G;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,2gdAA2gd;IAAC,YAAY,EAAC,0FAA0F;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAlqd;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,2qWAA2qW;IAAC,YAAY,EAAC,qFAAqF;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA7zW;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,2pVAA2pV;IAAC,YAAY,EAAC,qFAAqF;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA7yV;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,s8SAAs8S;IAAC,YAAY,EAAC,6EAA6E;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAhlT;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,ipYAAipY;IAAC,YAAY,EAAC,4FAA4F;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA1yY;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,82oBAA82oB;IAAC,YAAY,EAAC,iEAAiE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA5+oB;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,m1GAAm1G;IAAC,YAAY,EAAC,iEAAiE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAj9G;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,ozZAAozZ;IAAC,YAAY,EAAC,uEAAuE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAx7Z;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,u9FAAu9F;IAAC,YAAY,EAAC,wEAAwE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA5lG;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,i1UAAi1U;IAAC,YAAY,EAAC,kEAAkE;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAh9U;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,o+EAAo+E;IAAC,YAAY,EAAC,yDAAyD;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA1lF;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,4jDAA4jD;IAAC,YAAY,EAAC,mCAAmC;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECA5pD;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,qlKAAqlK;IAAC,YAAY,EAAC,oCAAoC;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;ECAtrK;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,8kBAA8kB;IAAC,YAAY,EAAC,wCAAwC;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECAnrB;IAAC,IAAI,EAAC,UAAU;IAAC,OAAO,EAAC,uvFAAuvF;IAAC,YAAY,EAAC,6CAA6C;IAAC,cAAc,EAAC;EAAK,CAAC;AAAA;;ACAx3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;","file":"agropur-client.js"}