/*! For license information please see main~cfbf0a2e.fc18b823.chunk.js.LICENSE.txt */ (this["webpackJsonpgonzo-test-client"]=this["webpackJsonpgonzo-test-client"]||[]).push([[88],{"1gqn":function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},"1jOq":function(e,t){e.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!==typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),r=0;r>>((3&t)<<3)&255;return i}}},"5bG3":function(e,t,r){"use strict";e.exports=o;var n=r("t5gs"),i=Object.create(r("Onz0"));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}i.inherits=r("P7XM"),i.inherits(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},"6A3z":function(e,t,r){var n=r("PrG/"),i={type:"object",required:["AnmID","EvCode","AnmCnt","EvTime","EvData","FarmID","OperID","EvID","DtaModTime","GrID"],properties:{AnmID:{type:"string",pattern:"^[A-Za-z0-9_-]{20}$",description:"Animal identifier"},EvCode:{type:"string",minimum:1,maximum:2,description:"Event type shortcut"},AnmCnt:{type:"number",minimum:1,description:"Number of animals"},EvTime:{type:"number",description:"Event time"},EvData:{type:"object"},FarmID:{type:"string",description:"Farm identifier"},OperID:{type:"string",description:"Operator identifier"},EvID:{type:"string",pattern:"^[A-Za-z0-9_-]{20}$",description:"Event identifier"},DtaModTime:{type:"number",description:"Data modification time"},KillTime:{type:"number",description:"Kill time"},GrID:{type:"string",description:"GrID"}},allOf:[{if:{required:["EvCode"],properties:{EvCode:{const:n.SOW_CYCLES}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,required:["Cycles","LastSeparation"],properties:{Cycles:{type:"number",minimum:0,description:"Cycles number"},LastSeparation:{type:"number",minimum:0,description:"Last separation time"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.PARTURITION}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{DeadCnt:{type:"number",minimum:0,description:"Dead piglets count"},HealthyCnt:{type:"number",minimum:0,description:"Healthy piglets count"},MummyCnt:{type:"number",minimum:0,description:"Mummy piglets count"},Weight:{type:"number",minimum:0,description:"Weight"},OperID:{type:"string",description:"Operator identifier"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.PARTURITION_START}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{DevID:{type:"string",description:"ID dev on which was done action"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.PARTURITION_END}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{DevID:{type:"string",description:"ID dev on which was done action"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.WEIGHTING}}},then:{properties:{EvData:{type:"object",properties:{Weight:{type:"number",minimum:0,description:"Weight"},Reasn:{type:"string",description:"Reason"},OperID:{type:"string",description:"Operator identifier"},PlcmntID:{type:"string",description:"Placement identifier"},AnmCnt:{type:"number",minimum:0,description:"Animal count"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.ACTIVE_NIPPLES}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{Nipples:{type:"number",description:"Nipples count"},OperID:{type:"string",description:"Operator identifier"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.FALL}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{PlcmntID:{type:"string",description:"Placement identifier"},Reasn:{type:"string",description:"Reason"},Weight:{type:"number",minimum:0,description:"Weight"},AnmCnt:{type:"number",minimum:0,description:"Animal count"},OperID:{type:"string",description:"Operator identifier"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.FALL_PIGLETS}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{OperID:{type:"string",description:"Operator identifier"},Piglets:{type:"number",description:"Piglets count"},PlcmntID:{type:"string",description:"Placement identifier"},Reasn:{type:"string",description:"Reason"},Weight:{type:"number",minimum:0,description:"Weight"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.GRAFTING}}},then:{properties:{EvData:{type:"object",additionalProperties:{StartTime:{type:"number",description:"Start time."},EndTime:{type:"number",description:"End time."}},properties:{Medicine:{type:"string",description:"Medicine"},OperID:{type:"string",description:"Operator identifier"},Reasn:{type:"string",description:"Reason"},TreatmentType:{type:"integer",minimum:1,maximum:3,description:"Treatment type"},Weight:{type:"number",minimum:0,description:"Weight"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.INSEMINATION}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{BoarID:{type:"string",description:"Boar identifier"},OperID:{type:"string",description:"Operator identifier"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.MOMMY}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{OperID:{type:"string",description:"Operator identifier"},PiCnt:{type:"number",description:"Piglets count"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.NO_PREGNANCY}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{Reason:{type:"string",description:"Reason"},OperID:{type:"string",description:"Operator identifier"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.SELECTION}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{PlcmntID:{type:"string",description:"Placement identifier"},Reasn:{type:"string",description:"Reason"},OperID:{type:"string",description:"Operator identifier"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.SELL}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{Weight:{type:"number",minimum:0,description:"Weight"},PlcmntID:{type:"string",description:"Placement identifier"},Buyer:{type:"string",description:"Buyer"},Price:{type:"number",description:"Price"},OperID:{type:"string",description:"Operator identifier"},AnmCnt:{type:"number",minimum:0,description:"Animal count "},SaleID:{type:"string",description:"Sale identifier"},Hcw:{type:"number",description:"Hot carcass weight"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.SEPARATION}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{PiWeight:{type:"number",minimum:0,description:"Pig weight"},DstID:{type:"string",description:"Destination identifier"},GrpID:{type:"string",description:"Group identifier"},PiCnt:{type:"number",description:"Piglets count"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.SEPARATION_TO_MOMMY}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{OperID:{type:"string",description:"Operator identifier"},PiCnt:{type:"number",description:"Piglets count"},PiWeight:{type:"number",minimum:0,description:"Pig weight"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.TRANSFER}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{OperID:{type:"string",description:"Operator identifier"},DstID:{type:"string",description:"Destination identifier"},SrcID:{type:"string",description:"Source identifier"},TransferTo:{type:"string",description:"Transfer group id"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.TREATMENT}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{Treatment:{type:"array",description:"Treatment"},OperID:{type:"string",description:"Operator identifier"}}}}}},{if:{required:["EvCode"],properties:{EvCode:{const:n.USG}}},then:{properties:{EvData:{type:"object",additionalProperties:!1,properties:{Pregnant:{type:"boolean",default:!1,description:"Pregnant flag"},OperID:{type:"string",description:"Operator identifier"}}}}}}]};e.exports=i},"9ONQ":function(e,t,r){"use strict";var n=r("iVi/");function i(e,t){void 0===t&&(t={});var r=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return"undefined"===typeof t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(r,t.doNotParse))try{return JSON.parse(r)}catch(n){}return e}var o=r("MgzW"),a=function(){function e(e,t){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"===typeof e?n.parse(e,t):"object"===typeof e&&null!==e?e:{}}(e,t),new Promise((function(){r.HAS_DOCUMENT_COOKIE="object"===typeof document&&"string"===typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=n.parse(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t=0&&this.changeListeners.splice(t,1)},e}();t.a=a},AM6L:function(e,t){const r={minMicro:0,maxMicro:49,minSmall:50,maxSmall:100,minMedium:101,maxMedium:2e3,minLarge:2001,maxLarge:Number.MAX_SAFE_INTEGER};e.exports={AnimalRanges:r,RangeTypes:{micro:0,small:1,medium:2,large:3}}},BwZh:function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(p),h=["%","/","?",";","#"].concat(u),f=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r("s4NR");function b(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o127?N+="x":N+=j[P];if(!N.match(l)){var k=A.slice(0,I),L=A.slice(I+1),F=j.match(d);F&&(k.push(F[1]),L.unshift(F[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=k.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=n.toASCII(this.hostname));var q=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+q,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[S])for(I=0,x=u.length;I0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!C.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=C.slice(-1)[0],D=(r.host||e.host||C.length>1)&&("."===O||".."===O)||""===O,I=0,T=C.length;T>=0;T--)"."===(O=C[T])?C.splice(T,1):".."===O?(C.splice(T,1),I++):I&&(C.splice(T,1),I--);if(!w&&!S)for(;I--;I)C.unshift("..");!w||""===C[0]||C[0]&&"/"===C[0].charAt(0)||C.unshift(""),D&&"/"!==C.join("/").substr(-1)&&C.push("");var R,A=""===C[0]||C[0]&&"/"===C[0].charAt(0);_&&(r.hostname=r.host=A?"":C.length?C.shift():"",(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift()));return(w=w||r.host&&C.length)&&!A&&C.unshift(""),C.length?r.pathname=C.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},Dn3e:function(e,t){e.exports={USG_STATE:{NEGATIVE:0,POSITIVE:1,REPEAT:2}}},EcEN:function(e,t,r){var n=r("xDdU"),i=r("xk4V"),o=i;o.v1=n,o.v4=i,e.exports=o},I2ZF:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}},KKCa:function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},Ke8t:function(e,t){e.exports={GENERAL_READ:"_GENERAL_READ",BREEDING:"_BREEDING",DEVICE_CAGE:"_DEVICE_CAGE",DEVICE_SILO:"_DEVICE_SILO",DEVICE_CONFIG:"_DEVICE_CONFIG",REPORT_WRITE:"_REPORT_WRITE",REPORT_READ:"_REPORT_READ",REPORTS:"_REPORT",DEVICE_FEEDING:"_DEVICE_FEEDING",DEVICE_CLIMATE:"_DEVICE_CLIMATE",DEVICE_CHAIN:"_DEVICE_CHAIN",BUILDING:"_BUILDING",BILLING:"_BILLING",DEVICE_PIGLET_CAGE:"_DEVICE_PIGLET_CAGE",DEVICE_COUNTER:"_DEVICE_COUNTER",USER_MANAGE:"_USER_MANAGE",SERVICE:"_SERVICE",TRANSLATION:"_TRANSLATION"}},Kjle:function(e,t,r){"use strict";(function(t,n,i){var o=r("lm0R");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=v;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:o.nextTick;v.WritableState=g;var p=Object.create(r("Onz0"));p.inherits=r("P7XM");var u={deprecate:r("t9FE")},h=r("N6Nd"),f=r("hwdV").Buffer,l=i.Uint8Array||function(){};var d,m=r("uXwp");function y(){}function g(e,t){s=s||r("THLT"),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,p=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(p||0===p)?p:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===e.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(_,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),_(e,t))}(e,r,n,t,i);else{var a=S(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?c(E,e,r,a,i):E(e,r,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function v(e){if(s=s||r("THLT"),!d.call(v,this)&&!(this instanceof s))return new v(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),h.call(this)}function b(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function E(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),_(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)i[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;i.allBuffers=c,b(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var p=r.chunk,u=r.encoding,h=r.callback;if(b(e,t,!1,t.objectMode?1:p.length,p,u,h),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(e,t){var r=S(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(C,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}p.inherits(v,h),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||this===v&&(e&&e._writableState instanceof g)}})):d=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=e,f.isBuffer(n)||n instanceof l);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"===typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof r&&(r=y),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,e,r))&&(i.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=f.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,_(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("8oxB"),r("URgk").setImmediate,r("yLpj"))},MCLT:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}})),c=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&t._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),u(n,e,n.depth)}function c(e,t){var r=s.styles[t];return r?"\x1b["+s.colors[r][0]+"m"+e+"\x1b["+s.colors[r][1]+"m":e}function p(e,t){return e}function u(e,r,n){if(e.customInspect&&r&&C(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return g(i)||(i=u(e,i,n)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(y(t))return e.stylize(""+t,"number");if(d(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),S(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(C(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return h(r)}var p,E="",_=!1,O=["{","}"];(l(r)&&(_=!0,O=["[","]"]),C(r))&&(E=" [Function"+(r.name?": "+r.name:"")+"]");return b(r)&&(E=" "+RegExp.prototype.toString.call(r)),w(r)&&(E=" "+Date.prototype.toUTCString.call(r)),S(r)&&(E=" "+h(r)),0!==a.length||_&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),p=_?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(p,E,O)):O[0]+E+O[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),T(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(c.value)<0?(s=m(r)?u(e,c.value,null):u(e,c.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function l(e){return Array.isArray(e)}function d(e){return"boolean"===typeof e}function m(e){return null===e}function y(e){return"number"===typeof e}function g(e){return"string"===typeof e}function v(e){return void 0===e}function b(e){return E(e)&&"[object RegExp]"===_(e)}function E(e){return"object"===typeof e&&null!==e}function w(e){return E(e)&&"[object Date]"===_(e)}function S(e){return E(e)&&("[object Error]"===_(e)||e instanceof Error)}function C(e){return"function"===typeof e}function _(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(v(o)&&(o=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_BUILD_DATE_TIME:"18.09.2020 14:44",REACT_APP_STAGE:"local"}).NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(o)){var n=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else a[r]=function(){};return a[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=l,t.isBoolean=d,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=g,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=v,t.isRegExp=b,t.isObject=E,t.isDate=w,t.isError=S,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=r("1gqn");var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(){var e=new Date,t=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",I(),t.format.apply(t,arguments))},t.inherits=r("KKCa"),t._extend=function(e,t){if(!t||!E(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var R="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!==typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,m=String.fromCharCode;function y(e){throw new RangeError(l[e])}function g(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var i=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(f,".")).split("."),t).join(".");return n+i}function v(e){for(var t=[],r=0,n=e.length;r=55296&&i<=56319&&r>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))},w=function(e){var t,r=[],n=e.length,i=0,o=128,a=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var c=0;c=128&&y("not-basic"),r.push(e.charCodeAt(c));for(var u=s>0?s+1:0;u=n&&y("invalid-input");var m=(t=e.charCodeAt(u++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(m>=36||m>d((p-i)/f))&&y("overflow"),i+=m*f;var g=l<=a?1:l>=a+26?26:l-a;if(md(p/v)&&y("overflow"),f*=v}var b=r.length+1;a=E(i-h,b,0==h),d(i/b)>p-o&&y("overflow"),o+=d(i/b),i%=b,r.splice(i++,0,o)}return String.fromCodePoint.apply(String,r)},S=function(e){var t=[],r=(e=v(e)).length,n=128,i=0,o=72,a=!0,s=!1,c=void 0;try{for(var u,h=e[Symbol.iterator]();!(a=(u=h.next()).done);a=!0){var f=u.value;f<128&&t.push(m(f))}}catch(U){s=!0,c=U}finally{try{!a&&h.return&&h.return()}finally{if(s)throw c}}var l=t.length,g=l;for(l&&t.push("-");g=n&&Id((p-i)/T)&&y("overflow"),i+=(w-n)*T,n=w;var R=!0,A=!1,x=void 0;try{for(var j,N=e[Symbol.iterator]();!(R=(j=N.next()).done);R=!0){var P=j.value;if(Pp&&y("overflow"),P==n){for(var M=i,k=36;;k+=36){var L=k<=o?1:k>=o+26?26:k-o;if(M>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function I(e){for(var t="",r=0,n=e.length;r=194&&i<224){if(n-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function T(e,t){function r(e){var r=I(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,D).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,D).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,D).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,D).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,D).replace(t.PCT_ENCODED,i)),e}function R(e){return e.replace(/^0*(.*)/,"$1")||"0"}function A(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=c(r,2)[1];return n?n.split(".").map(R).join("."):e}function x(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=c(r,3),i=n[1],o=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=c(a,2),p=s[0],u=s[1],h=u?u.split(":").map(R):[],f=p.split(":").map(R),l=t.IPV4ADDRESS.test(f[f.length-1]),d=l?7:8,m=f.length-d,y=Array(d),g=0;g1){var E=y.slice(0,v.index),w=y.slice(v.index+v.length);b=E.join(":")+"::"+w.join(":")}else b=y.join(":");return o&&(b+="%"+o),b}return e}var j=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,N=void 0==="".match(/(){0}/)[1];function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?s:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(j);if(i){N?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==e.indexOf("@")?i[3]:void 0,r.host=-1!==e.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:void 0,r.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=x(A(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=O[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)T(r,n);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=C(r.host.replace(n.PCT_ENCODED,I).toLowerCase())}catch(c){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+c}T(r,a)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function M(e,t){var r=!1!==t.iri?s:a,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(x(A(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"===typeof e.port&&(n.push(":"),n.push(e.port.toString(10))),n.length?n.join(""):void 0}var k=/^\.\.?\//,L=/^\/\.(\/|$)/,F=/^\/\.\.(\/|$)/,q=/^\/?(?:.|\n)*?(?=\/|$)/;function U(e){for(var t=[];e.length;)if(e.match(k))e=e.replace(k,"");else if(e.match(L))e=e.replace(L,"/");else if(e.match(F))e=e.replace(F,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(q);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?s:a,n=[],i=O[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?_(e.host):C(e.host.replace(r.PCT_ENCODED,I).toLowerCase())}catch(p){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+p}T(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var o=M(e,t);if(void 0!==o&&("suffix"!==t.reference&&n.push("//"),n.push(o),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var c=e.path;t.absolutePath||i&&i.absolutePath||(c=U(c)),void 0===o&&(c=c.replace(/^\/\//,"/%2F")),n.push(c)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function G(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments[3],i={};return n||(e=P(W(e,r),r),t=P(W(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=U(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=U(t.path||""),i.query=t.query):(t.path?("/"===t.path.charAt(0)?i.path=U(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path:i.path="/"+t.path,i.path=U(i.path)),i.query=t.query):(i.path=e.path,void 0!==t.query?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function B(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:a.PCT_ENCODED,I)}var H={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},z={scheme:"https",domainHost:H.domainHost,parse:H.parse,serialize:H.serialize},V={},K="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",$="[0-9A-Fa-f]",Z=r(r("%[EFef]"+$+"%"+$+$+"%"+$+$)+"|"+r("%[89A-Fa-f]"+$+"%"+$+$)+"|"+r("%"+$+$)),J=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Y=new RegExp(K,"g"),X=new RegExp(Z,"g"),Q=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',J),"g"),ee=new RegExp(t("[^]",K,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),te=ee;function re(e){var t=I(e);return t.match(Y)?t:e}var ne={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,o={},a=r.query.split("&"),s=0,c=a.length;sm)return void setTimeout(e,y,t,r,n);g&&"string"===typeof t&&(t=s.from(t,"utf8"));try{u.send(t)}catch(i){return n(i)}n()}:function(e,t,r){if(u.readyState!==u.OPEN)return void r();g&&"string"===typeof e&&(e=s.from(e,"utf8"));u.send(e,r)};r&&!Array.isArray(r)&&"object"===typeof r&&(c=r,r=null,("string"===typeof c.protocol||Array.isArray(c.protocol))&&(r=c.protocol));c||(c={});void 0===c.objectMode&&(c.objectMode=!(!0===c.binary||void 0===c.binary));var d=function(e,t,r){var n=new i({objectMode:e.objectMode});return n._write=t,n._flush=r,n}(c,l,(function(e){u.close(),e()}));c.objectMode||(d._writev=v);var m=c.browserBufferSize||524288,y=c.browserBufferTimeout||1e3;"object"===typeof e?u=e:(u=f&&h?new a(e,r):new a(e,r,c)).binaryType="arraybuffer";u.readyState===u.OPEN?p=d:(p=p=o(void 0,void 0,c),c.objectMode||(p._writev=v),u.onopen=function(){p.setReadable(d),p.setWritable(d),p.emit("connect")});p.socket=u,u.onclose=function(){p.end(),p.destroy()},u.onerror=function(e){p.destroy(e)},u.onmessage=function(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,"utf8");d.push(t)},d.on("close",(function(){u.close()}));var g=!c.objectMode;function v(e,t){for(var r=new Array(e.length),n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,r=o,i=s,t.copy(r,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},sAXq:function(e,t){e.exports={EVENTS:"events",ANIMALS:"animals",TG:"TechnoGroups",AG:"AnimalsGroup",NOTIFI:"Notifications",DEVICES:"Devices",DICTIONARY:"dictionary",USERS:"Users",ROLES:"Roles",LOGS:"Logs",CH:"CommandsHistory",DOCS:"Documents",AGGDATA:"AggData",SETTINGS:"Settings",ATHENA:"AthenaQueries",MAINTENANCE:"Maintenance",CLIENTS:"clients",BUILDINGS:"buildings",LICENSE:"License",SILOS:"Silos"}},t5gs:function(e,t,r){"use strict";e.exports=a;var n=r("THLT"),i=Object.create(r("Onz0"));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===p.prototype||(t=function(e){return p.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):O(e,a)):w(e,a,t,!1))):n||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(_,e):_(e))}function _(e){l("emit readable"),e.emit("readable"),R(e)}function O(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(D,e,t))}function D(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=p.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function x(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(j,t,e))}function j(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?x(this):C(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&x(this),null;var n,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&x(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,t);var c=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:b;function p(t,n){l("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,l("cleanup"),e.removeListener("close",g),e.removeListener("finish",v),e.removeListener("drain",h),e.removeListener("error",y),e.removeListener("unpipe",p),r.removeListener("end",u),r.removeListener("end",b),r.removeListener("data",m),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||h())}function u(){l("onend"),e.end()}o.endEmitted?i.nextTick(c):r.once("end",c),e.on("unpipe",p);var h=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,R(e))}}(r);e.on("drain",h);var f=!1;var d=!1;function m(t){l("ondata"),d=!1,!1!==e.write(t)||d||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==N(o.pipes,e))&&!f&&(l("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,d=!0),r.pause())}function y(t){l("onerror",t),b(),e.removeListener("error",y),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",v),b()}function v(){l("onfinish"),e.removeListener("close",g),b()}function b(){l("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",y),e.once("close",g),e.once("finish",v),e.emit("pipe",r),o.flowing||(l("pipe resume"),r.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;os)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,c=m,i=f;var g=(1e4*(268435455&(d+=122192928e5))+m)%4294967296;u[p++]=g>>>24&255,u[p++]=g>>>16&255,u[p++]=g>>>8&255,u[p++]=255&g;var v=d/4294967296*1e4&268435455;u[p++]=v>>>8&255,u[p++]=255&v,u[p++]=v>>>24&15|16,u[p++]=v>>>16&255,u[p++]=f>>>8|128,u[p++]=255&f;for(var b=0;b<6;++b)u[p+b]=h[b];return t||a(u)}},xhmd:function(e,t,r){"use strict";function n(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}t.a=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"===typeof t||"object"===typeof r){var i=n(t),o=n(r);return i!==t||o!==r?e(i,o):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1}},xk4V:function(e,t,r){var n=r("4fRq"),i=r("I2ZF");e.exports=function(e,t,r){var o=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||n)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},yLpj:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},"z+7s":function(e,t){e.exports={additionalProperties:{Rmvd:{type:"array",items:[{type:"string",description:"Removed animal identificator."}],description:"Removed animals."}},properties:{AnmList:{type:"array",items:[{type:"string",description:"Animal identificator."}],description:"Animals list."},DtaModTime:{type:"number",description:"Data modification time."},FarmID:{type:"string",description:"Farm identificator."},RmvdCnt:{type:"number",description:"Removed count."},StartTime:{type:"number",description:"Start time."},TGID:{type:"string",description:"Technology group identificator."},Ver:{type:"string",description:"Version number."}}}}}]); //# sourceMappingURL=main~cfbf0a2e.fc18b823.chunk.js.map