{"version":3,"sources":["webpack:///./node_modules/core-js/internals/engine-ff-version.js","webpack:///./src/assets/batch_icon.svg","webpack:///./src/assets/feed.svg","webpack:///./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack:///./node_modules/core-js/internals/array-for-each.js","webpack:///./src/assets/mic.svg","webpack:///./node_modules/core-js/modules/es.string.includes.js","webpack:///./src/components/Loading.vue","webpack:///./src/components/Loading.vue?b977","webpack:///./src/views/Registration.vue","webpack:///./src/views/Registration.vue?727c","webpack:///./node_modules/core-js/internals/is-regexp.js","webpack:///./node_modules/core-js/modules/es.array.filter.js","webpack:///./node_modules/core-js/modules/es.array.sort.js","webpack:///./node_modules/core-js/internals/engine-webkit-version.js","webpack:///./node_modules/core-js/internals/not-a-regexp.js","webpack:///./src/assets/curve_icon.svg","webpack:///./src/components/Loading.vue?920e","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./src/store/dashboard.ts","webpack:///./src/assets/food_icon.svg","webpack:///./src/assets/stall_icon.svg","webpack:///./src/assets/kg.svg","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./src/assets/farm_icon.svg","webpack:///./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///./src/assets/user_icon.svg","webpack:///./node_modules/core-js/internals/array-sort.js","webpack:///./src/assets/barn_icon.svg","webpack:///./node_modules/core-js/modules/es.array.includes.js","webpack:///./src/views/Registration.vue?f7f2","webpack:///./node_modules/core-js/modules/es.array.map.js","webpack:///./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack:///./src/assets/company_icon.svg","webpack:///./src/assets/silo_base.svg"],"names":["userAgent","firefox","match","module","exports","global","DOMIterables","DOMTokenListPrototype","forEach","createNonEnumerableProperty","handlePrototype","CollectionPrototype","error","COLLECTION_NAME","prototype","$forEach","arrayMethodIsStrict","STRICT_METHOD","callbackfn","this","arguments","length","undefined","$","uncurryThis","notARegExp","requireObjectCoercible","toString","correctIsRegExpLogic","stringIndexOf","indexOf","target","proto","forced","includes","searchString","class","script","__exports__","render","n","_hoisted_1","key","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","src","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","setup","__props","store","isCollapsed","getCompanies","_ctx","_cache","_component_router_view","_component_router_link","Loading","collapsed","value","onClick","$event","to","default","_","isObject","classof","wellKnownSymbol","MATCH","it","isRegExp","$filter","filter","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","aCallable","toObject","lengthOfArrayLike","fails","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","test","un$Sort","sort","push","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","chr","index","result","String","fromCharCode","k","v","a","b","charAt","FORCED","getSortCompare","comparefn","x","y","array","itemsLength","items","arrayLength","webkit","TypeError","$find","find","addToUnscopables","FIND","SKIPS_HOLES","Array","MAIN_STORE","useDashboardStore","state","companies","visibility","actions","setHomeInfo","getFromAPI","Error","replace","setVisibility","getters","getVisibility","getFarms","farms","company","name","localeCompare","getBarns","barns","farm","getAllSensors","sensors","barn","getActiveSensors","is_last_batch_active","getSensorsInstalled","sensor","status","getSmartCamSensors","item","type","getSmartMicSensors","getSmartFeedSensors","getActiveSmartFeedSensors","getFarmByBarn","barn_pk","map","pk","getBarnByPK","METHOD_NAME","argument","method","call","regexp","error1","error2","arraySlice","floor","Math","mergeSort","middle","insertionSort","merge","element","j","i","left","right","llength","rlength","lindex","rindex","$includes","el","$map","UA"],"mappings":"qGAAA,IAAIA,EAAY,EAAQ,QAEpBC,EAAUD,EAAUE,MAAM,mBAE9BC,EAAOC,UAAYH,IA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,EAAID,UAAU,QAAKE,MAKrE0H,EAAiB,a,kCCdjB,W,kCCCA,IAAIzH,EAAI,EAAQ,QACZ8L,EAAO,EAAQ,QAAgC5B,IAC/CnF,EAA+B,EAAQ,QAEvCC,EAAsBD,EAA6B,OAKvD/E,EAAE,CAAEQ,OAAQ,QAASC,OAAO,EAAMC,QAASsE,GAAuB,CAChEkF,IAAK,SAAavK,GAChB,OAAOmM,EAAKlM,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,O,qBCZxE,IAAIgM,EAAK,EAAQ,QAEjBnN,EAAOC,QAAU,eAAe6G,KAAKqG,I,qBCFrCnN,EAAOC,QAAU,IAA0B,iC,qBCA3CD,EAAOC,QAAU,IAA0B","file":"js/chunk-9389abca.dff1659d.js","sourcesContent":["var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","module.exports = __webpack_public_path__ + \"img/batch_icon.265fe3e9.svg\";","module.exports = __webpack_public_path__ + \"img/feed.8e37d942.svg\";","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","module.exports = __webpack_public_path__ + \"img/mic.7cdb0f05.svg\";","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","\n\n\n","import { render } from \"./Loading.vue?vue&type=template&id=00324ed9&scoped=true\"\nconst script = {}\n\nimport \"./Loading.vue?vue&type=style&index=0&id=00324ed9&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/runner/work/support-platform/support-platform/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-00324ed9\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/user_icon.svg'\nimport _imports_1 from '@/assets/company_icon.svg'\nimport _imports_2 from '@/assets/farm_icon.svg'\nimport _imports_3 from '@/assets/barn_icon.svg'\nimport _imports_4 from '@/assets/silo_base.svg'\nimport _imports_5 from '@/assets/food_icon.svg'\nimport _imports_6 from '@/assets/kg.svg'\nimport _imports_7 from '@/assets/mic.svg'\nimport _imports_8 from '@/assets/feed.svg'\nimport _imports_9 from '@/assets/stall_icon.svg'\nimport _imports_10 from '@/assets/batch_icon.svg'\nimport _imports_11 from '@/assets/curve_icon.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-577b25a2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n class: \"registration\"\n}\nconst _hoisted_2 = { class: \"form-container\" }\nconst _hoisted_3 = { class: \"form\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { class: \"options-container\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", null, \"Registration Options\", -1))\nconst _hoisted_8 = { class: \"options\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }, null, -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"user\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }, null, -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"company\", -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_2 }, null, -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"farm\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_3 }, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"barn\", -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"silo-top\" }, null, -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"silo-body\" }, null, -1))\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_4 }, null, -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"silo\", -1))\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_5 }, null, -1))\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"food\", -1))\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_6 }, null, -1))\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"smartcam\", -1))\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_7 }, null, -1))\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"smartmic\", -1))\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_8 }, null, -1))\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"smartfeed\", -1))\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_9 }, null, -1))\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"stall\", -1))\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_10 }, null, -1))\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"batch\", -1))\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_11 }, null, -1))\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"reference curve\", -1))\n\nimport { useDashboardStore } from '@/store/dashboard';\nimport { computed, ComputedRef, Ref, ref } from \"vue\";\nimport { CompanyType } from \"@/types/company\";\nimport Loading from '@/components/Loading.vue';\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst store = useDashboardStore()\n\n// Data\nconst isCollapsed: Ref = ref(false)\n\n// Computed\nconst getCompanies: ComputedRef = computed(() => store.getCompanies);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_unref(getCompanies).length === 0)\n ? (_openBlock(), _createBlock(Loading, { key: 0 }))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_router_view)\n ])\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"registration-options-container\", {collapsed: isCollapsed.value}])\n }, [\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (isCollapsed.value = ! isCollapsed.value))\n }, _hoisted_5),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_router_link, { to: \"/platform/register/user\" }, {\n default: _withCtx(() => [\n _hoisted_9,\n _hoisted_10\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/company\" }, {\n default: _withCtx(() => [\n _hoisted_11,\n _hoisted_12\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/farm\" }, {\n default: _withCtx(() => [\n _hoisted_13,\n _hoisted_14\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/barn\" }, {\n default: _withCtx(() => [\n _hoisted_15,\n _hoisted_16\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/silo\" }, {\n default: _withCtx(() => [\n _hoisted_17,\n _hoisted_18,\n _hoisted_19,\n _hoisted_20\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/food\" }, {\n default: _withCtx(() => [\n _hoisted_21,\n _hoisted_22\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/smartcam\" }, {\n default: _withCtx(() => [\n _hoisted_23,\n _hoisted_24\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/smartmic\" }, {\n default: _withCtx(() => [\n _hoisted_25,\n _hoisted_26\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/smartfeed\" }, {\n default: _withCtx(() => [\n _hoisted_27,\n _hoisted_28\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/stall\" }, {\n default: _withCtx(() => [\n _hoisted_29,\n _hoisted_30\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/batch\" }, {\n default: _withCtx(() => [\n _hoisted_31,\n _hoisted_32\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/reference-weight-curve\" }, {\n default: _withCtx(() => [\n _hoisted_33,\n _hoisted_34\n ]),\n _: 1\n })\n ])\n ])\n ], 2)\n ]))\n}\n}\n\n})","import script from \"./Registration.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Registration.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Registration.vue?vue&type=style&index=0&id=577b25a2&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/runner/work/support-platform/support-platform/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-577b25a2\"]])\n\nexport default __exports__","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar un$Sort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","var global = require('../internals/global');\nvar isRegExp = require('../internals/is-regexp');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","module.exports = __webpack_public_path__ + \"img/curve_icon.eca78797.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Loading.vue?vue&type=style&index=0&id=00324ed9&scoped=true&lang=css\"","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","import { defineStore } from \"pinia\";\nimport { useMainStore } from '@/store/main';\nimport { CompanyType } from \"@/types/company\";\nimport { FarmType } from \"@/types/farm\";\nimport { BarnType } from \"@/types/barn\";\nimport { SensorType } from \"@/types/sensor\";\nimport { BarnVisibilityType } from \"@/types/barn_visibility\";\nimport { API_URL } from \"@/utils/urls\";\n\nconst MAIN_STORE = useMainStore()\n\n\nexport const useDashboardStore = defineStore(\"dashboardStore\", {\n state: () => ({\n companies: [] as CompanyType[],\n visibility: 'hide_disabled' as BarnVisibilityType,\n }),\n actions: {\n async setHomeInfo(): Promise {\n try {\n this.companies = await MAIN_STORE.getFromAPI(`${API_URL}/companies/support_platform_report`)\n }\n catch(error) {throw Error(`${error}`.replace(\"Error: \", \"\"))}\n },\n setVisibility(value: BarnVisibilityType): void {\n this.visibility = value\n },\n },\n getters: {\n getVisibility: state => state.visibility,\n getCompanies: state => state.companies,\n getFarms: state => {\n const farms: FarmType[] = []\n state.companies.forEach((company: CompanyType) => {farms.push(...company.farms)})\n return farms.sort((a, b) => a.name.localeCompare(b.name))\n },\n getBarns() {\n const barns: BarnType[] = []\n this.getFarms.forEach((farm: FarmType) => {barns.push(...farm.barns)})\n return barns\n },\n getAllSensors() {\n const sensors: SensorType[] = []\n this.getBarns.forEach((barn: BarnType) => {sensors.push(...barn.sensors)})\n return sensors\n },\n getActiveSensors() {\n const sensors: SensorType[] = []\n this.getBarns.forEach((barn: BarnType) => {\n if (this.getVisibility === 'hide_disabled') {\n if (barn.is_last_batch_active) {\n sensors.push(...barn.sensors)\n }\n }\n else {\n sensors.push(...barn.sensors)\n }\n })\n return sensors\n },\n getSensorsInstalled(): SensorType[] {\n return this.getActiveSensors.filter((sensor: SensorType) => sensor.status === 'installed')\n },\n getSmartCamSensors(): SensorType[] {\n return this.getSensorsInstalled.filter((item: SensorType) => item.type === 'smartcam')\n },\n getSmartMicSensors(): SensorType[] { \n return this.getSensorsInstalled.filter((item: SensorType) => {\n return item.type.includes('smartmic')\n })\n },\n getSmartFeedSensors(): SensorType[] {\n return this.getSensorsInstalled.filter((item: SensorType) => item.type === 'smartfeed')\n },\n getActiveSmartFeedSensors(): SensorType[] {\n const sensors: SensorType[] = []\n this.getBarns.forEach((barn: BarnType) => {sensors.push(...barn.sensors)})\n return sensors.filter((sensor: SensorType) => sensor.type === 'smartfeed' && sensor.status !== 'disabled')\n },\n getFarmByBarn() {\n return (barn_pk: number | undefined): FarmType | null | undefined => {\n if (barn_pk === undefined) return null;\n return this.getFarms.find((farm: FarmType) => farm.barns.map((barn: BarnType) => barn.pk).includes(barn_pk) ? farm : null)\n }\n },\n getBarnByPK() {\n return (barn_pk: number | undefined): BarnType | null => {\n const barn = this.getBarns.find((barn: BarnType) => barn_pk === barn.pk)\n if (barn_pk == null || barn == null) return null\n return barn\n }\n },\n },\n});\n","module.exports = __webpack_public_path__ + \"img/food_icon.6278b57c.svg\";","module.exports = __webpack_public_path__ + \"img/stall_icon.7fe14e6c.svg\";","module.exports = __webpack_public_path__ + \"img/kg.5824c641.svg\";","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","module.exports = __webpack_public_path__ + \"img/farm_icon.89abfa50.svg\";","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","module.exports = __webpack_public_path__ + \"img/user_icon.0f85b863.svg\";","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","module.exports = __webpack_public_path__ + \"img/barn_icon.b7d35b6e.svg\";","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Registration.vue?vue&type=style&index=0&id=577b25a2&scoped=true&lang=css\"","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","module.exports = __webpack_public_path__ + \"img/company_icon.33f47531.svg\";","module.exports = __webpack_public_path__ + \"img/silo_base.f71411e1.svg\";"],"sourceRoot":""}