/*! For license information please see main.b92ec353.js.LICENSE.txt */ !function(){var e={5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7757:function(e,n,t){e.exports=t(9727)},9568:function(e,n,t){"use strict";var i={};t.r(i),t.d(i,{scaleBand:function(){return bm},scaleDiverging:function(){return xv},scaleDivergingLog:function(){return Cv},scaleDivergingPow:function(){return wv},scaleDivergingSqrt:function(){return Dv},scaleDivergingSymlog:function(){return Sv},scaleIdentity:function(){return l_},scaleImplicit:function(){return vm},scaleLinear:function(){return r_},scaleLog:function(){return m_},scaleOrdinal:function(){return Tm},scalePoint:function(){return Rm},scalePow:function(){return R_},scaleQuantile:function(){return I_},scaleQuantize:function(){return U_},scaleRadial:function(){return C_},scaleSequential:function(){return gv},scaleSequentialLog:function(){return vv},scaleSequentialPow:function(){return bv},scaleSequentialQuantile:function(){return Rv},scaleSequentialSqrt:function(){return kv},scaleSequentialSymlog:function(){return Tv},scaleSqrt:function(){return N_},scaleSymlog:function(){return g_},scaleThreshold:function(){return P_},scaleTime:function(){return mv},scaleUtc:function(){return yv},tickFormat:function(){return t_}});var r={};t.r(r),t.d(r,{appendChild:function(){return xj},appendChildToContainer:function(){return Cj},appendInitialChild:function(){return aj},cancelTimeout:function(){return Tj},clearContainer:function(){return Mj},commitMount:function(){return Lj},commitTextUpdate:function(){return Oj},commitUpdate:function(){return Ij},createInstance:function(){return oj},createTextInstance:function(){return sj},finalizeInitialChildren:function(){return uj},getChildHostContext:function(){return gj},getPublicInstance:function(){return cj},getRootHostContext:function(){return hj},hideInstance:function(){return Uj},hideTextInstance:function(){return Pj},idlePriority:function(){return ij.unstable_IdlePriority},insertBefore:function(){return Sj},insertInContainerBefore:function(){return wj},isPrimaryRenderer:function(){return Rj},noTimeout:function(){return bj},now:function(){return ij.unstable_now},prepareForCommit:function(){return dj},preparePortalMount:function(){return pj},prepareUpdate:function(){return fj},removeChild:function(){return Dj},removeChildFromContainer:function(){return Aj},resetAfterCommit:function(){return mj},resetTextContent:function(){return yj},run:function(){return ij.unstable_runWithPriority},scheduleTimeout:function(){return vj},shouldDeprioritizeSubtree:function(){return _j},shouldSetTextContent:function(){return kj},supportsMutation:function(){return Ej},unhideInstance:function(){return Vj},unhideTextInstance:function(){return Bj},warnsIfNotActing:function(){return Nj}});var l=t(2791),a=t(4164),o=t(9439);function s(e,n,t,i,r,l,a){try{var o=e[l](a),s=o.value}catch(u){return void t(u)}o.done?n(s):Promise.resolve(s).then(i,r)}function u(e){return function(){var n=this,t=arguments;return new Promise((function(i,r){var l=e.apply(n,t);function a(e){s(l,i,r,a,o,"next",e)}function o(e){s(l,i,r,a,o,"throw",e)}a(void 0)}))}}var c=t(4942);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function p(e){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var y=t(7757),_=t.n(y),h=function(e,n){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},h(e,n)};function g(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}h(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var v=function(){return v=Object.assign||function(e){for(var n,t=1,i=arguments.length;t0&&r[r.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]=D){var n=console[e]||console.log;return n.apply(console,arguments)}}}!function(e){e.debug=A("debug"),e.log=A("log"),e.warn=A("warn"),e.error=A("error")}(S||(S={}));function O(e){try{return e()}catch(E){}}var L=O((function(){return globalThis}))||O((function(){return window}))||O((function(){return self}))||O((function(){return global}))||O((function(){return O.constructor("return this")()})),I="__",U=[I,I].join("DEV");var P=function(){try{return Boolean(__DEV__)}catch(E){return Object.defineProperty(L,U,{value:"production"!==O((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),L[U]}}();function V(e){try{return e()}catch(lD){}}var B=V((function(){return globalThis}))||V((function(){return window}))||V((function(){return self}))||V((function(){return t.g}))||V((function(){return V.constructor("return this")()})),M=!1;function F(){M&&(delete B.process,M=!1)}function j(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function J(e,n){for(var t=0;t2)return"[Array]";for(var t=Math.min(10,e.length),i=e.length-t,r=[],l=0;l1&&r.push("... ".concat(i," more items"));return"["+r.join(", ")+"]"}(e,t);return function(e,n){var t=Object.entries(e);if(0===t.length)return"{}";if(n.length>2)return"["+function(e){var n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"===typeof e.constructor){var t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return n}(e)+"]";var i=t.map((function(e){var t=(0,o.Z)(e,2);return t[0]+": "+q(t[1],n)}));return"{ "+i.join(", ")+" }"}(e,t)}(e,n);default:return String(e)}}function W(e,n){if(!Boolean(e))throw new Error(n)}var G=function(e,n){return e instanceof n},K=function(e){function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};j(this,n),"string"===typeof e||W(!1,"Body must be a string. Received: ".concat(H(e),".")),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||W(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||W(!1,"column in locationOffset is 1-indexed and must be positive.")}return Z(n,[{key:Symbol.toStringTag,get:function(){return"Source"}}]),n}();F(),__DEV__?S("boolean"===typeof P,P):S("boolean"===typeof P,36);var $=t(181);function Y(e,n){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=(0,$.Z)(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){o=!0,l=e},f:function(){try{a||null==t.return||t.return()}finally{if(o)throw l}}}}var Q,X,ee=function(e){function n(e,t,i){j(this,n),this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}return Z(n,[{key:Symbol.toStringTag,get:function(){return"Location"}},{key:"toJSON",value:function(){return{start:this.start,end:this.end}}}]),n}(),ne=function(e){function n(e,t,i,r,l,a){j(this,n),this.kind=e,this.start=t,this.end=i,this.line=r,this.column=l,this.value=a,this.prev=null,this.next=null}return Z(n,[{key:Symbol.toStringTag,get:function(){return"Token"}},{key:"toJSON",value:function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}]),n}(),te={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},ie=new Set(Object.keys(te));function re(e){var n=null===e||void 0===e?void 0:e.kind;return"string"===typeof n&&ie.has(n)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(Q||(Q={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(X||(X={}));var le=Object.freeze({});function ae(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:te,i=new Map,r=0,l=Object.values(X);r=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ue(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t1,r=!1,l=arguments[1],a=l;return new t((function(t){return n.subscribe({next:function(n){var l=!r;if(r=!0,!l||i)try{a=e(a,n)}catch(o){return t.error(o)}else a=n},error:function(e){t.error(e)},complete:function(){if(!r&&!i)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(a),t.complete()}})}))},n.concat=function(){for(var e=this,n=arguments.length,t=new Array(n),i=0;i=0&&r.splice(e,1),a()}});r.push(l)},error:function(e){i.error(e)},complete:function(){a()}});function a(){l.closed&&0===r.length&&i.complete()}return function(){r.forEach((function(e){return e.unsubscribe()})),l.unsubscribe()}}))},n[_e]=function(){return this},e.from=function(n){var t="function"===typeof this?this:e;if(null==n)throw new TypeError(n+" is not an object");var i=ge(n,_e);if(i){var r=i.call(n);if(Object(r)!==r)throw new TypeError(r+" is not an object");return Te(r)&&r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}if(fe("iterator")&&(i=ge(n,ye)))return new t((function(e){ke((function(){if(!e.closed){for(var t,r=se(i.call(n));!(t=r()).done;){var l=t.value;if(e.next(l),e.closed)return}e.complete()}}))}));if(Array.isArray(n))return new t((function(e){ke((function(){if(!e.closed){for(var t=0;t0){var i=t.connection.filter?t.connection.filter:[];i.sort();var r={};return i.forEach((function(e){r[e]=n[e]})),"".concat(t.connection.key,"(").concat(Me(r),")")}return t.connection.key}var l=e;if(n){var a=Me(n);l+="(".concat(a,")")}return t&&Object.keys(t).forEach((function(e){-1===Ve.indexOf(e)&&(t[e]&&Object.keys(t[e]).length?l+="@".concat(e,"(").concat(Me(t[e]),")"):l+="@".concat(e))})),l}),{setStringify:function(e){var n=Me;return Me=e,n}}),Me=function(e){return JSON.stringify(e,Fe)};function Fe(e,n){return De(n)&&!Array.isArray(n)&&(n=Object.keys(n).sort().reduce((function(e,t){return e[t]=n[t],e}),{})),n}function je(e,n){if(e.arguments&&e.arguments.length){var t={};return e.arguments.forEach((function(e){var i=e.name,r=e.value;return Pe(t,i,r,n)})),t}return null}function Je(e){return e.alias?e.alias.value:e.name.value}function Ze(e,n,t){if("string"===typeof e.__typename)return e.__typename;for(var i=0,r=n.selections;i=48&&e<=57}function cn(e){return e>=97&&e<=122||e>=65&&e<=90}function dn(e){return cn(e)||95===e}function pn(e){return cn(e)||un(e)||95===e}function fn(e){for(var n,t=Number.MAX_SAFE_INTEGER,i=null,r=-1,l=0;l80&&(o=a+kn("(\n",Rn(Tn(i,"\n")),"\n)")),Tn([o,Tn(r," "),l]," ")}},Argument:{leave:function(e){return e.name+": "+e.value}},FragmentSpread:{leave:function(e){return"..."+e.name+kn(" ",Tn(e.directives," "))}},InlineFragment:{leave:function(e){var n=e.typeCondition,t=e.directives,i=e.selectionSet;return Tn(["...",kn("on ",n),Tn(t," "),i]," ")}},FragmentDefinition:{leave:function(e){var n=e.name,t=e.typeCondition,i=e.variableDefinitions,r=e.directives,l=e.selectionSet;return"fragment ".concat(n).concat(kn("(",Tn(i,", "),")")," ")+"on ".concat(t," ").concat(kn("",Tn(r," ")," "))+l}},IntValue:{leave:function(e){return e.value}},FloatValue:{leave:function(e){return e.value}},StringValue:{leave:function(e){var n=e.value;return e.block?function(e,n){var t=e.replace(/"""/g,'\\"""'),i=t.split(/\r\n|[\n\r]/g),r=1===i.length,l=i.length>1&&i.slice(1).every((function(e){return 0===e.length||sn(e.charCodeAt(0))})),a=t.endsWith('\\"""'),o=e.endsWith('"')&&!a,s=e.endsWith("\\"),u=o||s,c=!(null!==n&&void 0!==n&&n.minimize)&&(!r||e.length>70||u||l||a),d="",p=r&&sn(e.charCodeAt(0));return(c&&!p||l)&&(d+="\n"),d+=t,(c||u)&&(d+="\n"),'"""'+d+'"""'}(n):'"'.concat(n.replace(yn,_n),'"')}},BooleanValue:{leave:function(e){return e.value?"true":"false"}},NullValue:{leave:function(){return"null"}},EnumValue:{leave:function(e){return e.value}},ListValue:{leave:function(e){return"["+Tn(e.values,", ")+"]"}},ObjectValue:{leave:function(e){return"{"+Tn(e.fields,", ")+"}"}},ObjectField:{leave:function(e){return e.name+": "+e.value}},Directive:{leave:function(e){return"@"+e.name+kn("(",Tn(e.arguments,", "),")")}},NamedType:{leave:function(e){return e.name}},ListType:{leave:function(e){return"["+e.type+"]"}},NonNullType:{leave:function(e){return e.type+"!"}},SchemaDefinition:{leave:function(e){var n=e.description,t=e.directives,i=e.operationTypes;return kn("",n,"\n")+Tn(["schema",Tn(t," "),bn(i)]," ")}},OperationTypeDefinition:{leave:function(e){return e.operation+": "+e.type}},ScalarTypeDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.directives;return kn("",n,"\n")+Tn(["scalar",t,Tn(i," ")]," ")}},ObjectTypeDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.interfaces,r=e.directives,l=e.fields;return kn("",n,"\n")+Tn(["type",t,kn("implements ",Tn(i," & ")),Tn(r," "),bn(l)]," ")}},FieldDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.arguments,r=e.type,l=e.directives;return kn("",n,"\n")+t+(Nn(i)?kn("(\n",Rn(Tn(i,"\n")),"\n)"):kn("(",Tn(i,", "),")"))+": "+r+kn(" ",Tn(l," "))}},InputValueDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.type,r=e.defaultValue,l=e.directives;return kn("",n,"\n")+Tn([t+": "+i,kn("= ",r),Tn(l," ")]," ")}},InterfaceTypeDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.interfaces,r=e.directives,l=e.fields;return kn("",n,"\n")+Tn(["interface",t,kn("implements ",Tn(i," & ")),Tn(r," "),bn(l)]," ")}},UnionTypeDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.directives,r=e.types;return kn("",n,"\n")+Tn(["union",t,Tn(i," "),kn("= ",Tn(r," | "))]," ")}},EnumTypeDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.directives,r=e.values;return kn("",n,"\n")+Tn(["enum",t,Tn(i," "),bn(r)]," ")}},EnumValueDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.directives;return kn("",n,"\n")+Tn([t,Tn(i," ")]," ")}},InputObjectTypeDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.directives,r=e.fields;return kn("",n,"\n")+Tn(["input",t,Tn(i," "),bn(r)]," ")}},DirectiveDefinition:{leave:function(e){var n=e.description,t=e.name,i=e.arguments,r=e.repeatable,l=e.locations;return kn("",n,"\n")+"directive @"+t+(Nn(i)?kn("(\n",Rn(Tn(i,"\n")),"\n)"):kn("(",Tn(i,", "),")"))+(r?" repeatable":"")+" on "+Tn(l," | ")}},SchemaExtension:{leave:function(e){var n=e.directives,t=e.operationTypes;return Tn(["extend schema",Tn(n," "),bn(t)]," ")}},ScalarTypeExtension:{leave:function(e){return Tn(["extend scalar",e.name,Tn(e.directives," ")]," ")}},ObjectTypeExtension:{leave:function(e){var n=e.name,t=e.interfaces,i=e.directives,r=e.fields;return Tn(["extend type",n,kn("implements ",Tn(t," & ")),Tn(i," "),bn(r)]," ")}},InterfaceTypeExtension:{leave:function(e){var n=e.name,t=e.interfaces,i=e.directives,r=e.fields;return Tn(["extend interface",n,kn("implements ",Tn(t," & ")),Tn(i," "),bn(r)]," ")}},UnionTypeExtension:{leave:function(e){var n=e.name,t=e.directives,i=e.types;return Tn(["extend union",n,Tn(t," "),kn("= ",Tn(i," | "))]," ")}},EnumTypeExtension:{leave:function(e){var n=e.name,t=e.directives,i=e.values;return Tn(["extend enum",n,Tn(t," "),bn(i)]," ")}},InputObjectTypeExtension:{leave:function(e){var n=e.name,t=e.directives,i=e.fields;return Tn(["extend input",n,Tn(t," "),bn(i)]," ")}}};function Tn(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=null===e||void 0===e?void 0:e.filter((function(e){return e})).join(t))&&void 0!==n?n:""}function bn(e){return kn("{\n",Rn(Tn(e,"\n")),"\n}")}function kn(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=n&&""!==n?e+n+t:""}function Rn(e){return kn(" ",e.replace(/\n/g,"\n "))}function Nn(e){var n;return null!==(n=null===e||void 0===e?void 0:e.some((function(e){return e.includes("\n")})))&&void 0!==n&&n}var En={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},xn=function(e,n){return n(e)};function Cn(e,n){for(var t=[],i=2;i=300&&an(e,n,"Response not successful: Received status code ".concat(e.status)),Array.isArray(n)||on.call(n,"data")||on.call(n,"errors")||an(e,n,"Server response was missing for query '".concat(Array.isArray(r)?r.map((function(e){return e.operationName})):r.operationName,"'.")),n}))})).then((function(e){return t.next(e),t.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e))})),function(){f&&f.abort()}}))}))},On=rn.execute;function Ln(){for(var e=[],n=0;n=0&&e.indexOf(n,t)===t}(y,zn)}return!1}function Jn(e){return Object.keys(e).filter(Zn,e)}function Zn(e){return void 0!==this[e]}var zn="{ [native code] }";function Hn(e,n){var t=Mn.get(e);if(t){if(t.has(n))return!0}else Mn.set(e,t=new Set);return t.add(n),!1}var qn=function(){return Object.create(null)},Wn=Array.prototype,Gn=Wn.forEach,Kn=Wn.slice,$n=function(){function e(e,n){void 0===e&&(e=!0),void 0===n&&(n=qn),this.weakness=e,this.makeData=n}return e.prototype.lookup=function(){for(var e=[],n=0;n0||!1}function ot(e,n,t){var i=0;return e.forEach((function(t,r){n.call(this,t,r,e)&&(e[i++]=t)}),t),e.length=i,e}var st={kind:"Field",name:{kind:"Name",value:"__typename"}};function ut(e,n){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&ut(n[e.name.value],n)}))}function ct(e){return ut(We(e)||function(e){__DEV__?S("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):S("Document"===e.kind,48),__DEV__?S(e.definitions.length<=1,"Fragment must have exactly one definition."):S(e.definitions.length<=1,49);var n=e.definitions[0];return __DEV__?S("FragmentDefinition"===n.kind,"Must be a fragment definition."):S("FragmentDefinition"===n.kind,50),n}(e),Oe(Ke(e)))?null:e}function dt(e){return function(n){return e.some((function(e){return e.name&&e.name===n.name.value||e.test&&e.test(n)}))}}function pt(e,n){var t=Object.create(null),i=[],r=Object.create(null),l=[],a=ct(ae(n,{Variable:{enter:function(e,n,i){"VariableDefinition"!==i.kind&&(t[e.name.value]=!0)}},Field:{enter:function(n){if(e&&n.directives&&(e.some((function(e){return e.remove}))&&n.directives&&n.directives.some(dt(e))))return n.arguments&&n.arguments.forEach((function(e){"Variable"===e.value.kind&&i.push({name:e.value.name.value})})),n.selectionSet&&yt(n.selectionSet).forEach((function(e){l.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){r[e.name.value]=!0}},Directive:{enter:function(n){if(dt(e)(n))return null}}}));return a&&ot(i,(function(e){return!!e.name&&!t[e.name]})).length&&(a=function(e,n){var t=function(e){return function(n){return e.some((function(e){return n.value&&"Variable"===n.value.kind&&n.value.name&&(e.name===n.value.name.value||e.test&&e.test(n))}))}}(e);return ct(ae(n,{OperationDefinition:{enter:function(n){return v(v({},n),{variableDefinitions:n.variableDefinitions?n.variableDefinitions.filter((function(n){return!e.some((function(e){return e.name===n.variable.name.value}))})):[]})}},Field:{enter:function(n){if(e.some((function(e){return e.remove}))){var i=0;if(n.arguments&&n.arguments.forEach((function(e){t(e)&&(i+=1)})),1===i)return null}}},Argument:{enter:function(e){if(t(e))return null}}}))}(i,a)),a&&ot(l,(function(e){return!!e.name&&!r[e.name]})).length&&(a=function(e,n){function t(n){if(e.some((function(e){return e.name===n.name.value})))return null}return ct(ae(n,{FragmentSpread:{enter:t},FragmentDefinition:{enter:t}}))}(l,a)),a}var ft=Object.assign((function(e){return ae(qe(e),{SelectionSet:{enter:function(e,n,t){if(!t||"OperationDefinition"!==t.kind){var i=e.selections;if(i)if(!i.some((function(e){return ze(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var r=t;if(!(ze(r)&&r.directives&&r.directives.some((function(e){return"export"===e.name.value}))))return v(v({},e),{selections:R(R([],i,!0),[st],!1)})}}}}})}),{added:function(e){return e===st}}),mt={test:function(e){var n="connection"===e.name.value;return n&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&S.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),n}};function yt(e){var n=[];return e.selections.forEach((function(e){(ze(e)||He(e))&&e.selectionSet?yt(e.selectionSet).forEach((function(e){return n.push(e)})):"FragmentSpread"===e.kind&&n.push(e)})),n}function _t(e){return"query"===Ye(e).operation?e:ae(e,{OperationDefinition:{enter:function(e){return v(v({},e),{operation:"query"})}}})}function ht(e,n){var t=e.directives;return!t||!t.length||function(e){var n=[];e&&e.length&&e.forEach((function(e){if(function(e){var n=e.name.value;return"skip"===n||"include"===n}(e)){var t=e.arguments,i=e.name.value;__DEV__?S(t&&1===t.length,"Incorrect number of arguments for the @".concat(i," directive.")):S(t&&1===t.length,38);var r=t[0];__DEV__?S(r.name&&"if"===r.name.value,"Invalid argument for the @".concat(i," directive.")):S(r.name&&"if"===r.name.value,39);var l=r.value;__DEV__?S(l&&("Variable"===l.kind||"BooleanValue"===l.kind),"Argument for the @".concat(i," directive must be a variable or a boolean value.")):S(l&&("Variable"===l.kind||"BooleanValue"===l.kind),40),n.push({directive:e,ifArgument:r})}}));return n}(t).every((function(e){var t=e.directive,i=e.ifArgument,r=!1;return"Variable"===i.value.kind?(r=n&&n[i.value.name.value],__DEV__?S(void 0!==r,"Invalid variable referenced in @".concat(t.name.value," directive.")):S(void 0!==r,37)):r=i.value.value,"skip"===t.name.value?!r:r}))}function gt(e,n){return function(e){var n=[];return ae(e,{Directive:function(e){n.push(e.name.value)}}),n}(n).some((function(n){return e.indexOf(n)>-1}))}function vt(e){return e&>(["client"],e)&>(["export"],e)}var Tt=new Map;function bt(e){var n=Tt.get(e)||1;return Tt.set(e,n+1),"".concat(e,":").concat(n,":").concat(Math.random().toString(36).slice(2))}function kt(e,n,t){var i=[];e.forEach((function(e){return e[n]&&i.push(e)})),i.forEach((function(e){return e[n](t)}))}function Rt(e){function n(n){Object.defineProperty(e,n,{value:we})}return Xn&&Symbol.species&&n(Symbol.species),n("@@species"),e}function Nt(e){return e&&"function"===typeof e.then}var Et=function(e){function n(n){var t=e.call(this,(function(e){return t.addObserver(e),function(){return t.removeObserver(e)}}))||this;return t.observers=new Set,t.addCount=0,t.promise=new Promise((function(e,n){t.resolve=e,t.reject=n})),t.handlers={next:function(e){null!==t.sub&&(t.latest=["next",e],kt(t.observers,"next",e))},error:function(e){var n=t.sub;null!==n&&(n&&setTimeout((function(){return n.unsubscribe()})),t.sub=null,t.latest=["error",e],t.reject(e),kt(t.observers,"error",e))},complete:function(){if(null!==t.sub){var e=t.sources.shift();e?Nt(e)?e.then((function(e){return t.sub=e.subscribe(t.handlers)})):t.sub=e.subscribe(t.handlers):(t.sub=null,t.latest&&"next"===t.latest[0]?t.resolve(t.latest[1]):t.resolve(),kt(t.observers,"complete"))}}},t.cancel=function(e){t.reject(e),t.sources=[],t.handlers.complete()},t.promise.catch((function(e){})),"function"===typeof n&&(n=[new we(n)]),Nt(n)?n.then((function(e){return t.start(e)}),t.handlers.error):t.start(n),t}return g(n,e),n.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},n.prototype.deliverLastMessage=function(e){if(this.latest){var n=this.latest[0],t=e[n];t&&t.call(e,this.latest[1]),null===this.sub&&"next"===n&&e.complete&&e.complete()}},n.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},n.prototype.removeObserver=function(e,n){this.observers.delete(e)&&--this.addCount<1&&!n&&this.handlers.error(new Error("Observable cancelled prematurely"))},n.prototype.cleanup=function(e){var n=this,t=!1,i=function(){t||(t=!0,n.observers.delete(r),e())},r={next:i,error:i,complete:i},l=this.addCount;this.addObserver(r),this.addCount=l},n}(we);function xt(e){return Array.isArray(e)&&e.length>0}Rt(Et);var Ct,St=function(e){function n(t){var i=t.graphQLErrors,r=t.clientErrors,l=t.networkError,a=t.errorMessage,o=t.extraInfo,s=e.call(this,a)||this;return s.graphQLErrors=i||[],s.clientErrors=r||[],s.networkError=l||null,s.message=a||function(e){var n="";return(xt(e.graphQLErrors)||xt(e.clientErrors))&&(e.graphQLErrors||[]).concat(e.clientErrors||[]).forEach((function(e){var t=e?e.message:"Error message not found.";n+="".concat(t,"\n")})),e.networkError&&(n+="".concat(e.networkError.message,"\n")),n=n.replace(/\n$/,"")}(s),s.extraInfo=o,s.__proto__=n.prototype,s}return g(n,e),n}(Error);function wt(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(Ct||(Ct={}));var Dt=Object.prototype.toString;function At(e){return Ot(e)}function Ot(e,n){switch(Dt.call(e)){case"[object Array]":if((n=n||new Map).has(e))return n.get(e);var t=e.slice(0);return n.set(e,t),t.forEach((function(e,i){t[i]=Ot(e,n)})),t;case"[object Object]":if((n=n||new Map).has(e))return n.get(e);var i=Object.create(Object.getPrototypeOf(e));return n.set(e,i),Object.keys(e).forEach((function(t){i[t]=Ot(e[t],n)})),i;default:return e}}var Lt=Object.assign,It=Object.hasOwnProperty,Ut=!1,Pt=function(e){function n(n){var t=n.queryManager,i=n.queryInfo,r=n.options,l=e.call(this,(function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=Vt)}catch(n){}var i=!l.observers.size;l.observers.add(e);var r=l.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),i&&l.reobserve().catch((function(){})),function(){l.observers.delete(e)&&!l.observers.size&&l.tearDownQuery()}}))||this;l.observers=new Set,l.subscriptions=new Set,l.isTornDown=!1,l.options=r,l.queryId=i.queryId||t.generateQueryId();var a=We(r.query);return l.queryName=a&&a.name&&a.name.value,l.initialFetchPolicy=r.fetchPolicy||"cache-first",l.queryManager=t,l.queryInfo=i,l}return g(n,e),Object.defineProperty(n.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),n.prototype.result=function(){var e=this;return new Promise((function(n,t){var i={next:function(t){n(t),e.observers.delete(i),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){r.unsubscribe()}),0)},error:t},r=e.subscribe(i)}))},n.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var n=this.getLastResult(!0),t=this.queryInfo.networkStatus||n&&n.networkStatus||Ct.ready,i=v(v({},n),{loading:wt(t),networkStatus:t}),r=this.options.fetchPolicy,l=void 0===r?"cache-first":r;if("network-only"===l||"no-cache"===l||"standby"===l||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(i.data=a.result),Fn(i.data,{})&&(i.data=void 0),a.complete?(delete i.partial,!a.complete||i.networkStatus!==Ct.loading||"cache-first"!==l&&"cache-only"!==l||(i.networkStatus=Ct.ready,i.loading=!1)):i.partial=!0,!__DEV__||a.complete||this.options.partialRefetch||i.loading||i.data||i.error||Bt(a.missing)}return e&&this.updateLastResult(i),i},n.prototype.isDifferentFromLastResult=function(e){return!this.last||!Fn(this.last.result,e)},n.prototype.getLast=function(e,n){var t=this.last;if(t&&t[e]&&(!n||Fn(t.variables,this.variables)))return t[e]},n.prototype.getLastResult=function(e){return this.getLast("result",e)},n.prototype.getLastError=function(e){return this.getLast("error",e)},n.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},n.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},n.prototype.refetch=function(e){var n,t={pollInterval:0},i=this.options.fetchPolicy;if(t.fetchPolicy="standby"===i||"cache-and-network"===i?i:"no-cache"===i?"no-cache":"network-only",__DEV__&&e&&It.call(e,"variables")){var r=$e(this.options.query),l=r.variableDefinitions;l&&l.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&S.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(n=r.name)||void 0===n?void 0:n.value)||JSON.stringify(r),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!Fn(this.options.variables,e)&&(t.variables=this.options.variables=v(v({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(t,Ct.refetch)},n.prototype.fetchMore=function(e){var n=this,t=v(v({},e.query?e:v(v(v({},this.options),e),{variables:v(v({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId();return t.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=Ct.fetchMore,this.observe()),this.queryManager.fetchQuery(i,t,Ct.fetchMore).then((function(i){var r=i.data,l=e.updateQuery;return l?(__DEV__&&!Ut&&(__DEV__&&S.warn("The updateQuery callback for fetchMore is deprecated, and will be removed\nin the next major version of Apollo Client.\n\nPlease convert updateQuery functions to field policies with appropriate\nread and merge functions, or use/adapt a helper function (such as\nconcatPagination, offsetLimitPagination, or relayStylePagination) from\n@apollo/client/utilities.\n\nThe field policy system handles pagination more effectively than a\nhand-written updateQuery function, and you only need to define the policy\nonce, rather than every time you call fetchMore."),Ut=!0),n.updateQuery((function(e){return l(e,{fetchMoreResult:r,variables:t.variables})}))):n.queryManager.cache.writeQuery({query:t.query,variables:t.variables,data:r}),i})).finally((function(){n.queryManager.stopQuery(i),n.reobserve()}))},n.prototype.subscribeToMore=function(e){var n=this,t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(t){var i=e.updateQuery;i&&n.updateQuery((function(e,n){var r=n.variables;return i(e,{subscriptionData:t,variables:r})}))},error:function(n){e.onError?e.onError(n):__DEV__&&S.error("Unhandled GraphQL subscription error",n)}});return this.subscriptions.add(t),function(){n.subscriptions.delete(t)&&t.unsubscribe()}},n.prototype.setOptions=function(e){return this.reobserve(e)},n.prototype.setVariables=function(e){return Fn(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.initialFetchPolicy,variables:e},Ct.setVariables):Promise.resolve())},n.prototype.updateQuery=function(e){var n=this.queryManager,t=e(n.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});t&&(n.cache.writeQuery({query:this.options.query,data:t,variables:this.variables}),n.broadcastQueries())},n.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},n.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},n.prototype.fetch=function(e,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,n)},n.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var n=this.pollingInfo,t=this.options.pollInterval;if(t){if(!n||n.interval!==t){__DEV__?S(t,"Attempted to start a polling query without a polling interval."):S(t,10),(n||(this.pollingInfo={})).interval=t;var i=function(){e.pollingInfo&&(wt(e.queryInfo.networkStatus)?r():e.reobserve({fetchPolicy:"network-only"},Ct.poll).then(r,r))},r=function(){var n=e.pollingInfo;n&&(clearTimeout(n.timeout),n.timeout=setTimeout(i,n.interval))};r()}}else n&&(clearTimeout(n.timeout),delete this.pollingInfo)}},n.prototype.updateLastResult=function(e,n){return void 0===n&&(n=this.variables),this.last=v(v({},this.last),{result:this.queryManager.assumeImmutableResults?e:At(e),variables:n}),xt(e.errors)||delete this.last.error,this.last},n.prototype.reobserve=function(e,n){var t=this;this.isTornDown=!1;var i=n===Ct.refetch||n===Ct.fetchMore||n===Ct.poll,r=this.options.variables,l=i?Ln(this.options,e):Lt(this.options,Ln(e));i||(this.updatePolling(),e&&e.variables&&!e.fetchPolicy&&!Fn(e.variables,r)&&(l.fetchPolicy=this.initialFetchPolicy,void 0===n&&(n=Ct.setVariables)));var a=l.variables&&v({},l.variables),o=this.fetch(l,n),s={next:function(e){t.reportResult(e,a)},error:function(e){t.reportError(e,a)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer,!0),this.concast=o,this.observer=s),o.addObserver(s),o.promise},n.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},n.prototype.reportResult=function(e,n){(this.getLastError()||this.isDifferentFromLastResult(e))&&(this.updateLastResult(e,n),kt(this.observers,"next",e))},n.prototype.reportError=function(e,n){var t=v(v({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Ct.error,loading:!1});this.updateLastResult(t,n),kt(this.observers,"error",this.last.error=e)},n.prototype.hasObservers=function(){return this.observers.size>0},n.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},n}(we);function Vt(e){__DEV__&&S.error("Unhandled error",e.message,e.stack)}function Bt(e){__DEV__&&e&&__DEV__&&S.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}Rt(Pt);var Mt=Object.prototype.hasOwnProperty;function Ft(){for(var e=[],n=0;n1)for(var i=new Zt,r=1;rthis.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var n=this.map.get(e);return!!n&&(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(e),this.dispose(n.value,e),!0)},e}(),Xt=new Kt,ei=Object.prototype.hasOwnProperty,ni=void 0===(Yt=Array.from)?function(e){var n=[];return e.forEach((function(e){return n.push(e)})),n}:Yt;function ti(e){var n=e.unsubscribe;"function"===typeof n&&(e.unsubscribe=void 0,n())}var ii=[];function ri(e,n){if(!e)throw new Error(n||"assertion failure")}function li(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var ai=function(){function e(n){this.fn=n,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!ui(this))return oi(this),this.value[0]},e.prototype.recompute=function(e){return ri(!this.recomputing,"already recomputing"),oi(this),ui(this)?function(e,n){_i(e),Xt.withValue(e,si,[e,n]),function(e,n){if("function"===typeof e.subscribe)try{ti(e),e.unsubscribe=e.subscribe.apply(null,n)}catch(t){return e.setDirty(),!1}return!0}(e,n)&&function(e){if(e.dirty=!1,ui(e))return;di(e)}(e);return li(e.value)}(this,e):li(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,ci(this),ti(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),_i(this),pi(this,(function(n,t){n.setDirty(),hi(n,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=ii.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(ni(this.deps).forEach((function(n){return n.delete(e)})),this.deps.clear(),ii.push(this.deps),this.deps=null)},e.count=0,e}();function oi(e){var n=Xt.getValue();if(n)return e.parents.add(n),n.childValues.has(e)||n.childValues.set(e,[]),ui(e)?fi(n,e):mi(n,e),n}function si(e,n){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,n)}catch(t){e.value[1]=t}e.recomputing=!1}function ui(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function ci(e){pi(e,fi)}function di(e){pi(e,mi)}function pi(e,n){var t=e.parents.size;if(t)for(var i=ni(e.parents),r=0;r0&&t===n.length&&e[t-1]===n[t-1]}(t,n.value)||e.setDirty(),yi(e,n),ui(e)||di(e)}function yi(e,n){var t=e.dirtyChildren;t&&(t.delete(n),0===t.size&&(ii.length<100&&ii.push(t),e.dirtyChildren=null))}function _i(e){e.childValues.size>0&&e.childValues.forEach((function(n,t){hi(e,t)})),e.forgetDeps(),ri(null===e.dirtyChildren)}function hi(e,n){n.parents.delete(e),e.childValues.delete(n),yi(e,n)}var gi={setDirty:!0,dispose:!0,forget:!0};function vi(e){var n=new Map,t=e&&e.subscribe;function i(e){var i=Xt.getValue();if(i){var r=n.get(e);r||n.set(e,r=new Set),i.dependOn(r),"function"===typeof t&&(ti(r),r.unsubscribe=t(e))}}return i.dirty=function(e,t){var i=n.get(e);if(i){var r=t&&ei.call(gi,t)?t:"setDirty";ni(i).forEach((function(e){return e[r]()})),n.delete(e),ti(i)}},i}function Ti(){var e=new $n("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}Ti();var bi=new Set;function ki(e,n){void 0===n&&(n=Object.create(null));var t=new Qt(n.max||Math.pow(2,16),(function(e){return e.dispose()})),i=n.keyArgs,r=n.makeCacheKey||Ti(),l=function(){var l=r.apply(null,i?i.apply(null,arguments):arguments);if(void 0===l)return e.apply(null,arguments);var a=t.get(l);a||(t.set(l,a=new ai(e)),a.subscribe=n.subscribe,a.forget=function(){return t.delete(l)});var o=a.recompute(Array.prototype.slice.call(arguments));return t.set(l,a),bi.add(t),Xt.hasValue()||(bi.forEach((function(e){return e.clean()})),bi.clear()),o};function a(e){var n=t.get(e);n&&n.setDirty()}function o(e){var n=t.get(e);if(n)return n.peek()}function s(e){return t.delete(e)}return Object.defineProperty(l,"size",{get:function(){return t.map.size},configurable:!1,enumerable:!1}),l.dirtyKey=a,l.dirty=function(){a(r.apply(null,arguments))},l.peekKey=o,l.peek=function(){return o(r.apply(null,arguments))},l.forgetKey=s,l.forget=function(){return s(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=i?function(){return r.apply(null,i.apply(null,arguments))}:r,Object.freeze(l)}var Ri=new Kt,Ni=new WeakMap;function Ei(e){var n=Ni.get(e);return n||Ni.set(e,n={vars:new Set,dep:vi()}),n}function xi(e){Ei(e).vars.forEach((function(n){return n.forgetCache(e)}))}function Ci(e){var n=new Set,t=new Set,i=function i(l){if(arguments.length>0){if(e!==l){e=l,n.forEach((function(e){Ei(e).dep.dirty(i),Si(e)}));var a=Array.from(t);t.clear(),a.forEach((function(n){return n(e)}))}}else{var o=Ri.getValue();o&&(r(o),Ei(o).dep(i))}return e};i.onNextChange=function(e){return t.add(e),function(){t.delete(e)}};var r=i.attachCache=function(e){return n.add(e),Ei(e).vars.add(i),i};return i.forgetCache=function(e){return n.delete(e)},i}function Si(e){e.broadcastWatches&&e.broadcastWatches()}var wi=function(){function e(e){var n=e.cache,t=e.client,i=e.resolvers,r=e.fragmentMatcher;this.cache=n,t&&(this.client=t),i&&this.addResolvers(i),r&&this.setFragmentMatcher(r)}return e.prototype.addResolvers=function(e){var n=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){n.resolvers=Ft(n.resolvers,e)})):this.resolvers=Ft(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var n=e.document,t=e.remoteResult,i=e.context,r=e.variables,l=e.onlyRunForcedResolvers,a=void 0!==l&&l;return b(this,void 0,void 0,(function(){return k(this,(function(e){return n?[2,this.resolveDocument(n,t.data,i,r,this.fragmentMatcher,a).then((function(e){return v(v({},t),{data:e.result})}))]:[2,t]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return gt(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return function(e){qe(e);var n=pt([{test:function(e){return"client"===e.name.value},remove:!0}],e);return n&&(n=ae(n,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return ze(e)&&"__typename"===e.name.value})))return null}}})),n}(e)},e.prototype.prepareContext=function(e){var n=this.cache;return v(v({},e),{cache:n,getCacheKey:function(e){return n.identify(e)}})},e.prototype.addExportedVariables=function(e,n,t){return void 0===n&&(n={}),void 0===t&&(t={}),b(this,void 0,void 0,(function(){return k(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,n)||{},this.prepareContext(t),n).then((function(e){return v(v({},n),e.exportedVariables)}))]:[2,v({},n)]}))}))},e.prototype.shouldForceResolvers=function(e){var n=!1;return ae(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(n=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return le}}}),n},e.prototype.buildRootValueFromCache=function(e,n){return this.cache.diff({query:_t(e),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,n,t,i,r,l){return void 0===t&&(t={}),void 0===i&&(i={}),void 0===r&&(r=function(){return!0}),void 0===l&&(l=!1),b(this,void 0,void 0,(function(){var a,o,s,u,c,d,p,f,m;return k(this,(function(y){return a=Ye(e),o=Ke(e),s=Oe(o),u=a.operation,c=u?u.charAt(0).toUpperCase()+u.slice(1):"Query",p=(d=this).cache,f=d.client,m={fragmentMap:s,context:v(v({},t),{cache:p,client:f}),variables:i,fragmentMatcher:r,defaultOperationType:c,exportedVariables:{},onlyRunForcedResolvers:l},[2,this.resolveSelectionSet(a.selectionSet,n,m).then((function(e){return{result:e,exportedVariables:m.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,n,t){return b(this,void 0,void 0,(function(){var i,r,l,a,o,s=this;return k(this,(function(u){return i=t.fragmentMap,r=t.context,l=t.variables,a=[n],o=function(e){return b(s,void 0,void 0,(function(){var o,s;return k(this,(function(u){return ht(e,l)?ze(e)?[2,this.resolveField(e,n,t).then((function(n){var t;"undefined"!==typeof n&&a.push(((t={})[Je(e)]=n,t))}))]:(He(e)?o=e:(o=i[e.name.value],__DEV__?S(o,"No fragment named ".concat(e.name.value)):S(o,9)),o&&o.typeCondition&&(s=o.typeCondition.name.value,t.fragmentMatcher(n,s,r))?[2,this.resolveSelectionSet(o.selectionSet,n,t).then((function(e){a.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(o)).then((function(){return jt(a)}))]}))}))},e.prototype.resolveField=function(e,n,t){return b(this,void 0,void 0,(function(){var i,r,l,a,o,s,u,c,d,p=this;return k(this,(function(f){return i=t.variables,r=e.name.value,l=Je(e),a=r!==l,o=n[l]||n[r],s=Promise.resolve(o),t.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(u=n.__typename||t.defaultOperationType,(c=this.resolvers&&this.resolvers[u])&&(d=c[a?r:l])&&(s=Promise.resolve(Ri.withValue(this.cache,d,[n,je(e,i),t.context,{field:e,fragmentMap:t.fragmentMap}])))),[2,s.then((function(n){return void 0===n&&(n=o),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(t.exportedVariables[e.value.value]=n)}))})),e.selectionSet?null==n?n:Array.isArray(n)?p.resolveSubSelectedArray(e,n,t):e.selectionSet?p.resolveSelectionSet(e.selectionSet,n,t):void 0:n}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,n,t){var i=this;return Promise.all(n.map((function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,n,t):e.selectionSet?i.resolveSelectionSet(e.selectionSet,n,t):void 0})))},e}(),Di=new(Yn?WeakMap:Map);function Ai(e,n){var t=e[n];"function"===typeof t&&(e[n]=function(){return Di.set(e,(Di.get(e)+1)%1e15),t.apply(this,arguments)})}function Oi(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Li=function(){function e(e,n){void 0===n&&(n=e.generateQueryId()),this.queryId=n,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var t=this.cache=e.cache;Di.has(t)||(Di.set(t,0),Ai(t,"evict"),Ai(t,"modify"),Ai(t,"reset"))}return e.prototype.init=function(e){var n=e.networkStatus||Ct.loading;return this.variables&&this.networkStatus!==Ct.loading&&!Fn(this.variables,e.variables)&&(n=Ct.setVariables),Fn(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){Oi(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var n=this.getDiffOptions(e);if(this.lastDiff&&Fn(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var i=this.cache.diff(n);return this.updateLastDiff(i,n),i},e.prototype.updateLastDiff=function(e,n){this.lastDiff=e?{diff:e,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var n;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(n=this.observableQuery)||void 0===n?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(e){var n=this,t=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||Fn(t&&t.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return n.notify()}),0)))},e.prototype.setObservableQuery=function(e){var n=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){n.getDiff().fromOptimisticTransaction?e.observe():e.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var e=this;Oi(this),this.shouldNotify()&&this.listeners.forEach((function(n){return n(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(wt(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var n=this.observableQuery;n&&n.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var n=this;void 0===e&&(e=this.variables);var t=this.observableQuery;if(!t||"no-cache"!==t.options.fetchPolicy){var i=v(v({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return n.setDiff(e)}});this.lastWatch&&Fn(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,n){var t=this.lastWrite;return!(t&&t.dmCount===Di.get(this.cache)&&Fn(n,t.variables)&&Fn(e.data,t.result.data))},e.prototype.markResult=function(e,n,t){var i=this;this.graphQLErrors=xt(e.errors)?e.errors:[],this.reset(),"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==t&&(Ii(e,n.errorPolicy)?this.cache.performTransaction((function(r){if(i.shouldWrite(e,n.variables))r.writeQuery({query:i.document,data:e.data,variables:n.variables,overwrite:1===t}),i.lastWrite={result:e,variables:n.variables,dmCount:Di.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var l=i.getDiffOptions(n.variables),a=r.diff(l);i.stopped||i.updateWatch(n.variables),i.updateLastDiff(a,l),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Ct.ready},e.prototype.markError=function(e){return this.networkStatus=Ct.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Ii(e,n){void 0===n&&(n="none");var t="ignore"===n||"all"===n,i=!at(e);return!i&&t&&e.data&&(i=!0),i}var Ui=Object.prototype.hasOwnProperty,Pi=function(){function e(e){var n=e.cache,t=e.link,i=e.queryDeduplication,r=void 0!==i&&i,l=e.onBroadcast,a=e.ssrMode,o=void 0!==a&&a,s=e.clientAwareness,u=void 0===s?{}:s,c=e.localState,d=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(Yn?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=n,this.link=t,this.queryDeduplication=r,this.clientAwareness=u,this.localState=c||new wi({cache:n}),this.ssrMode=o,this.assumeImmutableResults=!!d,(this.onBroadcast=l)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(n,t){e.stopQueryNoBroadcast(t)})),this.cancelPendingFetches(__DEV__?new C("QueryManager stopped while query was in flight"):new C(11))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(n){return n(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var n=e.mutation,t=e.variables,i=e.optimisticResponse,r=e.updateQueries,l=e.refetchQueries,a=void 0===l?[]:l,o=e.awaitRefetchQueries,s=void 0!==o&&o,u=e.update,c=e.onQueryUpdated,d=e.errorPolicy,p=void 0===d?"none":d,f=e.fetchPolicy,m=void 0===f?"network-only":f,y=e.keepRootFields,_=e.context;return b(this,void 0,void 0,(function(){var e,l,o;return k(this,(function(d){switch(d.label){case 0:return __DEV__?S(n,"mutation option is required. You must specify your GraphQL document in the mutation option."):S(n,12),__DEV__?S("network-only"===m||"no-cache"===m,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):S("network-only"===m||"no-cache"===m,13),e=this.generateMutationId(),n=this.transform(n).document,t=this.getVariables(n,t),this.transform(n).hasClientExports?[4,this.localState.addExportedVariables(n,t,_)]:[3,2];case 1:t=d.sent(),d.label=2;case 2:return l=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:t,loading:!0,error:null}),i&&this.markMutationOptimistic(i,{mutationId:e,document:n,variables:t,fetchPolicy:m,errorPolicy:p,context:_,updateQueries:r,update:u,keepRootFields:y}),this.broadcastQueries(),o=this,[2,new Promise((function(d,f){return lt(o.getObservableFromLink(n,v(v({},_),{optimisticResponse:i}),t,!1),(function(d){if(at(d)&&"none"===p)throw new St({graphQLErrors:d.errors});l&&(l.loading=!1,l.error=null);var f=v({},d);return"function"===typeof a&&(a=a(f)),"ignore"===p&&at(f)&&delete f.errors,o.markMutationResult({mutationId:e,result:f,document:n,variables:t,fetchPolicy:m,errorPolicy:p,context:_,update:u,updateQueries:r,awaitRefetchQueries:s,refetchQueries:a,removeOptimistic:i?e:void 0,onQueryUpdated:c,keepRootFields:y})})).subscribe({next:function(e){o.broadcastQueries(),d(e)},error:function(n){l&&(l.loading=!1,l.error=n),i&&o.cache.removeOptimistic(e),o.broadcastQueries(),f(n instanceof St?n:new St({networkError:n}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,n){var t=this;void 0===n&&(n=this.cache);var i=e.result,r=[],l="no-cache"===e.fetchPolicy;if(!l&&Ii(i,e.errorPolicy)){r.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var a=e.updateQueries;a&&this.queries.forEach((function(e,l){var o=e.observableQuery,s=o&&o.queryName;if(s&&Ui.call(a,s)){var u=a[s],c=t.queries.get(l),d=c.document,p=c.variables,f=n.diff({query:d,variables:p,returnPartialData:!0,optimistic:!1}),m=f.result;if(f.complete&&m){var y=u(m,{mutationResult:i,queryName:d&&Ge(d)||void 0,queryVariables:p});y&&r.push({result:y,dataId:"ROOT_QUERY",query:d,variables:p})}}}))}if(r.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var o=[];if(this.refetchQueries({updateCache:function(n){l||r.forEach((function(e){return n.write(e)}));var a=e.update;if(a){if(!l){var o=n.diff({id:"ROOT_MUTATION",query:t.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});o.complete&&(i=v(v({},i),{data:o.result}))}a(n,i,{context:e.context,variables:e.variables})}l||e.keepRootFields||n.modify({id:"ROOT_MUTATION",fields:function(e,n){var t=n.fieldName,i=n.DELETE;return"__typename"===t?e:i}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return o.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(o).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,n){var t=this,i="function"===typeof e?e(n.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{t.markMutationResult(v(v({},n),{result:{data:i}}),e)}catch(r){__DEV__&&S.error(r)}}),n.mutationId)},e.prototype.fetchQuery=function(e,n,t){return this.fetchQueryObservable(e,n,t).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(n,t){e[t]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var n=this.queries.get(e);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(e){var n,t=this.transformCache;if(!t.has(e)){var i=this.cache.transformDocument(e),r=(n=this.cache.transformForLink(i),pt([mt],qe(n))),l=this.localState.clientQuery(i),a=r&&this.localState.serverQuery(r),o={document:i,hasClientExports:vt(i),hasForcedResolvers:this.localState.shouldForceResolvers(i),clientQuery:l,serverQuery:a,defaultVars:Qe(We(i)),asQuery:v(v({},i),{definitions:i.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?v(v({},e),{operation:"query"}):e}))})},s=function(e){e&&!t.has(e)&&t.set(e,o)};s(e),s(i),s(l),s(a)}return t.get(e)},e.prototype.getVariables=function(e,n){return v(v({},this.transform(e).defaultVars),n)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=v(v({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new Li(this),t=new Pt({queryManager:this,queryInfo:n,options:e});return this.queries.set(t.queryId,n),n.init({document:e.query,observableQuery:t,variables:e.variables}),t},e.prototype.query=function(e,n){var t=this;return void 0===n&&(n=this.generateQueryId()),__DEV__?S(e.query,"query option is required. You must specify your GraphQL document in the query option."):S(e.query,14),__DEV__?S("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):S("Document"===e.query.kind,15),__DEV__?S(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):S(!e.returnPartialData,16),__DEV__?S(!e.pollInterval,"pollInterval option only supported on watchQuery."):S(!e.pollInterval,17),this.fetchQuery(n,e).finally((function(){return t.stopQuery(n)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var n=this.queries.get(e);n&&n.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new C("Store reset while query was in flight (not completed in link chain)"):new C(18)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=Ct.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var n=this;void 0===e&&(e="active");var t=new Map,i=new Map,r=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?i.set(e,!1):!function(e){return De(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}(e)?De(e)&&e.query&&r.add(e):i.set(n.transform(e).document,!1)})),this.queries.forEach((function(n,r){var l=n.observableQuery,a=n.document;if(l){if("all"===e)return void t.set(r,l);var o=l.queryName;if("standby"===l.options.fetchPolicy||"active"===e&&!l.hasObservers())return;("active"===e||o&&i.has(o)||a&&i.has(a))&&(t.set(r,l),o&&i.set(o,!0),a&&i.set(a,!0))}})),r.size&&r.forEach((function(e){var i=bt("legacyOneTimeQuery"),r=n.getQuery(i).init({document:e.query,variables:e.variables}),l=new Pt({queryManager:n,queryInfo:r,options:v(v({},e),{fetchPolicy:"network-only"})});S(l.queryId===i),r.setObservableQuery(l),t.set(i,l)})),__DEV__&&i.size&&i.forEach((function(e,n){e||__DEV__&&S.warn("Unknown query ".concat("string"===typeof n?"named ":"").concat(JSON.stringify(n,null,2)," requested in refetchQueries options.include array"))})),t},e.prototype.reFetchObservableQueries=function(e){var n=this;void 0===e&&(e=!1);var t=[];return this.getObservableQueries(e?"all":"active").forEach((function(i,r){var l=i.options.fetchPolicy;i.resetLastResults(),(e||"standby"!==l&&"cache-only"!==l)&&t.push(i.refetch()),n.getQuery(r).setDiff(null)})),this.broadcastQueries(),Promise.all(t)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var n=this,t=e.query,i=e.fetchPolicy,r=e.errorPolicy,l=e.variables,a=e.context,o=void 0===a?{}:a;t=this.transform(t).document,l=this.getVariables(t,l);var s=function(e){return n.getObservableFromLink(t,o,e).map((function(l){if("no-cache"!==i&&(Ii(l,r)&&n.cache.write({query:t,result:l.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),n.broadcastQueries()),at(l))throw new St({graphQLErrors:l.errors});return l}))};if(this.transform(t).hasClientExports){var u=this.localState.addExportedVariables(t,l,o).then(s);return new we((function(e){var n=null;return u.then((function(t){return n=t.subscribe(e)}),e.error),function(){return n&&n.unsubscribe()}}))}return s(l)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.getQuery(e).stop(),this.queries.delete(e)},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,n,t,i){var r,l,a=this;void 0===i&&(i=null!==(r=null===n||void 0===n?void 0:n.queryDeduplication)&&void 0!==r?r:this.queryDeduplication);var o=this.transform(e).serverQuery;if(o){var s=this.inFlightLinkObservables,u=this.link,c={query:o,variables:t,operationName:Ge(o)||void 0,context:this.prepareContext(v(v({},n),{forceFetch:!i}))};if(n=c.context,i){var d=s.get(o)||new Map;s.set(o,d);var p=it(t);if(!(l=d.get(p))){var f=new Et([On(u,c)]);d.set(p,l=f),f.cleanup((function(){d.delete(p)&&d.size<1&&s.delete(o)}))}}else l=new Et([On(u,c)])}else l=new Et([we.of({data:{}})]),n=this.prepareContext(n);var m=this.transform(e).clientQuery;return m&&(l=lt(l,(function(e){return a.localState.runResolvers({document:m,remoteResult:e,context:n,variables:t})}))),l},e.prototype.getResultsFromLink=function(e,n,t){var i=e.lastRequestId=this.generateRequestId();return lt(this.getObservableFromLink(e.document,t.context,t.variables),(function(r){var l=xt(r.errors);if(i>=e.lastRequestId){if(l&&"none"===t.errorPolicy)throw e.markError(new St({graphQLErrors:r.errors}));e.markResult(r,t,n),e.markReady()}var a={data:r.data,loading:!1,networkStatus:e.networkStatus||Ct.ready};return l&&"ignore"!==t.errorPolicy&&(a.errors=r.errors),a}),(function(n){var t=n.hasOwnProperty("graphQLErrors")?n:new St({networkError:n});throw i>=e.lastRequestId&&e.markError(t),t}))},e.prototype.fetchQueryObservable=function(e,n,t){var i=this;void 0===t&&(t=Ct.loading);var r=this.transform(n.query).document,l=this.getVariables(r,n.variables),a=this.getQuery(e),o=n.fetchPolicy,s=void 0===o?"cache-first":o,u=n.errorPolicy,c=void 0===u?"none":u,d=n.returnPartialData,p=void 0!==d&&d,f=n.notifyOnNetworkStatusChange,m=void 0!==f&&f,y=n.context,_=void 0===y?{}:y,h=Object.assign({},n,{query:r,variables:l,fetchPolicy:s,errorPolicy:c,returnPartialData:p,notifyOnNetworkStatusChange:m,context:_}),g=function(e){return h.variables=e,i.fetchQueryByPolicy(a,h,t)};this.fetchCancelFns.set(e,(function(e){setTimeout((function(){return v.cancel(e)}))}));var v=new Et(this.transform(h.query).hasClientExports?this.localState.addExportedVariables(h.query,h.variables,h.context).then(g):g(h.variables));return v.cleanup((function(){i.fetchCancelFns.delete(e),function(e){var n=e.fetchPolicy,t=void 0===n?"cache-first":n,i=e.nextFetchPolicy;i&&(e.fetchPolicy="function"===typeof i?i.call(e,t):i)}(n)})),v},e.prototype.refetchQueries=function(e){var n=this,t=e.updateCache,i=e.include,r=e.optimistic,l=void 0!==r&&r,a=e.removeOptimistic,o=void 0===a?l?bt("refetchQueries"):void 0:a,s=e.onQueryUpdated,u=new Map;i&&this.getObservableQueries(i).forEach((function(e,t){u.set(t,{oq:e,lastDiff:n.getQuery(t).getDiff()})}));var c=new Map;return t&&this.cache.batch({update:t,optimistic:l&&o||!1,removeOptimistic:o,onWatchUpdated:function(e,n,t){var i=e.watcher instanceof Li&&e.watcher.observableQuery;if(i){if(s){u.delete(i.queryId);var r=s(i,n,t);return!0===r&&(r=i.refetch()),!1!==r&&c.set(i,r),r}null!==s&&u.set(i.queryId,{oq:i,lastDiff:t,diff:n})}}}),u.size&&u.forEach((function(e,t){var i,r=e.oq,l=e.lastDiff,a=e.diff;if(s){if(!a){var o=r.queryInfo;o.reset(),a=o.getDiff()}i=s(r,a,l)}s&&!0!==i||(i=r.refetch()),!1!==i&&c.set(r,i),t.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(t)})),o&&this.cache.removeOptimistic(o),c},e.prototype.fetchQueryByPolicy=function(e,n,t){var i=this,r=n.query,l=n.variables,a=n.fetchPolicy,o=n.refetchWritePolicy,s=n.errorPolicy,u=n.returnPartialData,c=n.context,d=n.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:r,variables:l,networkStatus:t});var f=function(){return e.getDiff(l)},m=function(n,t){void 0===t&&(t=e.networkStatus||Ct.loading);var a=n.result;!__DEV__||u||Fn(a,{})||Bt(n.missing);var o=function(e){return we.of(v({data:e,loading:wt(t),networkStatus:t},n.complete?null:{partial:!0}))};return a&&i.transform(r).hasForcedResolvers?i.localState.runResolvers({document:r,remoteResult:{data:a},context:c,variables:l,onlyRunForcedResolvers:!0}).then((function(e){return o(e.data||void 0)})):o(a)},y="no-cache"===a?0:t===Ct.refetch&&"merge"!==o?1:2,_=function(){return i.getResultsFromLink(e,y,{variables:l,context:c,fetchPolicy:a,errorPolicy:s})},h=d&&"number"===typeof p&&p!==t&&wt(t);switch(a){default:case"cache-first":return(g=f()).complete?[m(g,e.markReady())]:u||h?[m(g),_()]:[_()];case"cache-and-network":var g;return(g=f()).complete||u||h?[m(g),_()]:[_()];case"cache-only":return[m(f(),e.markReady())];case"network-only":return h?[m(f()),_()]:[_()];case"no-cache":return h?[m(e.getDiff()),_()]:[_()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Li(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var n=this.localState.prepareContext(e);return v(v({},n),{clientAwareness:this.clientAwareness})},e}(),Vi=!1;function Bi(e,n){return Ln(e,n,n.variables&&{variables:v(v({},e.variables),n.variables)})}var Mi=function(){function e(e){var n=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var t=e.uri,i=e.credentials,r=e.headers,l=e.cache,a=e.ssrMode,o=void 0!==a&&a,s=e.ssrForceFetchDelay,u=void 0===s?0:s,c=e.connectToDevTools,d=void 0===c?"object"===typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:c,p=e.queryDeduplication,f=void 0===p||p,m=e.defaultOptions,y=e.assumeImmutableResults,_=void 0!==y&&y,h=e.resolvers,g=e.typeDefs,v=e.fragmentMatcher,T=e.name,b=e.version,k=e.link;if(k||(k=t?new In({uri:t,credentials:i,headers:r}):rn.empty()),!l)throw __DEV__?new C("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new C(7);if(this.link=k,this.cache=l,this.disableNetworkFetches=o||u>0,this.queryDeduplication=f,this.defaultOptions=m||{},this.typeDefs=g,u&&setTimeout((function(){return n.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),d&&"object"===typeof window&&(window.__APOLLO_CLIENT__=this),!Vi&&__DEV__&&(Vi=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var R=window.navigator,N=R&&R.userAgent,E=void 0;"string"===typeof N&&(N.indexOf("Chrome/")>-1?E="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":N.indexOf("Firefox/")>-1&&(E="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),E&&__DEV__&&S.log("Download the Apollo DevTools for a better development experience: "+E)}this.version="3.5.7",this.localState=new wi({cache:l,client:this,resolvers:h,fragmentMatcher:v}),this.queryManager=new Pi({cache:this.cache,link:this.link,queryDeduplication:f,ssrMode:o,clientAwareness:{name:T,version:b},localState:this.localState,assumeImmutableResults:_,onBroadcast:d?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Bi(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=v(v({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Bi(this.defaultOptions.query,e)),__DEV__?S("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):S("cache-and-network"!==e.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=v(v({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Bi(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,n){return void 0===n&&(n=!1),this.cache.readQuery(e,n)},e.prototype.readFragment=function(e,n){return void 0===n&&(n=!1),this.cache.readFragment(e,n)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return On(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var n=this;return this.resetStoreCallbacks.push(e),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter((function(n){return n!==e}))}},e.prototype.onClearStore=function(e){var n=this;return this.clearStoreCallbacks.push(e),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter((function(n){return n!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var n=this.queryManager.refetchQueries(e),t=[],i=[];n.forEach((function(e,n){t.push(n),i.push(e)}));var r=Promise.all(i);return r.queries=t,r.results=i,r.catch((function(e){__DEV__&&S.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),r},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),Fi=function(){function e(){this.getFragmentDoc=ki(Ae)}return e.prototype.batch=function(e){var n,t=this,i="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return n=e.update(t)}),i),n},e.prototype.recordOptimisticTransaction=function(e,n){this.performTransaction(e,n)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,n){return void 0===n&&(n=!!e.optimistic),this.read(v(v({},e),{rootId:e.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(e,n){return void 0===n&&(n=!!e.optimistic),this.read(v(v({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:n}))},e.prototype.writeQuery=function(e){var n=e.id,t=e.data,i=T(e,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:t}))},e.prototype.writeFragment=function(e){var n=e.id,t=e.data,i=e.fragment,r=e.fragmentName,l=T(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(l,{query:this.getFragmentDoc(i,r),dataId:n,result:t}))},e.prototype.updateQuery=function(e,n){return this.batch({update:function(t){var i=t.readQuery(e),r=n(i);return void 0===r||null===r?i:(t.writeQuery(v(v({},e),{data:r})),r)}})},e.prototype.updateFragment=function(e,n){return this.batch({update:function(t){var i=t.readFragment(e),r=n(i);return void 0===r||null===r?i:(t.writeFragment(v(v({},e),{data:r})),r)}})},e}(),ji=function(e,n,t,i){this.message=e,this.path=n,this.query=t,this.variables=i};function Ji(e){var n=new Set([e]);return n.forEach((function(e){De(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(n){if(n instanceof TypeError)return null;throw n}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(t){De(e[t])&&n.add(e[t])}))})),e}function Zi(e){return __DEV__&&Ji(e),e}var zi=Object.prototype.hasOwnProperty;function Hi(e,n){var t=e.__typename,i=e.id,r=e._id;if("string"===typeof t&&(n&&(n.keyObject=void 0!==i?{id:i}:void 0!==r?{_id:r}:void 0),void 0===i&&(i=r),void 0!==i))return"".concat(t,":").concat("number"===typeof i||"string"===typeof i?i:JSON.stringify(i))}var qi={dataIdFromObject:Hi,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Wi(e){var n=e.canonizeResults;return void 0===n?qi.canonizeResults:n}var Gi=/^[_a-z][_0-9a-z]*/i;function Ki(e){var n=e.match(Gi);return n?n[0]:e}function $i(e,n,t){return!!De(n)&&(Array.isArray(n)?n.every((function(n){return $i(e,n,t)})):e.selections.every((function(e){if(ze(e)&&ht(e,t)){var i=Je(e);return zi.call(n,i)&&(!e.selectionSet||$i(e.selectionSet,n[i],t))}return!0})))}function Yi(e){return De(e)&&!Ue(e)&&!Array.isArray(e)}var Qi=Object.create(null),Xi=function(){return Qi},er=Object.create(null),nr=function(){function e(e,n){var t=this;this.policies=e,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,n){return Zi(Ue(e)?t.get(e.__ref,n):e&&e[n])},this.canRead=function(e){return Ue(e)?t.has(e.__ref):"object"===typeof e},this.toReference=function(e,n){if("string"===typeof e)return Ie(e);if(Ue(e))return e;var i=t.policies.identify(e)[0];if(i){var r=Ie(i);return n&&t.merge(i,e),r}}}return e.prototype.toObject=function(){return v({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,n){if(this.group.depend(e,n),zi.call(this.data,e)){var t=this.data[e];if(t&&zi.call(t,n))return t[n]}return"__typename"===n&&zi.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof lr?this.parent.get(e,n):void 0},e.prototype.lookup=function(e,n){return n&&this.group.depend(e,"__exists"),zi.call(this.data,e)?this.data[e]:this instanceof lr?this.parent.lookup(e,n):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,n){var t,i=this;Ue(e)&&(e=e.__ref),Ue(n)&&(n=n.__ref);var r="string"===typeof e?this.lookup(t=e):e,l="string"===typeof n?this.lookup(t=n):n;if(l){__DEV__?S("string"===typeof t,"store.merge expects a string ID"):S("string"===typeof t,1);var a=new Zt(or).merge(r,l);if(this.data[t]=a,a!==r&&(delete this.refs[t],this.group.caching)){var o=Object.create(null);r||(o.__exists=1),Object.keys(l).forEach((function(e){if(!r||r[e]!==a[e]){o[e]=1;var n=Ki(e);n===e||i.policies.hasKeyArgs(a.__typename,n)||(o[n]=1),void 0!==a[e]||i instanceof lr||delete a[e]}})),!o.__typename||r&&r.__typename||this.policies.rootTypenamesById[t]!==a.__typename||delete o.__typename,Object.keys(o).forEach((function(e){return i.group.dirty(t,e)}))}}},e.prototype.modify=function(e,n){var t=this,i=this.lookup(e);if(i){var r=Object.create(null),l=!1,a=!0,o={DELETE:Qi,INVALIDATE:er,isReference:Ue,toReference:this.toReference,canRead:this.canRead,readField:function(n,i){return t.policies.readField("string"===typeof n?{fieldName:n,from:i||Ie(e)}:n,{store:t})}};if(Object.keys(i).forEach((function(s){var u=Ki(s),c=i[s];if(void 0!==c){var d="function"===typeof n?n:n[s]||n[u];if(d){var p=d===Xi?Qi:d(Zi(c),v(v({},o),{fieldName:u,storeFieldName:s,storage:t.getStorage(e,s)}));p===er?t.group.dirty(e,s):(p===Qi&&(p=void 0),p!==c&&(r[s]=p,l=!0,c=p))}void 0!==c&&(a=!1)}})),l)return this.merge(e,r),a&&(this instanceof lr?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,n,t){var i,r=this.lookup(e);if(r){var l=this.getFieldValue(r,"__typename"),a=n&&t?this.policies.getStoreFieldName({typename:l,fieldName:n,args:t}):n;return this.modify(e,a?((i={})[a]=Xi,i):Xi)}return!1},e.prototype.evict=function(e,n){var t=!1;return e.id&&(zi.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof lr&&this!==n&&(t=this.parent.evict(e,n)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,n=this.toObject(),t=[];return this.getRootIdSet().forEach((function(n){zi.call(e.policies.rootTypenamesById,n)||t.push(n)})),t.length&&(n.__META={extraRootIds:t.sort()}),n},e.prototype.replace=function(e){var n=this;if(Object.keys(this.data).forEach((function(t){e&&zi.call(e,t)||n.delete(t)})),e){var t=e.__META,i=T(e,["__META"]);Object.keys(i).forEach((function(e){n.merge(e,i[e])})),t&&t.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var n=--this.rootIds[e];return n||delete this.rootIds[e],n}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof lr?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,n=this.getRootIdSet(),t=this.toObject();n.forEach((function(i){zi.call(t,i)&&(Object.keys(e.findChildRefIds(i)).forEach(n.add,n),delete t[i])}));var i=Object.keys(t);if(i.length){for(var r=this;r instanceof lr;)r=r.parent;i.forEach((function(e){return r.delete(e)}))}return i},e.prototype.findChildRefIds=function(e){if(!zi.call(this.refs,e)){var n=this.refs[e]=Object.create(null),t=this.data[e];if(!t)return n;var i=new Set([t]);i.forEach((function(e){Ue(e)&&(n[e.__ref]=!0),De(e)&&Object.keys(e).forEach((function(n){var t=e[n];De(t)&&i.add(t)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),tr=function(){function e(e,n){void 0===n&&(n=null),this.caching=e,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?vi():null,this.keyMaker=new $n(Yn)},e.prototype.depend=function(e,n){if(this.d){this.d(ir(e,n));var t=Ki(n);t!==n&&this.d(ir(e,t)),this.parent&&this.parent.depend(e,n)}},e.prototype.dirty=function(e,n){this.d&&this.d.dirty(ir(e,n),"__exists"===n?"forget":"setDirty")},e}();function ir(e,n){return n+"#"+e}function rr(e,n){sr(e)&&e.group.depend(n,"__exists")}!function(e){var n=function(e){function n(n){var t=n.policies,i=n.resultCaching,r=void 0===i||i,l=n.seed,a=e.call(this,t,new tr(r))||this;return a.stump=new ar(a),a.storageTrie=new $n(Yn),l&&a.replace(l),a}return g(n,e),n.prototype.addLayer=function(e,n){return this.stump.addLayer(e,n)},n.prototype.removeLayer=function(){return this},n.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},n}(e);e.Root=n}(nr||(nr={}));var lr=function(e){function n(n,t,i,r){var l=e.call(this,t.policies,r)||this;return l.id=n,l.parent=t,l.replay=i,l.group=r,i(l),l}return g(n,e),n.prototype.addLayer=function(e,t){return new n(e,this,t,this.group)},n.prototype.removeLayer=function(e){var n=this,t=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var i=n.data[e],r=t.lookup(e);r?i?i!==r&&Object.keys(i).forEach((function(t){Fn(i[t],r[t])||n.group.dirty(e,t)})):(n.group.dirty(e,"__exists"),Object.keys(r).forEach((function(t){n.group.dirty(e,t)}))):n.delete(e)})),t):t===this.parent?this:t.addLayer(this.id,this.replay)},n.prototype.toObject=function(){return v(v({},this.parent.toObject()),this.data)},n.prototype.findChildRefIds=function(n){var t=this.parent.findChildRefIds(n);return zi.call(this.data,n)?v(v({},t),e.prototype.findChildRefIds.call(this,n)):t},n.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},n}(nr),ar=function(e){function n(n){return e.call(this,"EntityStore.Stump",n,(function(){}),new tr(n.group.caching,n.group))||this}return g(n,e),n.prototype.removeLayer=function(){return this},n.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},n}(lr);function or(e,n,t){var i=e[t],r=n[t];return Fn(i,r)?i:r}function sr(e){return!!(e instanceof nr&&e.group.caching)}function ur(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var cr=function(){function e(e){var n=this;this.knownResults=new(Yn?WeakMap:Map),this.config=Ln(e,{addTypename:!1!==e.addTypename,canonizeResults:Wi(e)}),this.canon=e.canon||new tt,this.executeSelectionSet=ki((function(e){var t,i=e.context.canonizeResults,r=ur(e);r[3]=!i;var l=(t=n.executeSelectionSet).peek.apply(t,r);return l?i?v(v({},l),{result:n.canon.admit(l.result)}):l:(rr(e.context.store,e.enclosingRef.__ref),n.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:ur,makeCacheKey:function(e,n,t,i){if(sr(t.store))return t.store.makeCacheKey(e,Ue(n)?n.__ref:n,t.varString,i)}}),this.executeSubSelectedArray=ki((function(e){return rr(e.context.store,e.enclosingRef.__ref),n.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.field,t=e.array,i=e.context;if(sr(i.store))return i.store.makeCacheKey(n,t,i.varString)}})}return e.prototype.resetCanon=function(){this.canon=new tt},e.prototype.diffQueryAgainstStore=function(e){var n=e.store,t=e.query,i=e.rootId,r=void 0===i?"ROOT_QUERY":i,l=e.variables,a=e.returnPartialData,o=void 0===a||a,s=e.canonizeResults,u=void 0===s?this.config.canonizeResults:s,c=this.config.cache.policies;l=v(v({},Qe($e(t))),l);var d,p=Ie(r),f=new Zt,m=this.executeSelectionSet({selectionSet:Ye(t).selectionSet,objectOrReference:p,enclosingRef:p,context:{store:n,query:t,policies:c,variables:l,varString:it(l),canonizeResults:u,fragmentMap:Oe(Ke(t)),merge:function(e,n){return f.merge(e,n)}}});if(m.missing&&(d=[new ji(dr(m.missing),m.missing,t,l)],!o))throw d[0];return{result:m.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,n,t,i){if(sr(i.store)&&this.knownResults.get(e)===t){var r=this.executeSelectionSet.peek(t,n,i,this.canon.isKnown(e));if(r&&e===r.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var n=this,t=e.selectionSet,i=e.objectOrReference,r=e.enclosingRef,l=e.context;if(Ue(i)&&!l.policies.rootTypenamesById[i.__ref]&&!l.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var a,o=l.variables,s=l.policies,u=l.store.getFieldValue(i,"__typename"),c={};function d(e,n){var t;return e.missing&&(a=l.merge(a,((t={})[n]=e.missing,t))),e.result}this.config.addTypename&&"string"===typeof u&&!s.rootIdsByTypename[u]&&(c={__typename:u});var p=new Set(t.selections);p.forEach((function(e){var t,f;if(ht(e,o))if(ze(e)){var m=s.readField({fieldName:e.name.value,field:e,variables:l.variables,from:i},l),y=Je(e);void 0===m?ft.added(e)||(a=l.merge(a,((t={})[y]="Can't find field '".concat(e.name.value,"' on ").concat(Ue(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),t))):Array.isArray(m)?m=d(n.executeSubSelectedArray({field:e,array:m,enclosingRef:r,context:l}),y):e.selectionSet?null!=m&&(m=d(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:Ue(m)?m:r,context:l}),y)):l.canonizeResults&&(m=n.canon.pass(m)),void 0!==m&&(c=l.merge(c,((f={})[y]=m,f)))}else{var _=Le(e,l.fragmentMap);_&&s.fragmentMatches(_,u)&&_.selectionSet.selections.forEach(p.add,p)}}));var f={result:c,missing:a},m=l.canonizeResults?this.canon.admit(f):Zi(f);return m.result&&this.knownResults.set(m.result,t),m},e.prototype.execSubSelectedArrayImpl=function(e){var n,t=this,i=e.field,r=e.array,l=e.enclosingRef,a=e.context;function o(e,t){var i;return e.missing&&(n=a.merge(n,((i={})[t]=e.missing,i))),e.result}return i.selectionSet&&(r=r.filter(a.store.canRead)),r=r.map((function(e,n){return null===e?null:Array.isArray(e)?o(t.executeSubSelectedArray({field:i,array:e,enclosingRef:l,context:a}),n):i.selectionSet?o(t.executeSelectionSet({selectionSet:i.selectionSet,objectOrReference:e,enclosingRef:Ue(e)?e:l,context:a}),n):(__DEV__&&function(e,n,t){if(!n.selectionSet){var i=new Set([t]);i.forEach((function(t){De(t)&&(__DEV__?S(!Ue(t),"Missing selection set for object of type ".concat(function(e,n){return Ue(n)?e.get(n.__ref,"__typename"):n&&n.__typename}(e,t)," returned for query field ").concat(n.name.value)):S(!Ue(t),5),Object.values(t).forEach(i.add,i))}))}}(a.store,i,e),e)})),{result:a.canonizeResults?this.canon.admit(r):r,missing:n}},e}();function dr(e){try{JSON.stringify(e,(function(e,n){if("string"===typeof n)throw n;return n}))}catch(result){return result}}var pr=Object.create(null);function fr(e){var n=JSON.stringify(e);return pr[n]||(pr[n]=Object.create(null))}function mr(e){var n=fr(e);return n.keyFieldsFn||(n.keyFieldsFn=function(n,t){var i=function(e,n){return t.readField(n,e)},r=t.keyObject=_r(e,(function(e){var r=vr(t.storeObject,e,i);return void 0===r&&n!==t.storeObject&&zi.call(n,e[0])&&(r=vr(n,e,gr)),__DEV__?S(void 0!==r,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(n))):S(void 0!==r,2),r}));return"".concat(t.typename,":").concat(JSON.stringify(r))})}function yr(e){var n=fr(e);return n.keyArgsFn||(n.keyArgsFn=function(n,t){var i=t.field,r=t.variables,l=t.fieldName,a=_r(e,(function(e){var t=e[0],l=t.charAt(0);if("@"!==l)if("$"!==l){if(n)return vr(n,e)}else{var a=t.slice(1);if(r&&zi.call(r,a)){var o=e.slice(0);return o[0]=a,vr(r,o)}}else if(i&&xt(i.directives)){var s=t.slice(1),u=i.directives.find((function(e){return e.name.value===s})),c=u&&je(u,r);return c&&vr(c,e.slice(1))}})),o=JSON.stringify(a);return(n||"{}"!==o)&&(l+=":"+o),l})}function _r(e,n){var t=new Zt;return hr(e).reduce((function(e,i){var r,l=n(i);if(void 0!==l){for(var a=i.length-1;a>=0;--a)(r={})[i[a]]=l,l=r;e=t.merge(e,l)}return e}),Object.create(null))}function hr(e){var n=fr(e);if(!n.paths){var t=n.paths=[],i=[];e.forEach((function(n,r){Array.isArray(n)?(hr(n).forEach((function(e){return t.push(i.concat(e))})),i.length=0):(i.push(n),Array.isArray(e[r+1])||(t.push(i.slice(0)),i.length=0))}))}return n.paths}function gr(e,n){return e[n]}function vr(e,n,t){return t=t||gr,Tr(n.reduce((function e(n,i){return Array.isArray(n)?n.map((function(n){return e(n,i)})):n&&t(n,i)}),e))}function Tr(e){return De(e)?Array.isArray(e)?e.map(Tr):_r(Object.keys(e).sort(),(function(n){return vr(e,n)})):e}function br(e){return void 0!==e.args?e.args:e.field?je(e.field,e.variables):null}Be.setStringify(it);var kr=function(){},Rr=function(e,n){return n.fieldName},Nr=function(e,n,t){return(0,t.mergeObjects)(e,n)},Er=function(e,n){return n},xr=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=v({dataIdFromObject:Hi},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,n){var t,i=this,r=n&&(n.typename||(null===(t=n.storeObject)||void 0===t?void 0:t.__typename))||e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var l,a=n&&n.storeObject||e,o=v(v({},n),{typename:r,storeObject:a,readField:n&&n.readField||function(){var e=Sr(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),s=r&&this.getTypePolicy(r),u=s&&s.keyFn||this.config.dataIdFromObject;u;){var c=u(e,o);if(!Array.isArray(c)){l=c;break}u=mr(c)}return l=l?String(l):void 0,o.keyObject?[l,o.keyObject]:[l]},e.prototype.addTypePolicies=function(e){var n=this;Object.keys(e).forEach((function(t){var i=e[t],r=i.queryType,l=i.mutationType,a=i.subscriptionType,o=T(i,["queryType","mutationType","subscriptionType"]);r&&n.setRootTypename("Query",t),l&&n.setRootTypename("Mutation",t),a&&n.setRootTypename("Subscription",t),zi.call(n.toBeAdded,t)?n.toBeAdded[t].push(o):n.toBeAdded[t]=[o]}))},e.prototype.updateTypePolicy=function(e,n){var t=this,i=this.getTypePolicy(e),r=n.keyFields,l=n.fields;function a(e,n){e.merge="function"===typeof n?n:!0===n?Nr:!1===n?Er:e.merge}a(i,n.merge),i.keyFn=!1===r?kr:Array.isArray(r)?mr(r):"function"===typeof r?r:i.keyFn,l&&Object.keys(l).forEach((function(n){var i=t.getFieldPolicy(e,n,!0),r=l[n];if("function"===typeof r)i.read=r;else{var o=r.keyArgs,s=r.read,u=r.merge;i.keyFn=!1===o?Rr:Array.isArray(o)?yr(o):"function"===typeof o?o:i.keyFn,"function"===typeof s&&(i.read=s),a(i,u)}i.read&&i.merge&&(i.keyFn=i.keyFn||Rr)}))},e.prototype.setRootTypename=function(e,n){void 0===n&&(n=e);var t="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[t];n!==i&&(__DEV__?S(!i||i===e,"Cannot change root ".concat(e," __typename more than once")):S(!i||i===e,3),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=t,this.rootTypenamesById[t]=n)},e.prototype.addPossibleTypes=function(e){var n=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(t){n.getSupertypeSet(t,!0),e[t].forEach((function(e){n.getSupertypeSet(e,!0).add(t);var i=e.match(Gi);i&&i[0]===e||n.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var n=this;if(!zi.call(this.typePolicies,e)){var t=this.typePolicies[e]=Object.create(null);t.fields=Object.create(null);var i=this.supertypeMap.get(e);i&&i.size&&i.forEach((function(e){var i=n.getTypePolicy(e),r=i.fields,l=T(i,["fields"]);Object.assign(t,l),Object.assign(t.fields,r)}))}var r=this.toBeAdded[e];return r&&r.length&&r.splice(0).forEach((function(t){n.updateTypePolicy(e,t)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,n,t){if(e){var i=this.getTypePolicy(e).fields;return i[n]||t&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,n){var t=this.supertypeMap.get(e);return!t&&n&&this.supertypeMap.set(e,t=new Set),t},e.prototype.fragmentMatches=function(e,n,t,i){var r=this;if(!e.typeCondition)return!0;if(!n)return!1;var l=e.typeCondition.name.value;if(n===l)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(l))for(var a=this.getSupertypeSet(n,!0),o=[a],s=function(e){var n=r.getSupertypeSet(e,!1);n&&n.size&&o.indexOf(n)<0&&o.push(n)},u=!(!t||!this.fuzzySubtypes.size),c=!1,d=0;d1?l:n}:(i=v({},r),zi.call(i,"from")||(i.from=n)),__DEV__&&void 0===i.from&&__DEV__&&S.warn("Undefined 'from' passed to readField with arguments ".concat(function(e){var n=bt("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?n:t})).split(JSON.stringify(n)).join("")}(Array.from(e)))),void 0===i.variables&&(i.variables=t),i}function wr(e){return function(n,t){if(Array.isArray(n)||Array.isArray(t))throw __DEV__?new C("Cannot automatically merge arrays"):new C(4);if(De(n)&&De(t)){var i=e.getFieldValue(n,"__typename"),r=e.getFieldValue(t,"__typename");if(i&&r&&i!==r)return t;if(Ue(n)&&Yi(t))return e.merge(n.__ref,t),n;if(Yi(n)&&Ue(t))return e.merge(n,t.__ref),t;if(Yi(n)&&Yi(t))return v(v({},n),t)}return t}}function Dr(e,n,t){var i="".concat(n).concat(t),r=e.flavors.get(i);return r||e.flavors.set(i,r=e.clientOnly===n&&e.deferred===t?e:v(v({},e),{clientOnly:n,deferred:t})),r}var Ar=function(){function e(e,n){this.cache=e,this.reader=n}return e.prototype.writeToStore=function(e,n){var t=this,i=n.query,r=n.result,l=n.dataId,a=n.variables,o=n.overwrite,s=We(i),u=new Zt;a=v(v({},Qe(s)),a);var c={store:e,written:Object.create(null),merge:function(e,n){return u.merge(e,n)},variables:a,varString:it(a),fragmentMap:Oe(Ke(i)),overwrite:!!o,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},d=this.processSelectionSet({result:r||Object.create(null),dataId:l,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:c});if(!Ue(d))throw __DEV__?new C("Could not identify object ".concat(JSON.stringify(r))):new C(6);return c.incomingById.forEach((function(n,i){var r=n.storeObject,l=n.mergeTree,a=n.fieldNodeSet,o=Ie(i);if(l&&l.map.size){var s=t.applyMerges(l,o,r,c);if(Ue(s))return;r=s}if(__DEV__&&!c.overwrite){var u=Object.create(null);a.forEach((function(e){e.selectionSet&&(u[e.name.value]=!0)}));Object.keys(r).forEach((function(e){(function(e){return!0===u[Ki(e)]})(e)&&!function(e){var n=l&&l.map.get(e);return Boolean(n&&n.info&&n.info.merge)}(e)&&function(e,n,t,i){var r=function(e){var n=i.getFieldValue(e,t);return"object"===typeof n&&n},l=r(e);if(!l)return;var a=r(n);if(!a)return;if(Ue(l))return;if(Fn(l,a))return;if(Object.keys(l).every((function(e){return void 0!==i.getFieldValue(a,e)})))return;var o=i.getFieldValue(e,"__typename")||i.getFieldValue(n,"__typename"),s=Ki(t),u="".concat(o,".").concat(s);if(Vr.has(u))return;Vr.add(u);var c=[];Array.isArray(l)||Array.isArray(a)||[l,a].forEach((function(e){var n=i.getFieldValue(e,"__typename");"string"!==typeof n||c.includes(n)||c.push(n)}));__DEV__&&S.warn("Cache data may be lost when replacing the ".concat(s," field of a ").concat(o," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(u," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(l).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(a).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(o,r,e,c.store)}))}e.merge(i,r)})),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var n=this,t=e.dataId,i=e.result,r=e.selectionSet,l=e.context,a=e.mergeTree,o=this.cache.policies,s=Object.create(null),u=t&&o.rootTypenamesById[t]||Ze(i,r,l.fragmentMap)||t&&l.store.get(t,"__typename");"string"===typeof u&&(s.__typename=u);var c=function(){var e=Sr(arguments,s,l.variables);if(Ue(e.from)){var n=l.incomingById.get(e.from.__ref);if(n){var t=o.readField(v(v({},e),{from:n.storeObject}),l);if(void 0!==t)return t}}return o.readField(e,l)},d=new Set;this.flattenFields(r,i,l,u).forEach((function(e,t){var r,l=Je(t),p=i[l];if(d.add(t),void 0!==p){var f=o.getStoreFieldName({typename:u,fieldName:t.name.value,field:t,variables:e.variables}),m=Lr(a,f),y=n.processFieldValue(p,t,t.selectionSet?Dr(e,!1,!1):e,m),_=void 0;t.selectionSet&&(Ue(y)||Yi(y))&&(_=c("__typename",y));var h=o.getMergeFunction(u,t.name.value,_);h?m.info={field:t,typename:u,merge:h}:Pr(a,f),s=e.merge(s,((r={})[f]=y,r))}else!__DEV__||e.clientOnly||e.deferred||ft.added(t)||o.getReadFunction(u,t.name.value)||__DEV__&&S.error("Missing field '".concat(Je(t),"' while writing result ").concat(JSON.stringify(i,null,2)).substring(0,1e3))}));try{var p=o.identify(i,{typename:u,selectionSet:r,fragmentMap:l.fragmentMap,storeObject:s,readField:c}),f=p[0],m=p[1];t=t||f,m&&(s=l.merge(s,m))}catch(g){if(!t)throw g}if("string"===typeof t){var y=Ie(t),_=l.written[t]||(l.written[t]=[]);if(_.indexOf(r)>=0)return y;if(_.push(r),this.reader&&this.reader.isFresh(i,y,r,l))return y;var h=l.incomingById.get(t);return h?(h.storeObject=l.merge(h.storeObject,s),h.mergeTree=Ir(h.mergeTree,a),d.forEach((function(e){return h.fieldNodeSet.add(e)}))):l.incomingById.set(t,{storeObject:s,mergeTree:Ur(a)?void 0:a,fieldNodeSet:d}),y}return s},e.prototype.processFieldValue=function(e,n,t,i){var r=this;return n.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,l){var a=r.processFieldValue(e,n,t,Lr(i,l));return Pr(i,l),a})):this.processSelectionSet({result:e,selectionSet:n.selectionSet,context:t,mergeTree:i}):__DEV__?At(e):e},e.prototype.flattenFields=function(e,n,t,i){void 0===i&&(i=Ze(n,e,t.fragmentMap));var r=new Map,l=this.cache.policies,a=new $n(!1);return function e(o,s){var u=a.lookup(o,s.clientOnly,s.deferred);u.visited||(u.visited=!0,o.selections.forEach((function(a){if(ht(a,t.variables)){var o=s.clientOnly,u=s.deferred;if(o&&u||!xt(a.directives)||a.directives.forEach((function(e){var n=e.name.value;if("client"===n&&(o=!0),"defer"===n){var i=je(e,t.variables);i&&!1===i.if||(u=!0)}})),ze(a)){var c=r.get(a);c&&(o=o&&c.clientOnly,u=u&&c.deferred),r.set(a,Dr(t,o,u))}else{var d=Le(a,t.fragmentMap);d&&l.fragmentMatches(d,i,n,t.variables)&&e(d.selectionSet,Dr(t,o,u))}}})))}(e,t),r},e.prototype.applyMerges=function(e,n,t,i,r){var l,a=this;if(e.map.size&&!Ue(t)){var o,s=Array.isArray(t)||!Ue(n)&&!Yi(n)?void 0:n,u=t;s&&!r&&(r=[Ue(s)?s.__ref:s]);var c=function(e,n){return Array.isArray(e)?"number"===typeof n?e[n]:void 0:i.store.getFieldValue(e,String(n))};e.map.forEach((function(e,n){var t=c(s,n),l=c(u,n);if(void 0!==l){r&&r.push(n);var d=a.applyMerges(e,t,l,i,r);d!==l&&(o=o||new Map).set(n,d),r&&S(r.pop()===n)}})),o&&(t=Array.isArray(u)?u.slice(0):v({},u),o.forEach((function(e,n){t[n]=e})))}return e.info?this.cache.policies.runMergeFunction(n,t,e.info,i,r&&(l=i.store).getStorage.apply(l,r)):t},e}(),Or=[];function Lr(e,n){var t=e.map;return t.has(n)||t.set(n,Or.pop()||{map:new Map}),t.get(n)}function Ir(e,n){if(e===n||!n||Ur(n))return e;if(!e||Ur(e))return n;var t=e.info&&n.info?v(v({},e.info),n.info):e.info||n.info,i=e.map.size&&n.map.size,r={info:t,map:i?new Map:e.map.size?e.map:n.map};if(i){var l=new Set(n.map.keys());e.map.forEach((function(e,t){r.map.set(t,Ir(e,n.map.get(t))),l.delete(t)})),l.forEach((function(t){r.map.set(t,Ir(n.map.get(t),e.map.get(t)))}))}return r}function Ur(e){return!e||!(e.info||e.map.size)}function Pr(e,n){var t=e.map,i=t.get(n);i&&Ur(i)&&(Or.push(i),t.delete(n))}var Vr=new Set;var Br=function(e){function n(n){void 0===n&&(n={});var t=e.call(this)||this;return t.watches=new Set,t.typenameDocumentCache=new Map,t.makeVar=Ci,t.txCount=0,t.config=function(e){return Ln(qi,e)}(n),t.addTypename=!!t.config.addTypename,t.policies=new xr({cache:t,dataIdFromObject:t.config.dataIdFromObject,possibleTypes:t.config.possibleTypes,typePolicies:t.config.typePolicies}),t.init(),t}return g(n,e),n.prototype.init=function(){var e=this.data=new nr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},n.prototype.resetResultCache=function(e){var n=this,t=this.storeReader;this.storeWriter=new Ar(this,this.storeReader=new cr({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Wi(this.config),canon:e?void 0:t&&t.canon})),this.maybeBroadcastWatch=ki((function(e,t){return n.broadcastWatch(e,t)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.optimistic?n.optimisticData:n.data;if(sr(t)){var i=e.optimistic,r=e.rootId,l=e.variables;return t.makeCacheKey(e.query,e.callback,it({optimistic:i,rootId:r,variables:l}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},n.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},n.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},n.prototype.read=function(e){var n=e.returnPartialData,t=void 0!==n&&n;try{return this.storeReader.diffQueryAgainstStore(v(v({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t})).result||null}catch(i){if(i instanceof ji)return null;throw i}},n.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},n.prototype.modify=function(e){if(zi.call(e,"id")&&!e.id)return!1;var n=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,n.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},n.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(v(v({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},n.prototype.watch=function(e){var n=this;return this.watches.size||function(e){Ei(e).vars.forEach((function(n){return n.attachCache(e)}))}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){n.watches.delete(e)&&!n.watches.size&&xi(n),n.maybeBroadcastWatch.forget(e)}},n.prototype.gc=function(e){it.reset();var n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},n.prototype.retain=function(e,n){return(n?this.optimisticData:this.data).retain(e)},n.prototype.release=function(e,n){return(n?this.optimisticData:this.data).release(e)},n.prototype.identify=function(e){if(Ue(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(n){__DEV__&&S.warn(n)}},n.prototype.evict=function(e){if(!e.id){if(zi.call(e,"id"))return!1;e=v(v({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},n.prototype.reset=function(e){var n=this;return this.init(),it.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return n.maybeBroadcastWatch.forget(e)})),this.watches.clear(),xi(this)):this.broadcastWatches(),Promise.resolve()},n.prototype.removeOptimistic=function(e){var n=this.optimisticData.removeLayer(e);n!==this.optimisticData&&(this.optimisticData=n,this.broadcastWatches())},n.prototype.batch=function(e){var n,t=this,i=e.update,r=e.optimistic,l=void 0===r||r,a=e.removeOptimistic,o=e.onWatchUpdated,s=function(e){var r=t,l=r.data,a=r.optimisticData;++t.txCount,e&&(t.data=t.optimisticData=e);try{return n=i(t)}finally{--t.txCount,t.data=l,t.optimisticData=a}},u=new Set;return o&&!this.txCount&&this.broadcastWatches(v(v({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"===typeof l?this.optimisticData=this.optimisticData.addLayer(l,s):!1===l?s(this.data):s(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),o&&u.size?(this.broadcastWatches(v(v({},e),{onWatchUpdated:function(e,n){var t=o.call(this,e,n);return!1!==t&&u.delete(e),t}})),u.size&&u.forEach((function(e){return t.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),n},n.prototype.performTransaction=function(e,n){return this.batch({update:e,optimistic:n||null!==n})},n.prototype.transformDocument=function(e){if(this.addTypename){var n=this.typenameDocumentCache.get(e);return n||(n=ft(e),this.typenameDocumentCache.set(e,n),this.typenameDocumentCache.set(n,n)),n}return e},n.prototype.broadcastWatches=function(e){var n=this;this.txCount||this.watches.forEach((function(t){return n.maybeBroadcastWatch(t,e)}))},n.prototype.broadcastWatch=function(e,n){var t=e.lastDiff,i=this.diff(e);n&&(e.optimistic&&"string"===typeof n.optimistic&&(i.fromOptimisticTransaction=!0),n.onWatchUpdated&&!1===n.onWatchUpdated.call(this,e,i,t))||t&&Fn(t.result,i.result)||e.callback(e.lastDiff=i,t)},n}(Fi),Mr=Xn?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function Fr(){var e=l.createContext[Mr];return e||(Object.defineProperty(l.createContext,Mr,{value:e=l.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var jr=function(e){var n=e.client,t=e.children,i=Fr();return l.createElement(i.Consumer,null,(function(e){return void 0===e&&(e={}),n&&e.client!==n&&(e=Object.assign({},e,{client:n})),__DEV__?S(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):S(e.client,26),l.createElement(i.Provider,{value:e},t)}))};function Jr(e){return new rn((function(n,t){var i=T(n,[]);return new we((function(r){var l,a=!1;return Promise.resolve(i).then((function(t){return e(t,n.getContext())})).then(n.setContext).then((function(){a||(l=t(n).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}))})).catch(r.error.bind(r)),function(){a=!0,l&&l.unsubscribe()}}))}))}var Zr=JSON.parse('{"__schema":{"description":null,"queryType":{"name":"query_root"},"mutationType":{"name":"mutation_root"},"subscriptionType":{"name":"subscription_root"},"types":[{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"Boolean_comparison_exp","description":"expression to compare columns of type Boolean. All fields are combined with logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"Float_comparison_exp","description":"expression to compare columns of type Float. All fields are combined with logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\\"4\\"`) or integer (such as `4`) input value will be accepted as an ID.","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","description":"expression to compare columns of type Int. All fields are combined with logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"String_comparison_exp","description":"expression to compare columns of type String. All fields are combined with logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_ilike","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_like","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nilike","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nlike","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nsimilar","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_similar","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\\n\\nIn some cases, you need to provide options to alter GraphQL\'s execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","specifiedByUrl":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","specifiedByUrl":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","specifiedByUrl":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","specifiedByUrl":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","specifiedByUrl":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\\n\\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","specifiedByUrl":null,"fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"bigint","description":null,"specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","description":"expression to compare columns of type bigint. All fields are combined with logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"mutation_root","description":"mutation root","specifiedByUrl":null,"fields":[{"name":"delete_production_intelligence_customers","description":"delete data from the table: \\"production_intelligence.customers\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_customers_by_pk","description":"delete single row from the table: \\"production_intelligence.customers\\"","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_event_details","description":"delete data from the table: \\"production_intelligence.event_details\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_event_details_by_pk","description":"delete single row from the table: \\"production_intelligence.event_details\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_event_types","description":"delete data from the table: \\"production_intelligence.event_types\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_event_types_by_pk","description":"delete single row from the table: \\"production_intelligence.event_types\\"","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_events","description":"delete data from the table: \\"production_intelligence.events\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_events_by_pk","description":"delete single row from the table: \\"production_intelligence.events\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_info_types","description":"delete data from the table: \\"production_intelligence.info_types\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_info_types_by_pk","description":"delete single row from the table: \\"production_intelligence.info_types\\"","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_measurement_types","description":"delete data from the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_measurement_types_2","description":"delete data from the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_measurement_types_2_by_pk","description":"delete single row from the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_measurement_types_by_pk","description":"delete single row from the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_order_infos","description":"delete data from the table: \\"production_intelligence.order_infos\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_order_infos_by_pk","description":"delete single row from the table: \\"production_intelligence.order_infos\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_orders","description":"delete data from the table: \\"production_intelligence.orders\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_orders_by_pk","description":"delete single row from the table: \\"production_intelligence.orders\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_errors","description":"delete data from the table: \\"production_intelligence.product_errors\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_errors_by_pk","description":"delete single row from the table: \\"production_intelligence.product_errors\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_measurements","description":"delete data from the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_measurements_by_pk","description":"delete single row from the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_type_infos","description":"delete data from the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_type_infos_by_pk","description":"delete single row from the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_type_measurements","description":"delete data from the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_type_measurements_by_pk","description":"delete single row from the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_types","description":"delete data from the table: \\"production_intelligence.product_types\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_types_by_pk","description":"delete single row from the table: \\"production_intelligence.product_types\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_types_in_orders","description":"delete data from the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_product_types_in_orders_by_pk","description":"delete single row from the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_production_lines","description":"delete data from the table: \\"production_intelligence.production_lines\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_production_lines_by_pk","description":"delete single row from the table: \\"production_intelligence.production_lines\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_products","description":"delete data from the table: \\"production_intelligence.products\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_products_by_pk","description":"delete single row from the table: \\"production_intelligence.products\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_result_types","description":"delete data from the table: \\"production_intelligence.result_types\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_result_types_by_pk","description":"delete single row from the table: \\"production_intelligence.result_types\\"","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_users","description":"delete data from the table: \\"production_intelligence.users\\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_production_intelligence_users_by_pk","description":"delete single row from the table: \\"production_intelligence.users\\"","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_customers","description":"insert data into the table: \\"production_intelligence.customers\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_customers_one","description":"insert a single row into the table: \\"production_intelligence.customers\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_event_details","description":"insert data into the table: \\"production_intelligence.event_details\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_event_details_one","description":"insert a single row into the table: \\"production_intelligence.event_details\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_event_types","description":"insert data into the table: \\"production_intelligence.event_types\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_event_types_one","description":"insert a single row into the table: \\"production_intelligence.event_types\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_events","description":"insert data into the table: \\"production_intelligence.events\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_events_one","description":"insert a single row into the table: \\"production_intelligence.events\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_info_types","description":"insert data into the table: \\"production_intelligence.info_types\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_info_types_one","description":"insert a single row into the table: \\"production_intelligence.info_types\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_measurement_types","description":"insert data into the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_measurement_types_2","description":"insert data into the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_measurement_types_2_one","description":"insert a single row into the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_measurement_types_one","description":"insert a single row into the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_order_infos","description":"insert data into the table: \\"production_intelligence.order_infos\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_order_infos_one","description":"insert a single row into the table: \\"production_intelligence.order_infos\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_orders","description":"insert data into the table: \\"production_intelligence.orders\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_orders_one","description":"insert a single row into the table: \\"production_intelligence.orders\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_errors","description":"insert data into the table: \\"production_intelligence.product_errors\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_errors_one","description":"insert a single row into the table: \\"production_intelligence.product_errors\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_measurements","description":"insert data into the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_measurements_one","description":"insert a single row into the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_type_infos","description":"insert data into the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_type_infos_one","description":"insert a single row into the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_type_measurements","description":"insert data into the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_type_measurements_one","description":"insert a single row into the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_types","description":"insert data into the table: \\"production_intelligence.product_types\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_types_in_orders","description":"insert data into the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_types_in_orders_one","description":"insert a single row into the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_product_types_one","description":"insert a single row into the table: \\"production_intelligence.product_types\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_production_lines","description":"insert data into the table: \\"production_intelligence.production_lines\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_production_lines_one","description":"insert a single row into the table: \\"production_intelligence.production_lines\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_products","description":"insert data into the table: \\"production_intelligence.products\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_products_one","description":"insert a single row into the table: \\"production_intelligence.products\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_result_types","description":"insert data into the table: \\"production_intelligence.result_types\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_result_types_one","description":"insert a single row into the table: \\"production_intelligence.result_types\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_users","description":"insert data into the table: \\"production_intelligence.users\\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_production_intelligence_users_one","description":"insert a single row into the table: \\"production_intelligence.users\\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":"on conflict condition","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_customers","description":"update data of the table: \\"production_intelligence.customers\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_customers_by_pk","description":"update single row of the table: \\"production_intelligence.customers\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_event_details","description":"update data of the table: \\"production_intelligence.event_details\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_event_details_by_pk","description":"update single row of the table: \\"production_intelligence.event_details\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_event_types","description":"update data of the table: \\"production_intelligence.event_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_event_types_by_pk","description":"update single row of the table: \\"production_intelligence.event_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_events","description":"update data of the table: \\"production_intelligence.events\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_events_by_pk","description":"update single row of the table: \\"production_intelligence.events\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_info_types","description":"update data of the table: \\"production_intelligence.info_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_info_types_by_pk","description":"update single row of the table: \\"production_intelligence.info_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_measurement_types","description":"update data of the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_measurement_types_2","description":"update data of the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_measurement_types_2_by_pk","description":"update single row of the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_measurement_types_by_pk","description":"update single row of the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_order_infos","description":"update data of the table: \\"production_intelligence.order_infos\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_order_infos_by_pk","description":"update single row of the table: \\"production_intelligence.order_infos\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_orders","description":"update data of the table: \\"production_intelligence.orders\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_orders_by_pk","description":"update single row of the table: \\"production_intelligence.orders\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_errors","description":"update data of the table: \\"production_intelligence.product_errors\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_errors_by_pk","description":"update single row of the table: \\"production_intelligence.product_errors\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_measurements","description":"update data of the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_measurements_by_pk","description":"update single row of the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_type_infos","description":"update data of the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_type_infos_by_pk","description":"update single row of the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_type_measurements","description":"update data of the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_type_measurements_by_pk","description":"update single row of the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_types","description":"update data of the table: \\"production_intelligence.product_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_types_by_pk","description":"update single row of the table: \\"production_intelligence.product_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_types_in_orders","description":"update data of the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_product_types_in_orders_by_pk","description":"update single row of the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_production_lines","description":"update data of the table: \\"production_intelligence.production_lines\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_production_lines_by_pk","description":"update single row of the table: \\"production_intelligence.production_lines\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_products","description":"update data of the table: \\"production_intelligence.products\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_products_by_pk","description":"update single row of the table: \\"production_intelligence.products\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_result_types","description":"update data of the table: \\"production_intelligence.result_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_result_types_by_pk","description":"update single row of the table: \\"production_intelligence.result_types\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_users","description":"update data of the table: \\"production_intelligence.users\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_production_intelligence_users_by_pk","description":"update single row of the table: \\"production_intelligence.users\\"","args":[{"name":"_inc","description":"increments the integer columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_inc_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_set_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_pk_columns_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"order_by","description":"column ordering options","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"asc","description":"in the ascending order, nulls last","isDeprecated":false,"deprecationReason":null},{"name":"asc_nulls_first","description":"in the ascending order, nulls first","isDeprecated":false,"deprecationReason":null},{"name":"asc_nulls_last","description":"in the ascending order, nulls last","isDeprecated":false,"deprecationReason":null},{"name":"desc","description":"in the descending order, nulls first","isDeprecated":false,"deprecationReason":null},{"name":"desc_nulls_first","description":"in the descending order, nulls first","isDeprecated":false,"deprecationReason":null},{"name":"desc_nulls_last","description":"in the descending order, nulls last","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers","description":"columns and relationships of \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_lines","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_lines_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"users","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"users_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_aggregate","description":"aggregated selection of \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_aggregate_fields","description":"aggregate fields of \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_customers_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_customers_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.customers\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_lines","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"users","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_customers_constraint","description":"unique or primary key constraints on table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customers_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_insert_input","description":"input type for inserting data into table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_lines","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"users","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_max_order_by","description":"order by max() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_min_order_by","description":"order by min() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_mutation_response","description":"response of any mutation on the table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_on_conflict","description":"on conflict condition type for table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_customers_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_customers_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_order_by","description":"ordering options when selecting data from \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_lines_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"users_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_customers_select_column","description":"select columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_set_input","description":"input type for updating data in table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_customers_update_column","description":"update columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_customers_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.customers\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details","description":"columns and relationships of \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"event","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_aggregate","description":"aggregated selection of \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_aggregate_fields","description":"aggregate fields of \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_details_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.event_details\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_event_details_constraint","description":"unique or primary key constraints on table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"event_details_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_insert_input","description":"input type for inserting data into table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_max_order_by","description":"order by max() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_min_order_by","description":"order by min() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_mutation_response","description":"response of any mutation on the table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_on_conflict","description":"on conflict condition type for table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_order_by","description":"ordering options when selecting data from \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_event_details_select_column","description":"select columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"key","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_set_input","description":"input type for updating data in table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"key","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_event_details_update_column","description":"update columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"key","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_details_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.event_details\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types","description":"columns and relationships of \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"events","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_aggregate","description":"aggregated selection of \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_aggregate_fields","description":"aggregate fields of \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_event_types_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.event_types\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_event_types_constraint","description":"unique or primary key constraints on table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"event_types_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_insert_input","description":"input type for inserting data into table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_max_order_by","description":"order by max() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_min_order_by","description":"order by min() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_mutation_response","description":"response of any mutation on the table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_on_conflict","description":"on conflict condition type for table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_types_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_types_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_order_by","description":"ordering options when selecting data from \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_event_types_select_column","description":"select columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_set_input","description":"input type for updating data in table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_event_types_update_column","description":"update columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_event_types_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.event_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events","description":"columns and relationships of \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"details","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"details_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_aggregate","description":"aggregated selection of \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_aggregate_fields","description":"aggregate fields of \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_events_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.events\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"details","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_events_constraint","description":"unique or primary key constraints on table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"events_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_insert_input","description":"input type for inserting data into table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"details","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_max_order_by","description":"order by max() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_min_order_by","description":"order by min() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_mutation_response","description":"response of any mutation on the table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_on_conflict","description":"on conflict condition type for table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","description":"ordering options when selecting data from \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"details_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_events_select_column","description":"select columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_set_input","description":"input type for updating data in table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_events_update_column","description":"update columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_events_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_events_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.events\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"event_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"user_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types","description":"columns and relationships of \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order_infos","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order_infos_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_infos","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_infos_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_aggregate","description":"aggregated selection of \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_aggregate_fields","description":"aggregate fields of \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_info_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_info_types_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.info_types\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_info_types_constraint","description":"unique or primary key constraints on table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"info_types_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_insert_input","description":"input type for inserting data into table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_max_order_by","description":"order by max() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_min_order_by","description":"order by min() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_mutation_response","description":"response of any mutation on the table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_on_conflict","description":"on conflict condition type for table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_info_types_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_info_types_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_order_by","description":"ordering options when selecting data from \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_infos_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_infos_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_info_types_select_column","description":"select columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_set_input","description":"input type for updating data in table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_info_types_update_column","description":"update columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_info_types_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.info_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production","description":"columns and relationships of \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_aggregate","description":"aggregated selection of \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_aggregate_fields","description":"aggregate fields of \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.last_12_hours_production\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"bucket","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"INPUT_OBJECT","name":"Boolean_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_max_order_by","description":"order by max() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_min_order_by","description":"order by min() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_order_by","description":"ordering options when selecting data from \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_last_12_hours_production_select_column","description":"select columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"bucket","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production","description":"columns and relationships of \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_aggregate","description":"aggregated selection of \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_hour_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_aggregate_fields","description":"aggregate fields of \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.last_hour_production\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"bucket","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"INPUT_OBJECT","name":"Boolean_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_max_order_by","description":"order by max() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_min_order_by","description":"order by min() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_order_by","description":"ordering options when selecting data from \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","description":"select columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"bucket","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_last_hour_production_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types","description":"columns and relationships of \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","description":"columns and relationships of \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_aggregate","description":"aggregated selection of \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_aggregate_fields","description":"aggregate fields of \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_2_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.measurement_types_2\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_measurement_types_2_constraint","description":"unique or primary key constraints on table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"measurement_types_2_name_unit_key","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null},{"name":"measurement_types_2_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_insert_input","description":"input type for inserting data into table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_max_order_by","description":"order by max() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_min_order_by","description":"order by min() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_mutation_response","description":"response of any mutation on the table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_on_conflict","description":"on conflict condition type for table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_2_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_2_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_order_by","description":"ordering options when selecting data from \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_measurement_types_2_select_column","description":"select columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_set_input","description":"input type for updating data in table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_measurement_types_2_update_column","description":"update columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.measurement_types_2\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_aggregate","description":"aggregated selection of \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_aggregate_fields","description":"aggregate fields of \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.measurement_types\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_measurement_types_constraint","description":"unique or primary key constraints on table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"measurement_types_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_insert_input","description":"input type for inserting data into table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_max_order_by","description":"order by max() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_min_order_by","description":"order by min() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_mutation_response","description":"response of any mutation on the table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_on_conflict","description":"on conflict condition type for table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_order_by","description":"ordering options when selecting data from \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_measurements_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_measurements_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_measurement_types_select_column","description":"select columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_set_input","description":"input type for updating data in table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_measurement_types_update_column","description":"update columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_measurement_types_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.measurement_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production","description":"columns and relationships of \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_aggregate","description":"aggregated selection of \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_aggregate_fields","description":"aggregate fields of \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_daily_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.mv_daily_production\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"bucket","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_max_order_by","description":"order by max() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_min_order_by","description":"order by min() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_order_by","description":"ordering options when selecting data from \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_mv_daily_production_select_column","description":"select columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"bucket","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.mv_daily_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production","description":"columns and relationships of \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_aggregate","description":"aggregated selection of \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_aggregate_fields","description":"aggregate fields of \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_hourly_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.mv_hourly_production\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"bucket","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_max_order_by","description":"order by max() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"bucket","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_min_order_by","description":"order by min() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_order_by","description":"ordering options when selecting data from \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"bucket","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_mv_hourly_production_select_column","description":"select columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"bucket","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.mv_hourly_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos","description":"columns and relationships of \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_aggregate","description":"aggregated selection of \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_aggregate_fields","description":"aggregate fields of \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.order_infos\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_order_infos_constraint","description":"unique or primary key constraints on table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"order_infos_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_insert_input","description":"input type for inserting data into table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_max_order_by","description":"order by max() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_min_order_by","description":"order by min() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_mutation_response","description":"response of any mutation on the table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_on_conflict","description":"on conflict condition type for table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","description":"ordering options when selecting data from \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","description":"select columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_set_input","description":"input type for updating data in table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_order_infos_update_column","description":"update columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_order_infos_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.order_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders","description":"columns and relationships of \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"infos","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"infos_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_types","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_types_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_aggregate","description":"aggregated selection of \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_aggregate_fields","description":"aggregate fields of \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_orders_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.orders\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_types","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_orders_constraint","description":"unique or primary key constraints on table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"orders_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_insert_input","description":"input type for inserting data into table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_types","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_max_order_by","description":"order by max() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_min_order_by","description":"order by min() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_mutation_response","description":"response of any mutation on the table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_on_conflict","description":"on conflict condition type for table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","description":"ordering options when selecting data from \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"infos_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_types_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_orders_select_column","description":"select columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_set_input","description":"input type for updating data in table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_orders_update_column","description":"update columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_orders_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors","description":"columns and relationships of \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_aggregate","description":"aggregated selection of \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_aggregate_fields","description":"aggregate fields of \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.product_errors\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"INPUT_OBJECT","name":"Float_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_errors_constraint","description":"unique or primary key constraints on table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"product_errors_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_insert_input","description":"input type for inserting data into table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_max_order_by","description":"order by max() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_min_order_by","description":"order by min() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_mutation_response","description":"response of any mutation on the table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_on_conflict","description":"on conflict condition type for table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","description":"ordering options when selecting data from \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","description":"select columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"size","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_set_input","description":"input type for updating data in table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unit","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_errors_update_column","description":"update columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"size","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"unit","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_errors_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.product_errors\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements","description":"columns and relationships of \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate","description":"aggregated selection of \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate_fields","description":"aggregate fields of \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.product_measurements\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"Float_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_measurements_constraint","description":"unique or primary key constraints on table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"product_measurements_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_insert_input","description":"input type for inserting data into table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_max_order_by","description":"order by max() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_min_order_by","description":"order by min() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_mutation_response","description":"response of any mutation on the table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_on_conflict","description":"on conflict condition type for table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","description":"ordering options when selecting data from \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","description":"select columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_set_input","description":"input type for updating data in table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_measurements_update_column","description":"update columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_measurements_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.product_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos","description":"columns and relationships of \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_aggregate","description":"aggregated selection of \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_aggregate_fields","description":"aggregate fields of \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.product_type_infos\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_type_infos_constraint","description":"unique or primary key constraints on table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"product_type_infos_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_insert_input","description":"input type for inserting data into table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_max_order_by","description":"order by max() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_min_order_by","description":"order by min() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_mutation_response","description":"response of any mutation on the table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_on_conflict","description":"on conflict condition type for table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","description":"ordering options when selecting data from \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","description":"select columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_set_input","description":"input type for updating data in table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_type_infos_update_column","description":"update columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_infos_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.product_type_infos\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","description":"columns and relationships of \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate","description":"aggregated selection of \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate_fields","description":"aggregate fields of \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.product_type_measurements\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"Float_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_type_measurements_constraint","description":"unique or primary key constraints on table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"product_type_measurements_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_insert_input","description":"input type for inserting data into table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_max_order_by","description":"order by max() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_min_order_by","description":"order by min() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_mutation_response","description":"response of any mutation on the table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_on_conflict","description":"on conflict condition type for table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","description":"ordering options when selecting data from \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","description":"select columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_set_input","description":"input type for updating data in table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_type_measurements_update_column","description":"update columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.product_type_measurements\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types","description":"columns and relationships of \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"events","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"infos","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"infos_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"measurements","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"measurements_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"orders_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"products_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_aggregate","description":"aggregated selection of \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_aggregate_fields","description":"aggregate fields of \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.product_types\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_types_constraint","description":"unique or primary key constraints on table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"product_types_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","description":"columns and relationships of \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_aggregate","description":"aggregated selection of \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_aggregate_fields","description":"aggregate fields of \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.product_types_in_orders\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_constraint","description":"unique or primary key constraints on table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"product_types_in_orders_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_insert_input","description":"input type for inserting data into table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_max_order_by","description":"order by max() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_min_order_by","description":"order by min() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_mutation_response","description":"response of any mutation on the table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_on_conflict","description":"on conflict condition type for table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","description":"ordering options when selecting data from \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","description":"select columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_set_input","description":"input type for updating data in table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_update_column","description":"update columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.product_types_in_orders\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_insert_input","description":"input type for inserting data into table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"infos","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_max_order_by","description":"order by max() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_min_order_by","description":"order by min() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_mutation_response","description":"response of any mutation on the table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_on_conflict","description":"on conflict condition type for table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","description":"ordering options when selecting data from \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"infos_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurements_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orders_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_types_select_column","description":"select columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_set_input","description":"input type for updating data in table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_product_types_update_column","description":"update columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_end","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"tm_start","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_product_types_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.product_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines","description":"columns and relationships of \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"events","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"orders_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_types","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_types_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"products_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products_last_hour","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_hour_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"products_last_hour_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_aggregate","description":"aggregated selection of \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_aggregate_fields","description":"aggregate fields of \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.production_lines\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_types","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products_last_hour","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_production_lines_constraint","description":"unique or primary key constraints on table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"production_lines_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_insert_input","description":"input type for inserting data into table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_types","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_max_order_by","description":"order by max() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_min_order_by","description":"order by min() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_mutation_response","description":"response of any mutation on the table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_on_conflict","description":"on conflict condition type for table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","description":"ordering options when selecting data from \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orders_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_types_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"products_last_hour_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","description":"select columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_set_input","description":"input type for updating data in table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_production_lines_update_column","description":"update columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"updated_at","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_production_lines_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.production_lines\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products","description":"columns and relationships of \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"smallint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"errors_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"measurements","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"measurements_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_aggregate","description":"aggregated selection of \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_aggregate_fields","description":"aggregate fields of \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_products_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.products\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"cavity","description":null,"type":{"kind":"INPUT_OBJECT","name":"smallint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"INPUT_OBJECT","name":"Boolean_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"INPUT_OBJECT","name":"Float_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_products_constraint","description":"unique or primary key constraints on table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"products_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_insert_input","description":"input type for inserting data into table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurements","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_obj_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"smallint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_max_order_by","description":"order by max() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"smallint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_min_order_by","description":"order by min() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_mutation_response","description":"response of any mutation on the table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_on_conflict","description":"on conflict condition type for table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","description":"ordering options when selecting data from \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"errors_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurements_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_products_select_column","description":"select columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"cavity","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_set_input","description":"input type for updating data in table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"SCALAR","name":"bigint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"smallint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_products_update_column","description":"update columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"cavity","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"lane","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"time","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_products_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"cavity","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_products_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.products\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"cavity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_time_sec","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types","description":"columns and relationships of \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product_errors","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"product_errors_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_aggregate","description":"aggregated selection of \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_aggregate_fields","description":"aggregate fields of \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_result_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_result_types_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.result_types\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_errors","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_result_types_constraint","description":"unique or primary key constraints on table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"result_types_name_key","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null},{"name":"result_types_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_insert_input","description":"input type for inserting data into table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_errors","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_max_order_by","description":"order by max() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_min_order_by","description":"order by min() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_mutation_response","description":"response of any mutation on the table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_on_conflict","description":"on conflict condition type for table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_result_types_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_result_types_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_order_by","description":"ordering options when selecting data from \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_errors_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_result_types_select_column","description":"select columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_set_input","description":"input type for updating data in table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_result_types_update_column","description":"update columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_result_types_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.result_types\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users","description":"columns and relationships of \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"events","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":"An aggregated array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_aggregate","description":"aggregated selection of \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_aggregate_fields","description":"aggregate fields of \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_users_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_arr_rel_insert_input","description":"input type for inserting array relation for remote table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_insert_input","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.users\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_users_constraint","description":"unique or primary key constraints on table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"users_customer_id_name_key","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null},{"name":"users_pkey","description":"unique or primary key constraint","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_inc_input","description":"input type for incrementing integer column in table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_insert_input","description":"input type for inserting data into table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_arr_rel_insert_input","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_max_order_by","description":"order by max() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_min_order_by","description":"order by min() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_mutation_response","description":"response of any mutation on the table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":[{"name":"affected_rows","description":"number of affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data of the affected rows by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_obj_rel_insert_input","description":"input type for inserting object relation for remote table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_insert_input","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"on_conflict","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_on_conflict","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_on_conflict","description":"on conflict condition type for table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_constraint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_update_column","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","description":"ordering options when selecting data from \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"events_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_aggregate_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_pk_columns_input","description":"primary key columns input for table: \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_users_select_column","description":"select columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_set_input","description":"input type for updating data in table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_users_update_column","description":"update columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_users_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_users_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.users\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production","description":"columns and relationships of \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_aggregate","description":"aggregated selection of \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_aggregate_fields","description":"aggregate fields of \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.v_last_12_hours_production\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_max_order_by","description":"order by max() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_min_order_by","description":"order by min() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_order_by","description":"ordering options when selecting data from \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_v_last_12_hours_production_select_column","description":"select columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.v_last_12_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production","description":"columns and relationships of \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_aggregate","description":"aggregated selection of \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_aggregate_fields","description":"aggregate fields of \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_24_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.v_last_24_hours_production\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_max_order_by","description":"order by max() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_min_order_by","description":"order by min() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_order_by","description":"ordering options when selecting data from \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_v_last_24_hours_production_select_column","description":"select columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.v_last_24_hours_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production","description":"columns and relationships of \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_aggregate","description":"aggregated selection of \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_aggregate_fields","description":"aggregate fields of \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_aggregate_order_by","description":"order by aggregate values of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_avg_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_max_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_min_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_stddev_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_stddev_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_stddev_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_sum_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_var_pop_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_var_samp_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_variance_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_avg_fields","description":"aggregate avg on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_avg_order_by","description":"order by avg() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","description":"Boolean expression to filter rows from the table \\"production_intelligence.v_last_hour_production\\". All fields are combined with a logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customer_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"INPUT_OBJECT","name":"bigint_comparison_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_max_fields","description":"aggregate max on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_max_order_by","description":"order by max() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_min_fields","description":"aggregate min on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_min_order_by","description":"order by min() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_order_by","description":"ordering options when selecting data from \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"production_line","description":null,"type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"production_intelligence_v_last_hour_production_select_column","description":"select columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"customer_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"first_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"last_product","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_stddev_fields","description":"aggregate stddev on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_stddev_order_by","description":"order by stddev() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_stddev_pop_fields","description":"aggregate stddev_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_stddev_samp_fields","description":"aggregate stddev_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_sum_fields","description":"aggregate sum on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"bigint","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_sum_order_by","description":"order by sum() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_var_pop_fields","description":"aggregate var_pop on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_var_pop_order_by","description":"order by var_pop() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_var_samp_fields","description":"aggregate var_samp on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_var_samp_order_by","description":"order by var_samp() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_variance_fields","description":"aggregate variance on columns","specifiedByUrl":null,"fields":[{"name":"customer_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_variance_order_by","description":"order by variance() on columns of table \\"production_intelligence.v_last_hour_production\\"","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"customer_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"failed_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total_products_count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"query_root","description":"query root","specifiedByUrl":null,"fields":[{"name":"production_intelligence_customers","description":"fetch data from the table: \\"production_intelligence.customers\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_customers_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_customers_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.customers\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_customers_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_customers_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_customers_by_pk","description":"fetch data from the table: \\"production_intelligence.customers\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_details","description":"fetch data from the table: \\"production_intelligence.event_details\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_details_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.event_details\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_details_by_pk","description":"fetch data from the table: \\"production_intelligence.event_details\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_types","description":"fetch data from the table: \\"production_intelligence.event_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.event_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_types_by_pk","description":"fetch data from the table: \\"production_intelligence.event_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_events","description":"fetch data from the table: \\"production_intelligence.events\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_events_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.events\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_events_by_pk","description":"fetch data from the table: \\"production_intelligence.events\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_info_types","description":"fetch data from the table: \\"production_intelligence.info_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_info_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_info_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.info_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_info_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_info_types_by_pk","description":"fetch data from the table: \\"production_intelligence.info_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_12_hours_production","description":"fetch data from the table: \\"production_intelligence.last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_12_hours_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_hour_production","description":"fetch data from the table: \\"production_intelligence.last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_hour_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_hour_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types","description":"fetch data from the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_2","description":"fetch data from the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_2_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_2_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_2_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_2_by_pk","description":"fetch data from the table: \\"production_intelligence.measurement_types_2\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_by_pk","description":"fetch data from the table: \\"production_intelligence.measurement_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_daily_production","description":"fetch data from the table: \\"production_intelligence.mv_daily_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_daily_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_daily_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.mv_daily_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_daily_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_hourly_production","description":"fetch data from the table: \\"production_intelligence.mv_hourly_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_hourly_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_hourly_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.mv_hourly_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_hourly_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_order_infos","description":"fetch data from the table: \\"production_intelligence.order_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_order_infos_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.order_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_order_infos_by_pk","description":"fetch data from the table: \\"production_intelligence.order_infos\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_orders","description":"fetch data from the table: \\"production_intelligence.orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_orders_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_orders_by_pk","description":"fetch data from the table: \\"production_intelligence.orders\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_errors","description":"fetch data from the table: \\"production_intelligence.product_errors\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_errors_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_errors\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_errors_by_pk","description":"fetch data from the table: \\"production_intelligence.product_errors\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_measurements","description":"fetch data from the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_measurements_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_measurements_by_pk","description":"fetch data from the table: \\"production_intelligence.product_measurements\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_infos","description":"fetch data from the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_infos_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_infos_by_pk","description":"fetch data from the table: \\"production_intelligence.product_type_infos\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_measurements","description":"fetch data from the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_measurements_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_measurements_by_pk","description":"fetch data from the table: \\"production_intelligence.product_type_measurements\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types","description":"fetch data from the table: \\"production_intelligence.product_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_by_pk","description":"fetch data from the table: \\"production_intelligence.product_types\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_in_orders","description":"fetch data from the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_in_orders_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_in_orders_by_pk","description":"fetch data from the table: \\"production_intelligence.product_types_in_orders\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_production_lines","description":"fetch data from the table: \\"production_intelligence.production_lines\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_production_lines_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.production_lines\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_production_lines_by_pk","description":"fetch data from the table: \\"production_intelligence.production_lines\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_products","description":"fetch data from the table: \\"production_intelligence.products\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_products_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.products\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_products_by_pk","description":"fetch data from the table: \\"production_intelligence.products\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_result_types","description":"fetch data from the table: \\"production_intelligence.result_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_result_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_result_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.result_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_result_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_result_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_result_types_by_pk","description":"fetch data from the table: \\"production_intelligence.result_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_users","description":"fetch data from the table: \\"production_intelligence.users\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_users_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.users\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_users_by_pk","description":"fetch data from the table: \\"production_intelligence.users\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_12_hours_production","description":"fetch data from the table: \\"production_intelligence.v_last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_12_hours_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.v_last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_24_hours_production","description":"fetch data from the table: \\"production_intelligence.v_last_24_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_24_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_24_hours_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.v_last_24_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_24_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_hour_production","description":"fetch data from the table: \\"production_intelligence.v_last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_hour_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.v_last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"smallint","description":null,"specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"smallint_comparison_exp","description":"expression to compare columns of type smallint. All fields are combined with logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"smallint","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"smallint","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"smallint","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"subscription_root","description":"subscription root","specifiedByUrl":null,"fields":[{"name":"production_intelligence_customers","description":"fetch data from the table: \\"production_intelligence.customers\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_customers_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_customers_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.customers\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_customers_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_customers_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_customers_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_customers_by_pk","description":"fetch data from the table: \\"production_intelligence.customers\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_customers","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_details","description":"fetch data from the table: \\"production_intelligence.event_details\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_details_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.event_details\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_details_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_details_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_details_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_details_by_pk","description":"fetch data from the table: \\"production_intelligence.event_details\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_details","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_types","description":"fetch data from the table: \\"production_intelligence.event_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.event_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_event_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_event_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_event_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_event_types_by_pk","description":"fetch data from the table: \\"production_intelligence.event_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_event_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_events","description":"fetch data from the table: \\"production_intelligence.events\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_events_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.events\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_events_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_events_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_events_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_events_by_pk","description":"fetch data from the table: \\"production_intelligence.events\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_events","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_info_types","description":"fetch data from the table: \\"production_intelligence.info_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_info_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_info_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.info_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_info_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_info_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_info_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_info_types_by_pk","description":"fetch data from the table: \\"production_intelligence.info_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_info_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_12_hours_production","description":"fetch data from the table: \\"production_intelligence.last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_12_hours_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_12_hours_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_hour_production","description":"fetch data from the table: \\"production_intelligence.last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_hour_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_last_hour_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_last_hour_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types","description":"fetch data from the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_2","description":"fetch data from the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_2_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_2_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.measurement_types_2\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_2_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_2_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_2_by_pk","description":"fetch data from the table: \\"production_intelligence.measurement_types_2\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types_2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.measurement_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_measurement_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_measurement_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_measurement_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_measurement_types_by_pk","description":"fetch data from the table: \\"production_intelligence.measurement_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_measurement_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_daily_production","description":"fetch data from the table: \\"production_intelligence.mv_daily_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_daily_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_daily_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.mv_daily_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_daily_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_daily_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_daily_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_hourly_production","description":"fetch data from the table: \\"production_intelligence.mv_hourly_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_hourly_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_mv_hourly_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.mv_hourly_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_mv_hourly_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_mv_hourly_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_mv_hourly_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_order_infos","description":"fetch data from the table: \\"production_intelligence.order_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_order_infos_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.order_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_order_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_order_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_order_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_order_infos_by_pk","description":"fetch data from the table: \\"production_intelligence.order_infos\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_order_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_orders","description":"fetch data from the table: \\"production_intelligence.orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_orders_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_orders_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_orders_by_pk","description":"fetch data from the table: \\"production_intelligence.orders\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_errors","description":"fetch data from the table: \\"production_intelligence.product_errors\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_errors_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_errors\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_errors_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_errors_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_errors_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_errors_by_pk","description":"fetch data from the table: \\"production_intelligence.product_errors\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"result_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_errors","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_measurements","description":"fetch data from the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_measurements_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_measurements_by_pk","description":"fetch data from the table: \\"production_intelligence.product_measurements\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_infos","description":"fetch data from the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_infos_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_type_infos\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_infos_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_infos_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_infos_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_infos_by_pk","description":"fetch data from the table: \\"production_intelligence.product_type_infos\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"info_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_infos","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_measurements","description":"fetch data from the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_measurements_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_type_measurements\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_type_measurements_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_type_measurements_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_type_measurements_by_pk","description":"fetch data from the table: \\"production_intelligence.product_type_measurements\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"measurement_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_type_measurements","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types","description":"fetch data from the table: \\"production_intelligence.product_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_by_pk","description":"fetch data from the table: \\"production_intelligence.product_types\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_in_orders","description":"fetch data from the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_in_orders_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.product_types_in_orders\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_product_types_in_orders_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_product_types_in_orders_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_product_types_in_orders_by_pk","description":"fetch data from the table: \\"production_intelligence.product_types_in_orders\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"product_type_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"bigint","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_product_types_in_orders","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_production_lines","description":"fetch data from the table: \\"production_intelligence.production_lines\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_production_lines_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.production_lines\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_production_lines_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_production_lines_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_production_lines_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_production_lines_by_pk","description":"fetch data from the table: \\"production_intelligence.production_lines\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_production_lines","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_products","description":"fetch data from the table: \\"production_intelligence.products\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_products_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.products\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_products_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_products_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_products_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_products_by_pk","description":"fetch data from the table: \\"production_intelligence.products\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lane","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"line_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"time","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_products","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_result_types","description":"fetch data from the table: \\"production_intelligence.result_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_result_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_result_types_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.result_types\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_result_types_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_result_types_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_result_types_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_result_types_by_pk","description":"fetch data from the table: \\"production_intelligence.result_types\\" using primary key columns","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_result_types","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_users","description":"fetch data from the table: \\"production_intelligence.users\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_users_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.users\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_users_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_users_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_users_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_users_by_pk","description":"fetch data from the table: \\"production_intelligence.users\\" using primary key columns","args":[{"name":"customer_id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"production_intelligence_users","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_12_hours_production","description":"fetch data from the table: \\"production_intelligence.v_last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_12_hours_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.v_last_12_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_12_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_12_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_12_hours_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_24_hours_production","description":"fetch data from the table: \\"production_intelligence.v_last_24_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_24_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_24_hours_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.v_last_24_hours_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_24_hours_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_24_hours_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_24_hours_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_hour_production","description":"fetch data from the table: \\"production_intelligence.v_last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"production_intelligence_v_last_hour_production_aggregate","description":"fetch aggregated fields from the table: \\"production_intelligence.v_last_hour_production\\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"production_intelligence_v_last_hour_production_select_column","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_order_by","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"production_intelligence_v_last_hour_production_bool_exp","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"production_intelligence_v_last_hour_production_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"timestamptz","description":null,"specifiedByUrl":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","description":"expression to compare columns of type timestamptz. All fields are combined with logical \'AND\'.","specifiedByUrl":null,"fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null}],"directives":[{"name":"include","description":null,"isRepeatable":false,"locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"skip","description":null,"isRepeatable":false,"locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]}]}}'),zr=t(6313),Hr=t(6934);function qr(e,n){if(n.length1?"s":"")+" required, but only "+n.length+" present")}function Wr(e){return qr(1,arguments),e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function Gr(e){qr(1,arguments);var n=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===n?new Date(e.getTime()):"number"===typeof e||"[object Number]"===n?new Date(e):("string"!==typeof e&&"[object String]"!==n||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function Kr(e){if(qr(1,arguments),!Wr(e)&&"number"!==typeof e)return!1;var n=Gr(e);return!isNaN(Number(n))}var $r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Yr=function(e,n,t){var i,r=$r[e];return i="string"===typeof r?r:1===n?r.one:r.other.replace("{{count}}",n.toString()),null!==t&&void 0!==t&&t.addSuffix?t.comparison&&t.comparison>0?"in "+i:i+" ago":i};function Qr(e){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.width?String(n.width):e.defaultWidth,i=e.formats[t]||e.formats[e.defaultWidth];return i}}var Xr={date:Qr({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Qr({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Qr({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},el={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},nl=function(e,n,t,i){return el[e]};function tl(e){return function(n,t){var i,r=t||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var l=e.defaultFormattingWidth||e.defaultWidth,a=r.width?String(r.width):l;i=e.formattingValues[a]||e.formattingValues[l]}else{var o=e.defaultWidth,s=r.width?String(r.width):e.defaultWidth;i=e.values[s]||e.values[o]}return i[e.argumentCallback?e.argumentCallback(n):n]}}var il={ordinalNumber:function(e,n){var t=Number(e),i=t%100;if(i>20||i<10)switch(i%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:tl({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:tl({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:tl({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:tl({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:tl({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},rl=il;function ll(e){return function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.width,r=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],l=n.match(r);if(!l)return null;var a,o=l[0],s=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?ol(s,(function(e){return e.test(o)})):al(s,(function(e){return e.test(o)}));a=e.valueCallback?e.valueCallback(u):u,a=t.valueCallback?t.valueCallback(a):a;var c=n.slice(o.length);return{value:a,rest:c}}}function al(e,n){for(var t in e)if(e.hasOwnProperty(t)&&n(e[t]))return t}function ol(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},t=e.match(sl.matchPattern);if(!t)return null;var i=t[0],r=e.match(sl.parsePattern);if(!r)return null;var l=sl.valueCallback?sl.valueCallback(r[0]):r[0];l=n.valueCallback?n.valueCallback(l):l;var a=e.slice(i.length);return{value:l,rest:a}}),era:ll({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ll({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ll({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ll({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ll({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},cl={code:"en-US",formatDistance:Yr,formatLong:Xr,formatRelative:nl,localize:rl,match:ul,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dl(e){if(null===e||!0===e||!1===e)return NaN;var n=Number(e);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}function pl(e,n){qr(2,arguments);var t=Gr(e).getTime(),i=dl(n);return new Date(t+i)}function fl(e,n){qr(2,arguments);var t=dl(n);return pl(e,-t)}var ml=864e5;function yl(e){qr(1,arguments);var n=1,t=Gr(e),i=t.getUTCDay(),r=(i=r.getTime()?t+1:n.getTime()>=a.getTime()?t:t-1}function hl(e){qr(1,arguments);var n=_l(e),t=new Date(0);t.setUTCFullYear(n,0,4),t.setUTCHours(0,0,0,0);var i=yl(t);return i}var gl=6048e5;function vl(e){qr(1,arguments);var n=Gr(e),t=yl(n).getTime()-hl(n).getTime();return Math.round(t/gl)+1}function Tl(e,n){qr(1,arguments);var t=n||{},i=t.locale,r=i&&i.options&&i.options.weekStartsOn,l=null==r?0:dl(r),a=null==t.weekStartsOn?l:dl(t.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var o=Gr(e),s=o.getUTCDay(),u=(s=1&&s<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(i+1,0,s),u.setUTCHours(0,0,0,0);var c=Tl(u,n),d=new Date(0);d.setUTCFullYear(i,0,s),d.setUTCHours(0,0,0,0);var p=Tl(d,n);return t.getTime()>=c.getTime()?i+1:t.getTime()>=p.getTime()?i:i-1}function kl(e,n){qr(1,arguments);var t=n||{},i=t.locale,r=i&&i.options&&i.options.firstWeekContainsDate,l=null==r?1:dl(r),a=null==t.firstWeekContainsDate?l:dl(t.firstWeekContainsDate),o=bl(e,n),s=new Date(0);s.setUTCFullYear(o,0,a),s.setUTCHours(0,0,0,0);var u=Tl(s,n);return u}var Rl=6048e5;function Nl(e,n){qr(1,arguments);var t=Gr(e),i=Tl(t,n).getTime()-kl(t,n).getTime();return Math.round(i/Rl)+1}function El(e,n){for(var t=e<0?"-":"",i=Math.abs(e).toString();i.length0?t:1-t;return El("yy"===n?i%100:i,n.length)},M:function(e,n){var t=e.getUTCMonth();return"M"===n?String(t+1):El(t+1,2)},d:function(e,n){return El(e.getUTCDate(),n.length)},a:function(e,n){var t=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];default:return"am"===t?"a.m.":"p.m."}},h:function(e,n){return El(e.getUTCHours()%12||12,n.length)},H:function(e,n){return El(e.getUTCHours(),n.length)},m:function(e,n){return El(e.getUTCMinutes(),n.length)},s:function(e,n){return El(e.getUTCSeconds(),n.length)},S:function(e,n){var t=n.length,i=e.getUTCMilliseconds();return El(Math.floor(i*Math.pow(10,t-3)),n.length)}},Cl=xl,Sl="midnight",wl="noon",Dl="morning",Al="afternoon",Ol="evening",Ll="night",Il={G:function(e,n,t){var i=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return t.era(i,{width:"abbreviated"});case"GGGGG":return t.era(i,{width:"narrow"});default:return t.era(i,{width:"wide"})}},y:function(e,n,t){if("yo"===n){var i=e.getUTCFullYear(),r=i>0?i:1-i;return t.ordinalNumber(r,{unit:"year"})}return Cl.y(e,n)},Y:function(e,n,t,i){var r=bl(e,i),l=r>0?r:1-r;return"YY"===n?El(l%100,2):"Yo"===n?t.ordinalNumber(l,{unit:"year"}):El(l,n.length)},R:function(e,n){return El(_l(e),n.length)},u:function(e,n){return El(e.getUTCFullYear(),n.length)},Q:function(e,n,t){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return El(i,2);case"Qo":return t.ordinalNumber(i,{unit:"quarter"});case"QQQ":return t.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(i,{width:"narrow",context:"formatting"});default:return t.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,n,t){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return El(i,2);case"qo":return t.ordinalNumber(i,{unit:"quarter"});case"qqq":return t.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(i,{width:"narrow",context:"standalone"});default:return t.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,n,t){var i=e.getUTCMonth();switch(n){case"M":case"MM":return Cl.M(e,n);case"Mo":return t.ordinalNumber(i+1,{unit:"month"});case"MMM":return t.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(i,{width:"narrow",context:"formatting"});default:return t.month(i,{width:"wide",context:"formatting"})}},L:function(e,n,t){var i=e.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return El(i+1,2);case"Lo":return t.ordinalNumber(i+1,{unit:"month"});case"LLL":return t.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(i,{width:"narrow",context:"standalone"});default:return t.month(i,{width:"wide",context:"standalone"})}},w:function(e,n,t,i){var r=Nl(e,i);return"wo"===n?t.ordinalNumber(r,{unit:"week"}):El(r,n.length)},I:function(e,n,t){var i=vl(e);return"Io"===n?t.ordinalNumber(i,{unit:"week"}):El(i,n.length)},d:function(e,n,t){return"do"===n?t.ordinalNumber(e.getUTCDate(),{unit:"date"}):Cl.d(e,n)},D:function(e,n,t){var i=function(e){qr(1,arguments);var n=Gr(e),t=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime(),r=t-i;return Math.floor(r/ml)+1}(e);return"Do"===n?t.ordinalNumber(i,{unit:"dayOfYear"}):El(i,n.length)},E:function(e,n,t){var i=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return t.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(i,{width:"short",context:"formatting"});default:return t.day(i,{width:"wide",context:"formatting"})}},e:function(e,n,t,i){var r=e.getUTCDay(),l=(r-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(l);case"ee":return El(l,2);case"eo":return t.ordinalNumber(l,{unit:"day"});case"eee":return t.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(r,{width:"short",context:"formatting"});default:return t.day(r,{width:"wide",context:"formatting"})}},c:function(e,n,t,i){var r=e.getUTCDay(),l=(r-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(l);case"cc":return El(l,n.length);case"co":return t.ordinalNumber(l,{unit:"day"});case"ccc":return t.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(r,{width:"narrow",context:"standalone"});case"cccccc":return t.day(r,{width:"short",context:"standalone"});default:return t.day(r,{width:"wide",context:"standalone"})}},i:function(e,n,t){var i=e.getUTCDay(),r=0===i?7:i;switch(n){case"i":return String(r);case"ii":return El(r,n.length);case"io":return t.ordinalNumber(r,{unit:"day"});case"iii":return t.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(i,{width:"short",context:"formatting"});default:return t.day(i,{width:"wide",context:"formatting"})}},a:function(e,n,t){var i=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(i,{width:"narrow",context:"formatting"});default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,n,t){var i,r=e.getUTCHours();switch(i=12===r?wl:0===r?Sl:r/12>=1?"pm":"am",n){case"b":case"bb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(i,{width:"narrow",context:"formatting"});default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,n,t){var i,r=e.getUTCHours();switch(i=r>=17?Ol:r>=12?Al:r>=4?Dl:Ll,n){case"B":case"BB":case"BBB":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(i,{width:"narrow",context:"formatting"});default:return t.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,n,t){if("ho"===n){var i=e.getUTCHours()%12;return 0===i&&(i=12),t.ordinalNumber(i,{unit:"hour"})}return Cl.h(e,n)},H:function(e,n,t){return"Ho"===n?t.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Cl.H(e,n)},K:function(e,n,t){var i=e.getUTCHours()%12;return"Ko"===n?t.ordinalNumber(i,{unit:"hour"}):El(i,n.length)},k:function(e,n,t){var i=e.getUTCHours();return 0===i&&(i=24),"ko"===n?t.ordinalNumber(i,{unit:"hour"}):El(i,n.length)},m:function(e,n,t){return"mo"===n?t.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Cl.m(e,n)},s:function(e,n,t){return"so"===n?t.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Cl.s(e,n)},S:function(e,n){return Cl.S(e,n)},X:function(e,n,t,i){var r=(i._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(n){case"X":return Pl(r);case"XXXX":case"XX":return Vl(r);default:return Vl(r,":")}},x:function(e,n,t,i){var r=(i._originalDate||e).getTimezoneOffset();switch(n){case"x":return Pl(r);case"xxxx":case"xx":return Vl(r);default:return Vl(r,":")}},O:function(e,n,t,i){var r=(i._originalDate||e).getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Ul(r,":");default:return"GMT"+Vl(r,":")}},z:function(e,n,t,i){var r=(i._originalDate||e).getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Ul(r,":");default:return"GMT"+Vl(r,":")}},t:function(e,n,t,i){var r=i._originalDate||e;return El(Math.floor(r.getTime()/1e3),n.length)},T:function(e,n,t,i){return El((i._originalDate||e).getTime(),n.length)}};function Ul(e,n){var t=e>0?"-":"+",i=Math.abs(e),r=Math.floor(i/60),l=i%60;if(0===l)return t+String(r);var a=n||"";return t+String(r)+a+El(l,2)}function Pl(e,n){return e%60===0?(e>0?"-":"+")+El(Math.abs(e)/60,2):Vl(e,n)}function Vl(e,n){var t=n||"",i=e>0?"-":"+",r=Math.abs(e);return i+El(Math.floor(r/60),2)+t+El(r%60,2)}var Bl=Il;function Ml(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});default:return n.date({width:"full"})}}function Fl(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});default:return n.time({width:"full"})}}var jl={p:Fl,P:function(e,n){var t,i=e.match(/(P+)(p+)?/)||[],r=i[1],l=i[2];if(!l)return Ml(e,n);switch(r){case"P":t=n.dateTime({width:"short"});break;case"PP":t=n.dateTime({width:"medium"});break;case"PPP":t=n.dateTime({width:"long"});break;default:t=n.dateTime({width:"full"})}return t.replace("{{date}}",Ml(r,n)).replace("{{time}}",Fl(l,n))}},Jl=jl;function Zl(e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),e.getTime()-n.getTime()}var zl=["D","DD"],Hl=["YY","YYYY"];function ql(e){return-1!==zl.indexOf(e)}function Wl(e){return-1!==Hl.indexOf(e)}function Gl(e,n,t){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(t,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(t,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(t,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(t,"`; see: https://git.io/fxCyr"))}var Kl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,$l=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Yl=/^'([^]*?)'?$/,Ql=/''/g,Xl=/[a-zA-Z]/;function ea(e,n,t){qr(2,arguments);var i=String(n),r=t||{},l=r.locale||cl,a=l.options&&l.options.firstWeekContainsDate,o=null==a?1:dl(a),s=null==r.firstWeekContainsDate?o:dl(r.firstWeekContainsDate);if(!(s>=1&&s<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=l.options&&l.options.weekStartsOn,c=null==u?0:dl(u),d=null==r.weekStartsOn?c:dl(r.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var p=Gr(e);if(!Kr(p))throw new RangeError("Invalid time value");var f=Zl(p),m=fl(p,f),y={firstWeekContainsDate:s,weekStartsOn:d,locale:l,_originalDate:p},_=i.match($l).map((function(e){var n=e[0];return"p"===n||"P"===n?(0,Jl[n])(e,l.formatLong,y):e})).join("").match(Kl).map((function(t){if("''"===t)return"'";var i=t[0];if("'"===i)return na(t);var a=Bl[i];if(a)return!r.useAdditionalWeekYearTokens&&Wl(t)&&Gl(t,n,e),!r.useAdditionalDayOfYearTokens&&ql(t)&&Gl(t,n,e),a(m,t,l.localize,y);if(i.match(Xl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return t})).join("");return _}function na(e){return e.match(Yl)[1].replace(Ql,"'")}function ta(e){qr(1,arguments);var n=Gr(e);return n.setHours(0,0,0,0),n}function ia(e,n){return qr(2,arguments),Gr(e).getTime()-Gr(n).getTime()}var ra={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function la(e){return e?ra[e]:ra.trunc}function aa(e,n,t){qr(2,arguments);var i=ia(e,n)/1e3;return la(null===t||void 0===t?void 0:t.roundingMethod)(i)}var oa=t(184),sa=(0,Hr.ZP)("div")({display:"inline-block"}),ua=function(e){return Number.isFinite(e)&&!isNaN(e)?e.toLocaleString():"-"},ca=function(e,n){var t=function(e){return ea(e,"HH:mm d/M yyyy")};return function(e,n){qr(2,arguments);var t=Gr(e),i=Gr(n);return t.getFullYear()===i.getFullYear()}(e,n)?function(e,n){qr(2,arguments);var t=Gr(e),i=Gr(n);return t.getFullYear()===i.getFullYear()&&t.getMonth()===i.getMonth()}(e,n)&&function(e,n){qr(2,arguments);var t=ta(e),i=ta(n);return t.getTime()===i.getTime()}(e,n)?(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(sa,{children:function(e){return ea(e,"HH:mm")}(e)})," .. ",(0,oa.jsx)(sa,{children:t(n)})]}):(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(sa,{children:function(e){return ea(e,"HH:mm d/M")}(e)})," .. ",(0,oa.jsx)(sa,{children:t(n)})]}):(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(sa,{children:t(e)})," .. ",(0,oa.jsx)(sa,{children:t(n)})]})},da=function(){for(var e=600,n="last_reload",t=window.localStorage.getItem(n),i=arguments.length,r=new Array(i),l=0;l0?"&":"").concat(r),headers:p({"Content-Type":"application/x-www-form-urlencoded"},a)});case 4:return o=e.sent,e.next=7,va(o);case 7:return s=e.sent,e.abrupt("return",s);case 11:e.prev=11,e.t0=e.catch(1),console.error("Failed to get response from server: ",e.t0);case 14:return e.abrupt("return",null);case 15:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(n){return e.apply(this,arguments)}}(),ba=function(e){return Ta({url:ma,body:e})},ka=function(e){return ba("refresh_token=".concat(e,"&grant_type=refresh_token"))},Ra=function(e,n){return ba("password=".concat(n,"&username=").concat(e,"&grant_type=password"))},Na=function(){var e=u(_().mark((function e(n){var t,i,r,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return");case 2:if(n){e.next=4;break}return e.abrupt("return",console.error("Cannot logout without any token"));case 4:return t=n.refreshToken,i=n.accessToken,r="refresh_token=".concat(t),l={Authorization:"Bearer ".concat(i)},e.abrupt("return",Ta({url:ya,body:r,headers:l}));case 8:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Ea={0:{displayName:"Good",tag:"ok"},1:{displayName:"Heads up",tag:"info"},2:{displayName:"Warning",tag:"warn"},3:{displayName:"Critical",tag:"fail"},4:{displayName:"Not detected",tag:"notDetected",hidden:!0}},xa=Object.entries(Ea).filter((function(e){var n=(0,o.Z)(e,2);n[0];return!n[1].hidden})).reduce((function(e,n){var t=(0,o.Z)(n,2),i=t[0],r=t[1];return p(p({},e),{},(0,c.Z)({},i,r))}),{}),Ca=240,Sa="dashboardautosignin",wa="".concat(Sa,"username"),Da="".concat(Sa,"password"),Aa=function(){var e,n="ra-logout",t="ra-refresh-token",i=null;window.addEventListener("storage",(function(e){e.key===n&&(i=null)}));var r=function(){var e=u(_().mark((function e(){var n,r,o,s,u;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i&&i.refreshToken||window.localStorage.getItem(t)){e.next=18;break}if(console.log("performTokenRefresh, NO REFRESH TOKEN AVAILABLE"),r=window.localStorage.getItem(wa),o=window.localStorage.getItem(Da),!r||!o){e.next=14;break}return console.log("Attempting new login with user ".concat(r)),e.next=9,Ra(r,o);case 9:return(s=e.sent)||(console.log("performTokenRefresh login, NO TOKEN RECEIVED"),a()),e.abrupt("return",s&&l(s));case 14:console.log("Cannot attempt new login due to missing credentials");case 15:return e.abrupt("return",!1);case 18:return e.next=20,ka(n);case 20:return(u=e.sent)||(console.log("performTokenRefresh, NO TOKEN RECEIVED"),a()),e.abrupt("return",u&&l(u));case 23:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=function(n){return i=n,window.localStorage.setItem(t,n.refreshToken),function(){if(!i)return console.error("Trying to start token refresh without any token present!");var n=i.refreshTokenExpirationTime-new Date,t=i.tokenExpirationTime-new Date;if(n=n)break;i=a.index+a[0].length,r+=1}}catch(o){l.e(o)}finally{l.f()}return{line:r,column:n+1-i}}function qa(e){return Wa(e.source,Ha(e.source,e.start))}function Wa(e,n){var t=e.locationOffset.column-1,i="".padStart(t)+e.body,r=n.line-1,l=e.locationOffset.line-1,a=n.line+l,o=1===n.line?t:0,s=n.column+o,u="".concat(e.name,":").concat(a,":").concat(s,"\n"),c=i.split(/\r\n|[\n\r]/g),d=c[r];if(d.length>120){for(var p=Math.floor(s/80),f=s%80,m=[],y=0;y0&&(e.extensions=this.extensions),e}}]),i}(Ja(Error),Symbol.toStringTag);function Qa(e){return void 0===e||0===e.length?void 0:e}function Xa(e,n,t){return new Ya("Syntax Error: ".concat(t),void 0,e,[n])}!function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(Ka||(Ka={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}($a||($a={}));var eo=function(e){function n(e){j(this,n);var t=new ne(Ka.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}return Z(n,[{key:Symbol.toStringTag,get:function(){return"Lexer"}},{key:"advance",value:function(){return this.lastToken=this.token,this.token=this.lookahead()}},{key:"lookahead",value:function(){var e=this.token;if(e.kind!==Ka.EOF)do{if(e.next)e=e.next;else{var n=oo(this,e.end);e.next=n,n.prev=e,e=n}}while(e.kind===Ka.COMMENT);return e}}]),n}();function no(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function to(e,n){return io(e.charCodeAt(n))&&ro(e.charCodeAt(n+1))}function io(e){return e>=55296&&e<=56319}function ro(e){return e>=56320&&e<=57343}function lo(e,n){var t=e.source.body.codePointAt(n);if(void 0===t)return Ka.EOF;if(t>=32&&t<=126){var i=String.fromCodePoint(t);return'"'===i?"'\"'":'"'.concat(i,'"')}return"U+"+t.toString(16).toUpperCase().padStart(4,"0")}function ao(e,n,t,i,r){var l=e.line,a=1+t-e.lineStart;return new ne(n,t,i,l,a,r)}function oo(e,n){for(var t=e.source.body,i=t.length,r=n;r=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function ho(e,n){var t=e.source.body;switch(t.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Xa(e.source,n,'Invalid character escape sequence: "'.concat(t.slice(n,n+2),'".'))}function go(e,n){for(var t=e.source.body,i=t.length,r=e.lineStart,l=n+3,a=l,o="",s=[];l0&&void 0!==arguments[0]&&arguments[0],n=this._lexer.token,t=this.parseName();return this.expectToken(Ka.COLON),this.node(n,{kind:X.ARGUMENT,name:t,value:this.parseValueLiteral(e)})}},{key:"parseConstArgument",value:function(){return this.parseArgument(!0)}},{key:"parseFragment",value:function(){var e=this._lexer.token;this.expectToken(Ka.SPREAD);var n=this.expectOptionalKeyword("on");return!n&&this.peek(Ka.NAME)?this.node(e,{kind:X.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:X.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}},{key:"parseFragmentDefinition",value:function(){var e,n=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacyFragmentVariables)?this.node(n,{kind:X.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:X.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}},{key:"parseFragmentName",value:function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}},{key:"parseValueLiteral",value:function(e){var n=this._lexer.token;switch(n.kind){case Ka.BRACKET_L:return this.parseList(e);case Ka.BRACE_L:return this.parseObject(e);case Ka.INT:return this._lexer.advance(),this.node(n,{kind:X.INT,value:n.value});case Ka.FLOAT:return this._lexer.advance(),this.node(n,{kind:X.FLOAT,value:n.value});case Ka.STRING:case Ka.BLOCK_STRING:return this.parseStringLiteral();case Ka.NAME:switch(this._lexer.advance(),n.value){case"true":return this.node(n,{kind:X.BOOLEAN,value:!0});case"false":return this.node(n,{kind:X.BOOLEAN,value:!1});case"null":return this.node(n,{kind:X.NULL});default:return this.node(n,{kind:X.ENUM,value:n.value})}case Ka.DOLLAR:if(e){if(this.expectToken(Ka.DOLLAR),this._lexer.token.kind===Ka.NAME){var t=this._lexer.token.value;throw Xa(this._lexer.source,n.start,'Unexpected variable "$'.concat(t,'" in constant value.'))}throw this.unexpected(n)}return this.parseVariable();default:throw this.unexpected()}}},{key:"parseConstValueLiteral",value:function(){return this.parseValueLiteral(!0)}},{key:"parseStringLiteral",value:function(){var e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:X.STRING,value:e.value,block:e.kind===Ka.BLOCK_STRING})}},{key:"parseList",value:function(e){var n=this;return this.node(this._lexer.token,{kind:X.LIST,values:this.any(Ka.BRACKET_L,(function(){return n.parseValueLiteral(e)}),Ka.BRACKET_R)})}},{key:"parseObject",value:function(e){var n=this;return this.node(this._lexer.token,{kind:X.OBJECT,fields:this.any(Ka.BRACE_L,(function(){return n.parseObjectField(e)}),Ka.BRACE_R)})}},{key:"parseObjectField",value:function(e){var n=this._lexer.token,t=this.parseName();return this.expectToken(Ka.COLON),this.node(n,{kind:X.OBJECT_FIELD,name:t,value:this.parseValueLiteral(e)})}},{key:"parseDirectives",value:function(e){for(var n=[];this.peek(Ka.AT);)n.push(this.parseDirective(e));return n}},{key:"parseConstDirectives",value:function(){return this.parseDirectives(!0)}},{key:"parseDirective",value:function(e){var n=this._lexer.token;return this.expectToken(Ka.AT),this.node(n,{kind:X.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}},{key:"parseTypeReference",value:function(){var e,n=this._lexer.token;if(this.expectOptionalToken(Ka.BRACKET_L)){var t=this.parseTypeReference();this.expectToken(Ka.BRACKET_R),e=this.node(n,{kind:X.LIST_TYPE,type:t})}else e=this.parseNamedType();return this.expectOptionalToken(Ka.BANG)?this.node(n,{kind:X.NON_NULL_TYPE,type:e}):e}},{key:"parseNamedType",value:function(){return this.node(this._lexer.token,{kind:X.NAMED_TYPE,name:this.parseName()})}},{key:"peekDescription",value:function(){return this.peek(Ka.STRING)||this.peek(Ka.BLOCK_STRING)}},{key:"parseDescription",value:function(){if(this.peekDescription())return this.parseStringLiteral()}},{key:"parseSchemaDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");var t=this.parseConstDirectives(),i=this.many(Ka.BRACE_L,this.parseOperationTypeDefinition,Ka.BRACE_R);return this.node(e,{kind:X.SCHEMA_DEFINITION,description:n,directives:t,operationTypes:i})}},{key:"parseOperationTypeDefinition",value:function(){var e=this._lexer.token,n=this.parseOperationType();this.expectToken(Ka.COLON);var t=this.parseNamedType();return this.node(e,{kind:X.OPERATION_TYPE_DEFINITION,operation:n,type:t})}},{key:"parseScalarTypeDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");var t=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:X.SCALAR_TYPE_DEFINITION,description:n,name:t,directives:i})}},{key:"parseObjectTypeDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(e,{kind:X.OBJECT_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:l})}},{key:"parseImplementsInterfaces",value:function(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Ka.AMP,this.parseNamedType):[]}},{key:"parseFieldsDefinition",value:function(){return this.optionalMany(Ka.BRACE_L,this.parseFieldDefinition,Ka.BRACE_R)}},{key:"parseFieldDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseArgumentDefs();this.expectToken(Ka.COLON);var r=this.parseTypeReference(),l=this.parseConstDirectives();return this.node(e,{kind:X.FIELD_DEFINITION,description:n,name:t,arguments:i,type:r,directives:l})}},{key:"parseArgumentDefs",value:function(){return this.optionalMany(Ka.PAREN_L,this.parseInputValueDef,Ka.PAREN_R)}},{key:"parseInputValueDef",value:function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName();this.expectToken(Ka.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(Ka.EQUALS)&&(i=this.parseConstValueLiteral());var l=this.parseConstDirectives();return this.node(e,{kind:X.INPUT_VALUE_DEFINITION,description:n,name:t,type:r,defaultValue:i,directives:l})}},{key:"parseInterfaceTypeDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(e,{kind:X.INTERFACE_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:l})}},{key:"parseUnionTypeDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");var t=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:X.UNION_TYPE_DEFINITION,description:n,name:t,directives:i,types:r})}},{key:"parseUnionMemberTypes",value:function(){return this.expectOptionalToken(Ka.EQUALS)?this.delimitedMany(Ka.PIPE,this.parseNamedType):[]}},{key:"parseEnumTypeDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");var t=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:X.ENUM_TYPE_DEFINITION,description:n,name:t,directives:i,values:r})}},{key:"parseEnumValuesDefinition",value:function(){return this.optionalMany(Ka.BRACE_L,this.parseEnumValueDefinition,Ka.BRACE_R)}},{key:"parseEnumValueDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:X.ENUM_VALUE_DEFINITION,description:n,name:t,directives:i})}},{key:"parseEnumValueName",value:function(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Xa(this._lexer.source,this._lexer.token.start,"".concat(bo(this._lexer.token)," is reserved and cannot be used for an enum value."));return this.parseName()}},{key:"parseInputObjectTypeDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");var t=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:X.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:t,directives:i,fields:r})}},{key:"parseInputFieldsDefinition",value:function(){return this.optionalMany(Ka.BRACE_L,this.parseInputValueDef,Ka.BRACE_R)}},{key:"parseTypeSystemExtension",value:function(){var e=this._lexer.lookahead();if(e.kind===Ka.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}},{key:"parseSchemaExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var n=this.parseConstDirectives(),t=this.optionalMany(Ka.BRACE_L,this.parseOperationTypeDefinition,Ka.BRACE_R);if(0===n.length&&0===t.length)throw this.unexpected();return this.node(e,{kind:X.SCHEMA_EXTENSION,directives:n,operationTypes:t})}},{key:"parseScalarTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var n=this.parseName(),t=this.parseConstDirectives();if(0===t.length)throw this.unexpected();return this.node(e,{kind:X.SCALAR_TYPE_EXTENSION,name:n,directives:t})}},{key:"parseObjectTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:X.OBJECT_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r})}},{key:"parseInterfaceTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:X.INTERFACE_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r})}},{key:"parseUnionTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var n=this.parseName(),t=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:X.UNION_TYPE_EXTENSION,name:n,directives:t,types:i})}},{key:"parseEnumTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var n=this.parseName(),t=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:X.ENUM_TYPE_EXTENSION,name:n,directives:t,values:i})}},{key:"parseInputObjectTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var n=this.parseName(),t=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:X.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:t,fields:i})}},{key:"parseDirectiveDefinition",value:function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Ka.AT);var t=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var l=this.parseDirectiveLocations();return this.node(e,{kind:X.DIRECTIVE_DEFINITION,description:n,name:t,arguments:i,repeatable:r,locations:l})}},{key:"parseDirectiveLocations",value:function(){return this.delimitedMany(Ka.PIPE,this.parseDirectiveLocation)}},{key:"parseDirectiveLocation",value:function(){var e=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call($a,n.value))return n;throw this.unexpected(e)}},{key:"node",value:function(e,n){var t;return!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation)&&(n.loc=new ee(e,this._lexer.lastToken,this._lexer.source)),n}},{key:"peek",value:function(e){return this._lexer.token.kind===e}},{key:"expectToken",value:function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n;throw Xa(this._lexer.source,n.start,"Expected ".concat(ko(e),", found ").concat(bo(n),"."))}},{key:"expectOptionalToken",value:function(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}},{key:"expectKeyword",value:function(e){var n=this._lexer.token;if(n.kind!==Ka.NAME||n.value!==e)throw Xa(this._lexer.source,n.start,'Expected "'.concat(e,'", found ').concat(bo(n),"."));this._lexer.advance()}},{key:"expectOptionalKeyword",value:function(e){var n=this._lexer.token;return n.kind===Ka.NAME&&n.value===e&&(this._lexer.advance(),!0)}},{key:"unexpected",value:function(e){var n=null!==e&&void 0!==e?e:this._lexer.token;return Xa(this._lexer.source,n.start,"Unexpected ".concat(bo(n),"."))}},{key:"any",value:function(e,n,t){this.expectToken(e);for(var i=[];!this.expectOptionalToken(t);)i.push(n.call(this));return i}},{key:"optionalMany",value:function(e,n,t){if(this.expectOptionalToken(e)){var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i}return[]}},{key:"many",value:function(e,n,t){this.expectToken(e);var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i}},{key:"delimitedMany",value:function(e,n){this.expectOptionalToken(e);var t=[];do{t.push(n.call(this))}while(this.expectOptionalToken(e));return t}}]),e}();function bo(e){var n=e.value;return ko(e.kind)+(null!=n?' "'.concat(n,'"'):"")}function ko(e){return function(e){return e===Ka.BANG||e===Ka.DOLLAR||e===Ka.AMP||e===Ka.PAREN_L||e===Ka.PAREN_R||e===Ka.SPREAD||e===Ka.COLON||e===Ka.EQUALS||e===Ka.AT||e===Ka.BRACKET_L||e===Ka.BRACKET_R||e===Ka.BRACE_L||e===Ka.PIPE||e===Ka.BRACE_R}(e)?'"'.concat(e,'"'):e}var Ro=new Map,No=new Map,Eo=!0,xo=!1;function Co(e){return e.replace(/[\s,]+/g," ").trim()}function So(e){var n=new Set,t=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var i=e.name.value,r=Co((a=e.loc).source.body.substring(a.start,a.end)),l=No.get(i);l&&!l.has(r)?Eo&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):l||No.set(i,l=new Set),l.add(r),n.has(r)||(n.add(r),t.push(e))}else t.push(e);var a})),v(v({},e),{definitions:t})}function wo(e){var n=Co(e);if(!Ro.has(n)){var t=function(e,n){return new To(e,n).parseDocument()}(e,{experimentalFragmentVariables:xo,allowLegacyFragmentVariables:xo});if(!t||"Document"!==t.kind)throw new Error("Not a valid GraphQL document.");Ro.set(n,function(e){var n=new Set(e.definitions);n.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(t){var i=e[t];i&&"object"===typeof i&&n.add(i)}))}));var t=e.loc;return t&&(delete t.startToken,delete t.endToken),e}(So(t)))}return Ro.get(n)}function Do(e){for(var n=[],t=1;t3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return{name:e,tableName:"production_intelligence_".concat(t||e),fields:n,customQueries:i,customResponseParsers:r}},Fo=Mo("customers",["id","name"]),jo=Mo("productionLines",["id","name"],"production_lines"),Jo="settings { key, value, type }",Zo=Mo("customerAndProductionLines",[].concat((0,z.Z)(Fo.fields),[Jo,"production_lines { id, name, ".concat(Jo," }")]),"customers"),zo=Mo("events",["id","time","lane","type { name }"]),Ho=Mo("orders",["id","name","tm_start","tm_end","production_line { name }"]),qo=Mo("lastHourProduction",["id: line_id","last_product","first_product","total_products_count","failed_products_count","production_line { name }"],"v_last_hour_production"),Wo=function(){return Do(Vo||(Vo=Oa(['query getCurrentProduction {\n production_intelligence_v_last_24_hours_production {\n customer_id\n line_id\n total_products_count\n failed_products_count\n first_product\n last_product\n }\n production_intelligence_v_last_hour_production {\n customer_id\n line_id\n total_products_count\n failed_products_count\n first_product\n last_product\n }\n production_intelligence_mv_hourly_production(where: {bucket: {_gte: "','"}}) {\n customer_id\n line_id\n bucket\n failed_products_count\n first_product\n last_product\n total_products_count\n }\n production_intelligence_orders(order_by: {id: desc}, limit: 1) {\n customer_id\n line_id\n name\n tm_start\n }\n}'])),new Date(60*Math.floor(((new Date).getTime()-864e5)/36e5)*6e4).toISOString())},Go=function(e){var n=e.data,t=n.production_intelligence_mv_hourly_production,i=n.production_intelligence_orders,r=n.production_intelligence_v_last_24_hours_production,l=n.production_intelligence_v_last_hour_production,a=function(e){return e.line_id},o=function(e){return function(n){return n.line_id===e}},s=[t,i,r,l],u=s.map((function(e){return e.map(a).filter((function(e,n,t){return t.indexOf(e)===n}))})).reduce((function(e,n){return[].concat((0,z.Z)(e),(0,z.Z)(n))}),[]).filter((function(e,n,t){return t.indexOf(e)===n}));return console.log({response:e,responseData:s,ids:u}),{data:u.map((function(e){return{id:e,hourlyProduction:t.filter(o(e)),orders:i.filter(o(e)),lastDay:r.filter(o(e)),lastHour:l.filter(o(e))}})),total:u.length}},Ko=[Fo,jo,zo,Ho,qo,Zo,Mo("currentProduction",[],"current_production",{GET_LIST:Wo,GET_MANY:Wo},{GET_LIST:Go,GET_MANY:Go})];function $o(e){return function(e,n,t){var i=Ko.find((function(e){return e.name===n}));if(!i)throw new Error('Table "'.concat(n,'" is not available. Please use one of the following: ').concat(JSON.stringify(Ko.map((function(e){return e.name})))));var r=i.customResponseParsers[e],l=i.customQueries[e];if(l){var a=l();return console.log({query:a}),{query:a,variables:{},parseResponse:function(e){return console.log({response:e}),r?r(e):e}}}return console.log("QUERY ".concat(e," ").concat(n)),"GET_LIST"===e?{query:Do(Bo||(Bo=Oa(["query GET_","($limit: Int, $offset: Int, $order_by: [","_order_by!]) {\n data: "," (limit: $limit, offset: $offset, order_by: $order_by) {\n ","\n },\n aggregateData: ","_aggregate {\n aggregate {\n totalCount: count\n }\n }\n }"])),n,i.tableName,i.tableName,i.fields.reduce((function(e,n){return"".concat(e).concat(e.length>0?", ":"").concat(n)})),i.tableName),variables:{limit:t.pagination?t.pagination.perPage:100,offset:t.pagination?(t.pagination.page-1)*t.pagination.perPage:0,order_by:t.sort?{production_line:{name:"DESC"===t.sort.order?"desc":"asc"}}:{}},parseResponse:function(e){var n=e.data.aggregateData.aggregate.totalCount;return{data:e.data.data,total:n}}}:{}}}function Yo(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Ia(e,n)}var Qo=t(7462);function Xo(e){return"/"===e.charAt(0)}function es(e,n){for(var t=n,i=t+1,r=e.length;i=0;c--){var d=r[c];"."===d?es(r,c):".."===d?(es(r,c),u++):u&&(es(r,c),u--)}if(!o)for(;u--;u)r.unshift("..");!o||""===r[0]||r[0]&&Xo(r[0])||r.unshift("");var p=r.join("/");return t&&"/"!==p.substr(-1)&&(p+="/"),p};function ts(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var is=function e(n,t){if(n===t)return!0;if(null==n||null==t)return!1;if(Array.isArray(n))return Array.isArray(t)&&n.length===t.length&&n.every((function(n,i){return e(n,t[i])}));if("object"===typeof n||"object"===typeof t){var i=ts(n),r=ts(t);return i!==n||r!==t?e(i,r):Object.keys(Object.assign({},n,t)).every((function(i){return e(n[i],t[i])}))}return!1},rs="Invariant failed";function ls(e,n){if(!e)throw new Error(rs)}function as(e){return"/"===e.charAt(0)?e:"/"+e}function os(e){return"/"===e.charAt(0)?e.substr(1):e}function ss(e,n){return function(e,n){return 0===e.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(n.length))}(e,n)?e.substr(n.length):e}function us(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function cs(e){var n=e.pathname,t=e.search,i=e.hash,r=n||"/";return t&&"?"!==t&&(r+="?"===t.charAt(0)?t:"?"+t),i&&"#"!==i&&(r+="#"===i.charAt(0)?i:"#"+i),r}function ds(e,n,t,i){var r;"string"===typeof e?(r=function(e){var n=e||"/",t="",i="",r=n.indexOf("#");-1!==r&&(i=n.substr(r),n=n.substr(0,r));var l=n.indexOf("?");return-1!==l&&(t=n.substr(l),n=n.substr(0,l)),{pathname:n,search:"?"===t?"":t,hash:"#"===i?"":i}}(e),r.state=n):(void 0===(r=(0,Qo.Z)({},e)).pathname&&(r.pathname=""),r.search?"?"!==r.search.charAt(0)&&(r.search="?"+r.search):r.search="",r.hash?"#"!==r.hash.charAt(0)&&(r.hash="#"+r.hash):r.hash="",void 0!==n&&void 0===r.state&&(r.state=n));try{r.pathname=decodeURI(r.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return t&&(r.key=t),i?r.pathname?"/"!==r.pathname.charAt(0)&&(r.pathname=ns(r.pathname,i.pathname)):r.pathname=i.pathname:r.pathname||(r.pathname="/"),r}function ps(){var e=null;var n=[];return{setPrompt:function(n){return e=n,function(){e===n&&(e=null)}},confirmTransitionTo:function(n,t,i,r){if(null!=e){var l="function"===typeof e?e(n,t):e;"string"===typeof l?"function"===typeof i?i(l,r):r(!0):r(!1!==l)}else r(!0)},appendListener:function(e){var t=!0;function i(){t&&e.apply(void 0,arguments)}return n.push(i),function(){t=!1,n=n.filter((function(e){return e!==i}))}},notifyListeners:function(){for(var e=arguments.length,t=new Array(e),i=0;in?t.splice(n,t.length-n,r):t.push(r),c({action:i,location:r,index:n,entries:t})}}))},replace:function(e,n){var i="REPLACE",r=ds(e,n,d(),_.location);u.confirmTransitionTo(r,i,t,(function(e){e&&(_.entries[_.index]=r,c({action:i,location:r}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var n=_.index+e;return n>=0&&n<_.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return _}var Cs=t(2007),Ss=t.n(Cs),ws=1073741823,Ds="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t.g?t.g:{};function As(e){var n=[];return{on:function(e){n.push(e)},off:function(e){n=n.filter((function(n){return n!==e}))},get:function(){return e},set:function(t,i){e=t,n.forEach((function(n){return n(e,i)}))}}}var Os=l.createContext||function(e,n){var t,i,r="__create-react-context-"+function(){var e="__global_unique_id__";return Ds[e]=(Ds[e]||0)+1}()+"__",a=function(e){function t(){var n;return(n=e.apply(this,arguments)||this).emitter=As(n.props.value),n}Yo(t,e);var i=t.prototype;return i.getChildContext=function(){var e;return(e={})[r]=this.emitter,e},i.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t,i=this.props.value,r=e.value;!function(e,n){return e===n?0!==e||1/e===1/n:e!==e&&n!==n}(i,r)?(t="function"===typeof n?n(i,r):ws,0!==(t|=0)&&this.emitter.set(e.value,t)):t=0}},i.render=function(){return this.props.children},t}(l.Component);a.childContextTypes=((t={})[r]=Ss().object.isRequired,t);var o=function(n){function t(){var e;return(e=n.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(n,t){0!==((0|e.observedBits)&t)&&e.setState({value:e.getValue()})},e}Yo(t,n);var i=t.prototype;return i.componentWillReceiveProps=function(e){var n=e.observedBits;this.observedBits=void 0===n||null===n?ws:n},i.componentDidMount=function(){this.context[r]&&this.context[r].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?ws:e},i.componentWillUnmount=function(){this.context[r]&&this.context[r].off(this.onUpdate)},i.getValue=function(){return this.context[r]?this.context[r].get():e},i.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},t}(l.Component);return o.contextTypes=((i={})[r]=Ss().object,i),{Provider:a,Consumer:o}},Ls=Os,Is=t(6151),Us=t.n(Is),Ps=(t(8228),t(1975)),Vs=t.n(Ps),Bs=function(e){var n=Ls();return n.displayName=e,n},Ms=Bs("Router-History"),Fs=Bs("Router"),js=function(e){function n(n){var t;return(t=e.call(this,n)||this).state={location:n.history.location},t._isMounted=!1,t._pendingLocation=null,n.staticContext||(t.unlisten=n.history.listen((function(e){t._isMounted?t.setState({location:e}):t._pendingLocation=e}))),t}Yo(n,e),n.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var t=n.prototype;return t.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},t.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},t.render=function(){return l.createElement(Fs.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},l.createElement(Ms.Provider,{children:this.props.children||null,value:this.props.history}))},n}(l.Component);l.Component;var Js=function(e){function n(){return e.apply(this,arguments)||this}Yo(n,e);var t=n.prototype;return t.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},t.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},t.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},t.render=function(){return null},n}(l.Component);var Zs={},zs=0;function Hs(e,n){return void 0===e&&(e="/"),void 0===n&&(n={}),"/"===e?e:function(e){if(Zs[e])return Zs[e];var n=Us().compile(e);return zs<1e4&&(Zs[e]=n,zs++),n}(e)(n,{pretty:!0})}function qs(e){var n=e.computedMatch,t=e.to,i=e.push,r=void 0!==i&&i;return l.createElement(Fs.Consumer,null,(function(e){e||ls(!1);var i=e.history,a=e.staticContext,o=r?i.push:i.replace,s=ds(n?"string"===typeof t?Hs(t,n.params):(0,Qo.Z)({},t,{pathname:Hs(t.pathname,n.params)}):t);return a?(o(s),null):l.createElement(Js,{onMount:function(){o(s)},onUpdate:function(e,n){var t=ds(n.to);(function(e,n){return e.pathname===n.pathname&&e.search===n.search&&e.hash===n.hash&&e.key===n.key&&is(e.state,n.state)})(t,(0,Qo.Z)({},s,{key:t.key}))||o(s)},to:t})}))}var Ws={},Gs=0;function Ks(e,n){void 0===n&&(n={}),("string"===typeof n||Array.isArray(n))&&(n={path:n});var t=n,i=t.path,r=t.exact,l=void 0!==r&&r,a=t.strict,o=void 0!==a&&a,s=t.sensitive,u=void 0!==s&&s;return[].concat(i).reduce((function(n,t){if(!t&&""!==t)return null;if(n)return n;var i=function(e,n){var t=""+n.end+n.strict+n.sensitive,i=Ws[t]||(Ws[t]={});if(i[e])return i[e];var r=[],l={regexp:Us()(e,r,n),keys:r};return Gs<1e4&&(i[e]=l,Gs++),l}(t,{end:l,strict:o,sensitive:u}),r=i.regexp,a=i.keys,s=r.exec(e);if(!s)return null;var c=s[0],d=s.slice(1),p=e===c;return l&&!p?null:{path:t,url:"/"===t&&""===c?"/":c,isExact:p,params:a.reduce((function(e,n,t){return e[n.name]=d[t],e}),{})}}),null)}var $s=function(e){function n(){return e.apply(this,arguments)||this}return Yo(n,e),n.prototype.render=function(){var e=this;return l.createElement(Fs.Consumer,null,(function(n){n||ls(!1);var t=e.props.location||n.location,i=e.props.computedMatch?e.props.computedMatch:e.props.path?Ks(t.pathname,e.props):n.match,r=(0,Qo.Z)({},n,{location:t,match:i}),a=e.props,o=a.children,s=a.component,u=a.render;return Array.isArray(o)&&function(e){return 0===l.Children.count(e)}(o)&&(o=null),l.createElement(Fs.Provider,{value:r},r.match?o?"function"===typeof o?o(r):o:s?l.createElement(s,r):u?u(r):null:"function"===typeof o?o(r):null)}))},n}(l.Component);function Ys(e){return"/"===e.charAt(0)?e:"/"+e}function Qs(e,n){if(!e)return n;var t=Ys(e);return 0!==n.pathname.indexOf(t)?n:(0,Qo.Z)({},n,{pathname:n.pathname.substr(t.length)})}function Xs(e){return"string"===typeof e?e:cs(e)}function eu(e){return function(){ls(!1)}}function nu(){}l.Component;l.Component;var tu=l.useContext;function iu(){return tu(Ms)}var ru=function(e){function n(){for(var n,t=arguments.length,i=new Array(t),r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!n||!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[t["spacing-xs-".concat(String(e))]||"spacing-xs-".concat(String(e))];var i=e.xs,r=e.sm,l=e.md,a=e.lg,o=e.xl;return[Number(i)>0&&(t["spacing-xs-".concat(String(i))]||"spacing-xs-".concat(String(i))),Number(r)>0&&(t["spacing-sm-".concat(String(r))]||"spacing-sm-".concat(String(r))),Number(l)>0&&(t["spacing-md-".concat(String(l))]||"spacing-md-".concat(String(l))),Number(a)>0&&(t["spacing-lg-".concat(String(a))]||"spacing-lg-".concat(String(a))),Number(o)>0&&(t["spacing-xl-".concat(String(o))]||"spacing-xl-".concat(String(o)))]}var Au=(0,Hr.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState,i=t.container,r=t.direction,l=t.item,a=t.lg,o=t.md,s=t.sm,u=t.spacing,c=t.wrap,d=t.xl,p=t.xs,f=t.zeroMinWidth;return[n.root,i&&n.container,l&&n.item,f&&n.zeroMinWidth].concat((0,z.Z)(Du(u,i,n)),["row"!==r&&n["direction-xs-".concat(String(r))],"wrap"!==c&&n["wrap-xs-".concat(String(c))],!1!==p&&n["grid-xs-".concat(String(p))],!1!==s&&n["grid-sm-".concat(String(s))],!1!==o&&n["grid-md-".concat(String(o))],!1!==a&&n["grid-lg-".concat(String(a))],!1!==d&&n["grid-xl-".concat(String(d))]])}})((function(e){var n=e.ownerState;return(0,Qo.Z)({boxSizing:"border-box"},n.container&&{display:"flex",flexWrap:"wrap",width:"100%"},n.item&&{margin:0},n.zeroMinWidth&&{minWidth:0},"nowrap"===n.wrap&&{flexWrap:"nowrap"},"reverse"===n.wrap&&{flexWrap:"wrap-reverse"})}),(function(e){var n=e.theme,t=e.ownerState,i=(0,mu.P$)({values:t.direction,breakpoints:n.breakpoints.values});return(0,mu.k9)({theme:n},i,(function(e){var n={flexDirection:e};return 0===e.indexOf("column")&&(n["& > .".concat(Cu.item)]={maxWidth:"none"}),n}))}),(function(e){var n=e.theme,t=e.ownerState,i=t.container,r=t.rowSpacing,l={};if(i&&0!==r){var a=(0,mu.P$)({values:r,breakpoints:n.breakpoints.values});l=(0,mu.k9)({theme:n},a,(function(e){var t=n.spacing(e);return"0px"!==t?(0,c.Z)({marginTop:"-".concat(wu(t))},"& > .".concat(Cu.item),{paddingTop:wu(t)}):{}}))}return l}),(function(e){var n=e.theme,t=e.ownerState,i=t.container,r=t.columnSpacing,l={};if(i&&0!==r){var a=(0,mu.P$)({values:r,breakpoints:n.breakpoints.values});l=(0,mu.k9)({theme:n},a,(function(e){var t=n.spacing(e);return"0px"!==t?(0,c.Z)({width:"calc(100% + ".concat(wu(t),")"),marginLeft:"-".concat(wu(t))},"& > .".concat(Cu.item),{paddingLeft:wu(t)}):{}}))}return l}),(function(e){var n,t=e.theme,i=e.ownerState;return t.breakpoints.keys.reduce((function(e,r){var l={};if(i[r]&&(n=i[r]),!n)return e;if(!0===n)l={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)l={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=(0,mu.P$)({values:i.columns,breakpoints:t.breakpoints.values}),o="object"===typeof a?a[r]:a;if(void 0===o||null===o)return e;var s="".concat(Math.round(n/o*1e8)/1e6,"%"),u={};if(i.container&&i.item&&0!==i.columnSpacing){var c=t.spacing(i.columnSpacing);if("0px"!==c){var d="calc(".concat(s," + ").concat(wu(c),")");u={flexBasis:d,maxWidth:d}}}l=(0,Qo.Z)({flexBasis:s,flexGrow:0,maxWidth:s},u)}return 0===t.breakpoints.values[r]?Object.assign(e,l):e[t.breakpoints.up(r)]=l,e}),{})})),Ou=l.forwardRef((function(e,n){var t,i=gu((0,Tu.Z)({props:e,name:"MuiGrid"})),r=i.className,a=i.columns,o=i.columnSpacing,s=i.component,u=void 0===s?"div":s,c=i.container,d=void 0!==c&&c,p=i.direction,m=void 0===p?"row":p,y=i.item,_=void 0!==y&&y,h=i.lg,g=void 0!==h&&h,v=i.md,T=void 0!==v&&v,b=i.rowSpacing,k=i.sm,R=void 0!==k&&k,N=i.spacing,E=void 0===N?0:N,x=i.wrap,C=void 0===x?"wrap":x,S=i.xl,w=void 0!==S&&S,D=i.xs,A=void 0!==D&&D,O=i.zeroMinWidth,L=void 0!==O&&O,I=(0,f.Z)(i,Su),U=b||E,P=o||E,V=l.useContext(bu),B=a||V||12,M=(0,Qo.Z)({},i,{columns:B,container:d,direction:m,item:_,lg:g,md:T,sm:R,rowSpacing:U,columnSpacing:P,wrap:C,xl:w,xs:A,zeroMinWidth:L}),F=function(e){var n=e.classes,t=e.container,i=e.direction,r=e.item,l=e.lg,a=e.md,o=e.sm,s=e.spacing,u=e.wrap,c=e.xl,d=e.xs,p={root:["root",t&&"container",r&&"item",e.zeroMinWidth&&"zeroMinWidth"].concat((0,z.Z)(Du(s,t)),["row"!==i&&"direction-xs-".concat(String(i)),"wrap"!==u&&"wrap-xs-".concat(String(u)),!1!==d&&"grid-xs-".concat(String(d)),!1!==o&&"grid-sm-".concat(String(o)),!1!==a&&"grid-md-".concat(String(a)),!1!==l&&"grid-lg-".concat(String(l)),!1!==c&&"grid-xl-".concat(String(c))])};return(0,vu.Z)(p,Nu,n)}(M);return t=(0,oa.jsx)(Au,(0,Qo.Z)({ownerState:M,className:(0,fu.Z)(F.root,r),as:u,ref:n},I)),12!==B?(0,oa.jsx)(bu.Provider,{value:B,children:t}):t})),Lu=Ou,Iu="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uu="object"===("undefined"===typeof window?"undefined":Iu(window))&&"object"===("undefined"===typeof document?"undefined":Iu(document))&&9===document.nodeType,Pu={}.constructor;function Vu(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(Vu);if(e.constructor!==Pu)return e;var n={};for(var t in e)n[t]=Vu(e[t]);return n}function Bu(e,n,t){void 0===e&&(e="unnamed");var i=t.jss,r=Vu(n),l=i.plugins.onCreateRule(e,r,t);return l||(e[0],null)}var Mu=function(e,n){for(var t="",i=0;i<+~=|^:(),"'`\s])/g,Hu="undefined"!==typeof CSS&&CSS.escape,qu=function(e){return Hu?Hu(e):e.replace(zu,"\\$1")},Wu=function(){function e(e,n,t){this.type="style",this.isProcessed=!1;var i=t.sheet,r=t.Renderer;this.key=e,this.options=t,this.style=n,i?this.renderer=i.renderer:r&&(this.renderer=new r)}return e.prototype.prop=function(e,n,t){if(void 0===n)return this.style[e];var i=!!t&&t.force;if(!i&&this.style[e]===n)return this;var r=n;t&&!1===t.process||(r=this.options.jss.plugins.onChangeValue(n,e,this));var l=null==r||!1===r,a=e in this.style;if(l&&!a&&!i)return this;var o=l&&a;if(o?delete this.style[e]:this.style[e]=r,this.renderable&&this.renderer)return o?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,r),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Gu=function(e){function n(n,t,i){var r;r=e.call(this,n,t,i)||this;var l=i.selector,a=i.scoped,o=i.sheet,s=i.generateId;return l?r.selectorText=l:!1!==a&&(r.id=s(La(La(r)),o),r.selectorText="."+qu(r.id)),r}Yo(n,e);var t=n.prototype;return t.applyTo=function(e){var n=this.renderer;if(n){var t=this.toJSON();for(var i in t)n.setProperty(e,i,t[i])}return this},t.toJSON=function(){var e={};for(var n in this.style){var t=this.style[n];"object"!==typeof t?e[n]=t:Array.isArray(t)&&(e[n]=Fu(t))}return e},t.toString=function(e){var n=this.options.sheet,t=!!n&&n.options.link?(0,Qo.Z)({},e,{allowEmpty:!0}):e;return Zu(this.selectorText,this.style,t)},Z(n,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var n=this.renderer,t=this.renderable;if(t&&n)n.setSelector(t,e)||n.replaceRule(t,this)}},get:function(){return this.selectorText}}]),n}(Wu),Ku={onCreateRule:function(e,n,t){return"@"===e[0]||t.parent&&"keyframes"===t.parent.type?null:new Gu(e,n,t)}},$u={indent:1,children:!0},Yu=/@([\w-]+)/,Qu=function(){function e(e,n,t){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(Yu);for(var r in this.at=i?i[1]:"unknown",this.query=t.name||"@"+this.at,this.options=t,this.rules=new kc((0,Qo.Z)({},t,{parent:this})),n)this.rules.add(r,n[r]);this.rules.process()}var n=e.prototype;return n.getRule=function(e){return this.rules.get(e)},n.indexOf=function(e){return this.rules.indexOf(e)},n.addRule=function(e,n,t){var i=this.rules.add(e,n,t);return i?(this.options.jss.plugins.onProcessRule(i),i):null},n.replaceRule=function(e,n,t){var i=this.rules.replace(e,n,t);return i&&this.options.jss.plugins.onProcessRule(i),i},n.toString=function(e){void 0===e&&(e=$u);var n=ju(e).linebreak;if(null==e.indent&&(e.indent=$u.indent),null==e.children&&(e.children=$u.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {"+n+t+n+"}":""},e}(),Xu=/@media|@supports\s+/,ec={onCreateRule:function(e,n,t){return Xu.test(e)?new Qu(e,n,t):null}},nc={indent:1,children:!0},tc=/@keyframes\s+([\w-]+)/,ic=function(){function e(e,n,t){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(tc);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=t;var r=t.scoped,l=t.sheet,a=t.generateId;for(var o in this.id=!1===r?this.name:qu(a(this,l)),this.rules=new kc((0,Qo.Z)({},t,{parent:this})),n)this.rules.add(o,n[o],(0,Qo.Z)({},t,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=nc);var n=ju(e).linebreak;if(null==e.indent&&(e.indent=nc.indent),null==e.children&&(e.children=nc.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t=""+n+t+n),this.at+" "+this.id+" {"+t+"}"},e}(),rc=/@keyframes\s+/,lc=/\$([\w-]+)/g,ac=function(e,n){return"string"===typeof e?e.replace(lc,(function(e,t){return t in n?n[t]:e})):e},oc=function(e,n,t){var i=e[n],r=ac(i,t);r!==i&&(e[n]=r)},sc={onCreateRule:function(e,n,t){return"string"===typeof e&&rc.test(e)?new ic(e,n,t):null},onProcessStyle:function(e,n,t){return"style"===n.type&&t?("animation-name"in e&&oc(e,"animation-name",t.keyframes),"animation"in e&&oc(e,"animation",t.keyframes),e):e},onChangeValue:function(e,n,t){var i=t.options.sheet;if(!i)return e;switch(n){case"animation":case"animation-name":return ac(e,i.keyframes);default:return e}}},uc=function(e){function n(){return e.apply(this,arguments)||this}return Yo(n,e),n.prototype.toString=function(e){var n=this.options.sheet,t=!!n&&n.options.link?(0,Qo.Z)({},e,{allowEmpty:!0}):e;return Zu(this.key,this.style,t)},n}(Wu),cc={onCreateRule:function(e,n,t){return t.parent&&"keyframes"===t.parent.type?new uc(e,n,t):null}},dc=function(){function e(e,n,t){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=n,this.options=t}return e.prototype.toString=function(e){var n=ju(e).linebreak;if(Array.isArray(this.style)){for(var t="",i=0;i=this.index)n.push(e);else for(var i=0;it)return void n.splice(i,0,e)},n.reset=function(){this.registry=[]},n.remove=function(e){var n=this.registry.indexOf(e);this.registry.splice(n,1)},n.toString=function(e){for(var n=void 0===e?{}:e,t=n.attached,i=(0,f.Z)(n,["attached"]),r=ju(i).linebreak,l="",a=0;a0){var t=function(e,n){for(var t=0;tn.index&&i.options.insertionPoint===n.insertionPoint)return i}return null}(n,e);if(t&&t.renderer)return{parent:t.renderer.element.parentNode,node:t.renderer.element};if(t=function(e,n){for(var t=e.length-1;t>=0;t--){var i=e[t];if(i.attached&&i.options.insertionPoint===n.insertionPoint)return i}return null}(n,e),t&&t.renderer)return{parent:t.renderer.element.parentNode,node:t.renderer.element.nextSibling}}var i=e.insertionPoint;if(i&&"string"===typeof i){var r=function(e){for(var n=Pc(),t=0;tt?t:n},jc=function(){function e(e){this.getPropertyValue=Oc,this.setProperty=Lc,this.removeProperty=Ic,this.setSelector=Uc,this.hasInsertedRules=!1,this.cssRules=[],e&&xc.add(e),this.sheet=e;var n=this.sheet?this.sheet.options:{},t=n.media,i=n.meta,r=n.element;this.element=r||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),t&&this.element.setAttribute("media",t),i&&this.element.setAttribute("data-meta",i);var l=Bc();l&&this.element.setAttribute("nonce",l)}var n=e.prototype;return n.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,n){var t=n.insertionPoint,i=Vc(n);if(!1!==i&&i.parent)i.parent.insertBefore(e,i.node);else if(t&&"number"===typeof t.nodeType){var r=t,l=r.parentNode;l&&l.insertBefore(e,r.nextSibling)}else Pc().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},n.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},n.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},n.insertRules=function(e,n){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},n=e.baseClasses,t=e.newClasses;e.Component;if(!t)return n;var i=(0,Qo.Z)({},n);return Object.keys(t).forEach((function(e){t[e]&&(i[e]="".concat(n[e]," ").concat(t[e]))})),i}var Gc={set:function(e,n,t,i){var r=e.get(n);r||(r=new Map,e.set(n,r)),r.set(t,i)},get:function(e,n,t){var i=e.get(n);return i?i.get(t):void 0},delete:function(e,n,t){e.get(n).delete(t)}},Kc=Gc,$c=t(9598),Yc="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Qc=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Xc=Date.now(),ed="fnValues"+Xc,nd="fnStyle"+ ++Xc,td=function(){return{onCreateRule:function(e,n,t){if("function"!==typeof n)return null;var i=Bu(e,{},t);return i[nd]=n,i},onProcessStyle:function(e,n){if(ed in n||nd in n)return e;var t={};for(var i in e){var r=e[i];"function"===typeof r&&(delete e[i],t[i]=r)}return n[ed]=t,e},onUpdate:function(e,n,t,i){var r=n,l=r[nd];l&&(r.style=l(e)||{});var a=r[ed];if(a)for(var o in a)r.prop(o,a[o](e),i)}}},id="@global",rd="@global ",ld=function(){function e(e,n,t){for(var i in this.type="global",this.at=id,this.isProcessed=!1,this.key=e,this.options=t,this.rules=new kc((0,Qo.Z)({},t,{parent:this})),n)this.rules.add(i,n[i]);this.rules.process()}var n=e.prototype;return n.getRule=function(e){return this.rules.get(e)},n.addRule=function(e,n,t){var i=this.rules.add(e,n,t);return i&&this.options.jss.plugins.onProcessRule(i),i},n.replaceRule=function(e,n,t){var i=this.rules.replace(e,n,t);return i&&this.options.jss.plugins.onProcessRule(i),i},n.indexOf=function(e){return this.rules.indexOf(e)},n.toString=function(e){return this.rules.toString(e)},e}(),ad=function(){function e(e,n,t){this.type="global",this.at=id,this.isProcessed=!1,this.key=e,this.options=t;var i=e.substr(rd.length);this.rule=t.jss.createRule(i,n,(0,Qo.Z)({},t,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),od=/\s*,\s*/g;function sd(e,n){for(var t=e.split(od),i="",r=0;r-1){var r=sp[e];if(!Array.isArray(r))return Pd+qd(r)in n&&Vd+r;if(!i)return!1;for(var l=0;ln?1:-1:e.length-n.length};return{onProcessStyle:function(n,t){if("style"!==t.type)return n;for(var i={},r=Object.keys(n).sort(e),l=0;l0&&void 0!==arguments[0]?arguments[0]:{},n=e.disableGlobal,t=void 0!==n&&n,i=e.productionPrefix,r=void 0===i?"jss":i,l=e.seed,a=void 0===l?"":l,o=""===a?"":"".concat(a,"-"),s=0,u=function(){return s+=1};return function(e,n){var i=n.options.name;if(i&&0===i.indexOf("Mui")&&!n.options.link&&!t){if(-1!==Qc.indexOf(e.key))return"Mui-".concat(e.key);var l="".concat(o).concat(i,"-").concat(e.key);return n.options.theme[Yc]&&""===a?"".concat(l,"-").concat(u()):l}return"".concat(o).concat(r).concat(u())}}(),wp={disableGeneration:!1,generateClassName:Sp,jss:Cp,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Dp=l.createContext(wp);var Ap=-1e9;function Op(){return Ap+=1}var Lp=t(7312),Ip=["variant"];function Up(e){return 0===e.length}function Pp(e){var n="function"===typeof e;return{create:function(t,i){var r;try{r=n?e(t):e}catch(s){throw s}if(!i||!t.components||!t.components[i]||!t.components[i].styleOverrides&&!t.components[i].variants)return r;var l=t.components[i].styleOverrides||{},a=t.components[i].variants||[],o=(0,Qo.Z)({},r);return Object.keys(l).forEach((function(e){o[e]=(0,yu.Z)(o[e]||{},l[e])})),a.forEach((function(e){var n=function(e){var n=e.variant,t=(0,f.Z)(e,Ip),i=n||"";return Object.keys(t).sort().forEach((function(n){i+="color"===n?Up(i)?e[n]:(0,Lp.Z)(e[n]):"".concat(Up(i)?n:(0,Lp.Z)(n)).concat((0,Lp.Z)(e[n].toString()))})),i}(e.props);o[n]=(0,yu.Z)(o[n]||{},e.style)})),o},options:{}}}var Vp={},Bp=["name","classNamePrefix","Component","defaultTheme"];function Mp(e,n,t){var i=e.state;if(e.stylesOptions.disableGeneration)return n||{};i.cacheClasses||(i.cacheClasses={value:null,lastProp:null,lastJSS:{}});var r=!1;return i.classes!==i.cacheClasses.lastJSS&&(i.cacheClasses.lastJSS=i.classes,r=!0),n!==i.cacheClasses.lastProp&&(i.cacheClasses.lastProp=n,r=!0),r&&(i.cacheClasses.value=Wc({baseClasses:i.cacheClasses.lastJSS,newClasses:n,Component:t})),i.cacheClasses.value}function Fp(e,n){var t=e.state,i=e.theme,r=e.stylesOptions,l=e.stylesCreator,a=e.name;if(!r.disableGeneration){var o=Kc.get(r.sheetsManager,l,i);o||(o={refs:0,staticSheet:null,dynamicStyles:null},Kc.set(r.sheetsManager,l,i,o));var s=(0,Qo.Z)({},l.options,r,{theme:i,flip:"boolean"===typeof r.flip?r.flip:"rtl"===i.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=r.sheetsRegistry;if(0===o.refs){var c;r.sheetsCache&&(c=Kc.get(r.sheetsCache,l,i));var d=l.create(i,a);c||((c=r.jss.createStyleSheet(d,(0,Qo.Z)({link:!1},s))).attach(),r.sheetsCache&&Kc.set(r.sheetsCache,l,i,c)),u&&u.add(c),o.staticSheet=c,o.dynamicStyles=qc(d)}if(o.dynamicStyles){var p=r.jss.createStyleSheet(o.dynamicStyles,(0,Qo.Z)({link:!0},s));p.update(n),p.attach(),t.dynamicSheet=p,t.classes=Wc({baseClasses:o.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else t.classes=o.staticSheet.classes;o.refs+=1}}function jp(e,n){var t=e.state;t.dynamicSheet&&t.dynamicSheet.update(n)}function Jp(e){var n=e.state,t=e.theme,i=e.stylesOptions,r=e.stylesCreator;if(!i.disableGeneration){var l=Kc.get(i.sheetsManager,r,t);l.refs-=1;var a=i.sheetsRegistry;0===l.refs&&(Kc.delete(i.sheetsManager,r,t),i.jss.removeStyleSheet(l.staticSheet),a&&a.remove(l.staticSheet)),n.dynamicSheet&&(i.jss.removeStyleSheet(n.dynamicSheet),a&&a.remove(n.dynamicSheet))}}function Zp(e,n){var t,i=l.useRef([]),r=l.useMemo((function(){return{}}),n);i.current!==r&&(i.current=r,t=e()),l.useEffect((function(){return function(){t&&t()}}),[r])}function zp(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.name,i=n.classNamePrefix,r=n.Component,a=n.defaultTheme,o=void 0===a?Vp:a,s=(0,f.Z)(n,Bp),u=Pp(e),c=t||i||"makeStyles";u.options={index:Op(),name:t,meta:c,classNamePrefix:c};var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,$c.Z)()||o,i=(0,Qo.Z)({},l.useContext(Dp),s),a=l.useRef(),c=l.useRef();Zp((function(){var r={name:t,state:{},stylesCreator:u,stylesOptions:i,theme:n};return Fp(r,e),c.current=!1,a.current=r,function(){Jp(r)}}),[n,u]),l.useEffect((function(){c.current&&jp(a.current,e),c.current=!0}));var d=Mp(a.current,e.classes,r);return d};return d}var Hp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.defaultTheme,t=function(e){var t=l.forwardRef((function(t,i){var r=(0,$c.Z)()||n;return(0,oa.jsx)(e,(0,Qo.Z)({theme:r,ref:i},t))}));return Vs()(t,e),t};return t}(),qp=Hp,Wp=t(1694),Gp=t.n(Wp),Kp=t(8092),$p=t.n(Kp);function Yp(e){return Yp="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yp(e)}var Qp=["viewBox","children"],Xp=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],ef=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],nf=function(e,n,t){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var i=e;if((0,l.isValidElement)(e)&&(i=e.props),!$p()(i))return null;var r={};return Object.keys(i).forEach((function(e){(Xp.includes(e)||t&&Qp.includes(e)||n&&ef.includes(e))&&(r[e]=i[e])})),r},tf=function(e,n){if(!e||"function"===typeof e||"boolean"===typeof e)return null;var t=e;if((0,l.isValidElement)(e)&&(t=e.props),!$p()(t))return null;var i={};return Object.keys(t).forEach((function(e){ef.includes(e)&&(i[e]=n||function(n){return t[e](t,n)})})),i},rf=function(e,n,t){if(!$p()(e)||"object"!==Yp(e))return null;var i=null;return Object.keys(e).forEach((function(r){var l=e[r];ef.includes(r)&&"function"===typeof l&&(i||(i={}),i[r]=function(e,n,t){return function(i){return e(n,t,i),null}}(l,n,t))})),i},lf=t(2854),af=t.n(lf),of=t(6181),sf=t.n(of),uf=t(3629),cf=t.n(uf),df=t(2066),pf=t.n(df),ff=t(298),mf=t.n(ff),yf=t(6769),_f=t.n(yf),hf=function(e){return 0===e?0:e>0?1:-1},gf=function(e){return _f()(e)&&e.indexOf("%")===e.length-1},vf=function(e){return mf()(e)&&!pf()(e)},Tf=function(e){return vf(e)||_f()(e)},bf=0,kf=function(e){var n=++bf;return"".concat(e||"").concat(n)},Rf=function(e,n){var t,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!vf(e)&&!_f()(e))return i;if(gf(e)){var l=e.indexOf("%");t=n*parseFloat(e.slice(0,l))/100}else t=+e;return pf()(t)&&(t=i),r&&t>n&&(t=n),t},Nf=function(e){if(!e)return null;var n=Object.keys(e);return n&&n.length?e[n[0]]:null},Ef=function(e,n){return vf(e)&&vf(n)?function(t){return e+t*(n-e)}:function(){return n}};function xf(e,n,t){return e&&e.length?e.find((function(e){return e&&("function"===typeof n?n(e):sf()(e,n))===t})):null}var Cf=t(8111),Sf=t.n(Cf),wf=t(4286),Df=t.n(wf),Af=t(2085),Of=t.n(Af),Lf=t(9627),If=t.n(Lf),Uf=t(6452),Pf=t.n(Uf),Vf=t(5008),Bf=t.n(Vf),Mf=t(4786),Ff=t.n(Mf),jf=t(4234),Jf=t.n(jf);function Zf(e){return function(e){if(Array.isArray(e))return zf(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return zf(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return zf(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zf(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t=n?t.apply(void 0,r):e(n-a,Gf((function(){for(var e=arguments.length,n=new Array(e),i=0;ie.length)&&(n=e.length);for(var t=0,i=new Array(n);ti&&(r=i,l=t),[r,l]}function dm(e,n,t){if(e.lte(0))return new(Jf())(0);var i=lm.getDigitCount(e.toNumber()),r=new(Jf())(10).pow(i),l=e.div(r),a=1!==i?.05:.1,o=new(Jf())(Math.ceil(l.div(a).toNumber())).add(t).mul(a).mul(r);return n?o:new(Jf())(Math.ceil(o))}function pm(e,n,t){var i=1,r=new(Jf())(e);if(!r.isint()&&t){var l=Math.abs(e);l<1?(i=new(Jf())(10).pow(lm.getDigitCount(e)-1),r=new(Jf())(Math.floor(r.div(i).toNumber())).mul(i)):l>1&&(r=new(Jf())(Math.floor(e)))}else 0===e?r=new(Jf())(Math.floor((n-1)/2)):t||(r=new(Jf())(Math.floor(e)));var a=Math.floor((n-1)/2);return Xf(Qf((function(e){return r.add(new(Jf())(e-a).mul(i)).toNumber()})),Yf)(0,n)}function fm(e,n,t,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((n-e)/(t-1)))return{step:new(Jf())(0),tickMin:new(Jf())(0),tickMax:new(Jf())(0)};var l,a=dm(new(Jf())(n).sub(e).div(t-1),i,r);l=e<=0&&n>=0?new(Jf())(0):(l=new(Jf())(e).add(n).div(2)).sub(new(Jf())(l).mod(a));var o=Math.ceil(l.sub(e).div(a).toNumber()),s=Math.ceil(new(Jf())(n).sub(l).div(a).toNumber()),u=o+s+1;return u>t?fm(e,n,t,i,r+1):(u0?s+(t-u):s,o=n>0?o:o+(t-u)),{step:a,tickMin:l.sub(new(Jf())(o).mul(a)),tickMax:l.add(new(Jf())(s).mul(a))})}var mm=nm((function(e){var n=om(e,2),t=n[0],i=n[1],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(r,2),o=cm([t,i]),s=om(o,2),u=s[0],c=s[1];if(u===-1/0||c===1/0){var d=c===1/0?[u].concat(am(Yf(0,r-1).map((function(){return 1/0})))):[].concat(am(Yf(0,r-1).map((function(){return-1/0}))),[c]);return t>i?em(d):d}if(u===c)return pm(u,r,l);var p=fm(u,c,a,l),f=p.step,m=p.tickMin,y=p.tickMax,_=lm.rangeStep(m,y.add(new(Jf())(.1).mul(f)),f);return t>i?em(_):_})),ym=(nm((function(e){var n=om(e,2),t=n[0],i=n[1],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(r,2),o=cm([t,i]),s=om(o,2),u=s[0],c=s[1];if(u===-1/0||c===1/0)return[t,i];if(u===c)return pm(u,r,l);var d=dm(new(Jf())(c).sub(u).div(a-1),l,0),p=Xf(Qf((function(e){return new(Jf())(u).add(new(Jf())(e).mul(d)).toNumber()})),Yf),f=p(0,a).filter((function(e){return e>=u&&e<=c}));return t>i?em(f):f})),nm((function(e,n){var t=om(e,2),i=t[0],r=t[1],l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=cm([i,r]),o=om(a,2),s=o[0],u=o[1];if(s===-1/0||u===1/0)return[i,r];if(s===u)return[s];var c=Math.max(n,2),d=dm(new(Jf())(u).sub(s).div(c-1),l,0),p=[].concat(am(lm.rangeStep(new(Jf())(s),new(Jf())(u).sub(new(Jf())(.99).mul(d)),d)),[u]);return i>r?em(p):p})));function _m(e,n,t){e=+e,n=+n,t=(r=arguments.length)<2?(n=e,e=0,1):r<3?1:+t;for(var i=-1,r=0|Math.max(0,Math.ceil((n-e)/t)),l=new Array(r);++i0)return[e];if((i=n0){var s=Math.round(e/a),u=Math.round(n/a);for(s*an&&--u,l=new Array(r=u-s+1);++on&&--d,l=new Array(r=d-c+1);++o=0?(l>=Nm?10:l>=Em?5:l>=xm?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(l>=Nm?10:l>=Em?5:l>=xm?2:1)}function wm(e,n,t){var i=Math.abs(n-e)/Math.max(0,t),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),l=i/r;return l>=Nm?r*=10:l>=Em?r*=5:l>=xm&&(r*=2),nn?1:e>=n?0:NaN}function Am(e){var n=e,t=e;function i(e,n,i,r){for(null==i&&(i=0),null==r&&(r=e.length);i>>1;t(e[l],n)<0?i=l+1:r=l}return i}return 1===e.length&&(n=function(n,t){return e(n)-t},t=function(e){return function(n,t){return Dm(e(n),t)}}(e)),{left:i,center:function(e,t,r,l){null==r&&(r=0),null==l&&(l=e.length);var a=i(e,t,r,l-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,i,r){for(null==i&&(i=0),null==r&&(r=e.length);i>>1;t(e[l],n)>0?r=l:i=l+1}return i}}}var Om=_().mark(Im);function Lm(e){return null===e?NaN:+e}function Im(e,n){var t,i,r,l,a,o,s;return _().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(void 0!==n){u.next=21;break}t=Y(e),u.prev=2,t.s();case 4:if((i=t.n()).done){u.next=11;break}if(!(null!=(r=i.value)&&(r=+r)>=r)){u.next=9;break}return u.next=9,r;case 9:u.next=4;break;case 11:u.next=16;break;case 13:u.prev=13,u.t0=u.catch(2),t.e(u.t0);case 16:return u.prev=16,t.f(),u.finish(16);case 19:u.next=40;break;case 21:l=-1,a=Y(e),u.prev=23,a.s();case 25:if((o=a.n()).done){u.next=32;break}if(s=o.value,!(null!=(s=n(s,++l,e))&&(s=+s)>=s)){u.next=30;break}return u.next=30,s;case 30:u.next=25;break;case 32:u.next=37;break;case 34:u.prev=34,u.t1=u.catch(23),a.e(u.t1);case 37:return u.prev=37,a.f(),u.finish(37);case 40:case"end":return u.stop()}}),Om,null,[[2,13,16,19],[23,34,37,40]])}var Um=Am(Dm),Pm=Um.right,Vm=(Um.left,Am(Lm).center,Pm);function Bm(e,n,t){e.prototype=n.prototype=t,t.constructor=e}function Mm(e,n){var t=Object.create(e.prototype);for(var i in n)t[i]=n[i];return t}function Fm(){}var jm=.7,Jm=1/jm,Zm="\\s*([+-]?\\d+)\\s*",zm="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Hm="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",qm=/^#([0-9a-f]{3,8})$/,Wm=new RegExp("^rgb\\("+[Zm,Zm,Zm]+"\\)$"),Gm=new RegExp("^rgb\\("+[Hm,Hm,Hm]+"\\)$"),Km=new RegExp("^rgba\\("+[Zm,Zm,Zm,zm]+"\\)$"),$m=new RegExp("^rgba\\("+[Hm,Hm,Hm,zm]+"\\)$"),Ym=new RegExp("^hsl\\("+[zm,Hm,Hm]+"\\)$"),Qm=new RegExp("^hsla\\("+[zm,Hm,Hm,zm]+"\\)$"),Xm={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ey(){return this.rgb().formatHex()}function ny(){return this.rgb().formatRgb()}function ty(e){var n,t;return e=(e+"").trim().toLowerCase(),(n=qm.exec(e))?(t=n[1].length,n=parseInt(n[1],16),6===t?iy(n):3===t?new oy(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===t?ry(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===t?ry(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Wm.exec(e))?new oy(n[1],n[2],n[3],1):(n=Gm.exec(e))?new oy(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Km.exec(e))?ry(n[1],n[2],n[3],n[4]):(n=$m.exec(e))?ry(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ym.exec(e))?dy(n[1],n[2]/100,n[3]/100,1):(n=Qm.exec(e))?dy(n[1],n[2]/100,n[3]/100,n[4]):Xm.hasOwnProperty(e)?iy(Xm[e]):"transparent"===e?new oy(NaN,NaN,NaN,0):null}function iy(e){return new oy(e>>16&255,e>>8&255,255&e,1)}function ry(e,n,t,i){return i<=0&&(e=n=t=NaN),new oy(e,n,t,i)}function ly(e){return e instanceof Fm||(e=ty(e)),e?new oy((e=e.rgb()).r,e.g,e.b,e.opacity):new oy}function ay(e,n,t,i){return 1===arguments.length?ly(e):new oy(e,n,t,null==i?1:i)}function oy(e,n,t,i){this.r=+e,this.g=+n,this.b=+t,this.opacity=+i}function sy(){return"#"+cy(this.r)+cy(this.g)+cy(this.b)}function uy(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function cy(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function dy(e,n,t,i){return i<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new fy(e,n,t,i)}function py(e){if(e instanceof fy)return new fy(e.h,e.s,e.l,e.opacity);if(e instanceof Fm||(e=ty(e)),!e)return new fy;if(e instanceof fy)return e;var n=(e=e.rgb()).r/255,t=e.g/255,i=e.b/255,r=Math.min(n,t,i),l=Math.max(n,t,i),a=NaN,o=l-r,s=(l+r)/2;return o?(a=n===l?(t-i)/o+6*(t0&&s<1?0:a,new fy(a,o,s,e.opacity)}function fy(e,n,t,i){this.h=+e,this.s=+n,this.l=+t,this.opacity=+i}function my(e,n,t){return 255*(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)}function yy(e,n,t,i,r){var l=e*e,a=l*e;return((1-3*e+3*l-a)*n+(4-6*l+3*a)*t+(1+3*e+3*l-3*a)*i+a*r)/6}Bm(Fm,ty,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ey,formatHex:ey,formatHsl:function(){return py(this).formatHsl()},formatRgb:ny,toString:ny}),Bm(oy,ay,Mm(Fm,{brighter:function(e){return e=null==e?Jm:Math.pow(Jm,e),new oy(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?jm:Math.pow(jm,e),new oy(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:sy,formatHex:sy,formatRgb:uy,toString:uy})),Bm(fy,(function(e,n,t,i){return 1===arguments.length?py(e):new fy(e,n,t,null==i?1:i)}),Mm(Fm,{brighter:function(e){return e=null==e?Jm:Math.pow(Jm,e),new fy(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?jm:Math.pow(jm,e),new fy(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),n=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,i=t+(t<.5?t:1-t)*n,r=2*t-i;return new oy(my(e>=240?e-240:e+120,r,i),my(e,r,i),my(e<120?e+240:e-120,r,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var _y=function(e){return function(){return e}};function hy(e,n){return function(t){return e+t*n}}function gy(e){return 1===(e=+e)?vy:function(n,t){return t-n?function(e,n,t){return e=Math.pow(e,t),n=Math.pow(n,t)-e,t=1/t,function(i){return Math.pow(e+i*n,t)}}(n,t,e):_y(isNaN(n)?t:n)}}function vy(e,n){var t=n-e;return t?hy(e,t):_y(isNaN(e)?n:e)}var Ty=function e(n){var t=gy(n);function i(e,n){var i=t((e=ay(e)).r,(n=ay(n)).r),r=t(e.g,n.g),l=t(e.b,n.b),a=vy(e.opacity,n.opacity);return function(n){return e.r=i(n),e.g=r(n),e.b=l(n),e.opacity=a(n),e+""}}return i.gamma=e,i}(1);function by(e){return function(n){var t,i,r=n.length,l=new Array(r),a=new Array(r),o=new Array(r);for(t=0;t=1?(t=1,n-1):Math.floor(t*n),r=e[i],l=e[i+1],a=i>0?e[i-1]:2*r-l,o=il&&(r=n.slice(l,r),o[a]?o[a]+=r:o[++a]=r),(t=t[0])===(i=i[0])?o[a]?o[a]+=i:o[++a]=i:(o[++a]=null,s.push({i:a,x:Ny(t,i)})),l=Cy.lastIndex;return ln&&(t=e,e=n,n=t),function(t){return Math.max(e,Math.min(n,t))}}(a[0],a[e-1])),i=e>2?Vy:Py,r=l=null,d}function d(n){return null==n||isNaN(n=+n)?t:(r||(r=i(a.map(e),o,s)))(e(u(n)))}return d.invert=function(t){return u(n((l||(l=i(o,a.map(e),Ny)))(t)))},d.domain=function(e){return arguments.length?(a=Array.from(e,Oy),c()):a.slice()},d.range=function(e){return arguments.length?(o=Array.from(e),c()):o.slice()},d.rangeRound=function(e){return o=Array.from(e),s=Ay,c()},d.clamp=function(e){return arguments.length?(u=!!e||Iy,c()):u!==Iy},d.interpolate=function(e){return arguments.length?(s=e,c()):s},d.unknown=function(e){return arguments.length?(t=e,d):t},function(t,i){return e=t,n=i,c()}}function Fy(){return My()(Iy,Iy)}var jy,Jy=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Zy(e){if(!(n=Jy.exec(e)))throw new Error("invalid format: "+e);var n;return new zy({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function zy(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Hy(e,n){if((t=(e=n?e.toExponential(n-1):e.toExponential()).indexOf("e"))<0)return null;var t,i=e.slice(0,t);return[i.length>1?i[0]+i.slice(2):i,+e.slice(t+1)]}function qy(e){return(e=Hy(Math.abs(e)))?e[1]:NaN}function Wy(e,n){var t=Hy(e,n);if(!t)return e+"";var i=t[0],r=t[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}Zy.prototype=zy.prototype,zy.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Gy={"%":function(e,n){return(100*e).toFixed(n)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,n){return e.toExponential(n)},f:function(e,n){return e.toFixed(n)},g:function(e,n){return e.toPrecision(n)},o:function(e){return Math.round(e).toString(8)},p:function(e,n){return Wy(100*e,n)},r:Wy,s:function(e,n){var t=Hy(e,n);if(!t)return e+"";var i=t[0],r=t[1],l=r-(jy=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,a=i.length;return l===a?i:l>a?i+new Array(l-a+1).join("0"):l>0?i.slice(0,l)+"."+i.slice(l):"0."+new Array(1-l).join("0")+Hy(e,Math.max(0,n+l-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Ky(e){return e}var $y,Yy,Qy,Xy=Array.prototype.map,e_=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function n_(e){var n,t,i=void 0===e.grouping||void 0===e.thousands?Ky:(n=Xy.call(e.grouping,Number),t=e.thousands+"",function(e,i){for(var r=e.length,l=[],a=0,o=n[0],s=0;r>0&&o>0&&(s+o+1>i&&(o=Math.max(1,i-s)),l.push(e.substring(r-=o,r+o)),!((s+=o+1)>i));)o=n[a=(a+1)%n.length];return l.reverse().join(t)}),r=void 0===e.currency?"":e.currency[0]+"",l=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",o=void 0===e.numerals?Ky:function(e){return function(n){return n.replace(/[0-9]/g,(function(n){return e[+n]}))}}(Xy.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"\u2212":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function d(e){var n=(e=Zy(e)).fill,t=e.align,d=e.sign,p=e.symbol,f=e.zero,m=e.width,y=e.comma,_=e.precision,h=e.trim,g=e.type;"n"===g?(y=!0,g="g"):Gy[g]||(void 0===_&&(_=12),h=!0,g="g"),(f||"0"===n&&"="===t)&&(f=!0,n="0",t="=");var v="$"===p?r:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",T="$"===p?l:/[%p]/.test(g)?s:"",b=Gy[g],k=/[defgprs%]/.test(g);function R(e){var r,l,s,p=v,R=T;if("c"===g)R=b(e)+R,e="";else{var N=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:b(Math.abs(e),_),h&&(e=function(e){e:for(var n,t=e.length,i=1,r=-1;i0&&(r=0)}return r>0?e.slice(0,r)+e.slice(n+1):e}(e)),N&&0===+e&&"+"!==d&&(N=!1),p=(N?"("===d?d:u:"-"===d||"("===d?"":d)+p,R=("s"===g?e_[8+jy/3]:"")+R+(N&&"("===d?")":""),k)for(r=-1,l=e.length;++r(s=e.charCodeAt(r))||s>57){R=(46===s?a+e.slice(r+1):e.slice(r))+R,e=e.slice(0,r);break}}y&&!f&&(e=i(e,1/0));var E=p.length+e.length+R.length,x=E>1)+p+e+R+x.slice(E);break;default:e=x+p+e+R}return o(e)}return _=void 0===_?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_)),R.toString=function(){return e+""},R}return{format:d,formatPrefix:function(e,n){var t=d(((e=Zy(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(qy(n)/3))),r=Math.pow(10,-i),l=e_[8+i/3];return function(e){return t(r*e)+l}}}}function t_(e,n,t,i){var r,l=wm(e,n,t);switch((i=Zy(null==i?",f":i)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(n));return null!=i.precision||isNaN(r=function(e,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(qy(n)/3)))-qy(Math.abs(e)))}(l,a))||(i.precision=r),Qy(i,a);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=function(e,n){return e=Math.abs(e),n=Math.abs(n)-e,Math.max(0,qy(n)-qy(e))+1}(l,Math.max(Math.abs(e),Math.abs(n))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=function(e){return Math.max(0,-qy(Math.abs(e)))}(l))||(i.precision=r-2*("%"===i.type))}return Yy(i)}function i_(e){var n=e.domain;return e.ticks=function(e){var t=n();return Cm(t[0],t[t.length-1],null==e?10:e)},e.tickFormat=function(e,t){var i=n();return t_(i[0],i[i.length-1],null==e?10:e,t)},e.nice=function(t){null==t&&(t=10);var i,r,l=n(),a=0,o=l.length-1,s=l[a],u=l[o],c=10;for(u0;){if((r=Sm(s,u,t))===i)return l[a]=s,l[o]=u,n(l);if(r>0)s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r;else{if(!(r<0))break;s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r}i=r}return e},e}function r_(){var e=Fy();return e.copy=function(){return By(e,r_())},hm.apply(e,arguments),i_(e)}function l_(e){var n;function t(e){return null==e||isNaN(e=+e)?n:e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=Array.from(n,Oy),t):e.slice()},t.unknown=function(e){return arguments.length?(n=e,t):n},t.copy=function(){return l_(e).unknown(n)},e=arguments.length?Array.from(e,Oy):[0,1],i_(t)}function a_(e,n){var t,i=0,r=(e=e.slice()).length-1,l=e[i],a=e[r];return a0){for(;p<=f;++p)for(c=1,u=t(p);cs)break;y.push(d)}}else for(;p<=f;++p)for(c=l-1,u=t(p);c>=1;--c)if(!((d=u*c)s)break;y.push(d)}2*y.length=l)&&(t=l)}}catch(c){r.e(c)}finally{r.f()}}else{var a,o=-1,s=Y(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;null!=(u=n(u,++o,e))&&(t=u)&&(t=u)}}catch(c){s.e(c)}finally{s.f()}}return t}function w_(e,n){var t;if(void 0===n){var i,r=Y(e);try{for(r.s();!(i=r.n()).done;){var l=i.value;null!=l&&(t>l||void 0===t&&l>=l)&&(t=l)}}catch(c){r.e(c)}finally{r.f()}}else{var a,o=-1,s=Y(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;null!=(u=n(u,++o,e))&&(t>u||void 0===t&&u>=u)&&(t=u)}}catch(c){s.e(c)}finally{s.f()}}return t}function D_(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length-1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Dm;i>t;){if(i-t>600){var l=i-t+1,a=n-t+1,o=Math.log(l),s=.5*Math.exp(2*o/3),u=.5*Math.sqrt(o*s*(l-s)/l)*(a-l/2<0?-1:1),c=Math.max(t,Math.floor(n-a*s/l+u)),d=Math.min(i,Math.floor(n+(l-a)*s/l+u));D_(e,n,c,d,r)}var p=e[n],f=t,m=i;for(A_(e,t,n),r(e[i],p)>0&&A_(e,t,i);f0;)--m}0===r(e[t],p)?A_(e,t,m):A_(e,++m,i),m<=n&&(t=m+1),n<=m&&(i=m-1)}return e}function A_(e,n,t){var i=e[n];e[n]=e[t],e[t]=i}function O_(e,n,t){if(i=(e=Float64Array.from(Im(e,t))).length){if((n=+n)<=0||i<2)return w_(e);if(n>=1)return S_(e);var i,r=(i-1)*n,l=Math.floor(r),a=S_(D_(e,l).subarray(0,l+1));return a+(w_(e.subarray(l+1))-a)*(r-l)}}function L_(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Lm;if(i=e.length){if((n=+n)<=0||i<2)return+t(e[0],0,e);if(n>=1)return+t(e[i-1],i-1,e);var i,r=(i-1)*n,l=Math.floor(r),a=+t(e[l],l,e),o=+t(e[l+1],l+1,e);return a+(o-a)*(r-l)}}function I_(){var e,n=[],t=[],i=[];function r(){var e=0,r=Math.max(1,t.length);for(i=new Array(r-1);++e0?i[r-1]:n[0],r=i?[r[i-1],t]:[r[a-1],r[a]]},a.unknown=function(n){return arguments.length?(e=n,a):a},a.thresholds=function(){return r.slice()},a.copy=function(){return U_().domain([n,t]).range(l).unknown(e)},hm.apply(i_(a),arguments)}function P_(){var e,n=[.5],t=[0,1],i=1;function r(r){return null!=r&&r<=r?t[Vm(n,r,0,i)]:e}return r.domain=function(e){return arguments.length?(n=Array.from(e),i=Math.min(n.length,t.length-1),r):n.slice()},r.range=function(e){return arguments.length?(t=Array.from(e),i=Math.min(n.length,t.length-1),r):t.slice()},r.invertExtent=function(e){var i=t.indexOf(e);return[n[i-1],n[i]]},r.unknown=function(n){return arguments.length?(e=n,r):e},r.copy=function(){return P_().domain(n).range(t).unknown(e)},hm.apply(r,arguments)}$y=n_({thousands:",",grouping:[3],currency:["$",""]}),Yy=$y.format,Qy=$y.formatPrefix;var V_=1e3,B_=6e4,M_=36e5,F_=864e5,j_=6048e5,J_=2592e6,Z_=31536e6,z_=new Date,H_=new Date;function q_(e,n,t,i){function r(n){return e(n=0===arguments.length?new Date:new Date(+n)),n}return r.floor=function(n){return e(n=new Date(+n)),n},r.ceil=function(t){return e(t=new Date(t-1)),n(t,1),e(t),t},r.round=function(e){var n=r(e),t=r.ceil(e);return e-n0))return o;do{o.push(a=new Date(+t)),n(t,l),e(t)}while(a=n)for(;e(n),!t(n);)n.setTime(n-1)}),(function(e,i){if(e>=e)if(i<0)for(;++i<=0;)for(;n(e,-1),!t(e););else for(;--i>=0;)for(;n(e,1),!t(e););}))},t&&(r.count=function(n,i){return z_.setTime(+n),H_.setTime(+i),e(z_),e(H_),Math.floor(t(z_,H_))},r.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?r.filter(i?function(n){return i(n)%e===0}:function(n){return r.count(0,n)%e===0}):r:null}),r}var W_=q_((function(){}),(function(e,n){e.setTime(+e+n)}),(function(e,n){return n-e}));W_.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?q_((function(n){n.setTime(Math.floor(n/e)*e)}),(function(n,t){n.setTime(+n+t*e)}),(function(n,t){return(t-n)/e})):W_:null};var G_=W_,K_=(W_.range,q_((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,n){e.setTime(+e+n*V_)}),(function(e,n){return(n-e)/V_}),(function(e){return e.getUTCSeconds()}))),$_=K_,Y_=(K_.range,q_((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*V_)}),(function(e,n){e.setTime(+e+n*B_)}),(function(e,n){return(n-e)/B_}),(function(e){return e.getMinutes()}))),Q_=Y_,X_=(Y_.range,q_((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*V_-e.getMinutes()*B_)}),(function(e,n){e.setTime(+e+n*M_)}),(function(e,n){return(n-e)/M_}),(function(e){return e.getHours()}))),eh=X_,nh=(X_.range,q_((function(e){return e.setHours(0,0,0,0)}),(function(e,n){return e.setDate(e.getDate()+n)}),(function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*B_)/F_}),(function(e){return e.getDate()-1}))),th=nh;nh.range;function ih(e){return q_((function(n){n.setDate(n.getDate()-(n.getDay()+7-e)%7),n.setHours(0,0,0,0)}),(function(e,n){e.setDate(e.getDate()+7*n)}),(function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*B_)/j_}))}var rh=ih(0),lh=ih(1),ah=ih(2),oh=ih(3),sh=ih(4),uh=ih(5),ch=ih(6),dh=(rh.range,lh.range,ah.range,oh.range,sh.range,uh.range,ch.range,q_((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,n){e.setMonth(e.getMonth()+n)}),(function(e,n){return n.getMonth()-e.getMonth()+12*(n.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),ph=dh,fh=(dh.range,q_((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n)}),(function(e,n){return n.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));fh.every=function(e){return isFinite(e=Math.floor(e))&&e>0?q_((function(n){n.setFullYear(Math.floor(n.getFullYear()/e)*e),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,t){n.setFullYear(n.getFullYear()+t*e)})):null};var mh=fh,yh=(fh.range,q_((function(e){e.setUTCSeconds(0,0)}),(function(e,n){e.setTime(+e+n*B_)}),(function(e,n){return(n-e)/B_}),(function(e){return e.getUTCMinutes()}))),_h=yh,hh=(yh.range,q_((function(e){e.setUTCMinutes(0,0,0)}),(function(e,n){e.setTime(+e+n*M_)}),(function(e,n){return(n-e)/M_}),(function(e){return e.getUTCHours()}))),gh=hh,vh=(hh.range,q_((function(e){e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCDate(e.getUTCDate()+n)}),(function(e,n){return(n-e)/F_}),(function(e){return e.getUTCDate()-1}))),Th=vh;vh.range;function bh(e){return q_((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-e)%7),n.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCDate(e.getUTCDate()+7*n)}),(function(e,n){return(n-e)/j_}))}var kh=bh(0),Rh=bh(1),Nh=bh(2),Eh=bh(3),xh=bh(4),Ch=bh(5),Sh=bh(6),wh=(kh.range,Rh.range,Nh.range,Eh.range,xh.range,Ch.range,Sh.range,q_((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCMonth(e.getUTCMonth()+n)}),(function(e,n){return n.getUTCMonth()-e.getUTCMonth()+12*(n.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),Dh=wh,Ah=(wh.range,q_((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n)}),(function(e,n){return n.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Ah.every=function(e){return isFinite(e=Math.floor(e))&&e>0?q_((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/e)*e),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,t){n.setUTCFullYear(n.getUTCFullYear()+t*e)})):null};var Oh=Ah;Ah.range;function Lh(e,n,t,i,r,l){var a=[[$_,1,V_],[$_,5,5e3],[$_,15,15e3],[$_,30,3e4],[l,1,B_],[l,5,3e5],[l,15,9e5],[l,30,18e5],[r,1,M_],[r,3,108e5],[r,6,216e5],[r,12,432e5],[i,1,F_],[i,2,1728e5],[t,1,j_],[n,1,J_],[n,3,7776e6],[e,1,Z_]];function s(n,t,i){var r=Math.abs(t-n)/i,l=Am((function(e){return(0,o.Z)(e,3)[2]})).right(a,r);if(l===a.length)return e.every(wm(n/Z_,t/Z_,i));if(0===l)return G_.every(Math.max(wm(n,t,i),1));var s=(0,o.Z)(a[r/a[l-1][2]68?1900:2e3),t+i[0].length):-1}function ug(e,n,t){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(t,t+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),t+i[0].length):-1}function cg(e,n,t){var i=Kh.exec(n.slice(t,t+1));return i?(e.q=3*i[0]-3,t+i[0].length):-1}function dg(e,n,t){var i=Kh.exec(n.slice(t,t+2));return i?(e.m=i[0]-1,t+i[0].length):-1}function pg(e,n,t){var i=Kh.exec(n.slice(t,t+2));return i?(e.d=+i[0],t+i[0].length):-1}function fg(e,n,t){var i=Kh.exec(n.slice(t,t+3));return i?(e.m=0,e.d=+i[0],t+i[0].length):-1}function mg(e,n,t){var i=Kh.exec(n.slice(t,t+2));return i?(e.H=+i[0],t+i[0].length):-1}function yg(e,n,t){var i=Kh.exec(n.slice(t,t+2));return i?(e.M=+i[0],t+i[0].length):-1}function _g(e,n,t){var i=Kh.exec(n.slice(t,t+2));return i?(e.S=+i[0],t+i[0].length):-1}function hg(e,n,t){var i=Kh.exec(n.slice(t,t+3));return i?(e.L=+i[0],t+i[0].length):-1}function gg(e,n,t){var i=Kh.exec(n.slice(t,t+6));return i?(e.L=Math.floor(i[0]/1e3),t+i[0].length):-1}function vg(e,n,t){var i=$h.exec(n.slice(t,t+1));return i?t+i[0].length:-1}function Tg(e,n,t){var i=Kh.exec(n.slice(t));return i?(e.Q=+i[0],t+i[0].length):-1}function bg(e,n,t){var i=Kh.exec(n.slice(t));return i?(e.s=+i[0],t+i[0].length):-1}function kg(e,n){return Qh(e.getDate(),n,2)}function Rg(e,n){return Qh(e.getHours(),n,2)}function Ng(e,n){return Qh(e.getHours()%12||12,n,2)}function Eg(e,n){return Qh(1+th.count(mh(e),e),n,3)}function xg(e,n){return Qh(e.getMilliseconds(),n,3)}function Cg(e,n){return xg(e,n)+"000"}function Sg(e,n){return Qh(e.getMonth()+1,n,2)}function wg(e,n){return Qh(e.getMinutes(),n,2)}function Dg(e,n){return Qh(e.getSeconds(),n,2)}function Ag(e){var n=e.getDay();return 0===n?7:n}function Og(e,n){return Qh(rh.count(mh(e)-1,e),n,2)}function Lg(e){var n=e.getDay();return n>=4||0===n?sh(e):sh.ceil(e)}function Ig(e,n){return e=Lg(e),Qh(sh.count(mh(e),e)+(4===mh(e).getDay()),n,2)}function Ug(e){return e.getDay()}function Pg(e,n){return Qh(lh.count(mh(e)-1,e),n,2)}function Vg(e,n){return Qh(e.getFullYear()%100,n,2)}function Bg(e,n){return Qh((e=Lg(e)).getFullYear()%100,n,2)}function Mg(e,n){return Qh(e.getFullYear()%1e4,n,4)}function Fg(e,n){var t=e.getDay();return Qh((e=t>=4||0===t?sh(e):sh.ceil(e)).getFullYear()%1e4,n,4)}function jg(e){var n=e.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Qh(n/60|0,"0",2)+Qh(n%60,"0",2)}function Jg(e,n){return Qh(e.getUTCDate(),n,2)}function Zg(e,n){return Qh(e.getUTCHours(),n,2)}function zg(e,n){return Qh(e.getUTCHours()%12||12,n,2)}function Hg(e,n){return Qh(1+Th.count(Oh(e),e),n,3)}function qg(e,n){return Qh(e.getUTCMilliseconds(),n,3)}function Wg(e,n){return qg(e,n)+"000"}function Gg(e,n){return Qh(e.getUTCMonth()+1,n,2)}function Kg(e,n){return Qh(e.getUTCMinutes(),n,2)}function $g(e,n){return Qh(e.getUTCSeconds(),n,2)}function Yg(e){var n=e.getUTCDay();return 0===n?7:n}function Qg(e,n){return Qh(kh.count(Oh(e)-1,e),n,2)}function Xg(e){var n=e.getUTCDay();return n>=4||0===n?xh(e):xh.ceil(e)}function ev(e,n){return e=Xg(e),Qh(xh.count(Oh(e),e)+(4===Oh(e).getUTCDay()),n,2)}function nv(e){return e.getUTCDay()}function tv(e,n){return Qh(Rh.count(Oh(e)-1,e),n,2)}function iv(e,n){return Qh(e.getUTCFullYear()%100,n,2)}function rv(e,n){return Qh((e=Xg(e)).getUTCFullYear()%100,n,2)}function lv(e,n){return Qh(e.getUTCFullYear()%1e4,n,4)}function av(e,n){var t=e.getUTCDay();return Qh((e=t>=4||0===t?xh(e):xh.ceil(e)).getUTCFullYear()%1e4,n,4)}function ov(){return"+0000"}function sv(){return"%"}function uv(e){return+e}function cv(e){return Math.floor(+e/1e3)}function dv(e){return new Date(e)}function pv(e){return e instanceof Date?+e:+new Date(+e)}function fv(e,n,t,i,r,l,a,o,s,u){var c=Fy(),d=c.invert,p=c.domain,f=u(".%L"),m=u(":%S"),y=u("%I:%M"),_=u("%I %p"),h=u("%a %d"),g=u("%b %d"),v=u("%B"),T=u("%Y");function b(e){return(s(e)1)for(var t,i,r,l=1,a=e[n[0]],o=a.length;l=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:uv,s:cv,S:Dg,u:Ag,U:Og,V:Ig,w:Ug,W:Pg,x:null,X:null,y:Vg,Y:Mg,Z:jg,"%":sv},T={a:function(e){return a[e.getUTCDay()]},A:function(e){return l[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return o[e.getUTCMonth()]},c:null,d:Jg,e:Jg,f:Wg,g:rv,G:av,H:Zg,I:zg,j:Hg,L:qg,m:Gg,M:Kg,p:function(e){return r[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:uv,s:cv,S:$g,u:Yg,U:Qg,V:ev,w:nv,W:tv,x:null,X:null,y:iv,Y:lv,Z:ov,"%":sv},b={a:function(e,n,t){var i=f.exec(n.slice(t));return i?(e.w=m.get(i[0].toLowerCase()),t+i[0].length):-1},A:function(e,n,t){var i=d.exec(n.slice(t));return i?(e.w=p.get(i[0].toLowerCase()),t+i[0].length):-1},b:function(e,n,t){var i=h.exec(n.slice(t));return i?(e.m=g.get(i[0].toLowerCase()),t+i[0].length):-1},B:function(e,n,t){var i=y.exec(n.slice(t));return i?(e.m=_.get(i[0].toLowerCase()),t+i[0].length):-1},c:function(e,t,i){return N(e,n,t,i)},d:pg,e:pg,f:gg,g:sg,G:og,H:mg,I:mg,j:fg,L:hg,m:dg,M:yg,p:function(e,n,t){var i=u.exec(n.slice(t));return i?(e.p=c.get(i[0].toLowerCase()),t+i[0].length):-1},q:cg,Q:Tg,s:bg,S:_g,u:ig,U:rg,V:lg,w:tg,W:ag,x:function(e,n,i){return N(e,t,n,i)},X:function(e,n,t){return N(e,i,n,t)},y:sg,Y:og,Z:ug,"%":vg};function k(e,n){return function(t){var i,r,l,a=[],o=-1,s=0,u=e.length;for(t instanceof Date||(t=new Date(+t));++o53)return null;"w"in l||(l.w=1),"Z"in l?(r=(i=Zh(zh(l.y,0,1))).getUTCDay(),i=r>4||0===r?Rh.ceil(i):Rh(i),i=Th.offset(i,7*(l.V-1)),l.y=i.getUTCFullYear(),l.m=i.getUTCMonth(),l.d=i.getUTCDate()+(l.w+6)%7):(r=(i=Jh(zh(l.y,0,1))).getDay(),i=r>4||0===r?lh.ceil(i):lh(i),i=th.offset(i,7*(l.V-1)),l.y=i.getFullYear(),l.m=i.getMonth(),l.d=i.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),r="Z"in l?Zh(zh(l.y,0,1)).getUTCDay():Jh(zh(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(r+5)%7:l.w+7*l.U-(r+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,Zh(l)):Jh(l)}}function N(e,n,t,i){for(var r,l,a=0,o=n.length,s=t.length;a=s)return-1;if(37===(r=n.charCodeAt(a++))){if(r=n.charAt(a++),!(l=b[r in Gh?n.charAt(a++):r])||(i=l(e,t,i))<0)return-1}else if(r!=t.charCodeAt(i++))return-1}return i}return v.x=k(t,v),v.X=k(i,v),v.c=k(n,v),T.x=k(t,T),T.X=k(i,T),T.c=k(n,T),{format:function(e){var n=k(e+="",v);return n.toString=function(){return e},n},parse:function(e){var n=R(e+="",!1);return n.toString=function(){return e},n},utcFormat:function(e){var n=k(e+="",T);return n.toString=function(){return e},n},utcParse:function(e){var n=R(e+="",!0);return n.toString=function(){return e},n}}}(e),qh=Hh.format,Hh.parse,Wh=Hh.utcFormat,Hh.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Array.prototype.slice;function Ov(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}function Lv(e){return function(){return e}}function Iv(e){for(var n=e.length,t=new Array(n);--n>=0;)t[n]=n;return t}function Uv(e,n){return e[n]}function Pv(e){var n=[];return n.key=e,n}var Vv=t(6339),Bv=t.n(Vv);function Mv(){return Mv=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function jv(e){var n=e.children,t=e.width,i=e.height,r=e.viewBox,a=e.className,o=e.style,s=Fv(e,["children","width","height","viewBox","className","style"]),u=r||{width:t,height:i,x:0,y:0},c=Gp()("recharts-surface",a);return l.createElement("svg",Mv({},nf(s,!0,!0),{className:c,width:t,height:i,style:o,viewBox:"".concat(u.x," ").concat(u.y," ").concat(u.width," ").concat(u.height),version:"1.1"}),n)}Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt;var Jv=Math.PI,Zv=2*Jv;var zv={draw:function(e,n){var t=Math.sqrt(n/Jv);e.moveTo(t,0),e.arc(0,0,t,0,Zv)}},Hv={draw:function(e,n){var t=Math.sqrt(n/5)/2;e.moveTo(-3*t,-t),e.lineTo(-t,-t),e.lineTo(-t,-3*t),e.lineTo(t,-3*t),e.lineTo(t,-t),e.lineTo(3*t,-t),e.lineTo(3*t,t),e.lineTo(t,t),e.lineTo(t,3*t),e.lineTo(-t,3*t),e.lineTo(-t,t),e.lineTo(-3*t,t),e.closePath()}},qv=Math.sqrt(1/3),Wv=2*qv,Gv={draw:function(e,n){var t=Math.sqrt(n/Wv),i=t*qv;e.moveTo(0,-t),e.lineTo(i,0),e.lineTo(0,t),e.lineTo(-i,0),e.closePath()}},Kv={draw:function(e,n){var t=Math.sqrt(n),i=-t/2;e.rect(i,i,t,t)}},$v=Math.sin(Jv/10)/Math.sin(7*Jv/10),Yv=Math.sin(Zv/10)*$v,Qv=-Math.cos(Zv/10)*$v,Xv={draw:function(e,n){var t=Math.sqrt(.8908130915292852*n),i=Yv*t,r=Qv*t;e.moveTo(0,-t),e.lineTo(i,r);for(var l=1;l<5;++l){var a=Zv*l/5,o=Math.cos(a),s=Math.sin(a);e.lineTo(s*t,-o*t),e.lineTo(o*i-s*r,s*i+o*r)}e.closePath()}},eT=Math.sqrt(3),nT={draw:function(e,n){var t=-Math.sqrt(n/(3*eT));e.moveTo(0,2*t),e.lineTo(-eT*t,-t),e.lineTo(eT*t,-t),e.closePath()}},tT=-.5,iT=Math.sqrt(3)/2,rT=1/Math.sqrt(12),lT=3*(rT/2+1),aT={draw:function(e,n){var t=Math.sqrt(n/lT),i=t/2,r=t*rT,l=i,a=t*rT+t,o=-l,s=a;e.moveTo(i,r),e.lineTo(l,a),e.lineTo(o,s),e.lineTo(tT*i-iT*r,iT*i+tT*r),e.lineTo(tT*l-iT*a,iT*l+tT*a),e.lineTo(tT*o-iT*s,iT*o+tT*s),e.lineTo(tT*i+iT*r,tT*r-iT*i),e.lineTo(tT*l+iT*a,tT*a-iT*l),e.lineTo(tT*o+iT*s,tT*s-iT*o),e.closePath()}},oT=Math.PI,sT=2*oT,uT=1e-6,cT=sT-uT;function dT(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pT(){return new dT}dT.prototype=pT.prototype={constructor:dT,moveTo:function(e,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,n){this._+="L"+(this._x1=+e)+","+(this._y1=+n)},quadraticCurveTo:function(e,n,t,i){this._+="Q"+ +e+","+ +n+","+(this._x1=+t)+","+(this._y1=+i)},bezierCurveTo:function(e,n,t,i,r,l){this._+="C"+ +e+","+ +n+","+ +t+","+ +i+","+(this._x1=+r)+","+(this._y1=+l)},arcTo:function(e,n,t,i,r){e=+e,n=+n,t=+t,i=+i,r=+r;var l=this._x1,a=this._y1,o=t-e,s=i-n,u=l-e,c=a-n,d=u*u+c*c;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=n);else if(d>uT)if(Math.abs(c*o-s*u)>uT&&r){var p=t-l,f=i-a,m=o*o+s*s,y=p*p+f*f,_=Math.sqrt(m),h=Math.sqrt(d),g=r*Math.tan((oT-Math.acos((m+d-y)/(2*_*h)))/2),v=g/h,T=g/_;Math.abs(v-1)>uT&&(this._+="L"+(e+v*u)+","+(n+v*c)),this._+="A"+r+","+r+",0,0,"+ +(c*p>u*f)+","+(this._x1=e+T*o)+","+(this._y1=n+T*s)}else this._+="L"+(this._x1=e)+","+(this._y1=n);else;},arc:function(e,n,t,i,r,l){e=+e,n=+n,l=!!l;var a=(t=+t)*Math.cos(i),o=t*Math.sin(i),s=e+a,u=n+o,c=1^l,d=l?i-r:r-i;if(t<0)throw new Error("negative radius: "+t);null===this._x1?this._+="M"+s+","+u:(Math.abs(this._x1-s)>uT||Math.abs(this._y1-u)>uT)&&(this._+="L"+s+","+u),t&&(d<0&&(d=d%sT+sT),d>cT?this._+="A"+t+","+t+",0,1,"+c+","+(e-a)+","+(n-o)+"A"+t+","+t+",0,1,"+c+","+(this._x1=s)+","+(this._y1=u):d>uT&&(this._+="A"+t+","+t+",0,"+ +(d>=oT)+","+c+","+(this._x1=e+t*Math.cos(r))+","+(this._y1=n+t*Math.sin(r))))},rect:function(e,n,t,i){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+n)+"h"+ +t+"v"+ +i+"h"+-t+"Z"},toString:function(){return this._}};var fT=pT;function mT(e){return mT="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mT(e)}function yT(){return yT=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function GT(e){return e.value}function KT(e,n){return!0===e?Bv()(n,GT):Ff()(e)?Bv()(n,e):n}PT.displayName="Legend",PT.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var $T=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&ZT(e,n)}(a,e);var n,t,i,r=zT(a);function a(){var e;jT(this,a);for(var n=arguments.length,t=new Array(n),i=0;i=0&&t>=0?{width:n,height:t}:null}},{key:"getDefaultPosition",value:function(e){var n,t,i=this.props,r=i.layout,l=i.align,a=i.verticalAlign,o=i.margin,s=i.chartWidth,u=i.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(n="center"===l&&"vertical"===r?{left:((s||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===l?{right:o&&o.right||0}:{left:o&&o.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(t="middle"===a?{top:((u||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:o&&o.bottom||0}:{top:o&&o.top||0}),MT(MT({},n),t)}},{key:"updateBBox",value:function(){var e=this.state,n=e.boxWidth,t=e.boxHeight,i=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-n)>1||Math.abs(r.height-t)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height},(function(){i&&i(r)}))}else-1===n&&-1===t||this.setState({boxWidth:-1,boxHeight:-1},(function(){i&&i(null)}))}},{key:"render",value:function(){var e=this,n=this.props,t=n.content,i=n.width,r=n.height,a=n.wrapperStyle,o=n.payloadUniqBy,s=n.payload,u=MT(MT({position:"absolute",width:i||"auto",height:r||"auto"},this.getDefaultPosition(a)),a);return l.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(n){e.wrapperNode=n}},function(e,n){if(l.isValidElement(e))return l.cloneElement(e,n);if(Ff()(e))return l.createElement(e,n);n.ref;var t=WT(n,["ref"]);return l.createElement(PT,t)}(t,MT(MT({},this.props),{},{payload:KT(o,s)})))}}],i=[{key:"getWithHeight",value:function(e,n){var t=e.props.layout;return"vertical"===t&&vf(e.props.height)?{height:e.props.height}:"horizontal"===t?{width:e.props.width||n}:null}}],t&&JT(n.prototype,t),i&&JT(n,i),a}(l.PureComponent);$T.displayName="Legend",$T.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"};var YT=t(8493);function QT(e,n){for(var t in e)if({}.hasOwnProperty.call(e,t)&&(!{}.hasOwnProperty.call(n,t)||e[t]!==n[t]))return!1;for(var i in n)if({}.hasOwnProperty.call(n,i)&&!{}.hasOwnProperty.call(e,i))return!1;return!0}function XT(e,n){if(null==e)return{};var t,i,r=function(e,n){if(null==e)return{};var t,i,r={},l=Object.keys(e);for(i=0;i=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var eb={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},nb=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},tb=null,ib=null,rb=function e(n){if(n===tb&&cf()(ib))return ib;var t=[];return l.Children.forEach(n,(function(n){af()(n)||((0,YT.isFragment)(n)?t=t.concat(e(n.props.children)):t.push(n))})),ib=t,tb=n,t},lb=function(e,n){var t=[],i=[];return i=cf()(n)?n.map((function(e){return nb(e)})):[nb(n)],rb(e).forEach((function(e){var n=sf()(e,"type.displayName")||sf()(e,"type.name");-1!==i.indexOf(n)&&t.push(e)})),t},ab=function(e,n){var t=lb(e,n);return t&&t[0]},ob=function(e){if(!e||!e.props)return!1;var n=e.props,t=n.width,i=n.height;return!(!vf(t)||t<=0||!vf(i)||i<=0)},sb=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],ub=function(e){return e&&e.type&&_f()(e.type)&&sb.indexOf(e.type)>=0},cb=function e(n,t){if(n===t)return!0;var i=l.Children.count(n);if(i!==l.Children.count(t))return!1;if(0===i)return!0;if(1===i)return db(cf()(n)?n[0]:n,cf()(t)?t[0]:t);for(var r=0;re.length)&&(n=e.length);for(var t=0,i=new Array(n);t=0}));if(l&&l.length){var a=l.map((function(e){return e.props.dataKey}));return e.reduce((function(e,n){var i=gb(n,t,0),r=cf()(i)?[Pf()(i),If()(i)]:[i,i],l=a.reduce((function(e,t){var i=gb(n,t,0),l=r[0]-Math.abs(cf()(i)?i[0]:i),a=r[1]+Math.abs(cf()(i)?i[1]:i);return[Math.min(l,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(l[0],e[0]),Math.max(l[1],e[1])]}),[1/0,-1/0])}return null},Rb=function(e,n,t,i){var r=n.map((function(n){var r=n.props.dataKey;return"number"===t&&r&&kb(e,n,r)||vb(e,r,t,i)}));if("number"===t)return r.reduce((function(e,n){return[Math.min(e[0],n[0]),Math.max(e[1],n[1])]}),[1/0,-1/0]);var l={};return r.reduce((function(e,n){for(var t=0,i=n.length;t=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!t)?{scale:Rm(),realScaleType:"point"}:"category"===l?{scale:bm(),realScaleType:"band"}:{scale:r_(),realScaleType:"linear"};if(_f()(r)){var s="scale".concat(Of()(r));return{scale:(i[s]||Rm)(),realScaleType:i[s]?s:"point"}}return Ff()(r)?{scale:r}:{scale:Rm(),realScaleType:"point"}},wb=1e-4,Db=function(e){var n=e.domain();if(n&&!(n.length<=2)){var t=n.length,i=e.range(),r=Math.min(i[0],i[1])-wb,l=Math.max(i[0],i[1])+wb,a=e(n[0]),o=e(n[t-1]);(al||ol)&&e.domain([n[0],n[t-1]])}},Ab={sign:function(e){var n=e.length;if(!(n<=0))for(var t=0,i=e[0].length;t=0?(e[a][t][0]=r,e[a][t][1]=r+o,r=e[a][t][1]):(e[a][t][0]=l,e[a][t][1]=l+o,l=e[a][t][1])}},expand:function(e,n){if((i=e.length)>0){for(var t,i,r,l=0,a=e[0].length;l0){for(var t,i=0,r=e[n[0]],l=r.length;i0&&(i=(t=e[n[0]]).length)>0){for(var t,i,r,l=0,a=1;a=0?(e[l][t][0]=r,e[l][t][1]=r+a,r=e[l][t][1]):(e[l][t][0]=0,e[l][t][1]=0)}}},Ob=function(e,n,t){var i=n.map((function(e){return e.props.dataKey})),r=function(){var e=Lv([]),n=Iv,t=Av,i=Uv;function r(r){var l,a,o,s=Array.from(e.apply(this,arguments),Pv),u=s.length,c=-1,d=Y(r);try{for(d.s();!(o=d.n()).done;){var p=o.value;for(l=0,++c;l0)return i}if(e&&n&&n.length>=2){for(var r=Df()(n,(function(e){return e.coordinate})),l=1/0,a=1,o=r.length;ae.length)&&(n=e.length);for(var t=0,i=new Array(n);t2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(t.left||0)-(t.right||0)),Math.abs(n-(t.top||0)-(t.bottom||0)))/2},Yb=function(e,n){var t=e.x,i=e.y,r=n.cx,l=n.cy,a=function(e,n){var t=e.x,i=e.y,r=n.x,l=n.y;return Math.sqrt(Math.pow(t-r,2)+Math.pow(i-l,2))}({x:t,y:i},{x:r,y:l});if(a<=0)return{radius:a};var o=(t-r)/a,s=Math.acos(o);return i>l&&(s=2*Math.PI-s),{radius:a,angle:Gb(s),angleInRadian:s}},Qb=function(e,n){var t=n.startAngle,i=n.endAngle,r=Math.floor(t/360),l=Math.floor(i/360);return e+360*Math.min(r,l)},Xb=function(e,n){var t=e.x,i=e.y,r=Yb({x:t,y:i},n),l=r.radius,a=r.angle,o=n.innerRadius,s=n.outerRadius;if(ls)return!1;if(0===l)return!0;var u,c=function(e){var n=e.startAngle,t=e.endAngle,i=Math.floor(n/360),r=Math.floor(t/360),l=Math.min(i,r);return{startAngle:n-360*l,endAngle:t-360*l}}(n),d=c.startAngle,p=c.endAngle,f=a;if(d<=p){for(;f>p;)f-=360;for(;f=d&&f<=p}else{for(;f>d;)f-=360;for(;f=p&&f<=d}return u?Zb(Zb({},n),{},{radius:l,angle:Qb(f,n)}):null};function ek(e){return ek="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ek(e)}function nk(){return nk=Object.assign||function(e){for(var n=1;n180),",").concat(+(l>o),",\n ").concat(u.x,",").concat(u.y,"\n ");if(i>0){var d=Kb(n,t,i,l),p=Kb(n,t,i,o);c+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(l<=o),",\n ").concat(d.x,",").concat(d.y," Z")}else c+="L ".concat(n,",").concat(t," Z");return c},ck=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&rk(e,n)}(a,e);var n,t,i,r=lk(a);function a(){return tk(this,a),r.apply(this,arguments)}return n=a,t=[{key:"render",value:function(){var e=this.props,n=e.cx,t=e.cy,i=e.innerRadius,r=e.outerRadius,a=e.cornerRadius,o=e.forceCornerRadius,s=e.cornerIsExternal,u=e.startAngle,c=e.endAngle,d=e.className;if(r0&&Math.abs(u-c)<360?function(e){var n=e.cx,t=e.cy,i=e.innerRadius,r=e.outerRadius,l=e.cornerRadius,a=e.forceCornerRadius,o=e.cornerIsExternal,s=e.startAngle,u=e.endAngle,c=hf(u-s),d=sk({cx:n,cy:t,radius:r,angle:s,sign:c,cornerRadius:l,cornerIsExternal:o}),p=d.circleTangency,f=d.lineTangency,m=d.theta,y=sk({cx:n,cy:t,radius:r,angle:u,sign:-c,cornerRadius:l,cornerIsExternal:o}),_=y.circleTangency,h=y.lineTangency,g=y.theta,v=o?Math.abs(s-u):Math.abs(s-u)-m-g;if(v<0)return a?"M ".concat(f.x,",").concat(f.y,"\n a").concat(l,",").concat(l,",0,0,1,").concat(2*l,",0\n a").concat(l,",").concat(l,",0,0,1,").concat(2*-l,",0\n "):uk({cx:n,cy:t,innerRadius:i,outerRadius:r,startAngle:s,endAngle:u});var T="M ".concat(f.x,",").concat(f.y,"\n A").concat(l,",").concat(l,",0,0,").concat(+(c<0),",").concat(p.x,",").concat(p.y,"\n A").concat(r,",").concat(r,",0,").concat(+(v>180),",").concat(+(c<0),",").concat(_.x,",").concat(_.y,"\n A").concat(l,",").concat(l,",0,0,").concat(+(c<0),",").concat(h.x,",").concat(h.y,"\n ");if(i>0){var b=sk({cx:n,cy:t,radius:i,angle:s,sign:c,isExternal:!0,cornerRadius:l,cornerIsExternal:o}),k=b.circleTangency,R=b.lineTangency,N=b.theta,E=sk({cx:n,cy:t,radius:i,angle:u,sign:-c,isExternal:!0,cornerRadius:l,cornerIsExternal:o}),x=E.circleTangency,C=E.lineTangency,S=E.theta,w=o?Math.abs(s-u):Math.abs(s-u)-N-S;if(w<0&&0===l)return"".concat(T,"L").concat(n,",").concat(t,"Z");T+="L".concat(C.x,",").concat(C.y,"\n A").concat(l,",").concat(l,",0,0,").concat(+(c<0),",").concat(x.x,",").concat(x.y,"\n A").concat(i,",").concat(i,",0,").concat(+(w>180),",").concat(+(c>0),",").concat(k.x,",").concat(k.y,"\n A").concat(l,",").concat(l,",0,0,").concat(+(c<0),",").concat(R.x,",").concat(R.y,"Z")}else T+="L".concat(n,",").concat(t,"Z");return T}({cx:n,cy:t,innerRadius:i,outerRadius:r,cornerRadius:Math.min(y,m/2),forceCornerRadius:o,cornerIsExternal:s,startAngle:u,endAngle:c}):uk({cx:n,cy:t,innerRadius:i,outerRadius:r,startAngle:u,endAngle:c}),l.createElement("path",nk({},nf(this.props,!0),{className:f,d:p}))}}],t&&ik(n.prototype,t),i&&ik(n,i),a}(l.PureComponent);ck.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var dk=t(8573),pk=t.n(dk),fk=t(7719),mk=function(e,n){for(var t=arguments.length,i=new Array(t>2?t-2:0),r=2;re.length)&&(n=e.length);for(var t=0,i=new Array(n);t0?pk()(N,f):N;(0,l.useEffect)((function(){if(b){var e=R();e&&g(e)}}),[b]),(0,l.useEffect)((function(){k(!0)}),[]);var x={width:r,height:o,minWidth:s,minHeight:u,maxHeight:c};return l.createElement(fk.ZP,{handleWidth:!0,handleHeight:!0,onResize:E,targetRef:v},l.createElement("div",yk({},null!=m?{id:"".concat(m)}:{},{className:Gp()("recharts-responsive-container",y),style:x,ref:v}),function(){var e=h.containerWidth,n=h.containerHeight;if(e<0||n<0)return null;mk(gf(r)||gf(o),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",r,o),mk(!t||t>0,"The aspect(%s) must be greater than zero.",t);var i=gf(r)?e:r,a=gf(o)?n:o;return t&&t>0&&(i?a=i/t:a&&(i=a*t),c&&a>c&&(a=c)),mk(i>0||a>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",i,a,r,o,s,u,t),(0,l.cloneElement)(d,{width:i,height:a})}()))})),vk=t(2730),Tk=t.n(vk),bk=t(1211),kk=t.n(bk),Rk=t(3038),Nk=t.n(Rk),Ek=t(6222),xk=t.n(Ek),Ck=t(5127),Sk=t.n(Ck);function wk(){return wk=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function Ak(e){var n=e.children,t=e.className,i=Dk(e,["children","className"]),r=Gp()("recharts-layer",t);return l.createElement("g",wk({className:r},nf(i,!0)),n)}var Ok=t(5244),Lk=t(5475),Ik=t.n(Lk);function Uk(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=-1,i=function i(r){t<0&&(t=r),r-t>n?(e(r),t=-1):Ik()(i)};Ik()(i)}function Pk(e){return Pk="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pk(e)}function Vk(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return Bk(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Bk(e,n)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bk(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);te.length)&&(n=e.length);for(var t=0,i=new Array(n);t=0&&e<=1}));var c=iR(i,l),d=iR(r,a),p=rR(i,l),f=function(e){return e>1?1:e<0?0:e},m=function(e){for(var n=e>1?1:e,t=n,i=0;i<8;++i){var r=c(t)-n,l=p(t);if(Math.abs(r-n)0&&void 0!==arguments[0]?arguments[0]:{},n=e.stiff,t=void 0===n?100:n,i=e.damping,r=void 0===i?8:i,l=e.dt,a=void 0===l?17:l,o=function(e,n,i){var l=i+(-(e-n)*t-i*r)*a/1e3,o=i*a/1e3+e;return Math.abs(o-n)e.length)&&(n=e.length);for(var t=0,i=new Array(n);t=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function TR(e){return function(e){if(Array.isArray(e))return bR(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return bR(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return bR(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bR(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t0?t[r-1]:i,p=u||Object.keys(s);if("function"===typeof o||"spring"===o)return[].concat(TR(e),[n.runJSAnimation.bind(n,{from:d.style,to:s,duration:l,easing:o}),l]);var f=Kk(p,l,o),m=RR(RR(RR({},d.style),s),{},{transition:f});return[].concat(TR(e),[m,l,c]).filter(qk)}),[a,Math.max(s,i)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Mk());var n=e.begin,t=e.duration,i=e.attributeName,r=e.to,l=e.easing,a=e.onAnimationStart,o=e.onAnimationEnd,s=e.steps,u=e.children,c=this.manager;if(this.unSubscribe=c.subscribe(this.handleStyleChange),"function"!==typeof l&&"function"!==typeof u&&"spring"!==l)if(s.length>1)this.runStepAnimation(e);else{var d=i?NR({},i,r):r,p=Kk(Object.keys(d),t,l);c.start([a,n,RR(RR({},d),{},{transition:p}),t,o])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,n=e.children,t=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,vR(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),r=l.Children.count(n),a=Gk(this.state.style);if("function"===typeof n)return n(a);if(!t||0===r)return n;var o=function(e){var n=e.props,t=n.style,r=void 0===t?{}:t,o=n.className;return(0,l.cloneElement)(e,RR(RR({},i),{},{style:RR(RR({},r),a),className:o}))};return 1===r?o(l.Children.only(n)):l.createElement("div",null,l.Children.map(n,(function(e){return o(e)})))}}],t&&ER(n.prototype,t),i&&ER(n,i),a}(l.PureComponent);AR.displayName="Animate",AR.propTypes={from:Ss().oneOfType([Ss().object,Ss().string]),to:Ss().oneOfType([Ss().object,Ss().string]),attributeName:Ss().string,duration:Ss().number,begin:Ss().number,easing:Ss().oneOfType([Ss().string,Ss().func]),steps:Ss().arrayOf(Ss().shape({duration:Ss().number.isRequired,style:Ss().object.isRequired,easing:Ss().oneOfType([Ss().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Ss().func]),properties:Ss().arrayOf("string"),onAnimationEnd:Ss().func})),children:Ss().oneOfType([Ss().node,Ss().func]),isActive:Ss().bool,canBegin:Ss().bool,onAnimationEnd:Ss().func,shouldReAnimate:Ss().bool,onAnimationStart:Ss().func,onAnimationReStart:Ss().func},AR.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var OR=AR,LR=t(5937);function IR(e){return IR="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},IR(e)}function UR(){return UR=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function VR(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function BR(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=e.steps,t=e.duration;return n&&n.length?n.reduce((function(e,n){return e+(Number.isFinite(n.duration)&&n.duration>0?n.duration:0)}),0):Number.isFinite(t)?t:0},WR=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&JR(e,n)}(a,e);var n,t,i,r=ZR(a);function a(){var e;FR(this,a);for(var n=arguments.length,t=new Array(n),i=0;ie.length)&&(n=e.length);for(var t=0,i=new Array(n);tc[t]+r?Math.max(d,c[t]):Math.max(p,c[t])},e}return n=a,(t=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,n=e.boxWidth,t=e.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-n)>1||Math.abs(i.height-t)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height})}else-1===n&&-1===t||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,n,t,i=this,r=this.props,a=r.payload,o=r.isAnimationActive,s=r.animationDuration,u=r.animationEasing,c=r.filterNull,d=function(e,n){return!0===e?Bv()(n,RN):Ff()(e)?Bv()(n,e):n}(r.payloadUniqBy,c&&a&&a.length?a.filter((function(e){return!af()(e.value)})):a),p=d&&d.length,f=this.props,m=f.content,y=f.viewBox,_=f.coordinate,h=f.position,g=f.active,v=mN({pointerEvents:"none",visibility:g&&p?"visible":"hidden",position:"absolute",top:0,left:0},f.wrapperStyle);if(h&&vf(h.x)&&vf(h.y))n=h.x,t=h.y;else{var T=this.state,b=T.boxWidth,k=T.boxHeight;b>0&&k>0&&_?(n=this.getTranslate({key:"x",tooltipDimension:b,viewBoxDimension:y.width}),t=this.getTranslate({key:"y",tooltipDimension:k,viewBoxDimension:y.height})):v.visibility="hidden"}v=mN(mN({},Gk({transform:this.props.useTranslate3d?"translate3d(".concat(n,"px, ").concat(t,"px, 0)"):"translate(".concat(n,"px, ").concat(t,"px)")})),v),o&&g&&(v=mN(mN({},Gk({transition:"transform ".concat(s,"ms ").concat(u)})),v));var R=Gp()(kN,(yN(e={},"".concat(kN,"-right"),vf(n)&&_&&vf(_.x)&&n>=_.x),yN(e,"".concat(kN,"-left"),vf(n)&&_&&vf(_.x)&&n<_.x),yN(e,"".concat(kN,"-bottom"),vf(t)&&_&&vf(_.y)&&t>=_.y),yN(e,"".concat(kN,"-top"),vf(t)&&_&&vf(_.y)&&t<_.y),e));return l.createElement("div",{className:R,style:v,ref:function(e){i.wrapperNode=e}},function(e,n){return l.isValidElement(e)?l.cloneElement(e,n):Ff()(e)?l.createElement(e,n):l.createElement(cN,n)}(m,mN(mN({},this.props),{},{payload:d})))}}])&&hN(n.prototype,t),i&&hN(n,i),a}(l.PureComponent);function EN(){}function xN(e,n,t){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+n)/6,(e._y0+4*e._y1+t)/6)}function CN(e){this._context=e}function SN(e){this._context=e}function wN(e){this._context=e}function DN(e){this._context=e}function AN(e){this._context=e}function ON(e){return new AN(e)}function LN(e){return e<0?-1:1}function IN(e,n,t){var i=e._x1-e._x0,r=n-e._x1,l=(e._y1-e._y0)/(i||r<0&&-0),a=(t-e._y1)/(r||i<0&&-0),o=(l*r+a*i)/(i+r);return(LN(l)+LN(a))*Math.min(Math.abs(l),Math.abs(a),.5*Math.abs(o))||0}function UN(e,n){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-n)/2:n}function PN(e,n,t){var i=e._x0,r=e._y0,l=e._x1,a=e._y1,o=(l-i)/3;e._context.bezierCurveTo(i+o,r+o*n,l-o,a-o*t,l,a)}function VN(e){this._context=e}function BN(e){this._context=new MN(e)}function MN(e){this._context=e}function FN(e){this._context=e}function jN(e){var n,t,i=e.length-1,r=new Array(i),l=new Array(i),a=new Array(i);for(r[0]=0,l[0]=2,a[0]=e[0]+2*e[1],n=1;n=0;--n)r[n]=(a[n]-r[n+1])/l[n];for(l[i-1]=(e[i]+r[i-1])/2,n=0;n=c;--d)o.point(_[d],h[d]);o.lineEnd(),o.areaEnd()}y&&(_[u]=+e(p,u,s),h[u]=+n(p,u,s),o.point(i?+i(p,u,s):_[u],t?+t(p,u,s):h[u]))}if(f)return o=null,f+""||null}function u(){return HN().defined(r).curve(a).context(l)}return e="function"===typeof e?e:void 0===e?ZN:Lv(+e),n="function"===typeof n?n:Lv(void 0===n?0:+n),t="function"===typeof t?t:void 0===t?zN:Lv(+t),s.x=function(n){return arguments.length?(e="function"===typeof n?n:Lv(+n),i=null,s):e},s.x0=function(n){return arguments.length?(e="function"===typeof n?n:Lv(+n),s):e},s.x1=function(e){return arguments.length?(i=null==e?null:"function"===typeof e?e:Lv(+e),s):i},s.y=function(e){return arguments.length?(n="function"===typeof e?e:Lv(+e),t=null,s):n},s.y0=function(e){return arguments.length?(n="function"===typeof e?e:Lv(+e),s):n},s.y1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:Lv(+e),s):t},s.lineX0=s.lineY0=function(){return u().x(e).y(n)},s.lineY1=function(){return u().x(e).y(t)},s.lineX1=function(){return u().x(i).y(n)},s.defined=function(e){return arguments.length?(r="function"===typeof e?e:Lv(!!e),s):r},s.curve=function(e){return arguments.length?(a=e,null!=l&&(o=a(l)),s):a},s.context=function(e){return arguments.length?(null==e?l=o=null:o=a(l=e),s):l},s}function WN(e){return WN="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WN(e)}function GN(){return GN=Object.assign||function(e){for(var n=1;n=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(e,n);else{var t=this._x*(1-this._t)+e*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,n)}}this._x=e,this._y=n}};var rE={curveBasisClosed:function(e){return new SN(e)},curveBasisOpen:function(e){return new wN(e)},curveBasis:function(e){return new CN(e)},curveLinearClosed:function(e){return new DN(e)},curveLinear:ON,curveMonotoneX:function(e){return new VN(e)},curveMonotoneY:function(e){return new BN(e)},curveNatural:function(e){return new FN(e)},curveStep:function(e){return new JN(e,.5)},curveStepAfter:function(e){return new JN(e,1)},curveStepBefore:function(e){return new JN(e,0)}},lE=function(e){return e.x===+e.x&&e.y===+e.y},aE=function(e){return e.x},oE=function(e){return e.y},sE=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&eE(e,n)}(a,e);var n,t,i,r=nE(a);function a(){return QN(this,a),r.apply(this,arguments)}return n=a,t=[{key:"getPath",value:function(){var e,n=this.props,t=n.type,i=n.points,r=n.baseLine,l=n.layout,a=n.connectNulls,o=function(e,n){if(Ff()(e))return e;var t="curve".concat(Of()(e));return"curveMonotone"===t&&n?rE["".concat(t).concat("vertical"===n?"Y":"X")]:rE[t]||ON}(t,l),s=a?i.filter((function(e){return lE(e)})):i;if(cf()(r)){var u=a?r.filter((function(e){return lE(e)})):r,c=s.map((function(e,n){return $N($N({},e),{},{base:u[n]})}));return(e="vertical"===l?qN().y(oE).x1(aE).x0((function(e){return e.base.x})):qN().x(aE).y1(oE).y0((function(e){return e.base.y}))).defined(lE).curve(o),e(c)}return(e="vertical"===l&&vf(r)?qN().y(oE).x1(aE).x0(r):vf(r)?qN().x(aE).y1(oE).y0(r):HN().x(aE).y(oE)).defined(lE).curve(o),e(s)}},{key:"render",value:function(){var e=this.props,n=e.className,t=e.points,i=e.path,r=e.pathRef;if((!t||!t.length)&&!i)return null;var a=t&&t.length?this.getPath():i;return l.createElement("path",GN({},nf(this.props),tf(this.props),{className:Gp()("recharts-curve",n),d:a,ref:r}))}}],t&&XN(n.prototype,t),i&&XN(n,i),a}(l.PureComponent);function uE(e){return uE="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uE(e)}function cE(){return cE=Object.assign||function(e){for(var n=1;n=0?1:-1,s=t>=0?1:-1,u=i>=0&&t>=0||i<0&&t<0?1:0;if(a>0&&r instanceof Array){for(var c=[0,0,0,0],d=0;d<4;d++)c[d]=r[d]>a?a:r[d];l="M".concat(e,",").concat(n+o*c[0]),c[0]>0&&(l+="A ".concat(c[0],",").concat(c[0],",0,0,").concat(u,",").concat(e+s*c[0],",").concat(n)),l+="L ".concat(e+t-s*c[1],",").concat(n),c[1]>0&&(l+="A ".concat(c[1],",").concat(c[1],",0,0,").concat(u,",\n ").concat(e+t,",").concat(n+o*c[1])),l+="L ".concat(e+t,",").concat(n+i-o*c[2]),c[2]>0&&(l+="A ".concat(c[2],",").concat(c[2],",0,0,").concat(u,",\n ").concat(e+t-s*c[2],",").concat(n+i)),l+="L ".concat(e+s*c[3],",").concat(n+i),c[3]>0&&(l+="A ".concat(c[3],",").concat(c[3],",0,0,").concat(u,",\n ").concat(e,",").concat(n+i-o*c[3])),l+="Z"}else if(a>0&&r===+r&&r>0){var p=Math.min(a,r);l="M ".concat(e,",").concat(n+o*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+s*p,",").concat(n,"\n L ").concat(e+t-s*p,",").concat(n,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+t,",").concat(n+o*p,"\n L ").concat(e+t,",").concat(n+i-o*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+t-s*p,",").concat(n+i,"\n L ").concat(e+s*p,",").concat(n+i,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e,",").concat(n+i-o*p," Z")}else l="M ".concat(e,",").concat(n," h ").concat(t," v ").concat(i," h ").concat(-t," Z");return l},PE=function(e,n){if(!e||!n)return!1;var t=e.x,i=e.y,r=n.x,l=n.y,a=n.width,o=n.height;if(Math.abs(a)>0&&Math.abs(o)>0){var s=Math.min(r,r+a),u=Math.max(r,r+a),c=Math.min(l,l+o),d=Math.max(l,l+o);return t>=s&&t<=u&&i>=c&&i<=d}return!1},VE=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&AE(e,n)}(a,e);var n,t,i,r=OE(a);function a(){var e;wE(this,a);for(var n=arguments.length,t=new Array(n),i=0;i0,from:{width:r,height:a,x:t,y:i},to:{width:r,height:a,x:t,y:i},duration:p,animationEasing:d,isActive:y},(function(n){var t=n.width,i=n.height,r=n.x,a=n.y;return l.createElement($R,{canBegin:u>0,from:"0px ".concat(-1===u?1:u,"px"),to:"".concat(u,"px 0px"),attributeName:"strokeDasharray",begin:f,duration:p,isActive:m,easing:d},l.createElement("path",SE({},nf(e.props,!0),{className:_,d:UE(r,a,t,i,o),ref:function(n){e.node=n}})))})):l.createElement("path",SE({},nf(this.props,!0),{className:_,d:UE(t,i,r,a,o)}))}}],t&&DE(n.prototype,t),i&&DE(n,i),a}(l.PureComponent);function BE(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function ME(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,i=new Array(n);t=0&&n===+n?"".concat(n,"px"):n}(t,e[t]),";");var i}),"")},GE=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||dN.isSsr)return{width:0,height:0};var t="".concat(e),i=WE(n),r="".concat(t,"-").concat(i);if(ZE.widthCache[r])return ZE.widthCache[r];try{var l=document.getElementById(qE);l||((l=document.createElement("span")).setAttribute("id",qE),l.setAttribute("aria-hidden","true"),document.body.appendChild(l));var a=ME(ME({},zE),n);Object.keys(a).map((function(e){return l.style[e]=a[e],e})),l.textContent=t;var o=l.getBoundingClientRect(),s={width:o.width,height:o.height};return ZE.widthCache[r]=s,++ZE.cacheCount>2e3&&(ZE.cacheCount=0,ZE.widthCache={}),s}catch(u){return{width:0,height:0}}},KE=t(2692),$E=t.n(KE);function YE(e){return YE="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YE(e)}function QE(){return QE=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function ex(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function nx(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,i=new Array(n);t0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,n){var l=n.word,a=n.width,o=e[e.length-1];if(o&&(null==i||r||o.width+a+te.maxLines||function(e){return e.reduce((function(e,n){return e.width>n.width?e:n}))}(l).width>i;return[s,l]},d=0,p=a.length-1,f=0;d<=p&&f<=a.length-1;){var m=Math.floor((d+p)/2),y=ax(c(m-1),2),_=y[0],h=y[1],g=ax(c(m),1)[0];if(_||g||(d=m+1),_&&g&&(p=m-1),!_&&g){u=h;break}f++}return u||s}(e,t.wordsWithComputedWidth,t.spaceWidth,e.width,e.scaleToFit):fx(e.children)}return fx(e.children)},yx=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&tx(e,n)}(a,e);var n,t,i,r=ix(a);function a(){var e;ex(this,a);for(var n=arguments.length,t=new Array(n),i=0;ie.length)&&(n=e.length);for(var t=0,i=new Array(n);t=0?1:-1;"insideStart"===a?(i=y+T*s,r=h):"insideEnd"===a?(i=_-T*s,r=!h):"end"===a&&(i=_+T*s,r=h),r=v<=0?r:!r;var b=Kb(d,p,g,i),k=Kb(d,p,g,i+359*(r?1:-1)),R="M".concat(b.x,",").concat(b.y,"\n A").concat(g,",").concat(g,",0,1,").concat(r?0:1,",\n ").concat(k.x,",").concat(k.y),N=af()(e.id)?kf("recharts-radial-line-"):e.id;return l.createElement("text",bx({},t,{dominantBaseline:"central",className:Gp()("recharts-radial-bar-label",u)}),l.createElement("defs",null,l.createElement("path",{id:N,d:R})),l.createElement("textPath",{xlinkHref:"#".concat(N)},n))};function Rx(e){var n,t=e.viewBox,i=e.position,r=e.value,a=e.children,o=e.content,s=e.className,u=void 0===s?"":s,c=e.textBreakAll;if(!t||af()(r)&&af()(a)&&!(0,l.isValidElement)(o)&&!Ff()(o))return null;if((0,l.isValidElement)(o))return(0,l.cloneElement)(o,e);if(Ff()(o)){if(n=(0,l.createElement)(o,e),(0,l.isValidElement)(n))return n}else n=function(e){var n=e.value,t=e.formatter,i=af()(e.children)?n:e.children;return Ff()(t)?t(i):i}(e);var d=function(e){return vf(e.cx)}(t),p=nf(e,!0);if(d&&("insideStart"===i||"insideEnd"===i||"end"===i))return kx(e,n,p);var f=d?function(e){var n=e.viewBox,t=e.offset,i=e.position,r=n,l=r.cx,a=r.cy,o=r.innerRadius,s=r.outerRadius,u=(r.startAngle+r.endAngle)/2;if("outside"===i){var c=Kb(l,a,s+t,u),d=c.x;return{x:d,y:c.y,textAnchor:d>=l?"start":"end",verticalAnchor:"middle"}}if("center"===i)return{x:l,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===i)return{x:l,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===i)return{x:l,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=Kb(l,a,(o+s)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(e):function(e){var n=e.viewBox,t=e.parentViewBox,i=e.offset,r=e.position,l=n,a=l.x,o=l.y,s=l.width,u=l.height,c=u>=0?1:-1,d=c*i,p=c>0?"end":"start",f=c>0?"start":"end",m=s>=0?1:-1,y=m*i,_=m>0?"end":"start",h=m>0?"start":"end";if("top"===r)return vx(vx({},{x:a+s/2,y:o-c*i,textAnchor:"middle",verticalAnchor:p}),t?{height:Math.max(o-t.y,0),width:s}:{});if("bottom"===r)return vx(vx({},{x:a+s/2,y:o+u+d,textAnchor:"middle",verticalAnchor:f}),t?{height:Math.max(t.y+t.height-(o+u),0),width:s}:{});if("left"===r){var g={x:a-y,y:o+u/2,textAnchor:_,verticalAnchor:"middle"};return vx(vx({},g),t?{width:Math.max(g.x-t.x,0),height:u}:{})}if("right"===r){var v={x:a+s+y,y:o+u/2,textAnchor:h,verticalAnchor:"middle"};return vx(vx({},v),t?{width:Math.max(t.x+t.width-v.x,0),height:u}:{})}var T=t?{width:s,height:u}:{};return"insideLeft"===r?vx({x:a+y,y:o+u/2,textAnchor:h,verticalAnchor:"middle"},T):"insideRight"===r?vx({x:a+s-y,y:o+u/2,textAnchor:_,verticalAnchor:"middle"},T):"insideTop"===r?vx({x:a+s/2,y:o+d,textAnchor:"middle",verticalAnchor:f},T):"insideBottom"===r?vx({x:a+s/2,y:o+u-d,textAnchor:"middle",verticalAnchor:p},T):"insideTopLeft"===r?vx({x:a+y,y:o+d,textAnchor:h,verticalAnchor:f},T):"insideTopRight"===r?vx({x:a+s-y,y:o+d,textAnchor:_,verticalAnchor:f},T):"insideBottomLeft"===r?vx({x:a+y,y:o+u-d,textAnchor:h,verticalAnchor:p},T):"insideBottomRight"===r?vx({x:a+s-y,y:o+u-d,textAnchor:_,verticalAnchor:p},T):$p()(r)&&(vf(r.x)||gf(r.x))&&(vf(r.y)||gf(r.y))?vx({x:a+Rf(r.x,s),y:o+Rf(r.y,u),textAnchor:"end",verticalAnchor:"end"},T):vx({x:a+s/2,y:o+u/2,textAnchor:"middle",verticalAnchor:"middle"},T)}(e);return l.createElement(yx,bx({className:Gp()("recharts-label",u)},p,f,{breakAll:c}),n)}Rx.displayName="Label",Rx.defaultProps={offset:5};var Nx=function(e){var n=e.cx,t=e.cy,i=e.angle,r=e.startAngle,l=e.endAngle,a=e.r,o=e.radius,s=e.innerRadius,u=e.outerRadius,c=e.x,d=e.y,p=e.top,f=e.left,m=e.width,y=e.height,_=e.clockWise,h=e.labelViewBox;if(h)return h;if(vf(m)&&vf(y)){if(vf(c)&&vf(d))return{x:c,y:d,width:m,height:y};if(vf(p)&&vf(f))return{x:p,y:f,width:m,height:y}}return vf(c)&&vf(d)?{x:c,y:d,width:0,height:0}:vf(n)&&vf(t)?{cx:n,cy:t,startAngle:r||i||0,endAngle:l||i||0,innerRadius:s||0,outerRadius:u||o||a||0,clockWise:_}:e.viewBox?e.viewBox:{}},Ex=function(e,n){return e?!0===e?l.createElement(Rx,{key:"label-implicit",viewBox:n}):Tf(e)?l.createElement(Rx,{key:"label-implicit",viewBox:n,value:e}):(0,l.isValidElement)(e)?e.type===Rx?(0,l.cloneElement)(e,{key:"label-implicit",viewBox:n}):l.createElement(Rx,{key:"label-implicit",content:e,viewBox:n}):Ff()(e)?l.createElement(Rx,{key:"label-implicit",content:e,viewBox:n}):$p()(e)?l.createElement(Rx,bx({viewBox:n},e,{key:"label-implicit"})):null:null};function xx(e){return xx="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xx(e)}function Cx(){return Cx=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function Ox(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Lx(e,n){for(var t=0;t2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&t&&!e.label)return null;var i=e.children,r=Nx(e),a=lb(i,Rx.displayName).map((function(e,t){return(0,l.cloneElement)(e,{viewBox:n||r,key:"label-".concat(t)})}));if(!t)return a;var o=Ex(e.label,n||r);return[o].concat(_x(a))};var Bx=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ix(e,n)}(a,e);var n,t,i,r=Ux(a);function a(){return Ox(this,a),r.apply(this,arguments)}return n=a,t=[{key:"shouldComponentUpdate",value:function(e){var n=e.viewBox,t=Ax(e,["viewBox"]),i=this.props,r=i.viewBox,l=Ax(i,["viewBox"]);return!QT(n,r)||!QT(t,l)}},{key:"getTickLineCoord",value:function(e){var n,t,i,r,l,a,o=this.props,s=o.x,u=o.y,c=o.width,d=o.height,p=o.orientation,f=o.tickSize,m=o.mirror,y=o.tickMargin,_=m?-1:1,h=e.tickSize||f,g=vf(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":n=t=e.coordinate,a=(i=(r=u+ +!m*d)-_*h)-_*y,l=g;break;case"left":i=r=e.coordinate,l=(n=(t=s+ +!m*c)-_*h)-_*y,a=g;break;case"right":i=r=e.coordinate,l=(n=(t=s+ +m*c)+_*h)+_*y,a=g;break;default:n=t=e.coordinate,a=(i=(r=u+ +m*d)+_*h)+_*y,l=g}return{line:{x1:n,y1:i,x2:t,y2:r},tick:{x:l,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,n=this.props,t=n.orientation,i=n.mirror;switch(t){case"left":e=i?"start":"end";break;case"right":e=i?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,n=e.orientation,t=e.mirror,i="end";switch(n){case"left":case"right":i="middle";break;case"top":i=t?"start":"end";break;default:i=t?"end":"start"}return i}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.x,t=e.y,i=e.width,r=e.height,a=e.orientation,o=e.mirror,s=e.axisLine,u=wx(wx(wx({},nf(this.props)),nf(s)),{},{fill:"none"});if("top"===a||"bottom"===a){var c=+("top"===a&&!o||"bottom"===a&&o);u=wx(wx({},u),{},{x1:n,y1:t+c*r,x2:n+i,y2:t+c*r})}else{var d=+("left"===a&&!o||"right"===a&&o);u=wx(wx({},u),{},{x1:n+d*i,y1:t,x2:n+d*i,y2:t+r})}return l.createElement("line",Cx({},u,{className:Gp()("recharts-cartesian-axis-line",sf()(s,"className"))}))}},{key:"renderTicks",value:function(e){var n=this,t=this.props,i=t.tickLine,r=t.stroke,o=t.tick,s=t.tickFormatter,u=t.unit,c=a.getTicks(wx(wx({},this.props),{},{ticks:e})),d=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),f=nf(this.props),m=nf(o),y=wx(wx({},f),{},{fill:"none"},nf(i)),_=c.map((function(e,t){var _=n.getTickLineCoord(e),h=_.line,g=_.tick,v=wx(wx(wx(wx({textAnchor:d,verticalAnchor:p},f),{},{stroke:"none",fill:r},m),g),{},{index:t,payload:e,visibleTicksCount:c.length,tickFormatter:s});return l.createElement(Ak,Cx({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t)},rf(n.props,e,t)),i&&l.createElement("line",Cx({},y,h,{className:Gp()("recharts-cartesian-axis-tick-line",sf()(i,"className"))})),o&&a.renderTickItem(o,v,"".concat(Ff()(s)?s(e.value,t):e.value).concat(u||"")))}));return l.createElement("g",{className:"recharts-cartesian-axis-ticks"},_)}},{key:"render",value:function(){var e=this.props,n=e.axisLine,t=e.width,i=e.height,r=e.ticksGenerator,a=e.className;if(e.hide)return null;var o=this.props,s=o.ticks,u=Ax(o,["ticks"]),c=s;return Ff()(r)&&(c=s&&s.length>0?r(this.props):r(u)),t<=0||i<=0||!c||!c.length?null:l.createElement(Ak,{className:Gp()("recharts-cartesian-axis",a)},n&&this.renderAxisLine(),this.renderTicks(c),Rx.renderCallByParent(this.props))}}],i=[{key:"getTicks",value:function(e){var n=e.tick,t=e.ticks,i=e.viewBox,r=e.minTickGap,l=e.orientation,o=e.interval,s=e.tickFormatter,u=e.unit;return t&&t.length&&n?vf(o)||dN.isSsr?a.getNumberIntervalTicks(t,"number"===typeof o&&vf(o)?o:0):"preserveStartEnd"===o?a.getTicksStart({ticks:t,tickFormatter:s,viewBox:i,orientation:l,minTickGap:r,unit:u},!0):"preserveStart"===o?a.getTicksStart({ticks:t,tickFormatter:s,viewBox:i,orientation:l,minTickGap:r,unit:u}):a.getTicksEnd({ticks:t,tickFormatter:s,viewBox:i,orientation:l,minTickGap:r,unit:u}):[]}},{key:"getNumberIntervalTicks",value:function(e,n){return e.filter((function(e,t){return t%(n+1)===0}))}},{key:"getTicksStart",value:function(e,n){var t,i,r=e.ticks,l=e.tickFormatter,a=e.viewBox,o=e.orientation,s=e.minTickGap,u=e.unit,c=a.x,d=a.y,p=a.width,f=a.height,m="top"===o||"bottom"===o?"width":"height",y=(r||[]).slice(),_=u&&"width"===m?GE(u)[m]:0,h=y.length,g=h>=2?hf(y[1].coordinate-y[0].coordinate):1;if(1===g?(t="width"===m?c:d,i="width"===m?c+p:d+f):(t="width"===m?c+p:d+f,i="width"===m?c:d),n){var v=r[h-1],T=Ff()(l)?l(v.value,h-1):v.value,b=GE(T)[m]+_,k=g*(v.coordinate+g*b/2-i);y[h-1]=v=wx(wx({},v),{},{tickCoord:k>0?v.coordinate-k*g:v.coordinate}),g*(v.tickCoord-g*b/2-t)>=0&&g*(v.tickCoord+g*b/2-i)<=0&&(i=v.tickCoord-g*(b/2+s),y[h-1]=wx(wx({},v),{},{isShow:!0}))}for(var R=n?h-1:h,N=0;N=0&&g*(E.tickCoord+g*C/2-i)<=0&&(t=E.tickCoord+g*(C/2+s),y[N]=wx(wx({},E),{},{isShow:!0}))}return y.filter((function(e){return e.isShow}))}},{key:"getTicksEnd",value:function(e){var n,t,i=e.ticks,r=e.tickFormatter,l=e.viewBox,a=e.orientation,o=e.minTickGap,s=e.unit,u=l.x,c=l.y,d=l.width,p=l.height,f="top"===a||"bottom"===a?"width":"height",m=s&&"width"===f?GE(s)[f]:0,y=(i||[]).slice(),_=y.length,h=_>=2?hf(y[1].coordinate-y[0].coordinate):1;1===h?(n="width"===f?u:c,t="width"===f?u+d:c+p):(n="width"===f?u+d:c+p,t="width"===f?u:c);for(var g=_-1;g>=0;g--){var v=y[g],T=Ff()(r)?r(v.value,_-g-1):v.value,b=GE(T)[f]+m;if(g===_-1){var k=h*(v.coordinate+h*b/2-t);y[g]=v=wx(wx({},v),{},{tickCoord:k>0?v.coordinate-k*h:v.coordinate})}else y[g]=v=wx(wx({},v),{},{tickCoord:v.coordinate});h*(v.tickCoord-h*b/2-n)>=0&&h*(v.tickCoord+h*b/2-t)<=0&&(t=v.tickCoord-h*(b/2+o),y[g]=wx(wx({},v),{},{isShow:!0}))}return y.filter((function(e){return e.isShow}))}},{key:"renderTickItem",value:function(e,n,t){return l.isValidElement(e)?l.cloneElement(e,n):Ff()(e)?e(n):l.createElement(yx,Cx({},n,{className:"recharts-cartesian-axis-tick-value"}),t)}}],t&&Lx(n.prototype,t),i&&Lx(n,i),a}(l.Component);function Mx(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Fx(e){for(var n=1;n0&&n.handleDrag(e.changedTouches[0])},n.handleDragEnd=function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1}),n.detachDragEndListener()},n.handleLeaveWrapper=function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))},n.handleEnterSlideOrTraveller=function(){n.setState({isTextActive:!0})},n.handleLeaveSlideOrTraveller=function(){n.setState({isTextActive:!1})},n.handleSlideDragStart=function(e){var t=eC(e)?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),n.attachDragEndListener()},n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(Qx(n),"startX"),endX:n.handleTravellerDragStart.bind(Qx(n),"endX")},n.state={},n}return n=a,t=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var n=e.startX,t=e.endX,i=this.state.scaleValues,r=this.props,l=r.gap,o=r.data.length-1,s=Math.min(n,t),u=Math.max(n,t),c=a.getIndexInRange(i,s),d=a.getIndexInRange(i,u);return{startIndex:c-c%l,endIndex:d===o?o:d-d%l}}},{key:"getTextOfTick",value:function(e){var n=this.props,t=n.data,i=n.tickFormatter,r=n.dataKey,l=gb(t[e],r,e);return Ff()(i)?i(l,e):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(e){var n=this.state,t=n.slideMoveStartX,i=n.startX,r=n.endX,l=this.props,a=l.x,o=l.width,s=l.travellerWidth,u=l.startIndex,c=l.endIndex,d=l.onChange,p=e.pageX-t;p>0?p=Math.min(p,a+o-s-r,a+o-s-i):p<0&&(p=Math.max(p,a-i,a-r));var f=this.getIndex({startX:i+p,endX:r+p});f.startIndex===u&&f.endIndex===c||!d||d(f),this.setState({startX:i+p,endX:r+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,n){var t=eC(n)?n.changedTouches[0]:n;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:t.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var n,t=this.state,i=t.brushMoveStartX,r=t.movingTravellerId,l=t.endX,a=t.startX,o=this.state[r],s=this.props,u=s.x,c=s.width,d=s.travellerWidth,p=s.onChange,f=s.gap,m=s.data,y={startX:this.state.startX,endX:this.state.endX},_=e.pageX-i;_>0?_=Math.min(_,u+c-d-o):_<0&&(_=Math.max(_,u-o)),y[r]=o+_;var h=this.getIndex(y),g=h.startIndex,v=h.endIndex;this.setState((Wx(n={},r,o+_),Wx(n,"brushMoveStartX",e.pageX),n),(function(){p&&function(){var e=m.length-1;return"startX"===r&&(l>a?g%f===0:v%f===0)||la?v%f===0:g%f===0)||l>a&&v===e}()&&p(h)}))}},{key:"renderBackground",value:function(){var e=this.props,n=e.x,t=e.y,i=e.width,r=e.height,a=e.fill,o=e.stroke;return l.createElement("rect",{stroke:o,fill:a,x:n,y:t,width:i,height:r})}},{key:"renderPanorama",value:function(){var e=this.props,n=e.x,t=e.y,i=e.width,r=e.height,a=e.data,o=e.children,s=e.padding,u=l.Children.only(o);return u?l.cloneElement(u,{x:n,y:t,width:i,height:r,margin:s,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,n){var t=this.props,i=t.y,r=t.travellerWidth,o=t.height,s=t.traveller,u=Math.max(e,this.props.x),c=qx(qx({},nf(this.props)),{},{x:u,y:i,width:r,height:o});return l.createElement(Ak,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[n],onTouchStart:this.travellerDragStartHandlers[n],style:{cursor:"col-resize"}},a.renderTraveller(s,c))}},{key:"renderSlide",value:function(e,n){var t=this.props,i=t.y,r=t.height,a=t.stroke,o=t.travellerWidth,s=Math.min(e,n)+o,u=Math.max(Math.abs(n-e)-o,0);return l.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:s,y:i,width:u,height:r})}},{key:"renderText",value:function(){var e=this.props,n=e.startIndex,t=e.endIndex,i=e.y,r=e.height,a=e.travellerWidth,o=e.stroke,s=this.state,u=s.startX,c=s.endX,d={pointerEvents:"none",fill:o};return l.createElement(Ak,{className:"recharts-brush-texts"},l.createElement(yx,zx({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,c)-5,y:i+r/2},d),this.getTextOfTick(n)),l.createElement(yx,zx({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,c)+a+5,y:i+r/2},d),this.getTextOfTick(t)))}},{key:"render",value:function(){var e=this.props,n=e.data,t=e.className,i=e.children,r=e.x,a=e.y,o=e.width,s=e.height,u=e.alwaysShowText,c=this.state,d=c.startX,p=c.endX,f=c.isTextActive,m=c.isSlideMoving,y=c.isTravellerMoving;if(!n||!n.length||!vf(r)||!vf(a)||!vf(o)||!vf(s)||o<=0||s<=0)return null;var _=Gp()("recharts-brush",t),h=1===l.Children.count(i),g=function(e,n){if(!e)return null;var t=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),i=Jx.reduce((function(e,i){return Fx(Fx({},e),{},jx({},i+t,n))}),{});return i[e]=n,i}("userSelect","none");return l.createElement(Ak,{className:_,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),h&&this.renderPanorama(),this.renderSlide(d,p),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(p,"endX"),(f||m||y||u)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var n=e.x,t=e.y,i=e.width,r=e.height,a=e.stroke,o=Math.floor(t+r/2)-1;return l.createElement(l.Fragment,null,l.createElement("rect",{x:n,y:t,width:i,height:r,fill:a,stroke:"none"}),l.createElement("line",{x1:n+1,y1:o,x2:n+i-1,y2:o,fill:"none",stroke:"#fff"}),l.createElement("line",{x1:n+1,y1:o+2,x2:n+i-1,y2:o+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,n){return l.isValidElement(e)?l.cloneElement(e,n):Ff()(e)?e(n):a.renderDefaultTraveller(n)}},{key:"getDerivedStateFromProps",value:function(e,n){var t=e.data,i=e.width,r=e.x,l=e.travellerWidth,a=e.updateId,o=e.startIndex,s=e.endIndex;if(t!==n.prevData||a!==n.prevUpdateId)return qx({prevData:t,prevTravellerWidth:l,prevUpdateId:a,prevX:r,prevWidth:i},t&&t.length?function(e){var n=e.data,t=e.startIndex,i=e.endIndex,r=e.x,l=e.width,a=e.travellerWidth;if(!n||!n.length)return{};var o=n.length,s=Rm().domain(xk()(0,o)).range([r,r+l-a]),u=s.domain().map((function(e){return s(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:s(t),endX:s(i),scale:s,scaleValues:u}}({data:t,width:i,x:r,travellerWidth:l,startIndex:o,endIndex:s}):{scale:null,scaleValues:null});if(n.scale&&(i!==n.prevWidth||r!==n.prevX||l!==n.prevTravellerWidth)){n.scale.range([r,r+i-l]);var u=n.scale.domain().map((function(e){return n.scale(e)}));return{prevData:t,prevTravellerWidth:l,prevUpdateId:a,prevX:r,prevWidth:i,startX:n.scale(e.startIndex),endX:n.scale(e.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(e,n){for(var t=0,i=e.length-1;i-t>1;){var r=Math.floor((t+i)/2);e[r]>n?i=r:t=r}return n>=e[i]?i:t}}],t&&Gx(n.prototype,t),i&&Gx(n,i),a}(l.PureComponent);nC.displayName="Brush",nC.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var tC=function(e,n){var t=e.alwaysShow,i=e.ifOverflow;return t&&(i="extendDomain"),i===n},iC=t(7702),rC=t.n(iC);function lC(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},t=n.bandAware,i=n.position;if(void 0!==e){if(i)switch(i){case"start":default:return this.scale(e);case"middle":var r=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+r;case"end":var l=this.bandwidth?this.bandwidth():0;return this.scale(e)+l}if(t){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var n=this.range(),t=n[0],i=n[n.length-1];return t<=i?e>=t&&e<=i:e>=i&&e<=t}}],i=[{key:"create",value:function(n){return new e(n)}}],t&&lC(n.prototype,t),i&&lC(n,i),e}();cC.EPS=1e-4;var dC=function(e){var n=Object.keys(e).reduce((function(n,t){return oC(oC({},n),{},sC({},t,cC.create(e[t])))}),{});return oC(oC({},n),{},{apply:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.bandAware,r=t.position;return rC()(e,(function(e,t){return n[t].apply(e,{bandAware:i,position:r})}))},isInRange:function(e){return Tk()(e,(function(e,t){return n[t].isInRange(e)}))}})};function pC(){return pC=Object.assign||function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,i=new Array(n);t=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function MC(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,i=new Array(n);t0?a:t&&t.props&&t.props.data&&t.props.data.length>0?t.props.data:e&&e.length&&vf(r)&&vf(l)?e.slice(r,l+1):[]},iS=function(e,n,t,i){var r=e.graphicalItems,l=e.tooltipAxis,a=tS(n,e);return t<0||!r||!r.length||t>=a.length?null:r.reduce((function(e,n){if(n.props.hide)return e;var r,o=n.props.data;l.dataKey&&!l.allowDuplicatedCategory?r=xf(void 0===o?a:o,l.dataKey,i):r=o&&o[t]||a[t];return r?[].concat(HC(e),[jb(n,r)]):e}),[])},rS=function(e,n,t,i){var r=i||{x:e.chartX,y:e.chartY},l=function(e,n){return"horizontal"===n?e.x:"vertical"===n?e.y:"centric"===n?e.angle:e.radius}(r,t),a=e.orderedTooltipTicks,o=e.tooltipAxis,s=e.tooltipTicks,u=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,l=-1,a=null!==(n=null===t||void 0===t?void 0:t.length)&&void 0!==n?n:0;if(a>1){if(r&&"angleAxis"===r.axisType&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var o=r.range,s=0;s0?i[s-1].coordinate:i[a-1].coordinate,c=i[s].coordinate,d=s>=a-1?i[0].coordinate:i[s+1].coordinate,p=void 0;if(hf(c-u)!==hf(d-c)){var f=[];if(hf(d-c)===hf(o[1]-o[0])){p=d;var m=c+o[1]-o[0];f[0]=Math.min(m,(m+u)/2),f[1]=Math.max(m,(m+u)/2)}else{p=u;var y=d+o[1]-o[0];f[0]=Math.min(c,(y+c)/2),f[1]=Math.max(c,(y+c)/2)}var _=[Math.min(c,(p+c)/2),Math.max(c,(p+c)/2)];if(e>_[0]&&e<=_[1]||e>=f[0]&&e<=f[1]){l=i[s].index;break}}else{var h=Math.min(u,d),g=Math.max(u,d);if(e>(h+c)/2&&e<=(g+c)/2){l=i[s].index;break}}}else for(var v=0;v0&&v(t[v].coordinate+t[v-1].coordinate)/2&&e<=(t[v].coordinate+t[v+1].coordinate)/2||v===a-1&&e>(t[v].coordinate+t[v-1].coordinate)/2){l=t[v].index;break}}else l=0;return l}(l,a,s,o);if(u>=0&&s){var c=s[u]&&s[u].value,d=iS(e,n,u,c),p=function(e,n,t,i){var r=n.find((function(e){return e&&e.index===t}));if(r){if("horizontal"===e)return{x:r.coordinate,y:i.y};if("vertical"===e)return{x:i.x,y:r.coordinate};if("centric"===e){var l=r.coordinate,a=i.radius;return KC(KC(KC({},i),Kb(i.cx,i.cy,a,l)),{},{angle:l,radius:a})}var o=r.coordinate,s=i.angle;return KC(KC(KC({},i),Kb(i.cx,i.cy,o,s)),{},{angle:s,radius:o})}return QC}(t,a,u,r);return{activeTooltipIndex:u,activeLabel:c,activePayload:d,activeCoordinate:p}}return null},lS=function(e,n){var t=n.axes,i=n.graphicalItems,r=n.axisType,l=n.axisIdKey,a=n.stackGroups,o=n.dataStartIndex,s=n.dataEndIndex,u=e.layout,c=e.children,d=e.stackOffset,p=Nb(u,r),f=t.reduce((function(n,t){var f=t.props,m=f.type,y=f.dataKey,_=f.allowDataOverflow,h=f.allowDuplicatedCategory,g=f.scale,v=f.ticks,T=t.props[l],b=tS(e.data,{graphicalItems:i.filter((function(e){return e.props[l]===T})),dataStartIndex:o,dataEndIndex:s}),k=b.length;if(!n[T]){var R,N,E;if(y){if(R=vb(b,y,m),"category"===m&&p){var x=function(e){if(!cf()(e))return!1;for(var n=e.length,t={},i=0;i=0?e:[].concat(HC(e),[n])}),[]))}else if("category"===m)R=h?R.filter((function(e){return""!==e&&!af()(e)})):Fb(t.props.domain,R,t).reduce((function(e,n){return e.indexOf(n)>=0||""===n||af()(n)?e:[].concat(HC(e),[n])}),[]);else if("number"===m){var C=function(e,n,t,i){var r=n.map((function(n){return kb(e,n,t,i)})).filter((function(e){return!af()(e)}));return r&&r.length?r.reduce((function(e,n){return[Math.min(e[0],n[0]),Math.max(e[1],n[1])]}),[1/0,-1/0]):null}(b,i.filter((function(e){return e.props[l]===T&&!e.props.hide})),y,r);C&&(R=C)}!p||"number"!==m&&"auto"===g||(E=vb(b,y,"category"))}else R=p?xk()(0,k):a&&a[T]&&a[T].hasStack&&"number"===m?"expand"===d?[0,1]:Ub(a[T].stackGroups,o,s):Rb(b,i.filter((function(e){return e.props[l]===T&&!e.props.hide})),m,!0);if("number"===m)R=AC(c,R,T,r,v),t.props.domain&&(R=Bb(t.props.domain,R,_));else if("category"===m&&t.props.domain){var S=t.props.domain;R.every((function(e){return S.indexOf(e)>=0}))&&(R=S)}return KC(KC({},n),{},$C({},T,KC(KC({},t.props),{},{axisType:r,domain:R,categoricalDomain:E,duplicateDomain:N,originalDomain:t.props.domain,isCategorical:p,layout:u})))}return n}),{});return f},aS=function(e,n){var t=n.axisType,i=void 0===t?"xAxis":t,r=n.AxisComp,l=n.graphicalItems,a=n.stackGroups,o=n.dataStartIndex,s=n.dataEndIndex,u=e.children,c="".concat(i,"Id"),d=lb(u,r),p={};return d&&d.length?p=lS(e,{axes:d,graphicalItems:l,axisType:i,axisIdKey:c,stackGroups:a,dataStartIndex:o,dataEndIndex:s}):l&&l.length&&(p=function(e,n){var t=n.graphicalItems,i=n.Axis,r=n.axisType,l=n.axisIdKey,a=n.stackGroups,o=n.dataStartIndex,s=n.dataEndIndex,u=e.layout,c=e.children,d=tS(e.data,{graphicalItems:t,dataStartIndex:o,dataEndIndex:s}),p=d.length,f=Nb(u,r),m=-1;return t.reduce((function(e,n){var y,_=n.props[l];return e[_]?e:(m++,f?y=xk()(0,p):a&&a[_]&&a[_].hasStack?(y=Ub(a[_].stackGroups,o,s),y=AC(c,y,_,r)):(y=Bb(i.defaultProps.domain,Rb(d,t.filter((function(e){return e.props[l]===_&&!e.props.hide})),"number"),i.defaultProps.allowDataOverflow),y=AC(c,y,_,r)),KC(KC({},e),{},$C({},_,KC(KC({axisType:r},i.defaultProps),{},{hide:!0,orientation:sf()(YC,"".concat(r,".").concat(m%2),null),domain:y,originalDomain:i.defaultProps.domain,isCategorical:f,layout:u}))))}),{})}(e,{Axis:r,graphicalItems:l,axisType:i,axisIdKey:c,stackGroups:a,dataStartIndex:o,dataEndIndex:s})),p},oS=function(e){var n=e.children,t=e.defaultShowTooltip,i=ab(n,nC.displayName);return{chartX:0,chartY:0,dataStartIndex:i&&i.props&&i.props.startIndex||0,dataEndIndex:i&&i.props&&i.props.endIndex||e.data&&e.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!af()(t)&&t}},sS=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},uS=function(e,n){var t=e.props,i=(e.graphicalItems,e.xAxisMap),r=void 0===i?{}:i,l=e.yAxisMap,a=void 0===l?{}:l,o=t.width,s=t.height,u=t.children,c=t.margin||{},d=ab(u,nC.displayName),p=ab(u,$T.displayName),f=Object.keys(a).reduce((function(e,n){var t=a[n],i=t.orientation;return t.mirror||t.hide?e:KC(KC({},e),{},$C({},i,e[i]+t.width))}),{left:c.left||0,right:c.right||0}),m=Object.keys(r).reduce((function(e,n){var t=r[n],i=t.orientation;return t.mirror||t.hide?e:KC(KC({},e),{},$C({},i,sf()(e,"".concat(i))+t.height))}),{top:c.top||0,bottom:c.bottom||0}),y=KC(KC({},m),f),_=y.bottom;return d&&(y.bottom+=d.props.height||nC.defaultProps.height),p&&n&&(y=function(e,n,t,i){var r=t.children,l=t.width,a=t.margin,o=l-(a.left||0)-(a.right||0),s=bb({children:r,legendWidth:o}),u=e;if(s){var c=i||{},d=s.align,p=s.verticalAlign,f=s.layout;("vertical"===f||"horizontal"===f&&"center"===p)&&vf(e[d])&&(u=_b(_b({},e),{},hb({},d,u[d]+(c.width||0)))),("horizontal"===f||"vertical"===f&&"center"===d)&&vf(e[p])&&(u=_b(_b({},e),{},hb({},p,u[p]+(c.height||0))))}return u}(y,0,t,n)),KC(KC({brushBottom:_},y),{},{width:o-y.left-y.right,height:s-y.top-y.bottom})},cS=function(e){var n,t,i=e.chartName,r=e.GraphicalChild,a=e.defaultTooltipEventType,o=void 0===a?"axis":a,s=e.validateTooltipEventTypes,u=void 0===s?["axis"]:s,c=e.axisComponents,d=e.legendContent,p=e.formatAxisMap,f=e.defaultProps,m=function(e,n){var t=n.graphicalItems,i=n.stackGroups,r=n.offset,l=n.updateId,a=n.dataStartIndex,o=n.dataEndIndex,s=e.barSize,u=e.layout,d=e.barGap,p=e.barCategoryGap,f=e.maxBarSize,m=sS(u),y=m.numericAxisName,_=m.cateAxisName,h=function(e){return!(!e||!e.length)&&e.some((function(e){var n=nb(e&&e.type);return n&&n.indexOf("Bar")>=0}))}(t),g=h&&function(e){var n=e.barSize,t=e.stackGroups,i=void 0===t?{}:t;if(!i)return{};for(var r={},l=Object.keys(i),a=0,o=l.length;a=0}));if(y&&y.length){var _=y[0].props.barSize,h=y[0].props[m];r[h]||(r[h]=[]),r[h].push({item:y[0],stackList:y.slice(1),barSize:af()(_)?n:_})}}return r}({barSize:s,stackGroups:i}),v=[];return t.forEach((function(t,s){var m=tS(e.data,{dataStartIndex:a,dataEndIndex:o},t),h=t.props,T=h.dataKey,b=h.maxBarSize,k=t.props["".concat(y,"Id")],R=t.props["".concat(_,"Id")],N=c.reduce((function(e,i){var r,l=n["".concat(i.axisType,"Map")],a=t.props["".concat(i.axisType,"Id")],o=l&&l[a];return KC(KC({},e),{},($C(r={},i.axisType,o),$C(r,"".concat(i.axisType,"Ticks"),xb(o)),r))}),{}),E=N[_],x=N["".concat(_,"Ticks")],C=i&&i[k]&&i[k].hasStack&&function(e,n){var t=e.props.stackId;if(Tf(t)){var i=n[t];if(i&&i.items.length){for(var r=-1,l=0,a=i.items.length;l=0?i.stackedData[r]:null}}return null}(t,i[k].stackGroups),S=nb(t.type).indexOf("Bar")>=0,w=Mb(E,x),D=[];if(S){var A,O,L=af()(b)?f:b,I=null!==(A=null!==(O=Mb(E,x,!0))&&void 0!==O?O:L)&&void 0!==A?A:0;D=function(e){var n=e.barGap,t=e.barCategoryGap,i=e.bandSize,r=e.sizeList,l=void 0===r?[]:r,a=e.maxBarSize,o=l.length;if(o<1)return null;var s,u=Rf(n,i,0,!0);if(l[0].barSize===+l[0].barSize){var c=!1,d=i/o,p=l.reduce((function(e,n){return e+n.barSize||0}),0);(p+=(o-1)*u)>=i&&(p-=(o-1)*u,u=0),p>=i&&d>0&&(c=!0,p=o*(d*=.9));var f={offset:((i-p)/2>>0)-u,size:0};s=l.reduce((function(e,n){var t=[].concat(fb(e),[{item:n.item,position:{offset:f.offset+f.size+u,size:c?d:n.barSize}}]);return f=t[t.length-1].position,n.stackList&&n.stackList.length&&n.stackList.forEach((function(e){t.push({item:e,position:f})})),t}),[])}else{var m=Rf(t,i,0,!0);i-2*m-(o-1)*u<=0&&(u=0);var y=(i-2*m-(o-1)*u)/o;y>1&&(y>>=0);var _=a===+a?Math.min(y,a):y;s=l.reduce((function(e,n,t){var i=[].concat(fb(e),[{item:n.item,position:{offset:m+(y+u)*t+(y-_)/2,size:_}}]);return n.stackList&&n.stackList.length&&n.stackList.forEach((function(e){i.push({item:e,position:i[i.length-1].position})})),i}),[])}return s}({barGap:d,barCategoryGap:p,bandSize:I!==w?I:w,sizeList:g[R],maxBarSize:L}),I!==w&&(D=D.map((function(e){return KC(KC({},e),{},{position:KC(KC({},e.position),{},{offset:e.position.offset-I/2})})})))}var U,P,V,B=t&&t.type&&t.type.getComposedData;B&&v.push({props:KC(KC({},B(KC(KC({},N),{},{displayedData:m,props:e,dataKey:T,item:t,bandSize:w,barPosition:D,offset:r,stackedData:C,layout:u,dataStartIndex:a,dataEndIndex:o}))),{},(U={key:t.key||"item-".concat(s)},$C(U,y,N[y]),$C(U,_,N[_]),$C(U,"animationId",l),U)),childIndex:(P=t,V=e.children,rb(V).indexOf(P)),item:t})})),v},y=function(e,n){var t=e.props,l=e.dataStartIndex,a=e.dataEndIndex,o=e.updateId;if(!ob({props:t}))return null;var s=t.children,u=t.layout,d=t.stackOffset,f=t.data,y=t.reverseStackOrder,_=sS(u),h=_.numericAxisName,g=_.cateAxisName,v=lb(s,r),T=function(e,n,t,i,r,l){if(!e)return null;var a=(l?n.reverse():n).reduce((function(e,n){var r=n.props,l=r.stackId;if(r.hide)return e;var a=n.props[t],o=e[a]||{hasStack:!1,stackGroups:{}};if(Tf(l)){var s=o.stackGroups[l]||{numericAxisId:t,cateAxisId:i,items:[]};s.items.push(n),o.hasStack=!0,o.stackGroups[l]=s}else o.stackGroups[kf("_stackId_")]={numericAxisId:t,cateAxisId:i,items:[n]};return _b(_b({},e),{},hb({},a,o))}),{});return Object.keys(a).reduce((function(n,l){var o=a[l];return o.hasStack&&(o.stackGroups=Object.keys(o.stackGroups).reduce((function(n,l){var a=o.stackGroups[l];return _b(_b({},n),{},hb({},l,{numericAxisId:t,cateAxisId:i,items:a.items,stackedData:Ob(e,a.items,r)}))}),{})),_b(_b({},n),{},hb({},l,o))}),{})}(f,v,"".concat(h,"Id"),"".concat(g,"Id"),d,y),b=c.reduce((function(e,n){var i="".concat(n.axisType,"Map");return KC(KC({},e),{},$C({},i,aS(t,KC(KC({},n),{},{graphicalItems:v,stackGroups:n.axisType===h&&T,dataStartIndex:l,dataEndIndex:a}))))}),{}),k=uS(KC(KC({},b),{},{props:t,graphicalItems:v}),null===n||void 0===n?void 0:n.legendBBox);Object.keys(b).forEach((function(e){b[e]=p(t,b[e],k,e.replace("Map",""),i)}));var R=function(e){var n=Nf(e),t=xb(n,!1,!0);return{tooltipTicks:t,orderedTooltipTicks:Df()(t,(function(e){return e.coordinate})),tooltipAxis:n,tooltipAxisBandSize:Mb(n,t)}}(b["".concat(g,"Map")]),N=m(t,KC(KC({},b),{},{dataStartIndex:l,dataEndIndex:a,updateId:o,graphicalItems:v,stackGroups:T,offset:k}));return KC(KC({formattedGraphicalItems:N,graphicalItems:v,offset:k,stackGroups:T},R),b)};return t=n=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&FC(e,n)}(s,e);var n,t,r,a=jC(s);function s(e){var n;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,s),(n=a.call(this,e)).uniqueChartId=void 0,n.clipPathId=void 0,n.legendInstance=void 0,n.deferId=void 0,n.container=void 0,n.clearDeferId=function(){!af()(n.deferId)&&nS&&nS(n.deferId),n.deferId=null},n.handleLegendBBoxUpdate=function(e){if(e&&n.legendInstance){var t=n.state,i=t.dataStartIndex,r=t.dataEndIndex,l=t.updateId;n.setState(KC({legendBBox:e},y({props:n.props,dataStartIndex:i,dataEndIndex:r,updateId:l},KC(KC({},n.state),{},{legendBBox:e}))))}},n.handleReceiveSyncEvent=function(e,t,i){n.props.syncId===e&&t!==n.uniqueChartId&&(n.clearDeferId(),n.deferId=eS&&eS(n.applySyncEvent.bind(ZC(n),i)))},n.handleBrushChange=function(e){var t=e.startIndex,i=e.endIndex;if(t!==n.state.dataStartIndex||i!==n.state.dataEndIndex){var r=n.state.updateId;n.setState((function(){return KC({dataStartIndex:t,dataEndIndex:i},y({props:n.props,dataStartIndex:t,dataEndIndex:i,updateId:r},n.state))})),n.triggerSyncEvent({dataStartIndex:t,dataEndIndex:i})}},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter,i=n.getMouseInfo(e);if(i){var r=KC(KC({},i),{},{isTooltipActive:!0});n.setState(r),n.triggerSyncEvent(r),Ff()(t)&&t(r,e)}},n.triggeredAfterMouseMove=function(e){var t=n.props.onMouseMove,i=n.getMouseInfo(e),r=i?KC(KC({},i),{},{isTooltipActive:!0}):{isTooltipActive:!1};n.setState(r),n.triggerSyncEvent(r),Ff()(t)&&t(r,e)},n.handleItemMouseEnter=function(e){n.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))},n.handleItemMouseLeave=function(){n.setState((function(){return{isTooltipActive:!1}}))},n.handleMouseMove=function(e){e&&Ff()(e.persist)&&e.persist(),n.triggeredAfterMouseMove(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave,i={isTooltipActive:!1};n.setState(i),n.triggerSyncEvent(i),Ff()(t)&&t(i,e),n.cancelThrottledTriggerAfterMouseMove()},n.handleOuterEvent=function(e){var t=function(e){var n=e&&e.type;return n&&eb[n]?eb[n]:null}(e),i=sf()(n.props,"".concat(t));t&&Ff()(i)&&i(/.*touch.*/i.test(t)?n.getMouseInfo(e.changedTouches[0]):n.getMouseInfo(e),e)},n.handleClick=function(e){var t=n.props.onClick,i=n.getMouseInfo(e);if(i){var r=KC(KC({},i),{},{isTooltipActive:!0});n.setState(r),n.triggerSyncEvent(r),Ff()(t)&&t(r,e)}},n.handleMouseDown=function(e){var t=n.props.onMouseDown;Ff()(t)&&t(n.getMouseInfo(e),e)},n.handleMouseUp=function(e){var t=n.props.onMouseUp;Ff()(t)&&t(n.getMouseInfo(e),e)},n.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseMove(e.changedTouches[0])},n.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseDown(e.changedTouches[0])},n.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseUp(e.changedTouches[0])},n.verticalCoordinatesGenerator=function(e){var n=e.xAxis,t=e.width,i=e.height,r=e.offset;return Eb(Bx.getTicks(KC(KC(KC({},Bx.defaultProps),n),{},{ticks:xb(n,!0),viewBox:{x:0,y:0,width:t,height:i}})),r.left,r.left+r.width)},n.horizontalCoordinatesGenerator=function(e){var n=e.yAxis,t=e.width,i=e.height,r=e.offset;return Eb(Bx.getTicks(KC(KC(KC({},Bx.defaultProps),n),{},{ticks:xb(n,!0),viewBox:{x:0,y:0,width:t,height:i}})),r.top,r.top+r.height)},n.axesTicksGenerator=function(e){return xb(e,!0)},n.renderCursor=function(e){var t=n.state,r=t.isTooltipActive,a=t.activeCoordinate,o=t.activePayload,s=t.offset,u=t.activeTooltipIndex,c=n.getTooltipEventType();if(!e||!e.props.cursor||!r||!a||"ScatterChart"!==i&&"axis"!==c)return null;var d,p=n.props.layout,f=sE;if("ScatterChart"===i)d=a,f=hE;else if("BarChart"===i)d=n.getCursorRectangle(),f=VE;else if("radial"===p){var m=n.getCursorPoints(),y=m.cx,_=m.cy,h=m.radius;d={cx:y,cy:_,startAngle:m.startAngle,endAngle:m.endAngle,innerRadius:h,outerRadius:h},f=ck}else d={points:n.getCursorPoints()},f=sE;var g=e.key||"_recharts-cursor",v=KC(KC(KC(KC({stroke:"#ccc",pointerEvents:"none"},s),d),nf(e.props.cursor)),{},{payload:o,payloadIndex:u,key:g,className:"recharts-tooltip-cursor"});return(0,l.isValidElement)(e.props.cursor)?(0,l.cloneElement)(e.props.cursor,v):(0,l.createElement)(f,v)},n.renderPolarAxis=function(e,t,i){var r=sf()(e,"type.axisType"),a=sf()(n.state,"".concat(r,"Map"))[e.props["".concat(r,"Id")]];return(0,l.cloneElement)(e,KC(KC({},a),{},{className:r,key:e.key||"".concat(t,"-").concat(i),ticks:xb(a,!0)}))},n.renderXAxis=function(e,t,i){var r=n.state.xAxisMap[e.props.xAxisId];return n.renderAxis(r,e,t,i)},n.renderYAxis=function(e,t,i){var r=n.state.yAxisMap[e.props.yAxisId];return n.renderAxis(r,e,t,i)},n.renderGrid=function(e){var t=n.state,i=t.xAxisMap,r=t.yAxisMap,a=t.offset,o=n.props,s=o.width,u=o.height,c=Nf(i),d=kk()(r,(function(e){return Tk()(e.domain,XC)}))||Nf(r),p=e.props||{};return(0,l.cloneElement)(e,{key:e.key||"grid",x:vf(p.x)?p.x:a.left,y:vf(p.y)?p.y:a.top,width:vf(p.width)?p.width:a.width,height:vf(p.height)?p.height:a.height,xAxis:c,yAxis:d,offset:a,chartWidth:s,chartHeight:u,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||n.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||n.horizontalCoordinatesGenerator})},n.renderPolarGrid=function(e){var t=e.props,i=t.radialLines,r=t.polarAngles,a=t.polarRadius,o=n.state,s=o.radiusAxisMap,u=o.angleAxisMap,c=Nf(s),d=Nf(u),p=d.cx,f=d.cy,m=d.innerRadius,y=d.outerRadius;return(0,l.cloneElement)(e,{polarAngles:cf()(r)?r:xb(d,!0).map((function(e){return e.coordinate})),polarRadius:cf()(a)?a:xb(c,!0).map((function(e){return e.coordinate})),cx:p,cy:f,innerRadius:m,outerRadius:y,key:e.key||"polar-grid",radialLines:i})},n.renderLegend=function(){var e=n.state.formattedGraphicalItems,t=n.props,i=t.children,r=t.width,a=t.height,o=n.props.margin||{},s=r-(o.left||0)-(o.right||0),u=bb({children:i,formattedGraphicalItems:e,legendWidth:s,legendContent:d});if(!u)return null;var c=u.item,p=BC(u,["item"]);return(0,l.cloneElement)(c,KC(KC({},p),{},{chartWidth:r,chartHeight:a,margin:o,ref:function(e){n.legendInstance=e},onBBoxUpdate:n.handleLegendBBoxUpdate}))},n.renderTooltip=function(){var e=n.props.children,t=ab(e,NN.displayName);if(!t)return null;var i=n.state,r=i.isTooltipActive,a=i.activeCoordinate,o=i.activePayload,s=i.activeLabel,u=i.offset;return(0,l.cloneElement)(t,{viewBox:KC(KC({},u),{},{x:u.left,y:u.top}),active:r,label:s,payload:r?o:[],coordinate:a})},n.renderBrush=function(e){var t=n.props,i=t.margin,r=t.data,a=n.state,o=a.offset,s=a.dataStartIndex,u=a.dataEndIndex,c=a.updateId;return(0,l.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:Cb(n.handleBrushChange,null,e.props.onChange),data:r,x:vf(e.props.x)?e.props.x:o.left,y:vf(e.props.y)?e.props.y:o.top+o.height+o.brushBottom-(i.bottom||0),width:vf(e.props.width)?e.props.width:o.width,startIndex:s,endIndex:u,updateId:"brush-".concat(c)})},n.renderReferenceElement=function(e,t,i){if(!e)return null;var r=ZC(n).clipPathId,a=n.state,o=a.xAxisMap,s=a.yAxisMap,u=a.offset,c=e.props,d=c.xAxisId,p=c.yAxisId;return(0,l.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(i),xAxis:o[d],yAxis:s[p],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:r})},n.renderActivePoints=function(e){var n=e.item,t=e.activePoint,i=e.basePoint,r=e.childIndex,l=e.isRange,a=[],o=n.props.key,u=n.item.props,c=u.activeDot,d=KC(KC({index:r,dataKey:u.dataKey,cx:t.x,cy:t.y,r:4,fill:Tb(n.item),strokeWidth:2,stroke:"#fff",payload:t.payload,value:t.value,key:"".concat(o,"-activePoint-").concat(r)},nf(c)),tf(c));return a.push(s.renderActiveDot(c,d)),i?a.push(s.renderActiveDot(c,KC(KC({},d),{},{cx:i.x,cy:i.y,key:"".concat(o,"-basePoint-").concat(r)}))):l&&a.push(null),a},n.renderGraphicChild=function(e,t,i){var r=n.filterFormatItem(e,t,i);if(!r)return null;var a=n.getTooltipEventType(),o=n.state,s=o.isTooltipActive,u=o.tooltipAxis,c=o.activeTooltipIndex,d=o.activeLabel,p=n.props.children,f=ab(p,NN.displayName),m=r.props,y=m.points,_=m.isRange,h=m.baseLine,g=r.item.props,v=g.activeDot,T=!g.hide&&s&&f&&v&&c>=0,b={};"axis"!==a&&f&&"click"===f.props.trigger?b={onClick:Cb(n.handleItemMouseEnter,null,e.props.onCLick)}:"axis"!==a&&(b={onMouseLeave:Cb(n.handleItemMouseLeave,null,e.props.onMouseLeave),onMouseEnter:Cb(n.handleItemMouseEnter,null,e.props.onMouseEnter)});var k=(0,l.cloneElement)(e,KC(KC({},r.props),b));if(T){var R,N;if(u.dataKey&&!u.allowDuplicatedCategory){var E="function"===typeof u.dataKey?function(e){return"function"===typeof u.dataKey?u.dataKey(e.payload):null}:"payload.".concat(u.dataKey.toString());R=xf(y,E,d),N=_&&h&&xf(h,E,d)}else R=y[c],N=_&&h&&h[c];if(!af()(R))return[k].concat(HC(n.renderActivePoints({item:r,activePoint:R,basePoint:N,childIndex:c,isRange:_})))}return _?[k,null,null]:[k,null]},n.renderCustomized=function(e,t,i){return(0,l.cloneElement)(e,KC(KC({key:"recharts-customized-".concat(i)},n.props),n.state))},n.uniqueChartId=af()(e.id)?kf("recharts"):e.id,n.clipPathId="".concat(n.uniqueChartId,"-clip"),e.throttleDelay&&(n.triggeredAfterMouseMove=Nk()(n.triggeredAfterMouseMove,e.throttleDelay)),n.state={},n}return n=s,t=[{key:"componentDidMount",value:function(){af()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(e){af()(e.syncId)&&!af()(this.props.syncId)&&this.addListener(),!af()(e.syncId)&&af()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),af()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=ab(this.props.children,NN.displayName);if(e&&Sk()(e.props.shared)){var n=e.props.shared?"axis":"item";return u.indexOf(n)>=0?n:o}return o}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var n=function(e){var n=e.ownerDocument.documentElement,t={top:0,left:0};return"undefined"!==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect()),{top:t.top+window.pageYOffset-n.clientTop,left:t.left+window.pageXOffset-n.clientLeft}}(this.container),t=function(e,n){return{chartX:Math.round(e.pageX-n.left),chartY:Math.round(e.pageY-n.top)}}(e,n),i=this.inRange(t.chartX,t.chartY);if(!i)return null;var r=this.state,l=r.xAxisMap,a=r.yAxisMap;if("axis"!==this.getTooltipEventType()&&l&&a){var o=Nf(l).scale,s=Nf(a).scale,u=o&&o.invert?o.invert(t.chartX):null,c=s&&s.invert?s.invert(t.chartY):null;return KC(KC({},t),{},{xValue:u,yValue:c})}var d=rS(this.state,this.props.data,this.props.layout,i);return d?KC(KC({},t),d):null}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,n=this.state,t=n.activeCoordinate,i=n.offset,r=n.tooltipAxisBandSize,l=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-l:i.left+.5,y:"horizontal"===e?i.top+.5:t.y-l,width:"horizontal"===e?r:i.width-1,height:"horizontal"===e?i.height-1:r}}},{key:"getCursorPoints",value:function(){var e,n,t,i,r=this.props.layout,l=this.state,a=l.activeCoordinate,o=l.offset;if("horizontal"===r)t=e=a.x,n=o.top,i=o.top+o.height;else if("vertical"===r)i=n=a.y,e=o.left,t=o.left+o.width;else if(!af()(a.cx)||!af()(a.cy)){if("centric"!==r){var s=a.cx,u=a.cy,c=a.radius,d=a.startAngle,p=a.endAngle;return{points:[Kb(s,u,c,d),Kb(s,u,c,p)],cx:s,cy:u,radius:c,startAngle:d,endAngle:p}}var f=a.cx,m=a.cy,y=a.innerRadius,_=a.outerRadius,h=a.angle,g=Kb(f,m,y,h),v=Kb(f,m,_,h);e=g.x,n=g.y,t=v.x,i=v.y}return[{x:e,y:n},{x:t,y:i}]}},{key:"inRange",value:function(e,n){var t=this.props.layout;if("horizontal"===t||"vertical"===t){var i=this.state.offset;return e>=i.left&&e<=i.left+i.width&&n>=i.top&&n<=i.top+i.height?{x:e,y:n}:null}var r=this.state,l=r.angleAxisMap,a=r.radiusAxisMap;if(l&&a){var o=Nf(l);return Xb({x:e,y:n},o)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,n=this.getTooltipEventType(),t=ab(e,NN.displayName),i={};return t&&"axis"===n&&(i="click"===t.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),KC(KC({},tf(this.props,this.handleOuterEvent)),i)}},{key:"addListener",value:function(){LC.on(IC,this.handleReceiveSyncEvent),LC.setMaxListeners&&LC._maxListeners&&LC.setMaxListeners(LC._maxListeners+1)}},{key:"removeListener",value:function(){LC.removeListener(IC,this.handleReceiveSyncEvent),LC.setMaxListeners&&LC._maxListeners&&LC.setMaxListeners(LC._maxListeners-1)}},{key:"triggerSyncEvent",value:function(e){var n=this.props.syncId;af()(n)||LC.emit(IC,n,this.uniqueChartId,e)}},{key:"applySyncEvent",value:function(e){var n=this.props,t=n.layout,i=n.syncMethod,r=this.state.updateId,l=e.dataStartIndex,a=e.dataEndIndex;if(af()(e.dataStartIndex)&&af()(e.dataEndIndex))if(af()(e.activeTooltipIndex))this.setState(e);else{var o=e.chartX,s=e.chartY,u=e.activeTooltipIndex,c=this.state,d=c.offset,p=c.tooltipTicks;if(!d)return;if("function"===typeof i)u=i(p,e);else if("value"===i){u=-1;for(var f=0;f=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function mS(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function yS(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,i=new Array(n);t0&&void 0!==arguments[0]?arguments[0]:[],n=[[]];return e.forEach((function(e){kS(e)?n[n.length-1].push(e):n[n.length-1].length>0&&n.push([])})),kS(e[0])&&n[n.length-1].push(e[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n}(e);n&&(t=[t.reduce((function(e,n){return[].concat(TS(e),TS(n))}),[])]);var i=t.map((function(e){return e.reduce((function(e,n,t){return"".concat(e).concat(0===t?"M":"L").concat(n.x,",").concat(n.y)}),"")})).join("");return 1===t.length?"".concat(i,"Z"):i},NS=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&_S(e,n)}(a,e);var n,t,i,r=hS(a);function a(){return mS(this,a),r.apply(this,arguments)}return n=a,(t=[{key:"render",value:function(){var e=this.props,n=e.points,t=e.className,i=e.baseLinePoints,r=e.connectNulls,a=fS(e,["points","className","baseLinePoints","connectNulls"]);if(!n||!n.length)return null;var o=Gp()("recharts-polygon",t);if(i&&i.length){var s=a.stroke&&"none"!==a.stroke,u=function(e,n,t){var i=RS(e,t);return"".concat("Z"===i.slice(-1)?i.slice(0,-1):i,"L").concat(RS(n.reverse(),t).slice(1))}(n,i,r);return l.createElement("g",{className:o},l.createElement("path",pS({},nf(a,!0),{fill:"Z"===u.slice(-1)?a.fill:"none",stroke:"none",d:u})),s?l.createElement("path",pS({},nf(a,!0),{fill:"none",d:RS(n,r)})):null,s?l.createElement("path",pS({},nf(a,!0),{fill:"none",d:RS(i,r)})):null)}var c=RS(n,r);return l.createElement("path",pS({},nf(a,!0),{fill:"Z"===c.slice(-1)?a.fill:"none",className:o,d:c}))}}])&&yS(n.prototype,t),i&&yS(n,i),a}(l.PureComponent);function ES(e){return ES="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ES(e)}function xS(){return xS=Object.assign||function(e){for(var n=1;nVS?"outer"===n?"start":"end":t<-VS?"outer"===n?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,n=e.cx,t=e.cy,i=e.radius,r=e.axisLine,a=e.axisLineType,o=SS(SS({},nf(this.props)),{},{fill:"none"},nf(r));if("circle"===a)return l.createElement(xE,xS({className:"recharts-polar-angle-axis-line"},o,{cx:n,cy:t,r:i}));var s=this.props.ticks.map((function(e){return Kb(n,t,i,e.coordinate)}));return l.createElement(NS,xS({className:"recharts-polar-angle-axis-line"},o,{points:s}))}},{key:"renderTicks",value:function(){var e=this,n=this.props,t=n.ticks,i=n.tick,r=n.tickLine,o=n.tickFormatter,s=n.stroke,u=nf(this.props),c=nf(i),d=SS(SS({},u),{},{fill:"none"},nf(r)),p=t.map((function(n,t){var p=e.getTickLineCoord(n),f=SS(SS(SS({textAnchor:e.getTickTextAnchor(n)},u),{},{stroke:"none",fill:s},c),{},{index:t,payload:n,x:p.x2,y:p.y2});return l.createElement(Ak,xS({className:"recharts-polar-angle-axis-tick",key:"tick-".concat(t)},rf(e.props,n,t)),r&&l.createElement("line",xS({className:"recharts-polar-angle-axis-tick-line"},d,p)),i&&a.renderTickItem(i,f,o?o(n.value,t):n.value))}));return l.createElement(Ak,{className:"recharts-polar-angle-axis-ticks"},p)}},{key:"render",value:function(){var e=this.props,n=e.ticks,t=e.radius,i=e.axisLine;return t<=0||!n||!n.length?null:l.createElement(Ak,{className:"recharts-polar-angle-axis"},i&&this.renderAxisLine(),this.renderTicks())}}],i=[{key:"renderTickItem",value:function(e,n,t){return l.isValidElement(e)?l.cloneElement(e,n):Ff()(e)?e(n):l.createElement(yx,xS({},n,{className:"recharts-polar-angle-axis-tick-value"}),t)}}],t&&AS(n.prototype,t),i&&AS(n,i),a}(l.PureComponent);BS.displayName="PolarAngleAxis",BS.axisType="angleAxis",BS.defaultProps={type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,domain:[0,"auto"],orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0};var MS=t(3638),FS=t.n(MS),jS=t(8559),JS=t.n(jS);function ZS(e){return ZS="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ZS(e)}function zS(){return zS=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function KS(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function $S(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,i=new Array(n);t=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var fw={valueAccessor:function(e){return cf()(e.value)?lw()(e.value):e.value}};function mw(e){var n=e.data,t=e.valueAccessor,i=e.dataKey,r=e.clockWise,a=e.id,o=e.textBreakAll,s=pw(e,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return n&&n.length?l.createElement(Ak,{className:"recharts-label-list"},n.map((function(e,n){var u=af()(i)?t(e,n):gb(e&&e.payload,i),c=af()(a)?{}:{id:"".concat(a,"-").concat(n)};return l.createElement(Rx,sw({},nf(e,!0),s,c,{parentViewBox:e.parentViewBox,index:n,value:u,textBreakAll:o,viewBox:Rx.parseViewBox(af()(r)?e:cw(cw({},e),{},{clockWise:r})),key:"label-".concat(n)}))}))):null}function yw(e,n){return e?!0===e?l.createElement(mw,{key:"labelList-implicit",data:n}):l.isValidElement(e)||Ff()(e)?l.createElement(mw,{key:"labelList-implicit",data:n,content:e}):$p()(e)?l.createElement(mw,sw({data:n},e,{key:"labelList-implicit"})):null:null}mw.displayName="LabelList",mw.renderCallByParent=function(e,n){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&t&&!e.label)return null;var i=e.children,r=lb(i,mw.displayName).map((function(e,t){return(0,l.cloneElement)(e,{data:n,key:"labelList-".concat(t)})}));if(!t)return r;var a=yw(e.label,n);return[a].concat(aw(r))},mw.defaultProps=fw;var _w=function(e){return null};function hw(e){return hw="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hw(e)}function gw(){return gw=Object.assign||function(e){for(var n=1;n0?sf()(e,"paddingAngle",0):0;if(t){var o=Ef(t.endAngle-t.startAngle,e.endAngle-e.startAngle),s=Tw(Tw({},e),{},{startAngle:a+l,endAngle:a+o(i)+l});r.push(s),a=s.endAngle}else{var u=e.endAngle,d=e.startAngle,p=Ef(0,u-d)(i),f=Tw(Tw({},e),{},{startAngle:a+l,endAngle:a+p+l});r.push(f),a=f.endAngle}})),l.createElement(Ak,null,e.renderSectorsStatically(r))}))}},{key:"renderSectors",value:function(){var e=this.props,n=e.sectors,t=e.isAnimationActive,i=this.state.prevSectors;return!(t&&n&&n.length)||i&&Sf()(i,n)?this.renderSectorsStatically(n):this.renderSectorsWithAnimation()}},{key:"render",value:function(){var e=this.props,n=e.hide,t=e.sectors,i=e.className,r=e.label,a=e.cx,o=e.cy,s=e.innerRadius,u=e.outerRadius,c=e.isAnimationActive,d=this.state.isAnimationFinished;if(n||!t||!t.length||!vf(a)||!vf(o)||!vf(s)||!vf(u))return null;var p=Gp()("recharts-pie",i);return l.createElement(Ak,{className:p},this.renderSectors(),r&&this.renderLabels(t),Rx.renderCallByParent(this.props,null,!1),(!c||d)&&mw.renderCallByParent(this.props,t,!1))}}],i=[{key:"getDerivedStateFromProps",value:function(e,n){return n.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[]}:e.isAnimationActive&&e.animationId!==n.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:n.curSectors}:e.sectors!==n.curSectors?{curSectors:e.sectors}:null}},{key:"getTextAnchor",value:function(e,n){return e>n?"start":e=360?T:T-1)*s,k=i.reduce((function(e,n){var t=gb(n,h,0);return e+(vf(t)?t:0)}),0);k>0&&(g=i.map((function(e,n){var t,i=gb(e,h,0),r=gb(e,c,n),o=(vf(i)?i:0)/k,u=(t=n?v.endAngle+hf(y)*s*(0!==i?1:0):a)+hf(y)*((0!==i?f:0)+o*b),d=(t+u)/2,_=(m.innerRadius+m.outerRadius)/2,g=[{name:r,value:i,payload:e,dataKey:h,type:p}],T=Kb(m.cx,m.cy,_,d);return v=Tw(Tw(Tw({percent:o,cornerRadius:l,name:r,tooltipPayload:g,midAngle:d,middleRadius:_,tooltipPosition:T},e),m),{},{value:gb(e,h),startAngle:t,endAngle:u,payload:e,paddingAngle:hf(y)*s})})));return Tw(Tw({},m),{},{sectors:g,data:i})};var Sw=cS({chartName:"PieChart",GraphicalChild:Cw,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:BS},{axisType:"radiusAxis",AxisComp:nw}],formatAxisMap:function(e,n,t,i,r){var l=e.width,a=e.height,o=e.startAngle,s=e.endAngle,u=Rf(e.cx,l,l/2),c=Rf(e.cy,a,a/2),d=$b(l,a,t),p=Rf(e.innerRadius,d,0),f=Rf(e.outerRadius,d,.8*d);return Object.keys(n).reduce((function(e,t){var l,a=n[t],d=a.domain,m=a.reversed;if(af()(a.range))"angleAxis"===i?l=[o,s]:"radiusAxis"===i&&(l=[p,f]),m&&(l=[l[1],l[0]]);else{var y=Hb(l=a.range,2);o=y[0],s=y[1]}var _=Sb(a,r),h=_.realScaleType,g=_.scale;g.domain(d).range(l),Db(g);var v=Lb(g,Zb(Zb({},a),{},{realScaleType:h})),T=Zb(Zb(Zb({},a),v),{},{range:l,radius:f,realScaleType:h,scale:g,cx:u,cy:c,innerRadius:p,outerRadius:f,startAngle:o,endAngle:s});return Zb(Zb({},e),{},zb({},t,T))}),{})},defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),ww=zp((function(e){var n;return{centerLabel:(n={fontFamily:e.typography.fontFamily},(0,c.Z)(n,e.breakpoints.up("sm"),{fontSize:function(e){return"min(7vw, ".concat(e.maxHeight,")")}}),(0,c.Z)(n,e.breakpoints.down("sm"),{fontSize:"1.2em"}),n)}})),Dw=function(e){var n=e.cx,t=e.cy,i=e.innerRadius,r=e.outerRadius,l=e.startAngle,a=e.endAngle,o=e.fill;return(0,oa.jsxs)("g",{children:[(0,oa.jsx)(ck,{cx:n,cy:t,innerRadius:i,outerRadius:r,startAngle:l,endAngle:a,fill:o}),(0,oa.jsx)(ck,{cx:n,cy:t,startAngle:l,endAngle:a,innerRadius:r+6,outerRadius:r+10,fill:o})]})};var Aw=qp((function(e){var n=e.theme,t=e.coverage,i=void 0===t?[.637483,.0173,.97,4.01]:t,r=e.maxHeight,a=void 0===r?"2.0em":r,s=function(e){return Math.abs(1-e)<=.15?n.results.ok:Math.abs(1-e)<=.4?n.results.warn:n.results.fail},u=(0,l.useState)(null),c=(0,o.Z)(u,2),d=c[0],p=c[1],f=i.reduce((function(e,n){return e+n}),0)/i.length,m=ww({color:s(f),maxHeight:a}),y=function(){return p(null)};return(0,oa.jsx)(gk,{children:(0,oa.jsx)(Sw,{children:i.map((function(e,n){return(0,oa.jsx)(Cw,{activeIndex:d===n?0:void 0,activeShape:Dw,data:[{name:"Q".concat(n+1),value:100*e}],dataKey:"value",innerRadius:"".concat(60,"%"),outerRadius:"".concat(60+30*Math.max(Math.min(e,1.2),.2),"%"),startAngle:90*n,endAngle:90*(n+1),fill:s(e),onMouseEnter:function(){return p(n)},onMouseLeave:y,animationDuration:600,children:(null===d&&0===n||d===n)&&(0,oa.jsx)(Rx,{stroke:"none",strokeOpacity:0,width:"100%",position:"center",className:m.centerLabel,style:{fill:s(null===d?f:e)},value:d===n?"".concat(parseFloat((100*e).toFixed(1)).toLocaleString(),"%"):null===d&&0===n?"".concat(parseFloat((100*f).toFixed(1)).toLocaleString(),"%"):""})},n)}))})})})),Ow=zp((function(e){return{header:{fontFamily:e.fontFamily,color:e.headerColor,fontWeight:500,fontSize:"min(10vw, 2em)"}}})),Lw=function(e){var n=e.children,t=Ow();return(0,oa.jsx)("span",{className:t.header,children:n})},Iw=function(e){var n=e.children;return(0,oa.jsx)(Lu,{container:!0,spacing:0,direction:"row",justifyContent:"space-around",alignItems:"center",style:{minHeight:"min(100vw,24vh)",width:"100%"},children:l.Children.toArray(n)})};function Uw(e){var n=e.name,t=e.coverage;return(0,oa.jsxs)(Lu,{item:!0,xs:12,sm:6,md:4,lg:3,xl:2,style:{height:"100%"},children:[(0,oa.jsx)("div",{style:{width:"min(100vw,95%)",height:"17vh"},children:(0,oa.jsx)(Aw,{coverage:t})}),(0,oa.jsx)(Lw,{children:n})]})}var Pw=function(e){var n=e.toppings;return(0,oa.jsx)(oa.Fragment,{children:n.map((function(e){return(0,oa.jsx)(Uw,p({},e),e.name)}))})},Vw=t(4036);function Bw(e){return(0,ku.Z)("MuiTypography",e)}(0,Ru.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var Mw=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Fw=(0,Hr.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.variant&&n[t.variant],"inherit"!==t.align&&n["align".concat((0,Vw.Z)(t.align))],t.noWrap&&n.noWrap,t.gutterBottom&&n.gutterBottom,t.paragraph&&n.paragraph]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({margin:0},t.variant&&n.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})})),jw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Jw={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Zw=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiTypography"}),i=function(e){return Jw[e]||e}(t.color),r=gu((0,Qo.Z)({},t,{color:i})),l=r.align,a=void 0===l?"inherit":l,o=r.className,s=r.component,u=r.gutterBottom,c=void 0!==u&&u,d=r.noWrap,p=void 0!==d&&d,m=r.paragraph,y=void 0!==m&&m,_=r.variant,h=void 0===_?"body1":_,g=r.variantMapping,v=void 0===g?jw:g,T=(0,f.Z)(r,Mw),b=(0,Qo.Z)({},r,{align:a,color:i,className:o,component:s,gutterBottom:c,noWrap:p,paragraph:y,variant:h,variantMapping:v}),k=s||(y?"p":v[h]||jw[h])||"span",R=function(e){var n=e.align,t=e.gutterBottom,i=e.noWrap,r=e.paragraph,l=e.variant,a=e.classes,o={root:["root",l,"inherit"!==e.align&&"align".concat((0,Vw.Z)(n)),t&&"gutterBottom",i&&"noWrap",r&&"paragraph"]};return(0,vu.Z)(o,Bw,a)}(b);return(0,oa.jsx)(Fw,(0,Qo.Z)({as:k,ref:n,ownerState:b,className:(0,fu.Z)(R.root,o)},T))})),zw=Zw,Hw=t(7441),qw=t(9613),Ww=t.n(qw);var Gw=function(e){function n(e,i,s,u,p){for(var f,m,y,_,T,k=0,R=0,N=0,E=0,x=0,O=0,I=y=f=0,P=0,V=0,B=0,M=0,F=s.length,j=F-1,J="",Z="",z="",H="";Pf)&&(M=(J=J.replace(" ",":")).length),0i&&(i=(n=n.trim()).charCodeAt(0)),i){case 38:return n.replace(_,"$1"+e.trim());case 58:return e.trim()+n.replace(_,"$1"+e.trim());default:if(0<1*t&&0s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102i.charCodeAt(0)&&(i=i.trim()),i=[i],01?n-1:0),i=1;i0?" Args: "+t.join(", "):""))}var dD=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var n=e.prototype;return n.indexOfGroup=function(e){for(var n=0,t=0;t=this.groupSizes.length){for(var t=this.groupSizes,i=t.length,r=i;e>=r;)(r<<=1)<0&&cD(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(t),this.length=r;for(var l=i;l=this.length||0===this.groupSizes[e])return n;for(var t=this.groupSizes[e],i=this.indexOfGroup(e),r=i+t,l=i;l=mD&&(mD=n+1),pD.set(e,n),fD.set(n,e)},gD="style["+oD+'][data-styled-version="5.3.3"]',vD=new RegExp("^"+oD+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),TD=function(e,n,t){for(var i,r=t.split(","),l=0,a=r.length;l=0;t--){var i=n[t];if(i&&1===i.nodeType&&i.hasAttribute(oD))return i}}(t),l=void 0!==r?r.nextSibling:null;i.setAttribute(oD,"active"),i.setAttribute("data-styled-version","5.3.3");var a=kD();return a&&i.setAttribute("nonce",a),t.insertBefore(i,l),i},ND=function(){function e(e){var n=this.element=RD(e);n.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var n=document.styleSheets,t=0,i=n.length;t=0){var t=document.createTextNode(n),i=this.nodes[e];return this.element.insertBefore(t,i||null),this.length++,!0}return!1},n.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},n.getRule=function(e){return e0&&(u+=e+",")})),i+=""+o+s+'{content:"'+u+'"}/*!sc*/\n'}}}return i}(this)},e}(),DD=/(a)(d)/gi,AD=function(e){return String.fromCharCode(e+(e>25?39:97))};function OD(e){var n,t="";for(n=Math.abs(e);n>52;n=n/52|0)t=AD(n%52)+t;return(AD(n%52)+t).replace(DD,"$1-$2")}var LD=function(e,n){for(var t=n.length;t;)e=33*e^n.charCodeAt(--t);return e},ID=function(e){return LD(5381,e)};function UD(e){for(var n=0;n>>0);if(!n.hasNameForId(i,a)){var o=t(l,"."+a,void 0,i);n.insertRules(i,a,o)}r.push(a),this.staticRulesId=a}else{for(var s=this.rules.length,u=LD(this.baseHash,t.hash),c="",d=0;d>>0);if(!n.hasNameForId(i,y)){var _=t(c,"."+y,void 0,i);n.insertRules(i,y,_)}r.push(y)}}return r.join(" ")},e}(),BD=/^\s*\/\/.*$/gm,MD=[":","[",".","#"];function FD(e){var n,t,i,r,l=void 0===e?iD:e,a=l.options,o=void 0===a?iD:a,s=l.plugins,u=void 0===s?tD:s,c=new Gw(o),d=[],p=function(e){function n(n){if(n)try{e(n+"}")}catch(e){}}return function(t,i,r,l,a,o,s,u,c,d){switch(t){case 1:if(0===c&&64===i.charCodeAt(0))return e(i+";"),"";break;case 2:if(0===u)return i+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(r[0]+i),"";default:return i+(0===d?"/*|*/":"")}case-2:i.split("/*|*/}").forEach(n)}}}((function(e){d.push(e)})),f=function(e,i,l){return 0===i&&-1!==MD.indexOf(l[t.length])||l.match(r)?e:"."+n};function m(e,l,a,o){void 0===o&&(o="&");var s=e.replace(BD,""),u=l&&a?a+" "+l+" { "+s+" }":s;return n=o,t=l,i=new RegExp("\\"+t+"\\b","g"),r=new RegExp("(\\"+t+"\\b){2,}"),c(a||!l?"":l,u)}return c.use([].concat(u,[function(e,n,r){2===e&&r.length&&r[0].lastIndexOf(t)>0&&(r[0]=r[0].replace(i,f))},p,function(e){if(-2===e){var n=d;return d=[],n}}])),m.hash=u.length?u.reduce((function(e,n){return n.name||cD(15),LD(e,n.name)}),5381).toString():"",m}var jD=l.createContext(),JD=(jD.Consumer,l.createContext()),ZD=(JD.Consumer,new wD),zD=FD();function HD(){return(0,l.useContext)(jD)||ZD}function qD(){return(0,l.useContext)(JD)||zD}function WD(e){var n=(0,l.useState)(e.stylisPlugins),t=n[0],i=n[1],r=HD(),a=(0,l.useMemo)((function(){var n=r;return e.sheet?n=e.sheet:e.target&&(n=n.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n}),[e.disableCSSOMInjection,e.sheet,e.target]),o=(0,l.useMemo)((function(){return FD({options:{prefix:!e.disableVendorPrefixes},plugins:t})}),[e.disableVendorPrefixes,t]);return(0,l.useEffect)((function(){Ww()(t,e.stylisPlugins)||i(e.stylisPlugins)}),[e.stylisPlugins]),l.createElement(jD.Provider,{value:a},l.createElement(JD.Provider,{value:o},e.children))}var GD=function(){function e(e,n){var t=this;this.inject=function(e,n){void 0===n&&(n=zD);var i=t.name+n.hash;e.hasNameForId(t.id,i)||e.insertRules(t.id,i,n(t.rules,i,"@keyframes"))},this.toString=function(){return cD(12,String(t.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=n}return e.prototype.getName=function(e){return void 0===e&&(e=zD),this.name+e.hash},e}(),KD=/([A-Z])/,$D=/([A-Z])/g,YD=/^ms-/,QD=function(e){return"-"+e.toLowerCase()};function XD(e){return KD.test(e)?e.replace($D,QD).replace(YD,"-ms-"):e}var eA=function(e){return null==e||!1===e||""===e};function nA(e,n,t,i){if(Array.isArray(e)){for(var r,l=[],a=0,o=e.length;a1?n-1:0),i=1;i?@[\\\]^`{|}~-]+/g,aA=/(^-|-$)/g;function oA(e){return e.replace(lA,"-").replace(aA,"")}var sA=function(e){return OD(ID(e)>>>0)};function uA(e){return"string"==typeof e&&!0}var cA=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},dA=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function pA(e,n,t){var i=e[t];cA(n)&&cA(i)?fA(i,n):e[t]=n}function fA(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),i=1;i=0||(r[t]=e[t]);return r}(n,["componentId"]),l=i&&i+"-"+(uA(e)?e:oA(lD(e)));return _A(e,Xw({},r,{attrs:f,componentId:l}),t)},Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(n){this._foldedDefaultProps=i?fA({},e.defaultProps,n):n}}),y.toString=function(){return"."+y.styledComponentId},r&&Vs()(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),y}var hA=function(e){return function e(n,t,i){if(void 0===i&&(i=iD),!(0,Hw.isValidElementType)(t))return cD(1,String(t));var r=function(){return n(t,i,iA.apply(void 0,arguments))};return r.withConfig=function(r){return e(n,t,Xw({},i,{},r))},r.attrs=function(r){return e(n,t,Xw({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},r}(_A,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){hA[e]=hA(e)}));!function(){function e(e,n){this.rules=e,this.componentId=n,this.isStatic=UD(e),wD.registerId(this.componentId+1)}var n=e.prototype;n.createStyles=function(e,n,t,i){var r=i(nA(this.rules,n,t,i).join(""),""),l=this.componentId+e;t.insertRules(l,l,r)},n.removeStyles=function(e,n){n.clearRules(this.componentId+e)},n.renderStyles=function(e,n,t,i){e>2&&wD.registerId(this.componentId+e),this.removeStyles(e,t),this.createStyles(e,n,t,i)}}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var n=e.instance.toString();if(!n)return"";var t=kD();return""},this.getStyleTags=function(){return e.sealed?cD(2):e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)return cD(2);var t=((n={})[oD]="",n["data-styled-version"]="5.3.3",n.dangerouslySetInnerHTML={__html:e.instance.toString()},n),i=kD();return i&&(t.nonce=i),[l.createElement("style",Xw({},t,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new wD({isServer:!0}),this.sealed=!1}var n=e.prototype;n.collectStyles=function(e){return this.sealed?cD(2):l.createElement(WD,{sheet:this.instance},e)},n.interleaveWithNodeStream=function(e){return cD(3)}}();var gA=hA,vA=function(e){var n=e.cx,t=e.cy,i=e.innerRadius,r=e.outerRadius,l=e.startAngle,a=e.endAngle,o=e.fill;return(0,oa.jsxs)("g",{children:[(0,oa.jsx)(ck,{cx:n,cy:t,innerRadius:i,outerRadius:r,startAngle:l,endAngle:a,fill:o}),(0,oa.jsx)(ck,{cx:n,cy:t,startAngle:l,endAngle:a,innerRadius:r+6,outerRadius:r+10,fill:o})]})},TA=zp((function(e){var n;return{centerLabel:(n={fontFamily:e.typography.fontFamily,color:"lime",fill:function(e){var n;return null!==(n=e.color)&&void 0!==n?n:"black"}},(0,c.Z)(n,e.breakpoints.up("sm"),{fontSize:function(e){return"min(7vw, ".concat(e.maxHeight,")")}}),(0,c.Z)(n,e.breakpoints.down("sm"),{fontSize:"1.2em"}),n),legend:{fontFamily:e.typography.fontFamily,textDecoration:"none"},legendActive:{fontFamily:e.typography.fontFamily,textDecoration:"underline"}}}));var bA,kA=function(e){var n,t=e.data,i=e.defaultText,r=e.dataKey,a=void 0===r?"value":r,s=e.maxHeight,u=void 0===s?"2.0em":s,c=e.innerRadius,d=void 0===c?"60%":c,p=e.outerRadius,f=void 0===p?"80%":p,m=e.startAngle,y=void 0===m?0:m,_=e.endAngle,h=void 0===_?360:_,g=e.labelHoverValue,v=e.disableLegend,T=e.height,b=(0,l.useState)(null),k=(0,o.Z)(b,2),R=k[0],N=k[1],E=TA({color:function(){var e;return null===(e=t[R||0])||void 0===e?void 0:e.color}(),maxHeight:u}),x=t.reduce((function(e,n){return e+n[a]}),0);return i=null!==(n=i)&&void 0!==n?n:x.toLocaleString(),(0,oa.jsx)(gk,{height:T,children:(0,oa.jsxs)(Sw,{children:[(0,oa.jsxs)(Cw,{activeIndex:R||void 0,activeShape:vA,data:t,dataKey:a,innerRadius:d,outerRadius:f,startAngle:y,endAngle:h,onMouseEnter:function(e,n){return N(n)},onMouseLeave:function(){return N(null)},animationDuration:600,children:[(0,oa.jsx)(Rx,{width:"100%",position:"center",className:E.centerLabel,children:function(){if(null===R)return i;if(g)return g(t[R]);var e=t&&t[R]&&t[R][a]||0;return"".concat(parseFloat((e/x*100).toFixed(1)).toLocaleString(),"%")}()}),t.map((function(e,n){return(0,oa.jsx)(_w,{fill:e.color},"cell-".concat(n))}))]}),!v&&(0,oa.jsx)($T,{onMouseEnter:function(e,n){return N(n)},onMouseLeave:function(){return N(null)},formatter:function(e,n,t){return(0,oa.jsx)("span",{className:R===t?E.legendActive:E.legend,children:e})},verticalAlign:"bottom",height:20})]})})},RA=Object.values(Ea).reduce((function(e,n){return p(p({},e),{},(0,c.Z)({},n.tag,n.displayName))}),{}),NA=function(e){return RA[e]||e},EA=function(e,n,t){if(t)return t;var i=Math.ceil(64+191*(1-n)).toString(16);return"".concat(e).concat(("0"+i).slice(-2))},xA=gA.div(bA||(bA=Oa(["\n width: min(100vw, 95%);\n height: min(100vw, 20vh);\n margin-bottom: 2em;\n"])));function CA(e){var n=e.name,t=e.baseColor,i=e.classifications,r=e.totalCount,l=i.reduce((function(e,n){return[].concat((0,z.Z)(e),(0,z.Z)(n.results))}),[]).reduce((function(e,n){var t=(e[n.name]||0)+n.count;return p(p({},e),{},(0,c.Z)({},n.name,t))}),{}),a=Object.entries(l).filter((function(e){return(0,o.Z)(e,2)[1]>0})).map((function(e,n,i){var r=(0,o.Z)(e,2);return{name:r[0],count:r[1],color:EA(t,n/i.length)}})),s=a,u=i.reduce((function(e,n){return e+n.count}),0),d=u/r;return(0,oa.jsxs)(Lu,{item:!0,xs:12,sm:6,md:6,lg:2,xl:2,children:[(0,oa.jsx)(Lw,{children:n}),(0,oa.jsxs)(xA,{children:[0===u&&(0,oa.jsxs)(Lu,{container:!0,spacing:0,direction:"column",alignItems:"center",justifyContent:"center",style:{minHeight:"100%"},children:[(0,oa.jsx)(zw,{fontSize:"3em",style:{color:"lightgrey"},children:"0%"}),(0,oa.jsx)(Lu,{item:!0,xs:3})]}),u>0&&(0,oa.jsx)(kA,{data:s,dataKey:"count",defaultText:"".concat(parseFloat((100*d).toFixed(1)).toLocaleString(),"%")})]})]})}var SA=qp((function(e){var n,t=e.theme,i=e.classifications,r=Object.values(Ea).filter((function(e){return!e.hidden})).map((function(e){return e.tag})),l=r.filter((function(e){return"ok"!==e})).map((function(e){return{name:NA(e),baseColor:t.results[e],classifications:i.filter((function(n){return n.classification===e}))}})),a=r.map((function(e){return{name:NA(e),classification:e,color:t.results[e],count:i.filter((function(n){return n.classification===e})).reduce((function(e,n){return e+n.count}),0)}})),o=a.reduce((function(e,n){return e+n.count}),0),s=((null===(n=a.find((function(e){return"ok"===e.classification})))||void 0===n?void 0:n.count)||0)/o;return(0,oa.jsxs)(Lu,{container:!0,spacing:0,direction:"row",justifyContent:"space-around",alignItems:"flex-start",style:{minHeight:"min(100vw,24vh)",width:"100%",marginTop:"2em",marginBottom:"2em"},children:[(0,oa.jsxs)(Lu,{item:!0,xs:12,sm:6,lg:2,children:[(0,oa.jsx)(Lw,{children:"Classification"}),(0,oa.jsx)(xA,{children:(0,oa.jsx)(kA,{data:a,dataKey:"count",defaultText:"".concat(parseFloat((100*s).toFixed(1)).toLocaleString(),"%")})})]}),l.map((function(e,n){return(0,oa.jsx)(CA,p({totalCount:o},e),n)}))]})}));function wA(e){return wA="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wA(e)}function DA(e,n){if(null==e)return{};var t,i,r=function(e,n){if(null==e)return{};var t,i,r={},l=Object.keys(e);for(i=0;i=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function AA(){return AA=Object.assign||function(e){for(var n=1;n0||!Sf()(o,i)||!Sf()(s,r))?this.renderAreaWithAnimation(e,n):this.renderAreaStatically(i,r,e,n)}},{key:"render",value:function(){var e=this.props,n=e.hide,t=e.dot,i=e.points,r=e.className,a=e.top,o=e.left,s=e.xAxis,u=e.yAxis,c=e.width,d=e.height,p=e.isAnimationActive,f=e.id;if(n||!i||!i.length)return null;var m=this.state.isAnimationFinished,y=1===i.length,_=Gp()("recharts-area",r),h=s&&s.allowDataOverflow||u&&u.allowDataOverflow,g=af()(f)?this.id:f;return l.createElement(Ak,{className:_},h?l.createElement("defs",null,l.createElement("clipPath",{id:"clipPath-".concat(g)},l.createElement("rect",{x:o,y:a,width:c,height:Math.floor(d)}))):null,y?null:this.renderArea(h,g),(t||y)&&this.renderDots(h,g),(!p||m)&&mw.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(e,n){return e.animationId!==n.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:n.curPoints,prevBaseLine:n.curBaseLine}:e.points!==n.curPoints||e.baseLine!==n.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&PA(n.prototype,t),i&&PA(n,i),a}(l.PureComponent);jA.displayName="Area",jA.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!dN.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"},jA.getBaseValue=function(e,n,t){var i=e.layout,r=e.baseValue;if(vf(r)&&"number"===typeof r)return r;var l="horizontal"===i?t:n,a=l.scale.domain();if("number"===l.type){var o=Math.max(a[0],a[1]),s=Math.min(a[0],a[1]);return"dataMin"===r?s:"dataMax"===r||o<0?o:Math.max(Math.min(a[0],a[1]),0)}return"dataMin"===r?a[0]:"dataMax"===r?a[1]:a[0]},jA.getComposedData=function(e){var n,t=e.props,i=e.xAxis,r=e.yAxis,l=e.xAxisTicks,a=e.yAxisTicks,o=e.bandSize,s=e.dataKey,u=e.stackedData,c=e.dataStartIndex,d=e.displayedData,p=e.offset,f=t.layout,m=u&&u.length,y=jA.getBaseValue(t,i,r),_=!1,h=d.map((function(e,n){var t,d=gb(e,s);m?t=u[c+n]:(t=d,cf()(t)?_=!0:t=[y,t]);var p=af()(t[1])||m&&af()(d);return"horizontal"===f?{x:Ib({axis:i,ticks:l,bandSize:o,entry:e,index:n}),y:p?null:r.scale(t[1]),value:t,payload:e}:{x:p?null:i.scale(t[1]),y:Ib({axis:r,ticks:a,bandSize:o,entry:e,index:n}),value:t,payload:e}}));return n=m||_?h.map((function(e){return"horizontal"===f?{x:e.x,y:af()(sf()(e,"value[0]"))||af()(sf()(e,"y"))?null:r.scale(sf()(e,"value[0]"))}:{x:af()(sf()(e,"value[0]"))?null:i.scale(sf()(e,"value[0]")),y:e.y}})):"horizontal"===f?r.scale(y):i.scale(y),LA({points:h,baseLine:n,layout:f,isRange:_},p)},jA.renderDotItem=function(e,n){return l.isValidElement(e)?l.cloneElement(e,n):Ff()(e)?e(n):l.createElement(xE,AA({},n,{className:"recharts-area-dot"}))};var JA=function(){return null};JA.displayName="XAxis",JA.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var ZA=function(){return null};ZA.displayName="YAxis",ZA.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var zA=cS({chartName:"AreaChart",GraphicalChild:jA,axisComponents:[{axisType:"xAxis",AxisComp:JA},{axisType:"yAxis",AxisComp:ZA}],formatAxisMap:function(e,n,t,i,r){var l=e.width,a=e.height,o=e.layout,s=e.children,u=Object.keys(n),c={left:t.left,leftMirror:t.left,right:l-t.right,rightMirror:l-t.right,top:t.top,topMirror:t.top,bottom:a-t.bottom,bottomMirror:a-t.bottom},d=!!ab(s,"Bar");return u.reduce((function(l,a){var s,u,p,f,m,y=n[a],_=y.orientation,h=y.domain,g=y.padding,v=void 0===g?{}:g,T=y.mirror,b=y.reversed,k="".concat(_).concat(T?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var R=h[1]-h[0],N=1/0,E=y.categoricalDomain.sort();E.forEach((function(e,n){n>0&&(N=Math.min((e||0)-(E[n-1]||0),N))}));var x=N/R,C="vertical"===y.layout?t.height:t.width;if("gap"===y.padding&&(s=x*C/2),"no-gap"===y.padding){var S=Rf(e.barCategoryGap,x*C),w=x*C/2;s=w-S-(w-S)/C*S}}u="xAxis"===i?[t.left+(v.left||0)+(s||0),t.left+t.width-(v.right||0)-(s||0)]:"yAxis"===i?"horizontal"===o?[t.top+t.height-(v.bottom||0),t.top+(v.top||0)]:[t.top+(v.top||0)+(s||0),t.top+t.height-(v.bottom||0)-(s||0)]:y.range,b&&(u=[u[1],u[0]]);var D=Sb(y,r,d),A=D.scale,O=D.realScaleType;A.domain(h).range(u),Db(A);var L=Lb(A,oC(oC({},y),{},{realScaleType:O}));"xAxis"===i?(m="top"===_&&!T||"bottom"===_&&T,p=t.left,f=c[k]-m*y.height):"yAxis"===i&&(m="left"===_&&!T||"right"===_&&T,p=c[k]-m*y.width,f=t.top);var I=oC(oC(oC({},y),L),{},{realScaleType:O,x:p,y:f,scale:A,width:"xAxis"===i?t.width:y.width,height:"yAxis"===i?t.height:y.height});return I.bandSize=Mb(I,L),y.hide||"xAxis"!==i?y.hide||(c[k]+=(m?-1:1)*I.width):c[k]+=(m?-1:1)*I.height,oC(oC({},l),{},sC({},a,I))}),{})}});function HA(e){return HA="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},HA(e)}function qA(){return qA=Object.assign||function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function GA(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function KA(e){for(var n=1;nn[i]?1:-1})),(0,oa.jsx)(gk,{children:(0,oa.jsxs)(zA,{className:g.areaChart,width:500,height:400,data:n,margin:{top:10,right:30,left:0,bottom:0},children:[(0,oa.jsx)(iO,{strokeDasharray:"3 3"}),(0,oa.jsx)(JA,{dataKey:i,interval:"preserveStartEnd",domain:["auto","auto"],scale:y,type:_,tickFormatter:o}),(0,oa.jsx)(ZA,{domain:f}),u.map((function(e,n){return e.map((function(e,t){var i=e.key,r=e.color,l=e.stroke,a=e.type,o=void 0===a?"monotone":a;return(0,oa.jsx)(jA,{type:o,dataKey:i,stackId:n,stroke:l||r,fill:r,isAnimationActive:!p,dot:h,connectNulls:!0},"".concat(n,"_").concat(t))}))})),!c&&(0,oa.jsx)($T,{formatter:a}),!d&&(0,oa.jsx)(NN,{formatter:l,labelFormatter:r})]})})},aO=t(9120),oO=t(3073),sO=t(162);function uO(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=(0,aO.Z)(),i="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,r=(0,oO.Z)({name:"MuiUseMediaQuery",props:n,theme:t}),a=r.defaultMatches,s=void 0!==a&&a,u=r.matchMedia,c=void 0===u?i?window.matchMedia:null:u,d=r.noSsr,p=void 0!==d&&d,f=r.ssrMatchMedia,m=void 0===f?null:f;var y="function"===typeof e?e(t):e;y=y.replace(/^@media( ?)/m,"");var _=l.useState((function(){return p&&i?c(y).matches:m?m(y).matches:s})),h=(0,o.Z)(_,2),g=h[0],v=h[1];return(0,sO.Z)((function(){var e=!0;if(i){var n=c(y),t=function(){e&&v(n.matches)};return t(),n.addListener(t),function(){e=!1,n.removeListener(t)}}}),[y,c,i]),g}var cO=qp((function(e){var n=e.theme,t=e.value,i=e.colorData,r=(i=i||[{value:65,color:n.results.fail},{value:20,color:n.results.warn},{value:15,color:n.results.ok}]).findIndex((function(e,n,i){var r=(0,z.Z)(i).splice(0,n+1).reduce((function(e,n){return e+n.value}),0);return t>r-e.value&&t<=r})),l=i.map((function(e){return e.value})).reduce((function(e,n){return e+n}),0),a=[t,0,l-t].map((function(e){return{value:e}})),o={startAngle:180,endAngle:0,cy:"85%"},s=uO("(min-width:960px) and (max-width:1235px)"),u=uO("(min-width:1235px) and (max-width:1760px)"),c=s?{innerRadius:"60%",outerRadius:"80%"}:u?{innerRadius:"80%",outerRadius:"100%"}:{innerRadius:"120%",outerRadius:"140%"};return(0,oa.jsx)(gk,{children:(0,oa.jsxs)(Sw,{children:[(0,oa.jsx)(Cw,p(p(p({activeIndex:r,activeShape:function(e){var n=e.cx,t=e.cy,i=e.innerRadius,r=e.outerRadius,l=e.startAngle,a=e.endAngle,o=e.fill;return(0,oa.jsx)("g",{children:(0,oa.jsx)(ck,{cx:n,cy:t,innerRadius:i,outerRadius:1.2*r,startAngle:l,endAngle:a,fill:o})})},data:i,dataKey:"value"},c),o),{},{children:i.map((function(e,n){return(0,oa.jsx)(_w,{fill:i[n].color},"cell-".concat(n))}))})),(0,oa.jsx)(Cw,p({stroke:"none",activeIndex:1,activeShape:function(e){var n=e.cx,t=e.cy,i=e.midAngle,r=e.outerRadius,l=Math.PI/180,a=Math.sin(-l*i),o=n+1.08*r*Math.cos(-l*i),s=t+1.08*r*a;return(0,oa.jsxs)("g",{children:[(0,oa.jsx)("circle",{cx:n,cy:t,r:"2%",fill:"#666",stroke:"none"}),(0,oa.jsx)("path",{d:"M".concat(n,",").concat(t,"L").concat(o,",").concat(s),strokeWidth:"6",stroke:"#666",fill:"none",strokeLinecap:"round"})]})},data:a,dataKey:"value",outerRadius:c.innerRadius,fill:"none"},o))]})})}));Math.pow(10,8);function dO(e,n,t){qr(2,arguments);var i=ia(e,n)/6e4;return la(null===t||void 0===t?void 0:t.roundingMethod)(i)}var pO,fO=qp((function(e){var n=e.theme,t=e.production,i=t.reduce((function(e,n){return e+n.count_total}),0),r=t.reduce((function(e,n){return{start:e.start?Math.min(e.start,n.tm):n.tm,end:e.end?Math.max(e.end,n.tm):n.tm}}),{}),l=i/(dO(r.end,r.start)||1),a=100*l/120,o=Object.values(Ea).filter((function(e){return!e.hidden})),s=t.map((function(e){return p(p({},e),{},{tm:e.tm.getTime()})})),u=[o.map((function(e){var t=e.displayName,i=e.tag;return{name:t,key:i,color:n.results[i]}}))],c=s.map((function(e){return e.count_total})).filter((function(e){return isFinite(e)&&(0|e)===e})).reduce((function(e,n){return n>e?n:e}),0),d=[0,c<10?c+1:c<100?10*Math.floor(c/10)+10:c<300?10*Math.floor(c/10)+30:100*Math.floor(c/100)+100];return(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsxs)(Lu,{item:!0,xs:12,sm:12,md:4,children:[(0,oa.jsx)("div",{style:{width:"min(100vw,95%)",height:"min(90vw,25vh)"},children:(0,oa.jsx)(cO,{value:a})}),(0,oa.jsxs)(Lw,{children:[Math.round(l).toLocaleString()," Products/min"]})]}),(0,oa.jsx)(Lu,{item:!0,xs:12,sm:12,md:8,children:(0,oa.jsx)("div",{style:{width:"min(100vw,95%)",height:"min(100vw,300px)"},children:(0,oa.jsx)(lO,{data:s,yAxisDomain:d,dataKeys:u,tickFormatter:function(e){return ea(e,"HH:mm")},tooltipLabelFormatter:function(e,n){return ea(new Date(e),"HH:mm")},tooltipFormatter:function(e,n,t){var i;return[e,(null===(i=o.find((function(e){return e.tag===n})))||void 0===i?void 0:i.displayName)||n]},disableLegend:!0,disableAnimation:!0,disableTooltip:!1,scale:"time",type:"number"})})})]})})),mO=(0,l.createContext)({}),yO=(0,l.createContext)({}),_O=function(e){var n=(0,l.useContext)(yO).setPageTitle;(0,l.useEffect)((function(){null===n||void 0===n||n(e)}))},hO=(0,l.createContext)({dateRange:{set:function(e){},value:{}}});!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(pO||(pO={}));var gO=new Map;function vO(e){var n;switch(e){case pO.Query:n="Query";break;case pO.Mutation:n="Mutation";break;case pO.Subscription:n="Subscription"}return n}function TO(e,n){var t=function(e){var n,t,i=gO.get(e);if(i)return i;__DEV__?S(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):S(!!e&&!!e.kind,30);var r=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),l=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),a=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),o=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));__DEV__?S(!r.length||l.length||a.length||o.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):S(!r.length||l.length||a.length||o.length,31),__DEV__?S(l.length+a.length+o.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(l.length," queries, ").concat(o.length," ")+"subscriptions and ".concat(a.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):S(l.length+a.length+o.length<=1,32),t=l.length?pO.Query:pO.Mutation,l.length||a.length||(t=pO.Subscription);var s=l.length?l:a.length?a:o;__DEV__?S(1===s.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(s.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):S(1===s.length,33);var u=s[0];n=u.variableDefinitions||[];var c={name:u.name&&"Name"===u.name.kind?u.name.value:"data",type:t,variables:n};return gO.set(e,c),c}(e),i=vO(n),r=vO(t.type);__DEV__?S(t.type===n,"Running a ".concat(i," requires a graphql ")+"".concat(i,", but a ").concat(r," was used instead.")):S(t.type===n,34)}function bO(e){var n=(0,l.useContext)(Fr()),t=e||n.client;return __DEV__?S(!!t,'Could not find "client" in the context or passed in as an option. Wrap the root component in an , or pass an ApolloClientApolloClient instance in via options.'):S(!!t,29),t}function kO(e,n){var t,i=(0,l.useContext)(Fr()),r=bO(null===n||void 0===n?void 0:n.client),a=r.defaultOptions.watchQuery;TO(e,pO.Query);var o,s=(0,l.useState)((function(){var t=RO(e,n,a),l=null;return i.renderPromises&&(l=i.renderPromises.getSSRObservable(t)),l||(l=r.watchQuery(t),i.renderPromises&&i.renderPromises.registerSSRObservable(l,t)),i.renderPromises&&!1!==(null===n||void 0===n?void 0:n.ssr)&&!(null===n||void 0===n?void 0:n.skip)&&l.getCurrentResult().loading&&i.renderPromises.addQueryPromise({getOptions:function(){return RO(e,n,a)},fetchData:function(){return new Promise((function(e){var n=l.subscribe({next:function(t){t.loading||(e(),n.unsubscribe())},error:function(){e(),n.unsubscribe()},complete:function(){e()}})}))}},(function(){return null})),l})),u=s[0],c=s[1],d=(0,l.useState)((function(){var e,t,i=u.getCurrentResult();return!i.loading&&n&&(i.error?null===(e=n.onError)||void 0===e||e.call(n,i.error):i.data&&(null===(t=n.onCompleted)||void 0===t||t.call(n,i.data))),i})),p=d[0],f=d[1],m=(0,l.useRef)({client:r,query:e,options:n,result:p,previousData:void 0,watchQueryOptions:RO(e,n,a)});(0,l.useEffect)((function(){var t,i,l,o=RO(e,n,a);if(m.current.client===r&&Fn(m.current.query,e))Fn(m.current.watchQueryOptions,o)||(u.setOptions(o).catch((function(){})),l=u.getCurrentResult(),m.current.watchQueryOptions=o);else{var s=r.watchQuery(o);c(s),l=s.getCurrentResult()}if(l){var d=m.current.result;d.data&&(m.current.previousData=d.data),f(m.current.result=l),!l.loading&&n&&(l.error?null===(t=n.onError)||void 0===t||t.call(n,l.error):l.data&&(null===(i=n.onCompleted)||void 0===i||i.call(n,l.data)))}Object.assign(m.current,{client:r,query:e})}),[u,r,e,n]),(0,l.useEffect)((function(){if(!i.renderPromises){var e=u.subscribe(n,(function t(i){var r,l,a=u.last;e.unsubscribe();try{u.resetLastResults(),e=u.subscribe(n,t)}finally{u.last=a}if(!i.hasOwnProperty("graphQLErrors"))throw i;var o=m.current.result;(o&&o.loading||!Fn(i,o.error))&&(f(m.current.result={data:o.data,error:i,loading:!1,networkStatus:Ct.error}),null===(l=null===(r=m.current.options)||void 0===r?void 0:r.onError)||void 0===l||l.call(r,i))}));return function(){return e.unsubscribe()}}function n(){var e,n,t=m.current.result,i=u.getCurrentResult();t&&t.loading===i.loading&&t.networkStatus===i.networkStatus&&Fn(t.data,i.data)||(t.data&&(m.current.previousData=t.data),f(m.current.result=i),i.loading||null===(n=null===(e=m.current.options)||void 0===e?void 0:e.onCompleted)||void 0===n||n.call(e,i.data))}}),[u,i.renderPromises,r.disableNetworkFetches]),o=(t=p).partial,p=T(t,["partial"]),!o||!(null===n||void 0===n?void 0:n.partialRefetch)||p.loading||p.data&&0!==Object.keys(p.data).length||"cache-only"===u.options.fetchPolicy||(p=v(v({},p),{loading:!0,networkStatus:Ct.refetch}),u.refetch()),i.renderPromises&&!1!==(null===n||void 0===n?void 0:n.ssr)&&!(null===n||void 0===n?void 0:n.skip)&&p.loading&&u.setOptions(RO(e,n,a)).catch((function(){})),Object.assign(m.current,{options:n}),(i.renderPromises||r.disableNetworkFetches)&&!1===(null===n||void 0===n?void 0:n.ssr)?p=m.current.result={loading:!0,data:void 0,error:void 0,networkStatus:Ct.loading}:((null===n||void 0===n?void 0:n.skip)||"standby"===(null===n||void 0===n?void 0:n.fetchPolicy))&&(p={loading:!1,data:void 0,error:void 0,networkStatus:Ct.ready}),p.errors&&p.errors.length&&(p=v(v({},p),{error:p.error||new St({graphQLErrors:p.errors})}));var y=(0,l.useMemo)((function(){return{refetch:u.refetch.bind(u),fetchMore:u.fetchMore.bind(u),updateQuery:u.updateQuery.bind(u),startPolling:u.startPolling.bind(u),stopPolling:u.stopPolling.bind(u),subscribeToMore:u.subscribeToMore.bind(u)}}),[u]);return v(v(v({},y),{variables:RO(e,n,a).variables,client:r,called:!0,previousData:m.current.previousData}),p)}function RO(e,n,t){var i;void 0===n&&(n={});var r=n.skip,l=(n.ssr,n.onCompleted,n.onError,n.displayName,T(n,["skip","ssr","onCompleted","onError","displayName"])),a=v({query:e},l);return t&&(a=Bi(t,a)),r?a.fetchPolicy="standby":(!(null===(i=a.context)||void 0===i?void 0:i.renderPromises)||"network-only"!==a.fetchPolicy&&"cache-and-network"!==a.fetchPolicy)&&a.fetchPolicy||(a.fetchPolicy="cache-first"),a.variables||(a.variables={}),a}var NO,EO,xO=["refetch","fetchMore","updateQuery","startPolling","subscribeToMore"];function CO(e,n){var t=(0,l.useState)({called:!1,resolves:[]}),i=t[0],r=t[1],a=(0,l.useCallback)((function(e){var n,t=new Promise((function(e){return n=e}));return r((function(t){return t.called&&o&&o.refetch(null===e||void 0===e?void 0:e.variables),{called:!0,resolves:R(R([],t.resolves,!0),[n],!1),options:e}})),t}),[]),o=kO(e,v(v(v({},n),i.options),{fetchPolicy:i.called?null===n||void 0===n?void 0:n.fetchPolicy:"standby",skip:void 0}));if((0,l.useEffect)((function(){var e=i.resolves;!o.loading&&e.length&&(r((function(e){return v(v({},e),{resolves:[]})})),e.forEach((function(e){return e(o)})))}),[o,i]),!i.called){o=v(v({},o),{loading:!1,data:void 0,error:void 0,called:!1});for(var s=function(e){var n=o[e];o[e]=function(){for(var e=[],t=0;ti.getTime()}(e,n),i=ia(t?WO(n,1):n,e);console.log("Reloading in ".concat(i," ms"));var r=setTimeout((function(){da("Daily reload")}),Math.max(1,i));return function(){return clearTimeout(r)}}),[]);var n=kO(VO,{variables:{order_by:[{id:"desc"}],limit:1},pollInterval:1e4}),t=n.data,i=(n.loading,n.error),r=(n.refetch,n.stopPolling),a=kO(jO,{pollInterval:1e4}),s=a.data,u=(a.stopPolling,i?"":Array.isArray(null===t||void 0===t?void 0:t.product_types)&&0!==t.product_types.length?t.product_types[0].name:"");_O(u);var d=15e3,f=CO(MO,{pollInterval:d}),m=(0,o.Z)(f,2),y=m[0],_=m[1],h=_.startPolling,g=_.data,v=(_.loading,_.error,CO(FO,{pollInterval:d})),T=(0,o.Z)(v,2),b=T[0],k=T[1],R=k.startPolling,N=k.data;k.loading,k.error,(0,l.useEffect)((function(){if(Array.isArray(null===t||void 0===t?void 0:t.product_types)&&0!==t.product_types.length){var e=t.product_types[0].id;y({variables:{product_type_id:e,granularity_minutes:1}}),h(d);var n=zO(new Date,30);return b({variables:{product_type_id:e,granularity_minutes:1,tm_start:n}}),R(d),function(){r()}}}),[t,r,y,b,h,R]);var E=CO(JO,{pollInterval:d}),x=(0,o.Z)(E,2),C=x[0],S=x[1],w=S.data,D=S.startPolling;(0,l.useEffect)((function(){var e=((null===s||void 0===s?void 0:s.measurements)||[]).filter((function(e){var n,t;return null===e||void 0===e||null===(n=e.measurement_type)||void 0===n||null===(t=n.name)||void 0===t?void 0:t.startsWith("dist_")})).map((function(e){return e.measurement_type.id})),n=zO(new Date,30),t=new Date,i="{".concat(e.toString(),"}");C({variables:{tm_start:n,tm_end:t,measurement_type_ids:i}}),D(d)}),[s,C,D]);var A=zO(new Date,30),O=function(e){return p(p({},e),{},{tm:new Date(e.time_bucket)})},L=function(e){return e.tm>=A},I=Object.values(((null===N||void 0===N?void 0:N.products)||[]).map(O).filter(L).reduce((function(e,n){var t=n.time_bucket,i=e[t],r=p(p({},i||n),{},{count_total:((null===i||void 0===i?void 0:i.count_total)||0)+n.count_total,count_failed:((null===i||void 0===i?void 0:i.count_failed)||0)+n.count_failed});return p(p({},e),{},(0,c.Z)({},t,r))}),{})),U=Object.values(((null===g||void 0===g?void 0:g.classificationDetails)||[]).map(O).filter(L).reduce((function(e,n){var t="".concat(n.time_bucket,"#").concat(n.classification,"#").concat(n.result_id),i=e[t],r=p(p({},i||n),{},{count:((null===i||void 0===i?void 0:i.count)||0)+n.count});return p(p({},e),{},(0,c.Z)({},t,r))}),{})),P=function(e,n){new Date("2022-01-19T18:32:00+00:00");var t=Object.values(Ea).map((function(e){return e.tag})),i=e.map((function(e){var i=n.filter((function(n){return n.time_bucket===e.time_bucket})).map((function(e){return p(p({},e),{},{classification:t[e.classification_index]})})),r=t.reduce((function(e,n){return p(p({},e),{},(0,c.Z)({},n,(e[n]||0)+i.filter((function(e){return e.classification===n})).reduce((function(e,n){return e+n.count}),0)))}),{ok:e.count_total-e.count_failed});return p(p({},e),r)}));return i}(I,U),V=$O(P),B=function(e,n){new Date("2022-01-19T18:32:00+00:00");var t=n.map((function(e){return e.result_name})).filter((function(e,n,t){return t.indexOf(e)===n})),i=Object.entries(xa).map((function(e){var i=(0,o.Z)(e,2),r=i[0],l=i[1].tag,a=t.map((function(e){var t=n.filter((function(n){var t=n.result_name===e,i=n.classification_index===parseInt(r);return t&&i})).reduce((function(e,n){return e+(n.count||0)}),0);return{name:e,count:t}})),s=a.reduce((function(e,n){return e+n.count}),0);return{classification:l,results:a,count:s}})),r=e.map((function(e){return e.count_total-e.count_failed})).reduce((function(e,n){return e+n}),0);return i[Object.entries(xa).find((function(e){var n=(0,o.Z)(e,2);return n[0],"ok"===n[1].tag}))[0]].count=r,i}(I,U),M=YO(s,w).map((function(e){return{name:e.name,coverage:e.quadrantValues.slice(1).map((function(n){return n/e.target}))}}));return(0,oa.jsxs)("div",{children:[(0,oa.jsx)(KO,{name:"Productivity",children:(0,oa.jsx)(fO,{production:V})}),(0,oa.jsx)(KO,{name:"Quality",children:(0,oa.jsx)(SA,{classifications:B})}),(0,oa.jsx)(KO,{name:"Ingredients",children:(0,oa.jsx)(Pw,{toppings:M})})]})},XO=function(e){var n=l.useRef({});return l.useEffect((function(){n.current=e})),n.current};var eL=function(e){return"string"===typeof e};function nL(e){return(0,ku.Z)("MuiBadge",e)}var tL=(0,Ru.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopLeft","anchorOriginTopRight","anchorOriginBottomLeft","anchorOriginBottomRight","invisible"]);function iL(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return eL(e)?n:(0,Qo.Z)({},n,{ownerState:(0,Qo.Z)({},n.ownerState,t)})}var rL=["anchorOrigin","classes","badgeContent","component","children","className","components","componentsProps","invisible","max","showZero","variant"],lL=l.forwardRef((function(e,n){var t=e.anchorOrigin,i=void 0===t?{vertical:"top",horizontal:"right"}:t,r=e.classes,l=e.component,a=e.children,o=e.className,s=e.components,u=void 0===s?{}:s,c=e.componentsProps,d=void 0===c?{}:c,p=e.max,m=void 0===p?99:p,y=e.showZero,_=void 0!==y&&y,h=e.variant,g=void 0===h?"standard":h,v=(0,f.Z)(e,rL),T=function(e){var n=e.anchorOrigin,t=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,r=e.invisible,l=e.max,a=void 0===l?99:l,o=e.showZero,s=void 0!==o&&o,u=e.variant,c=void 0===u?"standard":u,d=XO({anchorOrigin:t,badgeContent:i,max:a,variant:c}),p=r;null==r&&(0===i&&!s||null==i&&"dot"!==c)&&(p=!0);var f=p?d:e,m=f.anchorOrigin,y=void 0===m?t:m,_=f.badgeContent,h=f.max,g=void 0===h?a:h,v=f.variant,T=void 0===v?c:v,b="";return"dot"!==T&&(b=_&&Number(_)>g?"".concat(g,"+"):_),{anchorOrigin:y,badgeContent:_,invisible:p,max:g,variant:T,displayValue:b}}((0,Qo.Z)({},e,{anchorOrigin:i,max:m,variant:g})),b=T.anchorOrigin,k=T.badgeContent,R=T.max,N=T.variant,E=T.displayValue,x=T.invisible,C=(0,Qo.Z)({},e,{anchorOrigin:b,badgeContent:k,classes:r,invisible:x,max:R,variant:N,showZero:_}),S=function(e){var n=e.variant,t=e.anchorOrigin,i=e.invisible,r=e.classes,l={root:["root"],badge:["badge",n,"anchorOrigin".concat((0,Lp.Z)(t.vertical)).concat((0,Lp.Z)(t.horizontal)),i&&"invisible"]};return(0,vu.Z)(l,nL,r)}(C),w=l||u.Root||"span",D=iL(w,(0,Qo.Z)({},v,d.root),C),A=u.Badge||"span",O=iL(A,d.badge,C);return(0,oa.jsxs)(w,(0,Qo.Z)({},D,{ref:n},v,{className:(0,fu.Z)(S.root,D.className,o),children:[a,(0,oa.jsx)(A,(0,Qo.Z)({},O,{className:(0,fu.Z)(S.badge,O.className),children:E}))]}))})),aL=lL,oL=["anchorOrigin","component","components","componentsProps","overlap","color","invisible","badgeContent","showZero","variant"],sL=(0,Qo.Z)({},tL,(0,Ru.Z)("MuiBadge",["colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"])),uL=(0,Hr.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:function(e,n){return n.root}})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),cL=(0,Hr.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:function(e,n){var t=e.ownerState;return[n.badge,n[t.variant],n["anchorOrigin".concat((0,Vw.Z)(t.anchorOrigin.vertical)).concat((0,Vw.Z)(t.anchorOrigin.horizontal)).concat((0,Vw.Z)(t.overlap))],"default"!==t.color&&n["color".concat((0,Vw.Z)(t.color))],t.invisible&&n.invisible]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:n.typography.fontFamily,fontWeight:n.typography.fontWeightMedium,fontSize:n.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:n.transitions.create("transform",{easing:n.transitions.easing.easeInOut,duration:n.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:n.palette[t.color].main,color:n.palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&(0,c.Z)({top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&(0,c.Z)({bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&(0,c.Z)({top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&(0,c.Z)({bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(-50%, 50%)"}),"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&(0,c.Z)({top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&(0,c.Z)({bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&(0,c.Z)({top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&(0,c.Z)({bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(sL.invisible),{transform:"scale(0) translate(-50%, 50%)"}),t.invisible&&{transition:n.transitions.create("transform",{easing:n.transitions.easing.easeInOut,duration:n.transitions.duration.leavingScreen})})})),dL=function(e){return!e||!eL(e)},pL=l.forwardRef((function(e,n){var t,i,r=(0,Tu.Z)({props:e,name:"MuiBadge"}),l=r.anchorOrigin,a=void 0===l?{vertical:"top",horizontal:"right"}:l,o=r.component,s=void 0===o?"span":o,u=r.components,c=void 0===u?{}:u,d=r.componentsProps,p=void 0===d?{}:d,m=r.overlap,y=void 0===m?"rectangular":m,_=r.color,h=void 0===_?"default":_,g=r.invisible,v=r.badgeContent,T=r.showZero,b=void 0!==T&&T,k=r.variant,R=void 0===k?"standard":k,N=(0,f.Z)(r,oL),E=XO({anchorOrigin:a,color:h,overlap:y}),x=g;null==g&&(0===v&&!b||null==v&&"dot"!==R)&&(x=!0);var C=x?E:r,S=C.color,w=void 0===S?h:S,D=C.overlap,A=void 0===D?y:D,O=C.anchorOrigin,L=void 0===O?a:O,I=function(e){var n=e.color,t=e.anchorOrigin,i=e.overlap,r=e.classes,l=void 0===r?{}:r;return(0,Qo.Z)({},l,{badge:(0,fu.Z)(l.badge,nL("anchorOrigin".concat((0,Vw.Z)(t.vertical)).concat((0,Vw.Z)(t.horizontal)).concat((0,Vw.Z)(i))),nL("overlap".concat((0,Vw.Z)(i))),"default"!==n&&[nL("color".concat((0,Vw.Z)(n))),l["color".concat((0,Vw.Z)(n))]])})}((0,Qo.Z)({},r,{anchorOrigin:L,invisible:x,color:w,overlap:A}));return(0,oa.jsx)(aL,(0,Qo.Z)({anchorOrigin:L,invisible:g,badgeContent:v,showZero:b,variant:R},N,{components:(0,Qo.Z)({Root:uL,Badge:cL},c),componentsProps:{root:(0,Qo.Z)({},p.root,dL(c.Root)&&{as:s,ownerState:(0,Qo.Z)({},null==(t=p.root)?void 0:t.ownerState,{color:w,overlap:A})}),badge:(0,Qo.Z)({},p.badge,dL(c.Badge)&&{ownerState:(0,Qo.Z)({},null==(i=p.badge)?void 0:i.ownerState,{color:w,overlap:A})})},classes:I,ref:n}))})),fL=pL;var mL=l.createContext({});function yL(e){return(0,ku.Z)("MuiListItemText",e)}var _L=(0,Ru.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),hL=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],gL=(0,Hr.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[(0,c.Z)({},"& .".concat(_L.primary),n.primary),(0,c.Z)({},"& .".concat(_L.secondary),n.secondary),n.root,t.inset&&n.inset,t.primary&&t.secondary&&n.multiline,t.dense&&n.dense]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},n.primary&&n.secondary&&{marginTop:6,marginBottom:6},n.inset&&{paddingLeft:56})})),vL=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiListItemText"}),i=t.children,r=t.className,a=t.disableTypography,o=void 0!==a&&a,s=t.inset,u=void 0!==s&&s,c=t.primary,d=t.primaryTypographyProps,p=t.secondary,m=t.secondaryTypographyProps,y=(0,f.Z)(t,hL),_=l.useContext(mL).dense,h=null!=c?c:i,g=p,v=(0,Qo.Z)({},t,{disableTypography:o,inset:u,primary:!!h,secondary:!!g,dense:_}),T=function(e){var n=e.classes,t=e.inset,i=e.primary,r=e.secondary,l={root:["root",t&&"inset",e.dense&&"dense",i&&r&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,vu.Z)(l,yL,n)}(v);return null==h||h.type===zw||o||(h=(0,oa.jsx)(zw,(0,Qo.Z)({variant:_?"body2":"body1",className:T.primary,component:"span",display:"block"},d,{children:h}))),null==g||g.type===zw||o||(g=(0,oa.jsx)(zw,(0,Qo.Z)({variant:"body2",className:T.secondary,color:"text.secondary",display:"block"},m,{children:g}))),(0,oa.jsxs)(gL,(0,Qo.Z)({className:(0,fu.Z)(T.root,r),ownerState:v,ref:n},y,{children:[h,g]}))}));function TL(e){return(0,ku.Z)("MuiList",e)}(0,Ru.Z)("MuiList",["root","padding","dense","subheader"]);var bL=["children","className","component","dense","disablePadding","subheader"],kL=(0,Hr.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,!t.disablePadding&&n.padding,t.dense&&n.dense,t.subheader&&n.subheader]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!n.disablePadding&&{paddingTop:8,paddingBottom:8},n.subheader&&{paddingTop:0})})),RL=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiList"}),i=t.children,r=t.className,a=t.component,o=void 0===a?"ul":a,s=t.dense,u=void 0!==s&&s,c=t.disablePadding,d=void 0!==c&&c,p=t.subheader,m=(0,f.Z)(t,bL),y=l.useMemo((function(){return{dense:u}}),[u]),_=(0,Qo.Z)({},t,{component:o,dense:u,disablePadding:d}),h=function(e){var n=e.classes,t={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,vu.Z)(t,TL,n)}(_);return(0,oa.jsx)(mL.Provider,{value:y,children:(0,oa.jsxs)(kL,(0,Qo.Z)({as:o,className:(0,fu.Z)(h.root,r),ref:n,ownerState:_},m,{children:[p,i]}))})})),NL=RL,EL=t(2065),xL=t(2071),CL=t(9683),SL=t(8221),wL=l.createContext(null);function DL(e,n){var t=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=function(e){return n&&(0,l.isValidElement)(e)?n(e):e}(e)})),t}function AL(e,n,t){return null!=t[n]?t[n]:e.props[n]}function OL(e,n,t){var i=DL(e.children),r=function(e,n){function t(t){return t in n?n[t]:e[t]}e=e||{},n=n||{};var i,r=Object.create(null),l=[];for(var a in e)a in n?l.length&&(r[a]=l,l=[]):l.push(a);var o={};for(var s in n){if(r[s])for(i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,i=n.pulsate,l=void 0!==i&&i,a=n.center,o=void 0===a?r||n.pulsate:a,s=n.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&g.current)g.current=!1;else{"touchstart"===e.type&&(g.current=!0);var c,d,p,f=u?null:b.current,m=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(o||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(m.width/2),d=Math.round(m.height/2);else{var y=e.touches?e.touches[0]:e,_=y.clientX,h=y.clientY;c=Math.round(_-m.left),d=Math.round(h-m.top)}if(o)(p=Math.sqrt((2*Math.pow(m.width,2)+Math.pow(m.height,2))/3))%2===0&&(p+=1);else{var R=2*Math.max(Math.abs((f?f.clientWidth:0)-c),c)+2,N=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(R,2)+Math.pow(N,2))}e.touches?null===T.current&&(T.current=function(){k({pulsate:l,rippleX:c,rippleY:d,rippleSize:p,cb:t})},v.current=setTimeout((function(){T.current&&(T.current(),T.current=null)}),80)):k({pulsate:l,rippleX:c,rippleY:d,rippleSize:p,cb:t})}}),[r,k]),N=l.useCallback((function(){R({},{pulsate:!0})}),[R]),E=l.useCallback((function(e,n){if(clearTimeout(v.current),"touchend"===e.type&&T.current)return T.current(),T.current=null,void(v.current=setTimeout((function(){E(e,n)})));T.current=null,y((function(e){return e.length>0?e.slice(1):e})),h.current=n}),[]);return l.useImperativeHandle(n,(function(){return{pulsate:N,start:R,stop:E}}),[N,R,E]),(0,oa.jsx)(rI,(0,Qo.Z)({className:(0,fu.Z)(s.root,XL.root,u),ref:b},c,{children:(0,oa.jsx)(UL,{component:null,exit:!0,children:m})}))})),oI=aI;function sI(e){return(0,ku.Z)("MuiButtonBase",e)}var uI,cI=(0,Ru.Z)("MuiButtonBase",["root","disabled","focusVisible"]),dI=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"],pI=(0,Hr.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,n){return n.root}})((uI={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,c.Z)(uI,"&.".concat(cI.disabled),{pointerEvents:"none",cursor:"default"}),(0,c.Z)(uI,"@media print",{colorAdjust:"exact"}),uI)),fI=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiButtonBase"}),i=t.action,r=t.centerRipple,a=void 0!==r&&r,s=t.children,u=t.className,c=t.component,d=void 0===c?"button":c,p=t.disabled,m=void 0!==p&&p,y=t.disableRipple,_=void 0!==y&&y,h=t.disableTouchRipple,g=void 0!==h&&h,v=t.focusRipple,T=void 0!==v&&v,b=t.LinkComponent,k=void 0===b?"a":b,R=t.onBlur,N=t.onClick,E=t.onContextMenu,x=t.onDragLeave,C=t.onFocus,S=t.onFocusVisible,w=t.onKeyDown,D=t.onKeyUp,A=t.onMouseDown,O=t.onMouseLeave,L=t.onMouseUp,I=t.onTouchEnd,U=t.onTouchMove,P=t.onTouchStart,V=t.tabIndex,B=void 0===V?0:V,M=t.TouchRippleProps,F=t.type,j=(0,f.Z)(t,dI),J=l.useRef(null),Z=l.useRef(null),z=(0,SL.Z)(),H=z.isFocusVisibleRef,q=z.onFocus,W=z.onBlur,G=z.ref,K=l.useState(!1),$=(0,o.Z)(K,2),Y=$[0],Q=$[1];function X(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return(0,CL.Z)((function(i){return n&&n(i),!t&&Z.current&&Z.current[e](i),!0}))}m&&Y&&Q(!1),l.useImperativeHandle(i,(function(){return{focusVisible:function(){Q(!0),J.current.focus()}}}),[]),l.useEffect((function(){Y&&T&&!_&&Z.current.pulsate()}),[_,T,Y]);var ee=X("start",A),ne=X("stop",E),te=X("stop",x),ie=X("stop",L),re=X("stop",(function(e){Y&&e.preventDefault(),O&&O(e)})),le=X("start",P),ae=X("stop",I),oe=X("stop",U),se=X("stop",(function(e){W(e),!1===H.current&&Q(!1),R&&R(e)}),!1),ue=(0,CL.Z)((function(e){J.current||(J.current=e.currentTarget),q(e),!0===H.current&&(Q(!0),S&&S(e)),C&&C(e)})),ce=function(){var e=J.current;return d&&"button"!==d&&!("A"===e.tagName&&e.href)},de=l.useRef(!1),pe=(0,CL.Z)((function(e){T&&!de.current&&Y&&Z.current&&" "===e.key&&(de.current=!0,Z.current.stop(e,(function(){Z.current.start(e)}))),e.target===e.currentTarget&&ce()&&" "===e.key&&e.preventDefault(),w&&w(e),e.target===e.currentTarget&&ce()&&"Enter"===e.key&&!m&&(e.preventDefault(),N&&N(e))})),fe=(0,CL.Z)((function(e){T&&" "===e.key&&Z.current&&Y&&!e.defaultPrevented&&(de.current=!1,Z.current.stop(e,(function(){Z.current.pulsate(e)}))),D&&D(e),N&&e.target===e.currentTarget&&ce()&&" "===e.key&&!e.defaultPrevented&&N(e)})),me=d;"button"===me&&(j.href||j.to)&&(me=k);var ye={};"button"===me?(ye.type=void 0===F?"button":F,ye.disabled=m):(j.href||j.to||(ye.role="button"),m&&(ye["aria-disabled"]=m));var _e=(0,xL.Z)(G,J),he=(0,xL.Z)(n,_e),ge=l.useState(!1),ve=(0,o.Z)(ge,2),Te=ve[0],be=ve[1];l.useEffect((function(){be(!0)}),[]);var ke=Te&&!_&&!m;var Re=(0,Qo.Z)({},t,{centerRipple:a,component:d,disabled:m,disableRipple:_,disableTouchRipple:g,focusRipple:T,tabIndex:B,focusVisible:Y}),Ne=function(e){var n=e.disabled,t=e.focusVisible,i=e.focusVisibleClassName,r=e.classes,l={root:["root",n&&"disabled",t&&"focusVisible"]},a=(0,vu.Z)(l,sI,r);return t&&i&&(a.root+=" ".concat(i)),a}(Re);return(0,oa.jsxs)(pI,(0,Qo.Z)({as:me,className:(0,fu.Z)(Ne.root,u),ownerState:Re,onBlur:se,onClick:N,onContextMenu:ne,onFocus:ue,onKeyDown:pe,onKeyUp:fe,onMouseDown:ee,onMouseLeave:re,onMouseUp:ie,onDragLeave:te,onTouchEnd:ae,onTouchMove:oe,onTouchStart:le,ref:he,tabIndex:m?-1:B,type:F},ye,j,{children:[s,ke?(0,oa.jsx)(oI,(0,Qo.Z)({ref:Z,center:a},M)):null]}))})),mI=fI;function yI(e){return(0,ku.Z)("MuiIconButton",e)}var _I=(0,Ru.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),hI=["edge","children","className","color","disabled","disableFocusRipple","size"],gI=(0,Hr.ZP)(mI,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,"default"!==t.color&&n["color".concat((0,Vw.Z)(t.color))],t.edge&&n["edge".concat((0,Vw.Z)(t.edge))],n["size".concat((0,Vw.Z)(t.size))]]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({textAlign:"center",flex:"0 0 auto",fontSize:n.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:n.palette.action.active,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:(0,EL.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})}),(function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,Qo.Z)({color:n.palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:(0,EL.Fq)(n.palette[t.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===t.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,c.Z)({},"&.".concat(_I.disabled),{backgroundColor:"transparent",color:n.palette.action.disabled}))})),vI=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiIconButton"}),i=t.edge,r=void 0!==i&&i,l=t.children,a=t.className,o=t.color,s=void 0===o?"default":o,u=t.disabled,c=void 0!==u&&u,d=t.disableFocusRipple,p=void 0!==d&&d,m=t.size,y=void 0===m?"medium":m,_=(0,f.Z)(t,hI),h=(0,Qo.Z)({},t,{edge:r,color:s,disabled:c,disableFocusRipple:p,size:y}),g=function(e){var n=e.classes,t=e.disabled,i=e.color,r=e.edge,l=e.size,a={root:["root",t&&"disabled","default"!==i&&"color".concat((0,Vw.Z)(i)),r&&"edge".concat((0,Vw.Z)(r)),"size".concat((0,Vw.Z)(l))]};return(0,vu.Z)(a,yI,n)}(h);return(0,oa.jsx)(gI,(0,Qo.Z)({className:(0,fu.Z)(g.root,a),centerRipple:!0,focusRipple:!p,disabled:c,ref:n,ownerState:h},_,{children:l}))})),TI=vI,bI=t(9103);function kI(e){return(0,ku.Z)("MuiListItem",e)}var RI=(0,Ru.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var NI=(0,Ru.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function EI(e){return(0,ku.Z)("MuiListItemSecondaryAction",e)}(0,Ru.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var xI=["className"],CI=(0,Hr.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.disableGutters&&n.disableGutters]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},n.disableGutters&&{right:0})})),SI=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiListItemSecondaryAction"}),i=t.className,r=(0,f.Z)(t,xI),a=l.useContext(mL),o=(0,Qo.Z)({},t,{disableGutters:a.disableGutters}),s=function(e){var n=e.disableGutters,t=e.classes,i={root:["root",n&&"disableGutters"]};return(0,vu.Z)(i,EI,t)}(o);return(0,oa.jsx)(CI,(0,Qo.Z)({className:(0,fu.Z)(s.root,i),ownerState:o,ref:n},r))}));SI.muiName="ListItemSecondaryAction";var wI=SI,DI=["className"],AI=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],OI=(0,Hr.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.dense&&n.dense,"flex-start"===t.alignItems&&n.alignItemsFlexStart,t.divider&&n.divider,!t.disableGutters&&n.gutters,!t.disablePadding&&n.padding,t.button&&n.button,t.hasSecondaryAction&&n.secondaryAction]}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!i.disablePadding&&(0,Qo.Z)({paddingTop:8,paddingBottom:8},i.dense&&{paddingTop:4,paddingBottom:4},!i.disableGutters&&{paddingLeft:16,paddingRight:16},!!i.secondaryAction&&{paddingRight:48}),!!i.secondaryAction&&(0,c.Z)({},"& > .".concat(NI.root),{paddingRight:48}),(n={},(0,c.Z)(n,"&.".concat(RI.focusVisible),{backgroundColor:t.palette.action.focus}),(0,c.Z)(n,"&.".concat(RI.selected),(0,c.Z)({backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)},"&.".concat(RI.focusVisible),{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)})),(0,c.Z)(n,"&.".concat(RI.disabled),{opacity:t.palette.action.disabledOpacity}),n),"flex-start"===i.alignItems&&{alignItems:"flex-start"},i.divider&&{borderBottom:"1px solid ".concat(t.palette.divider),backgroundClip:"padding-box"},i.button&&(0,c.Z)({transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(RI.selected,":hover"),{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}}),i.hasSecondaryAction&&{paddingRight:48})})),LI=(0,Hr.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(e,n){return n.container}})({position:"relative"}),II=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiListItem"}),i=t.alignItems,r=void 0===i?"center":i,a=t.autoFocus,o=void 0!==a&&a,s=t.button,u=void 0!==s&&s,c=t.children,d=t.className,p=t.component,m=t.components,y=void 0===m?{}:m,_=t.componentsProps,h=void 0===_?{}:_,g=t.ContainerComponent,v=void 0===g?"li":g,T=t.ContainerProps,b=(T=void 0===T?{}:T).className,k=t.dense,R=void 0!==k&&k,N=t.disabled,E=void 0!==N&&N,x=t.disableGutters,C=void 0!==x&&x,S=t.disablePadding,w=void 0!==S&&S,D=t.divider,A=void 0!==D&&D,O=t.focusVisibleClassName,L=t.secondaryAction,I=t.selected,U=void 0!==I&&I,P=(0,f.Z)(t.ContainerProps,DI),V=(0,f.Z)(t,AI),B=l.useContext(mL),M={dense:R||B.dense||!1,alignItems:r,disableGutters:C},F=l.useRef(null);(0,sO.Z)((function(){o&&F.current&&F.current.focus()}),[o]);var j=l.Children.toArray(c),J=j.length&&(0,bI.Z)(j[j.length-1],["ListItemSecondaryAction"]),Z=(0,Qo.Z)({},t,{alignItems:r,autoFocus:o,button:u,dense:M.dense,disabled:E,disableGutters:C,disablePadding:w,divider:A,hasSecondaryAction:J,selected:U}),z=function(e){var n=e.alignItems,t=e.button,i=e.classes,r=e.dense,l=e.disabled,a={root:["root",r&&"dense",!e.disableGutters&&"gutters",!e.disablePadding&&"padding",e.divider&&"divider",l&&"disabled",t&&"button","flex-start"===n&&"alignItemsFlexStart",e.hasSecondaryAction&&"secondaryAction",e.selected&&"selected"],container:["container"]};return(0,vu.Z)(a,kI,i)}(Z),H=(0,xL.Z)(F,n),q=y.Root||OI,W=h.root||{},G=(0,Qo.Z)({className:(0,fu.Z)(z.root,W.className,d),disabled:E},V),K=p||"li";return u&&(G.component=p||"div",G.focusVisibleClassName=(0,fu.Z)(RI.focusVisible,O),K=mI),J?(K=G.component||p?K:"div","li"===v&&("li"===K?K="div":"li"===G.component&&(G.component="div")),(0,oa.jsx)(mL.Provider,{value:M,children:(0,oa.jsxs)(LI,(0,Qo.Z)({as:v,className:(0,fu.Z)(z.container,b),ref:H,ownerState:Z},P,{children:[(0,oa.jsx)(q,(0,Qo.Z)({},W,!eL(q)&&{as:K,ownerState:(0,Qo.Z)({},Z,W.ownerState)},G,{children:j})),j.pop()]}))})):(0,oa.jsx)(mL.Provider,{value:M,children:(0,oa.jsxs)(q,(0,Qo.Z)({},W,{as:K,ref:H,ownerState:Z},!eL(q)&&{ownerState:(0,Qo.Z)({},Z,W.ownerState)},G,{children:[j,L&&(0,oa.jsx)(wI,{children:L})]}))})})),UI=II;function PI(e){return(0,ku.Z)("MuiListItemIcon",e)}var VI=(0,Ru.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),BI=["className"],MI=(0,Hr.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,"flex-start"===t.alignItems&&n.alignItemsFlexStart]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({minWidth:56,color:n.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})})),FI=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiListItemIcon"}),i=t.className,r=(0,f.Z)(t,BI),a=l.useContext(mL),o=(0,Qo.Z)({},t,{alignItems:a.alignItems}),s=function(e){var n=e.alignItems,t=e.classes,i={root:["root","flex-start"===n&&"alignItemsFlexStart"]};return(0,vu.Z)(i,PI,t)}(o);return(0,oa.jsx)(MI,(0,Qo.Z)({className:(0,fu.Z)(s.root,i),ownerState:o,ref:n},r))})),jI=FI;function JI(e){return(0,ku.Z)("MuiCircularProgress",e)}(0,Ru.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var ZI,zI,HI,qI,WI,GI,KI,$I,YI=["className","color","disableShrink","size","style","thickness","value","variant"],QI=44,XI=ZL(WI||(WI=ZI||(ZI=Oa(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])))),eU=ZL(GI||(GI=zI||(zI=Oa(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"])))),nU=(0,Hr.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant],n["color".concat((0,Vw.Z)(t.color))]]}})((function(e){var n=e.ownerState,t=e.theme;return(0,Qo.Z)({display:"inline-block"},"determinate"===n.variant&&{transition:t.transitions.create("transform")},"inherit"!==n.color&&{color:t.palette[n.color].main})}),(function(e){return"indeterminate"===e.ownerState.variant&&JL(KI||(KI=HI||(HI=Oa(["\n animation: "," 1.4s linear infinite;\n "]))),XI)})),tU=(0,Hr.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(e,n){return n.svg}})({display:"block"}),iU=(0,Hr.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(e,n){var t=e.ownerState;return[n.circle,n["circle".concat((0,Vw.Z)(t.variant))],t.disableShrink&&n.circleDisableShrink]}})((function(e){var n=e.ownerState,t=e.theme;return(0,Qo.Z)({stroke:"currentColor"},"determinate"===n.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===n.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(e){var n=e.ownerState;return"indeterminate"===n.variant&&!n.disableShrink&&JL($I||($I=qI||(qI=Oa(["\n animation: "," 1.4s ease-in-out infinite;\n "]))),eU)})),rU=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiCircularProgress"}),i=t.className,r=t.color,l=void 0===r?"primary":r,a=t.disableShrink,o=void 0!==a&&a,s=t.size,u=void 0===s?40:s,c=t.style,d=t.thickness,p=void 0===d?3.6:d,m=t.value,y=void 0===m?0:m,_=t.variant,h=void 0===_?"indeterminate":_,g=(0,f.Z)(t,YI),v=(0,Qo.Z)({},t,{color:l,disableShrink:o,size:u,thickness:p,value:y,variant:h}),T=function(e){var n=e.classes,t=e.variant,i=e.color,r=e.disableShrink,l={root:["root",t,"color".concat((0,Vw.Z)(i))],svg:["svg"],circle:["circle","circle".concat((0,Vw.Z)(t)),r&&"circleDisableShrink"]};return(0,vu.Z)(l,JI,n)}(v),b={},k={},R={};if("determinate"===h){var N=2*Math.PI*((QI-p)/2);b.strokeDasharray=N.toFixed(3),R["aria-valuenow"]=Math.round(y),b.strokeDashoffset="".concat(((100-y)/100*N).toFixed(3),"px"),k.transform="rotate(-90deg)"}return(0,oa.jsx)(nU,(0,Qo.Z)({className:(0,fu.Z)(T.root,i),style:(0,Qo.Z)({width:u,height:u},k,c),ownerState:v,ref:n,role:"progressbar"},R,g,{children:(0,oa.jsx)(tU,{className:T.svg,ownerState:v,viewBox:"".concat(22," ").concat(22," ").concat(QI," ").concat(QI),children:(0,oa.jsx)(iU,{className:T.circle,style:b,ownerState:v,cx:QI,cy:QI,r:(QI-p)/2,fill:"none",strokeWidth:p})})}))})),lU=rU,aU=t(5735);function oU(e){return(0,ku.Z)("MuiButton",e)}var sU=(0,Ru.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var uU=l.createContext({}),cU=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],dU=function(e){return(0,Qo.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},pU=(0,Hr.ZP)(mI,{shouldForwardProp:function(e){return(0,Hr.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant],n["".concat(t.variant).concat((0,Vw.Z)(t.color))],n["size".concat((0,Vw.Z)(t.size))],n["".concat(t.variant,"Size").concat((0,Vw.Z)(t.size))],"inherit"===t.color&&n.colorInherit,t.disableElevation&&n.disableElevation,t.fullWidth&&n.fullWidth]}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({},t.typography.button,(n={minWidth:64,padding:"6px 16px",borderRadius:t.shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,Qo.Z)({textDecoration:"none",backgroundColor:(0,EL.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:(0,EL.Fq)(t.palette[i.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat(t.palette[i.color].main),backgroundColor:(0,EL.Fq)(t.palette[i.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:t.palette.grey.A100,boxShadow:t.shadows[4],"@media (hover: none)":{boxShadow:t.shadows[2],backgroundColor:t.palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:t.palette[i.color].dark,"@media (hover: none)":{backgroundColor:t.palette[i.color].main}}),"&:active":(0,Qo.Z)({},"contained"===i.variant&&{boxShadow:t.shadows[8]})},(0,c.Z)(n,"&.".concat(sU.focusVisible),(0,Qo.Z)({},"contained"===i.variant&&{boxShadow:t.shadows[6]})),(0,c.Z)(n,"&.".concat(sU.disabled),(0,Qo.Z)({color:t.palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat(t.palette.action.disabledBackground)},"outlined"===i.variant&&"secondary"===i.color&&{border:"1px solid ".concat(t.palette.action.disabled)},"contained"===i.variant&&{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground})),n),"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:t.palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid ".concat("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===i.variant&&"inherit"!==i.color&&{color:t.palette[i.color].main,border:"1px solid ".concat((0,EL.Fq)(t.palette[i.color].main,.5))},"contained"===i.variant&&{color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],boxShadow:t.shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:t.palette[i.color].contrastText,backgroundColor:t.palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})}),(function(e){var n;return e.ownerState.disableElevation&&(n={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,c.Z)(n,"&.".concat(sU.focusVisible),{boxShadow:"none"}),(0,c.Z)(n,"&:active",{boxShadow:"none"}),(0,c.Z)(n,"&.".concat(sU.disabled),{boxShadow:"none"}),n)})),fU=(0,Hr.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,n){var t=e.ownerState;return[n.startIcon,n["iconSize".concat((0,Vw.Z)(t.size))]]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===n.size&&{marginLeft:-2},dU(n))})),mU=(0,Hr.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,n){var t=e.ownerState;return[n.endIcon,n["iconSize".concat((0,Vw.Z)(t.size))]]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===n.size&&{marginRight:-2},dU(n))})),yU=l.forwardRef((function(e,n){var t=l.useContext(uU),i=(0,aU.Z)(t,e),r=(0,Tu.Z)({props:i,name:"MuiButton"}),a=r.children,o=r.color,s=void 0===o?"primary":o,u=r.component,c=void 0===u?"button":u,d=r.className,p=r.disabled,m=void 0!==p&&p,y=r.disableElevation,_=void 0!==y&&y,h=r.disableFocusRipple,g=void 0!==h&&h,v=r.endIcon,T=r.focusVisibleClassName,b=r.fullWidth,k=void 0!==b&&b,R=r.size,N=void 0===R?"medium":R,E=r.startIcon,x=r.type,C=r.variant,S=void 0===C?"text":C,w=(0,f.Z)(r,cU),D=(0,Qo.Z)({},r,{color:s,component:c,disabled:m,disableElevation:_,disableFocusRipple:g,fullWidth:k,size:N,type:x,variant:S}),A=function(e){var n=e.color,t=e.disableElevation,i=e.fullWidth,r=e.size,l=e.variant,a=e.classes,o={root:["root",l,"".concat(l).concat((0,Vw.Z)(n)),"size".concat((0,Vw.Z)(r)),"".concat(l,"Size").concat((0,Vw.Z)(r)),"inherit"===n&&"colorInherit",t&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,Vw.Z)(r))],endIcon:["endIcon","iconSize".concat((0,Vw.Z)(r))]},s=(0,vu.Z)(o,oU,a);return(0,Qo.Z)({},a,s)}(D),O=E&&(0,oa.jsx)(fU,{className:A.startIcon,ownerState:D,children:E}),L=v&&(0,oa.jsx)(mU,{className:A.endIcon,ownerState:D,children:v});return(0,oa.jsxs)(pU,(0,Qo.Z)({ownerState:D,className:(0,fu.Z)(d,t.className),component:c,disabled:m,focusRipple:!g,focusVisibleClassName:(0,fu.Z)(A.focusVisible,T),ref:n,type:x},w,{classes:A,children:[O,a,L]}))})),_U=yU;function hU(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function gU(e){return parseFloat(e)}function vU(e){return(0,ku.Z)("MuiSkeleton",e)}(0,Ru.Z)("MuiSkeleton",["root","text","rectangular","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var TU,bU,kU,RU,NU,EU,xU,CU,SU=["animation","className","component","height","style","variant","width"],wU=ZL(NU||(NU=TU||(TU=Oa(["\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n"])))),DU=ZL(EU||(EU=bU||(bU=Oa(["\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n"])))),AU=(0,Hr.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant],!1!==t.animation&&n[t.animation],t.hasChildren&&n.withChildren,t.hasChildren&&!t.width&&n.fitContent,t.hasChildren&&!t.height&&n.heightAuto]}})((function(e){var n=e.theme,t=e.ownerState,i=hU(n.shape.borderRadius)||"px",r=gU(n.shape.borderRadius);return(0,Qo.Z)({display:"block",backgroundColor:(0,EL.Fq)(n.palette.text.primary,"light"===n.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(r).concat(i,"/").concat(Math.round(r/.6*10)/10).concat(i),"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(function(e){return"pulse"===e.ownerState.animation&&JL(xU||(xU=kU||(kU=Oa(["\n animation: "," 1.5s ease-in-out 0.5s infinite;\n "]))),wU)}),(function(e){var n=e.ownerState,t=e.theme;return"wave"===n.animation&&JL(CU||(CU=RU||(RU=Oa(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: "," 1.6s linear 0.5s infinite;\n background: linear-gradient(90deg, transparent, ",", transparent);\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "]))),DU,t.palette.action.hover)})),OU=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiSkeleton"}),i=t.animation,r=void 0===i?"pulse":i,l=t.className,a=t.component,o=void 0===a?"span":a,s=t.height,u=t.style,c=t.variant,d=void 0===c?"text":c,p=t.width,m=(0,f.Z)(t,SU),y=(0,Qo.Z)({},t,{animation:r,component:o,variant:d,hasChildren:Boolean(m.children)}),_=function(e){var n=e.classes,t=e.variant,i=e.animation,r=e.hasChildren,l=e.width,a=e.height,o={root:["root",t,i,r&&"withChildren",r&&!l&&"fitContent",r&&!a&&"heightAuto"]};return(0,vu.Z)(o,vU,n)}(y);return(0,oa.jsx)(AU,(0,Qo.Z)({as:o,ref:n,className:(0,fu.Z)(_.root,l),ownerState:y},m,{style:(0,Qo.Z)({width:p,height:s},u)}))})),LU=OU;function IU(e){return(0,ku.Z)("MuiPagination",e)}(0,Ru.Z)("MuiPagination",["root","ul","outlined","text"]);var UU=t(8959),PU=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function VU(e){return(0,ku.Z)("MuiPaginationItem",e)}var BU=(0,Ru.Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),MU=t(418),FU=t(6482);function jU(){return(0,MU.Z)(FU.Z)}var JU=t(9201),ZU=(0,JU.Z)((0,oa.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),zU=(0,JU.Z)((0,oa.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),HU=(0,JU.Z)((0,oa.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),qU=(0,JU.Z)((0,oa.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),WU=["className","color","component","components","disabled","page","selected","shape","size","type","variant"],GU=function(e,n){var t=e.ownerState;return[n.root,n[t.variant],n["size".concat((0,Vw.Z)(t.size))],"text"===t.variant&&n["text".concat((0,Vw.Z)(t.color))],"outlined"===t.variant&&n["outlined".concat((0,Vw.Z)(t.color))],"rounded"===t.shape&&n.rounded,"page"===t.type&&n.page,("start-ellipsis"===t.type||"end-ellipsis"===t.type)&&n.ellipsis,("previous"===t.type||"next"===t.type)&&n.previousNext,("first"===t.type||"last"===t.type)&&n.firstLast]},KU=(0,Hr.ZP)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:GU})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({},n.typography.body2,(0,c.Z)({borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:n.palette.text.primary,height:"auto"},"&.".concat(BU.disabled),{opacity:n.palette.action.disabledOpacity}),"small"===t.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:n.typography.pxToRem(15)})})),$U=(0,Hr.ZP)(mI,{name:"MuiPaginationItem",slot:"Root",overridesResolver:GU})((function(e){var n,t,i=e.theme,r=e.ownerState;return(0,Qo.Z)({},i.typography.body2,(t={borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:i.palette.text.primary},(0,c.Z)(t,"&.".concat(BU.focusVisible),{backgroundColor:i.palette.action.focus}),(0,c.Z)(t,"&.".concat(BU.disabled),{opacity:i.palette.action.disabledOpacity}),(0,c.Z)(t,"transition",i.transitions.create(["color","background-color"],{duration:i.transitions.duration.short})),(0,c.Z)(t,"&:hover",{backgroundColor:i.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,c.Z)(t,"&.".concat(BU.selected),(n={backgroundColor:i.palette.action.selected,"&:hover":{backgroundColor:(0,EL.Fq)(i.palette.action.selected,i.palette.action.selectedOpacity+i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:i.palette.action.selected}}},(0,c.Z)(n,"&.".concat(BU.focusVisible),{backgroundColor:(0,EL.Fq)(i.palette.action.selected,i.palette.action.selectedOpacity+i.palette.action.focusOpacity)}),(0,c.Z)(n,"&.".concat(BU.disabled),{opacity:1,color:i.palette.action.disabled,backgroundColor:i.palette.action.selected}),n)),t),"small"===r.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===r.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:i.typography.pxToRem(15)},"rounded"===r.shape&&{borderRadius:i.shape.borderRadius})}),(function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({},"text"===t.variant&&(0,c.Z)({},"&.".concat(BU.selected),(0,Qo.Z)({},"standard"!==t.color&&(0,c.Z)({color:n.palette[t.color].contrastText,backgroundColor:n.palette[t.color].main,"&:hover":{backgroundColor:n.palette[t.color].dark,"@media (hover: none)":{backgroundColor:n.palette[t.color].main}}},"&.".concat(BU.focusVisible),{backgroundColor:n.palette[t.color].dark}),(0,c.Z)({},"&.".concat(BU.disabled),{color:n.palette.action.disabled}))),"outlined"===t.variant&&(0,c.Z)({border:"1px solid ".concat("light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"&.".concat(BU.selected),(0,Qo.Z)({},"standard"!==t.color&&(0,c.Z)({color:n.palette[t.color].main,border:"1px solid ".concat((0,EL.Fq)(n.palette[t.color].main,.5)),backgroundColor:(0,EL.Fq)(n.palette[t.color].main,n.palette.action.activatedOpacity),"&:hover":{backgroundColor:(0,EL.Fq)(n.palette[t.color].main,n.palette.action.activatedOpacity+n.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(BU.focusVisible),{backgroundColor:(0,EL.Fq)(n.palette[t.color].main,n.palette.action.activatedOpacity+n.palette.action.focusOpacity)}),(0,c.Z)({},"&.".concat(BU.disabled),{borderColor:n.palette.action.disabledBackground,color:n.palette.action.disabled}))))})),YU=(0,Hr.ZP)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:function(e,n){return n.icon}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({fontSize:n.typography.pxToRem(20),margin:"0 -8px"},"small"===t.size&&{fontSize:n.typography.pxToRem(18)},"large"===t.size&&{fontSize:n.typography.pxToRem(22)})})),QU=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiPaginationItem"}),i=t.className,r=t.color,l=void 0===r?"standard":r,a=t.component,o=t.components,s=void 0===o?{first:ZU,last:zU,next:qU,previous:HU}:o,u=t.disabled,c=void 0!==u&&u,d=t.page,p=t.selected,m=void 0!==p&&p,y=t.shape,_=void 0===y?"circular":y,h=t.size,g=void 0===h?"medium":h,v=t.type,T=void 0===v?"page":v,b=t.variant,k=void 0===b?"text":b,R=(0,f.Z)(t,WU),N=(0,Qo.Z)({},t,{color:l,disabled:c,selected:m,shape:_,size:g,type:T,variant:k}),E=jU(),x=function(e){var n=e.classes,t=e.color,i=e.disabled,r=e.selected,l=e.size,a=e.shape,o=e.type,s=e.variant,u={root:["root","size".concat((0,Vw.Z)(l)),s,a,"standard"!==t&&"".concat(s).concat((0,Vw.Z)(t)),i&&"disabled",r&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[o]],icon:["icon"]};return(0,vu.Z)(u,VU,n)}(N),C=("rtl"===E.direction?{previous:s.next||qU,next:s.previous||HU,last:s.first||ZU,first:s.last||zU}:{previous:s.previous||HU,next:s.next||qU,first:s.first||ZU,last:s.last||zU})[T];return"start-ellipsis"===T||"end-ellipsis"===T?(0,oa.jsx)(KU,{ref:n,ownerState:N,className:(0,fu.Z)(x.root,i),children:"\u2026"}):(0,oa.jsxs)($U,(0,Qo.Z)({ref:n,ownerState:N,component:a,disabled:c,className:(0,fu.Z)(x.root,i)},R,{children:["page"===T&&d,C?(0,oa.jsx)(YU,{as:C,ownerState:N,className:x.icon}):null]}))})),XU=QU,eP=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],nP=(0,Hr.ZP)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant]]}})({}),tP=(0,Hr.ZP)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:function(e,n){return n.ul}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function iP(e,n,t){return"page"===e?"".concat(t?"":"Go to ","page ").concat(n):"Go to ".concat(e," page")}var rP=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiPagination"}),i=t.boundaryCount,r=void 0===i?1:i,l=t.className,a=t.color,s=void 0===a?"standard":a,u=t.count,c=void 0===u?1:u,d=t.defaultPage,p=void 0===d?1:d,m=t.disabled,y=void 0!==m&&m,_=t.getItemAriaLabel,h=void 0===_?iP:_,g=t.hideNextButton,v=void 0!==g&&g,T=t.hidePrevButton,b=void 0!==T&&T,k=t.renderItem,R=void 0===k?function(e){return(0,oa.jsx)(XU,(0,Qo.Z)({},e))}:k,N=t.shape,E=void 0===N?"circular":N,x=t.showFirstButton,C=void 0!==x&&x,S=t.showLastButton,w=void 0!==S&&S,D=t.siblingCount,A=void 0===D?1:D,O=t.size,L=void 0===O?"medium":O,I=t.variant,U=void 0===I?"text":I,P=(0,f.Z)(t,eP),V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.boundaryCount,t=void 0===n?1:n,i=e.componentName,r=void 0===i?"usePagination":i,l=e.count,a=void 0===l?1:l,s=e.defaultPage,u=void 0===s?1:s,c=e.disabled,d=void 0!==c&&c,p=e.hideNextButton,m=void 0!==p&&p,y=e.hidePrevButton,_=void 0!==y&&y,h=e.onChange,g=e.page,v=e.showFirstButton,T=void 0!==v&&v,b=e.showLastButton,k=void 0!==b&&b,R=e.siblingCount,N=void 0===R?1:R,E=(0,f.Z)(e,PU),x=(0,UU.Z)({controlled:g,default:u,name:r,state:"page"}),C=(0,o.Z)(x,2),S=C[0],w=C[1],D=function(e,n){g||w(n),h&&h(e,n)},A=function(e,n){var t=n-e+1;return Array.from({length:t},(function(n,t){return e+t}))},O=A(1,Math.min(t,a)),L=A(Math.max(a-t+1,t+1),a),I=Math.max(Math.min(S-N,a-t-2*N-1),t+2),U=Math.min(Math.max(S+N,t+2*N+2),L.length>0?L[0]-2:a-1),P=[].concat((0,z.Z)(T?["first"]:[]),(0,z.Z)(_?[]:["previous"]),(0,z.Z)(O),(0,z.Z)(I>t+2?["start-ellipsis"]:t+1t?[a-t]:[]),(0,z.Z)(L),(0,z.Z)(m?[]:["next"]),(0,z.Z)(k?["last"]:[])),V=function(e){switch(e){case"first":return 1;case"previous":return S-1;case"next":return S+1;case"last":return a;default:return null}},B=P.map((function(e){return"number"===typeof e?{onClick:function(n){D(n,e)},type:"page",page:e,selected:e===S,disabled:d,"aria-current":e===S?"true":void 0}:{onClick:function(n){D(n,V(e))},type:e,page:V(e),selected:!1,disabled:d||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?S>=a:S<=1)}}));return(0,Qo.Z)({items:B},E)}((0,Qo.Z)({},t,{componentName:"Pagination"})),B=V.items,M=(0,Qo.Z)({},t,{boundaryCount:r,color:s,count:c,defaultPage:p,disabled:y,getItemAriaLabel:h,hideNextButton:v,hidePrevButton:b,renderItem:R,shape:E,showFirstButton:C,showLastButton:w,siblingCount:A,size:L,variant:U}),F=function(e){var n=e.classes,t={root:["root",e.variant],ul:["ul"]};return(0,vu.Z)(t,IU,n)}(M);return(0,oa.jsx)(nP,(0,Qo.Z)({"aria-label":"pagination navigation",className:(0,fu.Z)(F.root,l),ownerState:M,ref:n},P,{children:(0,oa.jsx)(tP,{className:F.ul,ownerState:M,children:B.map((function(e,n){return(0,oa.jsx)("li",{children:R((0,Qo.Z)({},e,{color:s,"aria-label":h(e.type,e.page,e.selected),shape:E,size:L,variant:U}))},n)}))})}))})),lP=rP,aP=t(5456),oP=t(3950),sP=["productType","lane","errors","onClick","isSelected","loadingImage"],uP=zp((function(e){return{root:{width:"100%",backgroundColor:e.palette.background.paper},loadingImageIcon:{marginLeft:"1em",minWidth:"1em"}}}));function cP(e){var n=e.loading,t=e.available;return(0,oa.jsx)(fL,{color:n?"default":t?"primary":"error",variant:"dot",children:(0,oa.jsx)(aP.Z,{fontSize:"small"})})}function dP(e){var n=e.time,t=e.imageInfo,i=e.loadingImageList;return(0,oa.jsxs)(oa.Fragment,{children:[function(e){return ea(new Date(e),"dd/MM-yy HH:mm:ss")}(n),(0,oa.jsx)(cP,{loading:i,available:!!t})]})}function pP(e){e.productType;var n=e.lane,t=(e.errors,e.onClick),i=(e.isSelected,e.loadingImage,m(e,sP)),r="Lane ".concat(n);return(0,oa.jsx)(vL,{onClick:t,primary:r,secondary:(0,oa.jsx)(dP,p({},i))})}var fP=function(e){var n=e.products,t=e.selectedProduct,i=e.productCount,r=e.pageSize,a=e.currentPage,o=e.setPage,s=e.loadingProducts,u=e.loadingImageList,c=e.loadingImage,d=e.onClick,p=e.Header,f=e.onRefresh,m=e.loadMoreProducts,y=e.canLoadMoreProducts,_=uP(),h=Math.ceil(i/r),g=a===h;return(0,l.useEffect)((function(){a>h&&o(Math.max(1,h))}),[a,h,o]),(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsxs)(NL,{className:_.root,subheader:(0,oa.jsxs)(p,{children:["Products",f&&(0,oa.jsx)(TI,{onClick:f,color:"primary","aria-label":"Refresh",size:"large",children:(0,oa.jsx)(oP.Z,{})})]}),children:[s&&Array(r).fill().map((function(e,n){return(0,oa.jsx)(UI,{button:!0,children:(0,oa.jsx)(vL,{primary:(0,oa.jsx)(LU,{}),secondary:(0,oa.jsx)(LU,{})})},n)})),!s&&n.map((function(e,n){var i,r,l=function(e,n){var t,i;return(null===e||void 0===e||null===(t=e.imageInfo)||void 0===t?void 0:t.imagePath)===(null===n||void 0===n||null===(i=n.imageInfo)||void 0===i?void 0:i.imagePath)}(e,t);return(0,oa.jsxs)(UI,{selected:l,button:!0,children:[(0,oa.jsx)(pP,{onClick:function(){return d(e)},lane:null===e||void 0===e?void 0:e.lane,productType:null===e||void 0===e||null===(i=e.product)||void 0===i?void 0:i.type,errors:null===e||void 0===e||null===(r=e.product)||void 0===r?void 0:r.errors,time:e.time,imageInfo:e.imageInfo,loadingImageList:u,loadingImage:c,isSelected:l}),l&&c&&(0,oa.jsx)(jI,{classes:{root:_.loadingImageIcon},children:(0,oa.jsx)(lU,{size:15})})]},n)}))]}),g&&y&&m&&(0,oa.jsx)("div",{children:(0,oa.jsx)(_U,{onClick:m,children:"Load more..."})}),(0,oa.jsx)(lP,{count:h,page:a,onChange:function(e,n){return o(n)}})]})};function mP(e){var n=e.name,t=(e.precision,e.unit,e.value);return(0,oa.jsx)(UI,{children:(0,oa.jsx)(vL,{primary:"classification"===n?t>2?"Critical":t>1?"Warning":t>0?"Heads up":"OK":t,secondary:n})})}var yP=function(e){var n=e.measurements,t=e.className,i=e.Header,r=["ImageWidth","ImageHeight"],l=["dist_"],a=Object.entries(n||{}).filter((function(e){var n=(0,o.Z)(e,2),t=(n[0],n[1]);return!r.includes(t.Name)})).filter((function(e){var n=(0,o.Z)(e,2),t=(n[0],n[1]);return!l.some((function(e){return t.Name.startsWith(e)}))}));return(0,oa.jsx)(NL,{className:t,subheader:(0,oa.jsx)(i,{children:"Measurements"}),children:a.map((function(e){var n=(0,o.Z)(e,2),t=n[0],i=n[1];return(0,oa.jsx)(mP,{name:i.Name,precision:i.Precision,unit:i.Unit,value:i.Value},t)}))})};function _P(e){var n=e.tag,t=(e.type,e.value);return(0,oa.jsx)(UI,{children:(0,oa.jsx)(vL,{primary:"Lane id"===n?parseInt(t)+1:"Time of acquisition"===n?ea(new Date(t),"HH:mm:ss, d. MMMM yyyy"):t,secondary:"Lane id"===n?"Lane":n})})}var hP=function(e){var n=e.productInfo,t=e.className,i=e.Header,r=["Sequence number","Teach time"],l=Object.entries(n||{}).filter((function(e){var n=(0,o.Z)(e,2),t=(n[0],n[1]);return!r.includes(t.Tag)}));return(0,oa.jsx)(NL,{className:t,subheader:(0,oa.jsx)(i,{children:"Product info"}),children:l.map((function(e){var n=(0,o.Z)(e,2),t=n[0],i=n[1];return(0,oa.jsx)(_P,{tag:i.Tag,type:i.Type,value:i.Value},t)}))})},gP=t(8483),vP=t(872),TP=zp((function(e){return{fail:{backgroundColor:e.results.fail},ok:{backgroundColor:e.results.ok}}}));function bP(e){var n=e.name,t="OK"===n,i=TP(),r=t?i.ok:i.fail;return(0,oa.jsxs)(UI,{classes:{root:r},children:[(0,oa.jsx)(jI,{children:t?(0,oa.jsx)(vP.Z,{}):(0,oa.jsx)(gP.Z,{})}),(0,oa.jsx)(vL,{primary:n})]})}var kP=function(e){var n=e.results,t=e.className,i=e.Header,r=Object.values(n||{}).map((function(e){return e.Name})).filter((function(e,n,t){return t.indexOf(e)===n}));return(0,oa.jsx)(NL,{className:t,subheader:(0,oa.jsx)(i,{children:"Results"}),children:r.map((function(e){return(0,oa.jsx)(bP,{name:e},e)}))})},RP=t(8278);var NP=l.createContext();function EP(){return l.useContext(NP)}function xP(e){return(0,ku.Z)("PrivateSwitchBase",e)}(0,Ru.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var CP=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],SP=(0,Hr.ZP)(mI,{skipSx:!0})((function(e){var n=e.ownerState;return(0,Qo.Z)({padding:9,borderRadius:"50%"},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})})),wP=(0,Hr.ZP)("input",{skipSx:!0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),DP=l.forwardRef((function(e,n){var t=e.autoFocus,i=e.checked,r=e.checkedIcon,l=e.className,a=e.defaultChecked,s=e.disabled,u=e.disableFocusRipple,c=void 0!==u&&u,d=e.edge,p=void 0!==d&&d,m=e.icon,y=e.id,_=e.inputProps,h=e.inputRef,g=e.name,v=e.onBlur,T=e.onChange,b=e.onFocus,k=e.readOnly,R=e.required,N=e.tabIndex,E=e.type,x=e.value,C=(0,f.Z)(e,CP),S=(0,RP.Z)({controlled:i,default:Boolean(a),name:"SwitchBase",state:"checked"}),w=(0,o.Z)(S,2),D=w[0],A=w[1],O=EP(),L=s;O&&"undefined"===typeof L&&(L=O.disabled);var I="checkbox"===E||"radio"===E,U=(0,Qo.Z)({},e,{checked:D,disabled:L,disableFocusRipple:c,edge:p}),P=function(e){var n=e.classes,t=e.checked,i=e.disabled,r=e.edge,l={root:["root",t&&"checked",i&&"disabled",r&&"edge".concat((0,Vw.Z)(r))],input:["input"]};return(0,vu.Z)(l,xP,n)}(U);return(0,oa.jsxs)(SP,(0,Qo.Z)({component:"span",className:(0,fu.Z)(P.root,l),centerRipple:!0,focusRipple:!c,disabled:L,tabIndex:null,role:void 0,onFocus:function(e){b&&b(e),O&&O.onFocus&&O.onFocus(e)},onBlur:function(e){v&&v(e),O&&O.onBlur&&O.onBlur(e)},ownerState:U,ref:n},C,{children:[(0,oa.jsx)(wP,(0,Qo.Z)({autoFocus:t,checked:i,defaultChecked:a,className:P.input,disabled:L,id:I&&y,name:g,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var n=e.target.checked;A(n),T&&T(e,n)}},readOnly:k,ref:h,required:R,ownerState:U,tabIndex:N,type:E},"checkbox"===E&&void 0===x?{}:{value:x},_)),D?r:m]}))})),AP=DP,OP=(0,JU.Z)((0,oa.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),LP=(0,JU.Z)((0,oa.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),IP=(0,JU.Z)((0,oa.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function UP(e){return(0,ku.Z)("MuiCheckbox",e)}var PP=(0,Ru.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),VP=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],BP=(0,Hr.ZP)(AP,{shouldForwardProp:function(e){return(0,Hr.FO)(e)||"classes"===e},name:"MuiCheckbox",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.indeterminate&&n.indeterminate,"default"!==t.color&&n["color".concat((0,Vw.Z)(t.color))]]}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({color:t.palette.text.secondary},!i.disableRipple&&{"&:hover":{backgroundColor:(0,EL.Fq)("default"===i.color?t.palette.action.active:t.palette[i.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==i.color&&(n={},(0,c.Z)(n,"&.".concat(PP.checked,", &.").concat(PP.indeterminate),{color:t.palette[i.color].main}),(0,c.Z)(n,"&.".concat(PP.disabled),{color:t.palette.action.disabled}),n))})),MP=(0,oa.jsx)(LP,{}),FP=(0,oa.jsx)(OP,{}),jP=(0,oa.jsx)(IP,{}),JP=l.forwardRef((function(e,n){var t,i,r=(0,Tu.Z)({props:e,name:"MuiCheckbox"}),a=r.checkedIcon,o=void 0===a?MP:a,s=r.color,u=void 0===s?"primary":s,c=r.icon,d=void 0===c?FP:c,p=r.indeterminate,m=void 0!==p&&p,y=r.indeterminateIcon,_=void 0===y?jP:y,h=r.inputProps,g=r.size,v=void 0===g?"medium":g,T=(0,f.Z)(r,VP),b=m?_:d,k=m?_:o,R=(0,Qo.Z)({},r,{color:u,indeterminate:m,size:v}),N=function(e){var n=e.classes,t=e.indeterminate,i=e.color,r={root:["root",t&&"indeterminate","color".concat((0,Vw.Z)(i))]},l=(0,vu.Z)(r,UP,n);return(0,Qo.Z)({},n,l)}(R);return(0,oa.jsx)(BP,(0,Qo.Z)({type:"checkbox",inputProps:(0,Qo.Z)({"data-indeterminate":m},h),icon:l.cloneElement(b,{fontSize:null!=(t=b.props.fontSize)?t:v}),checkedIcon:l.cloneElement(k,{fontSize:null!=(i=k.props.fontSize)?i:v}),ownerState:R,ref:n},T,{classes:N}))})),ZP=JP;function zP(e){return(0,ku.Z)("MuiSlider",e)}var HP=(0,Ru.Z)("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);var qP=function(e){var n=e.children,t=e.className,i=e.value,r=e.theme,a=function(e){var n=e.open;return{offset:(0,fu.Z)(n&&HP.valueLabelOpen),circle:HP.valueLabelCircle,label:HP.valueLabelLabel}}(e);return l.cloneElement(n,{className:(0,fu.Z)(n.props.className)},(0,oa.jsxs)(l.Fragment,{children:[n.props.children,(0,oa.jsx)("span",{className:(0,fu.Z)(a.offset,t),theme:r,"aria-hidden":!0,children:(0,oa.jsx)("span",{className:a.circle,children:(0,oa.jsx)("span",{className:a.label,children:i})})})]}))},WP=t(9723),GP=t(5372),KP=t(7563),$P=t(8956),YP=t(5721),QP={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},XP=["aria-label","aria-labelledby","aria-valuetext","className","component","classes","defaultValue","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"];function eV(e,n){return e-n}function nV(e,n,t){return null==e?n:Math.min(Math.max(n,e),t)}function tV(e,n){var t=e.reduce((function(e,t,i){var r=Math.abs(n-t);return null===e||r2&&ue(!0),ye&&ye(e,i,r)}else Fe(e)})),Fe=(0,$P.Z)((function(e){var n=iV(e,Y);if(ue(!1),n){var t=Be({finger:n,values:he}).newValue;ne(-1),"touchend"===e.type&&le(-1),C&&C(e,t),Y.current=void 0,Je()}})),je=(0,$P.Z)((function(e){dV()||e.preventDefault();var n=e.changedTouches[0];null!=n&&(Y.current=n.identifier);var t=iV(e,Y),i=Be({finger:t,values:he}),r=i.newValue,l=i.activeIndex;oV({sliderRef:Se,activeIndex:l,setActive:ne}),me(r),ye&&ye(e,r,l),ce.current=0;var a=(0,WP.Z)(Se.current);a.addEventListener("touchmove",Me),a.addEventListener("touchend",Fe)})),Je=l.useCallback((function(){var e=(0,WP.Z)(Se.current);e.removeEventListener("mousemove",Me),e.removeEventListener("mouseup",Fe),e.removeEventListener("touchmove",Me),e.removeEventListener("touchend",Fe)}),[Fe,Me]);l.useEffect((function(){var e=Se.current;return e.addEventListener("touchstart",je,{passive:dV()}),function(){e.removeEventListener("touchstart",je,{passive:dV()}),Je()}}),[Je,je]),l.useEffect((function(){_&&Je()}),[_,Je]);var Ze=(0,$P.Z)((function(e){if(S&&S(e),0===e.button){e.preventDefault();var n=iV(e,Y),t=Be({finger:n,values:he}),i=t.newValue,r=t.activeIndex;oV({sliderRef:Se,activeIndex:r,setActive:ne}),me(i),ye&&ye(e,i,r),ce.current=0;var l=(0,WP.Z)(Se.current);l.addEventListener("mousemove",Me),l.addEventListener("mouseup",Fe)}})),ze=rV(_e?he[0]:N,N,k),He=rV(he[he.length-1],N,k)-ze,qe=(0,Qo.Z)({},uV[Ve].offset(ze),uV[Ve].leap(He)),We=W.Root||u,Ge=K.root||{},Ke=W.Rail||"span",$e=K.rail||{},Ye=W.Track||"span",Qe=K.track||{},Xe=W.Thumb||"span",en=K.thumb||{},nn=W.ValueLabel||qP,tn=K.valueLabel||{},rn=W.Mark||"span",ln=K.mark||{},an=W.MarkLabel||"span",on=K.markLabel||{},sn=W.Input||"input",un=K.input||{},cn=(0,Qo.Z)({},e,{classes:c,disabled:_,dragging:se,isRtl:H,marked:ge.length>0&&ge.some((function(e){return e.label})),max:k,min:N,orientation:D,scale:O,step:I,track:V,valueLabelDisplay:F,valueLabelFormat:J}),dn=function(e){var n=e.disabled,t=e.dragging,i=e.marked,r=e.orientation,l=e.track,a=e.classes,o={root:["root",n&&"disabled",t&&"dragging",i&&"marked","vertical"===r&&"vertical","inverted"===l&&"trackInverted",!1===l&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",n&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,vu.Z)(o,zP,a)}(cn);return(0,oa.jsxs)(We,(0,Qo.Z)({ref:De,onMouseDown:Ze},Ge,!eL(We)&&{as:u,ownerState:(0,Qo.Z)({},cn,Ge.ownerState)},$,{className:(0,fu.Z)(dn.root,Ge.className,a),children:[(0,oa.jsx)(Ke,(0,Qo.Z)({},$e,!eL(Ke)&&{ownerState:(0,Qo.Z)({},cn,$e.ownerState)},{className:(0,fu.Z)(dn.rail,$e.className)})),(0,oa.jsx)(Ye,(0,Qo.Z)({},Qe,!eL(Ye)&&{ownerState:(0,Qo.Z)({},cn,Qe.ownerState)},{className:(0,fu.Z)(dn.track,Qe.className),style:(0,Qo.Z)({},qe,Qe.style)})),ge.map((function(e,n){var t,i=rV(e.value,N,k),r=uV[Ve].offset(i);return t=!1===V?-1!==he.indexOf(e.value):"normal"===V&&(_e?e.value>=he[0]&&e.value<=he[he.length-1]:e.value<=he[0])||"inverted"===V&&(_e?e.value<=he[0]||e.value>=he[he.length-1]:e.value>=he[0]),(0,oa.jsxs)(l.Fragment,{children:[(0,oa.jsx)(rn,(0,Qo.Z)({"data-index":n},ln,!eL(rn)&&{ownerState:(0,Qo.Z)({},cn,ln.ownerState),markActive:t},{style:(0,Qo.Z)({},r,ln.style),className:(0,fu.Z)(dn.mark,ln.className,t&&dn.markActive)})),null!=e.label?(0,oa.jsx)(an,(0,Qo.Z)({"aria-hidden":!0,"data-index":n},on,!eL(an)&&{ownerState:(0,Qo.Z)({},cn,on.ownerState)},{markLabelActive:t,style:(0,Qo.Z)({},r,on.style),className:(0,fu.Z)(dn.markLabel,on.className,t&&dn.markLabelActive),children:e.label})):null]},e.value)})),he.map((function(n,a){var o=rV(n,N,k),s=uV[Ve].offset(o),u="off"===F?pV:nn;return(0,oa.jsx)(l.Fragment,{children:(0,oa.jsx)(u,(0,Qo.Z)({valueLabelFormat:J,valueLabelDisplay:F,value:"function"===typeof J?J(O(n),a):J,index:a,open:re===a||ee===a||"on"===F,disabled:_},tn,{className:(0,fu.Z)(dn.valueLabel,tn.className)},!eL(nn)&&{ownerState:(0,Qo.Z)({},cn,tn.ownerState)},{children:(0,oa.jsx)(Xe,(0,Qo.Z)({"data-index":a,onMouseOver:Le,onMouseLeave:Ie},en,{className:(0,fu.Z)(dn.thumb,en.className,ee===a&&dn.active,xe===a&&dn.focusVisible)},!eL(Xe)&&{ownerState:(0,Qo.Z)({},cn,en.ownerState)},{style:(0,Qo.Z)({},s,{pointerEvents:m&&ee!==a?"none":void 0},en.style),children:(0,oa.jsx)(sn,(0,Qo.Z)({tabIndex:U,"data-index":a,"aria-label":h?h(a):t,"aria-labelledby":i,"aria-orientation":D,"aria-valuemax":O(k),"aria-valuemin":O(N),"aria-valuenow":O(n),"aria-valuetext":g?g(O(n),a):r,onFocus:Ae,onBlur:Oe,name:E,type:"range",min:e.min,max:e.max,step:e.step,disabled:_,value:he[a],onChange:Ue,style:(0,Qo.Z)({},QP,{direction:H?"rtl":"ltr",width:"100%",height:"100%"},un.style)},!eL(sn)&&{ownerState:(0,Qo.Z)({},cn,un.ownerState)},un))}))}))},a)}))]}))})),mV=fV,yV=["components","componentsProps","color","size"],_V=(0,Qo.Z)({},HP,(0,Ru.Z)("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),hV=(0,Hr.ZP)("span",{name:"MuiSlider",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState,i=!0===t.marksProp&&null!==t.step?(0,z.Z)(Array(Math.floor((t.max-t.min)/t.step)+1)).map((function(e,n){return{value:t.min+t.step*n}})):t.marksProp||[],r=i.length>0&&i.some((function(e){return e.label}));return[n.root,n["color".concat((0,Vw.Z)(t.color))],"medium"!==t.size&&n["size".concat((0,Vw.Z)(t.size))],r&&n.marked,"vertical"===t.orientation&&n.vertical,"inverted"===t.track&&n.trackInverted,!1===t.track&&n.trackFalse]}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:t.palette[i.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===i.orientation&&(0,Qo.Z)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===i.size&&{height:2},i.marked&&{marginBottom:20}),"vertical"===i.orientation&&(0,Qo.Z)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===i.size&&{width:2},i.marked&&{marginRight:44}),(n={"@media print":{colorAdjust:"exact"}},(0,c.Z)(n,"&.".concat(_V.disabled),{pointerEvents:"none",cursor:"default",color:t.palette.grey[400]}),(0,c.Z)(n,"&.".concat(_V.dragging),(0,c.Z)({},"& .".concat(_V.thumb,", & .").concat(_V.track),{transition:"none"})),n))})),gV=(0,Hr.ZP)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:function(e,n){return n.rail}})((function(e){var n=e.ownerState;return(0,Qo.Z)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===n.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===n.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===n.track&&{opacity:1})})),vV=(0,Hr.ZP)("span",{name:"MuiSlider",slot:"Track",overridesResolver:function(e,n){return n.track}})((function(e){var n=e.theme,t=e.ownerState,i="light"===n.palette.mode?(0,EL.$n)(n.palette[t.color].main,.62):(0,EL._j)(n.palette[t.color].main,.5);return(0,Qo.Z)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:n.transitions.create(["left","width","bottom","height"],{duration:n.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:i,borderColor:i})})),TV=(0,Hr.ZP)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:function(e,n){var t=e.ownerState;return[n.thumb,n["thumbColor".concat((0,Vw.Z)(t.color))],"medium"!==t.size&&n["thumbSize".concat((0,Vw.Z)(t.size))]]}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow","left","bottom"],{duration:t.transitions.duration.shortest})},"small"===i.size&&{width:12,height:12},"horizontal"===i.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===i.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},(n={"&:before":(0,Qo.Z)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:t.shadows[2]},"small"===i.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},(0,c.Z)(n,"&:hover, &.".concat(_V.focusVisible),{boxShadow:"0px 0px 0px 8px ".concat((0,EL.Fq)(t.palette[i.color].main,.16)),"@media (hover: none)":{boxShadow:"none"}}),(0,c.Z)(n,"&.".concat(_V.active),{boxShadow:"0px 0px 0px 14px ".concat((0,EL.Fq)(t.palette[i.color].main,.16))}),(0,c.Z)(n,"&.".concat(_V.disabled),{"&:hover":{boxShadow:"none"}}),n))})),bV=(0,Hr.ZP)(qP,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:function(e,n){return n.valueLabel}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)((n={},(0,c.Z)(n,"&.".concat(_V.valueLabelOpen),{transform:"translateY(-100%) scale(1)"}),(0,c.Z)(n,"zIndex",1),(0,c.Z)(n,"whiteSpace","nowrap"),n),t.typography.body2,{fontWeight:500,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),top:-10,transformOrigin:"bottom center",transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:t.palette.grey[600],borderRadius:2,color:t.palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"small"===i.size&&{fontSize:t.typography.pxToRem(12),padding:"0.25rem 0.5rem"},{"&:before":{position:"absolute",content:'""',width:8,height:8,bottom:0,left:"50%",transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit"}})})),kV=(0,Hr.ZP)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:function(e){return(0,Hr.Dz)(e)&&"markActive"!==e},overridesResolver:function(e,n){return n.mark}})((function(e){var n=e.theme,t=e.ownerState,i=e.markActive;return(0,Qo.Z)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},i&&{backgroundColor:n.palette.background.paper,opacity:.8})})),RV=(0,Hr.ZP)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:function(e){return(0,Hr.Dz)(e)&&"markLabelActive"!==e},overridesResolver:function(e,n){return n.markLabel}})((function(e){var n=e.theme,t=e.ownerState,i=e.markLabelActive;return(0,Qo.Z)({},n.typography.body2,{color:n.palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},i&&{color:n.palette.text.primary})}));hV.propTypes={children:Ss().node,ownerState:Ss().shape({"aria-label":Ss().string,"aria-labelledby":Ss().string,"aria-valuetext":Ss().string,classes:Ss().object,color:Ss().oneOf(["primary","secondary"]),defaultValue:Ss().oneOfType([Ss().arrayOf(Ss().number),Ss().number]),disabled:Ss().bool,getAriaLabel:Ss().func,getAriaValueText:Ss().func,isRtl:Ss().bool,marks:Ss().oneOfType([Ss().arrayOf(Ss().shape({label:Ss().node,value:Ss().number.isRequired})),Ss().bool]),max:Ss().number,min:Ss().number,name:Ss().string,onChange:Ss().func,onChangeCommitted:Ss().func,orientation:Ss().oneOf(["horizontal","vertical"]),scale:Ss().func,step:Ss().number,track:Ss().oneOf(["inverted","normal",!1]),value:Ss().oneOfType([Ss().arrayOf(Ss().number),Ss().number]),valueLabelDisplay:Ss().oneOf(["auto","off","on"]),valueLabelFormat:Ss().oneOfType([Ss().func,Ss().string])})};var NV=function(e){return!e||!eL(e)},EV=l.forwardRef((function(e,n){var t,i,r,l,a=(0,Tu.Z)({props:e,name:"MuiSlider"}),o="rtl"===jU().direction,s=a.components,u=void 0===s?{}:s,c=a.componentsProps,d=void 0===c?{}:c,p=a.color,m=void 0===p?"primary":p,y=a.size,_=void 0===y?"medium":y,h=(0,f.Z)(a,yV),g=function(e){var n=e.color,t=e.size,i=e.classes,r=void 0===i?{}:i;return(0,Qo.Z)({},r,{root:(0,fu.Z)(r.root,zP("color".concat((0,Vw.Z)(n))),r["color".concat((0,Vw.Z)(n))],t&&[zP("size".concat((0,Vw.Z)(t))),r["size".concat((0,Vw.Z)(t))]]),thumb:(0,fu.Z)(r.thumb,zP("thumbColor".concat((0,Vw.Z)(n))),r["thumbColor".concat((0,Vw.Z)(n))],t&&[zP("thumbSize".concat((0,Vw.Z)(t))),r["thumbSize".concat((0,Vw.Z)(t))]])})}((0,Qo.Z)({},a,{color:m,size:_}));return(0,oa.jsx)(mV,(0,Qo.Z)({},h,{isRtl:o,components:(0,Qo.Z)({Root:hV,Rail:gV,Track:vV,Thumb:TV,ValueLabel:bV,Mark:kV,MarkLabel:RV},u),componentsProps:(0,Qo.Z)({},d,{root:(0,Qo.Z)({},d.root,NV(u.Root)&&{ownerState:(0,Qo.Z)({},null==(t=d.root)?void 0:t.ownerState,{color:m,size:_})}),thumb:(0,Qo.Z)({},d.thumb,NV(u.Thumb)&&{ownerState:(0,Qo.Z)({},null==(i=d.thumb)?void 0:i.ownerState,{color:m,size:_})}),track:(0,Qo.Z)({},d.track,NV(u.Track)&&{ownerState:(0,Qo.Z)({},null==(r=d.track)?void 0:r.ownerState,{color:m,size:_})}),valueLabel:(0,Qo.Z)({},d.valueLabel,NV(u.ValueLabel)&&{ownerState:(0,Qo.Z)({},null==(l=d.valueLabel)?void 0:l.ownerState,{color:m,size:_})})}),classes:g,ref:n}))})),xV=EV;function CV(e){var n=e.name,t=e.toggleOverlay,i=e.isEnabled;return(0,oa.jsxs)(UI,{button:!0,selected:i,onClick:t,children:[(0,oa.jsx)(jI,{children:(0,oa.jsx)(ZP,{edge:"start",checked:i,tabIndex:-1,disableRipple:!0,inputProps:{"aria-labelledby":n}})}),(0,oa.jsx)(vL,{primary:n,id:n})]})}var SV=function(e){var n=e.className,t=e.overlays,i=e.toggleOverlay,r=e.overlaysEnabled,l=e.Header,a=e.overlayOpacity,s=e.setOverlayOpacity,u=Object.values(t).length>1;return(0,oa.jsxs)(NL,{className:n,subheader:(0,oa.jsx)(l,{children:"Overlays"}),children:[u&&Object.entries(t||{}).map((function(e){var n=(0,o.Z)(e,2),t=n[0],l=n[1];return(0,oa.jsx)(CV,{name:l.Name,toggleOverlay:function(){return i(l.Name)},isEnabled:r.includes(l.Name)},t)})),u&&(0,oa.jsx)(UI,{children:(0,oa.jsx)(xV,{value:100*a,onChange:function(e,n){return s(n/100)},"aria-label":"custom thumb label",defaultValue:20,step:5,min:0,max:100})})]})},wV=zp((function(e){return{list:{width:"98%",backgroundColor:e.palette.background.paper}}}));function DV(e){var n=e.data,t=e.listClassName,i=e.Header;return(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(Lu,{item:!0,xs:12,sm:6,md:6,lg:2,xl:2,style:{height:"100%"},children:(0,oa.jsx)(hP,{Header:i,className:t,productInfo:null===n||void 0===n?void 0:n.ProductInfo})}),(0,oa.jsx)(Lu,{item:!0,xs:12,sm:6,md:4,lg:2,xl:2,style:{height:"100%"},children:(0,oa.jsx)(yP,{Header:i,className:t,measurements:null===n||void 0===n?void 0:n.Measurements})}),(0,oa.jsx)(Lu,{item:!0,xs:12,sm:6,md:4,lg:2,xl:2,style:{height:"100%"},children:(0,oa.jsx)(kP,{Header:i,className:t,results:null===n||void 0===n?void 0:n.Results})})]})}var AV=function(e){var n=e.imageData,t=e.toggleOverlay,i=e.overlaysEnabled,r=e.showDebugOverlayTag,l=e.Header,a=e.overlayOpacity,o=e.setOverlayOpacity,s=wV(),u=p(p({},(null===n||void 0===n?void 0:n.Overlays)||{}),{},(0,c.Z)({},r,{Name:r}));return(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(DV,{Header:l,data:null===n||void 0===n?void 0:n.Data,listClassName:s.list}),(0,oa.jsx)(Lu,{item:!0,xs:12,sm:6,md:4,lg:3,xl:2,style:{height:"100%"},children:(0,oa.jsx)(SV,{Header:l,className:s.list,overlays:u,toggleOverlay:t,overlaysEnabled:i,overlayOpacity:a,setOverlayOpacity:o})})]})},OV=t(3878),LV=t(9199),IV=t(5267);function UV(e){return(0,OV.Z)(e)||(0,LV.Z)(e)||(0,$.Z)(e)||(0,IV.Z)()}var PV=Math.PI/180;var VV="undefined"!==typeof global?global:"undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope?self:{},BV={_global:VV,version:"8.3.2",isBrowser:"undefined"!==typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window)),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle:function(e){return BV.angleDeg?e*PV:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:"undefined"!==typeof window&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging:function(){return BV.DD.isDragging},isDragReady:function(){return!!BV.DD.node},document:VV.document,_injectGlobal:function(e){VV.Konva=e}},MV=function(e){BV[e.prototype.getClassName()]=e};BV._injectGlobal(BV);var FV=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[1,0,0,1,0,0];j(this,e),this.dirty=!1,this.m=n&&n.slice()||[1,0,0,1,0,0]}return Z(e,[{key:"reset",value:function(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}},{key:"copy",value:function(){return new e(this.m)}},{key:"copyInto",value:function(e){e.m[0]=this.m[0],e.m[1]=this.m[1],e.m[2]=this.m[2],e.m[3]=this.m[3],e.m[4]=this.m[4],e.m[5]=this.m[5]}},{key:"point",value:function(e){var n=this.m;return{x:n[0]*e.x+n[2]*e.y+n[4],y:n[1]*e.x+n[3]*e.y+n[5]}}},{key:"translate",value:function(e,n){return this.m[4]+=this.m[0]*e+this.m[2]*n,this.m[5]+=this.m[1]*e+this.m[3]*n,this}},{key:"scale",value:function(e,n){return this.m[0]*=e,this.m[1]*=e,this.m[2]*=n,this.m[3]*=n,this}},{key:"rotate",value:function(e){var n=Math.cos(e),t=Math.sin(e),i=this.m[0]*n+this.m[2]*t,r=this.m[1]*n+this.m[3]*t,l=this.m[0]*-t+this.m[2]*n,a=this.m[1]*-t+this.m[3]*n;return this.m[0]=i,this.m[1]=r,this.m[2]=l,this.m[3]=a,this}},{key:"getTranslation",value:function(){return{x:this.m[4],y:this.m[5]}}},{key:"skew",value:function(e,n){var t=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,r=this.m[2]+this.m[0]*e,l=this.m[3]+this.m[1]*e;return this.m[0]=t,this.m[1]=i,this.m[2]=r,this.m[3]=l,this}},{key:"multiply",value:function(e){var n=this.m[0]*e.m[0]+this.m[2]*e.m[1],t=this.m[1]*e.m[0]+this.m[3]*e.m[1],i=this.m[0]*e.m[2]+this.m[2]*e.m[3],r=this.m[1]*e.m[2]+this.m[3]*e.m[3],l=this.m[0]*e.m[4]+this.m[2]*e.m[5]+this.m[4],a=this.m[1]*e.m[4]+this.m[3]*e.m[5]+this.m[5];return this.m[0]=n,this.m[1]=t,this.m[2]=i,this.m[3]=r,this.m[4]=l,this.m[5]=a,this}},{key:"invert",value:function(){var e=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*e,t=-this.m[1]*e,i=-this.m[2]*e,r=this.m[0]*e,l=e*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),a=e*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=t,this.m[2]=i,this.m[3]=r,this.m[4]=l,this.m[5]=a,this}},{key:"getMatrix",value:function(){return this.m}},{key:"setAbsolutePosition",value:function(e,n){var t=this.m[0],i=this.m[1],r=this.m[2],l=this.m[3],a=this.m[4],o=(t*(n-this.m[5])-i*(e-a))/(t*l-i*r),s=(e-a-r*o)/t;return this.translate(s,o)}},{key:"decompose",value:function(){var e=this.m[0],n=this.m[1],t=this.m[2],i=this.m[3],r=e*i-n*t,l={x:this.m[4],y:this.m[5],rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(0!=e||0!=n){var a=Math.sqrt(e*e+n*n);l.rotation=n>0?Math.acos(e/a):-Math.acos(e/a),l.scaleX=a,l.scaleY=r/a,l.skewX=(e*t+n*i)/r,l.skewY=0}else if(0!=t||0!=i){var o=Math.sqrt(t*t+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-t/o):-Math.acos(t/o)),l.scaleX=r/o,l.scaleY=o,l.skewX=0,l.skewY=(e*t+n*i)/r}return l.rotation=GV._getRotation(l.rotation),l}}]),e}(),jV=Math.PI/180,JV=180/Math.PI,ZV="Konva error: ",zV={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},HV=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,qV=[],WV="undefined"!==typeof requestAnimationFrame&&requestAnimationFrame||function(e){setTimeout(e,60)},GV={_isElement:function(e){return!(!e||1!=e.nodeType)},_isFunction:function(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject:function(e){return!!e&&e.constructor===Object},_isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},_isNumber:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&!isNaN(e)&&isFinite(e)},_isString:function(e){return"[object String]"===Object.prototype.toString.call(e)},_isBoolean:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},isObject:function(e){return e instanceof Object},isValidSelector:function(e){if("string"!==typeof e)return!1;var n=e[0];return"#"===n||"."===n||n===n.toUpperCase()},_sign:function(e){return 0===e||e>0?1:-1},requestAnimFrame:function(e){qV.push(e),1===qV.length&&WV((function(){var e=qV;qV=[],e.forEach((function(e){e()}))}))},createCanvasElement:function(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch(n){}return e},createImageElement:function(){return document.createElement("img")},_isInDocument:function(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage:function(e,n){var t=GV.createImageElement();t.onload=function(){n(t)},t.src=e},_rgbToHex:function(e,n,t){return((1<<24)+(e<<16)+(n<<8)+t).toString(16).slice(1)},_hexToRgb:function(e){e=e.replace("#","");var n=parseInt(e,16);return{r:n>>16&255,g:n>>8&255,b:255&n}},getRandomColor:function(){for(var e=(16777215*Math.random()<<0).toString(16);e.length<6;)e="0"+e;return"#"+e},getRGB:function(e){var n;return e in zV?{r:(n=zV[e])[0],g:n[1],b:n[2]}:"#"===e[0]?this._hexToRgb(e.substring(1)):"rgb("===e.substr(0,4)?(n=HV.exec(e.replace(/ /g,"")),{r:parseInt(n[1],10),g:parseInt(n[2],10),b:parseInt(n[3],10)}):{r:0,g:0,b:0}},colorToRGBA:function(e){return e=e||"black",GV._namedColorToRBA(e)||GV._hex3ColorToRGBA(e)||GV._hex6ColorToRGBA(e)||GV._rgbColorToRGBA(e)||GV._rgbaColorToRGBA(e)||GV._hslColorToRGBA(e)},_namedColorToRBA:function(e){var n=zV[e.toLowerCase()];return n?{r:n[0],g:n[1],b:n[2],a:1}:null},_rgbColorToRGBA:function(e){if(0===e.indexOf("rgb(")){var n=(e=e.match(/rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:n[0],g:n[1],b:n[2],a:1}}},_rgbaColorToRGBA:function(e){if(0===e.indexOf("rgba(")){var n=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map((function(e,n){return"%"===e.slice(-1)?3===n?parseInt(e)/100:parseInt(e)/100*255:Number(e)}));return{r:n[0],g:n[1],b:n[2],a:n[3]}}},_hex6ColorToRGBA:function(e){if("#"===e[0]&&7===e.length)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA:function(e){if("#"===e[0]&&4===e.length)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA:function(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){var n,t,i,r=UV(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)),l=(r[0],r.slice(1)),a=Number(l[0])/360,o=Number(l[1])/100,s=Number(l[2])/100;if(0===o)return i=255*s,{r:Math.round(i),g:Math.round(i),b:Math.round(i),a:1};for(var u=2*s-(n=s<.5?s*(1+o):s+o-s*o),c=[0,0,0],d=0;d<3;d++)(t=a+1/3*-(d-1))<0&&t++,t>1&&t--,i=6*t<1?u+6*(n-u)*t:2*t<1?n:3*t<2?u+(n-u)*(2/3-t)*6:u,c[d]=255*i;return{r:Math.round(c[0]),g:Math.round(c[1]),b:Math.round(c[2]),a:1}}},haveIntersection:function(e,n){return!(n.x>e.x+e.width||n.x+n.widthe.y+e.height||n.y+n.height1?(a=t,o=i,s=(t-r)*(t-r)+(i-l)*(i-l)):s=((a=e+c*(t-e))-r)*(a-r)+((o=n+c*(i-n))-l)*(o-l)}return[a,o,s]},_getProjectionToLine:function(e,n,t){var i=GV.cloneObject(e),r=Number.MAX_VALUE;return n.forEach((function(l,a){if(t||a!==n.length-1){var o=n[(a+1)%n.length],s=GV._getProjectionToSegment(l.x,l.y,o.x,o.y,e.x,e.y),u=s[0],c=s[1],d=s[2];dn.length){var a=n;n=e,e=a}for(i=0;i255?255:e<0?0:Math.round(e)}function YV(){if(BV.isUnminified)return function(e,n){return GV._isNumber(e)||GV.warn(KV(e)+' is a not valid value for "'+n+'" attribute. The value should be a number.'),e}}function QV(e){if(BV.isUnminified)return function(n,t){var i=GV._isNumber(n),r=GV._isArray(n)&&n.length==e;return i||r||GV.warn(KV(n)+' is a not valid value for "'+t+'" attribute. The value should be a number or Array('+e+")"),n}}function XV(){if(BV.isUnminified)return function(e,n){return GV._isNumber(e)||"auto"===e||GV.warn(KV(e)+' is a not valid value for "'+n+'" attribute. The value should be a number or "auto".'),e}}function eB(){if(BV.isUnminified)return function(e,n){return GV._isString(e)||GV.warn(KV(e)+' is a not valid value for "'+n+'" attribute. The value should be a string.'),e}}function nB(){if(BV.isUnminified)return function(e,n){var t=GV._isString(e),i="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e.addColorStop;return t||i||GV.warn(KV(e)+' is a not valid value for "'+n+'" attribute. The value should be a string or a native gradient.'),e}}function tB(){if(BV.isUnminified)return function(e,n){return!0===e||!1===e||GV.warn(KV(e)+' is a not valid value for "'+n+'" attribute. The value should be a boolean.'),e}}var iB="get",rB="set",lB={addGetterSetter:function(e,n,t,i,r){lB.addGetter(e,n,t),lB.addSetter(e,n,i,r),lB.addOverloadedGetterSetter(e,n)},addGetter:function(e,n,t){var i=iB+GV._capitalize(n);e.prototype[i]=e.prototype[i]||function(){var e=this.attrs[n];return void 0===e?t:e}},addSetter:function(e,n,t,i){var r=rB+GV._capitalize(n);e.prototype[r]||lB.overWriteSetter(e,n,t,i)},overWriteSetter:function(e,n,t,i){var r=rB+GV._capitalize(n);e.prototype[r]=function(e){return t&&void 0!==e&&null!==e&&(e=t.call(this,e,n)),this._setAttr(n,e),i&&i.call(this),this}},addComponentsGetterSetter:function(e,n,t,i,r){var l,a,o=t.length,s=GV._capitalize,u=iB+s(n),c=rB+s(n);e.prototype[u]=function(){var e={};for(l=0;l=100&&n.shift()}},{key:"reset",value:function(){var e=this.getCanvas().getPixelRatio();this.setTransform(1*e,0,0,1*e,0,0)}},{key:"getCanvas",value:function(){return this.canvas}},{key:"clear",value:function(e){var n=this.getCanvas();e?this.clearRect(e.x||0,e.y||0,e.width||0,e.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}},{key:"_applyLineCap",value:function(e){var n=e.getLineCap();n&&this.setAttr("lineCap",n)}},{key:"_applyOpacity",value:function(e){var n=e.getAbsoluteOpacity();1!==n&&this.setAttr("globalAlpha",n)}},{key:"_applyLineJoin",value:function(e){var n=e.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}},{key:"setAttr",value:function(e,n){this._context[e]=n}},{key:"arc",value:function(e,n,t,i,r,l){this._context.arc(e,n,t,i,r,l)}},{key:"arcTo",value:function(e,n,t,i,r){this._context.arcTo(e,n,t,i,r)}},{key:"beginPath",value:function(){this._context.beginPath()}},{key:"bezierCurveTo",value:function(e,n,t,i,r,l){this._context.bezierCurveTo(e,n,t,i,r,l)}},{key:"clearRect",value:function(e,n,t,i){this._context.clearRect(e,n,t,i)}},{key:"clip",value:function(){this._context.clip()}},{key:"closePath",value:function(){this._context.closePath()}},{key:"createImageData",value:function(e,n){var t=arguments;return 2===t.length?this._context.createImageData(e,n):1===t.length?this._context.createImageData(e):void 0}},{key:"createLinearGradient",value:function(e,n,t,i){return this._context.createLinearGradient(e,n,t,i)}},{key:"createPattern",value:function(e,n){return this._context.createPattern(e,n)}},{key:"createRadialGradient",value:function(e,n,t,i,r,l){return this._context.createRadialGradient(e,n,t,i,r,l)}},{key:"drawImage",value:function(e,n,t,i,r,l,a,o,s){var u=arguments,c=this._context;3===u.length?c.drawImage(e,n,t):5===u.length?c.drawImage(e,n,t,i,r):9===u.length&&c.drawImage(e,n,t,i,r,l,a,o,s)}},{key:"ellipse",value:function(e,n,t,i,r,l,a,o){this._context.ellipse(e,n,t,i,r,l,a,o)}},{key:"isPointInPath",value:function(e,n){return this._context.isPointInPath(e,n)}},{key:"fill",value:function(e){e?this._context.fill(e):this._context.fill()}},{key:"fillRect",value:function(e,n,t,i){this._context.fillRect(e,n,t,i)}},{key:"strokeRect",value:function(e,n,t,i){this._context.strokeRect(e,n,t,i)}},{key:"fillText",value:function(e,n,t,i){i?this._context.fillText(e,n,t,i):this._context.fillText(e,n,t)}},{key:"measureText",value:function(e){return this._context.measureText(e)}},{key:"getImageData",value:function(e,n,t,i){return this._context.getImageData(e,n,t,i)}},{key:"lineTo",value:function(e,n){this._context.lineTo(e,n)}},{key:"moveTo",value:function(e,n){this._context.moveTo(e,n)}},{key:"rect",value:function(e,n,t,i){this._context.rect(e,n,t,i)}},{key:"putImageData",value:function(e,n,t){this._context.putImageData(e,n,t)}},{key:"quadraticCurveTo",value:function(e,n,t,i){this._context.quadraticCurveTo(e,n,t,i)}},{key:"restore",value:function(){this._context.restore()}},{key:"rotate",value:function(e){this._context.rotate(e)}},{key:"save",value:function(){this._context.save()}},{key:"scale",value:function(e,n){this._context.scale(e,n)}},{key:"setLineDash",value:function(e){this._context.setLineDash?this._context.setLineDash(e):"mozDash"in this._context?this._context.mozDash=e:"webkitLineDash"in this._context&&(this._context.webkitLineDash=e)}},{key:"getLineDash",value:function(){return this._context.getLineDash()}},{key:"setTransform",value:function(e,n,t,i,r,l){this._context.setTransform(e,n,t,i,r,l)}},{key:"stroke",value:function(e){e?this._context.stroke(e):this._context.stroke()}},{key:"strokeText",value:function(e,n,t,i){this._context.strokeText(e,n,t,i)}},{key:"transform",value:function(e,n,t,i,r,l){this._context.transform(e,n,t,i,r,l)}},{key:"translate",value:function(e,n){this._context.translate(e,n)}},{key:"_enableTrace",value:function(){var e,n,t=this,i=oB.length,r=this.setAttr,l=function(e){var i,r=t[e];t[e]=function(){return n=aB(Array.prototype.slice.call(arguments,0)),i=r.apply(t,arguments),t._trace({method:e,args:n}),i}};for(e=0;e0&&void 0!==arguments[0]?arguments[0]:{width:0,height:0};return j(this,t),(e=n.call(this,i)).context=new cB(La(e)),e.setSize(i.width,i.height),e}return Z(t)}(pB),mB=function(e){Ua(t,e);var n=Fa(t);function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{width:0,height:0};return j(this,t),(e=n.call(this,i)).hitCanvas=!0,e.context=new dB(La(e)),e.setSize(i.width,i.height),e}return Z(t)}(pB),yB={get isDragging(){var e=!1;return yB._dragElements.forEach((function(n){"dragging"===n.dragStatus&&(e=!0)})),e},justDragged:!1,get node(){var e;return yB._dragElements.forEach((function(n){e=n.node})),e},_dragElements:new Map,_drag:function(e){var n=[];yB._dragElements.forEach((function(t,i){var r=t.node,l=r.getStage();l.setPointersPositions(e),void 0===t.pointerId&&(t.pointerId=GV._getFirstPointerId(e));var a=l._changedPointerPositions.find((function(e){return e.id===t.pointerId}));if(a){if("dragging"!==t.dragStatus){var o=r.dragDistance();if(Math.max(Math.abs(a.x-t.startPointerPos.x),Math.abs(a.y-t.startPointerPos.y))1&&void 0!==arguments[1]&&arguments[1];if(e)return this._isVisible(e)&&this._isListening(e);var t=this.getLayer(),i=!1;yB._dragElements.forEach((function(e){"dragging"===e.dragStatus&&("Stage"===e.node.nodeType||e.node.getLayer()===t)&&(i=!0)}));var r=!n&&!BV.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!r}},{key:"show",value:function(){return this.visible(!0),this}},{key:"hide",value:function(){return this.visible(!1),this}},{key:"getZIndex",value:function(){return this.index||0}},{key:"getAbsoluteZIndex",value:function(){var e,n,t,i,r=this.getDepth(),l=this,a=0;return"Stage"!==l.nodeType&&function o(s){for(e=[],n=s.length,t=0;t0&&e[0].getDepth()<=r&&o(e)}(l.getStage().getChildren()),a}},{key:"getDepth",value:function(){for(var e=0,n=this.parent;n;)e++,n=n.parent;return e}},{key:"_batchTransformChanges",value:function(e){this._batchingTransformChange=!0,e(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(CB),this._clearSelfAndDescendantCache(gB)),this._needClearTransformCache=!1}},{key:"setPosition",value:function(e){var n=this;return this._batchTransformChanges((function(){n.x(e.x),n.y(e.y)})),this}},{key:"getPosition",value:function(){return{x:this.x(),y:this.y()}}},{key:"getRelativePointerPosition",value:function(){if(!this.getStage())return null;var e=this.getStage().getPointerPosition();if(!e)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(e)}},{key:"getAbsolutePosition",value:function(e){for(var n=!1,t=this.parent;t;){if(t.isCached()){n=!0;break}t=t.parent}n&&!e&&(e=!0);var i=this.getAbsoluteTransform(e).getMatrix(),r=new FV,l=this.offset();return r.m=i.slice(),r.translate(l.x,l.y),r.getTranslation()}},{key:"setAbsolutePosition",value:function(e){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(CB);var t=this._getAbsoluteTransform().copy();return t.invert(),t.translate(e.x,e.y),e={x:this.attrs.x+t.getTranslation().x,y:this.attrs.y+t.getTranslation().y},this._setTransform(n),this.setPosition({x:e.x,y:e.y}),this._clearCache(CB),this._clearSelfAndDescendantCache(gB),this}},{key:"_setTransform",value:function(e){var n;for(n in e)this.attrs[n]=e[n]}},{key:"_clearTransform",value:function(){var e={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,e}},{key:"move",value:function(e){var n=e.x,t=e.y,i=this.x(),r=this.y();return void 0!==n&&(i+=n),void 0!==t&&(r+=t),this.setPosition({x:i,y:r}),this}},{key:"_eachAncestorReverse",value:function(e,n){var t,i,r=[],l=this.getParent();if(!n||n._id!==this._id){for(r.unshift(this);l&&(!n||l._id!==n._id);)r.unshift(l),l=l.parent;for(t=r.length,i=0;i0&&(this.parent.children.splice(e,1),this.parent.children.splice(e-1,0,this),this.parent._setChildrenIndices(),!0)}},{key:"moveToBottom",value:function(){if(!this.parent)return GV.warn("Node has no parent. moveToBottom function is ignored."),!1;var e=this.index;return e>0&&(this.parent.children.splice(e,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0)}},{key:"setZIndex",value:function(e){if(!this.parent)return GV.warn("Node has no parent. zIndex parameter is ignored."),this;(e<0||e>=this.parent.children.length)&&GV.warn("Unexpected value "+e+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(e,0,this),this.parent._setChildrenIndices(),this}},{key:"getAbsoluteOpacity",value:function(){return this._getCache(_B,this._getAbsoluteOpacity)}},{key:"_getAbsoluteOpacity",value:function(){var e=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(e*=n.getAbsoluteOpacity()),e}},{key:"moveTo",value:function(e){return this.getParent()!==e&&(this._remove(),e.add(this)),this}},{key:"toObject",value:function(){var e,n,t,i,r={},l=this.getAttrs();for(e in r.attrs={},l)n=l[e],GV.isObject(n)&&!GV._isPlainObject(n)&&!GV._isArray(n)||(t="function"===typeof this[e]&&this[e],delete l[e],i=t?t.call(this):null,l[e]=n,i!==n&&(r.attrs[e]=n));return r.className=this.getClassName(),GV._prepareToStringify(r)}},{key:"toJSON",value:function(){return JSON.stringify(this.toObject())}},{key:"getParent",value:function(){return this.parent}},{key:"findAncestors",value:function(e,n,t){var i=[];n&&this._isMatch(e)&&i.push(this);for(var r=this.parent;r;){if(r===t)return i;r._isMatch(e)&&i.push(r),r=r.parent}return i}},{key:"isAncestorOf",value:function(e){return!1}},{key:"findAncestor",value:function(e,n,t){return this.findAncestors(e,n,t)[0]}},{key:"_isMatch",value:function(e){if(!e)return!1;if("function"===typeof e)return e(this);var n,t,i=e.replace(/ /g,"").split(","),r=i.length;for(n=0;n1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return n.target=n.target||this,t?this._fireAndBubble(e,n):this._fire(e,n),this}},{key:"getAbsoluteTransform",value:function(e){return e?this._getAbsoluteTransform(e):this._getCache(gB,this._getAbsoluteTransform)}},{key:"_getAbsoluteTransform",value:function(e){var n;if(e)return n=new FV,this._eachAncestorReverse((function(e){var t=e.transformsEnabled();"all"===t?n.multiply(e.getTransform()):"position"===t&&n.translate(e.x()-e.offsetX(),e.y()-e.offsetY())}),e),n;n=this._cache.get(gB)||new FV,this.parent?this.parent.getAbsoluteTransform().copyInto(n):n.reset();var t=this.transformsEnabled();if("all"===t)n.multiply(this.getTransform());else if("position"===t){var i=this.attrs.x||0,r=this.attrs.y||0,l=this.attrs.offsetX||0,a=this.attrs.offsetY||0;n.translate(i-l,r-a)}return n.dirty=!1,n}},{key:"getAbsoluteScale",value:function(e){for(var n=this;n;)n._isUnderCache&&(e=n),n=n.getParent();var t=this.getAbsoluteTransform(e).decompose();return{x:t.scaleX,y:t.scaleY}}},{key:"getAbsoluteRotation",value:function(){return this.getAbsoluteTransform().decompose().rotation}},{key:"getTransform",value:function(){return this._getCache(CB,this._getTransform)}},{key:"_getTransform",value:function(){var e,n,t=this._cache.get(CB)||new FV;t.reset();var i=this.x(),r=this.y(),l=BV.getAngle(this.rotation()),a=null!==(e=this.attrs.scaleX)&&void 0!==e?e:1,o=null!==(n=this.attrs.scaleY)&&void 0!==n?n:1,s=this.attrs.skewX||0,u=this.attrs.skewY||0,c=this.attrs.offsetX||0,d=this.attrs.offsetY||0;return 0===i&&0===r||t.translate(i,r),0!==l&&t.rotate(l),0===s&&0===u||t.skew(s,u),1===a&&1===o||t.scale(a,o),0===c&&0===d||t.translate(-1*c,-1*d),t.dirty=!1,t}},{key:"clone",value:function(e){var n,t,i,r,l,a=GV.cloneObject(this.attrs);for(n in e)a[n]=e[n];var o=new this.constructor(a);for(n in this.eventListeners)for(i=(t=this.eventListeners[n]).length,r=0;r1&&void 0!==arguments[1])||arguments[1];yB._dragElements.has(this._id)||this._createDragElement(e);var t=yB._dragElements.get(this._id);t.dragStatus="dragging",this.fire("dragstart",{type:"dragstart",target:this,evt:e&&e.evt},n)}},{key:"_setDragPosition",value:function(e,n){var t=this.getStage()._getPointerById(n.pointerId);if(t){var i={x:t.x-n.offset.x,y:t.y-n.offset.y},r=this.dragBoundFunc();if(void 0!==r){var l=r.call(this,i,e);l?i=l:GV.warn("dragBoundFunc did not return any value. That is unexpected behavior. You must return new absolute position from dragBoundFunc.")}this._lastPos&&this._lastPos.x===i.x&&this._lastPos.y===i.y||(this.setAbsolutePosition(i),this._requestDraw()),this._lastPos=i}}},{key:"stopDrag",value:function(e){var n=yB._dragElements.get(this._id);n&&(n.dragStatus="stopped"),yB._endDragBefore(e),yB._endDragAfter(e)}},{key:"setDraggable",value:function(e){this._setAttr("draggable",e),this._dragChange()}},{key:"isDragging",value:function(){var e=yB._dragElements.get(this._id);return!!e&&"dragging"===e.dragStatus}},{key:"_listenDrag",value:function(){this._dragCleanup(),this.on("mousedown.konva touchstart.konva",(function(e){var n=this;if((!(void 0!==e.evt.button)||BV.dragButtons.indexOf(e.evt.button)>=0)&&!this.isDragging()){var t=!1;yB._dragElements.forEach((function(e){n.isAncestorOf(e.node)&&(t=!0)})),t||this._createDragElement(e)}}))}},{key:"_dragChange",value:function(){if(this.attrs.draggable)this._listenDrag();else{if(this._dragCleanup(),!this.getStage())return;var e=yB._dragElements.get(this._id),n=e&&"dragging"===e.dragStatus,t=e&&"ready"===e.dragStatus;n?this.stopDrag():t&&yB._dragElements.delete(this._id)}}},{key:"_dragCleanup",value:function(){this.off("mousedown.konva"),this.off("touchstart.konva")}},{key:"isClientRectOnScreen",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{x:0,y:0},n=this.getStage();if(!n)return!1;var t={x:-e.x,y:-e.y,width:n.width()+e.x,height:n.height()+e.y};return GV.haveIntersection(t,this.getClientRect())}}],[{key:"create",value:function(e,n){return GV._isString(e)&&(e=JSON.parse(e)),this._createNode(e,n)}},{key:"_createNode",value:function(n,t){var i,r,l,a=e.prototype.getClassName.call(n),o=n.children;if(t&&(n.attrs.container=t),BV[a]||(GV.warn('Can not find a node with class name "'+a+'". Fallback to "Shape".'),a="Shape"),i=new(0,BV[a])(n.attrs),o)for(r=o.length,l=0;l0}},{key:"removeChildren",value:function(){return this.getChildren().forEach((function(e){e.parent=null,e.index=0,e.remove()})),this.children=[],this._requestDraw(),this}},{key:"destroyChildren",value:function(){return this.getChildren().forEach((function(e){e.parent=null,e.index=0,e.destroy()})),this.children=[],this._requestDraw(),this}},{key:"add",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t1){for(var i=0;i0?n[0]:void 0}},{key:"_generalFind",value:function(e,n){var t=[];return this._descendants((function(i){var r=i._isMatch(e);return r&&t.push(i),!(!r||!n)})),t}},{key:"_descendants",value:function(e){var n,t=Y(this.getChildren());try{for(t.s();!(n=t.n()).done;){var i=n.value;if(e(i))return!0;if(i.hasChildren()&&i._descendants(e))return!0}}catch(r){t.e(r)}finally{t.f()}return!1}},{key:"toObject",value:function(){var e=AB.prototype.toObject.call(this);return e.children=[],this.getChildren().forEach((function(n){e.children.push(n.toObject())})),e}},{key:"isAncestorOf",value:function(e){for(var n=e.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}},{key:"clone",value:function(e){var n=AB.prototype.clone.call(this,e);return this.getChildren().forEach((function(e){n.add(e.clone())})),n}},{key:"getAllIntersections",value:function(e){var n=[];return this.find("Shape").forEach((function(t){t.isVisible()&&t.intersects(e)&&n.push(t)})),n}},{key:"_clearSelfAndDescendantCache",value:function(e){var n;IB(Pa(t.prototype),"_clearSelfAndDescendantCache",this).call(this,e),this.isCached()||null===(n=this.children)||void 0===n||n.forEach((function(n){n._clearSelfAndDescendantCache(e)}))}},{key:"_setChildrenIndices",value:function(){var e;null===(e=this.children)||void 0===e||e.forEach((function(e,n){e.index=n})),this._requestDraw()}},{key:"drawScene",value:function(e,n){var t=this.getLayer(),i=e||t&&t.getCanvas(),r=i&&i.getContext(),l=this._getCanvasCache(),a=l&&l.scene,o=i&&i.isCache;if(!this.isVisible()&&!o)return this;if(a){r.save();var s=this.getAbsoluteTransform(n).getMatrix();r.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._drawCachedSceneCanvas(r),r.restore()}else this._drawChildren("drawScene",i,n);return this}},{key:"drawHit",value:function(e,n){if(!this.shouldDrawHit(n))return this;var t=this.getLayer(),i=e||t&&t.hitCanvas,r=i&&i.getContext(),l=this._getCanvasCache();if(l&&l.hit){r.save();var a=this.getAbsoluteTransform(n).getMatrix();r.transform(a[0],a[1],a[2],a[3],a[4],a[5]),this._drawCachedHitCanvas(r),r.restore()}else this._drawChildren("drawHit",i,n);return this}},{key:"_drawChildren",value:function(e,n,t){var i,r=n&&n.getContext(),l=this.clipWidth(),a=this.clipHeight(),o=this.clipFunc(),s=l&&a||o,u=t===this;if(s){r.save();var c=this.getAbsoluteTransform(t),d=c.getMatrix();if(r.transform(d[0],d[1],d[2],d[3],d[4],d[5]),r.beginPath(),o)o.call(this,r,this);else{var p=this.clipX(),f=this.clipY();r.rect(p,f,l,a)}r.clip(),d=c.copy().invert().getMatrix(),r.transform(d[0],d[1],d[2],d[3],d[4],d[5])}var m=!u&&"source-over"!==this.globalCompositeOperation()&&"drawScene"===e;m&&(r.save(),r._applyGlobalCompositeOperation(this)),null===(i=this.children)||void 0===i||i.forEach((function(i){i[e](n,t)})),m&&r.restore(),s&&r.restore()}},{key:"getClientRect",value:function(e){var n,t,i,r,l,a=(e=e||{}).skipTransform,o=e.relativeTo,s={x:1/0,y:1/0,width:0,height:0},u=this;null===(n=this.children)||void 0===n||n.forEach((function(n){if(n.visible()){var a=n.getClientRect({relativeTo:u,skipShadow:e.skipShadow,skipStroke:e.skipStroke});0===a.width&&0===a.height||(void 0===t?(t=a.x,i=a.y,r=a.x+a.width,l=a.y+a.height):(t=Math.min(t,a.x),i=Math.min(i,a.y),r=Math.max(r,a.x+a.width),l=Math.max(l,a.y+a.height)))}}));for(var c=this.find("Shape"),d=!1,p=0;p=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse"},yM=function(e){var n=mM(e);return"pointer"===n?BV.pointerEventsEnabled&&fM.pointer:"touch"===n?fM.touch:"mouse"===n?fM.mouse:void 0};function _M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e.clipFunc||e.clipWidth||e.clipHeight)&&GV.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}var hM=[],gM=function(e){Ua(t,e);var n=Fa(t);function t(e){var i;return j(this,t),(i=n.call(this,_M(e)))._pointerPositions=[],i._changedPointerPositions=[],i._buildDOM(),i._bindContentEvents(),hM.push(La(i)),i.on("widthChange.konva heightChange.konva",i._resizeDOM),i.on("visibleChange.konva",i._checkVisibility),i.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(function(){_M(i.attrs)})),i._checkVisibility(),i}return Z(t,[{key:"_validateAdd",value:function(e){var n="Layer"===e.getType(),t="FastLayer"===e.getType();n||t||GV.throw("You may only add layers to the stage.")}},{key:"_checkVisibility",value:function(){if(this.content){var e=this.visible()?"":"none";this.content.style.display=e}}},{key:"setContainer",value:function(e){if("string"===typeof e){if("."===e.charAt(0)){var n=e.slice(1);e=document.getElementsByClassName(n)[0]}else{var t;t="#"!==e.charAt(0)?e:e.slice(1),e=document.getElementById(t)}if(!e)throw"Can not find container in document with id "+t}return this._setAttr("container",e),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),e.appendChild(this.content)),this}},{key:"shouldDrawHit",value:function(){return!0}},{key:"clear",value:function(){var e,n=this.children,t=n.length;for(e=0;e-1&&hM.splice(n,1),this}},{key:"getPointerPosition",value:function(){var e=this._pointerPositions[0]||this._changedPointerPositions[0];return e?{x:e.x,y:e.y}:(GV.warn("Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);"),null)}},{key:"_getPointerById",value:function(e){return this._pointerPositions.find((function(n){return n.id===e}))}},{key:"getPointersPositions",value:function(){return this._pointerPositions}},{key:"getStage",value:function(){return this}},{key:"getContent",value:function(){return this.content}},{key:"_toKonvaCanvas",value:function(e){(e=e||{}).x=e.x||0,e.y=e.y||0,e.width=e.width||this.width(),e.height=e.height||this.height();var n=new fB({width:e.width,height:e.height,pixelRatio:e.pixelRatio||1}),t=n.getContext()._context,i=this.children;return(e.x||e.y)&&t.translate(-1*e.x,-1*e.y),i.forEach((function(n){if(n.isVisible()){var i=n._toKonvaCanvas(e);t.drawImage(i._canvas,e.x,e.y,i.getWidth()/i.getPixelRatio(),i.getHeight()/i.getPixelRatio())}})),n}},{key:"getIntersection",value:function(e){if(!e)return null;var n,t=this.children;for(n=t.length-1;n>=0;n--){var i=t[n].getIntersection(e);if(i)return i}return null}},{key:"_resizeDOM",value:function(){var e=this.width(),n=this.height();this.content&&(this.content.style.width=e+"px",this.content.style.height=n+"px"),this.bufferCanvas.setSize(e,n),this.bufferHitCanvas.setSize(e,n),this.children.forEach((function(t){t.setSize({width:e,height:n}),t.draw()}))}},{key:"add",value:function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r1){for(var l=0;l5&&GV.warn("The stage has "+a+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),e.setSize({width:this.width(),height:this.height()}),e.draw(),BV.isBrowser&&this.content.appendChild(e.canvas._canvas),this}},{key:"getParent",value:function(){return null}},{key:"getLayer",value:function(){return null}},{key:"hasPointerCapture",value:function(e){return ZB(e,this)}},{key:"setPointerCapture",value:function(e){zB(e,this)}},{key:"releaseCapture",value:function(e){HB(e)}},{key:"getLayers",value:function(){return this.children}},{key:"_bindContentEvents",value:function(){var e=this;BV.isBrowser&&pM.forEach((function(n){var t=(0,o.Z)(n,2),i=t[0],r=t[1];e.content.addEventListener(i,(function(n){e[r](n)}))}))}},{key:"_pointerenter",value:function(e){this.setPointersPositions(e);var n=yM(e.type);this._fire(n.pointerenter,{evt:e,target:this,currentTarget:this})}},{key:"_pointerover",value:function(e){this.setPointersPositions(e);var n=yM(e.type);this._fire(n.pointerover,{evt:e,target:this,currentTarget:this})}},{key:"_getTargetShape",value:function(e){var n=this[e+"targetShape"];return n&&!n.getStage()&&(n=null),n}},{key:"_pointerleave",value:function(e){var n=yM(e.type),t=mM(e.type);if(n){this.setPointersPositions(e);var i=this._getTargetShape(t),r=!yB.isDragging||BV.hitOnDragEnabled;i&&r?(i._fireAndBubble(n.pointerout,{evt:e}),i._fireAndBubble(n.pointerleave,{evt:e}),this._fire(n.pointerleave,{evt:e,target:this,currentTarget:this}),this[t+"targetShape"]=null):r&&(this._fire(n.pointerleave,{evt:e,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:e,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}},{key:"_pointerdown",value:function(e){var n=this,t=yM(e.type),i=mM(e.type);if(t){this.setPointersPositions(e);var r=!1;this._changedPointerPositions.forEach((function(l){var a=n.getIntersection(l);if(yB.justDragged=!1,BV["_"+i+"ListenClick"]=!0,a&&a.isListening()){BV.capturePointerEventsEnabled&&a.setPointerCapture(l.id),n[i+"ClickStartShape"]=a,a._fireAndBubble(t.pointerdown,{evt:e,pointerId:l.id}),r=!0;var o=e.type.indexOf("touch")>=0;a.preventDefault()&&e.cancelable&&o&&e.preventDefault()}})),r||this._fire(t.pointerdown,{evt:e,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}},{key:"_pointermove",value:function(e){var n=this,t=yM(e.type),i=mM(e.type);if(t&&(yB.isDragging&&yB.node.preventDefault()&&e.cancelable&&e.preventDefault(),this.setPointersPositions(e),!yB.isDragging||BV.hitOnDragEnabled)){var r={},l=!1,a=this._getTargetShape(i);this._changedPointerPositions.forEach((function(o){var s=jB(o.id)||n.getIntersection(o),u=o.id,c={evt:e,pointerId:u},d=a!==s;if(d&&a&&(a._fireAndBubble(t.pointerout,Object.assign({},c),s),a._fireAndBubble(t.pointerleave,Object.assign({},c),s)),s){if(r[s._id])return;r[s._id]=!0}s&&s.isListening()?(l=!0,d&&(s._fireAndBubble(t.pointerover,Object.assign({},c),a),s._fireAndBubble(t.pointerenter,Object.assign({},c),a),n[i+"targetShape"]=s),s._fireAndBubble(t.pointermove,Object.assign({},c))):a&&(n._fire(t.pointerover,{evt:e,target:n,currentTarget:n,pointerId:u}),n[i+"targetShape"]=null)})),l||this._fire(t.pointermove,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}}},{key:"_pointerup",value:function(e){var n=this,t=yM(e.type),i=mM(e.type);if(t){this.setPointersPositions(e);var r=this[i+"ClickStartShape"],l=this[i+"ClickEndShape"],a={},o=!1;this._changedPointerPositions.forEach((function(s){var u=jB(s.id)||n.getIntersection(s);if(u){if(u.releaseCapture(s.id),a[u._id])return;a[u._id]=!0}var c=s.id,d={evt:e,pointerId:c},p=!1;BV["_"+i+"InDblClickWindow"]?(p=!0,clearTimeout(n[i+"DblTimeout"])):yB.justDragged||(BV["_"+i+"InDblClickWindow"]=!0,clearTimeout(n[i+"DblTimeout"])),n[i+"DblTimeout"]=setTimeout((function(){BV["_"+i+"InDblClickWindow"]=!1}),BV.dblClickWindow),u&&u.isListening()?(o=!0,n[i+"ClickEndShape"]=u,u._fireAndBubble(t.pointerup,Object.assign({},d)),BV["_"+i+"ListenClick"]&&r&&r===u&&(u._fireAndBubble(t.pointerclick,Object.assign({},d)),p&&l&&l===u&&u._fireAndBubble(t.pointerdblclick,Object.assign({},d)))):(n[i+"ClickEndShape"]=null,BV["_"+i+"ListenClick"]&&n._fire(t.pointerclick,{evt:e,target:n,currentTarget:n,pointerId:c}),p&&n._fire(t.pointerdblclick,{evt:e,target:n,currentTarget:n,pointerId:c}))})),o||this._fire(t.pointerup,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),BV["_"+i+"ListenClick"]=!1,e.cancelable&&e.preventDefault()}}},{key:"_contextmenu",value:function(e){this.setPointersPositions(e);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(aM,{evt:e}):this._fire(aM,{evt:e,target:this,currentTarget:this})}},{key:"_wheel",value:function(e){this.setPointersPositions(e);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(dM,{evt:e}):this._fire(dM,{evt:e,target:this,currentTarget:this})}},{key:"_pointercancel",value:function(e){this.setPointersPositions(e);var n=jB(e.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(eM,JB(e)),HB(e.pointerId)}},{key:"_lostpointercapture",value:function(e){HB(e.pointerId)}},{key:"setPointersPositions",value:function(e){var n=this,t=this._getContentPosition(),i=null,r=null;void 0!==(e=e||window.event).touches?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(e.touches,(function(e){n._pointerPositions.push({id:e.identifier,x:(e.clientX-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})})),Array.prototype.forEach.call(e.changedTouches||e.touches,(function(e){n._changedPointerPositions.push({id:e.identifier,x:(e.clientX-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})}))):(i=(e.clientX-t.left)/t.scaleX,r=(e.clientY-t.top)/t.scaleY,this.pointerPos={x:i,y:r},this._pointerPositions=[{x:i,y:r,id:GV._getFirstPointerId(e)}],this._changedPointerPositions=[{x:i,y:r,id:GV._getFirstPointerId(e)}])}},{key:"_setPointerPosition",value:function(e){GV.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(e)}},{key:"_getContentPosition",value:function(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var e=this.content.getBoundingClientRect();return{top:e.top,left:e.left,scaleX:e.width/this.content.clientWidth||1,scaleY:e.height/this.content.clientHeight||1}}},{key:"_buildDOM",value:function(){if(this.bufferCanvas=new fB({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mB({pixelRatio:1,width:this.width(),height:this.height()}),BV.isBrowser){var e=this.container();if(!e)throw"Stage has no container. A container is required.";e.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),e.appendChild(this.content),this._resizeDOM()}}},{key:"cache",value:function(){return GV.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}},{key:"clearCache",value:function(){return this}},{key:"batchDraw",value:function(){return this.getChildren().forEach((function(e){e.batchDraw()})),this}}]),t}(UB);gM.prototype.nodeType="Stage",MV(gM),lB.addGetterSetter(gM,"container");var vM,TM="hasShadow",bM="shadowRGBA",kM="patternImage",RM="linearGradient",NM="radialGradient";function EM(){return vM||(vM=GV.createCanvasElement().getContext("2d"))}var xM={};var CM=function(e){Ua(t,e);var n=Fa(t);function t(e){var i,r;for(j(this,t),i=n.call(this,e);!(r=GV.getRandomColor())||r in xM;);return i.colorKey=r,xM[r]=La(i),i}return Z(t,[{key:"getContext",value:function(){return GV.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}},{key:"getCanvas",value:function(){return GV.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}},{key:"getSceneFunc",value:function(){return this.attrs.sceneFunc||this._sceneFunc}},{key:"getHitFunc",value:function(){return this.attrs.hitFunc||this._hitFunc}},{key:"hasShadow",value:function(){return this._getCache(TM,this._hasShadow)}},{key:"_hasShadow",value:function(){return this.shadowEnabled()&&0!==this.shadowOpacity()&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}},{key:"_getFillPattern",value:function(){return this._getCache(kM,this.__getFillPattern)}},{key:"__getFillPattern",value:function(){if(this.fillPatternImage()){var e=EM().createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(e&&e.setTransform){var n=new FV;n.translate(this.fillPatternX(),this.fillPatternY()),n.rotate(BV.getAngle(this.fillPatternRotation())),n.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),n.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());var t=n.getMatrix();e.setTransform({a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]})}return e}}},{key:"_getLinearGradient",value:function(){return this._getCache(RM,this.__getLinearGradient)}},{key:"__getLinearGradient",value:function(){var e=this.fillLinearGradientColorStops();if(e){for(var n=EM(),t=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),r=n.createLinearGradient(t.x,t.y,i.x,i.y),l=0;l0}},{key:"destroy",value:function(){return AB.prototype.destroy.call(this),delete xM[this.colorKey],delete this.colorKey,this}},{key:"_useBufferCanvas",value:function(e){var n;if(!this.getStage())return!1;if(!(null===(n=this.attrs.perfectDrawEnabled)||void 0===n||n))return!1;var t=e||this.hasFill(),i=this.hasStroke(),r=1!==this.getAbsoluteOpacity();if(t&&i&&r)return!0;var l=this.hasShadow(),a=this.shadowForStrokeEnabled();return!!(t&&i&&l&&a)}},{key:"setStrokeHitEnabled",value:function(e){GV.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),e?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}},{key:"getStrokeHitEnabled",value:function(){return 0!==this.hitStrokeWidth()}},{key:"getSelfRect",value:function(){var e=this.size();return{x:this._centroid?-e.width/2:0,y:this._centroid?-e.height/2:0,width:e.width,height:e.height}}},{key:"getClientRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.skipTransform,t=e.relativeTo,i=this.getSelfRect(),r=!e.skipStroke&&this.hasStroke(),l=r&&this.strokeWidth()||0,a=i.width+l,o=i.height+l,s=!e.skipShadow&&this.hasShadow(),u=s?this.shadowOffsetX():0,c=s?this.shadowOffsetY():0,d=a+Math.abs(u),p=o+Math.abs(c),f=s&&this.shadowBlur()||0,m=d+2*f,y=p+2*f,_=0;Math.round(l/2)!==l/2&&(_=1);var h={width:m+_,height:y+_,x:-Math.round(l/2+f)+Math.min(u,0)+i.x,y:-Math.round(l/2+f)+Math.min(c,0)+i.y};return n?h:this._transformedRect(h,t)}},{key:"drawScene",value:function(e,n){var t,i,r=this.getLayer(),l=e||r.getCanvas(),a=l.getContext(),o=this._getCanvasCache(),s=this.getSceneFunc(),u=this.hasShadow(),c=l.isCache,d=n===this;if(!this.isVisible()&&!d)return this;if(o){a.save();var p=this.getAbsoluteTransform(n).getMatrix();return a.transform(p[0],p[1],p[2],p[3],p[4],p[5]),this._drawCachedSceneCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),this._useBufferCanvas()&&!c){(i=(t=this.getStage().bufferCanvas).getContext()).clear(),i.save(),i._applyLineJoin(this);var f=this.getAbsoluteTransform(n).getMatrix();i.transform(f[0],f[1],f[2],f[3],f[4],f[5]),s.call(this,i,this),i.restore();var m=t.pixelRatio;u&&a._applyShadow(this),a._applyOpacity(this),a._applyGlobalCompositeOperation(this),a.drawImage(t._canvas,0,0,t.width/m,t.height/m)}else{if(a._applyLineJoin(this),!d){f=this.getAbsoluteTransform(n).getMatrix();a.transform(f[0],f[1],f[2],f[3],f[4],f[5]),a._applyOpacity(this),a._applyGlobalCompositeOperation(this)}u&&a._applyShadow(this),s.call(this,a,this)}return a.restore(),this}},{key:"drawHit",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!this.shouldDrawHit(n,t))return this;var i=this.getLayer(),r=e||i.hitCanvas,l=r&&r.getContext(),a=this.hitFunc()||this.sceneFunc(),o=this._getCanvasCache(),s=o&&o.hit;if(this.colorKey||GV.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),s){l.save();var u=this.getAbsoluteTransform(n).getMatrix();return l.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedHitCanvas(l),l.restore(),this}if(!a)return this;l.save(),l._applyLineJoin(this);var c=this===n;if(!c){var d=this.getAbsoluteTransform(n).getMatrix();l.transform(d[0],d[1],d[2],d[3],d[4],d[5])}return a.call(this,l,this),l.restore(),this}},{key:"drawHitFromCache",value:function(){var e,n,t,i,r,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=this._getCanvasCache(),o=this._getCachedSceneCanvas(),s=a.hit,u=s.getContext(),c=s.getWidth(),d=s.getHeight();u.clear(),u.drawImage(o._canvas,0,0,c,d);try{for(t=(n=(e=u.getImageData(0,0,c,d)).data).length,i=GV._hexToRgb(this.colorKey),r=0;rl?(n[r]=i.r,n[r+1]=i.g,n[r+2]=i.b,n[r+3]=255):n[r+3]=0;u.putImageData(e,0,0)}catch(p){GV.error("Unable to draw hit graph from cached scene canvas. "+p.message)}return this}},{key:"hasPointerCapture",value:function(e){return ZB(e,this)}},{key:"setPointerCapture",value:function(e){zB(e,this)}},{key:"releaseCapture",value:function(e){HB(e)}}]),t}(AB);CM.prototype._fillFunc=function(e){e.fill()},CM.prototype._strokeFunc=function(e){e.stroke()},CM.prototype._fillFuncHit=function(e){e.fill()},CM.prototype._strokeFuncHit=function(e){e.stroke()},CM.prototype._centroid=!1,CM.prototype.nodeType="Shape",MV(CM),CM.prototype.eventListeners={},CM.prototype.on.call(CM.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(TM)})),CM.prototype.on.call(CM.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(bM)})),CM.prototype.on.call(CM.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",(function(){this._clearCache(kM)})),CM.prototype.on.call(CM.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",(function(){this._clearCache(RM)})),CM.prototype.on.call(CM.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",(function(){this._clearCache(NM)})),lB.addGetterSetter(CM,"stroke",void 0,nB()),lB.addGetterSetter(CM,"strokeWidth",2,YV()),lB.addGetterSetter(CM,"fillAfterStrokeEnabled",!1),lB.addGetterSetter(CM,"hitStrokeWidth","auto",XV()),lB.addGetterSetter(CM,"strokeHitEnabled",!0,tB()),lB.addGetterSetter(CM,"perfectDrawEnabled",!0,tB()),lB.addGetterSetter(CM,"shadowForStrokeEnabled",!0,tB()),lB.addGetterSetter(CM,"lineJoin"),lB.addGetterSetter(CM,"lineCap"),lB.addGetterSetter(CM,"sceneFunc"),lB.addGetterSetter(CM,"hitFunc"),lB.addGetterSetter(CM,"dash"),lB.addGetterSetter(CM,"dashOffset",0,YV()),lB.addGetterSetter(CM,"shadowColor",void 0,eB()),lB.addGetterSetter(CM,"shadowBlur",0,YV()),lB.addGetterSetter(CM,"shadowOpacity",1,YV()),lB.addComponentsGetterSetter(CM,"shadowOffset",["x","y"]),lB.addGetterSetter(CM,"shadowOffsetX",0,YV()),lB.addGetterSetter(CM,"shadowOffsetY",0,YV()),lB.addGetterSetter(CM,"fillPatternImage"),lB.addGetterSetter(CM,"fill",void 0,nB()),lB.addGetterSetter(CM,"fillPatternX",0,YV()),lB.addGetterSetter(CM,"fillPatternY",0,YV()),lB.addGetterSetter(CM,"fillLinearGradientColorStops"),lB.addGetterSetter(CM,"strokeLinearGradientColorStops"),lB.addGetterSetter(CM,"fillRadialGradientStartRadius",0),lB.addGetterSetter(CM,"fillRadialGradientEndRadius",0),lB.addGetterSetter(CM,"fillRadialGradientColorStops"),lB.addGetterSetter(CM,"fillPatternRepeat","repeat"),lB.addGetterSetter(CM,"fillEnabled",!0),lB.addGetterSetter(CM,"strokeEnabled",!0),lB.addGetterSetter(CM,"shadowEnabled",!0),lB.addGetterSetter(CM,"dashEnabled",!0),lB.addGetterSetter(CM,"strokeScaleEnabled",!0),lB.addGetterSetter(CM,"fillPriority","color"),lB.addComponentsGetterSetter(CM,"fillPatternOffset",["x","y"]),lB.addGetterSetter(CM,"fillPatternOffsetX",0,YV()),lB.addGetterSetter(CM,"fillPatternOffsetY",0,YV()),lB.addComponentsGetterSetter(CM,"fillPatternScale",["x","y"]),lB.addGetterSetter(CM,"fillPatternScaleX",1,YV()),lB.addGetterSetter(CM,"fillPatternScaleY",1,YV()),lB.addComponentsGetterSetter(CM,"fillLinearGradientStartPoint",["x","y"]),lB.addComponentsGetterSetter(CM,"strokeLinearGradientStartPoint",["x","y"]),lB.addGetterSetter(CM,"fillLinearGradientStartPointX",0),lB.addGetterSetter(CM,"strokeLinearGradientStartPointX",0),lB.addGetterSetter(CM,"fillLinearGradientStartPointY",0),lB.addGetterSetter(CM,"strokeLinearGradientStartPointY",0),lB.addComponentsGetterSetter(CM,"fillLinearGradientEndPoint",["x","y"]),lB.addComponentsGetterSetter(CM,"strokeLinearGradientEndPoint",["x","y"]),lB.addGetterSetter(CM,"fillLinearGradientEndPointX",0),lB.addGetterSetter(CM,"strokeLinearGradientEndPointX",0),lB.addGetterSetter(CM,"fillLinearGradientEndPointY",0),lB.addGetterSetter(CM,"strokeLinearGradientEndPointY",0),lB.addComponentsGetterSetter(CM,"fillRadialGradientStartPoint",["x","y"]),lB.addGetterSetter(CM,"fillRadialGradientStartPointX",0),lB.addGetterSetter(CM,"fillRadialGradientStartPointY",0),lB.addComponentsGetterSetter(CM,"fillRadialGradientEndPoint",["x","y"]),lB.addGetterSetter(CM,"fillRadialGradientEndPointX",0),lB.addGetterSetter(CM,"fillRadialGradientEndPointY",0),lB.addGetterSetter(CM,"fillPatternRotation",0),lB.backCompat(CM,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var SM=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],wM=SM.length,DM=function(e){Ua(t,e);var n=Fa(t);function t(e){var i;return j(this,t),(i=n.call(this,e)).canvas=new fB,i.hitCanvas=new mB({pixelRatio:1}),i._waitingForDraw=!1,i.on("visibleChange.konva",i._checkVisibility),i._checkVisibility(),i.on("imageSmoothingEnabledChange.konva",i._setSmoothEnabled),i._setSmoothEnabled(),i}return Z(t,[{key:"createPNGStream",value:function(){return this.canvas._canvas.createPNGStream()}},{key:"getCanvas",value:function(){return this.canvas}},{key:"getNativeCanvasElement",value:function(){return this.canvas._canvas}},{key:"getHitCanvas",value:function(){return this.hitCanvas}},{key:"getContext",value:function(){return this.getCanvas().getContext()}},{key:"clear",value:function(e){return this.getContext().clear(e),this.getHitCanvas().getContext().clear(e),this}},{key:"setZIndex",value:function(e){IB(Pa(t.prototype),"setZIndex",this).call(this,e);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),e0?{antialiased:!0}:{}}},{key:"drawScene",value:function(e,n){var t=this.getLayer(),i=e||t&&t.getCanvas();return this._fire("beforeDraw",{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),UB.prototype.drawScene.call(this,i,n),this._fire("draw",{node:this}),this}},{key:"drawHit",value:function(e,n){var t=this.getLayer(),i=e||t&&t.hitCanvas;return t&&t.clearBeforeDraw()&&t.getHitCanvas().getContext().clear(),UB.prototype.drawHit.call(this,i,n),this}},{key:"enableHitGraph",value:function(){return this.hitGraphEnabled(!0),this}},{key:"disableHitGraph",value:function(){return this.hitGraphEnabled(!1),this}},{key:"setHitGraphEnabled",value:function(e){GV.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(e)}},{key:"getHitGraphEnabled",value:function(e){return GV.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}},{key:"toggleHitCanvas",value:function(){if(this.parent&&this.parent.content){var e=this.parent;!!this.hitCanvas._canvas.parentNode?e.content.removeChild(this.hitCanvas._canvas):e.content.appendChild(this.hitCanvas._canvas)}}}]),t}(UB);DM.prototype.nodeType="Layer",MV(DM),lB.addGetterSetter(DM,"imageSmoothingEnabled",!0),lB.addGetterSetter(DM,"clearBeforeDraw",!0),lB.addGetterSetter(DM,"hitGraphEnabled",!0,tB());var AM=function(e){Ua(t,e);var n=Fa(t);function t(e){var i;return j(this,t),(i=n.call(this,e)).listening(!1),GV.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.'),i}return Z(t)}(DM);AM.prototype.nodeType="FastLayer",MV(AM);var OM=function(e){Ua(t,e);var n=Fa(t);function t(){return j(this,t),n.apply(this,arguments)}return Z(t,[{key:"_validateAdd",value:function(e){var n=e.getType();"Group"!==n&&"Shape"!==n&&GV.throw("You may only add groups and shapes to groups.")}}]),t}(UB);OM.prototype.nodeType="Group",MV(OM);var LM=VV.performance&&VV.performance.now?function(){return VV.performance.now()}:function(){return(new Date).getTime()},IM=function(){function e(n,t){j(this,e),this.id=e.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:LM(),frameRate:0},this.func=n,this.setLayers(t)}return Z(e,[{key:"setLayers",value:function(e){var n=[];return n=e?e.length>0?e:[e]:[],this.layers=n,this}},{key:"getLayers",value:function(){return this.layers}},{key:"addLayer",value:function(e){var n,t=this.layers,i=t.length;for(n=0;nthis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():e<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=e,this.update())}},{key:"getTime",value:function(){return this._time}},{key:"setPosition",value:function(e){this.prevPos=this._pos,this.propFunc(e),this._pos=e}},{key:"getPosition",value:function(e){return void 0===e&&(e=this._time),this.func(e,this.begin,this._change,this.duration)}},{key:"play",value:function(){this.state=2,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}},{key:"reverse",value:function(){this.state=3,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}},{key:"seek",value:function(e){this.pause(),this._time=e,this.update(),this.fire("onSeek")}},{key:"reset",value:function(){this.pause(),this._time=0,this.update(),this.fire("onReset")}},{key:"finish",value:function(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}},{key:"update",value:function(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}},{key:"onEnterFrame",value:function(){var e=this.getTimer()-this._startTime;2===this.state?this.setTime(e):3===this.state&&this.setTime(this.duration-e)}},{key:"pause",value:function(){this.state=1,this.fire("onPause")}},{key:"getTimer",value:function(){return(new Date).getTime()}}]),e}(),MM=function(){function e(n){j(this,e);var t,i,r=this,l=n.node,a=l._id,o=n.easing||FM.Linear,s=!!n.yoyo;t="undefined"===typeof n.duration?.3:0===n.duration?.001:n.duration,this.node=l,this._id=PM++;var u=l.getLayer()||(l instanceof BV.Stage?l.getLayers():null);for(i in u||GV.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new IM((function(){r.tween.onEnterFrame()}),u),this.tween=new BM(i,(function(e){r._tweenFunc(e)}),o,0,1,1e3*t,s),this._addListeners(),e.attrs[a]||(e.attrs[a]={}),e.attrs[a][this._id]||(e.attrs[a][this._id]={}),e.tweens[a]||(e.tweens[a]={}),n)void 0===UM[i]&&this._addAttr(i,n[i]);this.reset(),this.onFinish=n.onFinish,this.onReset=n.onReset,this.onUpdate=n.onUpdate}return Z(e,[{key:"_addAttr",value:function(n,t){var i,r,l,a,o,s,u,c,d=this.node,p=d._id;if((l=e.tweens[p][n])&&delete e.attrs[p][l][n],i=d.getAttr(n),GV._isArray(t))if(r=[],o=Math.max(t.length,i.length),"points"===n&&t.length!==i.length&&(t.length>i.length?(u=i,i=GV._prepareArrayForTween(i,t,d.closed())):(s=t,t=GV._prepareArrayForTween(t,i,d.closed()))),0===n.indexOf("fill"))for(a=0;a0?e:n),s=1*n,u=l*(l>0?e:n),c=a*(a>0?n:e);return{x:Math.round(o),y:Math.round(t?-1*c:u),width:Math.round(s-o),height:Math.round(c-u)}}}]),t}(CM);function ZM(e,n,t,i,r,l,a){var o=Math.sqrt(Math.pow(t-e,2)+Math.pow(i-n,2)),s=Math.sqrt(Math.pow(r-t,2)+Math.pow(l-i,2)),u=a*o/(o+s),c=a*s/(o+s);return[t-u*(r-e),i-u*(l-n),t+c*(r-e),i+c*(l-n)]}function zM(e,n){var t,i,r=e.length,l=[];for(t=2;t4){for(t=(n=this.getTensionPoints()).length,i=o?0:4,o||e.quadraticCurveTo(n[0],n[1],n[2],n[3]);iu?s:u,y=s>u?1:s/u,_=s>u?u/s:1;e.translate(a,o),e.rotate(p),e.scale(y,_),e.arc(0,0,m,c,c+d,1-f),e.scale(1/y,1/_),e.rotate(-p),e.translate(-a,-o);break;case"z":t=!0,e.closePath()}}t||this.hasFill()?e.fillStrokeShape(this):e.strokeShape(this)}},{key:"getSelfRect",value:function(){var e=[];this.dataArray.forEach((function(n){if("A"===n.command){var i=n.points[4],r=n.points[5],l=n.points[4]+r,a=Math.PI/180;if(Math.abs(i-l)l;o-=a){var s=t.getPointOnEllipticalArc(n.points[0],n.points[1],n.points[2],n.points[3],o,0);e.push(s.x,s.y)}else for(var u=i+a;uthis.dataArray[i].pathLength;)e-=this.dataArray[i].pathLength,++i;if(i===r)return{x:(n=this.dataArray[i-1].points.slice(-2))[0],y:n[1]};if(e<.01)return{x:(n=this.dataArray[i].points.slice(0,2))[0],y:n[1]};var l=this.dataArray[i],a=l.points;switch(l.command){case"L":return t.getPointOnLine(e,l.start.x,l.start.y,a[0],a[1]);case"C":return t.getPointOnCubicBezier(e/l.pathLength,l.start.x,l.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return t.getPointOnQuadraticBezier(e/l.pathLength,l.start.x,l.start.y,a[0],a[1],a[2],a[3]);case"A":var o=a[0],s=a[1],u=a[2],c=a[3],d=a[4],p=a[5],f=a[6];return d+=p*e/l.pathLength,t.getPointOnEllipticalArc(o,s,u,c,d,f)}return null}}],[{key:"getLineLength",value:function(e,n,t,i){return Math.sqrt((t-e)*(t-e)+(i-n)*(i-n))}},{key:"getPointOnLine",value:function(e,n,t,i,r,l,a){void 0===l&&(l=n),void 0===a&&(a=t);var o=(r-t)/(i-n+1e-8),s=Math.sqrt(e*e/(1+o*o));i0&&!isNaN(f[0]);){var h,g,v,T,b,k,R,N,E,x,C=null,S=[],w=s,D=u;switch(p){case"l":s+=f.shift(),u+=f.shift(),C="L",S.push(s,u);break;case"L":s=f.shift(),u=f.shift(),S.push(s,u);break;case"m":var A=f.shift(),O=f.shift();if(s+=A,u+=O,C="M",a.length>2&&"z"===a[a.length-1].command)for(var L=a.length-2;L>=0;L--)if("M"===a[L].command){s=a[L].points[0]+A,u=a[L].points[1]+O;break}S.push(s,u),p="l";break;case"M":s=f.shift(),u=f.shift(),C="M",S.push(s,u),p="L";break;case"h":s+=f.shift(),C="L",S.push(s,u);break;case"H":s=f.shift(),C="L",S.push(s,u);break;case"v":u+=f.shift(),C="L",S.push(s,u);break;case"V":u=f.shift(),C="L",S.push(s,u);break;case"C":S.push(f.shift(),f.shift(),f.shift(),f.shift()),s=f.shift(),u=f.shift(),S.push(s,u);break;case"c":S.push(s+f.shift(),u+f.shift(),s+f.shift(),u+f.shift()),s+=f.shift(),u+=f.shift(),C="C",S.push(s,u);break;case"S":g=s,v=u,"C"===(h=a[a.length-1]).command&&(g=s+(s-h.points[2]),v=u+(u-h.points[3])),S.push(g,v,f.shift(),f.shift()),s=f.shift(),u=f.shift(),C="C",S.push(s,u);break;case"s":g=s,v=u,"C"===(h=a[a.length-1]).command&&(g=s+(s-h.points[2]),v=u+(u-h.points[3])),S.push(g,v,s+f.shift(),u+f.shift()),s+=f.shift(),u+=f.shift(),C="C",S.push(s,u);break;case"Q":S.push(f.shift(),f.shift()),s=f.shift(),u=f.shift(),S.push(s,u);break;case"q":S.push(s+f.shift(),u+f.shift()),s+=f.shift(),u+=f.shift(),C="Q",S.push(s,u);break;case"T":g=s,v=u,"Q"===(h=a[a.length-1]).command&&(g=s+(s-h.points[0]),v=u+(u-h.points[1])),s=f.shift(),u=f.shift(),C="Q",S.push(g,v,s,u);break;case"t":g=s,v=u,"Q"===(h=a[a.length-1]).command&&(g=s+(s-h.points[0]),v=u+(u-h.points[1])),s+=f.shift(),u+=f.shift(),C="Q",S.push(g,v,s,u);break;case"A":T=f.shift(),b=f.shift(),k=f.shift(),R=f.shift(),N=f.shift(),E=s,x=u,s=f.shift(),u=f.shift(),C="A",S=this.convertEndpointToCenterParameterization(E,x,s,u,R,N,T,b,k);break;case"a":T=f.shift(),b=f.shift(),k=f.shift(),R=f.shift(),N=f.shift(),E=s,x=u,s+=f.shift(),u+=f.shift(),C="A",S=this.convertEndpointToCenterParameterization(E,x,s,u,R,N,T,b,k)}a.push({command:C||p,points:S,start:{x:w,y:D},pathLength:this.calcLength(w,D,C||p,S)})}"z"!==p&&"Z"!==p||a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}},{key:"calcLength",value:function(e,n,i,r){var l,a,o,s,u=t;switch(i){case"L":return u.getLineLength(e,n,r[0],r[1]);case"C":for(l=0,a=u.getPointOnCubicBezier(0,e,n,r[0],r[1],r[2],r[3],r[4],r[5]),s=.01;s<=1;s+=.01)o=u.getPointOnCubicBezier(s,e,n,r[0],r[1],r[2],r[3],r[4],r[5]),l+=u.getLineLength(a.x,a.y,o.x,o.y),a=o;return l;case"Q":for(l=0,a=u.getPointOnQuadraticBezier(0,e,n,r[0],r[1],r[2],r[3]),s=.01;s<=1;s+=.01)o=u.getPointOnQuadraticBezier(s,e,n,r[0],r[1],r[2],r[3]),l+=u.getLineLength(a.x,a.y,o.x,o.y),a=o;return l;case"A":l=0;var c=r[4],d=r[5],p=r[4]+d,f=Math.PI/180;if(Math.abs(c-p)p;s-=f)o=u.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),l+=u.getLineLength(a.x,a.y,o.x,o.y),a=o;else for(s=c+f;s1&&(a*=Math.sqrt(p),o*=Math.sqrt(p));var f=Math.sqrt((a*a*(o*o)-a*a*(d*d)-o*o*(c*c))/(a*a*(d*d)+o*o*(c*c)));r===l&&(f*=-1),isNaN(f)&&(f=0);var m=f*a*d/o,y=f*-o*c/a,_=(e+t)/2+Math.cos(u)*m-Math.sin(u)*y,h=(n+i)/2+Math.sin(u)*m+Math.cos(u)*y,g=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},v=function(e,n){return(e[0]*n[0]+e[1]*n[1])/(g(e)*g(n))},T=function(e,n){return(e[0]*n[1]=1&&(N=0),0===l&&N>0&&(N-=2*Math.PI),1===l&&N<0&&(N+=2*Math.PI),[_,h,a,o,b,N,u,l]}}]),t}(CM);qM.prototype.className="Path",qM.prototype._attrsAffectingSize=["data"],MV(qM),lB.addGetterSetter(qM,"data");var WM=function(e){Ua(t,e);var n=Fa(t);function t(){return j(this,t),n.apply(this,arguments)}return Z(t,[{key:"_sceneFunc",value:function(e){IB(Pa(t.prototype),"_sceneFunc",this).call(this,e);var n=2*Math.PI,i=this.points(),r=i,l=0!==this.tension()&&i.length>4;l&&(r=this.getTensionPoints());var a,o,s=this.pointerLength(),u=i.length;if(l){var c=[r[r.length-4],r[r.length-3],r[r.length-2],r[r.length-1],i[u-2],i[u-1]],d=qM.calcLength(r[r.length-4],r[r.length-3],"C",c),p=qM.getPointOnQuadraticBezier(Math.min(1,1-s/d),c[0],c[1],c[2],c[3],c[4],c[5]);a=i[u-2]-p.x,o=i[u-1]-p.y}else a=i[u-2]-i[u-4],o=i[u-1]-i[u-3];var f=(Math.atan2(o,a)+n)%n,m=this.pointerWidth();this.pointerAtEnding()&&(e.save(),e.beginPath(),e.translate(i[u-2],i[u-1]),e.rotate(f),e.moveTo(0,0),e.lineTo(-s,m/2),e.lineTo(-s,-m/2),e.closePath(),e.restore(),this.__fillStroke(e)),this.pointerAtBeginning()&&(e.save(),e.beginPath(),e.translate(i[0],i[1]),l?(a=(r[0]+r[2])/2-i[0],o=(r[1]+r[3])/2-i[1]):(a=i[2]-i[0],o=i[3]-i[1]),e.rotate((Math.atan2(-o,-a)+n)%n),e.moveTo(0,0),e.lineTo(-s,m/2),e.lineTo(-s,-m/2),e.closePath(),e.restore(),this.__fillStroke(e))}},{key:"__fillStroke",value:function(e){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,e.setLineDash([])),e.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}},{key:"getSelfRect",value:function(){var e=IB(Pa(t.prototype),"getSelfRect",this).call(this),n=this.pointerWidth()/2;return{x:e.x-n,y:e.y-n,width:e.width+2*n,height:e.height+2*n}}}]),t}(HM);WM.prototype.className="Arrow",MV(WM),lB.addGetterSetter(WM,"pointerLength",10,YV()),lB.addGetterSetter(WM,"pointerWidth",10,YV()),lB.addGetterSetter(WM,"pointerAtBeginning",!1),lB.addGetterSetter(WM,"pointerAtEnding",!0);var GM=function(e){Ua(t,e);var n=Fa(t);function t(){return j(this,t),n.apply(this,arguments)}return Z(t,[{key:"_sceneFunc",value:function(e){e.beginPath(),e.arc(0,0,this.attrs.radius||0,0,2*Math.PI,!1),e.closePath(),e.fillStrokeShape(this)}},{key:"getWidth",value:function(){return 2*this.radius()}},{key:"getHeight",value:function(){return 2*this.radius()}},{key:"setWidth",value:function(e){this.radius()!==e/2&&this.radius(e/2)}},{key:"setHeight",value:function(e){this.radius()!==e/2&&this.radius(e/2)}}]),t}(CM);GM.prototype._centroid=!0,GM.prototype.className="Circle",GM.prototype._attrsAffectingSize=["radius"],MV(GM),lB.addGetterSetter(GM,"radius",0,YV());var KM=function(e){Ua(t,e);var n=Fa(t);function t(){return j(this,t),n.apply(this,arguments)}return Z(t,[{key:"_sceneFunc",value:function(e){var n=this.radiusX(),t=this.radiusY();e.beginPath(),e.save(),n!==t&&e.scale(1,t/n),e.arc(0,0,n,0,2*Math.PI,!1),e.restore(),e.closePath(),e.fillStrokeShape(this)}},{key:"getWidth",value:function(){return 2*this.radiusX()}},{key:"getHeight",value:function(){return 2*this.radiusY()}},{key:"setWidth",value:function(e){this.radiusX(e/2)}},{key:"setHeight",value:function(e){this.radiusY(e/2)}}]),t}(CM);KM.prototype.className="Ellipse",KM.prototype._centroid=!0,KM.prototype._attrsAffectingSize=["radiusX","radiusY"],MV(KM),lB.addComponentsGetterSetter(KM,"radius",["x","y"]),lB.addGetterSetter(KM,"radiusX",0,YV()),lB.addGetterSetter(KM,"radiusY",0,YV());var $M=function(e){Ua(t,e);var n=Fa(t);function t(e){var i;return j(this,t),(i=n.call(this,e)).on("imageChange.konva",(function(){i._setImageLoad()})),i._setImageLoad(),i}return Z(t,[{key:"_setImageLoad",value:function(){var e=this,n=this.image();n&&n.complete||n&&4===n.readyState||n&&n.addEventListener&&n.addEventListener("load",(function(){e._requestDraw()}))}},{key:"_useBufferCanvas",value:function(){return IB(Pa(t.prototype),"_useBufferCanvas",this).call(this,!0)}},{key:"_sceneFunc",value:function(e){var n,t=this.getWidth(),i=this.getHeight(),r=this.attrs.image;if(r){var l=this.attrs.cropWidth,a=this.attrs.cropHeight;n=l&&a?[r,this.cropX(),this.cropY(),l,a,0,0,t,i]:[r,0,0,t,i]}(this.hasFill()||this.hasStroke())&&(e.beginPath(),e.rect(0,0,t,i),e.closePath(),e.fillStrokeShape(this)),r&&e.drawImage.apply(e,n)}},{key:"_hitFunc",value:function(e){var n=this.width(),t=this.height();e.beginPath(),e.rect(0,0,n,t),e.closePath(),e.fillStrokeShape(this)}},{key:"getWidth",value:function(){var e,n;return null!==(e=this.attrs.width)&&void 0!==e?e:null===(n=this.image())||void 0===n?void 0:n.width}},{key:"getHeight",value:function(){var e,n;return null!==(e=this.attrs.height)&&void 0!==e?e:null===(n=this.image())||void 0===n?void 0:n.height}}],[{key:"fromURL",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=GV.createImageElement();r.onload=function(){var e=new t({image:r});n(e)},r.onerror=i,r.crossOrigin="Anonymous",r.src=e}}]),t}(CM);$M.prototype.className="Image",MV($M),lB.addGetterSetter($M,"image"),lB.addComponentsGetterSetter($M,"crop",["x","y","width","height"]),lB.addGetterSetter($M,"cropX",0,YV()),lB.addGetterSetter($M,"cropY",0,YV()),lB.addGetterSetter($M,"cropWidth",0,YV()),lB.addGetterSetter($M,"cropHeight",0,YV());var YM=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height"],QM="up",XM="right",eF="down",nF="left",tF=YM.length,iF=function(e){Ua(t,e);var n=Fa(t);function t(e){var i;return j(this,t),(i=n.call(this,e)).on("add.konva",(function(e){this._addListeners(e.child),this._sync()})),i}return Z(t,[{key:"getText",value:function(){return this.find("Text")[0]}},{key:"getTag",value:function(){return this.find("Tag")[0]}},{key:"_addListeners",value:function(e){var n,t=this,i=function(){t._sync()};for(n=0;n1&&(_+=a)}}}},{key:"_hitFunc",value:function(e){var n=this.getWidth(),t=this.getHeight();e.beginPath(),e.rect(0,0,n,t),e.closePath(),e.fillStrokeShape(this)}},{key:"setText",value:function(e){var n=GV._isString(e)?e:null===e||void 0===e?"":e+"";return this._setAttr("text",n),this}},{key:"getWidth",value:function(){return this.attrs.width===fF||void 0===this.attrs.width?this.getTextWidth()+2*this.padding():this.attrs.width}},{key:"getHeight",value:function(){return this.attrs.height===fF||void 0===this.attrs.height?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height}},{key:"getTextWidth",value:function(){return this.textWidth}},{key:"getTextHeight",value:function(){return GV.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}},{key:"measureSize",value:function(e){var n,t=bF(),i=this.fontSize();return t.save(),t.font=this._getContextFont(),n=t.measureText(e),t.restore(),{width:n.width,height:i}}},{key:"_getContextFont",value:function(){return this.fontStyle()+gF+this.fontVariant()+gF+(this.fontSize()+"px ")+this.fontFamily().split(",").map((function(e){var n=(e=e.trim()).indexOf(" ")>=0,t=e.indexOf('"')>=0||e.indexOf("'")>=0;return n&&!t&&(e='"'.concat(e,'"')),e})).join(", ")}},{key:"_addTextLine",value:function(e){this.align()===mF&&(e=e.trim());var n=this._getTextWidth(e);return this.textArr.push({text:e,width:n})}},{key:"_getTextWidth",value:function(e){var n=this.letterSpacing(),t=e.length;return bF().measureText(e).width+(t?n*(t-1):0)}},{key:"_setTextData",value:function(){var e=this.text().split("\n"),n=+this.fontSize(),t=0,i=this.lineHeight()*n,r=this.attrs.width,l=this.attrs.height,a=r!==fF&&void 0!==r,o=l!==fF&&void 0!==l,s=this.padding(),u=r-2*s,c=l-2*s,d=0,p=this.wrap(),f="none"!==p,m="char"!==p&&f,y=this.ellipsis();this.textArr=[],bF().font=this._getContextFont();for(var _=y?this._getTextWidth("\u2026"):0,h=0,g=e.length;hu)for(;v.length>0;){for(var b=0,k=v.length,R="",N=0;b>>1,x=v.slice(0,E+1),C=this._getTextWidth(x)+_;C<=u?(b=E+1,R=x,N=C):k=E}if(!R)break;if(m){var S,w=v[R.length];(S=(w===gF||"-"===w)&&N<=u?R.length:Math.max(R.lastIndexOf(gF),R.lastIndexOf("-"))+1)>0&&(b=S,R=R.slice(0,b),N=this._getTextWidth(R))}if(R=R.trimRight(),this._addTextLine(R),t=Math.max(t,N),d+=i,!f||o&&d+i>c){var D=this.textArr[this.textArr.length-1];if(D)if(y)this._getTextWidth(D.text+"\u2026")0&&(T=this._getTextWidth(v))<=u){this._addTextLine(v),d+=i,t=Math.max(t,T);break}}else this._addTextLine(v),d+=i,t=Math.max(t,T);if(o&&d+i>c)break}this.textHeight=n,this.textWidth=t}},{key:"getStrokeScaleEnabled",value:function(){return!0}}]),t}(CM);kF.prototype._fillFunc=function(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)},kF.prototype._strokeFunc=function(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)},kF.prototype.className="Text",kF.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight","letterSpacing"],MV(kF),lB.overWriteSetter(kF,"width",XV()),lB.overWriteSetter(kF,"height",XV()),lB.addGetterSetter(kF,"fontFamily","Arial"),lB.addGetterSetter(kF,"fontSize",12,YV()),lB.addGetterSetter(kF,"fontStyle",hF),lB.addGetterSetter(kF,"fontVariant",hF),lB.addGetterSetter(kF,"padding",0,YV()),lB.addGetterSetter(kF,"align",yF),lB.addGetterSetter(kF,"verticalAlign","top"),lB.addGetterSetter(kF,"lineHeight",1,YV()),lB.addGetterSetter(kF,"wrap","word"),lB.addGetterSetter(kF,"ellipsis",!1,tB()),lB.addGetterSetter(kF,"letterSpacing",0,YV()),lB.addGetterSetter(kF,"text","",eB()),lB.addGetterSetter(kF,"textDecoration","");var RF="normal";function NF(e){e.fillText(this.partialText,0,0)}function EF(e){e.strokeText(this.partialText,0,0)}var xF=function(e){Ua(t,e);var n=Fa(t);function t(e){var i;return j(this,t),(i=n.call(this,e)).dummyCanvas=GV.createCanvasElement(),i.dataArray=[],i.dataArray=qM.parsePathData(i.attrs.data),i.on("dataChange.konva",(function(){this.dataArray=qM.parsePathData(this.attrs.data),this._setTextData()})),i.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva fontSizeChange.konva",i._setTextData),i._setTextData(),i}return Z(t,[{key:"_sceneFunc",value:function(e){e.setAttr("font",this._getContextFont()),e.setAttr("textBaseline",this.textBaseline()),e.setAttr("textAlign","left"),e.save();var n=this.textDecoration(),t=this.fill(),i=this.fontSize(),r=this.glyphInfo;"underline"===n&&e.beginPath();for(var l=0;l=1){var t=n[0].p0;e.moveTo(t.x,t.y)}for(var i=0;i0&&(a+=e.dataArray[o].pathLength);var s=0;"center"===i&&(s=Math.max(0,a/2-l/2)),"right"===i&&(s=Math.max(0,a-l));for(var u,c,d,p=dF(this.text()),f=this.text().split(" ").length-1,m=-1,y=0,_=function(){y=0;for(var n=e.dataArray,t=m+1;t0)return m=t,n[t];"M"===n[t].command&&(u={x:n[t].points[0],y:n[t].points[1]})}return{}},h=function(n){var r=e._getTextSize(n).width+t;" "===n&&"justify"===i&&(r+=(a-l)/f);var o=0,s=0;for(c=void 0;Math.abs(r-o)/r>.01&&s<20;){s++;for(var p=o;void 0===d;)(d=_())&&p+d.pathLengthr?c=qM.getPointOnLine(r,u.x,u.y,d.points[0],d.points[1],u.x,u.y):d=void 0;break;case"A":var h=d.points[4],g=d.points[5],v=d.points[4]+g;0===y?y=h+1e-8:r>o?y+=Math.PI/180*g/Math.abs(g):y-=Math.PI/360*g/Math.abs(g),(g<0&&y=0&&y>v)&&(y=v,m=!0),c=qM.getPointOnEllipticalArc(d.points[0],d.points[1],d.points[2],d.points[3],y,d.points[6]);break;case"C":0===y?y=r>d.pathLength?1e-8:r/d.pathLength:r>o?y+=(r-o)/d.pathLength/2:y=Math.max(y-(o-r)/d.pathLength/2,0),y>1&&(y=1,m=!0),c=qM.getPointOnCubicBezier(y,d.start.x,d.start.y,d.points[0],d.points[1],d.points[2],d.points[3],d.points[4],d.points[5]);break;case"Q":0===y?y=r/d.pathLength:r>o?y+=(r-o)/d.pathLength:y-=(o-r)/d.pathLength,y>1&&(y=1,m=!0),c=qM.getPointOnQuadraticBezier(y,d.start.x,d.start.y,d.points[0],d.points[1],d.points[2],d.points[3])}void 0!==c&&(o=qM.getLineLength(u.x,u.y,c.x,c.y)),m&&(m=!1,d=void 0)}},g=s/(e._getTextSize("C").width+t)-1,v=0;v0&&void 0!==arguments[0]?arguments[0]:[];this._nodes&&this._nodes.length&&this.detach(),this._nodes=n,1===n.length&&this.useSingleNodeRotation()?this.rotation(n[0].getAbsoluteRotation()):this.rotation(0),this._nodes.forEach((function(n){var t=function(){1===e.nodes().length&&e.useSingleNodeRotation()&&e.rotation(e.nodes()[0].getAbsoluteRotation()),e._resetTransformCache(),e._transforming||e.isDragging()||e.update()},i=n._attrsAffectingSize.map((function(n){return n+"Change."+e._getEventNamespace()})).join(" ");n.on(i,t),n.on(DF.map((function(n){return n+".".concat(e._getEventNamespace())})).join(" "),t),n.on("absoluteTransformChange.".concat(e._getEventNamespace()),t),e._proxyDrag(n)})),this._resetTransformCache();var t=!!this.findOne(".top-left");return t&&this.update(),this}},{key:"_proxyDrag",value:function(e){var n,t=this;e.on("dragstart.".concat(this._getEventNamespace()),(function(i){n=e.getAbsolutePosition(),t.isDragging()||e===t.findOne(".back")||t.startDrag(i,!1)})),e.on("dragmove.".concat(this._getEventNamespace()),(function(i){if(n){var r=e.getAbsolutePosition(),l=r.x-n.x,a=r.y-n.y;t.nodes().forEach((function(n){if(n!==e&&!n.isDragging()){var t=n.getAbsolutePosition();n.setAbsolutePosition({x:t.x+l,y:t.y+a}),n.startDrag(i)}})),n=null}}))}},{key:"getNodes",value:function(){return this._nodes||[]}},{key:"getActiveAnchor",value:function(){return this._movingAnchorName}},{key:"detach",value:function(){var e=this;this._nodes&&this._nodes.forEach((function(n){n.off("."+e._getEventNamespace())})),this._nodes=[],this._resetTransformCache()}},{key:"_resetTransformCache",value:function(){this._clearCache(wF),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}},{key:"_getNodeRect",value:function(){return this._getCache(wF,this.__getNodeRect)}},{key:"__getNodeShape",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.rotation(),t=arguments.length>2?arguments[2]:void 0,i=e.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),r=e.getAbsoluteScale(t),l=e.getAbsolutePosition(t),a=i.x*r.x-e.offsetX()*r.x,o=i.y*r.y-e.offsetY()*r.y,s=(BV.getAngle(e.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI),u={x:l.x+a*Math.cos(s)+o*Math.sin(-s),y:l.y+o*Math.cos(s)+a*Math.sin(s),width:i.width*r.x,height:i.height*r.y,rotation:s};return IF(u,-BV.getAngle(n),{x:0,y:0})}},{key:"__getNodeRect",value:function(){var e=this;if(!this.getNode())return{x:-1e8,y:-1e8,width:0,height:0,rotation:0};var n=[];this.nodes().map((function(t){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:e.ignoreStroke()}),r=[{x:i.x,y:i.y},{x:i.x+i.width,y:i.y},{x:i.x+i.width,y:i.y+i.height},{x:i.x,y:i.y+i.height}],l=t.getAbsoluteTransform();r.forEach((function(e){var t=l.point(e);n.push(t)}))}));var t,i,r,l,a=new FV;a.rotate(-BV.getAngle(this.rotation())),n.forEach((function(e){var n=a.point(e);void 0===t&&(t=r=n.x,i=l=n.y),t=Math.min(t,n.x),i=Math.min(i,n.y),r=Math.max(r,n.x),l=Math.max(l,n.y)})),a.invert();var o=a.point({x:t,y:i});return{x:o.x,y:o.y,width:r-t,height:l-i,rotation:BV.getAngle(this.rotation())}}},{key:"getX",value:function(){return this._getNodeRect().x}},{key:"getY",value:function(){return this._getNodeRect().y}},{key:"getWidth",value:function(){return this._getNodeRect().width}},{key:"getHeight",value:function(){return this._getNodeRect().height}},{key:"_createElements",value:function(){this._createBack(),LF.forEach(function(e){this._createAnchor(e)}.bind(this)),this._createAnchor("rotater")}},{key:"_createAnchor",value:function(e){var n=this,t=new lF({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:e+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:OF?10:"auto"}),i=this;t.on("mousedown touchstart",(function(e){i._handleMouseDown(e)})),t.on("dragstart",(function(e){t.stopDrag(),e.cancelBubble=!0})),t.on("dragend",(function(e){e.cancelBubble=!0})),t.on("mouseenter",(function(){var i=BV.getAngle(n.rotation()),r=function(e,n){if("rotater"===e)return"crosshair";n+=GV.degToRad(AF[e]||0);var t=(GV.radToDeg(n)%360+360)%360;return GV._inRange(t,337.5,360)||GV._inRange(t,0,22.5)?"ns-resize":GV._inRange(t,22.5,67.5)?"nesw-resize":GV._inRange(t,67.5,112.5)?"ew-resize":GV._inRange(t,112.5,157.5)?"nwse-resize":GV._inRange(t,157.5,202.5)?"ns-resize":GV._inRange(t,202.5,247.5)?"nesw-resize":GV._inRange(t,247.5,292.5)?"ew-resize":GV._inRange(t,292.5,337.5)?"nwse-resize":(GV.error("Transformer has unknown angle for cursor detection: "+t),"pointer")}(e,i);t.getStage().content&&(t.getStage().content.style.cursor=r),n._cursorChange=!0})),t.on("mouseout",(function(){t.getStage().content&&(t.getStage().content.style.cursor=""),n._cursorChange=!1})),this.add(t)}},{key:"_createBack",value:function(){var e=this,n=new CM({name:"back",width:0,height:0,draggable:!0,sceneFunc:function(e){var n=this.getParent(),t=n.padding();e.beginPath(),e.rect(-t,-t,this.width()+2*t,this.height()+2*t),e.moveTo(this.width()/2,-t),n.rotateEnabled()&&e.lineTo(this.width()/2,-n.rotateAnchorOffset()*GV._sign(this.height())-t),e.fillStrokeShape(this)},hitFunc:function(n,t){if(e.shouldOverdrawWholeArea()){var i=e.padding();n.beginPath(),n.rect(-i,-i,t.width()+2*i,t.height()+2*i),n.fillStrokeShape(t)}}});this.add(n),this._proxyDrag(n),n.on("dragstart",(function(e){e.cancelBubble=!0})),n.on("dragmove",(function(e){e.cancelBubble=!0})),n.on("dragend",(function(e){e.cancelBubble=!0})),this.on("dragmove",(function(n){e.update()}))}},{key:"_handleMouseDown",value:function(e){this._movingAnchorName=e.target.name().split(" ")[0];var n=this._getNodeRect(),t=n.width,i=n.height,r=Math.sqrt(Math.pow(t,2)+Math.pow(i,2));this.sin=Math.abs(i/r),this.cos=Math.abs(t/r),"undefined"!==typeof window&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var l=e.target.getAbsolutePosition(),a=e.target.getStage().getPointerPosition();this._anchorDragOffset={x:a.x-l.x,y:a.y-l.y},this._fire("transformstart",{evt:e,target:this.getNode()}),this._nodes.forEach((function(n){n._fire("transformstart",{evt:e,target:n})}))}},{key:"_handleMouseMove",value:function(e){var n,t,i,r=this.findOne("."+this._movingAnchorName),l=r.getStage();l.setPointersPositions(e);var a=l.getPointerPosition(),o={x:a.x-this._anchorDragOffset.x,y:a.y-this._anchorDragOffset.y},s=r.getAbsolutePosition();this.anchorDragBoundFunc()&&(o=this.anchorDragBoundFunc()(s,o,e)),r.setAbsolutePosition(o);var u=r.getAbsolutePosition();if(s.x!==u.x||s.y!==u.y)if("rotater"!==this._movingAnchorName){var c=this.keepRatio()||e.shiftKey,d=this.centeredScaling()||e.altKey;if("top-left"===this._movingAnchorName){if(c){var p=d?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(p.x-r.x(),2)+Math.pow(p.y-r.y(),2));var f=this.findOne(".top-left").x()>p.x?-1:1,m=this.findOne(".top-left").y()>p.y?-1:1;n=i*this.cos*f,t=i*this.sin*m,this.findOne(".top-left").x(p.x-n),this.findOne(".top-left").y(p.y-t)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(r.y());else if("top-right"===this._movingAnchorName){if(c){p=d?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(r.x()-p.x,2)+Math.pow(p.y-r.y(),2));f=this.findOne(".top-right").x()p.y?-1:1;n=i*this.cos*f,t=i*this.sin*m,this.findOne(".top-right").x(p.x+n),this.findOne(".top-right").y(p.y-t)}var y=r.position();this.findOne(".top-left").y(y.y),this.findOne(".bottom-right").x(y.x)}else if("middle-left"===this._movingAnchorName)this.findOne(".top-left").x(r.x());else if("middle-right"===this._movingAnchorName)this.findOne(".bottom-right").x(r.x());else if("bottom-left"===this._movingAnchorName){if(c){p=d?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(p.x-r.x(),2)+Math.pow(r.y()-p.y,2));f=p.x=0){var a=l.point({x:2*-this.padding(),y:0});if(e.x+=a.x,e.y+=a.y,e.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=a.x,this._anchorDragOffset.y-=a.y,!r)return void this.update()}else if(this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("right")>=0){var o=l.point({x:2*this.padding(),y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=o.x,this._anchorDragOffset.y-=o.y,e.width+=2*this.padding(),!r)return void this.update()}if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("top")>=0){var s=l.point({x:0,y:2*-this.padding()});if(e.x+=s.x,e.y+=s.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=s.x,this._anchorDragOffset.y-=s.y,e.height+=2*this.padding(),!r)return void this.update()}else if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("bottom")>=0){var u=l.point({x:0,y:2*this.padding()});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=u.x,this._anchorDragOffset.y-=u.y,e.height+=2*this.padding(),!r)return void this.update()}if(this.boundBoxFunc()){var c=this.boundBoxFunc()(i,e);c?e=c:GV.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}var d=1e7,p=new FV;p.translate(i.x,i.y),p.rotate(i.rotation),p.scale(i.width/d,i.height/d);var f=new FV;f.translate(e.x,e.y),f.rotate(e.rotation),f.scale(e.width/d,e.height/d);var m=f.multiply(p.invert());this._nodes.forEach((function(e){var i,r=e.getParent().getAbsoluteTransform(),l=e.getTransform().copy();l.translate(e.offsetX(),e.offsetY());var a=new FV;a.multiply(r.copy().invert()).multiply(m).multiply(r).multiply(l);var o=a.decompose();e.setAttrs(o),t._fire("transform",{evt:n,target:e}),e._fire("transform",{evt:n,target:e}),null===(i=e.getLayer())||void 0===i||i.batchDraw()})),this.rotation(GV._getRotation(e.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}}},{key:"forceUpdate",value:function(){this._resetTransformCache(),this.update()}},{key:"_batchChangeChild",value:function(e,n){this.findOne(e).setAttrs(n)}},{key:"update",value:function(){var e,n=this,t=this._getNodeRect();this.rotation(GV._getRotation(t.rotation));var i=t.width,r=t.height,l=this.enabledAnchors(),a=this.resizeEnabled(),o=this.padding(),s=this.anchorSize();this.find("._anchor").forEach((function(e){e.setAttrs({width:s,height:s,offsetX:s/2,offsetY:s/2,stroke:n.anchorStroke(),strokeWidth:n.anchorStrokeWidth(),fill:n.anchorFill(),cornerRadius:n.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:s/2+o,offsetY:s/2+o,visible:a&&l.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:i/2,y:0,offsetY:s/2+o,visible:a&&l.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:i,y:0,offsetX:s/2-o,offsetY:s/2+o,visible:a&&l.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:r/2,offsetX:s/2+o,visible:a&&l.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:i,y:r/2,offsetX:s/2-o,visible:a&&l.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:r,offsetX:s/2+o,offsetY:s/2-o,visible:a&&l.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:i/2,y:r,offsetY:s/2-o,visible:a&&l.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:i,y:r,offsetX:s/2-o,offsetY:s/2-o,visible:a&&l.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:i/2,y:-this.rotateAnchorOffset()*GV._sign(r)-o,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:i,height:r,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),null===(e=this.getLayer())||void 0===e||e.batchDraw()}},{key:"isTransforming",value:function(){return this._transforming}},{key:"stopTransform",value:function(){if(this._transforming){this._removeEvents();var e=this.findOne("."+this._movingAnchorName);e&&e.stopDrag()}}},{key:"destroy",value:function(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),OM.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}},{key:"toObject",value:function(){return AB.prototype.toObject.call(this)}}]),t}(OM);PF.prototype.className="Transformer",MV(PF),lB.addGetterSetter(PF,"enabledAnchors",LF,(function(e){return e instanceof Array||GV.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach((function(e){-1===LF.indexOf(e)&&GV.warn("Unknown anchor name: "+e+". Available names are: "+LF.join(", "))})),e||[]})),lB.addGetterSetter(PF,"flipEnabled",!0,tB()),lB.addGetterSetter(PF,"resizeEnabled",!0),lB.addGetterSetter(PF,"anchorSize",10,YV()),lB.addGetterSetter(PF,"rotateEnabled",!0),lB.addGetterSetter(PF,"rotationSnaps",[]),lB.addGetterSetter(PF,"rotateAnchorOffset",50,YV()),lB.addGetterSetter(PF,"rotationSnapTolerance",5,YV()),lB.addGetterSetter(PF,"borderEnabled",!0),lB.addGetterSetter(PF,"anchorStroke","rgb(0, 161, 255)"),lB.addGetterSetter(PF,"anchorStrokeWidth",1,YV()),lB.addGetterSetter(PF,"anchorFill","white"),lB.addGetterSetter(PF,"anchorCornerRadius",0,YV()),lB.addGetterSetter(PF,"borderStroke","rgb(0, 161, 255)"),lB.addGetterSetter(PF,"borderStrokeWidth",1,YV()),lB.addGetterSetter(PF,"borderDash"),lB.addGetterSetter(PF,"keepRatio",!0),lB.addGetterSetter(PF,"centeredScaling",!1),lB.addGetterSetter(PF,"ignoreStroke",!1),lB.addGetterSetter(PF,"padding",0,YV()),lB.addGetterSetter(PF,"node"),lB.addGetterSetter(PF,"nodes"),lB.addGetterSetter(PF,"boundBoxFunc"),lB.addGetterSetter(PF,"anchorDragBoundFunc"),lB.addGetterSetter(PF,"shouldOverdrawWholeArea",!1),lB.addGetterSetter(PF,"useSingleNodeRotation",!0),lB.backCompat(PF,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});var VF=function(e){Ua(t,e);var n=Fa(t);function t(){return j(this,t),n.apply(this,arguments)}return Z(t,[{key:"_sceneFunc",value:function(e){e.beginPath(),e.arc(0,0,this.radius(),0,BV.getAngle(this.angle()),this.clockwise()),e.lineTo(0,0),e.closePath(),e.fillStrokeShape(this)}},{key:"getWidth",value:function(){return 2*this.radius()}},{key:"getHeight",value:function(){return 2*this.radius()}},{key:"setWidth",value:function(e){this.radius(e/2)}},{key:"setHeight",value:function(e){this.radius(e/2)}}]),t}(CM);function BF(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}VF.prototype.className="Wedge",VF.prototype._centroid=!0,VF.prototype._attrsAffectingSize=["radius"],MV(VF),lB.addGetterSetter(VF,"radius",0,YV()),lB.addGetterSetter(VF,"angle",0,YV()),lB.addGetterSetter(VF,"clockwise",!1),lB.backCompat(VF,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});var MF=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],FF=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];lB.addGetterSetter(AB,"blurRadius",0,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"brightness",0,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"contrast",0,YV(),lB.afterSetFilter);function jF(e,n,t,i,r){var l=t-n,a=r-i;return 0===l?i+a/2:0===a?i:a*((e-n)/l)+i}lB.addGetterSetter(AB,"embossStrength",.5,YV(),lB.afterSetFilter),lB.addGetterSetter(AB,"embossWhiteLevel",.5,YV(),lB.afterSetFilter),lB.addGetterSetter(AB,"embossDirection","top-left",null,lB.afterSetFilter),lB.addGetterSetter(AB,"embossBlend",!1,null,lB.afterSetFilter);lB.addGetterSetter(AB,"enhance",0,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"hue",0,YV(),lB.afterSetFilter),lB.addGetterSetter(AB,"saturation",0,YV(),lB.afterSetFilter),lB.addGetterSetter(AB,"luminance",0,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"hue",0,YV(),lB.afterSetFilter),lB.addGetterSetter(AB,"saturation",0,YV(),lB.afterSetFilter),lB.addGetterSetter(AB,"value",0,YV(),lB.afterSetFilter);function JF(e,n,t){var i=4*(t*e.width+n),r=[];return r.push(e.data[i++],e.data[i++],e.data[i++],e.data[i++]),r}function ZF(e,n){return Math.sqrt(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)+Math.pow(e[2]-n[2],2))}lB.addGetterSetter(AB,"kaleidoscopePower",2,YV(),lB.afterSetFilter),lB.addGetterSetter(AB,"kaleidoscopeAngle",0,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"threshold",0,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"noise",.2,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"pixelSize",8,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"levels",.5,YV(),lB.afterSetFilter);lB.addGetterSetter(AB,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),lB.addGetterSetter(AB,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),lB.addGetterSetter(AB,"blue",0,$V,lB.afterSetFilter);lB.addGetterSetter(AB,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),lB.addGetterSetter(AB,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),lB.addGetterSetter(AB,"blue",0,$V,lB.afterSetFilter),lB.addGetterSetter(AB,"alpha",1,(function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e}));lB.addGetterSetter(AB,"threshold",.5,YV(),lB.afterSetFilter);jM.Util._assign(jM,{Arc:JM,Arrow:WM,Circle:GM,Ellipse:KM,Image:$M,Label:iF,Tag:rF,Line:HM,Path:qM,Rect:lF,RegularPolygon:aF,Ring:sF,Sprite:uF,Star:cF,Text:kF,TextPath:xF,Transformer:PF,Wedge:VF,Filters:{Blur:function(e){var n=Math.round(this.blurRadius());n>0&&function(e,n){var t,i,r,l,a,o,s,u,c,d,p,f,m,y,_,h,g,v,T,b,k,R,N,E,x=e.data,C=e.width,S=e.height,w=n+n+1,D=C-1,A=S-1,O=n+1,L=O*(O+1)/2,I=new BF,U=null,P=I,V=null,B=null,M=MF[n],F=FF[n];for(r=1;r>F,0!==N?(N=255/N,x[o]=(u*M>>F)*N,x[o+1]=(c*M>>F)*N,x[o+2]=(d*M>>F)*N):x[o]=x[o+1]=x[o+2]=0,u-=f,c-=m,d-=y,p-=_,f-=V.r,m-=V.g,y-=V.b,_-=V.a,l=s+((l=t+n+1)>F,N>0?(N=255/N,x[l]=(u*M>>F)*N,x[l+1]=(c*M>>F)*N,x[l+2]=(d*M>>F)*N):x[l]=x[l+1]=x[l+2]=0,u-=f,c-=m,d-=y,p-=_,f-=V.r,m-=V.g,y-=V.b,_-=V.a,l=t+((l=i+O)255?255:l,a=(a*=255)<0?0:a>255?255:a,o=(o*=255)<0?0:o>255?255:o,i[n]=l,i[n+1]=a,i[n+2]=o},Emboss:function(e){var n=10*this.embossStrength(),t=255*this.embossWhiteLevel(),i=this.embossDirection(),r=this.embossBlend(),l=0,a=0,o=e.data,s=e.width,u=e.height,c=4*s,d=u;switch(i){case"top-left":l=-1,a=-1;break;case"top":l=-1,a=0;break;case"top-right":l=-1,a=1;break;case"right":l=0,a=1;break;case"bottom-right":l=1,a=1;break;case"bottom":l=1,a=0;break;case"bottom-left":l=1,a=-1;break;case"left":l=0,a=-1;break;default:GV.error("Unknown emboss direction: "+i)}do{var p=(d-1)*c,f=l;d+f<1&&(f=0),d+f>u&&(f=0);var m=(d-1+f)*s*4,y=s;do{var _=p+4*(y-1),h=a;y+h<1&&(h=0),y+h>s&&(h=0);var g=m+4*(y-1+h),v=o[_]-o[g],T=o[_+1]-o[g+1],b=o[_+2]-o[g+2],k=v,R=k>0?k:-k;if((T>0?T:-T)>R&&(k=T),(b>0?b:-b)>R&&(k=b),k*=n,r){var N=o[_]+k,E=o[_+1]+k,x=o[_+2]+k;o[_]=N>255?255:N<0?0:N,o[_+1]=E>255?255:E<0?0:E,o[_+2]=x>255?255:x<0?0:x}else{var C=t-k;C<0?C=0:C>255&&(C=255),o[_]=o[_+1]=o[_+2]=C}}while(--y)}while(--d)},Enhance:function(e){var n,t,i,r,l=e.data,a=l.length,o=l[0],s=o,u=l[1],c=u,d=l[2],p=d,f=this.enhance();if(0!==f){for(r=0;rs&&(s=n),(t=l[r+1])c&&(c=t),(i=l[r+2])p&&(p=i);var m,y,_,h,g,v,T,b,k;for(s===o&&(s=255,o=0),c===u&&(c=255,u=0),p===d&&(p=255,d=0),f>0?(y=s+f*(255-s),_=o-f*(o-0),g=c+f*(255-c),v=u-f*(u-0),b=p+f*(255-p),k=d-f*(d-0)):(y=s+f*(s-(m=.5*(s+o))),_=o+f*(o-m),g=c+f*(c-(h=.5*(c+u))),v=u+f*(u-h),b=p+f*(p-(T=.5*(p+d))),k=d+f*(d-T)),r=0;rh?a:h;var g,v,T,b,k=c,R=u,N=360/R*Math.PI/180;for(v=0;vc&&(v=g,T=0,b=-1),t=0;tv?s:v;var T,b,k,R=p,N=d,E=t.polarRotation||0;for(r=0;r=0&&f=0&&m=0&&f=0&&m=1020?255:0}return a}(n,e.width,e.height),n=function(e,n,t){for(var i=[1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9],r=Math.round(Math.sqrt(i.length)),l=Math.floor(r/2),a=[],o=0;o=0&&f=0&&m=_))for(t=c;t=h||(r+=T[(i=4*(_*t+n))+0],l+=T[i+1],a+=T[i+2],o+=T[i+3],m+=1);for(r/=m,l/=m,a/=m,o/=m,n=s;n=_))for(t=c;t=h||(T[(i=4*(_*t+n))+0]=r,T[i+1]=l,T[i+2]=a,T[i+3]=o)}},Posterize:function(e){var n,t=Math.round(254*this.levels())+1,i=e.data,r=i.length,l=255/t;for(n=0;n127&&(s=255-s),u>127&&(u=255-u),c>127&&(c=255-c),n[o]=s,n[o+1]=u,n[o+2]=c}while(--a)}while(--r)},Threshold:function(e){var n,t=255*this.threshold(),i=e.data,r=i.length;for(n=0;n2&&void 0!==arguments[2]?arguments[2]:ej;if(n===t&&console.error("same props"),!GF&&"zIndex"in n&&(console.warn(XF),GF=!0),!KF&&n.draggable){var i=void 0!==n.x||void 0!==n.y,r=n.onDragEnd||n.onDragMove;i&&!r&&(console.warn(QF),KF=!0)}for(var l in t)if(!WF[l]){var a="on"===l.slice(0,2),o=t[l]!==n[l];if(a&&o)"content"===(m=l.substr(2).toLowerCase()).substr(0,7)&&(m="content"+m.substr(7,1).toUpperCase()+m.substr(8)),e.off(m,t[l]);var s=!n.hasOwnProperty(l);s&&e.setAttr(l,void 0)}var u=YF||n._useStrictMode,c={},d=!1,p={};for(var l in n)if(!WF[l]){a="on"===l.slice(0,2);var f=t[l]!==n[l];if(a&&f)"content"===(m=l.substr(2).toLowerCase()).substr(0,7)&&(m="content"+m.substr(7,1).toUpperCase()+m.substr(8)),n[l]&&(p[m]=n[l]);!a&&(n[l]!==t[l]||u&&n[l]!==e.getAttr(l))&&(d=!0,c[l]=n[l])}for(var m in d&&(e.setAttrs(c),tj(e)),p)e.on(m+$F,p[m])}function tj(e){if(!BV.autoDrawEnabled){var n=e.getLayer()||e.getStage();n&&n.batchDraw()}}var ij=t(5296),rj={},lj={};function aj(e,n){"string"!==typeof n?(e.add(n),tj(e)):console.error("Do not use plain text as child of Konva.Node. You are using text: "+n)}function oj(e,n,t){var i=zF[e];i||(console.error("Konva has no node with the type "+e+'. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/'+e+'" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html'),i=zF.Group);var r={},l={};for(var a in n){"on"===a.slice(0,2)?l[a]=n[a]:r[a]=n[a]}var o=new i(r);return nj(o,l),o}function sj(e,n,t){console.error('Text components are not supported for now in ReactKonva. Your text is: "'+e+'"')}function uj(e,n,t){return!1}function cj(e){return e}function dj(){return null}function pj(){return null}function fj(e,n,t,i){return lj}function mj(){}function yj(e){}function _j(e,n){return!1}function hj(){return rj}function gj(){return rj}zF.Node.prototype._applyProps=nj;var vj=setTimeout,Tj=clearTimeout,bj=-1;function kj(e,n){return!1}var Rj=!1,Nj=!0,Ej=!0;function xj(e,n){n.parent===e?n.moveToTop():e.add(n),tj(e)}function Cj(e,n){n.parent===e?n.moveToTop():e.add(n),tj(e)}function Sj(e,n,t){n._remove(),e.add(n),n.setZIndex(t.getZIndex()),tj(e)}function wj(e,n,t){Sj(e,n,t)}function Dj(e,n){n.destroy(),n.off($F),tj(e)}function Aj(e,n){n.destroy(),n.off($F),tj(e)}function Oj(e,n,t){console.error('Text components are not yet supported in ReactKonva. You text is: "'+t+'"')}function Lj(e,n,t){}function Ij(e,n,t,i,r){nj(e,r,i)}function Uj(e){e.hide(),tj(e)}function Pj(e){}function Vj(e,n){(null==n.visible||n.visible)&&e.show()}function Bj(e,n){}function Mj(e){}var Fj=Object.assign||function(e){for(var n=1;n The map should contain at three sub arrays",n);if(n.some((function(e){return 3!==e.length})))throw Error("Matrix must be 3x3 => All rows must contain three entries.",n);return n}var iJ=function(e){return e[0][2]/e[2][2]},rJ=function(e){return e[1][2]/e[2][2]},lJ=function(e){return{x:iJ(e),y:rJ(e)}},aJ=function(e){return Math.atan2(e[1][0],e[0][0])},oJ=function(e){var n=e.x,t=e.y;return Math.sqrt(n*n+t*t)},sJ=function(e){return oJ({x:e[0][0],y:e[1][0]})/e[2][2]},uJ=function(e){return oJ({x:e[0][1],y:e[1][1]})/e[2][2]},cJ=function(e){return{x:sJ(e),y:uJ(e)}};var dJ=function(e,n){var t=e[2][0]*n.x+e[2][1]*n.y+e[2][2];return{x:(e[0][0]*n.x+e[0][1]*n.y+e[0][2])/t,y:(e[1][0]*n.x+e[1][1]*n.y+e[1][2])/t}};function pJ(e){var n,t=e.rect,i=e.stroke,r=e.strokeWidth,l=e.matrix,a=e.imageSize,s=(e.getNextTextOffset,e.overlayOpacity,e.imageScale,function(e){var n=e.slice(1,-1).split(",").map(parseFloat),t=(0,o.Z)(n,4),i=t[0],r=t[1],l=t[2],a=t[3];return{left:i,top:r,right:l,bottom:a,x:i,y:r,width:Math.abs(l-i),height:Math.abs(a-r)}}(t)),u=s.left,c=s.top,d=s.right,p=s.bottom,f=[{x:u,y:c},{x:d,y:c},{x:d,y:p},{x:u,y:p}].map(dJ.bind(null,l)),m=Y(f);try{for(m.s();!(n=m.n()).done;){var y=n.value,_=y.x,h=y.y;(h<0||h>a.height)&&console.error("y coordinat ".concat(h," is outside image (0..").concat(a.height,")")),(_<0||_>a.width)&&console.error("x coordinat ".concat(_," is outside image (0..").concat(a.width,")")),"Overlay is drawn outside image"}}catch(v){m.e(v)}finally{m.f()}var g=f.reduce((function(e,n){var t=n.x,i=n.y;return[].concat((0,z.Z)(e),[t,i])}),[]);return(0,oa.jsxs)(oa.Fragment,{children:[!1,(0,oa.jsx)(Jj,{points:g,closed:!0,stroke:i,strokeWidth:r})]})}function fJ(e){var n=e.point,t=e.radius,i=e.stroke,r=e.strokeWidth,l=e.imageScale,a=e.matrix,o=nJ(t,l),s=mJ(n),u=dJ(a,s);return(0,oa.jsx)("Circle",{radius:o,x:u.x,y:u.y,stroke:i,strokeWidth:r})}var mJ=function(e){var n=e.slice(1,e.length-2).split(",").map(parseFloat),t=(0,o.Z)(n,2);return{x:t[0],y:t[1]}};function yJ(e){var n=e.point,t=e.size,i=e.stroke,r=e.strokeWidth,l=e.matrix,a=e.imageScale,s=(m(e,Yj),mJ(n)),u=s.x,c=s.y,d=nJ(t,a)/2;return[[{x:u-d,y:c-d},{x:u+d,y:c+d}],[{x:u-d,y:c+d},{x:u+d,y:c-d}]].map((function(e,n){var t=e.map(dJ.bind(null,l)),a=(0,o.Z)(t,2),s=a[0],u=a[1];return(0,oa.jsx)(Jj,{points:[s.x,s.y,u.x,u.y],stroke:i,strokeWidth:r},n)}))}function _J(e){var n=e.isClosed,t=e.tension,i=e.points,r=e.stroke,l=e.strokeWidth,a=e.matrix,o=i.map(dJ.bind(null,a)).reduce((function(e,n){var t=n.x,i=n.y;return[].concat((0,z.Z)(e),[t,i])}),[]);return(0,oa.jsx)(Jj,{points:o,stroke:r,strokeWidth:l,closed:null===n||void 0===n||n,tension:parseFloat(t)})}function hJ(e){var n=e.startPoint,t=e.endPoint,i=e.stroke,r=e.strokeWidth,l=e.matrix,a=[n,t].map(mJ).map(dJ.bind(null,l)).reduce((function(e,n){var t=n.x,i=n.y;return[].concat((0,z.Z)(e),[t,i])}),[]);return(0,oa.jsx)(Jj,{points:a,stroke:i,strokeWidth:r})}function gJ(e){e.format;var n=e.text,t=e.type,i=e.overlayOpacity,r=12/e.imageScale,l=(0,e.getNextTextOffset)()*-r,a=function(e){return($j[e]||{color:Gj}).color}(t);return(0,oa.jsx)(oa.Fragment,{children:(0,oa.jsxs)("Label",{children:[(0,oa.jsx)("Tag",{fill:Kj,offsetY:l,opacity:.5*i}),(0,oa.jsx)(Zj,{text:n,offsetY:l,fontSize:r,fill:a,opacity:i})]})})}function vJ(e){var n=e.runLengthString,t=e.offset,i=e.scale,r=e.color,l=(m(e,Qj),"TVRUNLENGTHIMAGE");if(n.length<=l.length)return console.log("runlength string too short. Minimum length ".concat(l.length,", but found ").concat(n.length)),(0,oa.jsx)(oa.Fragment,{});var a=n[l.length],s=UV(n.split(a)),u=s[0],c=(s[1],s.slice(2));if(l!==u)return console.log('Wrong magic found! Expected "'.concat(l,'" but found "').concat(u,'"')),(0,oa.jsx)(oa.Fragment,{});var d,p=c.reduce((function(e,n,r){var l=i.y*r+t.y,a=n.slice(1,-1);if(0===a.length)return e;var s=a.split("]").filter(Boolean).map((function(e){var n=e.slice(1).split(","),r=(0,o.Z)(n,2),l=r[0],a=r[1];return{x1:i.x*parseInt(l)+t.x,x2:i.x*parseInt(a)+t.x}}));return[].concat((0,z.Z)(e),[{row:l,cols:s}])}),[]),f=(d=r,"rgba("+[(16711680&(d>>>=0))>>>16,(65280&d)>>>8,255&d,((4278190080&d)>>>24)/255].join(",")+")"),y=Math.max(i.x,i.y);return(0,oa.jsx)(oa.Fragment,{children:p.map((function(e,n){var t=e.row;return e.cols.map((function(e,i){var r=e.x1,l=e.x2;return(0,oa.jsx)(Jj,{points:[r,t,l,t],stroke:f,strokeWidth:y},"".concat(n,"_").concat(i))}))}))})}function TJ(e){var n,t,i,r=e.DrawableType,l=e.overlayOpacity,a=e.imageScale,s=e.imageSize,u=e.getNextTextOffset,c=m(e,Xj),d=null!==(n=null!==(t=null!==(i=c.UsePenWidth)&&void 0!==i?i:c.UseWidth)&&void 0!==t?t:c.PenWidth)&&void 0!==n&&n,f=function(e){var n=e.penColor,t=e.penWidth,i=e.usePenWidth,r=e.overlayOpacity,l=e.imageScale,a=i?nJ(t,l)/3:eJ("10px",l),o=function(e){var n=parseInt(e,16),t=n>>24&255,i=n>>8&255,l=255&n;return"rgba(".concat(n>>16&255,",").concat(i,",").concat(l,",").concat(t/(255/r),")")}(parseInt(n).toString(16));return{stroke:o,strokeRgba:o,strokeWidth:a}}({penColor:c.PenColor,penWidth:c.PenWidth,usePenWidth:d,overlayOpacity:l,imageScale:a}),y=f.stroke,_=f.strokeWidth,h=function(){var e=tJ(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"[[1,0,0][0,1,0][0,0,1]]");var n=lJ(e),t=aJ(e),i=cJ(e);return{offset:n,angleRad:t,scale:i,matrix:e}}(c.Map),g=h.matrix,v=h.offset,T=h.scale,b={overlayOpacity:l,imageScale:a,imageSize:s,stroke:y,strokeWidth:_,matrix:g};switch(r){case"Rect":return(0,oa.jsx)(pJ,p({rect:c.Rect,getNextTextOffset:u},b));case"Circle":return(0,oa.jsx)(fJ,p({point:c.Point,radius:c.Radius},b));case"Cross":return(0,oa.jsx)(yJ,p({point:c.Point,size:c.Size},b));case"Curve":return(0,oa.jsx)(_J,p({isClosed:c.IsClosed,numPoints:c.NumPoints,tension:c.Tension,points:function(e){var n="Point",t=n.length,i=Object.entries(e).filter((function(e){var t=(0,o.Z)(e,2),i=t[0];return t[1],i.startsWith(n)})).sort((function(e,n){return parseInt(e[0].slice(t))0||navigator.msMaxTouchPoints>0),onWheel:function(e){if(e.evt.preventDefault(),null!==m.current){var n=E(),t=function(){var e;return(null===m||void 0===m||null===(e=m.current)||void 0===e?void 0:e.getPointerPosition())||{x:0,y:0}}(),i=S(),r=(t.x-i.x)/n,l=(t.y-i.y)/n,a=e.evt.deltaY<0?1.01*n:n/1.01;D(a),C(t.x-r*a,t.y-l*a),w()}},onTouchMove:function(e){var n=(0,o.Z)(e.evt.touches,2),t=n[0],i=n[1],r=m.current;if(null!==r&&t&&i){e.evt.preventDefault(),r.isDragging()&&r.stopDrag();var l={x:t.clientX,y:t.clientY},a={x:i.clientX,y:i.clientY};if(!R)return R=xJ(l,a);var s=xJ(l,a),u=function(e,n){return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}(l,a);N||(N=u);var c=E(),d=S(),p=(s.x-d.x)/c,f=(s.y-d.y)/c,y=c*(u/N);D(y);var _=s.x-R.x,h=s.y-R.y;C(s.x-p*y+_,s.y-f*y+h),w(),N=u,R=s}},onTouchEnd:function(){R=null,N=0},ref:m,children:(0,oa.jsxs)("Layer",{children:[(0,oa.jsx)("Image",{image:T}),(0,oa.jsx)(kJ,{overlays:r,overlaysEnabled:i,overlayOpacity:a,showDebugOverlay:u,imageScale:.5*p,imageSize:A})]})})}function SJ(e){var n=e.padding,t=void 0===n?24:n,i=m(e,EJ),r=(0,l.useRef)(),a=function(){var e=(0,l.useState)({width:void 0,height:void 0}),n=(0,o.Z)(e,2),t=n[0],i=n[1];return(0,l.useEffect)((function(){var e=function(){return i({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),t}(),s=(0,l.useState)({width:10,height:10}),u=(0,o.Z)(s,2),c=u[0],d=u[1];return(0,l.useLayoutEffect)((function(){r.current&&d({width:r.current.offsetWidth,height:r.current.offsetHeight})}),[a]),(0,oa.jsx)("div",{ref:r,style:{padding:t},children:(0,oa.jsx)(CJ,p({width:c.width-2*t},i))})}var wJ="https://t42yo2fts9.execute-api.eu-west-1.amazonaws.com/dev/customer-data",DJ="https://rixgct84d9.execute-api.eu-west-1.amazonaws.com/dev/images",AJ=function(){var e=u(_().mark((function e(n){var t,i,r,l,a=arguments;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>1&&void 0!==a[1]?a[1]:{},(i=new URL(DJ)).search=new URLSearchParams(t).toString(),e.next=5,fetch(i,{method:"GET",headers:new Headers({token:n})});case 5:return r=e.sent,e.next=8,r.json();case 8:return l=e.sent,e.abrupt("return",l.images);case 10:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),OJ=function(){var e=u(_().mark((function e(n,t){var i,r,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(wJ,"/").concat(t),e.next=3,fetch(i,{method:"GET",headers:new Headers({"X-Amz-Security-Token":n})});case 3:return r=e.sent,e.next=6,r.blob();case 6:return l=e.sent,e.abrupt("return",l);case 8:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),LJ=function(){var e=u(_().mark((function e(n,t){var i,r,l,a;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(wJ,"/").concat(t),e.next=3,fetch(i,{method:"GET",headers:new Headers({"X-Amz-Security-Token":n})});case 3:return r=e.sent,e.next=6,r.text();case 6:return l=e.sent,a=JSON.parse(l.replace(/,[ \t]*}/g,"}")),e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();function IJ(e,n){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in n=n||{})Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}function UJ(e,n,t){qr(2,arguments);var i=t||{},r=i.locale,l=r&&r.options&&r.options.weekStartsOn,a=null==l?0:dl(l),o=null==i.weekStartsOn?a:dl(i.weekStartsOn);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=Gr(e),u=dl(n),c=s.getUTCDay(),d=u%7,p=(d+7)%7,f=(p0,r=i?n:1-n;if(r<=50)t=e||100;else{var l=r+50;t=e+100*Math.floor(l/100)-(e>=l%100?100:0)}return i?t:1-t}var fZ=[31,28,31,30,31,30,31,31,30,31,30,31],mZ=[31,29,31,30,31,30,31,31,30,31,30,31];function yZ(e){return e%400===0||e%4===0&&e%100!==0}var _Z={G:{priority:140,parse:function(e,n,t,i){switch(n){case"G":case"GG":case"GGG":return t.era(e,{width:"abbreviated"})||t.era(e,{width:"narrow"});case"GGGGG":return t.era(e,{width:"narrow"});default:return t.era(e,{width:"wide"})||t.era(e,{width:"abbreviated"})||t.era(e,{width:"narrow"})}},set:function(e,n,t,i){return n.era=t,e.setUTCFullYear(t,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,n,t,i){var r=function(e){return{year:e,isTwoDigitYear:"yy"===n}};switch(n){case"y":return uZ(4,e,r);case"yo":return t.ordinalNumber(e,{unit:"year",valueCallback:r});default:return uZ(n.length,e,r)}},validate:function(e,n,t){return n.isTwoDigitYear||n.year>0},set:function(e,n,t,i){var r=e.getUTCFullYear();if(t.isTwoDigitYear){var l=pZ(t.year,r);return e.setUTCFullYear(l,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in n&&1!==n.era?1-t.year:t.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,n,t,i){var r=function(e){return{year:e,isTwoDigitYear:"YY"===n}};switch(n){case"Y":return uZ(4,e,r);case"Yo":return t.ordinalNumber(e,{unit:"year",valueCallback:r});default:return uZ(n.length,e,r)}},validate:function(e,n,t){return n.isTwoDigitYear||n.year>0},set:function(e,n,t,i){var r=bl(e,i);if(t.isTwoDigitYear){var l=pZ(t.year,r);return e.setUTCFullYear(l,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Tl(e,i)}var a="era"in n&&1!==n.era?1-t.year:t.year;return e.setUTCFullYear(a,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Tl(e,i)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,n,t,i){return cZ("R"===n?4:n.length,e)},set:function(e,n,t,i){var r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),yl(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,n,t,i){return cZ("u"===n?4:n.length,e)},set:function(e,n,t,i){return e.setUTCFullYear(t,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,n,t,i){switch(n){case"Q":case"QQ":return uZ(n.length,e);case"Qo":return t.ordinalNumber(e,{unit:"quarter"});case"QQQ":return t.quarter(e,{width:"abbreviated",context:"formatting"})||t.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return t.quarter(e,{width:"narrow",context:"formatting"});default:return t.quarter(e,{width:"wide",context:"formatting"})||t.quarter(e,{width:"abbreviated",context:"formatting"})||t.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,n,t){return n>=1&&n<=4},set:function(e,n,t,i){return e.setUTCMonth(3*(t-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,n,t,i){switch(n){case"q":case"qq":return uZ(n.length,e);case"qo":return t.ordinalNumber(e,{unit:"quarter"});case"qqq":return t.quarter(e,{width:"abbreviated",context:"standalone"})||t.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return t.quarter(e,{width:"narrow",context:"standalone"});default:return t.quarter(e,{width:"wide",context:"standalone"})||t.quarter(e,{width:"abbreviated",context:"standalone"})||t.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,n,t){return n>=1&&n<=4},set:function(e,n,t,i){return e.setUTCMonth(3*(t-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,n,t,i){var r=function(e){return e-1};switch(n){case"M":return aZ(PJ,e,r);case"MM":return uZ(2,e,r);case"Mo":return t.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return t.month(e,{width:"abbreviated",context:"formatting"})||t.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return t.month(e,{width:"narrow",context:"formatting"});default:return t.month(e,{width:"wide",context:"formatting"})||t.month(e,{width:"abbreviated",context:"formatting"})||t.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,n,t){return n>=0&&n<=11},set:function(e,n,t,i){return e.setUTCMonth(t,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,n,t,i){var r=function(e){return e-1};switch(n){case"L":return aZ(PJ,e,r);case"LL":return uZ(2,e,r);case"Lo":return t.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return t.month(e,{width:"abbreviated",context:"standalone"})||t.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return t.month(e,{width:"narrow",context:"standalone"});default:return t.month(e,{width:"wide",context:"standalone"})||t.month(e,{width:"abbreviated",context:"standalone"})||t.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,n,t){return n>=0&&n<=11},set:function(e,n,t,i){return e.setUTCMonth(t,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,n,t,i){switch(n){case"w":return aZ(MJ,e);case"wo":return t.ordinalNumber(e,{unit:"week"});default:return uZ(n.length,e)}},validate:function(e,n,t){return n>=1&&n<=53},set:function(e,n,t,i){return Tl(function(e,n,t){qr(2,arguments);var i=Gr(e),r=dl(n),l=Nl(i,t)-r;return i.setUTCDate(i.getUTCDate()-7*l),i}(e,t,i),i)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,n,t,i){switch(n){case"I":return aZ(MJ,e);case"Io":return t.ordinalNumber(e,{unit:"week"});default:return uZ(n.length,e)}},validate:function(e,n,t){return n>=1&&n<=53},set:function(e,n,t,i){return yl(function(e,n){qr(2,arguments);var t=Gr(e),i=dl(n),r=vl(t)-i;return t.setUTCDate(t.getUTCDate()-7*r),t}(e,t,i),i)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,n,t,i){switch(n){case"d":return aZ(VJ,e);case"do":return t.ordinalNumber(e,{unit:"date"});default:return uZ(n.length,e)}},validate:function(e,n,t){var i=yZ(e.getUTCFullYear()),r=e.getUTCMonth();return i?n>=1&&n<=mZ[r]:n>=1&&n<=fZ[r]},set:function(e,n,t,i){return e.setUTCDate(t),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,n,t,i){switch(n){case"D":case"DD":return aZ(BJ,e);case"Do":return t.ordinalNumber(e,{unit:"date"});default:return uZ(n.length,e)}},validate:function(e,n,t){return yZ(e.getUTCFullYear())?n>=1&&n<=366:n>=1&&n<=365},set:function(e,n,t,i){return e.setUTCMonth(0,t),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,n,t,i){switch(n){case"E":case"EE":case"EEE":return t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return t.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,n,t){return n>=0&&n<=6},set:function(e,n,t,i){return(e=UJ(e,t,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,n,t,i){var r=function(e){var n=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+n};switch(n){case"e":case"ee":return uZ(n.length,e,r);case"eo":return t.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"eeeee":return t.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});default:return t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,n,t){return n>=0&&n<=6},set:function(e,n,t,i){return(e=UJ(e,t,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,n,t,i){var r=function(e){var n=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+n};switch(n){case"c":case"cc":return uZ(n.length,e,r);case"co":return t.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return t.day(e,{width:"abbreviated",context:"standalone"})||t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"});case"ccccc":return t.day(e,{width:"narrow",context:"standalone"});case"cccccc":return t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"});default:return t.day(e,{width:"wide",context:"standalone"})||t.day(e,{width:"abbreviated",context:"standalone"})||t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,n,t){return n>=0&&n<=6},set:function(e,n,t,i){return(e=UJ(e,t,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,n,t,i){var r=function(e){return 0===e?7:e};switch(n){case"i":case"ii":return uZ(n.length,e);case"io":return t.ordinalNumber(e,{unit:"day"});case"iii":return t.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||t.day(e,{width:"short",context:"formatting",valueCallback:r})||t.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return t.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return t.day(e,{width:"short",context:"formatting",valueCallback:r})||t.day(e,{width:"narrow",context:"formatting",valueCallback:r});default:return t.day(e,{width:"wide",context:"formatting",valueCallback:r})||t.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||t.day(e,{width:"short",context:"formatting",valueCallback:r})||t.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,n,t){return n>=1&&n<=7},set:function(e,n,t,i){return e=function(e,n){qr(2,arguments);var t=dl(n);t%7===0&&(t-=7);var i=1,r=Gr(e),l=r.getUTCDay(),a=((t%7+7)%7=1&&n<=12},set:function(e,n,t,i){var r=e.getUTCHours()>=12;return r&&t<12?e.setUTCHours(t+12,0,0,0):r||12!==t?e.setUTCHours(t,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,n,t,i){switch(n){case"H":return aZ(FJ,e);case"Ho":return t.ordinalNumber(e,{unit:"hour"});default:return uZ(n.length,e)}},validate:function(e,n,t){return n>=0&&n<=23},set:function(e,n,t,i){return e.setUTCHours(t,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,n,t,i){switch(n){case"K":return aZ(JJ,e);case"Ko":return t.ordinalNumber(e,{unit:"hour"});default:return uZ(n.length,e)}},validate:function(e,n,t){return n>=0&&n<=11},set:function(e,n,t,i){return e.getUTCHours()>=12&&t<12?e.setUTCHours(t+12,0,0,0):e.setUTCHours(t,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,n,t,i){switch(n){case"k":return aZ(jJ,e);case"ko":return t.ordinalNumber(e,{unit:"hour"});default:return uZ(n.length,e)}},validate:function(e,n,t){return n>=1&&n<=24},set:function(e,n,t,i){var r=t<=24?t%24:t;return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,n,t,i){switch(n){case"m":return aZ(zJ,e);case"mo":return t.ordinalNumber(e,{unit:"minute"});default:return uZ(n.length,e)}},validate:function(e,n,t){return n>=0&&n<=59},set:function(e,n,t,i){return e.setUTCMinutes(t,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,n,t,i){switch(n){case"s":return aZ(HJ,e);case"so":return t.ordinalNumber(e,{unit:"second"});default:return uZ(n.length,e)}},validate:function(e,n,t){return n>=0&&n<=59},set:function(e,n,t,i){return e.setUTCSeconds(t,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,n,t,i){return uZ(n.length,e,(function(e){return Math.floor(e*Math.pow(10,3-n.length))}))},set:function(e,n,t,i){return e.setUTCMilliseconds(t),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,n,t,i){switch(n){case"X":return oZ(nZ,e);case"XX":return oZ(tZ,e);case"XXXX":return oZ(iZ,e);case"XXXXX":return oZ(lZ,e);default:return oZ(rZ,e)}},set:function(e,n,t,i){return n.timestampIsSet?e:new Date(e.getTime()-t)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,n,t,i){switch(n){case"x":return oZ(nZ,e);case"xx":return oZ(tZ,e);case"xxxx":return oZ(iZ,e);case"xxxxx":return oZ(lZ,e);default:return oZ(rZ,e)}},set:function(e,n,t,i){return n.timestampIsSet?e:new Date(e.getTime()-t)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,n,t,i){return sZ(e)},set:function(e,n,t,i){return[new Date(1e3*t),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,n,t,i){return sZ(e)},set:function(e,n,t,i){return[new Date(t),{timestampIsSet:!0}]},incompatibleTokens:"*"}},hZ=_Z,gZ=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vZ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,TZ=/^'([^]*?)'?$/,bZ=/''/g,kZ=/\S/,RZ=/[a-zA-Z]/;function NZ(e,n){if(n.timestampIsSet)return e;var t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}function EZ(e){return e.match(TZ)[1].replace(bZ,"'")}function xZ(e){return(0,ku.Z)("MuiPaper",e)}(0,Ru.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var CZ=["className","component","elevation","square","variant"],SZ=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},wZ=(0,Hr.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant],!t.square&&n.rounded,"elevation"===t.variant&&n["elevation".concat(t.elevation)]]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({backgroundColor:n.palette.background.paper,color:n.palette.text.primary,transition:n.transitions.create("box-shadow")},!t.square&&{borderRadius:n.shape.borderRadius},"outlined"===t.variant&&{border:"1px solid ".concat(n.palette.divider)},"elevation"===t.variant&&(0,Qo.Z)({boxShadow:n.shadows[t.elevation]},"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,EL.Fq)("#fff",SZ(t.elevation)),", ").concat((0,EL.Fq)("#fff",SZ(t.elevation)),")")}))})),DZ=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiPaper"}),i=t.className,r=t.component,l=void 0===r?"div":r,a=t.elevation,o=void 0===a?1:a,s=t.square,u=void 0!==s&&s,c=t.variant,d=void 0===c?"elevation":c,p=(0,f.Z)(t,CZ),m=(0,Qo.Z)({},t,{component:l,elevation:o,square:u,variant:d}),y=function(e){var n=e.square,t=e.elevation,i=e.variant,r=e.classes,l={root:["root",i,!n&&"rounded","elevation"===i&&"elevation".concat(t)]};return(0,vu.Z)(l,xZ,r)}(m);return(0,oa.jsx)(wZ,(0,Qo.Z)({as:l,ownerState:m,className:(0,fu.Z)(y.root,i),ref:n},p))})),AZ=DZ;function OZ(e){return(0,ku.Z)("MuiListSubheader",e)}(0,Ru.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var LZ=["className","color","component","disableGutters","disableSticky","inset"],IZ=(0,Hr.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,"default"!==t.color&&n["color".concat((0,Vw.Z)(t.color))],!t.disableGutters&&n.gutters,t.inset&&n.inset,!t.disableSticky&&n.sticky]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:n.palette.text.secondary,fontFamily:n.typography.fontFamily,fontWeight:n.typography.fontWeightMedium,fontSize:n.typography.pxToRem(14)},"primary"===t.color&&{color:n.palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:n.palette.background.paper})})),UZ=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiListSubheader"}),i=t.className,r=t.color,l=void 0===r?"default":r,a=t.component,o=void 0===a?"li":a,s=t.disableGutters,u=void 0!==s&&s,c=t.disableSticky,d=void 0!==c&&c,p=t.inset,m=void 0!==p&&p,y=(0,f.Z)(t,LZ),_=(0,Qo.Z)({},t,{color:l,component:o,disableGutters:u,disableSticky:d,inset:m}),h=function(e){var n=e.classes,t=e.color,i=e.disableGutters,r=e.inset,l=e.disableSticky,a={root:["root","default"!==t&&"color".concat((0,Vw.Z)(t)),!i&&"gutters",r&&"inset",!l&&"sticky"]};return(0,vu.Z)(a,OZ,n)}(_);return(0,oa.jsx)(IZ,(0,Qo.Z)({as:o,className:(0,fu.Z)(h.root,i),ref:n,ownerState:_},y))})),PZ=UZ,VZ=t(5682),BZ=["component","direction","spacing","divider","children"];function MZ(e,n){var t=l.Children.toArray(e).filter(Boolean);return t.reduce((function(e,i,r){return e.push(i),r :not(style) + :not(style)":(0,c.Z)({margin:0},"margin".concat((i=t?a[t]:n.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i])),(0,VZ.NA)(r,e))};var i})))}return i})),jZ=l.forwardRef((function(e,n){var t=gu((0,Tu.Z)({props:e,name:"MuiStack"})),i=t.component,r=void 0===i?"div":i,l=t.direction,a=void 0===l?"column":l,o=t.spacing,s=void 0===o?0:o,u=t.divider,c=t.children,d=(0,f.Z)(t,BZ),p={direction:a,spacing:s};return(0,oa.jsx)(FZ,(0,Qo.Z)({as:r,ownerState:p,ref:n},d,{children:u?MZ(c,u):c}))})),JZ=jZ;function ZZ(e){return(0,ku.Z)("MuiFormGroup",e)}(0,Ru.Z)("MuiFormGroup",["root","row"]);var zZ=["className","row"],HZ=(0,Hr.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.row&&n.row]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},n.row&&{flexDirection:"row"})})),qZ=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiFormGroup"}),i=t.className,r=t.row,l=void 0!==r&&r,a=(0,f.Z)(t,zZ),o=(0,Qo.Z)({},t,{row:l}),s=function(e){var n=e.classes,t={root:["root",e.row&&"row"]};return(0,vu.Z)(t,ZZ,n)}(o);return(0,oa.jsx)(HZ,(0,Qo.Z)({className:(0,fu.Z)(s.root,i),ownerState:o,ref:n},a))}));function WZ(e){return(0,ku.Z)("MuiFormControlLabel",e)}var GZ,KZ=(0,Ru.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label"]),$Z=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],YZ=(0,Hr.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[(0,c.Z)({},"& .".concat(KZ.label),n.label),n.root,n["labelPlacement".concat((0,Vw.Z)(t.labelPlacement))]]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)((0,c.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(KZ.disabled),{cursor:"default"}),"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},(0,c.Z)({},"& .".concat(KZ.label),(0,c.Z)({},"&.".concat(KZ.disabled),{color:n.palette.text.disabled})))})),QZ=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiFormControlLabel"}),i=t.className,r=t.componentsProps,a=void 0===r?{}:r,o=t.control,s=t.disabled,u=t.disableTypography,c=t.label,d=t.labelPlacement,p=void 0===d?"end":d,m=(0,f.Z)(t,$Z),y=EP(),_=s;"undefined"===typeof _&&"undefined"!==typeof o.props.disabled&&(_=o.props.disabled),"undefined"===typeof _&&y&&(_=y.disabled);var h={disabled:_};["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof o.props[e]&&"undefined"!==typeof t[e]&&(h[e]=t[e])}));var g=(0,Qo.Z)({},t,{disabled:_,label:c,labelPlacement:p}),v=function(e){var n=e.classes,t=e.disabled,i=e.labelPlacement,r={root:["root",t&&"disabled","labelPlacement".concat((0,Vw.Z)(i))],label:["label",t&&"disabled"]};return(0,vu.Z)(r,WZ,n)}(g);return(0,oa.jsxs)(YZ,(0,Qo.Z)({className:(0,fu.Z)(v.root,i),ownerState:g,ref:n},m,{children:[l.cloneElement(o,h),c.type===zw||u?c:(0,oa.jsx)(zw,(0,Qo.Z)({component:"span",className:v.label},a.typography,{children:c}))]}))})),XZ=QZ,ez=Do(GZ||(GZ=Oa(["\n query GetProductErrors(\n $customer_id: Int! = 7,\n $line_id: Int! = 32,\n $limit: Int! = 10000,\n $ignored_result_type_ids: [Int!],\n $tm_start: timestamptz,\n $tm_end: timestamptz,\n $offset: Int\n ) {\n productErrors: production_intelligence_product_errors (\n where: {\n customer_id: {_eq: $customer_id},\n line_id: {_eq: $line_id},\n time: {_gte: $tm_start, _lte: $tm_end}\n result_type_id: { _nin: $ignored_result_type_ids }\n },\n limit: $limit,\n offset: $offset\n ){\n lane\n time\n result_type_id\n type{\n name\n }\n }\n }\n"]))),nz=(0,t(4046).ZP)(),tz=zp((function(e){var n;return{container:(n={},(0,c.Z)(n,e.breakpoints.down("md"),{marginTop:"0em"}),(0,c.Z)(n,e.breakpoints.up("sm"),{marginTop:"2em"}),n),header:(0,c.Z)({textTransform:"uppercase",letterSpacing:"0.2rem",fontSize:"1.0rem",marginTop:"1em"},e.breakpoints.down("md"),{"&":{textTransform:"uppercase",letterSpacing:"0.2rem",marginTop:"1.5em",marginBottom:"0.5em",color:e.headerColor,fontFamily:"gotham",position:"relative",fontSize:"1.5rem",zIndex:1,overflow:"hidden",textAlign:"center",fontWeight:500},"&:before, &:after":{position:"absolute",top:"51%",overflow:"hidden",width:"49.4%",height:"1px",content:'""',backgroundColor:e.headerColor},"&:after":{marginLeft:"0.4%"},"&:before":{marginLeft:"-49.9%",textAlign:"right"}})}}));nz(AZ)((function(e){var n=e.theme;return p(p({},n.typography.body2),{},{padding:n.spacing(1),textAlign:"center",color:n.palette.text.secondary})}));function iz(e){var n=e.children,t=tz();return(0,oa.jsx)(PZ,{component:"div",id:"nested-list-subheader",children:(0,oa.jsx)(zw,{variant:"h4",className:t.header,children:n})})}function rz(e,n){var t=e.split("/"),i=t[t.length-1],r=i.split("_"),l=(0,o.Z)(r,5),a=l[0],s=l[1],u=l[2],c=l[3],d=l[4],p=function(e,n,t,i){qr(3,arguments);var r=String(e),l=String(n),a=i||{},o=a.locale||cl;if(!o.match)throw new RangeError("locale must contain match property");var s=o.options&&o.options.firstWeekContainsDate,u=null==s?1:dl(s),c=null==a.firstWeekContainsDate?u:dl(a.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=o.options&&o.options.weekStartsOn,p=null==d?0:dl(d),f=null==a.weekStartsOn?p:dl(a.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===l)return""===r?Gr(t):new Date(NaN);var m,y={firstWeekContainsDate:c,weekStartsOn:f,locale:o},_=[{priority:10,subPriority:-1,set:NZ,index:0}],h=l.match(vZ).map((function(e){var n=e[0];return"p"===n||"P"===n?(0,Jl[n])(e,o.formatLong,y):e})).join("").match(gZ),g=[];for(m=0;m0&&kZ.test(r))return new Date(NaN);var C=_.map((function(e){return e.priority})).sort((function(e,n){return n-e})).filter((function(e,n,t){return t.indexOf(e)===n})).map((function(e){return _.filter((function(n){return n.priority===e})).sort((function(e,n){return n.subPriority-e.subPriority}))})).map((function(e){return e[0]})),S=Gr(t);if(isNaN(S))return new Date(NaN);var w=fl(S,Zl(S)),D={};for(m=0;m0&&void 0!==T[0]?T[0]:{},r=T.length>1&&void 0!==T[1]?T[1]:[],l=Aa.getToken(),a=l.accessToken,o=function(e){return new Date(e.getTime()-60*e.getTimezoneOffset()*1e3)},s=p(p({},n),{},{tmStart:o(t),tmEnd:o(i)}),C(!0),R({}),e.next=10,AJ(a,s);case 10:if(u=e.sent,C(!1),u&&Array.isArray(u.Contents)){e.next=15;break}return v(r),e.abrupt("return");case 15:c=u.Contents.filter((function(e){return e.Key.includes("ImageTopColor")})),d=c.map((function(e){return rz(e.Key,u.Name)})),f=[].concat((0,z.Z)(r),(0,z.Z)(d)),v(f),m=u.IsTruncated,y=u.idx,h=u.maxIdx,g=u.NextContinuationToken,R({isTruncated:m,idx:y,maxIdx:h,nextContinuationToken:g});case 21:case"end":return e.stop()}}),e)}))),[i,t]));(0,l.useEffect)((function(){ce()}),[t,i,ce]);var de=function(){var e=u(_().mark((function e(n){var t,i,r,l,a,o,s,u;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=Aa.getToken(),l=r.accessToken,A(n),U(null),M(null),Z(!0),!(a=null===n||void 0===n||null===(t=n.imageInfo)||void 0===t?void 0:t.imagePath)){e.next=17;break}return e.prev=7,e.next=10,OJ(l,a);case 10:o=e.sent,U(o),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),console.error("Error fetching image",e.t0);case 17:if(!(s=null===n||void 0===n||null===(i=n.imageInfo)||void 0===i?void 0:i.imageDataPath)){e.next=29;break}return e.prev=19,e.next=22,LJ(l,s);case 22:u=e.sent,M(u),e.next=29;break;case 26:e.prev=26,e.t1=e.catch(19),console.error("Error fetching image data",e.t1);case 29:Z(!1);case 30:case"end":return e.stop()}}),e,null,[[7,14],[19,26]])})));return function(n){return e.apply(this,arguments)}}(),pe=function(e){var n,t=Object.entries((null===e||void 0===e||null===(n=e.Data)||void 0===n?void 0:n.Measurements)||{}),i=function(e){var n=t.find((function(n){return(0,o.Z)(n,2)[1].Name===e}))||[],i=(0,o.Z)(n,2)[1];return i?parseInt(i.Value):null};return{width:i("ImageWidth"),height:i("ImageHeight")}}(B),fe=((null===ue||void 0===ue?void 0:ue.productErrors)||[]).map((function(e){return{name:e.type.name,id:e.result_type_id,time:e.time,tm:new Date(e.time),lane:e.lane}})).filter((function(e){return g.some((function(n){return n.tm.getTime()===e.tm.getTime()}))})),me=fe.reduce((function(e,n){return p(p({},e),{},(0,c.Z)({},n.name,(e[n.name]||0)+1))}),{}),ye=Object.keys(me).filter((function(e){return!le.includes(e)})),_e=(fe.filter((function(e){return ye.includes(e.name)})),g),he=_e.slice(a*(f-1),a*f),ge=_e.length,ve=he.map((function(e){return{time:e.tm,tm:e.tm,lane:parseInt(e.laneIndex)+1,imageInfo:e}})),Te=function(){var e=k.nextContinuationToken,n=k.idx,t=k.maxIdx;return e?ce({nextContinuationToken:e},g):n0?f>1&&m(f-1):de(ve[n])})),ke=l.useCallback((function(){var e=ve.findIndex((function(e){var n;return e.imageInfo.imagePath===(null===D||void 0===D||null===(n=D.imageInfo)||void 0===n?void 0:n.imagePath)})),n=D&&~e?e+1:0;if(n===ve.length&&ve.length>0){var t=Math.ceil(ge/a);f===t?Te():m(f+1)}else de(ve[n])})),Re=l.useCallback((function(e){var n=e.key;"ArrowRight"===n?ke():"ArrowLeft"===n&&be()}),[ke]);return l.useEffect((function(){return document.addEventListener("keydown",Re),function(){document.removeEventListener("keydown",Re)}})),(0,oa.jsxs)("div",{className:e.container,children:[(0,oa.jsxs)(Lu,{container:!0,spacing:0,direction:"row",justifyContent:"space-around",alignItems:"flex-start",style:{minHeight:"min(100vw,24vh)",width:"100%"},children:[(0,oa.jsx)(Lu,{item:!0,xs:12,style:{height:"100%"},children:(0,oa.jsx)(JZ,{direction:"row",spacing:2,justifyContent:"space-evenly",children:Object.entries(me).map((function(e){var n=(0,o.Z)(e,2),t=n[0],i=n[1];return(0,oa.jsx)(qZ,{children:(0,oa.jsx)(XZ,{control:(0,oa.jsx)(ZP,{checked:!le.includes(t),onChange:function(){return function(e){var n=le.includes(e)?le.filter((function(n){return n!==e})):[].concat((0,z.Z)(le),[e]);ae(n)}(t)}}),label:"".concat(t," (").concat(i,")")})},t)}))})}),(0,oa.jsx)(Lu,{item:!0,xs:12,sm:12,md:6,lg:2,xl:2,style:{height:"100%"},children:(0,oa.jsx)(fP,{products:ve,selectedProduct:D,productCount:ge,pageSize:a,setPage:m,currentPage:f,onClick:de,loadingProducts:x,loadingImageList:x,loadingImage:J,loadMoreProducts:Te,canLoadMoreProducts:k.nextContinuationToken||k.idx-1:!t.documentElement.contains(e.target)||d.current.contains(e.target))||!i&&n||o(e))})),_=function(e){return function(t){f.current=!0;var i=n.props[e];i&&i(t)}},h={ref:m};return!1!==u&&(h[u]=_(u)),l.useEffect((function(){if(!1!==u){var e=az(u),n=(0,WP.Z)(d.current),t=function(){c.current=!0};return n.addEventListener(e,y),n.addEventListener("touchmove",t),function(){n.removeEventListener(e,y),n.removeEventListener("touchmove",t)}}}),[y,u]),!1!==a&&(h[a]=_(a)),l.useEffect((function(){if(!1!==a){var e=az(a),n=(0,WP.Z)(d.current);return n.addEventListener(e,y),function(){n.removeEventListener(e,y)}}}),[y,a]),(0,oa.jsx)(l.Fragment,{children:l.cloneElement(n,h)})},sz=t(8949),uz=t(2971);var cz=l.forwardRef((function(e,n){var t=e.children,i=e.container,r=e.disablePortal,s=void 0!==r&&r,u=l.useState(null),c=(0,o.Z)(u,2),d=c[0],p=c[1],f=(0,KP.Z)(l.isValidElement(t)?t.ref:null,n);return(0,YP.Z)((function(){s||p(function(e){return"function"===typeof e?e():e}(i)||document.body)}),[i,s]),(0,YP.Z)((function(){if(d&&!s)return(0,uz.Z)(n,d),function(){(0,uz.Z)(n,null)}}),[n,d,s]),s?l.isValidElement(t)?l.cloneElement(t,{ref:f}):t:d?a.createPortal(t,d):d})),dz=t(7979);function pz(e){var n=e.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}function fz(e,n){n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function mz(e){return parseInt((0,dz.Z)(e).getComputedStyle(e).paddingRight,10)||0}function yz(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=arguments.length>4?arguments[4]:void 0,l=[n,t].concat((0,z.Z)(i)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){-1===l.indexOf(e)&&-1===a.indexOf(e.tagName)&&fz(e,r)}))}function _z(e,n){var t=-1;return e.some((function(e,i){return!!n(e)&&(t=i,!0)})),t}function hz(e,n){var t=[],i=e.container;if(!n.disableScrollLock){if(function(e){var n=(0,WP.Z)(e);return n.body===e?(0,dz.Z)(e).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var r=pz((0,WP.Z)(i));t.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight="".concat(mz(i)+r,"px");var l=(0,WP.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(l,(function(e){t.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(mz(e)+r,"px")}))}var a=i.parentElement,o=(0,dz.Z)(i),s="HTML"===(null==a?void 0:a.nodeName)&&"scroll"===o.getComputedStyle(a).overflowY?a:i;t.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return function(){t.forEach((function(e){var n=e.value,t=e.el,i=e.property;n?t.style.setProperty(i,n):t.style.removeProperty(i)}))}}var gz=function(){function e(){j(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return Z(e,[{key:"add",value:function(e,n){var t=this.modals.indexOf(e);if(-1!==t)return t;t=this.modals.length,this.modals.push(e),e.modalRef&&fz(e.modalRef,!1);var i=function(e){var n=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&n.push(e)})),n}(n);yz(n,e.mount,e.modalRef,i,!0);var r=_z(this.containers,(function(e){return e.container===n}));return-1!==r?(this.containers[r].modals.push(e),t):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:i}),t)}},{key:"mount",value:function(e,n){var t=_z(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),i=this.containers[t];i.restore||(i.restore=hz(i,n))}},{key:"remove",value:function(e){var n=this.modals.indexOf(e);if(-1===n)return n;var t=_z(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),i=this.containers[t];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&fz(e.modalRef,!0),yz(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(t,1);else{var r=i.modals[i.modals.length-1];r.modalRef&&fz(r.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),vz=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Tz(e){var n=[],t=[];return Array.from(e.querySelectorAll(vz)).forEach((function(e,i){var r=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(n)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:n}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var n=function(n){return e.ownerDocument.querySelector('input[type="radio"]'.concat(n))},t=n('[name="'.concat(e.name,'"]:checked'));return t||(t=n('[name="'.concat(e.name,'"]'))),t!==e}(e))}(e)&&(0===r?n.push(e):t.push({documentOrder:i,tabIndex:r,node:e}))})),t.sort((function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex})).map((function(e){return e.node})).concat(n)}function bz(){return!0}var kz=function(e){var n=e.children,t=e.disableAutoFocus,i=void 0!==t&&t,r=e.disableEnforceFocus,a=void 0!==r&&r,o=e.disableRestoreFocus,s=void 0!==o&&o,u=e.getTabbable,c=void 0===u?Tz:u,d=e.isEnabled,p=void 0===d?bz:d,f=e.open,m=l.useRef(),y=l.useRef(null),_=l.useRef(null),h=l.useRef(null),g=l.useRef(null),v=l.useRef(!1),T=l.useRef(null),b=(0,KP.Z)(n.ref,T),k=l.useRef(null);l.useEffect((function(){f&&T.current&&(v.current=!i)}),[i,f]),l.useEffect((function(){if(f&&T.current){var e=(0,WP.Z)(T.current);return T.current.contains(e.activeElement)||(T.current.hasAttribute("tabIndex")||T.current.setAttribute("tabIndex",-1),v.current&&T.current.focus()),function(){s||(h.current&&h.current.focus&&(m.current=!0,h.current.focus()),h.current=null)}}}),[f]),l.useEffect((function(){if(f&&T.current){var e=(0,WP.Z)(T.current),n=function(n){var t=T.current;if(null!==t)if(e.hasFocus()&&!a&&p()&&!m.current){if(!t.contains(e.activeElement)){if(n&&g.current!==n.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!v.current)return;var i=[];if(e.activeElement!==y.current&&e.activeElement!==_.current||(i=c(T.current)),i.length>0){var r,l,o=Boolean((null==(r=k.current)?void 0:r.shiftKey)&&"Tab"===(null==(l=k.current)?void 0:l.key)),s=i[0],u=i[i.length-1];o?u.focus():s.focus()}else t.focus()}}else m.current=!1},t=function(n){k.current=n,!a&&p()&&"Tab"===n.key&&e.activeElement===T.current&&n.shiftKey&&(m.current=!0,_.current.focus())};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);var i=setInterval((function(){"BODY"===e.activeElement.tagName&&n()}),50);return function(){clearInterval(i),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}}),[i,a,s,p,f,c]);var R=function(e){null===h.current&&(h.current=e.relatedTarget),v.current=!0};return(0,oa.jsxs)(l.Fragment,{children:[(0,oa.jsx)("div",{tabIndex:0,onFocus:R,ref:y,"data-test":"sentinelStart"}),l.cloneElement(n,{ref:b,onFocus:function(e){null===h.current&&(h.current=e.relatedTarget),v.current=!0,g.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,oa.jsx)("div",{tabIndex:0,onFocus:R,ref:_,"data-test":"sentinelEnd"})]})};function Rz(e){return(0,ku.Z)("MuiModal",e)}(0,Ru.Z)("MuiModal",["root","hidden"]);var Nz=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];var Ez=new gz,xz=l.forwardRef((function(e,n){var t=e.BackdropComponent,i=e.BackdropProps,r=e.children,a=e.classes,s=e.className,u=e.closeAfterTransition,c=void 0!==u&&u,d=e.component,p=void 0===d?"div":d,m=e.components,y=void 0===m?{}:m,_=e.componentsProps,h=void 0===_?{}:_,g=e.container,v=e.disableAutoFocus,T=void 0!==v&&v,b=e.disableEnforceFocus,k=void 0!==b&&b,R=e.disableEscapeKeyDown,N=void 0!==R&&R,E=e.disablePortal,x=void 0!==E&&E,C=e.disableRestoreFocus,S=void 0!==C&&C,w=e.disableScrollLock,D=void 0!==w&&w,A=e.hideBackdrop,O=void 0!==A&&A,L=e.keepMounted,I=void 0!==L&&L,U=e.manager,P=void 0===U?Ez:U,V=e.onBackdropClick,B=e.onClose,M=e.onKeyDown,F=e.open,j=e.theme,J=e.onTransitionEnter,Z=e.onTransitionExited,z=(0,f.Z)(e,Nz),H=l.useState(!0),q=(0,o.Z)(H,2),W=q[0],G=q[1],K=l.useRef({}),$=l.useRef(null),Y=l.useRef(null),Q=(0,KP.Z)(Y,n),X=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),ee=function(){return K.current.modalRef=Y.current,K.current.mountNode=$.current,K.current},ne=function(){P.mount(ee(),{disableScrollLock:D}),Y.current.scrollTop=0},te=(0,$P.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(g)||(0,WP.Z)($.current).body;P.add(ee(),e),Y.current&&ne()})),ie=l.useCallback((function(){return P.isTopModal(ee())}),[P]),re=(0,$P.Z)((function(e){$.current=e,e&&(F&&ie()?ne():fz(Y.current,!0))})),le=l.useCallback((function(){P.remove(ee())}),[P]);l.useEffect((function(){return function(){le()}}),[le]),l.useEffect((function(){F?te():X&&c||le()}),[F,le,X,c,te]);var ae=(0,Qo.Z)({},e,{classes:a,closeAfterTransition:c,disableAutoFocus:T,disableEnforceFocus:k,disableEscapeKeyDown:N,disablePortal:x,disableRestoreFocus:S,disableScrollLock:D,exited:W,hideBackdrop:O,keepMounted:I}),oe=function(e){var n=e.open,t=e.exited,i=e.classes,r={root:["root",!n&&t&&"hidden"]};return(0,vu.Z)(r,Rz,i)}(ae);if(!I&&!F&&(!X||W))return null;var se={};void 0===r.props.tabIndex&&(se.tabIndex="-1"),X&&(se.onEnter=(0,sz.Z)((function(){G(!1),J&&J()}),r.props.onEnter),se.onExited=(0,sz.Z)((function(){G(!0),Z&&Z(),c&&le()}),r.props.onExited));var ue=y.Root||p,ce=h.root||{};return(0,oa.jsx)(cz,{ref:re,container:g,disablePortal:x,children:(0,oa.jsxs)(ue,(0,Qo.Z)({role:"presentation"},ce,!eL(ue)&&{as:p,ownerState:(0,Qo.Z)({},ae,ce.ownerState),theme:j},z,{ref:Q,onKeyDown:function(e){M&&M(e),"Escape"===e.key&&ie()&&(N||(e.stopPropagation(),B&&B(e,"escapeKeyDown")))},className:(0,fu.Z)(oe.root,ce.className,s),children:[!O&&t?(0,oa.jsx)(t,(0,Qo.Z)({open:F,onClick:function(e){e.target===e.currentTarget&&(V&&V(e),B&&B(e,"backdropClick"))}},i)):null,(0,oa.jsx)(kz,{disableEnforceFocus:k,disableAutoFocus:T,disableRestoreFocus:S,isEnabled:ie,open:F,children:l.cloneElement(r,se)})]}))})})),Cz=xz;function Sz(e){return(0,ku.Z)("MuiBackdrop",e)}(0,Ru.Z)("MuiBackdrop",["root","invisible"]);var wz=["classes","className","invisible","component","components","componentsProps","theme"],Dz=l.forwardRef((function(e,n){var t=e.classes,i=e.className,r=e.invisible,l=void 0!==r&&r,a=e.component,o=void 0===a?"div":a,s=e.components,u=void 0===s?{}:s,c=e.componentsProps,d=void 0===c?{}:c,p=e.theme,m=(0,f.Z)(e,wz),y=(0,Qo.Z)({},e,{classes:t,invisible:l}),_=function(e){var n=e.classes,t={root:["root",e.invisible&&"invisible"]};return(0,vu.Z)(t,Sz,n)}(y),h=u.Root||o,g=d.root||{};return(0,oa.jsx)(h,(0,Qo.Z)({"aria-hidden":!0},g,!eL(h)&&{as:o,ownerState:(0,Qo.Z)({},y,g.ownerState),theme:p},{ref:n},m,{className:(0,fu.Z)(_.root,g.className,i)}))})),Az=Dz,Oz=!1,Lz="unmounted",Iz="exited",Uz="entering",Pz="entered",Vz="exiting",Bz=function(e){function n(n,t){var i;i=e.call(this,n,t)||this;var r,l=t&&!t.isMounting?n.enter:n.appear;return i.appearStatus=null,n.in?l?(r=Iz,i.appearStatus=Uz):r=Pz:r=n.unmountOnExit||n.mountOnEnter?Lz:Iz,i.state={status:r},i.nextCallback=null,i}Yo(n,e),n.getDerivedStateFromProps=function(e,n){return e.in&&n.status===Lz?{status:Iz}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var n=null;if(e!==this.props){var t=this.state.status;this.props.in?t!==Uz&&t!==Pz&&(n=Uz):t!==Uz&&t!==Pz||(n=Vz)}this.updateStatus(!1,n)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,n,t,i=this.props.timeout;return e=n=t=i,null!=i&&"number"!==typeof i&&(e=i.exit,n=i.enter,t=void 0!==i.appear?i.appear:n),{exit:e,enter:n,appear:t}},t.updateStatus=function(e,n){void 0===e&&(e=!1),null!==n?(this.cancelNextCallback(),n===Uz?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Iz&&this.setState({status:Lz})},t.performEnter=function(e){var n=this,t=this.props.enter,i=this.context?this.context.isMounting:e,r=this.props.nodeRef?[i]:[a.findDOMNode(this),i],l=r[0],o=r[1],s=this.getTimeouts(),u=i?s.appear:s.enter;!e&&!t||Oz?this.safeSetState({status:Pz},(function(){n.props.onEntered(l)})):(this.props.onEnter(l,o),this.safeSetState({status:Uz},(function(){n.props.onEntering(l,o),n.onTransitionEnd(u,(function(){n.safeSetState({status:Pz},(function(){n.props.onEntered(l,o)}))}))})))},t.performExit=function(){var e=this,n=this.props.exit,t=this.getTimeouts(),i=this.props.nodeRef?void 0:a.findDOMNode(this);n&&!Oz?(this.props.onExit(i),this.safeSetState({status:Vz},(function(){e.props.onExiting(i),e.onTransitionEnd(t.exit,(function(){e.safeSetState({status:Iz},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:Iz},(function(){e.props.onExited(i)}))},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,n){n=this.setNextCallback(n),this.setState(e,n)},t.setNextCallback=function(e){var n=this,t=!0;return this.nextCallback=function(i){t&&(t=!1,n.nextCallback=null,e(i))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},t.onTransitionEnd=function(e,n){this.setNextCallback(n);var t=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(t&&!i){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[t,this.nextCallback],l=r[0],o=r[1];this.props.addEndListener(l,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if(e===Lz)return null;var n=this.props,t=n.children,i=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,f.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.createElement(wL.Provider,{value:null},"function"===typeof t?t(e,i):l.cloneElement(l.Children.only(t),i))},n}(l.Component);function Mz(){}Bz.contextType=wL,Bz.propTypes={},Bz.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Mz,onEntering:Mz,onEntered:Mz,onExit:Mz,onExiting:Mz,onExited:Mz},Bz.UNMOUNTED=Lz,Bz.EXITED=Iz,Bz.ENTERING=Uz,Bz.ENTERED=Pz,Bz.EXITING=Vz;var Fz=Bz,jz=t(1314),Jz=function(e){return e.scrollTop};function Zz(e,n){var t,i,r=e.timeout,l=e.easing,a=e.style,o=void 0===a?{}:a;return{duration:null!=(t=o.transitionDuration)?t:"number"===typeof r?r:r[n.mode]||0,easing:null!=(i=o.transitionTimingFunction)?i:"object"===typeof l?l[n.mode]:l,delay:o.transitionDelay}}var zz=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Hz={entering:{opacity:1},entered:{opacity:1}},qz={enter:jz.x9.enteringScreen,exit:jz.x9.leavingScreen},Wz=l.forwardRef((function(e,n){var t=e.addEndListener,i=e.appear,r=void 0===i||i,a=e.children,o=e.easing,s=e.in,u=e.onEnter,c=e.onEntered,d=e.onEntering,p=e.onExit,m=e.onExited,y=e.onExiting,_=e.style,h=e.timeout,g=void 0===h?qz:h,v=e.TransitionComponent,T=void 0===v?Fz:v,b=(0,f.Z)(e,zz),k=jU(),R=l.useRef(null),N=(0,xL.Z)(a.ref,n),E=(0,xL.Z)(R,N),x=function(e){return function(n){if(e){var t=R.current;void 0===n?e(t):e(t,n)}}},C=x(d),S=x((function(e,n){Jz(e);var t=Zz({style:_,timeout:g,easing:o},{mode:"enter"});e.style.webkitTransition=k.transitions.create("opacity",t),e.style.transition=k.transitions.create("opacity",t),u&&u(e,n)})),w=x(c),D=x(y),A=x((function(e){var n=Zz({style:_,timeout:g,easing:o},{mode:"exit"});e.style.webkitTransition=k.transitions.create("opacity",n),e.style.transition=k.transitions.create("opacity",n),p&&p(e)})),O=x(m);return(0,oa.jsx)(T,(0,Qo.Z)({appear:r,in:s,nodeRef:R,onEnter:S,onEntered:w,onEntering:C,onExit:A,onExited:O,onExiting:D,addEndListener:function(e){t&&t(R.current,e)},timeout:g},b,{children:function(e,n){return l.cloneElement(a,(0,Qo.Z)({style:(0,Qo.Z)({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Hz[e],_,a.props.style),ref:E},n))}}))})),Gz=Wz,Kz=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],$z=(0,Hr.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.invisible&&n.invisible]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},n.invisible&&{backgroundColor:"transparent"})})),Yz=l.forwardRef((function(e,n){var t,i=(0,Tu.Z)({props:e,name:"MuiBackdrop"}),r=i.children,l=i.components,a=void 0===l?{}:l,o=i.componentsProps,s=void 0===o?{}:o,u=i.className,c=i.invisible,d=void 0!==c&&c,p=i.open,m=i.transitionDuration,y=i.TransitionComponent,_=void 0===y?Gz:y,h=(0,f.Z)(i,Kz),g=function(e){return e.classes}((0,Qo.Z)({},i,{invisible:d}));return(0,oa.jsx)(_,(0,Qo.Z)({in:p,timeout:m},h,{children:(0,oa.jsx)(Az,{className:u,invisible:d,components:(0,Qo.Z)({Root:$z},a),componentsProps:{root:(0,Qo.Z)({},s.root,(!a.Root||!eL(a.Root))&&{ownerState:(0,Qo.Z)({},null==(t=s.root)?void 0:t.ownerState)})},classes:g,ref:n,children:r})}))})),Qz=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],Xz=(0,Hr.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,!t.open&&t.exited&&n.hidden]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({position:"fixed",zIndex:n.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})})),eH=(0,Hr.ZP)(Yz,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,n){return n.backdrop}})({zIndex:-1}),nH=l.forwardRef((function(e,n){var t,i=(0,Tu.Z)({name:"MuiModal",props:e}),r=i.BackdropComponent,a=void 0===r?eH:r,s=i.closeAfterTransition,u=void 0!==s&&s,c=i.children,d=i.components,p=void 0===d?{}:d,m=i.componentsProps,y=void 0===m?{}:m,_=i.disableAutoFocus,h=void 0!==_&&_,g=i.disableEnforceFocus,v=void 0!==g&&g,T=i.disableEscapeKeyDown,b=void 0!==T&&T,k=i.disablePortal,R=void 0!==k&&k,N=i.disableRestoreFocus,E=void 0!==N&&N,x=i.disableScrollLock,C=void 0!==x&&x,S=i.hideBackdrop,w=void 0!==S&&S,D=i.keepMounted,A=void 0!==D&&D,O=(0,f.Z)(i,Qz),L=l.useState(!0),I=(0,o.Z)(L,2),U=I[0],P=I[1],V={closeAfterTransition:u,disableAutoFocus:h,disableEnforceFocus:v,disableEscapeKeyDown:b,disablePortal:R,disableRestoreFocus:E,disableScrollLock:C,hideBackdrop:w,keepMounted:A},B=function(e){return e.classes}((0,Qo.Z)({},i,V,{exited:U}));return(0,oa.jsx)(Cz,(0,Qo.Z)({components:(0,Qo.Z)({Root:Xz},p),componentsProps:{root:(0,Qo.Z)({},y.root,(!p.Root||!eL(p.Root))&&{ownerState:(0,Qo.Z)({},null==(t=y.root)?void 0:t.ownerState)})},BackdropComponent:a,onTransitionEnter:function(){return P(!1)},onTransitionExited:function(){return P(!0)},ref:n},O,{classes:B},V,{children:c}))})),tH=t(3199),iH=t(7602),rH=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function lH(e,n,t){var i,r=function(e,n,t){var i,r=n.getBoundingClientRect(),l=t&&t.getBoundingClientRect(),a=(0,iH.Z)(n);if(n.fakeTransform)i=n.fakeTransform;else{var o=a.getComputedStyle(n);i=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var s=0,u=0;if(i&&"none"!==i&&"string"===typeof i){var c=i.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),u=parseInt(c[5],10)}return"left"===e?"translateX(".concat(l?l.right+s-r.left:a.innerWidth+s-r.left,"px)"):"right"===e?"translateX(-".concat(l?r.right-l.left-s:r.left+r.width-s,"px)"):"up"===e?"translateY(".concat(l?l.bottom+u-r.top:a.innerHeight+u-r.top,"px)"):"translateY(-".concat(l?r.top-l.top+r.height-u:r.top+r.height-u,"px)")}(e,n,"function"===typeof(i=t)?i():i);r&&(n.style.webkitTransform=r,n.style.transform=r)}var aH={enter:jz.Ui.easeOut,exit:jz.Ui.sharp},oH={enter:jz.x9.enteringScreen,exit:jz.x9.leavingScreen},sH=l.forwardRef((function(e,n){var t=e.addEndListener,i=e.appear,r=void 0===i||i,a=e.children,o=e.container,s=e.direction,u=void 0===s?"down":s,c=e.easing,d=void 0===c?aH:c,p=e.in,m=e.onEnter,y=e.onEntered,_=e.onEntering,h=e.onExit,g=e.onExited,v=e.onExiting,T=e.style,b=e.timeout,k=void 0===b?oH:b,R=e.TransitionComponent,N=void 0===R?Fz:R,E=(0,f.Z)(e,rH),x=jU(),C=l.useRef(null),S=(0,xL.Z)(a.ref,C),w=(0,xL.Z)(S,n),D=function(e){return function(n){e&&(void 0===n?e(C.current):e(C.current,n))}},A=D((function(e,n){lH(u,e,o),Jz(e),m&&m(e,n)})),O=D((function(e,n){var t=Zz({timeout:k,style:T,easing:d},{mode:"enter"});e.style.webkitTransition=x.transitions.create("-webkit-transform",(0,Qo.Z)({},t)),e.style.transition=x.transitions.create("transform",(0,Qo.Z)({},t)),e.style.webkitTransform="none",e.style.transform="none",_&&_(e,n)})),L=D(y),I=D(v),U=D((function(e){var n=Zz({timeout:k,style:T,easing:d},{mode:"exit"});e.style.webkitTransition=x.transitions.create("-webkit-transform",n),e.style.transition=x.transitions.create("transform",n),lH(u,e,o),h&&h(e)})),P=D((function(e){e.style.webkitTransition="",e.style.transition="",g&&g(e)})),V=l.useCallback((function(){C.current&&lH(u,C.current,o)}),[u,o]);return l.useEffect((function(){if(!p&&"down"!==u&&"right"!==u){var e=(0,tH.Z)((function(){C.current&&lH(u,C.current,o)})),n=(0,iH.Z)(C.current);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}}),[u,p,o]),l.useEffect((function(){p||V()}),[p,V]),(0,oa.jsx)(N,(0,Qo.Z)({nodeRef:C,onEnter:A,onEntered:L,onEntering:O,onExit:U,onExited:P,onExiting:I,addEndListener:function(e){t&&t(C.current,e)},appear:r,in:p,timeout:k},E,{children:function(e,n){return l.cloneElement(a,(0,Qo.Z)({ref:w,style:(0,Qo.Z)({visibility:"exited"!==e||p?void 0:"hidden"},T,a.props.style)},n))}}))})),uH=sH;function cH(e){return(0,ku.Z)("MuiDrawer",e)}(0,Ru.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var dH=["BackdropProps"],pH=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],fH=function(e,n){var t=e.ownerState;return[n.root,("permanent"===t.variant||"persistent"===t.variant)&&n.docked,n.modal]},mH=(0,Hr.ZP)(nH,{name:"MuiDrawer",slot:"Root",overridesResolver:fH})((function(e){return{zIndex:e.theme.zIndex.drawer}})),yH=(0,Hr.ZP)("div",{shouldForwardProp:Hr.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:fH})({flex:"0 0 auto"}),_H=(0,Hr.ZP)(AZ,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(e,n){var t=e.ownerState;return[n.paper,n["paperAnchor".concat((0,Vw.Z)(t.anchor))],"temporary"!==t.variant&&n["paperAnchorDocked".concat((0,Vw.Z)(t.anchor))]]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:n.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:"1px solid ".concat(n.palette.divider)},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:"1px solid ".concat(n.palette.divider)},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:"1px solid ".concat(n.palette.divider)},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:"1px solid ".concat(n.palette.divider)})})),hH={left:"right",right:"left",top:"down",bottom:"up"};var gH={enter:jz.x9.enteringScreen,exit:jz.x9.leavingScreen},vH=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiDrawer"}),i=t.anchor,r=void 0===i?"left":i,a=t.BackdropProps,o=t.children,s=t.className,u=t.elevation,c=void 0===u?16:u,d=t.hideBackdrop,p=void 0!==d&&d,m=t.ModalProps,y=(m=void 0===m?{}:m).BackdropProps,_=t.onClose,h=t.open,g=void 0!==h&&h,v=t.PaperProps,T=void 0===v?{}:v,b=t.SlideProps,k=t.TransitionComponent,R=void 0===k?uH:k,N=t.transitionDuration,E=void 0===N?gH:N,x=t.variant,C=void 0===x?"temporary":x,S=(0,f.Z)(t.ModalProps,dH),w=(0,f.Z)(t,pH),D=jU(),A=l.useRef(!1);l.useEffect((function(){A.current=!0}),[]);var O=function(e,n){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(n)?hH[n]:n}(D,r),L=r,I=(0,Qo.Z)({},t,{anchor:L,elevation:c,open:g,variant:C},w),U=function(e){var n=e.classes,t=e.anchor,i=e.variant,r={root:["root"],docked:[("permanent"===i||"persistent"===i)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat((0,Vw.Z)(t)),"temporary"!==i&&"paperAnchorDocked".concat((0,Vw.Z)(t))]};return(0,vu.Z)(r,cH,n)}(I),P=(0,oa.jsx)(_H,(0,Qo.Z)({elevation:"temporary"===C?c:0,square:!0},T,{className:(0,fu.Z)(U.paper,T.className),ownerState:I,children:o}));if("permanent"===C)return(0,oa.jsx)(yH,(0,Qo.Z)({className:(0,fu.Z)(U.root,U.docked,s),ownerState:I,ref:n},w,{children:P}));var V=(0,oa.jsx)(R,(0,Qo.Z)({in:g,direction:hH[O],timeout:E,appear:A.current},b,{children:P}));return"persistent"===C?(0,oa.jsx)(yH,(0,Qo.Z)({className:(0,fu.Z)(U.root,U.docked,s),ownerState:I,ref:n},w,{children:V})):(0,oa.jsx)(mH,(0,Qo.Z)({BackdropProps:(0,Qo.Z)({},a,y,{transitionDuration:E}),className:(0,fu.Z)(U.root,U.modal,s),open:g,ownerState:I,onClose:_,hideBackdrop:p,ref:n},w,S,{children:V}))})),TH=vH;function bH(e){return(0,ku.Z)("MuiDivider",e)}var kH=(0,Ru.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),RH=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],NH=(0,Hr.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.absolute&&n.absolute,n[t.variant],t.light&&n.light,"vertical"===t.orientation&&n.vertical,t.flexItem&&n.flexItem,t.children&&n.withChildren,t.children&&"vertical"===t.orientation&&n.withChildrenVertical,"right"===t.textAlign&&"vertical"!==t.orientation&&n.textAlignRight,"left"===t.textAlign&&"vertical"!==t.orientation&&n.textAlignLeft]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:n.palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:(0,EL.Fq)(n.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:n.spacing(2),marginRight:n.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:n.spacing(1),marginBottom:n.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid ".concat(n.palette.divider),top:"50%",content:'""',transform:"translateY(50%)"}})}),(function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid ".concat(n.palette.divider),transform:"translateX(0%)"}})}),(function(e){var n=e.ownerState;return(0,Qo.Z)({},"right"===n.textAlign&&"vertical"!==n.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===n.textAlign&&"vertical"!==n.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),EH=(0,Hr.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,n){var t=e.ownerState;return[n.wrapper,"vertical"===t.orientation&&n.wrapperVertical]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({display:"inline-block",paddingLeft:"calc(".concat(n.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(n.spacing(1)," * 1.2)")},"vertical"===t.orientation&&{paddingTop:"calc(".concat(n.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(n.spacing(1)," * 1.2)")})})),xH=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiDivider"}),i=t.absolute,r=void 0!==i&&i,l=t.children,a=t.className,o=t.component,s=void 0===o?l?"div":"hr":o,u=t.flexItem,c=void 0!==u&&u,d=t.light,p=void 0!==d&&d,m=t.orientation,y=void 0===m?"horizontal":m,_=t.role,h=void 0===_?"hr"!==s?"separator":void 0:_,g=t.textAlign,v=void 0===g?"center":g,T=t.variant,b=void 0===T?"fullWidth":T,k=(0,f.Z)(t,RH),R=(0,Qo.Z)({},t,{absolute:r,component:s,flexItem:c,light:p,orientation:y,role:h,textAlign:v,variant:b}),N=function(e){var n=e.absolute,t=e.children,i=e.classes,r=e.flexItem,l=e.light,a=e.orientation,o=e.textAlign,s={root:["root",n&&"absolute",e.variant,l&&"light","vertical"===a&&"vertical",r&&"flexItem",t&&"withChildren",t&&"vertical"===a&&"withChildrenVertical","right"===o&&"vertical"!==a&&"textAlignRight","left"===o&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,vu.Z)(s,bH,i)}(R);return(0,oa.jsx)(NH,(0,Qo.Z)({as:s,className:(0,fu.Z)(N.root,a),role:h,ref:n,ownerState:R},k,{children:l?(0,oa.jsx)(EH,{className:N.wrapper,ownerState:R,children:l}):null}))})),CH=xH,SH=t(1009),wH=t(2338),DH=t(1992),AH=t(5088),OH=t(4979),LH=t(2627),IH=t(8007),UH="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",PH=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function VH(){return{plugins:[td(),ud(),fd(),Td(),Cd(),"undefined"===typeof window?null:Ep(),xp()]}}var BH,MH=zc(VH()),FH=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.disableGlobal,t=void 0!==n&&n,i=e.productionPrefix,r=void 0===i?"jss":i,l=e.seed,a=void 0===l?"":l,o=""===a?"":"".concat(a,"-"),s=0,u=function(){return s+=1};return function(e,n){var i=n.options.name;if(i&&0===i.indexOf("Mui")&&!n.options.link&&!t){if(-1!==PH.indexOf(e.key))return"Mui-".concat(e.key);var l="".concat(o).concat(i,"-").concat(e.key);return n.options.theme[UH]&&""===a?"".concat(l,"-").concat(u()):l}return"".concat(o).concat(r).concat(u())}}(),jH={disableGeneration:!1,generateClassName:FH,jss:MH,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},JH=l.createContext(jH);function ZH(e){var n=e.children,t=e.injectFirst,i=void 0!==t&&t,r=e.disableGeneration,a=void 0!==r&&r,o=m(e,["children","injectFirst","disableGeneration"]),s=l.useContext(JH),u=(0,Qo.Z)({},s,{disableGeneration:a},o);if(!u.jss.options.insertionPoint&&i&&"undefined"!==typeof window){if(!BH){var c=document.head;BH=document.createComment("mui-inject-first"),c.insertBefore(BH,c.firstChild)}u.jss=zc({plugins:VH().plugins,insertionPoint:BH})}return l.createElement(JH.Provider,{value:u},n)}function zH(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.baseClasses,t=e.newClasses;e.Component;if(!t)return n;var i=(0,Qo.Z)({},n);return Object.keys(t).forEach((function(e){t[e]&&(i[e]="".concat(n[e]," ").concat(t[e]))})),i}var HH={set:function(e,n,t,i){var r=e.get(n);r||(r=new Map,e.set(n,r)),r.set(t,i)},get:function(e,n,t){var i=e.get(n);return i?i.get(t):void 0},delete:function(e,n,t){e.get(n).delete(t)}},qH=HH;var WH=l.createContext(null);function GH(){return l.useContext(WH)}var KH=-1e9;function $H(){return KH+=1}function YH(e){return e&&"object"===Ba(e)&&e.constructor===Object}function QH(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=t.clone?(0,Qo.Z)({},e):e;return YH(e)&&YH(n)&&Object.keys(n).forEach((function(r){"__proto__"!==r&&(YH(n[r])&&r in e?i[r]=QH(e[r],n[r],t):i[r]=n[r])})),i}function XH(e){var n="function"===typeof e;return{create:function(t,i){var r;try{r=n?e(t):e}catch(o){throw o}if(!i||!t.overrides||!t.overrides[i])return r;var l=t.overrides[i],a=(0,Qo.Z)({},r);return Object.keys(l).forEach((function(e){a[e]=QH(a[e],l[e])})),a},options:{}}}var eq={};function nq(e,n,t){var i=e.state;if(e.stylesOptions.disableGeneration)return n||{};i.cacheClasses||(i.cacheClasses={value:null,lastProp:null,lastJSS:{}});var r=!1;return i.classes!==i.cacheClasses.lastJSS&&(i.cacheClasses.lastJSS=i.classes,r=!0),n!==i.cacheClasses.lastProp&&(i.cacheClasses.lastProp=n,r=!0),r&&(i.cacheClasses.value=zH({baseClasses:i.cacheClasses.lastJSS,newClasses:n,Component:t})),i.cacheClasses.value}function tq(e,n){var t=e.state,i=e.theme,r=e.stylesOptions,l=e.stylesCreator,a=e.name;if(!r.disableGeneration){var o=qH.get(r.sheetsManager,l,i);o||(o={refs:0,staticSheet:null,dynamicStyles:null},qH.set(r.sheetsManager,l,i,o));var s=(0,Qo.Z)({},l.options,r,{theme:i,flip:"boolean"===typeof r.flip?r.flip:"rtl"===i.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=r.sheetsRegistry;if(0===o.refs){var c;r.sheetsCache&&(c=qH.get(r.sheetsCache,l,i));var d=l.create(i,a);c||((c=r.jss.createStyleSheet(d,(0,Qo.Z)({link:!1},s))).attach(),r.sheetsCache&&qH.set(r.sheetsCache,l,i,c)),u&&u.add(c),o.staticSheet=c,o.dynamicStyles=qc(d)}if(o.dynamicStyles){var p=r.jss.createStyleSheet(o.dynamicStyles,(0,Qo.Z)({link:!0},s));p.update(n),p.attach(),t.dynamicSheet=p,t.classes=zH({baseClasses:o.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else t.classes=o.staticSheet.classes;o.refs+=1}}function iq(e,n){var t=e.state;t.dynamicSheet&&t.dynamicSheet.update(n)}function rq(e){var n=e.state,t=e.theme,i=e.stylesOptions,r=e.stylesCreator;if(!i.disableGeneration){var l=qH.get(i.sheetsManager,r,t);l.refs-=1;var a=i.sheetsRegistry;0===l.refs&&(qH.delete(i.sheetsManager,r,t),i.jss.removeStyleSheet(l.staticSheet),a&&a.remove(l.staticSheet)),n.dynamicSheet&&(i.jss.removeStyleSheet(n.dynamicSheet),a&&a.remove(n.dynamicSheet))}}function lq(e,n){var t,i=l.useRef([]),r=l.useMemo((function(){return{}}),n);i.current!==r&&(i.current=r,t=e()),l.useEffect((function(){return function(){t&&t()}}),[r])}function aq(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.name,i=n.classNamePrefix,r=n.Component,a=n.defaultTheme,o=void 0===a?eq:a,s=m(n,["name","classNamePrefix","Component","defaultTheme"]),u=XH(e),c=t||i||"makeStyles";u.options={index:$H(),name:t,meta:c,classNamePrefix:c};var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=GH()||o,i=(0,Qo.Z)({},l.useContext(JH),s),a=l.useRef(),c=l.useRef();lq((function(){var r={name:t,state:{},stylesCreator:u,stylesOptions:i,theme:n};return tq(r,e),c.current=!1,a.current=r,function(){rq(r)}}),[n,u]),l.useEffect((function(){c.current&&iq(a.current,e),c.current=!0}));var d=nq(a.current,e.classes,r);return d};return d}var oq=["xs","sm","md","lg","xl"];function sq(e){var n=e.values,t=void 0===n?{xs:0,sm:600,md:960,lg:1280,xl:1920}:n,i=e.unit,r=void 0===i?"px":i,l=e.step,a=void 0===l?5:l,o=m(e,["values","unit","step"]);function s(e){var n="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(n).concat(r,")")}function u(e,n){var i=oq.indexOf(n);return i===oq.length-1?s(e):"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(r,") and ")+"(max-width:".concat((-1!==i&&"number"===typeof t[oq[i+1]]?t[oq[i+1]]:n)-a/100).concat(r,")")}return(0,Qo.Z)({keys:oq,values:t,up:s,down:function(e){var n=oq.indexOf(e)+1,i=t[oq[n]];return n===oq.length?s("xs"):"@media (max-width:".concat(("number"===typeof i&&n>0?i:e)-a/100).concat(r,")")},between:u,only:function(e){return u(e,e)},width:function(e){return t[e]}},o)}function uq(e,n,t){var i;return(0,Qo.Z)({gutters:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,Qo.Z)({paddingLeft:n(2),paddingRight:n(2)},t,(0,c.Z)({},e.up("sm"),(0,Qo.Z)({paddingLeft:n(3),paddingRight:n(3)},t[e.up("sm")])))},toolbar:(i={minHeight:56},(0,c.Z)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,c.Z)(i,e.up("sm"),{minHeight:64}),i)},t)}function cq(e){for(var n="https://material-ui.com/production-error/?code="+e,t=1;t1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(n,e),t)}function Tq(e){if(e.type)return e;if("#"===e.charAt(0))return Tq(function(e){e=e.substr(1);var n=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),t=e.match(n);return t&&1===t[0].length&&(t=t.map((function(e){return e+e}))),t?"rgb".concat(4===t.length?"a":"","(").concat(t.map((function(e,n){return n<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var n=e.indexOf("("),t=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla"].indexOf(t))throw new Error(cq(3,e));var i=e.substring(n+1,e.length-1).split(",");return i=i.map((function(e){return parseFloat(e)})),{type:t,values:i}}function bq(e){var n=e.type,t=e.values;return-1!==n.indexOf("rgb")?t=t.map((function(e,n){return n<3?parseInt(e,10):e})):-1!==n.indexOf("hsl")&&(t[1]="".concat(t[1],"%"),t[2]="".concat(t[2],"%")),"".concat(n,"(").concat(t.join(", "),")")}function kq(e){var n="hsl"===(e=Tq(e)).type?Tq(function(e){var n=(e=Tq(e)).values,t=n[0],i=n[1]/100,r=n[2]/100,l=i*Math.min(r,1-r),a=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return r-l*Math.max(Math.min(n-3,9-n,1),-1)},o="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(o+="a",s.push(n[3])),bq({type:o,values:s})}(e)).values:e.values;return n=n.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function Rq(e,n){return e=Tq(e),n=vq(n),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=n,bq(e)}function Nq(e,n){if(e=Tq(e),n=vq(n),-1!==e.type.indexOf("hsl"))e.values[2]*=1-n;else if(-1!==e.type.indexOf("rgb"))for(var t=0;t<3;t+=1)e.values[t]*=1-n;return bq(e)}function Eq(e,n){if(e=Tq(e),n=vq(n),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*n;else if(-1!==e.type.indexOf("rgb"))for(var t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*n;return bq(e)}var xq={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:dq.white,default:pq[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Cq={text:{primary:dq.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:pq[800],default:"#303030"},action:{active:dq.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Sq(e,n,t,i){var r=i.light||i,l=i.dark||1.5*i;e[n]||(e.hasOwnProperty(t)?e[n]=e[t]:"light"===n?e.light=Eq(e.main,r):"dark"===n&&(e.dark=Nq(e.main,l)))}function wq(e){var n=e.primary,t=void 0===n?{light:fq[300],main:fq[500],dark:fq[700]}:n,i=e.secondary,r=void 0===i?{light:mq.A200,main:mq.A400,dark:mq.A700}:i,l=e.error,a=void 0===l?{light:yq[300],main:yq[500],dark:yq[700]}:l,o=e.warning,s=void 0===o?{light:_q[300],main:_q[500],dark:_q[700]}:o,u=e.info,c=void 0===u?{light:hq[300],main:hq[500],dark:hq[700]}:u,d=e.success,p=void 0===d?{light:gq[300],main:gq[500],dark:gq[700]}:d,f=e.type,y=void 0===f?"light":f,_=e.contrastThreshold,h=void 0===_?3:_,g=e.tonalOffset,v=void 0===g?.2:g,T=m(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function b(e){var n=function(e,n){var t=kq(e),i=kq(n);return(Math.max(t,i)+.05)/(Math.min(t,i)+.05)}(e,Cq.text.primary)>=h?Cq.text.primary:xq.text.primary;return n}var k=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,Qo.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.main)throw new Error(cq(4,n));if("string"!==typeof e.main)throw new Error(cq(5,JSON.stringify(e.main)));return Sq(e,"light",t,v),Sq(e,"dark",i,v),e.contrastText||(e.contrastText=b(e.main)),e},R={dark:Cq,light:xq};return QH((0,Qo.Z)({common:dq,type:y,primary:k(t),secondary:k(r,"A400","A200","A700"),error:k(a),warning:k(s),info:k(c),success:k(p),grey:pq,contrastThreshold:h,getContrastText:b,augmentColor:k,tonalOffset:v},R[y]),T)}function Dq(e){return Math.round(1e5*e)/1e5}function Aq(e){return Dq(e)}var Oq={textTransform:"uppercase"},Lq='"Roboto", "Helvetica", "Arial", sans-serif';function Iq(e,n){var t="function"===typeof n?n(e):n,i=t.fontFamily,r=void 0===i?Lq:i,l=t.fontSize,a=void 0===l?14:l,o=t.fontWeightLight,s=void 0===o?300:o,u=t.fontWeightRegular,c=void 0===u?400:u,d=t.fontWeightMedium,p=void 0===d?500:d,f=t.fontWeightBold,y=void 0===f?700:f,_=t.htmlFontSize,h=void 0===_?16:_,g=t.allVariants,v=t.pxToRem,T=m(t,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var b=a/14,k=v||function(e){return"".concat(e/h*b,"rem")},R=function(e,n,t,i,l){return(0,Qo.Z)({fontFamily:r,fontWeight:e,fontSize:k(n),lineHeight:t},r===Lq?{letterSpacing:"".concat(Dq(i/n),"em")}:{},l,g)},N={h1:R(s,96,1.167,-1.5),h2:R(s,60,1.2,-.5),h3:R(c,48,1.167,0),h4:R(c,34,1.235,.25),h5:R(c,24,1.334,0),h6:R(p,20,1.6,.15),subtitle1:R(c,16,1.75,.15),subtitle2:R(p,14,1.57,.1),body1:R(c,16,1.5,.15),body2:R(c,14,1.43,.15),button:R(p,14,1.75,.4,Oq),caption:R(c,12,1.66,.4),overline:R(c,12,2.66,1,Oq)};return QH((0,Qo.Z)({htmlFontSize:h,pxToRem:k,round:Aq,fontFamily:r,fontSize:a,fontWeightLight:s,fontWeightRegular:c,fontWeightMedium:p,fontWeightBold:y},N),T,{clone:!1})}function Uq(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Pq=["none",Uq(0,2,1,-1,0,1,1,0,0,1,3,0),Uq(0,3,1,-2,0,2,2,0,0,1,5,0),Uq(0,3,3,-2,0,3,4,0,0,1,8,0),Uq(0,2,4,-1,0,4,5,0,0,1,10,0),Uq(0,3,5,-1,0,5,8,0,0,1,14,0),Uq(0,3,5,-1,0,6,10,0,0,1,18,0),Uq(0,4,5,-2,0,7,10,1,0,2,16,1),Uq(0,5,5,-3,0,8,10,1,0,3,14,2),Uq(0,5,6,-3,0,9,12,1,0,3,16,2),Uq(0,6,6,-3,0,10,14,1,0,4,18,3),Uq(0,6,7,-4,0,11,15,1,0,4,20,3),Uq(0,7,8,-4,0,12,17,2,0,5,22,4),Uq(0,7,8,-4,0,13,19,2,0,5,24,4),Uq(0,7,9,-4,0,14,21,2,0,5,26,4),Uq(0,8,9,-5,0,15,22,2,0,6,28,5),Uq(0,8,10,-5,0,16,24,2,0,6,30,5),Uq(0,8,11,-5,0,17,26,2,0,6,32,5),Uq(0,9,11,-5,0,18,28,2,0,7,34,6),Uq(0,9,12,-6,0,19,29,2,0,7,36,6),Uq(0,10,13,-6,0,20,31,3,0,8,38,7),Uq(0,10,13,-6,0,21,33,3,0,8,40,7),Uq(0,10,14,-6,0,22,35,3,0,8,42,7),Uq(0,11,14,-7,0,23,36,3,0,9,44,8),Uq(0,11,15,-7,0,24,38,3,0,9,46,8)],Vq={borderRadius:4},Bq={xs:0,sm:600,md:960,lg:1280,xl:1920},Mq={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Bq[e],"px)")}};var Fq=function(e,n){return n?QH(e,n,{clone:!1}):e};var jq={m:"margin",p:"padding"},Jq={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Zq={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},zq=function(e){var n={};return function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]}}((function(e){if(e.length>2){if(!Zq[e])return[e];e=Zq[e]}var n=e.split(""),t=(0,o.Z)(n,2),i=t[0],r=t[1],l=jq[i],a=Jq[r]||"";return Array.isArray(a)?a.map((function(e){return l+e})):[l+a]})),Hq=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function qq(e){var n=e.spacing||8;return"number"===typeof n?function(e){return n*e}:Array.isArray(n)?function(e){return n[e]}:"function"===typeof n?n:function(){}}function Wq(e,n){return function(t){return e.reduce((function(e,i){return e[i]=function(e,n){if("string"===typeof n||null==n)return n;var t=e(Math.abs(n));return n>=0?t:"number"===typeof t?-t:"-".concat(t)}(n,t),e}),{})}}function Gq(e){var n=qq(e.theme);return Object.keys(e).map((function(t){if(-1===Hq.indexOf(t))return null;var i=Wq(zq(t),n),r=e[t];return function(e,n,t){if(Array.isArray(n)){var i=e.theme.breakpoints||Mq;return n.reduce((function(e,r,l){return e[i.up(i.keys[l])]=t(n[l]),e}),{})}if("object"===Ba(n)){var r=e.theme.breakpoints||Mq;return Object.keys(n).reduce((function(e,i){return e[r.up(i)]=t(n[i]),e}),{})}return t(n)}(e,r,i)})).reduce(Fq,{})}Gq.propTypes={},Gq.filterProps=Hq;function Kq(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var n=qq({spacing:e}),t=function(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.duration,i=void 0===t?Yq.standard:t,r=n.easing,l=void 0===r?$q.easeInOut:r,a=n.delay,o=void 0===a?0:a;m(n,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof i?i:Qq(i)," ").concat(l," ").concat("string"===typeof o?o:Qq(o))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var n=e/36;return Math.round(10*(4+15*Math.pow(n,.25)+n/5))}},eW={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function nW(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.breakpoints,t=void 0===n?{}:n,i=e.mixins,r=void 0===i?{}:i,l=e.palette,a=void 0===l?{}:l,o=e.spacing,s=e.typography,u=void 0===s?{}:s,c=m(e,["breakpoints","mixins","palette","spacing","typography"]),d=wq(a),p=sq(t),f=Kq(o),y=QH({breakpoints:p,direction:"ltr",mixins:uq(p,f,r),overrides:{},palette:d,props:{},shadows:Pq,typography:Iq(d,u),spacing:f,shape:Vq,transitions:Xq,zIndex:eW},c),_=arguments.length,h=new Array(_>1?_-1:0),g=1;g<_;g++)h[g-1]=arguments[g];return y=h.reduce((function(e,n){return QH(e,n)}),y)}var tW=nW();var iW=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return aq(e,(0,Qo.Z)({defaultTheme:tW},n))};function rW(e){var n=e.theme,t=e.name,i=e.props;if(!n||!n.props||!n.props[t])return i;var r,l=n.props[t];for(r in l)void 0===i[r]&&(i[r]=l[r]);return i}var lW=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){var i=n.defaultTheme,r=n.withTheme,a=void 0!==r&&r,o=n.name,s=m(n,["defaultTheme","withTheme","name"]);var u=o,c=aq(e,(0,Qo.Z)({defaultTheme:i,Component:t,name:o||t.displayName,classNamePrefix:u},s)),d=l.forwardRef((function(e,n){e.classes;var r,s=e.innerRef,u=m(e,["classes","innerRef"]),d=c((0,Qo.Z)({},t.defaultProps,e)),p=u;return("string"===typeof o||a)&&(r=GH()||i,o&&(p=rW({theme:r,name:o,props:u})),a&&!p.theme&&(p.theme=r)),l.createElement(t,(0,Qo.Z)({ref:s||n,classes:d},p))}));return Vs()(d,t),d}};var aW=function(e,n){return lW(e,(0,Qo.Z)({defaultTheme:tW},n))},oW=[0,1,2,3,4,5,6,7,8,9,10],sW=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function uW(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=parseFloat(e);return"".concat(t/n).concat(String(e).replace(String(t),"")||"px")}var cW=l.forwardRef((function(e,n){var t=e.alignContent,i=void 0===t?"stretch":t,r=e.alignItems,a=void 0===r?"stretch":r,o=e.classes,s=e.className,u=e.component,c=void 0===u?"div":u,d=e.container,p=void 0!==d&&d,f=e.direction,y=void 0===f?"row":f,_=e.item,h=void 0!==_&&_,g=e.justify,v=e.justifyContent,T=void 0===v?"flex-start":v,b=e.lg,k=void 0!==b&&b,R=e.md,N=void 0!==R&&R,E=e.sm,x=void 0!==E&&E,C=e.spacing,S=void 0===C?0:C,w=e.wrap,D=void 0===w?"wrap":w,A=e.xl,O=void 0!==A&&A,L=e.xs,I=void 0!==L&&L,U=e.zeroMinWidth,P=void 0!==U&&U,V=m(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),B=(0,fu.Z)(o.root,s,p&&[o.container,0!==S&&o["spacing-xs-".concat(String(S))]],h&&o.item,P&&o.zeroMinWidth,"row"!==y&&o["direction-xs-".concat(String(y))],"wrap"!==D&&o["wrap-xs-".concat(String(D))],"stretch"!==a&&o["align-items-xs-".concat(String(a))],"stretch"!==i&&o["align-content-xs-".concat(String(i))],"flex-start"!==(g||T)&&o["justify-content-xs-".concat(String(g||T))],!1!==I&&o["grid-xs-".concat(String(I))],!1!==x&&o["grid-sm-".concat(String(x))],!1!==N&&o["grid-md-".concat(String(N))],!1!==k&&o["grid-lg-".concat(String(k))],!1!==O&&o["grid-xl-".concat(String(O))]);return l.createElement(c,(0,Qo.Z)({className:B,ref:n},V))})),dW=aW((function(e){return(0,Qo.Z)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,n){var t={};return oW.forEach((function(i){var r=e.spacing(i);0!==r&&(t["spacing-".concat(n,"-").concat(i)]={margin:"-".concat(uW(r,2)),width:"calc(100% + ".concat(uW(r),")"),"& > $item":{padding:uW(r,2)}})})),t}(e,"xs"),e.breakpoints.keys.reduce((function(n,t){return function(e,n,t){var i={};sW.forEach((function(e){var n="grid-".concat(t,"-").concat(e);if(!0!==e)if("auto"!==e){var r="".concat(Math.round(e/12*1e8)/1e6,"%");i[n]={flexBasis:r,flexGrow:0,maxWidth:r}}else i[n]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else i[n]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===t?(0,Qo.Z)(e,i):e[n.breakpoints.up(t)]=i}(n,e,t),n}),{}))}),{name:"MuiGrid"})(cW),pW=dW;function fW(e,n){"function"===typeof e?e(n):e&&(e.current=n)}function mW(e,n){return l.useMemo((function(){return null==e&&null==n?null:function(t){fW(e,t),fW(n,t)}}),[e,n])}var yW="undefined"!==typeof window?l.useLayoutEffect:l.useEffect;function _W(e){var n=l.useRef(e);return yW((function(){n.current=e})),l.useCallback((function(){return n.current.apply(void 0,arguments)}),[])}var hW=!0,gW=!1,vW=null,TW={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function bW(e){e.metaKey||e.altKey||e.ctrlKey||(hW=!0)}function kW(){hW=!1}function RW(){"hidden"===this.visibilityState&&gW&&(hW=!0)}function NW(e){var n=e.target;try{return n.matches(":focus-visible")}catch(t){}return hW||function(e){var n=e.type,t=e.tagName;return!("INPUT"!==t||!TW[n]||e.readOnly)||"TEXTAREA"===t&&!e.readOnly||!!e.isContentEditable}(n)}function EW(){gW=!0,window.clearTimeout(vW),vW=window.setTimeout((function(){gW=!1}),100)}function xW(){return{isFocusVisible:NW,onBlurVisible:EW,ref:l.useCallback((function(e){var n,t=a.findDOMNode(e);null!=t&&((n=t.ownerDocument).addEventListener("keydown",bW,!0),n.addEventListener("mousedown",kW,!0),n.addEventListener("pointerdown",kW,!0),n.addEventListener("touchstart",kW,!0),n.addEventListener("visibilitychange",RW,!0))}),[])}}var CW="undefined"===typeof window?l.useEffect:l.useLayoutEffect;var SW=function(e){var n=e.classes,t=e.pulsate,i=void 0!==t&&t,r=e.rippleX,a=e.rippleY,o=e.rippleSize,s=e.in,u=e.onExited,c=void 0===u?function(){}:u,d=e.timeout,p=l.useState(!1),f=p[0],m=p[1],y=(0,fu.Z)(n.ripple,n.rippleVisible,i&&n.ripplePulsate),_={width:o,height:o,top:-o/2+a,left:-o/2+r},h=(0,fu.Z)(n.child,f&&n.childLeaving,i&&n.childPulsate),g=_W(c);return CW((function(){if(!s){m(!0);var e=setTimeout(g,d);return function(){clearTimeout(e)}}}),[g,s,d]),l.createElement("span",{className:y,style:_},l.createElement("span",{className:h}))},wW=l.forwardRef((function(e,n){var t=e.center,i=void 0!==t&&t,r=e.classes,a=e.className,o=m(e,["center","classes","className"]),s=l.useState([]),u=s[0],c=s[1],d=l.useRef(0),p=l.useRef(null);l.useEffect((function(){p.current&&(p.current(),p.current=null)}),[u]);var f=l.useRef(!1),y=l.useRef(null),_=l.useRef(null),h=l.useRef(null);l.useEffect((function(){return function(){clearTimeout(y.current)}}),[]);var g=l.useCallback((function(e){var n=e.pulsate,t=e.rippleX,i=e.rippleY,a=e.rippleSize,o=e.cb;c((function(e){return[].concat((0,z.Z)(e),[l.createElement(SW,{key:d.current,classes:r,timeout:550,pulsate:n,rippleX:t,rippleY:i,rippleSize:a})])})),d.current+=1,p.current=o}),[r]),v=l.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,r=n.pulsate,l=void 0!==r&&r,a=n.center,o=void 0===a?i||n.pulsate:a,s=n.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&f.current)f.current=!1;else{"touchstart"===e.type&&(f.current=!0);var c,d,p,m=u?null:h.current,v=m?m.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(o||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(v.width/2),d=Math.round(v.height/2);else{var T=e.touches?e.touches[0]:e,b=T.clientX,k=T.clientY;c=Math.round(b-v.left),d=Math.round(k-v.top)}if(o)(p=Math.sqrt((2*Math.pow(v.width,2)+Math.pow(v.height,2))/3))%2===0&&(p+=1);else{var R=2*Math.max(Math.abs((m?m.clientWidth:0)-c),c)+2,N=2*Math.max(Math.abs((m?m.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(R,2)+Math.pow(N,2))}e.touches?null===_.current&&(_.current=function(){g({pulsate:l,rippleX:c,rippleY:d,rippleSize:p,cb:t})},y.current=setTimeout((function(){_.current&&(_.current(),_.current=null)}),80)):g({pulsate:l,rippleX:c,rippleY:d,rippleSize:p,cb:t})}}),[i,g]),T=l.useCallback((function(){v({},{pulsate:!0})}),[v]),b=l.useCallback((function(e,n){if(clearTimeout(y.current),"touchend"===e.type&&_.current)return e.persist(),_.current(),_.current=null,void(y.current=setTimeout((function(){b(e,n)})));_.current=null,c((function(e){return e.length>0?e.slice(1):e})),p.current=n}),[]);return l.useImperativeHandle(n,(function(){return{pulsate:T,start:v,stop:b}}),[T,v,b]),l.createElement("span",(0,Qo.Z)({className:(0,fu.Z)(r.root,a),ref:h},o),l.createElement(UL,{component:null,exit:!0},u))})),DW=aW((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(l.memo(wW)),AW=l.forwardRef((function(e,n){var t=e.action,i=e.buttonRef,r=e.centerRipple,o=void 0!==r&&r,s=e.children,u=e.classes,c=e.className,d=e.component,p=void 0===d?"button":d,f=e.disabled,y=void 0!==f&&f,_=e.disableRipple,h=void 0!==_&&_,g=e.disableTouchRipple,v=void 0!==g&&g,T=e.focusRipple,b=void 0!==T&&T,k=e.focusVisibleClassName,R=e.onBlur,N=e.onClick,E=e.onFocus,x=e.onFocusVisible,C=e.onKeyDown,S=e.onKeyUp,w=e.onMouseDown,D=e.onMouseLeave,A=e.onMouseUp,O=e.onTouchEnd,L=e.onTouchMove,I=e.onTouchStart,U=e.onDragLeave,P=e.tabIndex,V=void 0===P?0:P,B=e.TouchRippleProps,M=e.type,F=void 0===M?"button":M,j=m(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),J=l.useRef(null);var Z=l.useRef(null),z=l.useState(!1),H=z[0],q=z[1];y&&H&&q(!1);var W=xW(),G=W.isFocusVisible,K=W.onBlurVisible,$=W.ref;function Y(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return _W((function(i){return n&&n(i),!t&&Z.current&&Z.current[e](i),!0}))}l.useImperativeHandle(t,(function(){return{focusVisible:function(){q(!0),J.current.focus()}}}),[]),l.useEffect((function(){H&&b&&!h&&Z.current.pulsate()}),[h,b,H]);var Q=Y("start",w),X=Y("stop",U),ee=Y("stop",A),ne=Y("stop",(function(e){H&&e.preventDefault(),D&&D(e)})),te=Y("start",I),ie=Y("stop",O),re=Y("stop",L),le=Y("stop",(function(e){H&&(K(e),q(!1)),R&&R(e)}),!1),ae=_W((function(e){J.current||(J.current=e.currentTarget),G(e)&&(q(!0),x&&x(e)),E&&E(e)})),oe=function(){var e=a.findDOMNode(J.current);return p&&"button"!==p&&!("A"===e.tagName&&e.href)},se=l.useRef(!1),ue=_W((function(e){b&&!se.current&&H&&Z.current&&" "===e.key&&(se.current=!0,e.persist(),Z.current.stop(e,(function(){Z.current.start(e)}))),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!y&&(e.preventDefault(),N&&N(e))})),ce=_W((function(e){b&&" "===e.key&&Z.current&&H&&!e.defaultPrevented&&(se.current=!1,e.persist(),Z.current.stop(e,(function(){Z.current.pulsate(e)}))),S&&S(e),N&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&N(e)})),de=p;"button"===de&&j.href&&(de="a");var pe={};"button"===de?(pe.type=F,pe.disabled=y):("a"===de&&j.href||(pe.role="button"),pe["aria-disabled"]=y);var fe=mW(i,n),me=mW($,J),ye=mW(fe,me),_e=l.useState(!1),he=_e[0],ge=_e[1];l.useEffect((function(){ge(!0)}),[]);var ve=he&&!h&&!y;return l.createElement(de,(0,Qo.Z)({className:(0,fu.Z)(u.root,c,H&&[u.focusVisible,k],y&&u.disabled),onBlur:le,onClick:N,onFocus:ae,onKeyDown:ue,onKeyUp:ce,onMouseDown:Q,onMouseLeave:ne,onMouseUp:ee,onDragLeave:X,onTouchEnd:ie,onTouchMove:re,onTouchStart:te,ref:ye,tabIndex:y?-1:V},pe,j),s,ve?l.createElement(DW,(0,Qo.Z)({ref:Z,center:o},B)):null)})),OW=aW({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(AW);function LW(e){if("string"!==typeof e)throw new Error(cq(7));return e.charAt(0).toUpperCase()+e.slice(1)}var IW=l.forwardRef((function(e,n){var t=e.edge,i=void 0!==t&&t,r=e.children,a=e.classes,o=e.className,s=e.color,u=void 0===s?"default":s,c=e.disabled,d=void 0!==c&&c,p=e.disableFocusRipple,f=void 0!==p&&p,y=e.size,_=void 0===y?"medium":y,h=m(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return l.createElement(OW,(0,Qo.Z)({className:(0,fu.Z)(a.root,o,"default"!==u&&a["color".concat(LW(u))],d&&a.disabled,"small"===_&&a["size".concat(LW(_))],{start:a.edgeStart,end:a.edgeEnd}[i]),centerRipple:!0,focusRipple:!f,disabled:d,ref:n},h),l.createElement("span",{className:a.label},r))})),UW=aW((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Rq(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Rq(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Rq(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(IW);function PW(e){return e&&e.ownerDocument||document}function VW(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function i(){for(var i=arguments.length,r=new Array(i),l=0;l3&&void 0!==arguments[3]?arguments[3]:[],r=arguments.length>4?arguments[4]:void 0,l=[n,t].concat((0,z.Z)(i)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===l.indexOf(e)&&-1===a.indexOf(e.tagName)&&ZW(e,r)}))}function qW(e,n){var t=-1;return e.some((function(e,i){return!!n(e)&&(t=i,!0)})),t}function WW(e,n){var t,i=[],r=[],l=e.container;if(!n.disableScrollLock){if(function(e){var n=PW(e);return n.body===e?BW(n).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(l)){var a=JW();i.push({value:l.style.paddingRight,key:"padding-right",el:l}),l.style["padding-right"]="".concat(zW(l)+a,"px"),t=PW(l).querySelectorAll(".mui-fixed"),[].forEach.call(t,(function(e){r.push(e.style.paddingRight),e.style.paddingRight="".concat(zW(e)+a,"px")}))}var o=l.parentElement,s="HTML"===o.nodeName&&"scroll"===window.getComputedStyle(o)["overflow-y"]?o:l;i.push({value:s.style.overflow,key:"overflow",el:s}),s.style.overflow="hidden"}return function(){t&&[].forEach.call(t,(function(e,n){r[n]?e.style.paddingRight=r[n]:e.style.removeProperty("padding-right")})),i.forEach((function(e){var n=e.value,t=e.el,i=e.key;n?t.style.setProperty(i,n):t.style.removeProperty(i)}))}}var GW=function(){function e(){j(this,e),this.modals=[],this.containers=[]}return Z(e,[{key:"add",value:function(e,n){var t=this.modals.indexOf(e);if(-1!==t)return t;t=this.modals.length,this.modals.push(e),e.modalRef&&ZW(e.modalRef,!1);var i=function(e){var n=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&n.push(e)})),n}(n);HW(n,e.mountNode,e.modalRef,i,!0);var r=qW(this.containers,(function(e){return e.container===n}));return-1!==r?(this.containers[r].modals.push(e),t):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblingNodes:i}),t)}},{key:"mount",value:function(e,n){var t=qW(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),i=this.containers[t];i.restore||(i.restore=WW(i,n))}},{key:"remove",value:function(e){var n=this.modals.indexOf(e);if(-1===n)return n;var t=qW(this.containers,(function(n){return-1!==n.modals.indexOf(e)})),i=this.containers[t];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&ZW(e.modalRef,!0),HW(i.container,e.mountNode,e.modalRef,i.hiddenSiblingNodes,!1),this.containers.splice(t,1);else{var r=i.modals[i.modals.length-1];r.modalRef&&ZW(r.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var KW=function(e){var n=e.children,t=e.disableAutoFocus,i=void 0!==t&&t,r=e.disableEnforceFocus,o=void 0!==r&&r,s=e.disableRestoreFocus,u=void 0!==s&&s,c=e.getDoc,d=e.isEnabled,p=e.open,f=l.useRef(),m=l.useRef(null),y=l.useRef(null),_=l.useRef(),h=l.useRef(null),g=l.useCallback((function(e){h.current=a.findDOMNode(e)}),[]),v=mW(n.ref,g),T=l.useRef();return l.useEffect((function(){T.current=p}),[p]),!T.current&&p&&"undefined"!==typeof window&&(_.current=c().activeElement),l.useEffect((function(){if(p){var e=PW(h.current);i||!h.current||h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),h.current.focus());var n=function(){null!==h.current&&(e.hasFocus()&&!o&&d()&&!f.current?h.current&&!h.current.contains(e.activeElement)&&h.current.focus():f.current=!1)},t=function(n){!o&&d()&&9===n.keyCode&&e.activeElement===h.current&&(f.current=!0,n.shiftKey?y.current.focus():m.current.focus())};e.addEventListener("focus",n,!0),e.addEventListener("keydown",t,!0);var r=setInterval((function(){n()}),50);return function(){clearInterval(r),e.removeEventListener("focus",n,!0),e.removeEventListener("keydown",t,!0),u||(_.current&&_.current.focus&&_.current.focus(),_.current=null)}}}),[i,o,u,d,p]),l.createElement(l.Fragment,null,l.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelStart"}),l.cloneElement(n,{ref:v}),l.createElement("div",{tabIndex:0,ref:y,"data-test":"sentinelEnd"}))},$W={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},YW=l.forwardRef((function(e,n){var t=e.invisible,i=void 0!==t&&t,r=e.open,a=m(e,["invisible","open"]);return r?l.createElement("div",(0,Qo.Z)({"aria-hidden":!0,ref:n},a,{style:(0,Qo.Z)({},$W.root,i?$W.invisible:{},a.style)})):null}));var QW=new GW,XW=l.forwardRef((function(e,n){var t=GH(),i=rW({name:"MuiModal",props:(0,Qo.Z)({},e),theme:t}),r=i.BackdropComponent,o=void 0===r?YW:r,s=i.BackdropProps,u=i.children,c=i.closeAfterTransition,d=void 0!==c&&c,p=i.container,f=i.disableAutoFocus,y=void 0!==f&&f,_=i.disableBackdropClick,h=void 0!==_&&_,g=i.disableEnforceFocus,v=void 0!==g&&g,T=i.disableEscapeKeyDown,b=void 0!==T&&T,k=i.disablePortal,R=void 0!==k&&k,N=i.disableRestoreFocus,E=void 0!==N&&N,x=i.disableScrollLock,C=void 0!==x&&x,S=i.hideBackdrop,w=void 0!==S&&S,D=i.keepMounted,A=void 0!==D&&D,O=i.manager,L=void 0===O?QW:O,I=i.onBackdropClick,U=i.onClose,P=i.onEscapeKeyDown,V=i.onRendered,B=i.open,M=m(i,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),F=l.useState(!0),j=F[0],J=F[1],Z=l.useRef({}),z=l.useRef(null),H=l.useRef(null),q=mW(H,n),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(i),G=function(){return PW(z.current)},K=function(){return Z.current.modalRef=H.current,Z.current.mountNode=z.current,Z.current},$=function(){L.mount(K(),{disableScrollLock:C}),H.current.scrollTop=0},Y=_W((function(){var e=function(e){return e="function"===typeof e?e():e,a.findDOMNode(e)}(p)||G().body;L.add(K(),e),H.current&&$()})),Q=l.useCallback((function(){return L.isTopModal(K())}),[L]),X=_W((function(e){z.current=e,e&&(V&&V(),B&&Q()?$():ZW(H.current,!0))})),ee=l.useCallback((function(){L.remove(K())}),[L]);if(l.useEffect((function(){return function(){ee()}}),[ee]),l.useEffect((function(){B?Y():W&&d||ee()}),[B,ee,W,d,Y]),!A&&!B&&(!W||j))return null;var ne=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(t||{zIndex:eW}),te={};return void 0===u.props.tabIndex&&(te.tabIndex=u.props.tabIndex||"-1"),W&&(te.onEnter=MW((function(){J(!1)}),u.props.onEnter),te.onExited=MW((function(){J(!0),d&&ee()}),u.props.onExited)),l.createElement(jW,{ref:X,container:p,disablePortal:R},l.createElement("div",(0,Qo.Z)({ref:q,onKeyDown:function(e){"Escape"===e.key&&Q()&&(P&&P(e),b||(e.stopPropagation(),U&&U(e,"escapeKeyDown")))},role:"presentation"},M,{style:(0,Qo.Z)({},ne.root,!B&&j?ne.hidden:{},M.style)}),w?null:l.createElement(o,(0,Qo.Z)({open:B,onClick:function(e){e.target===e.currentTarget&&(I&&I(e),!h&&U&&U(e,"backdropClick"))}},s)),l.createElement(KW,{disableEnforceFocus:v,disableAutoFocus:y,disableRestoreFocus:E,getDoc:G,isEnabled:Q,open:B},l.cloneElement(u,te))))})),eG=XW;function nG(){return GH()||tW}function tG(e,n){var t=e.timeout,i=e.style,r=void 0===i?{}:i;return{duration:r.transitionDuration||"number"===typeof t?t:t[n.mode]||0,delay:r.transitionDelay}}function iG(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var rG={entering:{opacity:1,transform:iG(1)},entered:{opacity:1,transform:"none"}},lG=l.forwardRef((function(e,n){var t=e.children,i=e.disableStrictModeCompat,r=void 0!==i&&i,a=e.in,s=e.onEnter,u=e.onEntered,c=e.onEntering,d=e.onExit,p=e.onExited,f=e.onExiting,y=e.style,_=e.timeout,h=void 0===_?"auto":_,g=e.TransitionComponent,v=void 0===g?Fz:g,T=m(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),b=l.useRef(),k=l.useRef(),R=nG(),N=R.unstable_strictMode&&!r,E=l.useRef(null),x=mW(t.ref,n),C=mW(N?E:void 0,x),S=function(e){return function(n,t){if(e){var i=N?[E.current,n]:[n,t],r=(0,o.Z)(i,2),l=r[0],a=r[1];void 0===a?e(l):e(l,a)}}},w=S(c),D=S((function(e,n){!function(e){e.scrollTop}(e);var t,i=tG({style:y,timeout:h},{mode:"enter"}),r=i.duration,l=i.delay;"auto"===h?(t=R.transitions.getAutoHeightDuration(e.clientHeight),k.current=t):t=r,e.style.transition=[R.transitions.create("opacity",{duration:t,delay:l}),R.transitions.create("transform",{duration:.666*t,delay:l})].join(","),s&&s(e,n)})),A=S(u),O=S(f),L=S((function(e){var n,t=tG({style:y,timeout:h},{mode:"exit"}),i=t.duration,r=t.delay;"auto"===h?(n=R.transitions.getAutoHeightDuration(e.clientHeight),k.current=n):n=i,e.style.transition=[R.transitions.create("opacity",{duration:n,delay:r}),R.transitions.create("transform",{duration:.666*n,delay:r||.333*n})].join(","),e.style.opacity="0",e.style.transform=iG(.75),d&&d(e)})),I=S(p);return l.useEffect((function(){return function(){clearTimeout(b.current)}}),[]),l.createElement(v,(0,Qo.Z)({appear:!0,in:a,nodeRef:N?E:void 0,onEnter:D,onEntered:A,onEntering:w,onExit:L,onExited:I,onExiting:O,addEndListener:function(e,n){var t=N?e:n;"auto"===h&&(b.current=setTimeout(t,k.current||0))},timeout:"auto"===h?null:h},T),(function(e,n){return l.cloneElement(t,(0,Qo.Z)({style:(0,Qo.Z)({opacity:0,transform:iG(.75),visibility:"exited"!==e||a?void 0:"hidden"},rG[e],y,t.props.style),ref:C},n))}))}));lG.muiSupportAuto=!0;var aG=lG,oG=l.forwardRef((function(e,n){var t=e.classes,i=e.className,r=e.component,a=void 0===r?"div":r,o=e.square,s=void 0!==o&&o,u=e.elevation,c=void 0===u?1:u,d=e.variant,p=void 0===d?"elevation":d,f=m(e,["classes","className","component","square","elevation","variant"]);return l.createElement(a,(0,Qo.Z)({className:(0,fu.Z)(t.root,i,"outlined"===p?t.outlined:t["elevation".concat(c)],!s&&t.rounded),ref:n},f))})),sG=aW((function(e){var n={};return e.shadows.forEach((function(e,t){n["elevation".concat(t)]={boxShadow:e}})),(0,Qo.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},n)}),{name:"MuiPaper"})(oG);function uG(e,n){var t=0;return"number"===typeof n?t=n:"center"===n?t=e.height/2:"bottom"===n&&(t=e.height),t}function cG(e,n){var t=0;return"number"===typeof n?t=n:"center"===n?t=e.width/2:"right"===n&&(t=e.width),t}function dG(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function pG(e){return"function"===typeof e?e():e}var fG=l.forwardRef((function(e,n){var t=e.action,i=e.anchorEl,r=e.anchorOrigin,o=void 0===r?{vertical:"top",horizontal:"left"}:r,s=e.anchorPosition,u=e.anchorReference,c=void 0===u?"anchorEl":u,d=e.children,p=e.classes,f=e.className,y=e.container,_=e.elevation,h=void 0===_?8:_,g=e.getContentAnchorEl,v=e.marginThreshold,T=void 0===v?16:v,b=e.onEnter,k=e.onEntered,R=e.onEntering,N=e.onExit,E=e.onExited,x=e.onExiting,C=e.open,S=e.PaperProps,w=void 0===S?{}:S,D=e.transformOrigin,A=void 0===D?{vertical:"top",horizontal:"left"}:D,O=e.TransitionComponent,L=void 0===O?aG:O,I=e.transitionDuration,U=void 0===I?"auto":I,P=e.TransitionProps,V=void 0===P?{}:P,B=m(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),M=l.useRef(),F=l.useCallback((function(e){if("anchorPosition"===c)return s;var n=pG(i),t=(n&&1===n.nodeType?n:PW(M.current).body).getBoundingClientRect(),r=0===e?o.vertical:"center";return{top:t.top+uG(t,r),left:t.left+cG(t,o.horizontal)}}),[i,o.horizontal,o.vertical,s,c]),j=l.useCallback((function(e){var n=0;if(g&&"anchorEl"===c){var t=g(e);if(t&&e.contains(t)){var i=function(e,n){for(var t=n,i=0;t&&t!==e;)i+=(t=t.parentElement).scrollTop;return i}(e,t);n=t.offsetTop+t.clientHeight/2-i||0}0}return n}),[o.vertical,c,g]),J=l.useCallback((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:uG(e,A.vertical)+n,horizontal:cG(e,A.horizontal)}}),[A.horizontal,A.vertical]),Z=l.useCallback((function(e){var n=j(e),t={width:e.offsetWidth,height:e.offsetHeight},r=J(t,n);if("none"===c)return{top:null,left:null,transformOrigin:dG(r)};var l=F(n),a=l.top-r.vertical,o=l.left-r.horizontal,s=a+t.height,u=o+t.width,d=BW(pG(i)),p=d.innerHeight-T,f=d.innerWidth-T;if(ap){var y=s-p;a-=y,r.vertical+=y}if(of){var h=u-f;o-=h,r.horizontal+=h}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(o),"px"),transformOrigin:dG(r)}}),[i,c,F,j,J,T]),z=l.useCallback((function(){var e=M.current;if(e){var n=Z(e);null!==n.top&&(e.style.top=n.top),null!==n.left&&(e.style.left=n.left),e.style.transformOrigin=n.transformOrigin}}),[Z]),H=l.useCallback((function(e){M.current=a.findDOMNode(e)}),[]);l.useEffect((function(){C&&z()})),l.useImperativeHandle(t,(function(){return C?{updatePosition:function(){z()}}:null}),[C,z]),l.useEffect((function(){if(C){var e=VW((function(){z()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[C,z]);var q=U;"auto"!==U||L.muiSupportAuto||(q=void 0);var W=y||(i?PW(pG(i)).body:void 0);return l.createElement(eG,(0,Qo.Z)({container:W,open:C,ref:n,BackdropProps:{invisible:!0},className:(0,fu.Z)(p.root,f)},B),l.createElement(L,(0,Qo.Z)({appear:!0,in:C,onEnter:b,onEntered:k,onExit:N,onExited:E,onExiting:x,timeout:q},V,{onEntering:MW((function(e,n){R&&R(e,n),z()}),V.onEntering)}),l.createElement(sG,(0,Qo.Z)({elevation:h,ref:H},w,{className:(0,fu.Z)(p.paper,w.className)}),d)))})),mG=aW({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(fG);var yG=l.createContext({}),_G=l.forwardRef((function(e,n){var t=e.children,i=e.classes,r=e.className,a=e.component,o=void 0===a?"ul":a,s=e.dense,u=void 0!==s&&s,c=e.disablePadding,d=void 0!==c&&c,p=e.subheader,f=m(e,["children","classes","className","component","dense","disablePadding","subheader"]),y=l.useMemo((function(){return{dense:u}}),[u]);return l.createElement(yG.Provider,{value:y},l.createElement(o,(0,Qo.Z)({className:(0,fu.Z)(i.root,r,u&&i.dense,!d&&i.padding,p&&i.subheader),ref:n},f),p,t))})),hG=aW({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(_G);function gG(e,n,t){return e===n?e.firstChild:n&&n.nextElementSibling?n.nextElementSibling:t?null:e.firstChild}function vG(e,n,t){return e===n?t?e.firstChild:e.lastChild:n&&n.previousElementSibling?n.previousElementSibling:t?null:e.lastChild}function TG(e,n){if(void 0===n)return!0;var t=e.innerText;return void 0===t&&(t=e.textContent),0!==(t=t.trim().toLowerCase()).length&&(n.repeating?t[0]===n.keys[0]:0===t.indexOf(n.keys.join("")))}function bG(e,n,t,i,r,l){for(var a=!1,o=r(e,n,!!n&&t);o;){if(o===e.firstChild){if(a)return;a=!0}var s=!i&&(o.disabled||"true"===o.getAttribute("aria-disabled"));if(o.hasAttribute("tabindex")&&TG(o,l)&&!s)return void o.focus();o=r(e,o,t)}}var kG="undefined"===typeof window?l.useEffect:l.useLayoutEffect,RG=l.forwardRef((function(e,n){var t=e.actions,i=e.autoFocus,r=void 0!==i&&i,o=e.autoFocusItem,s=void 0!==o&&o,u=e.children,c=e.className,d=e.disabledItemsFocusable,p=void 0!==d&&d,f=e.disableListWrap,y=void 0!==f&&f,_=e.onKeyDown,h=e.variant,g=void 0===h?"selectedMenu":h,v=m(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),T=l.useRef(null),b=l.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});kG((function(){r&&T.current.focus()}),[r]),l.useImperativeHandle(t,(function(){return{adjustStyleForScrollbar:function(e,n){var t=!T.current.style.width;if(e.clientHeight0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&l!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(l);var o=i&&!r.repeating&&TG(i,r);r.previousKeyMatched&&(o||bG(n,i,!1,p,gG,r))?e.preventDefault():r.previousKeyMatched=!1}_&&_(e)},tabIndex:r?0:-1},v),N)})),NG=RG,EG={vertical:"top",horizontal:"right"},xG={vertical:"top",horizontal:"left"},CG=l.forwardRef((function(e,n){var t=e.autoFocus,i=void 0===t||t,r=e.children,o=e.classes,s=e.disableAutoFocusItem,u=void 0!==s&&s,c=e.MenuListProps,d=void 0===c?{}:c,p=e.onClose,f=e.onEntering,y=e.open,_=e.PaperProps,h=void 0===_?{}:_,g=e.PopoverClasses,v=e.transitionDuration,T=void 0===v?"auto":v,b=e.TransitionProps,k=(b=void 0===b?{}:b).onEntering,R=m(b,["onEntering"]),N=e.variant,E=void 0===N?"selectedMenu":N,x=m(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),C=nG(),S=i&&!u&&y,w=l.useRef(null),D=l.useRef(null),A=-1;l.Children.map(r,(function(e,n){l.isValidElement(e)&&(e.props.disabled||("menu"!==E&&e.props.selected||-1===A)&&(A=n))}));var O=l.Children.map(r,(function(e,n){return n===A?l.cloneElement(e,{ref:function(n){D.current=a.findDOMNode(n),fW(e.ref,n)}}):e}));return l.createElement(mG,(0,Qo.Z)({getContentAnchorEl:function(){return D.current},classes:g,onClose:p,TransitionProps:(0,Qo.Z)({onEntering:function(e,n){w.current&&w.current.adjustStyleForScrollbar(e,C),f&&f(e,n),k&&k(e,n)}},R),anchorOrigin:"rtl"===C.direction?EG:xG,transformOrigin:"rtl"===C.direction?EG:xG,PaperProps:(0,Qo.Z)({},h,{classes:(0,Qo.Z)({},h.classes,{root:o.paper})}),open:y,ref:n,transitionDuration:T},x),l.createElement(NG,(0,Qo.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:w,autoFocus:i&&(-1===A||u),autoFocusItem:S,variant:E},d,{className:(0,fu.Z)(o.list,d.className)}),O))})),SG=aW({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(CG);function wG(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function DG(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(wG(e.value)&&""!==e.value||n&&wG(e.defaultValue)&&""!==e.defaultValue)}function AG(e,n){return"object"===Ba(n)&&null!==n?e===n:String(e)===String(n)}var OG=l.forwardRef((function(e,n){var t=e["aria-label"],i=e.autoFocus,r=e.autoWidth,a=e.children,s=e.classes,u=e.className,c=e.defaultValue,d=e.disabled,p=e.displayEmpty,f=e.IconComponent,y=e.inputRef,_=e.labelId,h=e.MenuProps,g=void 0===h?{}:h,v=e.multiple,T=e.name,b=e.onBlur,k=e.onChange,R=e.onClose,N=e.onFocus,E=e.onOpen,x=e.open,C=e.readOnly,S=e.renderValue,w=e.SelectDisplayProps,D=void 0===w?{}:w,A=e.tabIndex,O=(e.type,e.value),L=e.variant,I=void 0===L?"standard":L,U=m(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),P=function(e){var n=e.controlled,t=e.default,i=(e.name,e.state,l.useRef(void 0!==n).current),r=l.useState(t),a=r[0],o=r[1];return[i?n:a,l.useCallback((function(e){i||o(e)}),[])]}({controlled:O,default:c,name:"Select"}),V=(0,o.Z)(P,2),B=V[0],M=V[1],F=l.useRef(null),j=l.useState(null),J=j[0],Z=j[1],z=l.useRef(null!=x).current,H=l.useState(),q=H[0],W=H[1],G=l.useState(!1),K=G[0],$=G[1],Y=mW(n,y);l.useImperativeHandle(Y,(function(){return{focus:function(){J.focus()},node:F.current,value:B}}),[J,B]),l.useEffect((function(){i&&J&&J.focus()}),[i,J]),l.useEffect((function(){if(J){var e=PW(J).getElementById(_);if(e){var n=function(){getSelection().isCollapsed&&J.focus()};return e.addEventListener("click",n),function(){e.removeEventListener("click",n)}}}}),[_,J]);var Q,X,ee=function(e,n){e?E&&E(n):R&&R(n),z||(W(r?null:J.clientWidth),$(e))},ne=l.Children.toArray(a),te=function(e){return function(n){var t;if(v||ee(!1,n),v){t=Array.isArray(B)?B.slice():[];var i=B.indexOf(e.props.value);-1===i?t.push(e.props.value):t.splice(i,1)}else t=e.props.value;e.props.onClick&&e.props.onClick(n),B!==t&&(M(t),k&&(n.persist(),Object.defineProperty(n,"target",{writable:!0,value:{value:t,name:T}}),k(n,e)))}},ie=null!==J&&(z?x:K);delete U["aria-invalid"];var re=[],le=!1;(DG({value:B})||p)&&(S?Q=S(B):le=!0);var ae=ne.map((function(e){if(!l.isValidElement(e))return null;var n;if(v){if(!Array.isArray(B))throw new Error(cq(2));n=B.some((function(n){return AG(n,e.props.value)})),n&&le&&re.push(e.props.children)}else(n=AG(B,e.props.value))&&le&&(X=e.props.children);return n&&!0,l.cloneElement(e,{"aria-selected":n?"true":void 0,onClick:te(e),onKeyUp:function(n){" "===n.key&&n.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(n)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));le&&(Q=v?re.join(", "):X);var oe,se=q;!r&&z&&J&&(se=J.clientWidth),oe="undefined"!==typeof A?A:d?null:0;var ue=D.id||(T?"mui-component-select-".concat(T):void 0);return l.createElement(l.Fragment,null,l.createElement("div",(0,Qo.Z)({className:(0,fu.Z)(s.root,s.select,s.selectMenu,s[I],u,d&&s.disabled),ref:Z,tabIndex:oe,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":ie?"true":void 0,"aria-haspopup":"listbox","aria-label":t,"aria-labelledby":[_,ue].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!C){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ee(!0,e))}},onMouseDown:d||C?null:function(e){0===e.button&&(e.preventDefault(),J.focus(),ee(!0,e))},onBlur:function(e){!ie&&b&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:B,name:T}}),b(e))},onFocus:N},D,{id:ue}),function(e){return null==e||"string"===typeof e&&!e.trim()}(Q)?l.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):Q),l.createElement("input",(0,Qo.Z)({value:Array.isArray(B)?B.join(","):B,name:T,ref:F,"aria-hidden":!0,onChange:function(e){var n=ne.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==n){var t=ne[n];M(t.props.value),k&&k(e,t)}},tabIndex:-1,className:s.nativeInput,autoFocus:i},U)),l.createElement(f,{className:(0,fu.Z)(s.icon,s["icon".concat(LW(I))],ie&&s.iconOpen,d&&s.disabled)}),l.createElement(SG,(0,Qo.Z)({id:"menu-".concat(T||""),anchorEl:J,open:ie,onClose:function(e){ee(!1,e)}},g,{MenuListProps:(0,Qo.Z)({"aria-labelledby":_,role:"listbox",disableListWrap:!0},g.MenuListProps),PaperProps:(0,Qo.Z)({},g.PaperProps,{style:(0,Qo.Z)({minWidth:se},null!=g.PaperProps?g.PaperProps.style:null)})}),ae))})),LG=OG;function IG(e){var n=e.props,t=e.states,i=e.muiFormControl;return t.reduce((function(e,t){return e[t]=n[t],i&&"undefined"===typeof n[t]&&(e[t]=i[t]),e}),{})}var UG=l.createContext();var PG=UG;function VG(){return l.useContext(PG)}var BG=l.forwardRef((function(e,n){var t=e.children,i=e.classes,r=e.className,a=e.color,o=void 0===a?"inherit":a,s=e.component,u=void 0===s?"svg":s,c=e.fontSize,d=void 0===c?"medium":c,p=e.htmlColor,f=e.titleAccess,y=e.viewBox,_=void 0===y?"0 0 24 24":y,h=m(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return l.createElement(u,(0,Qo.Z)({className:(0,fu.Z)(i.root,r,"inherit"!==o&&i["color".concat(LW(o))],"default"!==d&&"medium"!==d&&i["fontSize".concat(LW(d))]),focusable:"false",viewBox:_,color:p,"aria-hidden":!f||void 0,role:f?"img":void 0,ref:n},h),t,f?l.createElement("title",null,f):null)}));BG.muiName="SvgIcon";var MG=aW((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(BG);var FG=function(e,n){var t=function(n,t){return l.createElement(MG,(0,Qo.Z)({ref:t},n),e)};return t.muiName=MG.muiName,l.memo(l.forwardRef(t))}(l.createElement("path",{d:"M7 10l5 5 5-5z"}));function jG(e,n){return parseInt(e[n],10)||0}var JG="undefined"!==typeof window?l.useLayoutEffect:l.useEffect,ZG={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},zG=l.forwardRef((function(e,n){var t=e.onChange,i=e.rows,r=e.rowsMax,a=e.rowsMin,o=e.maxRows,s=e.minRows,u=void 0===s?1:s,c=e.style,d=e.value,p=m(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),f=o||r,y=i||a||u,_=l.useRef(null!=d).current,h=l.useRef(null),g=mW(n,h),v=l.useRef(null),T=l.useRef(0),b=l.useState({}),k=b[0],R=b[1],N=l.useCallback((function(){var n=h.current,t=window.getComputedStyle(n),i=v.current;i.style.width=t.width,i.value=n.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");var r=t["box-sizing"],l=jG(t,"padding-bottom")+jG(t,"padding-top"),a=jG(t,"border-bottom-width")+jG(t,"border-top-width"),o=i.scrollHeight-l;i.value="x";var s=i.scrollHeight-l,u=o;y&&(u=Math.max(Number(y)*s,u)),f&&(u=Math.min(Number(f)*s,u));var c=(u=Math.max(u,s))+("border-box"===r?l+a:0),d=Math.abs(u-o)<=1;R((function(e){return T.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==d)?(T.current+=1,{overflow:d,outerHeightStyle:c}):e}))}),[f,y,e.placeholder]);l.useEffect((function(){var e=VW((function(){T.current=0,N()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[N]),JG((function(){N()})),l.useEffect((function(){T.current=0}),[d]);return l.createElement(l.Fragment,null,l.createElement("textarea",(0,Qo.Z)({value:d,onChange:function(e){T.current=0,_||N(),t&&t(e)},ref:g,rows:y,style:(0,Qo.Z)({height:k.outerHeightStyle,overflow:k.overflow?"hidden":null},c)},p)),l.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:v,tabIndex:-1,style:(0,Qo.Z)({},ZG,c)}))})),HG=zG,qG="undefined"===typeof window?l.useEffect:l.useLayoutEffect,WG=l.forwardRef((function(e,n){var t=e["aria-describedby"],i=e.autoComplete,r=e.autoFocus,a=e.classes,o=e.className,s=(e.color,e.defaultValue),u=e.disabled,c=e.endAdornment,d=(e.error,e.fullWidth),p=void 0!==d&&d,f=e.id,y=e.inputComponent,_=void 0===y?"input":y,h=e.inputProps,g=void 0===h?{}:h,v=e.inputRef,T=(e.margin,e.multiline),b=void 0!==T&&T,k=e.name,R=e.onBlur,N=e.onChange,E=e.onClick,x=e.onFocus,C=e.onKeyDown,S=e.onKeyUp,w=e.placeholder,D=e.readOnly,A=e.renderSuffix,O=e.rows,L=e.rowsMax,I=e.rowsMin,U=e.maxRows,P=e.minRows,V=e.startAdornment,B=e.type,M=void 0===B?"text":B,F=e.value,j=m(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),J=null!=g.value?g.value:F,Z=l.useRef(null!=J).current,z=l.useRef(),H=l.useCallback((function(e){0}),[]),q=mW(g.ref,H),W=mW(v,q),G=mW(z,W),K=l.useState(!1),$=K[0],Y=K[1],Q=l.useContext(UG);var X=IG({props:e,muiFormControl:Q,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});X.focused=Q?Q.focused:$,l.useEffect((function(){!Q&&u&&$&&(Y(!1),R&&R())}),[Q,u,$,R]);var ee=Q&&Q.onFilled,ne=Q&&Q.onEmpty,te=l.useCallback((function(e){DG(e)?ee&&ee():ne&&ne()}),[ee,ne]);qG((function(){Z&&te({value:J})}),[J,te,Z]);l.useEffect((function(){te(z.current)}),[]);var ie=_,re=(0,Qo.Z)({},g,{ref:G});"string"!==typeof ie?re=(0,Qo.Z)({inputRef:G,type:M},re,{ref:null}):b?!O||U||P||L||I?(re=(0,Qo.Z)({minRows:O||P,rowsMax:L,maxRows:U},re),ie=HG):ie="textarea":re=(0,Qo.Z)({type:M},re);return l.useEffect((function(){Q&&Q.setAdornedStart(Boolean(V))}),[Q,V]),l.createElement("div",(0,Qo.Z)({className:(0,fu.Z)(a.root,a["color".concat(LW(X.color||"primary"))],o,X.disabled&&a.disabled,X.error&&a.error,p&&a.fullWidth,X.focused&&a.focused,Q&&a.formControl,b&&a.multiline,V&&a.adornedStart,c&&a.adornedEnd,"dense"===X.margin&&a.marginDense),onClick:function(e){z.current&&e.currentTarget===e.target&&z.current.focus(),E&&E(e)},ref:n},j),V,l.createElement(PG.Provider,{value:null},l.createElement(ie,(0,Qo.Z)({"aria-invalid":X.error,"aria-describedby":t,autoComplete:i,autoFocus:r,defaultValue:s,disabled:X.disabled,id:f,onAnimationStart:function(e){te("mui-auto-fill-cancel"===e.animationName?z.current:{value:"x"})},name:k,placeholder:w,readOnly:D,required:X.required,rows:O,value:J,onKeyDown:C,onKeyUp:S},re,{className:(0,fu.Z)(a.input,g.className,X.disabled&&a.disabled,b&&a.inputMultiline,X.hiddenLabel&&a.inputHiddenLabel,V&&a.inputAdornedStart,c&&a.inputAdornedEnd,"search"===M&&a.inputTypeSearch,"dense"===X.margin&&a.inputMarginDense),onBlur:function(e){R&&R(e),g.onBlur&&g.onBlur(e),Q&&Q.onBlur?Q.onBlur(e):Y(!1)},onChange:function(e){if(!Z){var n=e.target||z.current;if(null==n)throw new Error(cq(1));te({value:n.value})}for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r0?.75*a+8:.01;return l.createElement("fieldset",(0,Qo.Z)({"aria-hidden":!0,style:(0,Qo.Z)((0,c.Z)({},"padding".concat(LW(d)),8),s),className:(0,fu.Z)(t.root,i),ref:n},u),l.createElement("legend",{className:t.legend,style:{width:o?p:.01}},l.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),rK=aW((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(iK),lK=l.forwardRef((function(e,n){var t=e.classes,i=e.fullWidth,r=void 0!==i&&i,a=e.inputComponent,o=void 0===a?"input":a,s=e.label,u=e.labelWidth,c=void 0===u?0:u,d=e.multiline,p=void 0!==d&&d,f=e.notched,y=e.type,_=void 0===y?"text":y,h=m(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return l.createElement(GG,(0,Qo.Z)({renderSuffix:function(e){return l.createElement(rK,{className:t.notchedOutline,label:s,labelWidth:c,notched:"undefined"!==typeof f?f:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,Qo.Z)({},t,{root:(0,fu.Z)(t.root,t.underline),notchedOutline:null}),fullWidth:r,inputComponent:o,multiline:p,ref:n,type:_},h))}));lK.muiName="Input";var aK=aW((function(e){var n="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:n}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:n},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(lK),oK=QG,sK=l.createElement($G,null),uK=l.createElement(tK,null),cK=l.forwardRef((function e(n,t){var i=n.autoWidth,r=void 0!==i&&i,a=n.children,o=n.classes,s=n.displayEmpty,u=void 0!==s&&s,c=n.IconComponent,d=void 0===c?FG:c,p=n.id,f=n.input,y=n.inputProps,_=n.label,h=n.labelId,g=n.labelWidth,v=void 0===g?0:g,T=n.MenuProps,b=n.multiple,k=void 0!==b&&b,R=n.native,N=void 0!==R&&R,E=n.onClose,x=n.onOpen,C=n.open,S=n.renderValue,w=n.SelectDisplayProps,D=n.variant,A=void 0===D?"standard":D,O=m(n,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),L=N?YG:LG,I=IG({props:n,muiFormControl:VG(),states:["variant"]}).variant||A,U=f||{standard:sK,outlined:l.createElement(aK,{label:_,labelWidth:v}),filled:uK}[I];return l.cloneElement(U,(0,Qo.Z)({inputComponent:L,inputProps:(0,Qo.Z)({children:a,IconComponent:d,variant:I,type:void 0,multiple:k},N?{id:p}:{autoWidth:r,displayEmpty:u,labelId:h,MenuProps:T,onClose:E,onOpen:x,open:C,renderValue:S,SelectDisplayProps:(0,Qo.Z)({id:p},w)},y,{classes:y?zH({baseClasses:o,newClasses:y.classes,Component:e}):o},f?f.props.inputProps:{}),ref:t},O))}));cK.muiName="Select";var dK=aW(oK,{name:"MuiSelect"})(cK);var pK="undefined"===typeof window?l.useEffect:l.useLayoutEffect,fK=l.forwardRef((function(e,n){var t=e.alignItems,i=void 0===t?"center":t,r=e.autoFocus,o=void 0!==r&&r,s=e.button,u=void 0!==s&&s,c=e.children,d=e.classes,p=e.className,f=e.component,y=e.ContainerComponent,_=void 0===y?"li":y,h=e.ContainerProps,g=(h=void 0===h?{}:h).className,v=m(h,["className"]),T=e.dense,b=void 0!==T&&T,k=e.disabled,R=void 0!==k&&k,N=e.disableGutters,E=void 0!==N&&N,x=e.divider,C=void 0!==x&&x,S=e.focusVisibleClassName,w=e.selected,D=void 0!==w&&w,A=m(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),O=l.useContext(yG),L={dense:b||O.dense||!1,alignItems:i},I=l.useRef(null);pK((function(){o&&I.current&&I.current.focus()}),[o]);var U,P,V=l.Children.toArray(c),B=V.length&&(U=V[V.length-1],P=["ListItemSecondaryAction"],l.isValidElement(U)&&-1!==P.indexOf(U.type.muiName)),M=mW(l.useCallback((function(e){I.current=a.findDOMNode(e)}),[]),n),F=(0,Qo.Z)({className:(0,fu.Z)(d.root,p,L.dense&&d.dense,!E&&d.gutters,C&&d.divider,R&&d.disabled,u&&d.button,"center"!==i&&d.alignItemsFlexStart,B&&d.secondaryAction,D&&d.selected),disabled:R},A),j=f||"li";return u&&(F.component=f||"div",F.focusVisibleClassName=(0,fu.Z)(d.focusVisible,S),j=OW),B?(j=F.component||f?j:"div","li"===_&&("li"===j?j="div":"li"===F.component&&(F.component="div")),l.createElement(yG.Provider,{value:L},l.createElement(_,(0,Qo.Z)({className:(0,fu.Z)(d.container,g),ref:M},v),l.createElement(j,F,V),V.pop()))):l.createElement(yG.Provider,{value:L},l.createElement(j,(0,Qo.Z)({ref:M},F),V))})),mK=aW((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(fK),yK=l.forwardRef((function(e,n){var t,i=e.classes,r=e.className,a=e.component,o=void 0===a?"li":a,s=e.disableGutters,u=void 0!==s&&s,c=e.ListItemClasses,d=e.role,p=void 0===d?"menuitem":d,f=e.selected,y=e.tabIndex,_=m(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(t=void 0!==y?y:-1),l.createElement(mK,(0,Qo.Z)({button:!0,role:p,tabIndex:t,component:o,selected:f,disableGutters:u,classes:(0,Qo.Z)({dense:i.dense},c),className:(0,fu.Z)(i.root,r,f&&i.selected,!u&&i.gutters),ref:n},_))})),_K=aW((function(e){return{root:(0,Qo.Z)({},e.typography.body1,(0,c.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,Qo.Z)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(yK),hK={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},gK=l.forwardRef((function(e,n){var t=e.align,i=void 0===t?"inherit":t,r=e.classes,a=e.className,o=e.color,s=void 0===o?"initial":o,u=e.component,c=e.display,d=void 0===c?"initial":c,p=e.gutterBottom,f=void 0!==p&&p,y=e.noWrap,_=void 0!==y&&y,h=e.paragraph,g=void 0!==h&&h,v=e.variant,T=void 0===v?"body1":v,b=e.variantMapping,k=void 0===b?hK:b,R=m(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),N=u||(g?"p":k[T]||hK[T])||"span";return l.createElement(N,(0,Qo.Z)({className:(0,fu.Z)(r.root,a,"inherit"!==T&&r[T],"initial"!==s&&r["color".concat(LW(s))],_&&r.noWrap,f&&r.gutterBottom,g&&r.paragraph,"inherit"!==i&&r["align".concat(LW(i))],"initial"!==d&&r["display".concat(LW(d))]),ref:n},R))})),vK=aW((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(gK),TK=l.forwardRef((function(e,n){var t=e.children,i=e.classes,r=e.className,a=e.disableTypography,o=void 0!==a&&a,s=e.inset,u=void 0!==s&&s,c=e.primary,d=e.primaryTypographyProps,p=e.secondary,f=e.secondaryTypographyProps,y=m(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),_=l.useContext(yG).dense,h=null!=c?c:t;null==h||h.type===vK||o||(h=l.createElement(vK,(0,Qo.Z)({variant:_?"body2":"body1",className:i.primary,component:"span",display:"block"},d),h));var g=p;return null==g||g.type===vK||o||(g=l.createElement(vK,(0,Qo.Z)({variant:"body2",className:i.secondary,color:"textSecondary",display:"block"},f),g)),l.createElement("div",(0,Qo.Z)({className:(0,fu.Z)(i.root,r,_&&i.dense,u&&i.inset,h&&g&&i.multiline),ref:n},y),h,g)})),bK=aW({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(TK),kK=l.forwardRef((function(e,n){var t=e.absolute,i=void 0!==t&&t,r=e.classes,a=e.className,o=e.component,s=void 0===o?"hr":o,u=e.flexItem,c=void 0!==u&&u,d=e.light,p=void 0!==d&&d,f=e.orientation,y=void 0===f?"horizontal":f,_=e.role,h=void 0===_?"hr"!==s?"separator":void 0:_,g=e.variant,v=void 0===g?"fullWidth":g,T=m(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return l.createElement(s,(0,Qo.Z)({className:(0,fu.Z)(r.root,a,"fullWidth"!==v&&r[v],i&&r.absolute,c&&r.flexItem,p&&r.light,"vertical"===y&&r.vertical),role:h,ref:n},T))})),RK=aW((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Rq(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(kK),NK=function(){return NK=Object.assign||function(e){for(var n,t=1,i=arguments.length;t0&&(o+=f)}return new Date(s+u+o)}return new Date(e)};var QK=function(e,n){var t=YK(e),i=Number(n);return t.setDate(t.getDate()+i),t};var XK=function(e,n){var t=YK(e).getTime(),i=Number(n);return new Date(t+i)};var e$=function(e,n){var t=Number(n);return XK(e,36e5*t)};var n$=function(e,n){var t=n&&Number(n.weekStartsOn)||0,i=YK(e),r=i.getDay(),l=(r=r.getTime()?t+1:n.getTime()>=a.getTime()?t:t-1};var r$=function(e){var n=i$(e),t=new Date(0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),t$(t)};var l$=function(e){var n=YK(e);return n.setHours(0,0,0,0),n};var a$=function(e,n){var t=l$(e),i=l$(n),r=t.getTime()-6e4*t.getTimezoneOffset(),l=i.getTime()-6e4*i.getTimezoneOffset();return Math.round((r-l)/864e5)};var o$=function(e,n){var t=YK(e),i=Number(n),r=a$(t,r$(t)),l=new Date(0);return l.setFullYear(i,0,4),l.setHours(0,0,0,0),(t=r$(l)).setDate(t.getDate()+r),t};var s$=function(e,n){var t=Number(n);return o$(e,i$(e)+t)};var u$=function(e,n){var t=Number(n);return XK(e,6e4*t)};var c$=function(e){var n=YK(e),t=n.getFullYear(),i=n.getMonth(),r=new Date(0);return r.setFullYear(t,i+1,0),r.setHours(0,0,0,0),r.getDate()};var d$=function(e,n){var t=YK(e),i=Number(n),r=t.getMonth()+i,l=new Date(0);l.setFullYear(t.getFullYear(),r,1),l.setHours(0,0,0,0);var a=c$(l);return t.setMonth(r,Math.min(a,t.getDate())),t};var p$=function(e,n){var t=Number(n);return d$(e,3*t)};var f$=function(e,n){var t=Number(n);return XK(e,1e3*t)};var m$=function(e,n){var t=Number(n);return QK(e,7*t)};var y$=function(e,n){var t=Number(n);return d$(e,12*t)};var _$=function(e,n,t,i){var r=YK(e).getTime(),l=YK(n).getTime(),a=YK(t).getTime(),o=YK(i).getTime();if(r>l||a>o)throw new Error("The start of the range cannot be after the end of the range");return ri?1:0};var T$=function(e,n){var t=YK(e).getTime(),i=YK(n).getTime();return t>i?-1:t0?Math.floor(t):Math.ceil(t)};var A$=function(e,n){var t=Number(n);return s$(e,-t)};var O$=function(e,n){var t=YK(e),i=YK(n),r=v$(t,i),l=Math.abs(k$(t,i));return t=A$(t,r*l),r*(l-(v$(t,i)===-r))};var L$=function(e,n){var t=w$(e,n)/6e4;return t>0?Math.floor(t):Math.ceil(t)};var I$=function(e,n){var t=YK(e),i=YK(n),r=v$(t,i),l=Math.abs(R$(t,i));return t.setMonth(t.getMonth()-r*l),r*(l-(v$(t,i)===-r))};var U$=function(e,n){var t=I$(e,n)/3;return t>0?Math.floor(t):Math.ceil(t)};var P$=function(e,n){var t=w$(e,n)/1e3;return t>0?Math.floor(t):Math.ceil(t)};var V$=function(e,n){var t=S$(e,n)/7;return t>0?Math.floor(t):Math.ceil(t)};var B$=function(e,n){var t=YK(e),i=YK(n),r=v$(t,i),l=Math.abs(C$(t,i));return t.setFullYear(t.getFullYear()-r*l),r*(l-(v$(t,i)===-r))};var M$=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];var F$=function(e){var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push(t);var i=M$.concat(n).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+i.join("|")+"|.)","g")};var j$=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=["January","February","March","April","May","June","July","August","September","October","November","December"],t=["Su","Mo","Tu","We","Th","Fr","Sa"],i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["AM","PM"],a=["am","pm"],o=["a.m.","p.m."],s={MMM:function(n){return e[n.getMonth()]},MMMM:function(e){return n[e.getMonth()]},dd:function(e){return t[e.getDay()]},ddd:function(e){return i[e.getDay()]},dddd:function(e){return r[e.getDay()]},A:function(e){return e.getHours()/12>=1?l[1]:l[0]},a:function(e){return e.getHours()/12>=1?a[1]:a[0]},aa:function(e){return e.getHours()/12>=1?o[1]:o[0]}};return["M","D","DDD","d","Q","W"].forEach((function(e){s[e+"o"]=function(n,t){return function(e){var n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(t[e](n))}})),{formatters:s,formattingTokensRegExp:F$(s)}},J$={distanceInWords:function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(n,t,i){var r;return i=i||{},r="string"===typeof e[n]?e[n]:1===t?e[n].one:e[n].other.replace("{{count}}",t),i.addSuffix?i.comparison>0?"in "+r:r+" ago":r}}}(),format:j$()},Z$=43200;var z$=function(e,n,t){var i=t||{},r=T$(e,n),l=i.locale,a=J$.distanceInWords.localize;l&&l.distanceInWords&&l.distanceInWords.localize&&(a=l.distanceInWords.localize);var o,s,u={addSuffix:Boolean(i.addSuffix),comparison:r};r>0?(o=YK(e),s=YK(n)):(o=YK(n),s=YK(e));var c,d=P$(s,o),p=s.getTimezoneOffset()-o.getTimezoneOffset(),f=Math.round(d/60)-p;if(f<2)return i.includeSeconds?d<5?a("lessThanXSeconds",5,u):d<10?a("lessThanXSeconds",10,u):d<20?a("lessThanXSeconds",20,u):d<40?a("halfAMinute",null,u):a(d<60?"lessThanXMinutes":"xMinutes",1,u):0===f?a("lessThanXMinutes",1,u):a("xMinutes",f,u);if(f<45)return a("xMinutes",f,u);if(f<90)return a("aboutXHours",1,u);if(f<1440)return a("aboutXHours",Math.round(f/60),u);if(f<2520)return a("xDays",1,u);if(f0?(o=YK(e),s=YK(n)):(o=YK(n),s=YK(e));var d=Math[i.partialMethod?String(i.partialMethod):"floor"],p=P$(s,o),f=s.getTimezoneOffset()-o.getTimezoneOffset(),m=d(p/60)-f;if("s"===(u=i.unit?String(i.unit):m<1?"s":m<60?"m":m<1440?"h":m<43200?"d":ml)throw new Error("The first date cannot be after the second date");var a=[],o=i;for(o.setHours(0,0,0,0);o.getTime()<=l;)a.push(YK(o)),o.setDate(o.getDate()+r);return a};var K$=function(e){var n=YK(e);return n.setHours(23,59,59,999),n};var $$=function(e){var n=YK(e);return n.setMinutes(59,59,999),n};var Y$=function(e,n){var t=n&&Number(n.weekStartsOn)||0,i=YK(e),r=i.getDay(),l=6+(r12?n%12:n},hh:function(e){return mY(dY.h(e),2)},m:function(e){return e.getMinutes()},mm:function(e){return mY(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return mY(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return mY(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return mY(e.getMilliseconds(),3)},Z:function(e){return fY(e.getTimezoneOffset(),":")},ZZ:function(e){return fY(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()}};function pY(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}function fY(e,n){n=n||"";var t=e>0?"-":"+",i=Math.abs(e),r=i%60;return t+mY(Math.floor(i/60),2)+n+mY(r,2)}function mY(e,n){for(var t=Math.abs(e).toString();t.lengthi.getTime()};var TY=function(e,n){var t=YK(e),i=YK(n);return t.getTime()l)throw new Error("The start of the range cannot be after the end of the range");return i>=r&&i<=l};var qY=function(e,n){var t=n&&Number(n.weekStartsOn)||0,i=YK(e),r=i.getDay(),l=6+(rl||a>o)throw new Error("The start of the range cannot be after the end of the range");if(!(rl?l:o)-(a(new Date).getTime()},isLastDayOfMonth:bY,isLeapYear:_Y,isMonday:function(e){return 1===YK(e).getDay()},isPast:function(e){return YK(e).getTime()<(new Date).getTime()},isSameDay:function(e,n){var t=l$(e),i=l$(n);return t.getTime()===i.getTime()},isSameHour:RY,isSameISOWeek:EY,isSameISOYear:xY,isSameMinute:SY,isSameMonth:wY,isSameQuarter:AY,isSameSecond:LY,isSameWeek:NY,isSameYear:IY,isSaturday:function(e){return 6===YK(e).getDay()},isSunday:function(e){return 0===YK(e).getDay()},isThisHour:UY,isThisISOWeek:PY,isThisISOYear:VY,isThisMinute:BY,isThisMonth:MY,isThisQuarter:FY,isThisSecond:jY,isThisWeek:JY,isThisYear:ZY,isThursday:function(e){return 4===YK(e).getDay()},isToday:function(e){return l$(e).getTime()===l$(new Date).getTime()},isTomorrow:function(e){var n=new Date;return n.setDate(n.getDate()+1),l$(e).getTime()===l$(n).getTime()},isTuesday:function(e){return 2===YK(e).getDay()},isValid:cY,isWednesday:function(e){return 3===YK(e).getDay()},isWeekend:zY,isWithinRange:HY,isYesterday:function(e){var n=new Date;return n.setDate(n.getDate()-1),l$(e).getTime()===l$(n).getTime()},lastDayOfISOWeek:function(e){return qY(e,{weekStartsOn:1})},lastDayOfISOYear:WY,lastDayOfMonth:GY,lastDayOfQuarter:KY,lastDayOfWeek:qY,lastDayOfYear:$Y,max:YY,min:QY,parse:YK,setDate:XY,setDay:eQ,setDayOfYear:nQ,setHours:tQ,setISODay:iQ,setISOWeek:rQ,setISOYear:o$,setMilliseconds:lQ,setMinutes:aQ,setMonth:oQ,setQuarter:sQ,setSeconds:uQ,setYear:cQ,startOfDay:l$,startOfHour:kY,startOfISOWeek:t$,startOfISOYear:r$,startOfMinute:CY,startOfMonth:dQ,startOfQuarter:DY,startOfSecond:OY,startOfToday:pQ,startOfTomorrow:fQ,startOfWeek:n$,startOfYear:oY,startOfYesterday:mQ,subDays:yQ,subHours:_Q,subISOYears:A$,subMilliseconds:hQ,subMinutes:gQ,subMonths:vQ,subQuarters:TQ,subSeconds:bQ,subWeeks:kQ,subYears:RQ},EQ=NQ.addDays,xQ=NQ.addMonths,CQ=NQ.addWeeks,SQ=NQ.addYears,wQ=NQ.differenceInCalendarMonths,DQ=NQ.endOfMonth,AQ=NQ.endOfWeek,OQ=NQ.format,LQ=NQ.getDate,IQ=NQ.getMonth,UQ=NQ.getYear,PQ=NQ.isAfter,VQ=NQ.isBefore,BQ=NQ.isSameDay,MQ=NQ.isSameMonth,FQ=NQ.isToday,jQ=NQ.isValid,JQ=NQ.isWithinRange,ZQ=NQ.max,zQ=NQ.min,HQ=NQ.parse,qQ=NQ.setMonth,WQ=NQ.setYear,GQ=NQ.startOfMonth,KQ=NQ.startOfWeek,$Q=function(e){return e},YQ=function(){for(var e=[],n=0;n=2,h={dateRange:i,minDate:r,maxDate:a,helpers:p,handlers:f};return l.createElement(sG,{elevation:5,square:!0},l.createElement(pW,{container:!0,direction:"row",wrap:"nowrap"},l.createElement(pW,null,l.createElement(pW,{container:!0,className:n.header,alignItems:"center"},l.createElement(pW,{item:!0,className:n.headerItem},l.createElement(vK,{variant:"subtitle1"},m?OQ(m,"MMMM DD, YYYY"):"Start Date")),l.createElement(pW,{item:!0,className:n.headerItem},l.createElement(rX,{color:"action"})),l.createElement(pW,{item:!0,className:n.headerItem},l.createElement(vK,{variant:"subtitle1"},y?OQ(y,"MMMM DD, YYYY"):"End Date"))),l.createElement(RK,null),l.createElement(pW,{container:!0,direction:"row",justify:"center",wrap:"nowrap"},l.createElement(mX,NK({},h,{value:o,setValue:s,navState:[!0,_],marker:vX.FIRST_MONTH})),l.createElement("div",{className:n.divider}),l.createElement(mX,NK({},h,{value:u,setValue:c,navState:[_,!0],marker:vX.SECOND_MONTH})))),l.createElement("div",{className:n.divider}),l.createElement(pW,null,l.createElement(_X,{selectedRange:i,ranges:t,setRange:d}))))},vX={FIRST_MONTH:Symbol("firstMonth"),SECOND_MONTH:Symbol("secondMonth")},TX=function(e){var n=new Date,t=e.open,i=e.onChange,r=e.initialDateRange,a=e.minDate,o=e.maxDate,s=e.definedRanges,u=void 0===s?XQ:s,c=QQ(a,SQ(n,-10)),d=QQ(o,SQ(n,10)),p=function(e,n,t){var i=e.startDate,r=e.endDate;if(i&&r){var l=ZQ(i,n),a=zQ(r,t);return[l,MQ(l,a)?xQ(l,1):a]}return[i,r]}(r||{},c,d),f=p[0],m=p[1],y=(0,l.useState)(NK({},r)),_=y[0],h=y[1],g=(0,l.useState)(),v=g[0],T=g[1],b=(0,l.useState)(f||n),k=b[0],R=b[1],N=(0,l.useState)(m||xQ(k,1)),E=N[0],x=N[1],C=_.startDate,S=_.endDate,w={inHoverRange:function(e){return C&&!S&&v&&PQ(v,C)&&JQ(e,C,v)}},D={onDayClick:function(e){if(!C||S||VQ(e,C))h({startDate:e,endDate:void 0});else{var n={startDate:C,endDate:e};i(n),h(n)}T(e)},onDayHover:function(e){C&&!S&&(v&&BQ(e,v)||T(e))},onMonthNavigate:function(e,n){if(e===vX.FIRST_MONTH){var t=xQ(k,n);VQ(t,E)&&R(t)}else{var i=xQ(E,n);VQ(k,i)&&x(i)}}};return t?(0,l.createElement)(gX,{dateRange:_,minDate:c,maxDate:d,ranges:u,firstMonth:k,secondMonth:E,setFirstMonth:function(e){VQ(e,E)&&R(e)},setSecondMonth:function(e){PQ(e,k)&&x(e)},setDateRange:function(e){var t=e.startDate,r=e.endDate;if(t&&r)e.startDate=t=ZQ(t,c),e.endDate=r=zQ(r,d),h(e),i(e),R(t),x(MQ(t,r)?xQ(t,1):r);else{var l={};h(l),i(l),R(n),x(xQ(k,1))}},helpers:w,handlers:D}):null},bX=iW((function(){return{dateRangePickerContainer:{position:"relative"},dateRangePicker:{position:"relative",zIndex:1},dateRangeBackdrop:{position:"fixed",height:"100vh",width:"100vw",bottom:0,zIndex:0,right:0,left:0,top:0}}})),kX=function(e){var n=bX(),t=e.closeOnClickOutside,i=e.wrapperClassName,r=e.toggle,a=e.open,o=function(){!1!==t&&r()},s=CK(n.dateRangePicker,i);return(0,l.createElement)("div",{className:n.dateRangePickerContainer},a&&(0,l.createElement)("div",{className:n.dateRangeBackdrop,onKeyPress:function(e){var n;return"Escape"===(null===(n=e)||void 0===n?void 0:n.key)&&o()},onClick:o}),(0,l.createElement)("div",{className:s},(0,l.createElement)(TX,NK({},e))))},RX=0,NX="materialui-daterange-picker";function EX(e,n){return(RX+=1)>1e10&&console.warn(["Material-UI: you might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),n&&n.options.meta?NX+"-"+n.options.meta+"-"+e.key+"-"+RX:NX+"-"+e.key+"-"+RX}var xX=function(e){return(0,l.createElement)(ZH,{generateClassName:EX},(0,l.createElement)(kX,NK({},e)))};function CX(e){var n=e.props,t=e.states,i=e.muiFormControl;return t.reduce((function(e,t){return e[t]=n[t],i&&"undefined"===typeof n[t]&&(e[t]=i[t]),e}),{})}function SX(e){return(0,ku.Z)("MuiFormLabel",e)}var wX=(0,Ru.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),DX=["children","className","color","component","disabled","error","filled","focused","required"],AX=(0,Hr.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return(0,Qo.Z)({},n.root,"secondary"===t.color&&n.colorSecondary,t.filled&&n.filled)}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({color:t.palette.text.secondary},t.typography.body1,(n={lineHeight:"1.4375em",padding:0,position:"relative"},(0,c.Z)(n,"&.".concat(wX.focused),{color:t.palette[i.color].main}),(0,c.Z)(n,"&.".concat(wX.disabled),{color:t.palette.text.disabled}),(0,c.Z)(n,"&.".concat(wX.error),{color:t.palette.error.main}),n))})),OX=(0,Hr.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,n){return n.asterisk}})((function(e){var n=e.theme;return(0,c.Z)({},"&.".concat(wX.error),{color:n.palette.error.main})})),LX=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiFormLabel"}),i=t.children,r=t.className,l=t.component,a=void 0===l?"label":l,o=(0,f.Z)(t,DX),s=CX({props:t,muiFormControl:EP(),states:["color","required","focused","disabled","error","filled"]}),u=(0,Qo.Z)({},t,{color:s.color||"primary",component:a,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=function(e){var n=e.classes,t=e.color,i=e.focused,r=e.disabled,l=e.error,a=e.filled,o=e.required,s={root:["root","color".concat((0,Vw.Z)(t)),r&&"disabled",l&&"error",a&&"filled",i&&"focused",o&&"required"],asterisk:["asterisk",l&&"error"]};return(0,vu.Z)(s,SX,n)}(u);return(0,oa.jsxs)(AX,(0,Qo.Z)({as:a,ownerState:u,className:(0,fu.Z)(c.root,r),ref:n},o,{children:[i,s.required&&(0,oa.jsxs)(OX,{ownerState:u,"aria-hidden":!0,className:c.asterisk,children:["\u2009","*"]})]}))})),IX=LX;function UX(e){return(0,ku.Z)("MuiInputLabel",e)}(0,Ru.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var PX=["disableAnimation","margin","shrink","variant"],VX=(0,Hr.ZP)(IX,{shouldForwardProp:function(e){return(0,Hr.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[(0,c.Z)({},"& .".concat(wX.asterisk),n.asterisk),n.root,t.formControl&&n.formControl,"small"===t.size&&n.sizeSmall,t.shrink&&n.shrink,!t.disableAnimation&&n.animated,n[t.variant]]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:n.transitions.create(["color","transform","max-width"],{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut})},"filled"===t.variant&&(0,Qo.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,Qo.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,Qo.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),BX=l.forwardRef((function(e,n){var t=(0,Tu.Z)({name:"MuiInputLabel",props:e}),i=t.disableAnimation,r=void 0!==i&&i,l=t.shrink,a=(0,f.Z)(t,PX),o=EP(),s=l;"undefined"===typeof s&&o&&(s=o.filled||o.focused||o.adornedStart);var u=CX({props:t,muiFormControl:o,states:["size","variant","required"]}),c=(0,Qo.Z)({},t,{disableAnimation:r,formControl:o,shrink:s,size:u.size,variant:u.variant,required:u.required}),d=function(e){var n=e.classes,t=e.formControl,i=e.size,r=e.shrink,l={root:["root",t&&"formControl",!e.disableAnimation&&"animated",r&&"shrink","small"===i&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},a=(0,vu.Z)(l,UX,n);return(0,Qo.Z)({},n,a)}(c);return(0,oa.jsx)(VX,(0,Qo.Z)({"data-shrink":s,ownerState:c,ref:n},a,{classes:d}))}));function MX(e){return(0,ku.Z)("MuiMenuItem",e)}var FX=(0,Ru.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),jX=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],JX=(0,Hr.ZP)(mI,{shouldForwardProp:function(e){return(0,Hr.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.dense&&n.dense,t.divider&&n.divider,!t.disableGutters&&n.gutters]}})((function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!i.disableGutters&&{paddingLeft:16,paddingRight:16},i.divider&&{borderBottom:"1px solid ".concat(t.palette.divider),backgroundClip:"padding-box"},(n={"&:hover":{textDecoration:"none",backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,c.Z)(n,"&.".concat(FX.selected),(0,c.Z)({backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)},"&.".concat(FX.focusVisible),{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)})),(0,c.Z)(n,"&.".concat(FX.selected,":hover"),{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}}),(0,c.Z)(n,"&.".concat(FX.focusVisible),{backgroundColor:t.palette.action.focus}),(0,c.Z)(n,"&.".concat(FX.disabled),{opacity:t.palette.action.disabledOpacity}),(0,c.Z)(n,"& + .".concat(kH.root),{marginTop:t.spacing(1),marginBottom:t.spacing(1)}),(0,c.Z)(n,"& + .".concat(kH.inset),{marginLeft:52}),(0,c.Z)(n,"& .".concat(_L.root),{marginTop:0,marginBottom:0}),(0,c.Z)(n,"& .".concat(_L.inset),{paddingLeft:36}),(0,c.Z)(n,"& .".concat(VI.root),{minWidth:36}),n),!i.dense&&(0,c.Z)({},t.breakpoints.up("sm"),{minHeight:"auto"}),i.dense&&(0,Qo.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,(0,c.Z)({},"& .".concat(VI.root," svg"),{fontSize:"1.25rem"})))})),ZX=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiMenuItem"}),i=t.autoFocus,r=void 0!==i&&i,a=t.component,o=void 0===a?"li":a,s=t.dense,u=void 0!==s&&s,c=t.divider,d=void 0!==c&&c,p=t.disableGutters,m=void 0!==p&&p,y=t.focusVisibleClassName,_=t.role,h=void 0===_?"menuitem":_,g=t.tabIndex,v=(0,f.Z)(t,jX),T=l.useContext(mL),b={dense:u||T.dense||!1,disableGutters:m},k=l.useRef(null);(0,sO.Z)((function(){r&&k.current&&k.current.focus()}),[r]);var R,N=(0,Qo.Z)({},t,{dense:b.dense,divider:d,disableGutters:m}),E=function(e){var n=e.disabled,t=e.dense,i=e.divider,r=e.disableGutters,l=e.selected,a=e.classes,o={root:["root",t&&"dense",n&&"disabled",!r&&"gutters",i&&"divider",l&&"selected"]},s=(0,vu.Z)(o,MX,a);return(0,Qo.Z)({},a,s)}(t),x=(0,xL.Z)(k,n);return t.disabled||(R=void 0!==g?g:-1),(0,oa.jsx)(mL.Provider,{value:b,children:(0,oa.jsx)(JX,(0,Qo.Z)({ref:x,role:h,tabIndex:R,component:o,focusVisibleClassName:(0,fu.Z)(E.focusVisible,y)},v,{ownerState:N,classes:E}))})})),zX=ZX;function HX(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function qX(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(HX(e.value)&&""!==e.value||n&&HX(e.defaultValue)&&""!==e.defaultValue)}function WX(e){return(0,ku.Z)("MuiFormControl",e)}(0,Ru.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var GX=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],KX=(0,Hr.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return(0,Qo.Z)({},n.root,n["margin".concat((0,Vw.Z)(t.margin))],t.fullWidth&&n.fullWidth)}})((function(e){var n=e.ownerState;return(0,Qo.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===n.margin&&{marginTop:16,marginBottom:8},"dense"===n.margin&&{marginTop:8,marginBottom:4},n.fullWidth&&{width:"100%"})})),$X=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiFormControl"}),i=t.children,r=t.className,a=t.color,s=void 0===a?"primary":a,u=t.component,c=void 0===u?"div":u,d=t.disabled,p=void 0!==d&&d,m=t.error,y=void 0!==m&&m,_=t.focused,h=t.fullWidth,g=void 0!==h&&h,v=t.hiddenLabel,T=void 0!==v&&v,b=t.margin,k=void 0===b?"none":b,R=t.required,N=void 0!==R&&R,E=t.size,x=void 0===E?"medium":E,C=t.variant,S=void 0===C?"outlined":C,w=(0,f.Z)(t,GX),D=(0,Qo.Z)({},t,{color:s,component:c,disabled:p,error:y,fullWidth:g,hiddenLabel:T,margin:k,required:N,size:x,variant:S}),A=function(e){var n=e.classes,t=e.margin,i=e.fullWidth,r={root:["root","none"!==t&&"margin".concat((0,Vw.Z)(t)),i&&"fullWidth"]};return(0,vu.Z)(r,WX,n)}(D),O=l.useState((function(){var e=!1;return i&&l.Children.forEach(i,(function(n){if((0,bI.Z)(n,["Input","Select"])){var t=(0,bI.Z)(n,["Select"])?n.props.input:n;t&&t.props.startAdornment&&(e=!0)}})),e})),L=(0,o.Z)(O,2),I=L[0],U=L[1],P=l.useState((function(){var e=!1;return i&&l.Children.forEach(i,(function(n){(0,bI.Z)(n,["Input","Select"])&&qX(n.props,!0)&&(e=!0)})),e})),V=(0,o.Z)(P,2),B=V[0],M=V[1],F=l.useState(!1),j=(0,o.Z)(F,2),J=j[0],Z=j[1];p&&J&&Z(!1);var z=void 0===_||p?J:_,H=l.useCallback((function(){M(!0)}),[]),q={adornedStart:I,setAdornedStart:U,color:s,disabled:p,error:y,filled:B,focused:z,fullWidth:g,hiddenLabel:T,size:x,onBlur:function(){Z(!1)},onEmpty:l.useCallback((function(){M(!1)}),[]),onFilled:H,onFocus:function(){Z(!0)},registerEffect:undefined,required:N,variant:S};return(0,oa.jsx)(NP.Provider,{value:q,children:(0,oa.jsx)(KX,(0,Qo.Z)({as:c,ownerState:D,className:(0,fu.Z)(A.root,r),ref:n},w,{children:i}))})})),YX=$X,QX=t(6189),XX=t(8301),e0=pz,n0=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function t0(e,n,t){return e===n?e.firstChild:n&&n.nextElementSibling?n.nextElementSibling:t?null:e.firstChild}function i0(e,n,t){return e===n?t?e.firstChild:e.lastChild:n&&n.previousElementSibling?n.previousElementSibling:t?null:e.lastChild}function r0(e,n){if(void 0===n)return!0;var t=e.innerText;return void 0===t&&(t=e.textContent),0!==(t=t.trim().toLowerCase()).length&&(n.repeating?t[0]===n.keys[0]:0===t.indexOf(n.keys.join("")))}function l0(e,n,t,i,r,l){for(var a=!1,o=r(e,n,!!n&&t);o;){if(o===e.firstChild){if(a)return!1;a=!0}var s=!i&&(o.disabled||"true"===o.getAttribute("aria-disabled"));if(o.hasAttribute("tabindex")&&r0(o,l)&&!s)return o.focus(),!0;o=r(e,o,t)}return!1}var a0=l.forwardRef((function(e,n){var t=e.actions,i=e.autoFocus,r=void 0!==i&&i,a=e.autoFocusItem,o=void 0!==a&&a,s=e.children,u=e.className,c=e.disabledItemsFocusable,d=void 0!==c&&c,p=e.disableListWrap,m=void 0!==p&&p,y=e.onKeyDown,_=e.variant,h=void 0===_?"selectedMenu":_,g=(0,f.Z)(e,n0),v=l.useRef(null),T=l.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,sO.Z)((function(){r&&v.current.focus()}),[r]),l.useImperativeHandle(t,(function(){return{adjustStyleForScrollbar:function(e,n){var t=!v.current.style.width;if(e.clientHeight0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&l!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(l);var o=i&&!r.repeating&&r0(i,r);r.previousKeyMatched&&(o||l0(n,i,!1,d,t0,r))?e.preventDefault():r.previousKeyMatched=!1}y&&y(e)},tabIndex:r?0:-1},g,{children:R}))})),o0=a0,s0=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function u0(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var c0={entering:{opacity:1,transform:u0(1)},entered:{opacity:1,transform:"none"}},d0=l.forwardRef((function(e,n){var t=e.addEndListener,i=e.appear,r=void 0===i||i,a=e.children,o=e.easing,s=e.in,u=e.onEnter,c=e.onEntered,d=e.onEntering,p=e.onExit,m=e.onExited,y=e.onExiting,_=e.style,h=e.timeout,g=void 0===h?"auto":h,v=e.TransitionComponent,T=void 0===v?Fz:v,b=(0,f.Z)(e,s0),k=l.useRef(),R=l.useRef(),N=jU(),E=l.useRef(null),x=(0,xL.Z)(a.ref,n),C=(0,xL.Z)(E,x),S=function(e){return function(n){if(e){var t=E.current;void 0===n?e(t):e(t,n)}}},w=S(d),D=S((function(e,n){Jz(e);var t,i=Zz({style:_,timeout:g,easing:o},{mode:"enter"}),r=i.duration,l=i.delay,a=i.easing;"auto"===g?(t=N.transitions.getAutoHeightDuration(e.clientHeight),R.current=t):t=r,e.style.transition=[N.transitions.create("opacity",{duration:t,delay:l}),N.transitions.create("transform",{duration:.666*t,delay:l,easing:a})].join(","),u&&u(e,n)})),A=S(c),O=S(y),L=S((function(e){var n,t=Zz({style:_,timeout:g,easing:o},{mode:"exit"}),i=t.duration,r=t.delay,l=t.easing;"auto"===g?(n=N.transitions.getAutoHeightDuration(e.clientHeight),R.current=n):n=i,e.style.transition=[N.transitions.create("opacity",{duration:n,delay:r}),N.transitions.create("transform",{duration:.666*n,delay:r||.333*n,easing:l})].join(","),e.style.opacity="0",e.style.transform=u0(.75),p&&p(e)})),I=S(m);return l.useEffect((function(){return function(){clearTimeout(k.current)}}),[]),(0,oa.jsx)(T,(0,Qo.Z)({appear:r,in:s,nodeRef:E,onEnter:D,onEntered:A,onEntering:w,onExit:L,onExited:I,onExiting:O,addEndListener:function(e){"auto"===g&&(k.current=setTimeout(e,R.current||0)),t&&t(E.current,e)},timeout:"auto"===g?null:g},b,{children:function(e,n){return l.cloneElement(a,(0,Qo.Z)({style:(0,Qo.Z)({opacity:0,transform:u0(.75),visibility:"exited"!==e||s?void 0:"hidden"},c0[e],_,a.props.style),ref:C},n))}}))}));d0.muiSupportAuto=!0;var p0=d0;function f0(e){return(0,ku.Z)("MuiPopover",e)}(0,Ru.Z)("MuiPopover",["root","paper"]);var m0=["onEntering"],y0=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function _0(e,n){var t=0;return"number"===typeof n?t=n:"center"===n?t=e.height/2:"bottom"===n&&(t=e.height),t}function h0(e,n){var t=0;return"number"===typeof n?t=n:"center"===n?t=e.width/2:"right"===n&&(t=e.width),t}function g0(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function v0(e){return"function"===typeof e?e():e}var T0=(0,Hr.ZP)(nH,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,n){return n.root}})({}),b0=(0,Hr.ZP)(AZ,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,n){return n.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),k0=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiPopover"}),i=t.action,r=t.anchorEl,a=t.anchorOrigin,o=void 0===a?{vertical:"top",horizontal:"left"}:a,s=t.anchorPosition,u=t.anchorReference,c=void 0===u?"anchorEl":u,d=t.children,p=t.className,m=t.container,y=t.elevation,_=void 0===y?8:y,h=t.marginThreshold,g=void 0===h?16:h,v=t.open,T=t.PaperProps,b=void 0===T?{}:T,k=t.transformOrigin,R=void 0===k?{vertical:"top",horizontal:"left"}:k,N=t.TransitionComponent,E=void 0===N?p0:N,x=t.transitionDuration,C=void 0===x?"auto":x,S=t.TransitionProps,w=(S=void 0===S?{}:S).onEntering,D=(0,f.Z)(t.TransitionProps,m0),A=(0,f.Z)(t,y0),O=l.useRef(),L=(0,xL.Z)(O,b.ref),I=(0,Qo.Z)({},t,{anchorOrigin:o,anchorReference:c,elevation:_,marginThreshold:g,PaperProps:b,transformOrigin:R,TransitionComponent:E,transitionDuration:C,TransitionProps:D}),U=function(e){var n=e.classes;return(0,vu.Z)({root:["root"],paper:["paper"]},f0,n)}(I),P=l.useCallback((function(){if("anchorPosition"===c)return s;var e=v0(r),n=(e&&1===e.nodeType?e:(0,XX.Z)(O.current).body).getBoundingClientRect();return{top:n.top+_0(n,o.vertical),left:n.left+h0(n,o.horizontal)}}),[r,o.horizontal,o.vertical,s,c]),V=l.useCallback((function(e){return{vertical:_0(e,R.vertical),horizontal:h0(e,R.horizontal)}}),[R.horizontal,R.vertical]),B=l.useCallback((function(e){var n={width:e.offsetWidth,height:e.offsetHeight},t=V(n);if("none"===c)return{top:null,left:null,transformOrigin:g0(t)};var i=P(),l=i.top-t.vertical,a=i.left-t.horizontal,o=l+n.height,s=a+n.width,u=(0,iH.Z)(v0(r)),d=u.innerHeight-g,p=u.innerWidth-g;if(ld){var m=o-d;l-=m,t.vertical+=m}if(ap){var _=s-p;a-=_,t.horizontal+=_}return{top:"".concat(Math.round(l),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:g0(t)}}),[r,c,P,V,g]),M=l.useCallback((function(){var e=O.current;if(e){var n=B(e);null!==n.top&&(e.style.top=n.top),null!==n.left&&(e.style.left=n.left),e.style.transformOrigin=n.transformOrigin}}),[B]);l.useEffect((function(){v&&M()})),l.useImperativeHandle(i,(function(){return v?{updatePosition:function(){M()}}:null}),[v,M]),l.useEffect((function(){if(v){var e=(0,tH.Z)((function(){M()})),n=(0,iH.Z)(r);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}}),[r,v,M]);var F=C;"auto"!==C||E.muiSupportAuto||(F=void 0);var j=m||(r?(0,XX.Z)(v0(r)).body:void 0);return(0,oa.jsx)(T0,(0,Qo.Z)({BackdropProps:{invisible:!0},className:(0,fu.Z)(U.root,p),container:j,open:v,ref:n,ownerState:I},A,{children:(0,oa.jsx)(E,(0,Qo.Z)({appear:!0,in:v,onEntering:function(e,n){w&&w(e,n),M()},timeout:F},D,{children:(0,oa.jsx)(b0,(0,Qo.Z)({elevation:_},b,{ref:L,className:(0,fu.Z)(U.paper,b.className),children:d}))}))}))}));function R0(e){return(0,ku.Z)("MuiMenu",e)}(0,Ru.Z)("MuiMenu",["root","paper","list"]);var N0=["onEntering"],E0=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],x0={vertical:"top",horizontal:"right"},C0={vertical:"top",horizontal:"left"},S0=(0,Hr.ZP)(k0,{shouldForwardProp:function(e){return(0,Hr.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,n){return n.root}})({}),w0=(0,Hr.ZP)(AZ,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,n){return n.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),D0=(0,Hr.ZP)(o0,{name:"MuiMenu",slot:"List",overridesResolver:function(e,n){return n.list}})({outline:0}),A0=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiMenu"}),i=t.autoFocus,r=void 0===i||i,a=t.children,o=t.disableAutoFocusItem,s=void 0!==o&&o,u=t.MenuListProps,c=void 0===u?{}:u,d=t.onClose,p=t.open,m=t.PaperProps,y=void 0===m?{}:m,_=t.PopoverClasses,h=t.transitionDuration,g=void 0===h?"auto":h,v=t.TransitionProps,T=(v=void 0===v?{}:v).onEntering,b=t.variant,k=void 0===b?"selectedMenu":b,R=(0,f.Z)(t.TransitionProps,N0),N=(0,f.Z)(t,E0),E=jU(),x="rtl"===E.direction,C=(0,Qo.Z)({},t,{autoFocus:r,disableAutoFocusItem:s,MenuListProps:c,onEntering:T,PaperProps:y,transitionDuration:g,TransitionProps:R,variant:k}),S=function(e){var n=e.classes;return(0,vu.Z)({root:["root"],paper:["paper"],list:["list"]},R0,n)}(C),w=r&&!s&&p,D=l.useRef(null),A=-1;return l.Children.map(a,(function(e,n){l.isValidElement(e)&&(e.props.disabled||("selectedMenu"===k&&e.props.selected||-1===A)&&(A=n))})),(0,oa.jsx)(S0,(0,Qo.Z)({classes:_,onClose:d,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?x0:C0,PaperProps:(0,Qo.Z)({component:w0},y,{classes:(0,Qo.Z)({},y.classes,{root:S.paper})}),className:S.root,open:p,ref:n,transitionDuration:g,TransitionProps:(0,Qo.Z)({onEntering:function(e,n){D.current&&D.current.adjustStyleForScrollbar(e,E),T&&T(e,n)}},R),ownerState:C},N,{children:(0,oa.jsx)(D0,(0,Qo.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:D,autoFocus:r&&(-1===A||s),autoFocusItem:w,variant:k},c,{className:(0,fu.Z)(S.list,c.className),children:a}))}))})),O0=A0;function L0(e){return(0,ku.Z)("MuiNativeSelect",e)}var I0=(0,Ru.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),U0=["className","disabled","IconComponent","inputRef","variant"],P0=function(e){var n,t=e.ownerState,i=e.theme;return(0,Qo.Z)((n={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===i.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},(0,c.Z)(n,"&.".concat(I0.disabled),{cursor:"default"}),(0,c.Z)(n,"&[multiple]",{height:"auto"}),(0,c.Z)(n,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:i.palette.background.paper}),(0,c.Z)(n,"&&&",{paddingRight:24,minWidth:16}),n),"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:i.shape.borderRadius,"&:focus":{borderRadius:i.shape.borderRadius},"&&&":{paddingRight:32}})},V0=(0,Hr.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Hr.FO,overridesResolver:function(e,n){var t=e.ownerState;return[n.select,n[t.variant],(0,c.Z)({},"&.".concat(I0.multiple),n.multiple)]}})(P0),B0=function(e){var n=e.ownerState,t=e.theme;return(0,Qo.Z)((0,c.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active},"&.".concat(I0.disabled),{color:t.palette.action.disabled}),n.open&&{transform:"rotate(180deg)"},"filled"===n.variant&&{right:7},"outlined"===n.variant&&{right:7})},M0=(0,Hr.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,n){var t=e.ownerState;return[n.icon,t.variant&&n["icon".concat((0,Vw.Z)(t.variant))],t.open&&n.iconOpen]}})(B0),F0=l.forwardRef((function(e,n){var t=e.className,i=e.disabled,r=e.IconComponent,a=e.inputRef,o=e.variant,s=void 0===o?"standard":o,u=(0,f.Z)(e,U0),c=(0,Qo.Z)({},e,{disabled:i,variant:s}),d=function(e){var n=e.classes,t=e.variant,i=e.disabled,r=e.multiple,l=e.open,a={select:["select",t,i&&"disabled",r&&"multiple"],icon:["icon","icon".concat((0,Vw.Z)(t)),l&&"iconOpen",i&&"disabled"]};return(0,vu.Z)(a,L0,n)}(c);return(0,oa.jsxs)(l.Fragment,{children:[(0,oa.jsx)(V0,(0,Qo.Z)({ownerState:c,className:(0,fu.Z)(d.select,t),disabled:i,ref:a||n},u)),e.multiple?null:(0,oa.jsx)(M0,{as:r,ownerState:c,className:d.icon})]})}));function j0(e){return(0,ku.Z)("MuiSelect",e)}var J0=(0,Ru.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),Z0=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],z0=(0,Hr.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,n){var t=e.ownerState;return[(0,c.Z)({},"&.".concat(J0.select),n.select),(0,c.Z)({},"&.".concat(J0.select),n[t.variant]),(0,c.Z)({},"&.".concat(J0.multiple),n.multiple)]}})(P0,(0,c.Z)({},"&.".concat(J0.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),H0=(0,Hr.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,n){var t=e.ownerState;return[n.icon,t.variant&&n["icon".concat((0,Vw.Z)(t.variant))],t.open&&n.iconOpen]}})(B0),q0=(0,Hr.ZP)("input",{shouldForwardProp:function(e){return(0,Hr.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,n){return n.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function W0(e,n){return"object"===typeof n&&null!==n?e===n:String(e)===String(n)}function G0(e){return null==e||"string"===typeof e&&!e.trim()}var K0=l.forwardRef((function(e,n){var t=e["aria-describedby"],i=e["aria-label"],r=e.autoFocus,a=e.autoWidth,s=e.children,u=e.className,c=e.defaultValue,d=e.disabled,p=e.displayEmpty,m=e.IconComponent,y=e.inputRef,_=e.labelId,h=e.MenuProps,g=void 0===h?{}:h,v=e.multiple,T=e.name,b=e.onBlur,k=e.onChange,R=e.onClose,N=e.onFocus,E=e.onOpen,x=e.open,C=e.readOnly,S=e.renderValue,w=e.SelectDisplayProps,D=void 0===w?{}:w,A=e.tabIndex,O=e.value,L=e.variant,I=void 0===L?"standard":L,U=(0,f.Z)(e,Z0),P=(0,RP.Z)({controlled:O,default:c,name:"Select"}),V=(0,o.Z)(P,2),B=V[0],M=V[1],F=l.useRef(null),j=l.useRef(null),J=l.useState(null),Z=(0,o.Z)(J,2),z=Z[0],H=Z[1],q=l.useRef(null!=x).current,W=l.useState(),G=(0,o.Z)(W,2),K=G[0],$=G[1],Y=l.useState(!1),Q=(0,o.Z)(Y,2),X=Q[0],ee=Q[1],ne=(0,xL.Z)(n,y),te=l.useCallback((function(e){j.current=e,e&&H(e)}),[]);l.useImperativeHandle(ne,(function(){return{focus:function(){j.current.focus()},node:F.current,value:B}}),[B]),l.useEffect((function(){r&&j.current.focus()}),[r]),l.useEffect((function(){var e=(0,XX.Z)(j.current).getElementById(_);if(e){var n=function(){getSelection().isCollapsed&&j.current.focus()};return e.addEventListener("click",n),function(){e.removeEventListener("click",n)}}}),[_]);var ie,re,le=function(e,n){e?E&&E(n):R&&R(n),q||($(a?null:z.clientWidth),ee(e))},ae=l.Children.toArray(s),oe=function(e){return function(n){var t;if(n.currentTarget.hasAttribute("tabindex")){if(v){t=Array.isArray(B)?B.slice():[];var i=B.indexOf(e.props.value);-1===i?t.push(e.props.value):t.splice(i,1)}else t=e.props.value;if(e.props.onClick&&e.props.onClick(n),B!==t&&(M(t),k)){var r=n.nativeEvent||n,l=new r.constructor(r.type,r);Object.defineProperty(l,"target",{writable:!0,value:{value:t,name:T}}),k(l,e)}v||le(!1,n)}}},se=null!==z&&(q?x:X);delete U["aria-invalid"];var ue=[],ce=!1;(qX({value:B})||p)&&(S?ie=S(B):ce=!0);var de=ae.map((function(e){if(!l.isValidElement(e))return null;var n;if(v){if(!Array.isArray(B))throw new Error((0,QX.Z)(2));n=B.some((function(n){return W0(n,e.props.value)})),n&&ce&&ue.push(e.props.children)}else(n=W0(B,e.props.value))&&ce&&(re=e.props.children);return n&&!0,l.cloneElement(e,{"aria-selected":n?"true":"false",onClick:oe(e),onKeyUp:function(n){" "===n.key&&n.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(n)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));ce&&(ie=v?0===ue.length?null:ue.reduce((function(e,n,t){return e.push(n),t0&&Math.abs((e.outerHeightStyle||0)-f)>1||e.overflow!==m)?(_.current+=1,{overflow:m,outerHeightStyle:f}):e}))}}),[i,a,e.placeholder]);l.useEffect((function(){var e,n=(0,Q0.Z)((function(){_.current=0,b()})),t=(0,dz.Z)(p.current);return t.addEventListener("resize",n),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(n)).observe(p.current),function(){n.clear(),t.removeEventListener("resize",n),e&&e.disconnect()}}),[b]),(0,YP.Z)((function(){b()})),l.useEffect((function(){_.current=0}),[u]);return(0,oa.jsxs)(l.Fragment,{children:[(0,oa.jsx)("textarea",(0,Qo.Z)({value:u,onChange:function(e){_.current=0,d||b(),t&&t(e)},ref:m,rows:a,style:(0,Qo.Z)({height:v.outerHeightStyle,overflow:v.overflow?"hidden":null},s)},c)),(0,oa.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:(0,Qo.Z)({},n1,s,{padding:0})})]})})),i1=t1;function r1(e){var n=e.styles,t=e.defaultTheme,i=void 0===t?{}:t,r="function"===typeof n?function(e){return n(void 0===(t=e)||null===t||0===Object.keys(t).length?i:e);var t}:n;return(0,oa.jsx)(jL,{styles:r})}var l1=function(e){return(0,oa.jsx)(r1,(0,Qo.Z)({},e,{defaultTheme:FU.Z}))};function a1(e){return(0,ku.Z)("MuiInputBase",e)}var o1=(0,Ru.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),s1=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],u1=function(e,n){var t=e.ownerState;return[n.root,t.formControl&&n.formControl,t.startAdornment&&n.adornedStart,t.endAdornment&&n.adornedEnd,t.error&&n.error,"small"===t.size&&n.sizeSmall,t.multiline&&n.multiline,t.color&&n["color".concat((0,Vw.Z)(t.color))],t.fullWidth&&n.fullWidth,t.hiddenLabel&&n.hiddenLabel]},c1=function(e,n){var t=e.ownerState;return[n.input,"small"===t.size&&n.inputSizeSmall,t.multiline&&n.inputMultiline,"search"===t.type&&n.inputTypeSearch,t.startAdornment&&n.inputAdornedStart,t.endAdornment&&n.inputAdornedEnd,t.hiddenLabel&&n.inputHiddenLabel]},d1=(0,Hr.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:u1})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({},n.typography.body1,(0,c.Z)({color:n.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(o1.disabled),{color:n.palette.text.disabled,cursor:"default"}),t.multiline&&(0,Qo.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})})),p1=(0,Hr.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:c1})((function(e){var n,t=e.theme,i=e.ownerState,r="light"===t.palette.mode,l={color:"currentColor",opacity:r?.42:.5,transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},a={opacity:"0 !important"},o={opacity:r?.42:.5};return(0,Qo.Z)((n={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&:-ms-input-placeholder":l,"&::-ms-input-placeholder":l,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,c.Z)(n,"label[data-shrink=false] + .".concat(o1.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o}),(0,c.Z)(n,"&.".concat(o1.disabled),{opacity:1,WebkitTextFillColor:t.palette.text.disabled}),(0,c.Z)(n,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),n),"small"===i.size&&{paddingTop:1},i.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===i.type&&{MozAppearance:"textfield"})})),f1=(0,oa.jsx)(l1,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),m1=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiInputBase"}),i=t["aria-describedby"],r=t.autoComplete,a=t.autoFocus,s=t.className,u=t.components,c=void 0===u?{}:u,d=t.componentsProps,p=void 0===d?{}:d,m=t.defaultValue,y=t.disabled,_=t.disableInjectingGlobalStyles,h=t.endAdornment,g=t.fullWidth,v=void 0!==g&&g,T=t.id,b=t.inputComponent,k=void 0===b?"input":b,R=t.inputProps,N=void 0===R?{}:R,E=t.inputRef,x=t.maxRows,C=t.minRows,S=t.multiline,w=void 0!==S&&S,D=t.name,A=t.onBlur,O=t.onChange,L=t.onClick,I=t.onFocus,U=t.onKeyDown,P=t.onKeyUp,V=t.placeholder,B=t.readOnly,M=t.renderSuffix,F=t.rows,j=t.startAdornment,J=t.type,Z=void 0===J?"text":J,z=t.value,H=(0,f.Z)(t,s1),q=null!=N.value?N.value:z,W=l.useRef(null!=q).current,G=l.useRef(),K=l.useCallback((function(e){0}),[]),$=(0,xL.Z)(N.ref,K),Y=(0,xL.Z)(E,$),Q=(0,xL.Z)(G,Y),X=l.useState(!1),ee=(0,o.Z)(X,2),ne=ee[0],te=ee[1],ie=EP();var re=CX({props:t,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});re.focused=ie?ie.focused:ne,l.useEffect((function(){!ie&&y&&ne&&(te(!1),A&&A())}),[ie,y,ne,A]);var le=ie&&ie.onFilled,ae=ie&&ie.onEmpty,oe=l.useCallback((function(e){qX(e)?le&&le():ae&&ae()}),[le,ae]);(0,sO.Z)((function(){W&&oe({value:q})}),[q,oe,W]);l.useEffect((function(){oe(G.current)}),[]);var se=k,ue=N;w&&"input"===se&&(ue=F?(0,Qo.Z)({type:void 0,minRows:F,maxRows:F},ue):(0,Qo.Z)({type:void 0,maxRows:x,minRows:C},ue),se=i1);l.useEffect((function(){ie&&ie.setAdornedStart(Boolean(j))}),[ie,j]);var ce=(0,Qo.Z)({},t,{color:re.color||"primary",disabled:re.disabled,endAdornment:h,error:re.error,focused:re.focused,formControl:ie,fullWidth:v,hiddenLabel:re.hiddenLabel,multiline:w,size:re.size,startAdornment:j,type:Z}),de=function(e){var n=e.classes,t=e.color,i=e.disabled,r=e.error,l=e.endAdornment,a=e.focused,o=e.formControl,s=e.fullWidth,u=e.hiddenLabel,c=e.multiline,d=e.size,p=e.startAdornment,f=e.type,m={root:["root","color".concat((0,Vw.Z)(t)),i&&"disabled",r&&"error",s&&"fullWidth",a&&"focused",o&&"formControl","small"===d&&"sizeSmall",c&&"multiline",p&&"adornedStart",l&&"adornedEnd",u&&"hiddenLabel"],input:["input",i&&"disabled","search"===f&&"inputTypeSearch",c&&"inputMultiline","small"===d&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",l&&"inputAdornedEnd"]};return(0,vu.Z)(m,a1,n)}(ce),pe=c.Root||d1,fe=p.root||{},me=c.Input||p1;return ue=(0,Qo.Z)({},ue,p.input),(0,oa.jsxs)(l.Fragment,{children:[!_&&f1,(0,oa.jsxs)(pe,(0,Qo.Z)({},fe,!eL(pe)&&{ownerState:(0,Qo.Z)({},ce,fe.ownerState)},{ref:n,onClick:function(e){G.current&&e.currentTarget===e.target&&G.current.focus(),L&&L(e)}},H,{className:(0,fu.Z)(de.root,fe.className,s),children:[j,(0,oa.jsx)(NP.Provider,{value:null,children:(0,oa.jsx)(me,(0,Qo.Z)({ownerState:ce,"aria-invalid":re.error,"aria-describedby":i,autoComplete:r,autoFocus:a,defaultValue:m,disabled:re.disabled,id:T,onAnimationStart:function(e){oe("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:D,placeholder:V,readOnly:B,required:re.required,rows:F,value:q,onKeyDown:U,onKeyUp:P,type:Z},ue,!eL(me)&&{as:se,ownerState:(0,Qo.Z)({},ce,ue.ownerState)},{ref:Q,className:(0,fu.Z)(de.input,ue.className),onBlur:function(e){A&&A(e),N.onBlur&&N.onBlur(e),ie&&ie.onBlur?ie.onBlur(e):te(!1)},onChange:function(e){if(!W){var n=e.target||G.current;if(null==n)throw new Error((0,QX.Z)(1));oe({value:n.value})}for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},n.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))}));function L1(e){return(0,ku.Z)("MuiOutlinedInput",e)}var I1=(0,Ru.Z)("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]),U1=["components","fullWidth","inputComponent","label","multiline","notched","type"],P1=(0,Hr.ZP)(d1,{shouldForwardProp:function(e){return(0,Hr.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:u1})((function(e){var n,t=e.theme,i=e.ownerState,r="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Qo.Z)((n={position:"relative",borderRadius:t.shape.borderRadius},(0,c.Z)(n,"&:hover .".concat(I1.notchedOutline),{borderColor:t.palette.text.primary}),(0,c.Z)(n,"@media (hover: none)",(0,c.Z)({},"&:hover .".concat(I1.notchedOutline),{borderColor:r})),(0,c.Z)(n,"&.".concat(I1.focused," .").concat(I1.notchedOutline),{borderColor:t.palette[i.color].main,borderWidth:2}),(0,c.Z)(n,"&.".concat(I1.error," .").concat(I1.notchedOutline),{borderColor:t.palette.error.main}),(0,c.Z)(n,"&.".concat(I1.disabled," .").concat(I1.notchedOutline),{borderColor:t.palette.action.disabled}),n),i.startAdornment&&{paddingLeft:14},i.endAdornment&&{paddingRight:14},i.multiline&&(0,Qo.Z)({padding:"16.5px 14px"},"small"===i.size&&{padding:"8.5px 14px"}))})),V1=(0,Hr.ZP)((function(e){var n=e.className,t=e.label,i=e.notched,r=(0,f.Z)(e,D1),l=(0,Qo.Z)({},e,{notched:i,label:t});return(0,oa.jsx)(A1,(0,Qo.Z)({"aria-hidden":!0,className:n,ownerState:l},r,{children:(0,oa.jsx)(O1,{ownerState:l,children:t?(0,oa.jsx)("span",{children:t}):(0,oa.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"​"}})})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,n){return n.notchedOutline}})((function(e){return{borderColor:"light"===e.theme.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}})),B1=(0,Hr.ZP)(p1,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:c1})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===n.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===n.palette.mode?null:"#fff",caretColor:"light"===n.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})})),M1=l.forwardRef((function(e,n){var t,i=(0,Tu.Z)({props:e,name:"MuiOutlinedInput"}),r=i.components,a=void 0===r?{}:r,o=i.fullWidth,s=void 0!==o&&o,u=i.inputComponent,c=void 0===u?"input":u,d=i.label,p=i.multiline,m=void 0!==p&&p,y=i.notched,_=i.type,h=void 0===_?"text":_,g=(0,f.Z)(i,U1),v=function(e){var n=e.classes,t=(0,vu.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},L1,n);return(0,Qo.Z)({},n,t)}(i),T=CX({props:i,muiFormControl:EP(),states:["required"]});return(0,oa.jsx)(y1,(0,Qo.Z)({components:(0,Qo.Z)({Root:P1,Input:B1},a),renderSuffix:function(e){return(0,oa.jsx)(V1,{className:v.notchedOutline,label:d&&T.required?t||(t=(0,oa.jsxs)(l.Fragment,{children:[d,"\xa0","*"]})):d,notched:"undefined"!==typeof y?y:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:s,inputComponent:c,multiline:m,ref:n,type:h},g,{classes:(0,Qo.Z)({},v,{notchedOutline:null})}))}));M1.muiName="Input";var F1,j1,J1=M1,Z1=["autoWidth","children","classes","className","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],z1=l.forwardRef((function(e,n){var t=(0,Tu.Z)({name:"MuiSelect",props:e}),i=t.autoWidth,r=void 0!==i&&i,a=t.children,o=t.classes,s=void 0===o?{}:o,u=t.className,c=t.displayEmpty,d=void 0!==c&&c,p=t.IconComponent,m=void 0===p?Y0:p,y=t.id,_=t.input,h=t.inputProps,g=t.label,v=t.labelId,T=t.MenuProps,b=t.multiple,k=void 0!==b&&b,R=t.native,N=void 0!==R&&R,E=t.onClose,x=t.onOpen,C=t.open,S=t.renderValue,w=t.SelectDisplayProps,D=t.variant,A=void 0===D?"outlined":D,O=(0,f.Z)(t,Z1),L=N?F0:$0,I=CX({props:t,muiFormControl:EP(),states:["variant"]}).variant||A,U=_||{standard:F1||(F1=(0,oa.jsx)(k1,{})),outlined:(0,oa.jsx)(J1,{label:g}),filled:j1||(j1=(0,oa.jsx)(w1,{}))}[I],P=function(e){return e.classes}((0,Qo.Z)({},t,{classes:s})),V=(0,xL.Z)(n,U.ref);return l.cloneElement(U,(0,Qo.Z)({inputComponent:L,inputProps:(0,Qo.Z)({children:a,IconComponent:m,variant:I,type:void 0,multiple:k},N?{id:y}:{autoWidth:r,displayEmpty:d,labelId:v,MenuProps:T,onClose:E,onOpen:x,open:C,renderValue:S,SelectDisplayProps:(0,Qo.Z)({id:y},w)},h,{classes:h?(0,yu.Z)(P,h.classes):P},_?_.props.inputProps:{})},k&&N&&"outlined"===I?{notched:!0}:{},{ref:V,className:(0,fu.Z)(U.props.className,u)},O))}));z1.muiName="Select";var H1=z1,q1=zp((function(e){return{formControl:{margin:e.spacing(1),minWidth:120}}}));function W1(e){var n=e.token,t=e.open,i=e.setOpen,r=(null===n||void 0===n?void 0:n.customerInfo)||[],a=r.reduce((function(e,n){return[].concat((0,z.Z)(e),(0,z.Z)(Object.values(n.productionLines)))}),[])[0],s=(0,l.useState)(null===a||void 0===a?void 0:a.id),u=(0,o.Z)(s,2),c=u[0],d=u[1],p=q1();return(0,oa.jsxs)(YX,{className:p.formControl,children:[(0,oa.jsx)(BX,{htmlFor:"grouped-select",children:"Line"}),(0,oa.jsx)(H1,{id:"grouped-select",onChange:function(e){return d(e.target.value)},value:c,open:t,onClose:function(){return i(!1)},onOpen:function(){return i(!0)},style:{top:"0.4em",height:"2.5em"},children:r.map((function(e){return[(0,oa.jsx)(PZ,{children:e.name})].concat((0,z.Z)(Object.values(e.productionLines).map((function(e){return e instanceof Object?(0,oa.jsx)(zX,{dense:!1,value:e.id,children:e.name},null===e||void 0===e?void 0:e.id):(0,oa.jsx)(oa.Fragment,{})}))))}))})]})}var G1=["text","Icon","to"],K1=zp((function(e){return{drawer:{width:Ca,flexShrink:0,whiteSpace:"nowrap"},drawerOpen:{width:Ca,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})},drawerClose:(0,c.Z)({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7)+1},e.breakpoints.up("sm"),{width:e.spacing(9)+1}),bottomPush:{width:"100%",position:"fixed",bottom:0,paddingBottom:"1em"}}}));function $1(e){var n=e.open,t=e.toggle,i=e.setDateRange,r=function(e){return Object.entries(e).reduce((function(e,n){var t,i=(0,o.Z)(n,2),r=i[0],l=i[1];return p(p({},e),{},(0,c.Z)({},r,(t=l,new Date(t.getTime()-60*t.getTimezoneOffset()*1e3))))}),{})};return(0,oa.jsx)("div",{style:{position:"fixed",top:"5em",zIndex:2},children:(0,oa.jsx)(xX,{open:n,toggle:t,onChange:function(e){return i(r(e))}})})}function Y1(e){var n=e.start,t=e.end;return n?t&&n.getTime()!==t.getTime()?n.getMonth()===t.getMonth()?(0,oa.jsxs)(oa.Fragment,{children:[ea(n,"d"),"..",ea(t,"d. MMMM yyyy")]}):n.getFullYear()===t.getFullYear()?(0,oa.jsxs)(oa.Fragment,{children:[ea(n,"d/M"),"..",ea(t,"d/M-yyyy")]}):(0,oa.jsxs)(oa.Fragment,{children:[ea(n,"d/M-yyyy"),"..",ea(t,"d/M-yyyy")]}):(0,oa.jsx)(oa.Fragment,{children:ea(n,"d. MMMM yyyy")}):(0,oa.jsx)("i",{children:"No date selected"})}function Q1(e){var n=e.text,t=e.Icon,i=e.to,r=m(e,G1);return(0,oa.jsxs)(UI,p(p({button:!0,component:cu,to:i},r),{},{children:[(0,oa.jsx)(jI,{children:(0,oa.jsx)(t,{})}),(0,oa.jsx)(vL,{primary:n})]}),n)}function X1(){var e=(0,l.useState)(!1),n=(0,o.Z)(e,2),t=n[0],i=n[1],r=function(){return i(!t)};return(0,oa.jsxs)(UI,{button:!0,children:[(0,oa.jsx)(jI,{onClick:r,children:(0,oa.jsx)(OH.Z,{})}),(0,oa.jsx)(hO.Consumer,{children:function(e){var n,i,l=e.dateRange;return(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)($1,{open:t,toggle:r,setDateRange:l.set}),(0,oa.jsx)("span",{onClick:r,children:(0,oa.jsx)(Y1,{start:null===l||void 0===l||null===(n=l.value)||void 0===n?void 0:n.startDate,end:null===l||void 0===l||null===(i=l.value)||void 0===i?void 0:i.endDate})})]})}})]})}function e2(e){var n=e.forceDrawerOpen,t=(0,l.useState)(!1),i=(0,o.Z)(t,2),r=i[0],a=i[1],s=function(e){n(e),a(e)};return(0,oa.jsxs)(UI,{children:[(0,oa.jsx)(jI,{onClick:function(){return s(!r)},children:(0,oa.jsx)(LH.Z,{})}),(0,oa.jsx)(mO.Consumer,{children:function(e){var n=e.token;return(0,oa.jsx)(W1,{token:n,open:r,setOpen:s})}})]})}var n2=function(e){var n,t,i=e.onDrawerClose,r=e.open,l=e.hide,a=e.forceDrawerOpen,o=K1();return l&&!r?(0,oa.jsx)("div",{}):(0,oa.jsx)(oz,{onClickAway:i,children:(0,oa.jsxs)(TH,{variant:"permanent",className:(0,fu.Z)(o.drawer,(n={},(0,c.Z)(n,o.drawerOpen,r),(0,c.Z)(n,o.drawerClose,!r),n)),classes:{paper:(0,fu.Z)((t={},(0,c.Z)(t,o.drawerOpen,r),(0,c.Z)(t,o.drawerClose,!r),t))},children:[(0,oa.jsx)("div",{children:(0,oa.jsx)(TI,{onClick:i,size:"large",children:(0,oa.jsx)(SH.Z,{})})}),(0,oa.jsx)(CH,{}),(0,oa.jsx)(e2,{forceDrawerOpen:a}),(0,oa.jsx)(X1,{}),(0,oa.jsx)(CH,{}),(0,oa.jsxs)(NL,{children:[(0,oa.jsx)(Q1,{onClick:i,text:"Dashboard",Icon:wH.Z,to:"/dashboard"}),(0,oa.jsx)(Q1,{onClick:i,text:"Images",Icon:aP.Z,to:"/images"}),(0,oa.jsx)(Q1,{onClick:i,text:"Orders",Icon:DH.Z,to:"/orders"}),(0,oa.jsx)(Q1,{onClick:i,text:"Product types",Icon:AH.Z,to:"/productTypes"}),(0,oa.jsx)(Q1,{onClick:i,text:"Events",Icon:IH.Z,to:"/events"})]}),(0,oa.jsx)(Q1,{onClick:i,className:o.bottomPush,text:"Logout",Icon:aP.Z,to:"/signout"}),(0,oa.jsx)(CH,{})]})})};function t2(e){return(0,ku.Z)("MuiAppBar",e)}(0,Ru.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var i2=["className","color","enableColorOnDark","position"],r2=(0,Hr.ZP)(AZ,{name:"MuiAppBar",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n["position".concat((0,Vw.Z)(t.position))],n["color".concat((0,Vw.Z)(t.color))]]}})((function(e){var n=e.theme,t=e.ownerState,i="light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[900];return(0,Qo.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:n.zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:n.zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:n.zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},"default"===t.color&&{backgroundColor:i,color:n.palette.getContrastText(i)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:n.palette[t.color].main,color:n.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===n.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,Qo.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===n.palette.mode&&{backgroundImage:"none"}))})),l2=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiAppBar"}),i=t.className,r=t.color,l=void 0===r?"primary":r,a=t.enableColorOnDark,o=void 0!==a&&a,s=t.position,u=void 0===s?"fixed":s,c=(0,f.Z)(t,i2),d=(0,Qo.Z)({},t,{color:l,position:u,enableColorOnDark:o}),p=function(e){var n=e.color,t=e.position,i=e.classes,r={root:["root","color".concat((0,Vw.Z)(n)),"position".concat((0,Vw.Z)(t))]};return(0,vu.Z)(r,t2,i)}(d);return(0,oa.jsx)(r2,(0,Qo.Z)({square:!0,component:"header",ownerState:d,elevation:4,className:(0,fu.Z)(p.root,i,"fixed"===u&&"mui-fixed"),ref:n},c))})),a2=l2;function o2(e){return(0,ku.Z)("MuiToolbar",e)}(0,Ru.Z)("MuiToolbar",["root","gutters","regular","dense"]);var s2=["className","component","disableGutters","variant"],u2=(0,Hr.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,!t.disableGutters&&n.gutters,n[t.variant]]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&(0,c.Z)({paddingLeft:n.spacing(2),paddingRight:n.spacing(2)},n.breakpoints.up("sm"),{paddingLeft:n.spacing(3),paddingRight:n.spacing(3)}),"dense"===t.variant&&{minHeight:48})}),(function(e){var n=e.theme;return"regular"===e.ownerState.variant&&n.mixins.toolbar})),c2=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiToolbar"}),i=t.className,r=t.component,l=void 0===r?"div":r,a=t.disableGutters,o=void 0!==a&&a,s=t.variant,u=void 0===s?"regular":s,c=(0,f.Z)(t,s2),d=(0,Qo.Z)({},t,{component:l,disableGutters:o,variant:u}),p=function(e){var n=e.classes,t={root:["root",!e.disableGutters&&"gutters",e.variant]};return(0,vu.Z)(t,o2,n)}(d);return(0,oa.jsx)(u2,(0,Qo.Z)({as:l,className:(0,fu.Z)(p.root,i),ref:n,ownerState:d},c))})),d2=t(8008),p2=zp((function(e){var n;return{appBar:{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})},appBarShift:{marginLeft:Ca,width:"calc(100% - ".concat(Ca,"px)"),transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})},menuButton:{marginRight:36},hide:{display:"none"},logo:(n={position:"absolute"},(0,c.Z)(n,e.breakpoints.down("md"),{height:"3em",right:"-9em"}),(0,c.Z)(n,e.breakpoints.up("sm"),{height:"3em",right:"1em"}),n)}}));var f2=function(e){var n=e.isAuthenticated,t=e.onDrawerOpen,i=e.open,r=p2();return(0,oa.jsx)(a2,{position:"fixed",className:(0,fu.Z)(r.appBar,(0,c.Z)({},r.appBarShift,i)),children:(0,oa.jsxs)(c2,{children:[n&&(0,oa.jsx)(TI,{color:"inherit","aria-label":"open drawer",onClick:t,edge:"start",className:(0,fu.Z)(r.menuButton,(0,c.Z)({},r.hide,i)),size:"large",children:(0,oa.jsx)(d2.Z,{})}),(0,oa.jsx)(yO.Consumer,{children:function(e){var n=e.pageTitle;return(0,oa.jsx)(zw,{variant:"h6",noWrap:!0,children:n})}}),(0,oa.jsx)("img",{srcx:"https://trivision.dk/wp-content/themes/conflict/lib/assets/logo/logo-white.svg",src:"https://trivision.dk/wp-content/themes/trivision-wp-theme-2021/assets/img/logo.svg",alt:"Logo",className:r.logo})]})})};var m2=function(e){var n=e.isAuthenticated,t=(0,l.useState)(!1),i=(0,o.Z)(t,2),r=i[0],a=i[1],s=(0,l.useState)(!1),u=(0,o.Z)(s,2),c=u[0],d=u[1];return(0,l.useEffect)((function(){n||a(!1)}),[n]),(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(f2,{onDrawerOpen:function(){return a(!0)},open:r,isAuthenticated:n}),(0,oa.jsx)(n2,{onDrawerClose:function(){return!c&&a(!1)},open:r,hide:!0,forceDrawerOpen:d})]})},y2=["children"];function _2(e){var n=e.children,t=m(e,y2);return(0,oa.jsx)(_U,p(p({},t),{},{children:n}))}function h2(e){var n=e.labelText,t=e.id,i=e.onChange,r=e.value,l=e.type;return(0,oa.jsxs)(YX,{children:[n&&(0,oa.jsx)(BX,{htmlFor:t,children:n}),(0,oa.jsx)(k1,{id:t,onChange:i,value:r,type:l})]})}var g2=zp((function(e){var n;return{form:{maxWidth:"330px",margin:"0 auto",display:"flex",flexDirection:"column",background:"white",marginTop:"2em","& > *":{margin:"1em 0"}},container:(n={},(0,c.Z)(n,e.breakpoints.down("md"),{margin:"0.5em"}),(0,c.Z)(n,e.breakpoints.up("sm"),{margin:"2em auto"}),(0,c.Z)(n,"padding","2em"),(0,c.Z)(n,"maxWidth","min(600px, 90vw)"),n)}}));var v2=function(e){var n=e.isAuthenticated,t=e.setToken,i=g2(),r=iu(),a=(0,l.useState)(""),s=(0,o.Z)(a,2),c=s[0],d=s[1],p=(0,l.useState)(""),f=(0,o.Z)(p,2),m=f[0],y=f[1],h=function(){var e=u(_().mark((function e(){var n,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ra(c,m);case 2:(n=e.sent)&&(Aa.setToken(n),i=Aa.getToken(),t(i),r.push("/dashboard"));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,oa.jsxs)(AZ,{className:i.container,children:[(0,oa.jsx)(zw,{variant:"h3",children:"Sign in"}),(0,oa.jsxs)("form",{className:i.form,children:[(0,oa.jsx)(h2,{labelText:"username",type:"text",value:c,onChange:function(e){return d(e.target.value)}}),(0,oa.jsx)(h2,{labelText:"password",type:"password",value:m,onChange:function(e){return y(e.target.value)}}),(0,oa.jsx)(_2,{variant:"contained",color:"primary",onClick:h,children:"Log in"}),n&&(0,oa.jsx)(_2,{onClick:function(){Aa.ereaseToken(),t(null)},children:"Log out"})]})]})};var T2=function(e){var n=e.token,t=e.setToken;return Aa.ereaseToken(),t(null),window.localStorage.removeItem(wa),window.localStorage.removeItem(Da),n?(0,oa.jsx)("div",{}):(0,oa.jsx)(qs,{to:"/signin"})},b2=zp((function(e){var n;return{form:{maxWidth:"330px",margin:"0 auto",display:"flex",flexDirection:"column",background:"white",marginTop:"2em","& > *":{margin:"1em 0"}},container:(n={},(0,c.Z)(n,e.breakpoints.down("md"),{margin:"0.5em"}),(0,c.Z)(n,e.breakpoints.up("sm"),{margin:"2em auto"}),(0,c.Z)(n,"padding","2em"),(0,c.Z)(n,"maxWidth","min(600px, 90vw)"),n)}}));function k2(e,n){console.log("Saving ".concat(e," // ").concat(n)),window.localStorage.setItem(wa,e),window.localStorage.setItem(Da,n)}var R2,N2,E2,x2,C2,S2,w2=function(e){e.isAuthenticated;var n=e.setToken,t=b2(),i=iu(),r=(0,l.useState)(""),a=(0,o.Z)(r,2),s=a[0],c=a[1],d=(0,l.useState)(""),p=(0,o.Z)(d,2),f=p[0],m=p[1],y=function(){var e=u(_().mark((function e(t,r){var l,a;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ra(t,r);case 2:(l=e.sent)&&(k2(t,r),Aa.setToken(l),a=Aa.getToken(),n(a),i.push("/dashboard"));case 4:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();return(0,l.useEffect)((function(){var e={username:window.localStorage.getItem(wa),password:window.localStorage.getItem(Da)},n=e.username,t=e.password;n&&t&&y(n,t)}),[]),(0,oa.jsxs)(AZ,{className:t.container,children:[(0,oa.jsx)(zw,{variant:"h3",children:"Sign in"}),(0,oa.jsxs)("form",{className:t.form,children:[(0,oa.jsx)(h2,{labelText:"username",type:"text",value:s,onChange:function(e){return c(e.target.value)}}),(0,oa.jsx)(h2,{labelText:"password",type:"password",value:f,onChange:function(e){return m(e.target.value)}}),(0,oa.jsx)(_2,{variant:"contained",color:"primary",onClick:function(){return y(s,f)},children:"Log in"})]})]})};function D2(e,n){qr(2,arguments);var t=dl(n);return WO(e,-t)}Do(R2||(R2=Oa(['\n query GetProductTypeDetails(\n $productTypeIds: [bigint!]!,\n $limit: Int! = 1000,\n $offset: Int,\n $withAggregates: Boolean! = false,\n ) {\n productTypeDetailsAggregates: production_intelligence_v_product_type_details_aggregate (\n where: {\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n product_type_id: { _in: $productTypeIds }\n },\n ) @include(if: $withAggregates){\n aggregate {\n count,\n min {\n bucket\n }\n },\n },\n productTypeDetails: production_intelligence_v_product_type_details(\n where: {\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n product_type_id: { _in: $productTypeIds }\n #time_segment: {_gte: "2021-09-13 00:00:00", _lte: "2021-09-13 23:00:00"}\n #order_name: {_eq: "Order 17"}\n },\n limit: $limit,\n offset: $offset\n ){\n customer_id\n line_id\n lane\n product_type_id\n bucket\n count\n classification_index\n error_name\n product_type {\n name\n }\n }\n }\n']))),Do(N2||(N2=Oa(["\n query GetOrder(\n $tmStart: timestamptz,\n $tmEnd: timestamptz,\n $id: bigint_comparison_exp!,\n $limit: Int! = 1000,\n $offset: Int,\n $withAggregates: Boolean! = true,\n ) {\n orderAggregates: production_intelligence_v_orders_overview_aggregate (\n where: {\n order_start: {_gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n order_id: $id,\n },\n ) @include(if: $withAggregates){\n aggregate {\n count,\n min {\n order_start\n }\n },\n },\n orders: production_intelligence_v_orders_overview(\n where: {\n order_start: { _gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n order_id: $id,\n },\n limit: $limit,\n offset: $offset\n ){\n customer_id,\n line_id,\n order_id,\n order_name,\n order_start,\n order_end,\n product_types,\n product_count_total,\n product_count_failed,\n first_product,\n last_product\n }\n }\n"]))),Do(E2||(E2=Oa(["\n query GetOrders(\n $tmStart: timestamptz,\n $tmEnd: timestamptz,\n $limit: Int! = 1000,\n $offset: Int,\n $withAggregates: Boolean! = true,\n ) {\n orderAggregates: production_intelligence_v_orders_overview_aggregate (\n where: {\n order_start: {_gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n },\n ) @include(if: $withAggregates){\n aggregate {\n count,\n min {\n order_start\n }\n },\n },\n orders: production_intelligence_v_orders_overview(\n where: {\n order_start: { _gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n },\n limit: $limit,\n offset: $offset\n ){\n customer_id,\n line_id,\n order_id,\n order_name,\n order_start,\n order_end,\n product_types,\n product_count_total,\n product_count_failed,\n first_product,\n last_product\n }\n }\n"]))),Do(x2||(x2=Oa(["\n query GetOrderSimple(\n $tmStart: timestamptz,\n $tmEnd: timestamptz,\n $id: bigint_comparison_exp!,\n $limit: Int! = 1000,\n $offset: Int,\n $order_by: [production_intelligence_orders_order_by!]\n $withAggregates: Boolean! = true,\n ) {\n orderAggregates: production_intelligence_orders_aggregate (\n where: {\n tm_start: {_gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n id: $id,\n },\n ) @include(if: $withAggregates){\n aggregate {\n count,\n min {\n tm_start\n }\n },\n },\n orders: production_intelligence_orders(\n where: {\n tm_start: { _gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n id: $id,\n },\n limit: $limit,\n offset: $offset,\n order_by: $order_by\n ){\n customer_id,\n line_id,\n id,\n name,\n tm_start,\n tm_end,\n product_types {\n id,\n name\n }\n }\n }\n"])));var A2,O2=Do(C2||(C2=Oa(["\n query GetOrdersSimple(\n $tmStart: timestamptz,\n $tmEnd: timestamptz,\n $limit: Int! = 1000,\n $offset: Int,\n $order_by: [production_intelligence_orders_order_by!]\n $withAggregates: Boolean! = true,\n ) {\n orderAggregates: production_intelligence_orders_aggregate (\n where: {\n tm_start: {_gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n },\n ) @include(if: $withAggregates){\n aggregate {\n count,\n min {\n tm_start\n }\n },\n },\n orders: production_intelligence_orders(\n where: {\n tm_start: { _gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n },\n limit: $limit,\n offset: $offset,\n order_by: $order_by\n ){\n customer_id,\n line_id,\n id,\n name,\n tm_start,\n tm_end,\n product_types {\n id,\n name\n }\n }\n }\n"]))),L2=(Do(S2||(S2=Oa(['\n query GetProductTypeDetailsSimple(\n $productTypeIds: [bigint!]!,\n $limit: Int! = 1000,\n $offset: Int\n ) {\n productTypeDetails: production_intelligence_v_product_type_details(\n where: {\n customer_id: {_eq: 7},\n line_id: {_eq: 32},\n product_type_id: { _in: $productTypeIds }\n #time_segment: {_gte: "2021-09-13 00:00:00", _lte: "2021-09-13 23:00:00"}\n #order_name: {_eq: "Order 17"}\n },\n limit: $limit,\n offset: $offset\n ){\n customer_id\n line_id\n lane\n product_type_id\n bucket\n count\n classification_index\n error_name\n product_type {\n name\n }\n }\n }\n']))),Do(A2||(A2=Oa(["\nquery GetForeignObjects (\n $tm_start: timestamptz,\n $tm_end: timestamptz,\n $limit: Int,\n $offset: Int\n ){\n foreignObjects: production_intelligence_get_foreign_objects(\n args: {\n _tm_start: $tm_start,\n _tm_end: $tm_end,\n _limit: $limit,\n _offset: $offset,\n }){\n time_min\n time_max\n classification_index\n result_name\n count\n }\n}\n"]))));var I2=l.createContext();function U2(e){return(0,ku.Z)("MuiTable",e)}(0,Ru.Z)("MuiTable",["root","stickyHeader"]);var P2=["className","component","padding","size","stickyHeader"],V2=(0,Hr.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.stickyHeader&&n.stickyHeader]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,Qo.Z)({},n.typography.body2,{padding:n.spacing(2),color:n.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})})),B2="table",M2=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiTable"}),i=t.className,r=t.component,a=void 0===r?B2:r,o=t.padding,s=void 0===o?"normal":o,u=t.size,c=void 0===u?"medium":u,d=t.stickyHeader,p=void 0!==d&&d,m=(0,f.Z)(t,P2),y=(0,Qo.Z)({},t,{component:a,padding:s,size:c,stickyHeader:p}),_=function(e){var n=e.classes,t={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,vu.Z)(t,U2,n)}(y),h=l.useMemo((function(){return{padding:s,size:c,stickyHeader:p}}),[s,c,p]);return(0,oa.jsx)(I2.Provider,{value:h,children:(0,oa.jsx)(V2,(0,Qo.Z)({as:a,role:a===B2?null:"table",ref:n,className:(0,fu.Z)(_.root,i),ownerState:y},m))})}));var F2=l.createContext();function j2(e){return(0,ku.Z)("MuiTableBody",e)}(0,Ru.Z)("MuiTableBody",["root"]);var J2=["className","component"],Z2=(0,Hr.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(e,n){return n.root}})({display:"table-row-group"}),z2={variant:"body"},H2="tbody",q2=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiTableBody"}),i=t.className,r=t.component,l=void 0===r?H2:r,a=(0,f.Z)(t,J2),o=(0,Qo.Z)({},t,{component:l}),s=function(e){var n=e.classes;return(0,vu.Z)({root:["root"]},j2,n)}(o);return(0,oa.jsx)(F2.Provider,{value:z2,children:(0,oa.jsx)(Z2,(0,Qo.Z)({className:(0,fu.Z)(s.root,i),as:l,ref:n,role:l===H2?null:"rowgroup",ownerState:o},a))})}));function W2(e){return(0,ku.Z)("MuiTableCell",e)}var G2=(0,Ru.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),K2=["align","className","component","padding","scope","size","sortDirection","variant"],$2=(0,Hr.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant],n["size".concat((0,Vw.Z)(t.size))],"normal"!==t.padding&&n["padding".concat((0,Vw.Z)(t.padding))],"inherit"!==t.align&&n["align".concat((0,Vw.Z)(t.align))],t.stickyHeader&&n.stickyHeader]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({},n.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===n.palette.mode?(0,EL.$n)((0,EL.Fq)(n.palette.divider,1),.88):(0,EL._j)((0,EL.Fq)(n.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===t.variant&&{color:n.palette.text.primary,lineHeight:n.typography.pxToRem(24),fontWeight:n.typography.fontWeightMedium},"body"===t.variant&&{color:n.palette.text.primary},"footer"===t.variant&&{color:n.palette.text.secondary,lineHeight:n.typography.pxToRem(21),fontSize:n.typography.pxToRem(12)},"small"===t.size&&(0,c.Z)({padding:"6px 16px"},"&.".concat(G2.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:n.palette.background.default})})),Y2=l.forwardRef((function(e,n){var t,i=(0,Tu.Z)({props:e,name:"MuiTableCell"}),r=i.align,a=void 0===r?"inherit":r,o=i.className,s=i.component,u=i.padding,c=i.scope,d=i.size,p=i.sortDirection,m=i.variant,y=(0,f.Z)(i,K2),_=l.useContext(I2),h=l.useContext(F2),g=h&&"head"===h.variant;t=s||(g?"th":"td");var v=c;!v&&g&&(v="col");var T=m||h&&h.variant,b=(0,Qo.Z)({},i,{align:a,component:t,padding:u||(_&&_.padding?_.padding:"normal"),size:d||(_&&_.size?_.size:"medium"),sortDirection:p,stickyHeader:"head"===T&&_&&_.stickyHeader,variant:T}),k=function(e){var n=e.classes,t=e.variant,i=e.align,r=e.padding,l=e.size,a={root:["root",t,e.stickyHeader&&"stickyHeader","inherit"!==i&&"align".concat((0,Vw.Z)(i)),"normal"!==r&&"padding".concat((0,Vw.Z)(r)),"size".concat((0,Vw.Z)(l))]};return(0,vu.Z)(a,W2,n)}(b),R=null;return p&&(R="asc"===p?"ascending":"descending"),(0,oa.jsx)($2,(0,Qo.Z)({as:t,ref:n,className:(0,fu.Z)(k.root,o),"aria-sort":R,scope:v,ownerState:b},y))})),Q2=Y2;function X2(e){return(0,ku.Z)("MuiTableContainer",e)}(0,Ru.Z)("MuiTableContainer",["root"]);var e5=["className","component"],n5=(0,Hr.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,n){return n.root}})({width:"100%",overflowX:"auto"}),t5=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiTableContainer"}),i=t.className,r=t.component,l=void 0===r?"div":r,a=(0,f.Z)(t,e5),o=(0,Qo.Z)({},t,{component:l}),s=function(e){var n=e.classes;return(0,vu.Z)({root:["root"]},X2,n)}(o);return(0,oa.jsx)(n5,(0,Qo.Z)({ref:n,as:l,className:(0,fu.Z)(s.root,i),ownerState:o},a))}));function i5(e){return(0,ku.Z)("MuiTableHead",e)}(0,Ru.Z)("MuiTableHead",["root"]);var r5=["className","component"],l5=(0,Hr.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,n){return n.root}})({display:"table-header-group"}),a5={variant:"head"},o5="thead",s5=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiTableHead"}),i=t.className,r=t.component,l=void 0===r?o5:r,a=(0,f.Z)(t,r5),o=(0,Qo.Z)({},t,{component:l}),s=function(e){var n=e.classes;return(0,vu.Z)({root:["root"]},i5,n)}(o);return(0,oa.jsx)(F2.Provider,{value:a5,children:(0,oa.jsx)(l5,(0,Qo.Z)({as:l,className:(0,fu.Z)(s.root,i),ref:n,role:l===o5?null:"rowgroup",ownerState:o},a))})}));function u5(e){return(0,ku.Z)("MuiTableRow",e)}var c5=(0,Ru.Z)("MuiTableRow",["root","selected","hover","head","footer"]),d5=["className","component","hover","selected"],p5=(0,Hr.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.head&&n.head,t.footer&&n.footer]}})((function(e){var n,t=e.theme;return n={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,c.Z)(n,"&.".concat(c5.hover,":hover"),{backgroundColor:t.palette.action.hover}),(0,c.Z)(n,"&.".concat(c5.selected),{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:(0,EL.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}),n})),f5=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiTableRow"}),i=t.className,r=t.component,a=void 0===r?"tr":r,o=t.hover,s=void 0!==o&&o,u=t.selected,c=void 0!==u&&u,d=(0,f.Z)(t,d5),p=l.useContext(F2),m=(0,Qo.Z)({},t,{component:a,hover:s,selected:c,head:p&&"head"===p.variant,footer:p&&"footer"===p.variant}),y=function(e){var n=e.classes,t={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,vu.Z)(t,u5,n)}(m);return(0,oa.jsx)(p5,(0,Qo.Z)({as:a,ref:n,className:(0,fu.Z)(y.root,i),role:"tr"===a?null:"row",ownerState:m},d))})),m5=f5,y5=t(594),_5=t(104),h5=["className","component"];var g5=t(4992),v5=t(1979),T5=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.defaultTheme,t=e.defaultClassName,i=void 0===t?"MuiBox-root":t,r=e.generateClassName,a=e.styleFunctionSx,o=void 0===a?_5.Z:a,s=(0,y5.ZP)("div")(o),u=l.forwardRef((function(e,t){var l=(0,MU.Z)(n),a=gu(e),o=a.className,u=a.component,c=void 0===u?"div":u,d=(0,f.Z)(a,h5);return(0,oa.jsx)(s,(0,Qo.Z)({as:c,ref:t,className:(0,fu.Z)(o,r?r(i):i),theme:l},d))}));return u}({defaultTheme:(0,v5.Z)(),defaultClassName:"MuiBox-root",generateClassName:g5.Z.generate}),b5=T5,k5=["fontSize","disableText"];function R5(e){var n=e.fontSize,t=e.disableText,i=m(e,k5);return(0,oa.jsxs)(b5,{sx:{position:"relative",display:"inline-flex"},children:[(0,oa.jsx)(lU,p({variant:"determinate"},i)),(0,oa.jsx)(b5,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:!t&&(0,oa.jsx)(zw,{variant:"caption",component:"div",color:"text.secondary",fontSize:n,children:"".concat(Math.round(i.value),"%")})})]})}function N5(e){return(0,oa.jsx)(lU,p({variant:"indeterminate"},e))}var E5=zp((function(e){var n="#777";return{table:{textTransform:"uppercase",backgroundColor:n,color:e.palette.getContrastText(n)},headerRow:{letterSpacing:"0.1em",textTransform:"uppercase"},headerCell:{fontWeight:"bold",color:e.palette.getContrastText(n)},valueRow:{},objectTypeCol:{textTransform:"capitalize"},classificationCol:{textTransform:"uppercase"},countCol:{}}}));var x5=qp((function(e){var n=e.data,t=e.isLoading,i=e.progressPct,r=e.theme,l=E5(),a=n.reduce((function(e,n){var t=n.classification_index,i=n.result_name,l=n.count,a=e.findIndex((function(e){return e.classification_index===t})),o=Ea[t],s=(0,EL.Fq)(r.results[o.tag],.9),u=~a?e[a]:p(p({},o),{},{classification_index:t,result_name:i,count:0,backgroundColor:s,textColor:r.palette.getContrastText(s)}),c=p(p({},u),{},{count:u.count+l});return~a?[].concat((0,z.Z)(e.slice(0,a)),[c],(0,z.Z)(e.slice(a+1))):[].concat((0,z.Z)(e),[c])}),[]).sort((function(e,n){return e.classification_index>n.classification_index?-1:1}));return t?(0,oa.jsx)(R5,{fontSize:"3rem",size:"10rem",value:100*(null!==i&&void 0!==i?i:0)}):(0,oa.jsx)(t5,{component:AZ,children:(0,oa.jsxs)(M2,{sx:{},"aria-label":"simple table",className:l.table,children:[(0,oa.jsx)(s5,{children:(0,oa.jsxs)(m5,{className:l.headerRow,children:[(0,oa.jsx)(Q2,{className:l.headerCell,children:"Classification"}),(0,oa.jsx)(Q2,{className:l.headerCell,children:"Object type"}),(0,oa.jsx)(Q2,{className:l.headerCell,align:"right",children:"Count"})]})}),(0,oa.jsx)(q2,{children:a.map((function(e){return(0,oa.jsxs)(m5,{sx:{"&:last-child td, &:last-child th":{border:0},backgroundColor:e.backgroundColor},className:l.valueRow,children:[(0,oa.jsx)(Q2,{className:l.classificationCol,children:(0,oa.jsx)(zw,{style:{color:e.textColor},children:e.displayName})}),(0,oa.jsx)(Q2,{className:l.objectTypeCol,children:(0,oa.jsx)(zw,{style:{color:e.textColor},children:e.result_name})}),(0,oa.jsx)(Q2,{align:"right",className:l.countCol,children:(0,oa.jsx)(zw,{style:{color:e.textColor},children:e.count.toLocaleString()})})]},"".concat(e.result_name,"_").concat(e.classification_index))}))})]})})})),C5=["name","errors","onClick","isSelected","loadingOrder"],S5=zp((function(e){return{root:{width:"100%",backgroundColor:e.palette.background.paper},loadingIcon:{marginLeft:"1em",minWidth:"1em"},header:(0,c.Z)({textTransform:"uppercase",letterSpacing:"0.2rem",fontSize:"1.0rem",marginTop:"1em"},e.breakpoints.down("md"),{"&":{textTransform:"uppercase",letterSpacing:"0.2rem",marginTop:"1.5em",marginBottom:"0.5em",color:e.headerColor,fontFamily:"gotham",position:"relative",fontSize:"1.5rem",zIndex:1,overflow:"hidden",textAlign:"center",fontWeight:500},"&:before, &:after":{position:"absolute",top:"51%",overflow:"hidden",width:"49.4%",height:"1px",content:'""',backgroundColor:e.headerColor},"&:after":{marginLeft:"0.4%"},"&:before":{marginLeft:"-49.9%",textAlign:"right"}})}}));function w5(e){var n=e.time,t=void 0===n?new Date:n;return(0,oa.jsx)(oa.Fragment,{children:function(e){return ea(new Date(e),"dd/MM-yy HH:mm:ss")}(t)})}function D5(e){var n,t,i=e.name,r=e.errors,l=e.onClick,a=(e.isSelected,e.loadingOrder,m(e,C5)),o=Array.isArray(r)?"".concat(i," (").concat((null===(n=r[0])||void 0===n||null===(t=n.type)||void 0===t?void 0:t.name)||"",")"):i;return(0,oa.jsx)(vL,{onClick:l,primary:o,secondary:(0,oa.jsx)(w5,p({},a))})}function A5(e){var n=e.children,t=S5();return(0,oa.jsx)(PZ,{component:"div",id:"nested-list-subheader",children:(0,oa.jsx)(zw,{variant:"h4",className:t.header,children:n})})}var O5=function(e){var n=e.orders,t=e.selectedOrder,i=e.orderCount,r=e.pageSize,l=void 0===r?n.length:r,a=e.currentPage,o=void 0===a?0:a,s=e.setPage,u=e.loadingOrders,c=e.loadingOrder,d=e.onClick,p=e.onRefresh,f=S5(),m=Math.ceil(i/l),y=n.filter((function(e,n,t){return t.findIndex((function(n){return n.id===e.id}))===n}));return(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsxs)(NL,{className:f.root,subheader:(0,oa.jsxs)(A5,{children:["Orders",(0,oa.jsx)(TI,{onClick:p,color:"primary","aria-label":"Refresh",size:"large",children:(0,oa.jsx)(oP.Z,{})})]}),children:[u&&Array(l).fill().map((function(e,n){return(0,oa.jsx)(UI,{button:!0,children:(0,oa.jsx)(vL,{primary:(0,oa.jsx)(LU,{}),secondary:(0,oa.jsx)(LU,{})})},n)})),!u&&y.map((function(e,n){var i=function(e,n){return(null===e||void 0===e?void 0:e.id)===(null===n||void 0===n?void 0:n.id)}(e,t);return(0,oa.jsxs)(UI,{selected:i,button:!0,children:[(0,oa.jsx)(D5,{onClick:function(){return d(e)},name:e.name,errors:e.errors,time:e.tm_start,loadingOrder:c,isSelected:i}),i&&c&&(0,oa.jsx)(jI,{classes:{root:f.loadingIcon},children:(0,oa.jsx)(lU,{size:15})})]},n)}))]}),(0,oa.jsx)(lP,{count:m,page:o,onChange:function(e,n){return s(n)}})]})};function L5(e){return(0,ku.Z)("MuiAlert",e)}var I5,U5=(0,Ru.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),P5=(0,JU.Z)((0,oa.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),V5=(0,JU.Z)((0,oa.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),B5=(0,JU.Z)((0,oa.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),M5=(0,JU.Z)((0,oa.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),F5=(0,JU.Z)((0,oa.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),j5=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],J5=(0,Hr.ZP)(AZ,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant],n["".concat(t.variant).concat((0,Vw.Z)(t.color||t.severity))]]}})((function(e){var n=e.theme,t=e.ownerState,i="light"===n.palette.mode?EL._j:EL.$n,r="light"===n.palette.mode?EL.$n:EL._j,l=t.color||t.severity;return(0,Qo.Z)({},n.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},l&&"standard"===t.variant&&(0,c.Z)({color:i(n.palette[l].light,.6),backgroundColor:r(n.palette[l].light,.9)},"& .".concat(U5.icon),{color:"dark"===n.palette.mode?n.palette[l].main:n.palette[l].light}),l&&"outlined"===t.variant&&(0,c.Z)({color:i(n.palette[l].light,.6),border:"1px solid ".concat(n.palette[l].light)},"& .".concat(U5.icon),{color:"dark"===n.palette.mode?n.palette[l].main:n.palette[l].light}),l&&"filled"===t.variant&&{color:"#fff",fontWeight:n.typography.fontWeightMedium,backgroundColor:"dark"===n.palette.mode?n.palette[l].dark:n.palette[l].main})})),Z5=(0,Hr.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,n){return n.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),z5=(0,Hr.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,n){return n.message}})({padding:"8px 0"}),H5=(0,Hr.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,n){return n.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),q5={success:(0,oa.jsx)(P5,{fontSize:"inherit"}),warning:(0,oa.jsx)(V5,{fontSize:"inherit"}),error:(0,oa.jsx)(B5,{fontSize:"inherit"}),info:(0,oa.jsx)(M5,{fontSize:"inherit"})},W5=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiAlert"}),i=t.action,r=t.children,l=t.className,a=t.closeText,o=void 0===a?"Close":a,s=t.color,u=t.icon,c=t.iconMapping,d=void 0===c?q5:c,p=t.onClose,m=t.role,y=void 0===m?"alert":m,_=t.severity,h=void 0===_?"success":_,g=t.variant,v=void 0===g?"standard":g,T=(0,f.Z)(t,j5),b=(0,Qo.Z)({},t,{color:s,severity:h,variant:v}),k=function(e){var n=e.variant,t=e.color,i=e.severity,r=e.classes,l={root:["root","".concat(n).concat((0,Vw.Z)(t||i)),"".concat(n)],icon:["icon"],message:["message"],action:["action"]};return(0,vu.Z)(l,L5,r)}(b);return(0,oa.jsxs)(J5,(0,Qo.Z)({role:y,elevation:0,ownerState:b,className:(0,fu.Z)(k.root,l),ref:n},T,{children:[!1!==u?(0,oa.jsx)(Z5,{ownerState:b,className:k.icon,children:u||d[h]||q5[h]}):null,(0,oa.jsx)(z5,{ownerState:b,className:k.message,children:r}),null!=i?(0,oa.jsx)(H5,{className:k.action,children:i}):null,null==i&&p?(0,oa.jsx)(H5,{ownerState:b,className:k.action,children:(0,oa.jsx)(TI,{size:"small","aria-label":o,title:o,color:"inherit",onClick:p,children:I5||(I5=(0,oa.jsx)(F5,{fontSize:"small"}))})}):null]}))})),G5=W5;function K5(e,n){qr(2,arguments);var t=Gr(e),i=Gr(n),r=t.getTime()-i.getTime();return r<0?-1:r>0?1:r}function $5(e,n){qr(2,arguments);var t=Gr(e),i=Gr(n),r=t.getFullYear()-i.getFullYear(),l=t.getMonth()-i.getMonth();return 12*r+l}function Y5(e){qr(1,arguments);var n=Gr(e);return n.setHours(23,59,59,999),n}function Q5(e){qr(1,arguments);var n=Gr(e),t=n.getMonth();return n.setFullYear(n.getFullYear(),t+1,0),n.setHours(23,59,59,999),n}function X5(e){qr(1,arguments);var n=Gr(e);return Y5(n).getTime()===Q5(n).getTime()}function e4(e,n){qr(2,arguments);var t,i=Gr(e),r=Gr(n),l=K5(i,r),a=Math.abs($5(i,r));if(a<1)t=0;else{1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-l*a);var o=K5(i,r)===-l;X5(Gr(e))&&1===a&&1===K5(e,r)&&(o=!1),t=l*(a-Number(o))}return 0===t?0:t}function n4(e){return IJ({},e)}var t4=1440,i4=43200;function r4(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qr(2,arguments);var i=t.locale||cl;if(!i.formatDistance)throw new RangeError("locale must contain formatDistance property");var r=K5(e,n);if(isNaN(r))throw new RangeError("Invalid time value");var l,a,o=n4(t);o.addSuffix=Boolean(t.addSuffix),o.comparison=r,r>0?(l=Gr(n),a=Gr(e)):(l=Gr(e),a=Gr(n));var s,u=aa(a,l),c=(Zl(a)-Zl(l))/1e3,d=Math.round((u-c)/60);if(d<2)return t.includeSeconds?u<5?i.formatDistance("lessThanXSeconds",5,o):u<10?i.formatDistance("lessThanXSeconds",10,o):u<20?i.formatDistance("lessThanXSeconds",20,o):u<40?i.formatDistance("halfAMinute",null,o):u<60?i.formatDistance("lessThanXMinutes",1,o):i.formatDistance("xMinutes",1,o):0===d?i.formatDistance("lessThanXMinutes",1,o):i.formatDistance("xMinutes",d,o);if(d<45)return i.formatDistance("xMinutes",d,o);if(d<90)return i.formatDistance("aboutXHours",1,o);if(dB.value.endDate){var n=WO(e,1);B.set({startDate:e,endDate:n})}}}),[W]);var G=z?"Orders / ".concat(z.name):"Orders / ".concat(ea(F,"d. MMMM yyyy")," .. ").concat(ea(j,"d. MMMM yyyy"));_O(G);var K=(0,l.useState)(1),$=(0,o.Z)(K,2),Y=$[0],Q=$[1],X=kO(O2,{variables:{limit:5,offset:5*(Y-1),tmStart:F,tmEnd:j,order_by:{id:"desc"}},onCompleted:function(e){}}),ee=X.data,ne=X.error,te=(X.loading,X.refetch);ne&&console.warn(ne);var ie=(null===ee||void 0===ee||null===(n=ee.orderAggregates)||void 0===n||null===(t=n.aggregate)||void 0===t?void 0:t.count)||0,re=CO(JO),le=(0,o.Z)(re,2),ae=le[0],oe=le[1],se=oe.data,ue=oe.loading,ce=oe.error;(0,l.useEffect)((function(){var e;if(W&&ee){var n=parseInt(W),t=((null===ee||void 0===ee?void 0:ee.orders)||[]).find((function(e){return e.id===n}));if(t){H(t);var i=null===(e=t.product_types[0])||void 0===e?void 0:e.id,r=t.tm_start,l=t.tm_end;f({variables:{product_type_id:i}}),T({variables:{product_type_id:i}}),C({variables:{tm_start:r,tm_end:l}}),O({variables:{product_type_id:i},onCompleted:function(e){var n=((null===e||void 0===e?void 0:e.measurements)||[]).filter((function(e){var n,t;return null===e||void 0===e||null===(n=e.measurement_type)||void 0===n||null===(t=n.name)||void 0===t?void 0:t.startsWith("dist_")})).map((function(e){return e.measurement_type.id})),t="{".concat(n.toString(),"}");ae({variables:{tm_start:r,tm_end:l,measurement_type_ids:t}})}})}}}),[ee,W]);var de=[Object.values(xa).map((function(e){var n=e.displayName,t=e.tag;return{name:n,key:t,color:a.results[t]}}))],pe=Object.values(xa).reduce((function(e,n){var t=n.displayName,i=n.tag;return p(p({},e),{},(0,c.Z)({},i,t))}),{}),fe=function(e){return p(p({},e),{},{tm:new Date(e.time_bucket)})},me=Object.values(((null===k||void 0===k?void 0:k.products)||[]).map(fe).reduce((function(e,n){var t=n.time_bucket,i=e[t],r=p(p({},i||n),{},{count_total:((null===i||void 0===i?void 0:i.count_total)||0)+n.count_total,count_failed:((null===i||void 0===i?void 0:i.count_failed)||0)+n.count_failed});return p(p({},e),{},(0,c.Z)({},t,r))}),{})),ye=Object.values(((null===y||void 0===y?void 0:y.classificationDetails)||[]).map(fe).reduce((function(e,n){var t="".concat(n.time_bucket,"#").concat(n.classification,"#").concat(n.result_id),i=e[t],r=p(p({},i||n),{},{count:((null===i||void 0===i?void 0:i.count)||0)+n.count});return p(p({},e),{},(0,c.Z)({},t,r))}),{})),_e=function(e,n){var t=Object.values(xa).map((function(e){return e.tag})),i=e.map((function(e){var i=n.filter((function(n){return n.time_bucket===e.time_bucket})).map((function(e){return p(p({},e),{},{classification:t[e.classification_index]})})),r=t.reduce((function(e,n){return p(p({},e),{},(0,c.Z)({},n,(e[n]||0)+i.filter((function(e){return e.classification===n})).reduce((function(e,n){return e+n.count}),0)))}),{ok:e.count_total-e.count_failed});return p(p({},e),r)}));return i}(me,ye),he=_e.map((function(e){return p(p({},e),{},{tm:e.tm.getTime()})})),ge=function(e,n){new Date("2022-01-19T18:32:00+00:00");var t=n.map((function(e){return e.result_name})).filter((function(e,n,t){return t.indexOf(e)===n})),i=Object.entries(xa).map((function(e){var i=(0,o.Z)(e,2),r=i[0],l=i[1].tag,a=t.map((function(e){var t=n.filter((function(n){var t=n.result_name===e,i=n.classification_index===parseInt(r);return t&&i})).reduce((function(e,n){return e+(n.count||0)}),0);return{name:e,count:t}})),s=a.reduce((function(e,n){return e+n.count}),0);return{classification:l,results:a,count:s}})),r=e.map((function(e){return e.count_total-e.count_failed})).reduce((function(e,n){return e+n}),0);return i[Object.entries(xa).find((function(e){var n=(0,o.Z)(e,2);return n[0],"ok"===n[1].tag}))[0]].count=r,i}(me,ye),ve=(null===ee||void 0===ee?void 0:ee.orders)||[],Te=(null===k||void 0===k||null===(i=k.products)||void 0===i?void 0:i.reduce((function(e,n){return e+n.count_total}),0))||0,be=(null===k||void 0===k||null===(r=k.products)||void 0===r?void 0:r.reduce((function(e,n){return e+n.count_failed}),0))||0,ke=Te>0?be/Te:0,Re=_e.reduce((function(e,n){return e&&en.tm?e:n.tm}),null)||(null!==z&&void 0!==z&&z.tm_end?new Date(null===z||void 0===z?void 0:z.tm_end):new Date),Ee=Te/(dO(Ne,Re)||1),xe=100*Ee/120,Ce=a4(I,se).map((function(e){return{name:e.name,coverage:e.quadrantValues.slice(1).map((function(n){return n/e.target}))}})),Se=_||R,we=[h,N].filter((function(e){return!!e}));we.length>0&&console.error(we);var De,Ae=ue||U,Oe=[P,ce].filter((function(e){return!!e}));return Oe.length>0&&console.error(Oe),(0,oa.jsx)("div",{className:V.container,children:(0,oa.jsxs)(Lu,{container:!0,spacing:0,direction:"row",justifyContent:"space-around",alignItems:"flex-start",style:{minHeight:"min(100vw,24vh)",width:"100%"},children:[(0,oa.jsx)(Lu,{item:!0,xs:12,md:4,style:{height:"100%"},children:(0,oa.jsx)(O5,{orders:ve,selectedOrder:z,onRefresh:(0,l.useCallback)((function(){return te()}),[te]),onClick:function(e){return s.push("/orders/".concat(e.id))},orderCount:ie,pageSize:5,currentPage:Y,setPage:Q})}),(0,oa.jsx)(Lu,{item:!0,xs:12,md:4,style:{height:"100%"},children:(0,oa.jsx)(NL,{className:V.list,subheader:(0,oa.jsx)(o4,{children:"Order info"}),children:z&&(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(UI,{children:(0,oa.jsx)(vL,{primary:z.name,secondary:"Name"})}),(0,oa.jsx)(UI,{children:(0,oa.jsx)(vL,{primary:ca(Re,Ne),secondary:"Period"})}),(0,oa.jsx)(UI,{children:(0,oa.jsx)(vL,{primary:r4(Re,Ne,{addSuffix:!1}),secondary:"Duration"})}),(0,oa.jsx)(UI,{children:(0,oa.jsx)(vL,{primary:ua(Te),secondary:"Products total"})}),(0,oa.jsx)(UI,{children:(0,oa.jsx)(vL,{primary:(De=ke,(Number.isFinite(De)&&!isNaN(De)?(100*De).toFixed(1).toLocaleString():"-")+" %"),secondary:"Products failed"})})]})})}),(0,oa.jsxs)(Lu,{item:!0,xs:12,md:4,children:[(0,oa.jsx)(o4,{children:"Productivity"}),(0,oa.jsx)("div",{style:{width:"min(100vw,95%)",height:"min(90vw,25vh)"},children:(0,oa.jsx)(cO,{value:xe})}),(0,oa.jsxs)("span",{className:V.productivityText,children:[Math.round(Ee).toLocaleString()," Product",1===Math.round(Ee)?"":"s","/min"]})]}),(0,oa.jsx)(Lu,{item:!0,xs:12,children:(0,oa.jsx)(s4,{name:"Production",children:(0,oa.jsx)("div",{style:{width:"min(100vw,95%)",height:"min(100vw,400px)"},children:(0,oa.jsx)(lO,{data:he,dataKeys:de,tickFormatter:function(e){return ea(e,"HH:mm")},tooltipLabelFormatter:function(e,n){return(0,oa.jsxs)("span",{children:[ea(e,"HH:mm")," .. ",ea(ZO(e,10),"HH:mm"),(0,oa.jsx)("br",{}),(0,oa.jsx)("span",{style:{fontSize:"small"},children:ea(e,"d. MMMM yyyy")})]})},tooltipFormatter:function(e,n,t){return[e,pe[n]]},legendFormatter:function(e,n,t){return pe[e]},scale:"time",type:"number"})})})}),(0,oa.jsx)(Lu,{item:!0,xs:12,style:{marginTop:"2em"},children:(0,oa.jsxs)(s4,{name:"Classification",children:[Se&&(0,oa.jsx)(lU,{}),we.length>0&&(0,oa.jsx)(G5,{severity:"error",children:"Failed to load classification data"}),!Se&&(0,oa.jsx)(SA,{classifications:ge})]})}),(0,oa.jsx)(Lu,{item:!0,xs:12,style:{marginTop:"2em"},children:(0,oa.jsxs)(s4,{name:"Toppings",children:[Ae&&(0,oa.jsx)(lU,{}),Oe.length>0&&(0,oa.jsx)(G5,{severity:"error",children:"Failed to load topping data"}),!Ae&&(0,oa.jsx)(Pw,{toppings:Ce})]})}),(0,oa.jsx)(Lu,{item:!0,xs:12,md:6,style:{marginTop:"2em"},children:(0,oa.jsx)(s4,{name:"Foreign objects",children:(0,oa.jsx)(x5,{data:(null===w||void 0===w?void 0:w.foreignObjects)||[]})})})]})})}))),g4=(0,JU.Z)((0,oa.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),v4=(0,JU.Z)((0,oa.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),T4=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],b4=l.forwardRef((function(e,n){var t=e.backIconButtonProps,i=e.count,r=e.getItemAriaLabel,l=e.nextIconButtonProps,a=e.onPageChange,o=e.page,s=e.rowsPerPage,u=e.showFirstButton,c=e.showLastButton,d=(0,f.Z)(e,T4),p=jU();return(0,oa.jsxs)("div",(0,Qo.Z)({ref:n},d,{children:[u&&(0,oa.jsx)(TI,{onClick:function(e){a(e,0)},disabled:0===o,"aria-label":r("first",o),title:r("first",o),children:"rtl"===p.direction?u4||(u4=(0,oa.jsx)(zU,{})):c4||(c4=(0,oa.jsx)(ZU,{}))}),(0,oa.jsx)(TI,(0,Qo.Z)({onClick:function(e){a(e,o-1)},disabled:0===o,color:"inherit","aria-label":r("previous",o),title:r("previous",o)},t,{children:"rtl"===p.direction?d4||(d4=(0,oa.jsx)(v4,{})):p4||(p4=(0,oa.jsx)(g4,{}))})),(0,oa.jsx)(TI,(0,Qo.Z)({onClick:function(e){a(e,o+1)},disabled:-1!==i&&o>=Math.ceil(i/s)-1,color:"inherit","aria-label":r("next",o),title:r("next",o)},l,{children:"rtl"===p.direction?f4||(f4=(0,oa.jsx)(g4,{})):m4||(m4=(0,oa.jsx)(v4,{}))})),c&&(0,oa.jsx)(TI,{onClick:function(e){a(e,Math.max(0,Math.ceil(i/s)-1))},disabled:o>=Math.ceil(i/s)-1,"aria-label":r("last",o),title:r("last",o),children:"rtl"===p.direction?y4||(y4=(0,oa.jsx)(ZU,{})):_4||(_4=(0,oa.jsx)(zU,{}))})]}))})),k4=b4,R4=t(5836);function N4(e){return(0,ku.Z)("MuiTablePagination",e)}var E4,x4=(0,Ru.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),C4=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],S4=(0,Hr.ZP)(Q2,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(e,n){return n.root}})((function(e){var n=e.theme;return{overflow:"auto",color:n.palette.text.primary,fontSize:n.typography.pxToRem(14),"&:last-child":{padding:0}}})),w4=(0,Hr.ZP)(c2,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(e,n){return(0,Qo.Z)((0,c.Z)({},"& .".concat(x4.actions),n.actions),n.toolbar)}})((function(e){var n,t=e.theme;return n={minHeight:52,paddingRight:2},(0,c.Z)(n,"".concat(t.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),(0,c.Z)(n,t.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),(0,c.Z)(n,"& .".concat(x4.actions),{flexShrink:0,marginLeft:20}),n})),D4=(0,Hr.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(e,n){return n.spacer}})({flex:"1 1 100%"}),A4=(0,Hr.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(e,n){return n.selectLabel}})((function(e){var n=e.theme;return(0,Qo.Z)({},n.typography.body2,{flexShrink:0})})),O4=(0,Hr.ZP)(H1,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(e,n){var t;return(0,Qo.Z)((t={},(0,c.Z)(t,"& .".concat(x4.selectIcon),n.selectIcon),(0,c.Z)(t,"& .".concat(x4.select),n.select),t),n.input,n.selectRoot)}})((0,c.Z)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(x4.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),L4=(0,Hr.ZP)(zX,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(e,n){return n.menuItem}})({}),I4=(0,Hr.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(e,n){return n.displayedRows}})((function(e){var n=e.theme;return(0,Qo.Z)({},n.typography.body2,{flexShrink:0})}));function U4(e){var n=e.from,t=e.to,i=e.count;return"".concat(n,"\u2013").concat(t," of ").concat(-1!==i?i:"more than ".concat(t))}function P4(e){return"Go to ".concat(e," page")}var V4=l.forwardRef((function(e,n){var t,i=(0,Tu.Z)({props:e,name:"MuiTablePagination"}),r=i.ActionsComponent,a=void 0===r?k4:r,o=i.backIconButtonProps,s=i.className,u=i.colSpan,c=i.component,d=void 0===c?Q2:c,p=i.count,m=i.getItemAriaLabel,y=void 0===m?P4:m,_=i.labelDisplayedRows,h=void 0===_?U4:_,g=i.labelRowsPerPage,v=void 0===g?"Rows per page:":g,T=i.nextIconButtonProps,b=i.onPageChange,k=i.onRowsPerPageChange,R=i.page,N=i.rowsPerPage,E=i.rowsPerPageOptions,x=void 0===E?[10,25,50,100]:E,C=i.SelectProps,S=void 0===C?{}:C,w=i.showFirstButton,D=void 0!==w&&w,A=i.showLastButton,O=void 0!==A&&A,L=(0,f.Z)(i,C4),I=i,U=function(e){var n=e.classes;return(0,vu.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},N4,n)}(I),P=S.native?"option":L4;d!==Q2&&"td"!==d||(t=u||1e3);var V=(0,R4.Z)(S.id),B=(0,R4.Z)(S.labelId);return(0,oa.jsx)(S4,(0,Qo.Z)({colSpan:t,ref:n,as:d,ownerState:I,className:(0,fu.Z)(U.root,s)},L,{children:(0,oa.jsxs)(w4,{className:U.toolbar,children:[(0,oa.jsx)(D4,{className:U.spacer}),x.length>1&&(0,oa.jsx)(A4,{className:U.selectLabel,id:B,children:v}),x.length>1&&(0,oa.jsx)(O4,(0,Qo.Z)({variant:"standard",input:E4||(E4=(0,oa.jsx)(y1,{})),value:N,onChange:k,id:V,labelId:B},S,{classes:(0,Qo.Z)({},S.classes,{root:(0,fu.Z)(U.input,U.selectRoot,(S.classes||{}).root),select:(0,fu.Z)(U.select,(S.classes||{}).select),icon:(0,fu.Z)(U.selectIcon,(S.classes||{}).icon)}),children:x.map((function(e){return(0,l.createElement)(P,(0,Qo.Z)({},!eL(P)&&{ownerState:I},{className:U.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)}))})),(0,oa.jsx)(I4,{className:U.displayedRows,children:h({from:0===p?0:R*N+1,to:-1===p?(R+1)*N:-1===N?p:Math.min(p,(R+1)*N),count:-1===p?-1:p,page:R})}),(0,oa.jsx)(a,{className:U.actions,backIconButtonProps:o,count:p,nextIconButtonProps:T,onPageChange:b,page:R,rowsPerPage:N,showFirstButton:D,showLastButton:O,getItemAriaLabel:y})]})}))})),B4=(0,JU.Z)((0,oa.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function M4(e){return(0,ku.Z)("MuiTableSortLabel",e)}var F4=(0,Ru.Z)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),j4=["active","children","className","direction","hideSortIcon","IconComponent"],J4=(0,Hr.ZP)(mI,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,t.active&&n.active]}})((function(e){var n=e.theme;return(0,c.Z)({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:n.palette.text.secondary},"&:hover":(0,c.Z)({color:n.palette.text.secondary},"& .".concat(F4.icon),{opacity:.5})},"&.".concat(F4.active),(0,c.Z)({color:n.palette.text.primary},"& .".concat(F4.icon),{opacity:1,color:n.palette.text.secondary}))})),Z4=(0,Hr.ZP)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:function(e,n){var t=e.ownerState;return[n.icon,n["iconDirection".concat((0,Vw.Z)(t.direction))]]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:n.transitions.create(["opacity","transform"],{duration:n.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"})})),z4=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiTableSortLabel"}),i=t.active,r=void 0!==i&&i,l=t.children,a=t.className,o=t.direction,s=void 0===o?"asc":o,u=t.hideSortIcon,c=void 0!==u&&u,d=t.IconComponent,p=void 0===d?B4:d,m=(0,f.Z)(t,j4),y=(0,Qo.Z)({},t,{active:r,direction:s,hideSortIcon:c,IconComponent:p}),_=function(e){var n=e.classes,t=e.direction,i={root:["root",e.active&&"active"],icon:["icon","iconDirection".concat((0,Vw.Z)(t))]};return(0,vu.Z)(i,M4,n)}(y);return(0,oa.jsxs)(J4,(0,Qo.Z)({className:(0,fu.Z)(_.root,a),component:"span",disableRipple:!0,ownerState:y,ref:n},m,{children:[l,c&&!r?null:(0,oa.jsx)(Z4,{as:p,className:(0,fu.Z)(_.icon),ownerState:y})]}))}));function H4(e,n,t){return n[t]e[t]?1:0}function q4(e,n){return"desc"===e?function(e,t){return H4(e,t,n)}:function(e,t){return-H4(e,t,n)}}function W4(e){var n=e.onSelectAllClick,t=e.order,i=e.orderBy,r=e.numSelected,l=e.rowCount,a=e.onRequestSort,o=e.multiSelect,s=e.headCells;e.getIdentifier;return(0,oa.jsx)(s5,{children:(0,oa.jsxs)(m5,{children:[o&&(0,oa.jsx)(Q2,{padding:"checkbox",children:(0,oa.jsx)(ZP,{color:"primary",indeterminate:r>0&&r0&&r===l,onChange:n,inputProps:{"aria-label":"select all desserts"}})}),s.map((function(e,n){return(0,oa.jsx)(Q2,{align:e.numeric?"right":"left",padding:e.disablePadding?"none":"normal",sortDirection:i===e.id&&t,children:(0,oa.jsxs)(z4,{active:i===e.id,direction:i===e.id?t:"asc",onClick:(r=e.id,function(e){a(e,r)}),children:[e.label,i===e.id?(0,oa.jsx)(b5,{component:"span",sx:QP,children:"desc"===t?"sorted descending":"sorted ascending"}):null]})},n);var r}))]})})}function G4(e){var n=e.rows,t=e.getIdentifier,i=e.multiSelect,r=void 0!==i&&i,a=e.headCells,s=e.onClick,u=l.useState("asc"),c=(0,o.Z)(u,2),d=c[0],p=c[1],f=a[0].id,m=l.useState(f),y=(0,o.Z)(m,2),_=y[0],h=y[1],g=l.useState([]),v=(0,o.Z)(g,2),T=v[0],b=v[1],k=l.useState(0),R=(0,o.Z)(k,2),N=R[0],E=R[1],x=l.useState(5),C=(0,o.Z)(x,2),S=C[0],w=C[1],D=function(e,i){var l=T.indexOf(i),a=[];r?-1===l?a=a.concat(T,i):0===l?a=a.concat(T.slice(1)):l===T.length-1?a=a.concat(T.slice(0,-1)):l>0&&(a=a.concat(T.slice(0,l),T.slice(l+1))):a=~l?[]:[i];var o=n.filter((function(e){return a.includes(t(e))}));null===s||void 0===s||s(o),b(a)},A=N>0?Math.max(0,(1+N)*S-n.length):0;return(0,oa.jsx)(b5,{sx:{width:"100%"},children:(0,oa.jsxs)(AZ,{sx:{width:"100%",mb:2},children:[(0,oa.jsx)(t5,{children:(0,oa.jsxs)(M2,{sx:{minWidth:750},"aria-labelledby":"tableTitle",size:"medium",children:[(0,oa.jsx)(W4,{numSelected:T.length,order:d,orderBy:_,onSelectAllClick:function(e){if(r){var i=[];e.target.checked&&(i=n.map((function(e){return t(e)})));var l=n.filter((function(e){return i.includes(t(e))}));null===s||void 0===s||s(l),b(i)}},onRequestSort:function(e,n){p(_===n&&"asc"===d?"desc":"asc"),h(n)},rowCount:n.length,multiSelect:r,headCells:a,getIdentifier:t}),(0,oa.jsxs)(q2,{children:[(0,z.Z)(n).sort(q4(d,_)).slice(N*S,N*S+S).map((function(e,n){var i,l=(i=t(e),-1!==T.indexOf(i)),o="enhanced-table-checkbox-".concat(n);return(0,oa.jsxs)(m5,{hover:!0,onClick:function(n){return D(0,t(e))},role:"checkbox","aria-checked":l,tabIndex:-1,selected:l,children:[r&&(0,oa.jsx)(Q2,{padding:"checkbox",children:(0,oa.jsx)(ZP,{color:"primary",checked:l,inputProps:{"aria-labelledby":o}})}),a.map((function(n,t){var i=n.id,r=(n.numeric,e[i]),l="symbol"===typeof i?t:i;return 0===t?(0,oa.jsxs)(Q2,{component:"th",id:o,scope:"row",padding:"none",children:[" ","number"===typeof r?r.toLocaleString():r," "]},l):(0,oa.jsx)(Q2,{align:"right",children:"number"===typeof r?r.toLocaleString():r},l)}))]},t(e))})),A>0&&(0,oa.jsx)(m5,{style:{height:53*A},children:(0,oa.jsx)(Q2,{colSpan:6})})]})]})}),(0,oa.jsx)(V4,{rowsPerPageOptions:[5,10,25],component:"div",count:n.length,rowsPerPage:S,page:N,onPageChange:function(e,n){E(n)},onRowsPerPageChange:function(e){w(parseInt(e.target.value,10)),E(0)}})]})})}var K4=864e5;function $4(e,n){qr(2,arguments);var t=ta(e),i=ta(n),r=t.getTime()-Zl(t),l=i.getTime()-Zl(i);return Math.round((r-l)/K4)}function Y4(e,n){var t=e.getFullYear()-n.getFullYear()||e.getMonth()-n.getMonth()||e.getDate()-n.getDate()||e.getHours()-n.getHours()||e.getMinutes()-n.getMinutes()||e.getSeconds()-n.getSeconds()||e.getMilliseconds()-n.getMilliseconds();return t<0?-1:t>0?1:t}var Q4=t(2275),X4=["header","hideContentWhenLoading","children","isLoading","isAborted","progressPct"],e3=zp((function(e){var n;return{container:(n={},(0,c.Z)(n,e.breakpoints.down("md"),{marginTop:"0em"}),(0,c.Z)(n,e.breakpoints.up("sm"),{marginTop:"2em"}),n),containerHeader:{"&":{textTransform:"uppercase",letterSpacing:"0.2em",marginBottom:0,color:e.headerColor,fontFamily:"gotham",position:"relative",fontSize:"2em",zIndex:1,overflow:"hidden",textAlign:"center",fontWeight:500},"&:before, &:after":{position:"absolute",top:"51%",overflow:"hidden",width:"49.4%",height:"1px",content:'""',backgroundColor:e.headerColor},"&:after":{marginLeft:"0.4%"},"&:before":{marginLeft:"-49.9%",textAlign:"right"}}}}));function n3(e){var n=e.children;return(0,oa.jsx)(Lu,{container:!0,spacing:0,direction:"row",justifyContent:"space-around",alignItems:"center",style:{minHeight:"min(100vw,24vh)",width:"100%"},children:l.Children.toArray(n)})}function t3(e){var n=e.name,t=e.children,i=e3();return(0,oa.jsxs)("div",{children:[(0,oa.jsx)("h1",{className:i.containerHeader,children:n}),(0,oa.jsx)(n3,{children:t})]})}function i3(e){var n=e.header,t=e.hideContentWhenLoading,i=e.children,r=e.isLoading,l=(e.isAborted,e.progressPct),a=m(e,X4),o=p({marginTop:"2em"},a.style||{}),s=!t&&null!==r&&void 0!==r&&r?function(e,n){var t=n.isLoading,i=n.progressPct;return t?(0,oa.jsxs)(oa.Fragment,{children:[e," ","undefined"===typeof i?(0,oa.jsx)(N5,{size:"2rem"}):(0,oa.jsx)(R5,{disableText:!0,size:"2rem",value:100*(null!==i&&void 0!==i?i:0)})]}):e}(n,{isLoading:r,progressPct:l}):n,u=t&&r;return(0,oa.jsx)(Lu,p(p({item:!0,xs:12,style:o},a),{},{children:(0,oa.jsx)(t3,{name:s,children:u?"undefined"===typeof l?(0,oa.jsx)(N5,{}):(0,oa.jsx)(R5,{value:100*(null!==l&&void 0!==l?l:0)}):i})}))}function r3(e){return l3.apply(this,arguments)}function l3(){return(l3=u(_().mark((function e(n){var t,i,r,l,a,o,s,u,c,d,p,f,m,y,h,g;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=n.apolloClient,i=n.productTypes,r=n.setAccumulatedData,l=n.setPartialData,a=n.extractData,o=n.isAborted,s=n.requestDone,u=n.generateQueryParams,c=[],null===l||void 0===l||l({data:c,isLoading:!0,progressPct:0,isAborted:!1}),null===r||void 0===r||r({data:c,isLoading:!0,progressPct:0,isAborted:!1}),d=0,p=Y(i),e.prev=6,p.s();case 8:if((f=p.n()).done){e.next=22;break}return m=f.value,e.next=12,t.query(u(m));case 12:if(y=e.sent,(h=a(y))&&(c=[].concat((0,z.Z)(c),(0,z.Z)(h)),++d,g=d/i.length,null===l||void 0===l||l({data:h,isLoading:g<1,progressPct:g,isAborted:!1},m),null===r||void 0===r||r({data:c,isLoading:g<1,progressPct:g,isAborted:!1},m)),!o()){e.next=19;break}return null===l||void 0===l||l({data:[],isLoading:!1,isAborted:!0}),null===r||void 0===r||r({data:[],isLoading:!1,isAborted:!0}),e.abrupt("break",22);case 19:null===s||void 0===s||s();case 20:e.next=8;break;case 22:e.next=27;break;case 24:e.prev=24,e.t0=e.catch(6),p.e(e.t0);case 27:return e.prev=27,p.f(),e.finish(27);case 30:case"end":return e.stop()}}),e,null,[[6,24,27,30]])})))).apply(this,arguments)}function a3(e,n){if(!e||!n)return 60;var t=function(e,n){qr(2,arguments);var t=Gr(e),i=Gr(n),r=Y4(t,i),l=Math.abs($4(t,i));t.setDate(t.getDate()-r*l);var a=Number(Y4(t,i)===-r),o=r*(l-a);return 0===o?0:o}(n,e);return t<2?10:t<14?60:1440}function o3(e){return function(n){var t="number"===typeof n?new Date(n):new Date;return(0,oa.jsxs)("span",{children:[function(n){return 1440===e?function(e){return ea(e,"dd/MM-yy")}(n):function(n){return"".concat(ea(n,"HH:mm")," .. ").concat(ea(ZO(n,e),"HH:mm"))}(n)}(t),(0,oa.jsx)("br",{}),(0,oa.jsx)("span",{style:{fontSize:"small"},children:ea(t,"d. MMMM yyyy")})]})}}function s3(e,n){if(!e||!n)return[];var t="target_",i=e.filter((function(e){return e.measurement_type.name.startsWith(t)})).map((function(e){return{name:e.measurement_type.name.slice(t.length),target:e.value}})),r=function(n){var t=function(n){var t,i;return null!==(t=null===(i=e.find((function(e){var t;return(null===(t=e.measurement_type)||void 0===t?void 0:t.id)===n})))||void 0===i?void 0:i.measurement_type.name)&&void 0!==t?t:null}(n);if(!t)return null;var r=i.find((function(e){return t.includes(e.name)}));if(!r)return null;var l="_Qx".length,a=t.slice(1-l);return p(p({},r),{},{quadrant:a})};return n.map((function(e){var n=r(e.measurement_type_id);return n?p(p({},e),n):null})).reduce((function(e,n,t,i){if(!n)return e;if(e.some((function(e){return e.name===n.name})))return e;var r=i.filter((function(e){return null!==e&&e&&e.name===(null===n||void 0===n?void 0:n.name)})),l=Object.keys(r.reduce((function(e,n){return p(p({},e),{},(0,c.Z)({},n.quadrant,0))}),{})).sort(),a=l.map((function(e){return r.filter((function(n){return(null===n||void 0===n?void 0:n.quadrant)===e})).reduce((function(e,n,t,i){return e+((null===n||void 0===n?void 0:n.value)||0)/i.length}),0)})),o=p(p({},n),{},{quadrantValues:a,lane:-1});return[].concat((0,z.Z)(e),[o])}),[])}function u3(e){var n=s3(e.productTargetTopping,e.productMeasurementsData).map((function(e){return{name:e.name,coverage:e.quadrantValues.slice(1).map((function(n){return n/e.target}))}}));return(0,oa.jsx)(Pw,{toppings:n})}function c3(e){var n=e.productTargetTopping,t=e.productMeasurementsData,i=e.fetchProductMeasurementData;return(0,oa.jsx)(oa.Fragment,{children:n.map((function(e){var n=e.productType,r=e.data,l=t.data.find((function(e){return e.productType.id===n.id}));return(0,oa.jsx)(i3,{header:(0,oa.jsxs)("span",{children:["Topping ",ca(new Date(n.tm_start),new Date(n.tm_end))]}),isLoading:null===l||void 0===l?void 0:l.isLoading,hideContentWhenLoading:!0,children:(0,oa.jsxs)(oa.Fragment,{children:[!l&&(0,oa.jsx)(_U,{size:"large",variant:"outlined",endIcon:(0,oa.jsx)(Q4.Z,{}),onClick:function(){return i(n,r)},children:"Load"}),l&&(0,oa.jsx)(u3,{productTargetTopping:r,productMeasurementsData:l.data})]})},n.id)}))})}var d3=qp((function(e){var n=e.productTypes,t=e.tmFirstProduct,i=e.tmLastProduct,r=e.theme,a=e.onDetailsLoaded,s=(0,l.useState)({data:[]}),d=(0,o.Z)(s,2),f=d[0],m=d[1],y=(0,l.useState)({data:[]}),h=(0,o.Z)(y,2),g=h[0],v=h[1],T=(0,l.useState)({data:[]}),b=(0,o.Z)(T,2),k=b[0],R=b[1],N=(0,l.useState)({data:[]}),E=(0,o.Z)(N,2),x=E[0],C=E[1],S=(0,l.useState)({data:[]}),w=(0,o.Z)(S,2),D=w[0],A=w[1],O=[m,v,R,C];l.useEffect((function(){var e,n=Y(O);try{for(n.s();!(e=n.n()).done;){(0,e.value)({data:[]})}}catch(t){n.e(t)}finally{n.f()}}),[n]);var L=bO(),I=a3(t,i);(0,l.useEffect)((function(){var e,t=Y(O);try{for(t.s();!(e=t.n()).done;){(0,e.value)({data:[],isLoading:!0,progressPct:0})}}catch(f){t.e(f)}finally{t.f()}var i=!1,r=0,l=O.length*n.length,o={apolloClient:L,productTypes:n,isAborted:function(){return i},requestDone:function(){var e;if(a){var t=++r/l;a(null===(e=n[0])||void 0===e?void 0:e.id,t)}}},s=function(e){return function(n){return{query:e,variables:{product_type_id:n.id}}}},c=function(e){return function(n){return{query:e,variables:{product_type_id:n.id,granularity_minutes:I}}}},d=function(e){return function(n){var t=n.tm_start,i=n.tm_end;return{query:e,variables:{tm_start:t,tm_end:i}}}};return u(_().mark((function e(){var n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r3(p(p({},o),{},{setAccumulatedData:m,extractData:function(e){return e.data.products||[]},generateQueryParams:c(FO)})),r3(p(p({},o),{},{setAccumulatedData:v,extractData:function(e){return e.data.classificationDetails||[]},generateQueryParams:c(MO)})),r3(p(p({},o),{},{setAccumulatedData:R,extractData:function(e){return e.data.foreignObjects||[]},generateQueryParams:d(L2)})),n=function(e,n){if(n){var t={productType:n,data:e.data};C((function(n){return p(p({},e),{},{data:[].concat((0,z.Z)(n.data),[t])})}))}else C(p(p({},e),{},{data:[]}))},e.next=6,r3(p(p({},o),{},{setPartialData:n,extractData:function(e){return e.data.measurements||[]},generateQueryParams:s(jO)}));case 6:case"end":return e.stop()}}),e)})))(),function(){i=!0}}),[n]);var U=function(e){return p(p({},e),{},{tm:new Date(e.time_bucket)})},P=l.useMemo((function(){return Object.values(f.data.map(U).reduce((function(e,n){var t="string"===typeof n.time_bucket?n.time_bucket:n.time_bucket instanceof Date?n.time_bucket.toString():"unknown",i=e[t],r=p(p({},i||n),{},{count_total:((null===i||void 0===i?void 0:i.count_total)||0)+n.count_total,count_failed:((null===i||void 0===i?void 0:i.count_failed)||0)+n.count_failed});return p(p({},e),{},(0,c.Z)({},t,r))}),{}))}),[f]),V=l.useMemo((function(){return Object.values(g.data.map(U).reduce((function(e,n){var t="".concat(n.time_bucket,"#").concat(n.classification_index,"#").concat(n.result_id),i=e[t],r=p(p({},i||n),{},{count:((null===i||void 0===i?void 0:i.count)||0)+n.count});return p(p({},e),{},(0,c.Z)({},t,r))}),{}))}),[g]),B=l.useMemo((function(){return function(e,n){var t=Object.values(xa).map((function(e){return e.tag})),i=e.map((function(e){var i=n.filter((function(n){return n.time_bucket===e.time_bucket})).map((function(e){return p(p({},e),{},{classification:t[e.classification_index]})})),r=t.reduce((function(e,n){return p(p({},e),{},(0,c.Z)({},n,(e[n]||0)+i.filter((function(e){return e.classification===n})).reduce((function(e,n){return e+n.count}),0)))}),{ok:e.count_total-e.count_failed});return p(p({},e),r)}));return i}(P,V)}),[P,V]),M=60*I*1e3,F=l.useMemo((function(){return B.sort((function(e,n){return e.tm.getTime()-n.tm.getTime()})).map((function(e,n,t){if(0===n)return e;var i=e.tm,r=t[n-1].tm;return i.getTime()-r.getTime()>M?[].concat((0,z.Z)(function(e,n,t){var i=Object.values(xa).map((function(e){return e.tag})).reduce((function(e,n){return p(p({},e),{},(0,c.Z)({},n,0))}),{}),r=function(e){return p(p({},i),{},{tm:e,count_total:0,count_failed:0})},l=n?ZO(n,e):null,a=t?zO(t,e):null;return[l?r(l):null,a?r(a):null].filter((function(e){return null!==e}))}(I,r,i)),[e]):e})).flat()}),[B,I]),j=l.useMemo((function(){return F.map((function(e){return p(p({},e),{},{tm:null===e||void 0===e?void 0:e.tm.getTime()})}))}),[F]),J=l.useMemo((function(){return[Object.values(xa).map((function(e){var n=e.displayName,t=e.tag;return{name:n,key:t,color:r.results[t]}}))]}),[r]),Z=Object.values(xa).reduce((function(e,n){var t=n.displayName,i=n.tag;return p(p({},e),{},(0,c.Z)({},i,t))}),{}),H=l.useMemo((function(){return function(e,n){var t=n.map((function(e){return e.result_name})).filter((function(e,n,t){return t.indexOf(e)===n})),i=Object.entries(xa).map((function(e){var i=(0,o.Z)(e,2),r=i[0],l=i[1].tag,a=t.map((function(e){var t=n.filter((function(n){var t=n.result_name===e,i=n.classification_index===parseInt(r);return t&&i})).reduce((function(e,n){return e+(n.count||0)}),0);return{name:e,count:t}})),s=a.reduce((function(e,n){return e+n.count}),0);return{classification:l,results:a,count:s}})),r=e.map((function(e){return e.count_total-e.count_failed})).reduce((function(e,n){return e+n}),0),l=Object.entries(xa).find((function(e){var n=(0,o.Z)(e,2);return n[0],"ok"===n[1].tag}));return l&&(i[l[0]].count=r),i}(P,V)}),[P,V]),q=function(){for(var e=arguments.length,n=new Array(e),t=0;t=1440?"dd/MM":"HH:mm")},tooltipLabelFormatter:o3(I),tooltipFormatter:function(e,n){return[e.toLocaleString(),Z[n]]},legendFormatter:function(e){return Z[e]},scale:"time",type:"number"})})})),(0,oa.jsx)(i3,p(p({header:"Classification"},q(f,g)),{},{hideContentWhenLoading:!0,children:(0,oa.jsx)(SA,{classifications:H})})),(0,oa.jsx)(i3,p(p({header:"Foreign objects"},k),{},{hideContentWhenLoading:!0,children:(0,oa.jsx)(x5,p({},k))})),(0,oa.jsx)(i3,p(p({header:""},x),{},{hideContentWhenLoading:!0,children:(0,oa.jsx)(c3,{productMeasurementsData:D,fetchProductMeasurementData:W,productTargetTopping:x.data})}))]})})})),p3=[{id:"productTypeNameAndLoadingIndicator",label:"Name",numeric:!1,disablePadding:!1},{id:"count_product_types",label:"Productions",numeric:!0,disablePadding:!1},{id:"count_total",label:"Products",numeric:!0,disablePadding:!1},{id:"count_failed",label:"Rejected products",numeric:!0,disablePadding:!1},{id:"error_rate_pct",label:"Rejection rate",numeric:!0,disablePadding:!1}];var f3,m3=function(){var e,n=(0,l.useState)(null),t=(0,o.Z)(n,2),i=t[0],r=t[1],a=(0,l.useState)([]),s=(0,o.Z)(a,2),u=s[0],c=s[1],d=(0,l.useState)(null),f=(0,o.Z)(d,2),m=f[0],y=f[1],_=(0,l.useContext)(hO).dateRange,h=_?_.value:{startDate:new Date,endDate:new Date},g=h.startDate,v=h.endDate,T=i?" / ".concat(i.product_type_name):"",b="Product types / ".concat(g?ea(g,"d. MMMM yyyy"):""," .. ").concat(v?ea(v,"d. MMMM yyyy"):""," ").concat(T);_O(b);var k=kO(BO,{variables:{limit:1e3,tm_start:null!==g&&void 0!==g?g:D2(new Date,3),tm_end:v,order_by:{created_at:"desc"}}}),R=k.data,N=k.error,E=k.loading;l.useEffect((function(){c([]),y(null)}),[R]);var x=l.useMemo((function(){return e=(null===R||void 0===R?void 0:R.product_types)||[],n=u,e.reduce((function(e,t){var i,r,l,a=e.findIndex((function(e){return e.product_type_name===t.product_type_name})),o=~a?e[a]:p(p({},t),{},{count_total:0,count_failed:0,count_product_types:0,error_rate_pct:"0.0",product_type_ids:[],product_types:[]}),s=new Date(t.tm_first_product),u=new Date(t.tm_last_product),c=t.product_type_name,d=n.find((function(e){return e.name===c})),f=null!==(i=null===d||void 0===d?void 0:d.isLoaded)&&void 0!==i&&i,m=null!==(r=null===d||void 0===d?void 0:d.isLoading)&&void 0!==r&&r,y=null!==(l=null===d||void 0===d?void 0:d.progressPct)&&void 0!==l?l:0,_=m?(0,oa.jsx)(R5,{value:100*y,disableText:!0,style:{marginLeft:"1rem"},size:"1rem"}):f?(0,oa.jsx)(vP.Z,{}):(0,oa.jsx)(oa.Fragment,{children:" "}),h=p(p({},o),{},{tm_first_product:o.tm_first_productu?o.tm_last_product:u,count_total:o.count_total+t.count_total,count_failed:o.count_failed+t.count_failed,count_product_types:o.count_product_types+1,product_type_ids:[].concat((0,z.Z)(o.product_type_ids),[t.product_type_id]),product_types:[].concat((0,z.Z)(o.product_types),[{id:t.product_type_id,tm_start:t.tm_first_product,tm_end:t.tm_last_product,name:t.product_type_name}]),productTypeNameAndLoadingIndicator:(0,oa.jsxs)(oa.Fragment,{children:[t.product_type_name,_," "]})});return h.error_rate_pct="".concat((100*h.count_failed/h.count_total).toFixed(1),"%"),~a?[].concat((0,z.Z)(e.slice(0,a)),[h],(0,z.Z)(e.slice(a+1))):[].concat((0,z.Z)(e),[h])}),[]);var e,n}),[R,u]),C=(0,l.useCallback)((function(e){var n=0===e.length?null:e[0];r(n),y(n),n&&(u.some((function(e){return e.name===n.product_type_name}))||c([].concat((0,z.Z)(u),[{name:n.product_type_name,isLoading:!0}])))}),[r,c,u]),S=(0,l.useCallback)((function(e,n){var t=((null===R||void 0===R?void 0:R.product_types)||[]).find((function(n){return n.product_type_id===e}));if(t){var i=t.product_type_name,r=u.findIndex((function(e){return e.name===i})),l={name:i,isLoaded:1===n,progressPct:n,isLoading:n<1},a=~r?[].concat((0,z.Z)(u.slice(0,r)),[l],(0,z.Z)(u.slice(r+1))):[].concat((0,z.Z)(u),[l]);c(a)}}),[R,c,u]);return N&&console.error({errorProductTypes:N}),(0,oa.jsxs)("div",{children:[E&&(0,oa.jsxs)("div",{children:[(0,oa.jsxs)("h3",{children:["Loading product types for ",g?ea(g,"d. MMMM yyyy"):""," .. ",v?ea(v,"d. MMMM yyyy"):""]}),(0,oa.jsx)(N5,{})]}),N&&(0,oa.jsx)("h3",{children:"Error loading product types..."}),!E&&(0,oa.jsx)(G4,{rows:x,getIdentifier:function(e){return e.product_type_name},onClick:C,headCells:p3}),(0,oa.jsx)(d3,{productTypes:null!==(e=null===m||void 0===m?void 0:m.product_types)&&void 0!==e?e:[],tmFirstProduct:null===m||void 0===m?void 0:m.tm_first_product,tmLastProduct:null===m||void 0===m?void 0:m.tm_last_product,onDetailsLoaded:S})]})},y3=Do(f3||(f3=Oa(["\n query GetEvents(\n $tmStart: timestamptz,\n $tmEnd: timestamptz,\n $limit: Int! = 1000,\n $offset: Int,\n $withAggregates: Boolean! = true,\n $order_by: [production_intelligence_events_order_by!]\n ) {\n eventAggregates: production_intelligence_events_aggregate (\n where: {\n time: {_gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32}\n },\n ) @include(if: $withAggregates){\n aggregate {\n count,\n min {\n time\n }\n max {\n time\n }\n },\n },\n events: production_intelligence_events(\n where: {\n time: { _gte: $tmStart, _lte: $tmEnd },\n customer_id: {_eq: 7},\n line_id: {_eq: 32}\n },\n limit: $limit,\n offset: $offset,\n order_by: $order_by\n ){\n customer_id,\n line_id,\n id,\n time,\n type {\n name\n }\n details {\n key\n value\n }\n product_type {\n name\n }\n }\n }\n"]))),_3=(0,JU.Z)((0,oa.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function h3(e){return(0,ku.Z)("MuiAvatar",e)}(0,Ru.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var g3=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],v3=(0,Hr.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.variant],t.colorDefault&&n.colorDefault]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:n.shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&{color:n.palette.background.default,backgroundColor:"light"===n.palette.mode?n.palette.grey[400]:n.palette.grey[600]})})),T3=(0,Hr.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(e,n){return n.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),b3=(0,Hr.ZP)(_3,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(e,n){return n.fallback}})({width:"75%",height:"75%"});var k3=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiAvatar"}),i=t.alt,r=t.children,a=t.className,s=t.component,u=void 0===s?"div":s,c=t.imgProps,d=t.sizes,p=t.src,m=t.srcSet,y=t.variant,_=void 0===y?"circular":y,h=(0,f.Z)(t,g3),g=null,v=function(e){var n=e.crossOrigin,t=e.referrerPolicy,i=e.src,r=e.srcSet,a=l.useState(!1),s=(0,o.Z)(a,2),u=s[0],c=s[1];return l.useEffect((function(){if(i||r){c(!1);var e=!0,l=new Image;return l.onload=function(){e&&c("loaded")},l.onerror=function(){e&&c("error")},l.crossOrigin=n,l.referrerPolicy=t,l.src=i,r&&(l.srcset=r),function(){e=!1}}}),[n,t,i,r]),u}((0,Qo.Z)({},c,{src:p,srcSet:m})),T=p||m,b=T&&"error"!==v,k=(0,Qo.Z)({},t,{colorDefault:!b,component:u,variant:_}),R=function(e){var n=e.classes,t={root:["root",e.variant,e.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,vu.Z)(t,h3,n)}(k);return g=b?(0,oa.jsx)(T3,(0,Qo.Z)({alt:i,src:p,srcSet:m,sizes:d,ownerState:k,className:R.img},c)):null!=r?r:T&&i?i[0]:(0,oa.jsx)(b3,{className:R.fallback}),(0,oa.jsx)(v3,(0,Qo.Z)({as:u,ownerState:k,className:(0,fu.Z)(R.root,a),ref:n},h,{children:g}))})),R3=k3,N3=(0,JU.Z)((0,oa.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function E3(e){return(0,ku.Z)("MuiChip",e)}var x3=(0,Ru.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","focusVisible"]),C3=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],S3=(0,Hr.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState,i=t.color,r=t.clickable,l=t.onDelete,a=t.size,o=t.variant;return[(0,c.Z)({},"& .".concat(x3.avatar),n.avatar),(0,c.Z)({},"& .".concat(x3.avatar),n["avatar".concat((0,Vw.Z)(a))]),(0,c.Z)({},"& .".concat(x3.avatar),n["avatarColor".concat((0,Vw.Z)(i))]),(0,c.Z)({},"& .".concat(x3.icon),n.icon),(0,c.Z)({},"& .".concat(x3.icon),n["icon".concat((0,Vw.Z)(a))]),(0,c.Z)({},"& .".concat(x3.icon),n["iconColor".concat((0,Vw.Z)(i))]),(0,c.Z)({},"& .".concat(x3.deleteIcon),n.deleteIcon),(0,c.Z)({},"& .".concat(x3.deleteIcon),n["deleteIcon".concat((0,Vw.Z)(a))]),(0,c.Z)({},"& .".concat(x3.deleteIcon),n["deleteIconColor".concat((0,Vw.Z)(i))]),(0,c.Z)({},"& .".concat(x3.deleteIcon),n["deleteIconOutlinedColor".concat((0,Vw.Z)(i))]),n.root,n["size".concat((0,Vw.Z)(a))],n["color".concat((0,Vw.Z)(i))],r&&n.clickable,r&&"default"!==i&&n["clickableColor".concat((0,Vw.Z)(i),")")],l&&n.deletable,l&&"default"!==i&&n["deletableColor".concat((0,Vw.Z)(i))],n[o],"outlined"===o&&n["outlined".concat((0,Vw.Z)(i))]]}})((function(e){var n,t=e.theme,i=e.ownerState,r=(0,EL.Fq)(t.palette.text.primary,.26);return(0,Qo.Z)((n={fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:t.palette.text.primary,backgroundColor:t.palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,c.Z)(n,"&.".concat(x3.disabled),{opacity:t.palette.action.disabledOpacity,pointerEvents:"none"}),(0,c.Z)(n,"& .".concat(x3.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300],fontSize:t.typography.pxToRem(12)}),(0,c.Z)(n,"& .".concat(x3.avatarColorPrimary),{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.dark}),(0,c.Z)(n,"& .".concat(x3.avatarColorSecondary),{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.dark}),(0,c.Z)(n,"& .".concat(x3.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)}),(0,c.Z)(n,"& .".concat(x3.icon),(0,Qo.Z)({color:"light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300],marginLeft:5,marginRight:-6},"small"===i.size&&{fontSize:18,marginLeft:4,marginRight:-4},"default"!==i.color&&{color:"inherit"})),(0,c.Z)(n,"& .".concat(x3.deleteIcon),(0,Qo.Z)({WebkitTapHighlightColor:"transparent",color:r,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:(0,EL.Fq)(r,.4)}},"small"===i.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==i.color&&{color:(0,EL.Fq)(t.palette[i.color].contrastText,.7),"&:hover, &:active":{color:t.palette[i.color].contrastText}})),n),"small"===i.size&&{height:24},"default"!==i.color&&{backgroundColor:t.palette[i.color].main,color:t.palette[i.color].contrastText},i.onDelete&&(0,c.Z)({},"&.".concat(x3.focusVisible),{backgroundColor:(0,EL.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}),i.onDelete&&"default"!==i.color&&(0,c.Z)({},"&.".concat(x3.focusVisible),{backgroundColor:t.palette[i.color].dark}))}),(function(e){var n,t=e.theme,i=e.ownerState;return(0,Qo.Z)({},i.clickable&&(n={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:(0,EL.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}},(0,c.Z)(n,"&.".concat(x3.focusVisible),{backgroundColor:(0,EL.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}),(0,c.Z)(n,"&:active",{boxShadow:t.shadows[1]}),n),i.clickable&&"default"!==i.color&&(0,c.Z)({},"&:hover, &.".concat(x3.focusVisible),{backgroundColor:t.palette[i.color].dark}))}),(function(e){var n,t,i=e.theme,r=e.ownerState;return(0,Qo.Z)({},"outlined"===r.variant&&(n={backgroundColor:"transparent",border:"1px solid ".concat("light"===i.palette.mode?i.palette.grey[400]:i.palette.grey[700])},(0,c.Z)(n,"&.".concat(x3.clickable,":hover"),{backgroundColor:i.palette.action.hover}),(0,c.Z)(n,"&.".concat(x3.focusVisible),{backgroundColor:i.palette.action.focus}),(0,c.Z)(n,"& .".concat(x3.avatar),{marginLeft:4}),(0,c.Z)(n,"& .".concat(x3.avatarSmall),{marginLeft:2}),(0,c.Z)(n,"& .".concat(x3.icon),{marginLeft:4}),(0,c.Z)(n,"& .".concat(x3.iconSmall),{marginLeft:2}),(0,c.Z)(n,"& .".concat(x3.deleteIcon),{marginRight:5}),(0,c.Z)(n,"& .".concat(x3.deleteIconSmall),{marginRight:3}),n),"outlined"===r.variant&&"default"!==r.color&&(t={color:i.palette[r.color].main,border:"1px solid ".concat((0,EL.Fq)(i.palette[r.color].main,.7))},(0,c.Z)(t,"&.".concat(x3.clickable,":hover"),{backgroundColor:(0,EL.Fq)(i.palette[r.color].main,i.palette.action.hoverOpacity)}),(0,c.Z)(t,"&.".concat(x3.focusVisible),{backgroundColor:(0,EL.Fq)(i.palette[r.color].main,i.palette.action.focusOpacity)}),(0,c.Z)(t,"& .".concat(x3.deleteIcon),{color:(0,EL.Fq)(i.palette[r.color].main,.7),"&:hover, &:active":{color:i.palette[r.color].main}}),t))})),w3=(0,Hr.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,n){var t=e.ownerState.size;return[n.label,n["label".concat((0,Vw.Z)(t))]]}})((function(e){var n=e.ownerState;return(0,Qo.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===n.size&&{paddingLeft:8,paddingRight:8})}));function D3(e){return"Backspace"===e.key||"Delete"===e.key}var A3=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiChip"}),i=t.avatar,r=t.className,a=t.clickable,o=t.color,s=void 0===o?"default":o,u=t.component,c=t.deleteIcon,d=t.disabled,p=void 0!==d&&d,m=t.icon,y=t.label,_=t.onClick,h=t.onDelete,g=t.onKeyDown,v=t.onKeyUp,T=t.size,b=void 0===T?"medium":T,k=t.variant,R=void 0===k?"filled":k,N=(0,f.Z)(t,C3),E=l.useRef(null),x=(0,xL.Z)(E,n),C=function(e){e.stopPropagation(),h&&h(e)},S=!(!1===a||!_)||a,w="small"===b,D=S||h?mI:u||"div",A=(0,Qo.Z)({},t,{component:D,disabled:p,size:b,color:s,onDelete:!!h,clickable:S,variant:R}),O=function(e){var n=e.classes,t=e.disabled,i=e.size,r=e.color,l=e.onDelete,a=e.clickable,o=e.variant,s={root:["root",o,t&&"disabled","size".concat((0,Vw.Z)(i)),"color".concat((0,Vw.Z)(r)),a&&"clickable",a&&"clickableColor".concat((0,Vw.Z)(r)),l&&"deletable",l&&"deletableColor".concat((0,Vw.Z)(r)),"".concat(o).concat((0,Vw.Z)(r))],label:["label","label".concat((0,Vw.Z)(i))],avatar:["avatar","avatar".concat((0,Vw.Z)(i)),"avatarColor".concat((0,Vw.Z)(r))],icon:["icon","icon".concat((0,Vw.Z)(i)),"iconColor".concat((0,Vw.Z)(r))],deleteIcon:["deleteIcon","deleteIcon".concat((0,Vw.Z)(i)),"deleteIconColor".concat((0,Vw.Z)(r)),"deleteIconOutlinedColor".concat((0,Vw.Z)(r))]};return(0,vu.Z)(s,E3,n)}(A),L=D===mI?(0,Qo.Z)({component:u||"div",focusVisibleClassName:O.focusVisible},h&&{disableRipple:!0}):{},I=null;if(h){var U=(0,fu.Z)("default"!==s&&("outlined"===R?O["deleteIconOutlinedColor".concat((0,Vw.Z)(s))]:O["deleteIconColor".concat((0,Vw.Z)(s))]),w&&O.deleteIconSmall);I=c&&l.isValidElement(c)?l.cloneElement(c,{className:(0,fu.Z)(c.props.className,O.deleteIcon,U),onClick:C}):(0,oa.jsx)(N3,{className:(0,fu.Z)(O.deleteIcon,U),onClick:C})}var P=null;i&&l.isValidElement(i)&&(P=l.cloneElement(i,{className:(0,fu.Z)(O.avatar,i.props.className)}));var V=null;return m&&l.isValidElement(m)&&(V=l.cloneElement(m,{className:(0,fu.Z)(O.icon,m.props.className)})),(0,oa.jsxs)(S3,(0,Qo.Z)({as:D,className:(0,fu.Z)(O.root,r),disabled:!(!S||!p)||void 0,onClick:_,onKeyDown:function(e){e.currentTarget===e.target&&D3(e)&&e.preventDefault(),g&&g(e)},onKeyUp:function(e){e.currentTarget===e.target&&(h&&D3(e)?h(e):"Escape"===e.key&&E.current&&E.current.blur()),v&&v(e)},ref:x,ownerState:A},L,N,{children:[P||V,(0,oa.jsx)(w3,{className:(0,fu.Z)(O.label),ownerState:A,children:y}),I]}))})),O3=A3,L3=zp((function(e){return{chipEnabled:{},chipDisabled:{textDecoration:"line-through"}}}));function I3(e){var n=e.filters,t=e.onClick,i=e.isEnabled,r=L3(),l=i?r.chipEnabled:r.chipDisabled;return(0,oa.jsx)(Lu,{container:!0,direction:"row",justifyContent:"flex-start",alignItems:"center",children:n.map((function(e){return(0,oa.jsx)(O3,{className:l,color:"primary",variant:i?"":"outlined",onDelete:function(){return t(e,!i)},avatar:(0,oa.jsx)(R3,{children:e[0].toLocaleUpperCase()}),label:e},e)}))})}var U3=function(e){var n=e.enabled,t=void 0===n?[]:n,i=e.disabled,r=void 0===i?[]:i,l=e.onClick;return(0,oa.jsxs)(Lu,{style:{marginBottom:"1em"},children:[(0,oa.jsx)(zw,{variant:"h5",gutterBottom:!0,component:"div",children:"Shown events"}),(0,oa.jsx)(I3,{filters:t,isEnabled:!0,onClick:l}),r.length>0&&(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsx)(zw,{variant:"h5",gutterBottom:!0,component:"div",style:{marginTop:"1em"},children:"Hidden events"}),(0,oa.jsx)(I3,{filters:r,isEnabled:!1,onClick:l})]})]})};function P3(e){return(0,ku.Z)("MuiCollapse",e)}(0,Ru.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var V3=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],B3=(0,Hr.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,n[t.orientation],"entered"===t.state&&n.entered,"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&n.hidden]}})((function(e){var n=e.theme,t=e.ownerState;return(0,Qo.Z)({height:0,overflow:"hidden",transition:n.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:n.transitions.create("width")},"entered"===t.state&&(0,Qo.Z)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"})})),M3=(0,Hr.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(e,n){return n.wrapper}})((function(e){var n=e.ownerState;return(0,Qo.Z)({display:"flex",width:"100%"},"horizontal"===n.orientation&&{width:"auto",height:"100%"})})),F3=(0,Hr.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(e,n){return n.wrapperInner}})((function(e){var n=e.ownerState;return(0,Qo.Z)({width:"100%"},"horizontal"===n.orientation&&{width:"auto",height:"100%"})})),j3=l.forwardRef((function(e,n){var t=(0,Tu.Z)({props:e,name:"MuiCollapse"}),i=t.addEndListener,r=t.children,a=t.className,o=t.collapsedSize,s=void 0===o?"0px":o,u=t.component,d=t.easing,p=t.in,m=t.onEnter,y=t.onEntered,_=t.onEntering,h=t.onExit,g=t.onExited,v=t.onExiting,T=t.orientation,b=void 0===T?"vertical":T,k=t.style,R=t.timeout,N=void 0===R?jz.x9.standard:R,E=t.TransitionComponent,x=void 0===E?Fz:E,C=(0,f.Z)(t,V3),S=(0,Qo.Z)({},t,{orientation:b,collapsedSize:s}),w=function(e){var n=e.orientation,t=e.classes,i={root:["root","".concat(n)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(n)],wrapperInner:["wrapperInner","".concat(n)]};return(0,vu.Z)(i,P3,t)}(S),D=jU(),A=l.useRef(),O=l.useRef(null),L=l.useRef(),I="number"===typeof s?"".concat(s,"px"):s,U="horizontal"===b,P=U?"width":"height";l.useEffect((function(){return function(){clearTimeout(A.current)}}),[]);var V=l.useRef(null),B=(0,xL.Z)(n,V),M=function(e){return function(n){if(e){var t=V.current;void 0===n?e(t):e(t,n)}}},F=function(){return O.current?O.current[U?"clientWidth":"clientHeight"]:0},j=M((function(e,n){O.current&&U&&(O.current.style.position="absolute"),e.style[P]=I,m&&m(e,n)})),J=M((function(e,n){var t=F();O.current&&U&&(O.current.style.position="");var i=Zz({style:k,timeout:N,easing:d},{mode:"enter"}),r=i.duration,l=i.easing;if("auto"===N){var a=D.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(a,"ms"),L.current=a}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style[P]="".concat(t,"px"),e.style.transitionTimingFunction=l,_&&_(e,n)})),Z=M((function(e,n){e.style[P]="auto",y&&y(e,n)})),z=M((function(e){e.style[P]="".concat(F(),"px"),h&&h(e)})),H=M(g),q=M((function(e){var n=F(),t=Zz({style:k,timeout:N,easing:d},{mode:"exit"}),i=t.duration,r=t.easing;if("auto"===N){var l=D.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(l,"ms"),L.current=l}else e.style.transitionDuration="string"===typeof i?i:"".concat(i,"ms");e.style[P]=I,e.style.transitionTimingFunction=r,v&&v(e)}));return(0,oa.jsx)(x,(0,Qo.Z)({in:p,onEnter:j,onEntered:Z,onEntering:J,onExit:z,onExited:H,onExiting:q,addEndListener:function(e){"auto"===N&&(A.current=setTimeout(e,L.current||0)),i&&i(V.current,e)},nodeRef:V,timeout:"auto"===N?null:N},C,{children:function(e,n){return(0,oa.jsx)(B3,(0,Qo.Z)({as:u,className:(0,fu.Z)(w.root,a,{entered:w.entered,exited:!p&&"0px"===I&&w.hidden}[e]),style:(0,Qo.Z)((0,c.Z)({},U?"minWidth":"minHeight",I),k),ownerState:(0,Qo.Z)({},S,{state:e}),ref:B},n,{children:(0,oa.jsx)(M3,{ownerState:(0,Qo.Z)({},S,{state:e}),className:w.wrapper,ref:O,children:(0,oa.jsx)(F3,{ownerState:(0,Qo.Z)({},S,{state:e}),className:w.wrapperInner,children:r})})}))}}))}));j3.muiSupportAuto=!0;var J3=j3,Z3=t(5172),z3=t(5678),H3=zp((function(e){return{tableCellHeader:{fontWeight:"bold"}}}));function q3(e){var n,t,i=e.row,r=(0,l.useState)(!1),a=(0,o.Z)(r,2),s=a[0],u=a[1];return(0,oa.jsxs)(oa.Fragment,{children:[(0,oa.jsxs)(m5,{sx:{"& > *":{borderBottom:"unset"}},children:[(0,oa.jsx)(Q2,{children:(0,oa.jsx)(TI,{"aria-label":"expand row",size:"small",onClick:function(){return u(!s)},children:s?(0,oa.jsx)(z3.Z,{}):(0,oa.jsx)(Z3.Z,{})})}),(0,oa.jsx)(Q2,{component:"th",scope:"row",children:ea(new Date(i.time),"dd/MM yyyy, HH:mm:ss")}),(0,oa.jsx)(Q2,{align:"left",children:(null===(n=i.type)||void 0===n?void 0:n.name)||"unknown"})]}),(0,oa.jsx)(m5,{children:(0,oa.jsx)(Q2,{style:{paddingBottom:0,paddingTop:0},colSpan:6,children:(0,oa.jsx)(J3,{in:s,timeout:"auto",unmountOnExit:!0,children:(0,oa.jsxs)(b5,{sx:{margin:1},children:[(0,oa.jsx)(zw,{variant:"h6",gutterBottom:!0,component:"div",children:"Details"}),(0,oa.jsxs)(M2,{size:"small","aria-label":"purchases",children:[(0,oa.jsx)(s5,{children:(0,oa.jsxs)(m5,{children:[(0,oa.jsx)(Q2,{children:"Type"}),(0,oa.jsx)(Q2,{children:"Value"})]})}),(0,oa.jsxs)(q2,{children:[null===(t=i.details)||void 0===t?void 0:t.map((function(e,n){return(0,oa.jsxs)(m5,{children:[(0,oa.jsx)(Q2,{component:"th",scope:"row",children:e.key}),(0,oa.jsx)(Q2,{children:e.value})]},n)})),i.product_type&&(0,oa.jsxs)(m5,{children:[(0,oa.jsx)(Q2,{component:"th",scope:"row",children:"Product type"}),(0,oa.jsx)(Q2,{children:i.product_type.name})]})]})]})]})})})})]})}function W3(e){var n=e.data,t=void 0===n?[]:n,i=H3();return(0,oa.jsx)(t5,{component:AZ,children:(0,oa.jsxs)(M2,{stickyHeader:!0,"aria-label":"collapsible table",children:[(0,oa.jsx)(s5,{children:(0,oa.jsxs)(m5,{children:[(0,oa.jsx)(Q2,{}),(0,oa.jsx)(Q2,{className:i.tableCellHeader,children:"Date"}),(0,oa.jsx)(Q2,{className:i.tableCellHeader,align:"left",children:"Event type"})]})}),(0,oa.jsx)(q2,{children:t.map((function(e){return(0,oa.jsx)(q3,{row:e},e.id)}))})]})})}var G3=zp((function(e){var n;return{container:(n={},(0,c.Z)(n,e.breakpoints.down("md"),{marginTop:"0em"}),(0,c.Z)(n,e.breakpoints.up("sm"),{marginTop:"2em"}),n),header:(0,c.Z)({textTransform:"uppercase",letterSpacing:"0.2rem",fontSize:"1.0rem",marginTop:"1em"},e.breakpoints.down("md"),{"&":{textTransform:"uppercase",letterSpacing:"0.2rem",marginTop:"1.5em",marginBottom:"0.5em",color:e.headerColor,fontFamily:"gotham",position:"relative",fontSize:"1.5rem",zIndex:1,overflow:"hidden",textAlign:"center",fontWeight:500},"&:before, &:after":{position:"absolute",top:"51%",overflow:"hidden",width:"49.4%",height:"1px",content:'""',backgroundColor:e.headerColor},"&:after":{marginLeft:"0.4%"},"&:before":{marginLeft:"-49.9%",textAlign:"right"}}),list:{width:"98%",backgroundColor:e.palette.background.paper},productivityText:{fontFamily:e.fontFamily,color:e.headerColor,fontWeight:500,fontSize:"min(10vw, 2em)"}}}));var K3=qp((function(e){e.theme,e.history;var n,t,i=G3(),r=(0,l.useContext)(hO).dateRange.value,a=r.startDate,s=r.endDate,u=(0,l.useState)([]),c=(0,o.Z)(u,2),d=c[0],p=c[1],f=(0,l.useState)([]),m=(0,o.Z)(f,2),y=m[0],_=m[1];_O("Events");var h=(0,l.useState)(1),g=(0,o.Z)(h,2),v=g[0],T=g[1],b=kO(y3,{variables:{limit:25,offset:25*(v-1),tmStart:a,tmEnd:s,order_by:[{time:"desc"}]}}),k=b.data,R=b.error;b.refetch,R&&console.warn(R);var N=null===k||void 0===k||null===(n=k.eventAggregates)||void 0===n||null===(t=n.aggregate)||void 0===t?void 0:t.count,E=Math.ceil(N/25),x=(null===k||void 0===k?void 0:k.events)||[];(0,l.useEffect)((function(){if(0!==x.length){var e=x.map((function(e){var n;return null===e||void 0===e||null===(n=e.type)||void 0===n?void 0:n.name})).filter((function(e,n,t){return e&&t.indexOf(e)===n})).sort(),n=[].concat((0,z.Z)(d),(0,z.Z)(y)),t=e.filter((function(e){return!n.includes(e)})),i=[].concat((0,z.Z)(d.filter((function(n){return e.includes(n)}))),(0,z.Z)(t)).sort(),r=y.filter((function(n){return e.includes(n)}));p(i),_(r)}}),[k,_,p]);var C=x.filter((function(e){var n;return d.includes(null===e||void 0===e||null===(n=e.type)||void 0===n?void 0:n.name)}));return(0,oa.jsxs)("div",{className:i.container,children:[(0,oa.jsx)(U3,{enabled:d,disabled:y,onClick:function(e,n){n?(p([].concat((0,z.Z)(d),[e]).sort()),_(y.filter((function(n){return n!==e})))):(_([].concat((0,z.Z)(y),[e]).sort()),p(d.filter((function(n){return n!==e}))))}}),(0,oa.jsx)(W3,{data:C}),(0,oa.jsx)(lP,{count:E,page:v,onChange:function(e,n){return T(n)}})]})})),$3=["children"];function Y3(e){var n=e.children,t=m(e,$3);return(0,oa.jsx)(mO.Consumer,{children:function(e){var i=e.isAuthenticated;return(0,oa.jsxs)($s,p(p({},t),{},{children:[i&&n,!i&&(0,oa.jsx)(qs,{to:"/signin"})]}))}})}function Q3(){return _O("Example page title"),(0,oa.jsx)("div",{children:"Example content"})}var X3=function(){var e=u(_().mark((function e(n){var t,i,r,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Jr(u(_().mark((function e(){var n,t;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Aa.getToken()){e.next=6;break}return e.next=3,Aa.performTokenRefresh();case 3:if(e.sent){e.next=6;break}return e.abrupt("return",null);case 6:if(n=Aa.getToken(),t=n&&n.accessToken){e.next=10;break}return e.abrupt("return",null);case 10:return e.abrupt("return",{headers:{Authorization:"Bearer ".concat(t)}});case 11:case"end":return e.stop()}}),e)})))),i=An({uri:"https://api.trivision.dk/v1/graphql"}),r=new Mi({link:t.concat(i),cache:new Br}),l={client:r,buildQuery:$o,introspection:{schema:Zr}},n((function(){return l}));case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();function e6(){return(0,oa.jsx)(lU,{})}var n6=function(){var e=(0,l.useState)(""),n=(0,o.Z)(e,2),t=n[0],i=n[1],r=(0,l.useState)(null),a=(0,o.Z)(r,2),s=a[0],c=a[1],d=(0,l.useState)(null),p=(0,o.Z)(d,2),f=p[0],m=p[1],y=(0,l.useState)(null),h=(0,o.Z)(y,2),g=h[0],v=h[1],T=(0,l.useState)({startDate:ta(D2(new Date,7)),endDate:new Date}),b=(0,o.Z)(T,2),k=b[0],R=b[1];if((0,l.useEffect)((function(){var e=function(){var e=u(_().mark((function e(){var n,t;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!(n=Aa.getToken())){e.next=7;break}v(n),m(n),e.next=12;break;case 7:return e.next=9,Aa.performTokenRefresh();case 9:t=e.sent,v(t),m(t?Aa.getToken():null);case 12:e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),console.warn(e.t0),m(null);case 18:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,l.useEffect)((function(){return X3(c)}),[]),null===g)return(0,oa.jsx)(e6,{});if(!s)return(0,oa.jsx)(e6,{});var N=function(e){m(e),v(!!e)};return(0,oa.jsx)(mO.Provider,{value:{isAuthenticated:g,token:f},children:(0,oa.jsx)(jr,{client:s.client,children:(0,oa.jsx)(yO.Provider,{value:{pageTitle:t,setPageTitle:i},children:(0,oa.jsx)(hO.Provider,{value:{dateRange:{set:R,value:k}},children:(0,oa.jsx)(ru,{children:(0,oa.jsxs)("div",{className:"App",children:[(0,oa.jsx)(m2,{isAuthenticated:g}),(0,oa.jsxs)("div",{style:{paddingTop:"4em"},children:[(0,oa.jsx)($s,{exact:!0,path:"/signin",children:(0,oa.jsx)(v2,{isAuthenticated:g,setToken:N})}),(0,oa.jsx)($s,{exact:!0,path:"/signout",children:(0,oa.jsx)(T2,{token:f,isAuthenticated:g,setToken:N})}),(0,oa.jsx)($s,{exact:!0,path:"/",children:(0,oa.jsx)(v2,{isAuthenticated:g,setToken:N})}),(0,oa.jsx)(Y3,{path:"/images",children:(0,oa.jsx)(lz,{})}),(0,oa.jsx)($s,{path:"/dashboardautosignin",children:(0,oa.jsx)(w2,{isAuthenticated:g,setToken:N})}),(0,oa.jsx)(Y3,{path:"/example_page",children:(0,oa.jsx)(Q3,{})}),(0,oa.jsx)(Y3,{path:"/dashboard",children:(0,oa.jsx)(QO,{})}),(0,oa.jsx)(Y3,{exact:!0,path:"/orders",children:(0,oa.jsx)(h4,{})}),(0,oa.jsx)(Y3,{path:"/orders/:id",children:(0,oa.jsx)(h4,{})}),(0,oa.jsx)(Y3,{exact:!0,path:"/productTypes",children:(0,oa.jsx)(m3,{})}),(0,oa.jsx)(Y3,{exact:!0,path:"/events",children:(0,oa.jsx)(K3,{})})]})]})})})})})})},t6=function(e){e&&e instanceof Function&&t.e(787).then(t.bind(t,787)).then((function(n){var t=n.getCLS,i=n.getFID,r=n.getFCP,l=n.getLCP,a=n.getTTFB;t(e),i(e),r(e),l(e),a(e)}))},i6=(0,PL.Z)({key:"css",prepend:!0});function r6(e){var n=e.injectFirst,t=e.children;return n?(0,oa.jsx)(VL.C,{value:i6,children:t}):t}var l6=t(8023);var a6=function(e){var n=e.children,t=e.theme,i=(0,$c.Z)(),r=l.useMemo((function(){var e=null===i?t:function(e,n){return"function"===typeof n?n(e):(0,Qo.Z)({},e,n)}(i,t);return null!=e&&(e[Yc]=null!==i),e}),[t,i]);return(0,oa.jsx)(l6.Z.Provider,{value:r,children:n})};function o6(e){var n=(0,MU.Z)();return(0,oa.jsx)(VL.T.Provider,{value:"object"===typeof n?n:{},children:e.children})}var s6=function(e){var n=e.children,t=e.theme;return(0,oa.jsx)(a6,{theme:t,children:(0,oa.jsx)(o6,{children:n})})},u6=(0,v5.Z)({palette:{primary:{main:"#2b7fb3"},secondary:{light:"#0066ff",main:"#0044ff",contrastText:"#ffcc00"}},typography:{fontFamily:["gotham"]},background:"linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",results:{ok:"#5cb85c",fail:"#d9534f",warn:"#f0ad4e",info:"#0275d8"},headerColor:"grey",fontFamily:"gotham"});a.render((0,oa.jsx)(l.StrictMode,{children:(0,oa.jsx)(r6,{injectFirst:!0,children:(0,oa.jsx)(s6,{theme:u6,children:(0,oa.jsx)(n6,{})})})}),document.getElementById("root")),t6()},8677:function(e,n,t){"use strict";t.d(n,{Z:function(){return re}});var i=t(6567),r=Math.abs,l=String.fromCharCode,a=Object.assign;function o(e){return e.trim()}function s(e,n,t){return e.replace(n,t)}function u(e,n){return e.indexOf(n)}function c(e,n){return 0|e.charCodeAt(n)}function d(e,n,t){return e.slice(n,t)}function p(e){return e.length}function f(e){return e.length}function m(e,n){return n.push(e),e}var y=1,_=1,h=0,g=0,v=0,T="";function b(e,n,t,i,r,l,a){return{value:e,root:n,parent:t,type:i,props:r,children:l,line:y,column:_,length:a,return:""}}function k(e,n){return a(b("",null,null,"",null,null,0),e,{length:-e.length},n)}function R(){return v=g>0?c(T,--g):0,_--,10===v&&(_=1,y--),v}function N(){return v=g2||S(v)>3?"":" "}function L(e,n){for(;--n&&N()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return C(e,x()+(n<6&&32==E()&&32==N()))}function I(e){for(;N();)switch(v){case e:return g;case 34:case 39:34!==e&&39!==e&&I(v);break;case 40:41===e&&I(e);break;case 92:N()}return g}function U(e,n){for(;N()&&e+v!==57&&(e+v!==84||47!==E()););return"/*"+C(n,g-1)+"*"+l(47===e?e:N())}function P(e){for(;!S(E());)N();return C(e,g)}var V="-ms-",B="-moz-",M="-webkit-",F="comm",j="rule",J="decl",Z="@keyframes";function z(e,n){for(var t="",i=f(e),r=0;r6)switch(c(e,n+1)){case 109:if(45!==c(e,n+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+B+(108==c(e,n+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?q(s(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==c(e,n+1))break;case 6444:switch(c(e,p(e)-3-(~u(e,"!important")&&10))){case 107:return s(e,":",":"+M)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(45===c(e,14)?"inline-":"")+"box$3$1"+M+"$2$3$1"+V+"$2box$3")+e}break;case 5936:switch(c(e,n+11)){case 114:return M+e+V+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+V+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+V+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+V+e+e}return e}function W(e){return D(G("",null,null,null,[""],e=w(e),0,[0],e))}function G(e,n,t,i,r,a,o,c,d){for(var f=0,y=0,_=o,h=0,g=0,v=0,T=1,b=1,k=1,C=0,S="",w=r,D=a,I=i,V=S;b;)switch(v=C,C=N()){case 40:if(108!=v&&58==V.charCodeAt(_-1)){-1!=u(V+=s(A(C),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:V+=A(C);break;case 9:case 10:case 13:case 32:V+=O(v);break;case 92:V+=L(x()-1,7);continue;case 47:switch(E()){case 42:case 47:m($(U(N(),x()),n,t),d);break;default:V+="/"}break;case 123*T:c[f++]=p(V)*k;case 125*T:case 59:case 0:switch(C){case 0:case 125:b=0;case 59+y:g>0&&p(V)-_&&m(g>32?Y(V+";",i,t,_-1):Y(s(V," ","")+";",i,t,_-2),d);break;case 59:V+=";";default:if(m(I=K(V,n,t,f,y,r,c,S,w=[],D=[],_),a),123===C)if(0===y)G(V,n,I,I,w,a,_,c,D);else switch(h){case 100:case 109:case 115:G(e,I,I,i&&m(K(e,I,I,0,0,r,c,S,r,w=[],_),D),r,D,_,c,i?w:D);break;default:G(V,I,I,I,[""],D,0,c,D)}}f=y=g=0,T=k=1,S=V="",_=o;break;case 58:_=1+p(V),g=v;default:if(T<1)if(123==C)--T;else if(125==C&&0==T++&&125==R())continue;switch(V+=l(C),C*T){case 38:k=y>0?1:(V+="\f",-1);break;case 44:c[f++]=(p(V)-1)*k,k=1;break;case 64:45===E()&&(V+=A(N())),h=E(),y=_=p(S=V+=P(x())),C++;break;case 45:45===v&&2==p(V)&&(T=0)}}return a}function K(e,n,t,i,l,a,u,c,p,m,y){for(var _=l-1,h=0===l?a:[""],g=f(h),v=0,T=0,k=0;v0?h[R]+" "+N:s(N,/&\f/g,h[R])))&&(p[k++]=E);return b(e,n,t,0===l?j:c,p,m,y)}function $(e,n,t){return b(e,n,t,F,l(v),d(e,2,-2),0)}function Y(e,n,t,i){return b(e,n,t,J,d(e,0,i),d(e,i+1,-1),i)}var Q=function(e,n,t){for(var i=0,r=0;i=r,r=E(),38===i&&12===r&&(n[t]=1),!S(r);)N();return C(e,g)},X=function(e,n){return D(function(e,n){var t=-1,i=44;do{switch(S(i)){case 0:38===i&&12===E()&&(n[t]=1),e[t]+=Q(g-1,n,t);break;case 2:e[t]+=A(i);break;case 4:if(44===i){e[++t]=58===E()?"&\f":"",n[t]=e[t].length;break}default:e[t]+=l(i)}}while(i=N());return e}(w(e),n))},ee=new WeakMap,ne=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var n=e.value,t=e.parent,i=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===n.charCodeAt(0)||ee.get(t))&&!i){ee.set(e,!0);for(var r=[],l=X(n,r),a=t.props,o=0,s=0;o-1&&!e.return)switch(e.type){case J:e.return=q(e.value,e.length);break;case Z:return z([k(e,{value:s(e.value,"@","@"+M)})],i);case j:if(e.length)return function(e,n){return e.map(n).join("")}(e.props,(function(n){switch(function(e,n){return(e=n.exec(e))?e[0]:e}(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return z([k(e,{props:[s(n,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return z([k(e,{props:[s(n,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[s(n,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(n,/:(plac\w+)/,V+"input-$1")]})],i)}return""}))}}],re=function(e){var n=e.key;if("css"===n){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||ie;var l,a,o={},s=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(e){for(var n=e.getAttribute("data-emotion").split(" "),t=1;t=4;++i,r-=4)n=1540483477*(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(r){case 3:t^=(255&e.charCodeAt(i+2))<<16;case 2:t^=(255&e.charCodeAt(i+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(i)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},r=t(3840),l=t(3782),a=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},c=(0,l.Z)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,n){switch(e){case"animation":case"animationName":if("string"===typeof n)return n.replace(o,(function(e,n,t){return f={name:n,styles:t,next:f},n}))}return 1===r.Z[e]||s(e)||"number"!==typeof n||0===n?n:n+"px"};function p(e,n,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return f={name:t.name,styles:t.styles,next:f},t.name;if(void 0!==t.styles){var i=t.next;if(void 0!==i)for(;void 0!==i;)f={name:i.name,styles:i.styles,next:f},i=i.next;return t.styles+";"}return function(e,n,t){var i="";if(Array.isArray(t))for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"light")?{main:_[200],light:_[50],dark:_[400]}:{main:_[700],light:_[400],dark:_[800]}}(t),x=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:f[200],light:f[50],dark:f[400]}:{main:f[500],light:f[300],dark:f[700]}}(t),C=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(t),S=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[400],light:h[300],dark:h[700]}:{main:h[700],light:h[500],dark:h[900]}}(t),w=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(t),D=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:"#ed6c02",light:y[500],dark:y[900]}}(t);function A(e){return(0,c.mi)(e,b.text.primary)>=o?b.text.primary:T.text.primary}var O=function(e){var n=e.color,t=e.name,r=e.mainShade,l=void 0===r?500:r,a=e.lightShade,o=void 0===a?300:a,s=e.darkShade,c=void 0===s?700:s;if(!(n=(0,i.Z)({},n)).main&&n[l]&&(n.main=n[l]),!n.hasOwnProperty("main"))throw new Error((0,u.Z)(11,t?" (".concat(t,")"):"",l));if("string"!==typeof n.main)throw new Error((0,u.Z)(12,t?" (".concat(t,")"):"",JSON.stringify(n.main)));return k(n,"light",o,R),k(n,"dark",c,R),n.contrastText||(n.contrastText=A(n.main)),n},L={dark:b,light:T};return(0,l.Z)((0,i.Z)({common:d,mode:t,primary:O({color:E,name:"primary"}),secondary:O({color:x,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:C,name:"error"}),warning:O({color:D,name:"warning"}),info:O({color:S,name:"info"}),success:O({color:w,name:"success"}),grey:p,contrastThreshold:o,getContrastText:A,augmentColor:O,tonalOffset:R},L[t]),N)}var N=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var E={textTransform:"uppercase"},x='"Roboto", "Helvetica", "Arial", sans-serif';function C(e,n){var t="function"===typeof n?n(e):n,a=t.fontFamily,o=void 0===a?x:a,s=t.fontSize,u=void 0===s?14:s,c=t.fontWeightLight,d=void 0===c?300:c,p=t.fontWeightRegular,f=void 0===p?400:p,m=t.fontWeightMedium,y=void 0===m?500:m,_=t.fontWeightBold,h=void 0===_?700:_,g=t.htmlFontSize,v=void 0===g?16:g,T=t.allVariants,b=t.pxToRem,k=(0,r.Z)(t,N);var R=u/14,C=b||function(e){return"".concat(e/v*R,"rem")},S=function(e,n,t,r,l){return(0,i.Z)({fontFamily:o,fontWeight:e,fontSize:C(n),lineHeight:t},o===x?{letterSpacing:"".concat((a=r/n,Math.round(1e5*a)/1e5),"em")}:{},l,T);var a},w={h1:S(d,96,1.167,-1.5),h2:S(d,60,1.2,-.5),h3:S(f,48,1.167,0),h4:S(f,34,1.235,.25),h5:S(f,24,1.334,0),h6:S(y,20,1.6,.15),subtitle1:S(f,16,1.75,.15),subtitle2:S(y,14,1.57,.1),body1:S(f,16,1.5,.15),body2:S(f,14,1.43,.15),button:S(y,14,1.75,.4,E),caption:S(f,12,1.66,.4),overline:S(f,12,2.66,1,E)};return(0,l.Z)((0,i.Z)({htmlFontSize:v,pxToRem:C,fontFamily:o,fontSize:u,fontWeightLight:d,fontWeightRegular:f,fontWeightMedium:y,fontWeightBold:h},w),k,{clone:!1})}function S(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var w=["none",S(0,2,1,-1,0,1,1,0,0,1,3,0),S(0,3,1,-2,0,2,2,0,0,1,5,0),S(0,3,3,-2,0,3,4,0,0,1,8,0),S(0,2,4,-1,0,4,5,0,0,1,10,0),S(0,3,5,-1,0,5,8,0,0,1,14,0),S(0,3,5,-1,0,6,10,0,0,1,18,0),S(0,4,5,-2,0,7,10,1,0,2,16,1),S(0,5,5,-3,0,8,10,1,0,3,14,2),S(0,5,6,-3,0,9,12,1,0,3,16,2),S(0,6,6,-3,0,10,14,1,0,4,18,3),S(0,6,7,-4,0,11,15,1,0,4,20,3),S(0,7,8,-4,0,12,17,2,0,5,22,4),S(0,7,8,-4,0,13,19,2,0,5,24,4),S(0,7,9,-4,0,14,21,2,0,5,26,4),S(0,8,9,-5,0,15,22,2,0,6,28,5),S(0,8,10,-5,0,16,24,2,0,6,30,5),S(0,8,11,-5,0,17,26,2,0,6,32,5),S(0,9,11,-5,0,18,28,2,0,7,34,6),S(0,9,12,-6,0,19,29,2,0,7,36,6),S(0,10,13,-6,0,20,31,3,0,8,38,7),S(0,10,13,-6,0,21,33,3,0,8,40,7),S(0,10,14,-6,0,22,35,3,0,8,42,7),S(0,11,14,-7,0,23,36,3,0,9,44,8),S(0,11,15,-7,0,24,38,3,0,9,46,8)],D=t(1314),A={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},O=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.mixins,t=void 0===n?{}:n,o=e.palette,u=void 0===o?{}:o,c=e.transitions,d=void 0===c?{}:c,p=e.typography,f=void 0===p?{}:p,m=(0,r.Z)(e,O),y=R(u),_=(0,a.Z)(e),h=(0,l.Z)(_,{mixins:s(_.breakpoints,_.spacing,t),palette:y,shadows:w.slice(),typography:C(y,f),transitions:(0,D.ZP)(d),zIndex:(0,i.Z)({},A)});h=(0,l.Z)(h,m);for(var g=arguments.length,v=new Array(g>1?g-1:0),T=1;T0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.duration,o=void 0===a?t.standard:a,u=r.easing,c=void 0===u?n.easeInOut:u,d=r.delay,p=void 0===d?0:d;(0,i.Z)(r,l);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof o?o:s(o)," ").concat(c," ").concat("string"===typeof p?p:s(p))})).join(",")}},e,{easing:n,duration:t})}},6482:function(e,n,t){"use strict";var i=(0,t(1979).Z)();n.Z=i},6934:function(e,n,t){"use strict";t.d(n,{FO:function(){return l},Dz:function(){return a}});var i=t(4046),r=t(6482),l=function(e){return(0,i.x9)(e)&&"classes"!==e},a=i.x9,o=(0,i.ZP)({defaultTheme:r.Z,rootShouldForwardProp:l});n.ZP=o},3736:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var i=t(3073),r=t(418);var l=t(6482);function a(e){return function(e){var n=e.props,t=e.name,l=e.defaultTheme,a=(0,r.Z)(l);return(0,i.Z)({theme:a,name:t,props:n})}({props:e.props,name:e.name,defaultTheme:l.Z})}},4036:function(e,n,t){"use strict";var i=t(7312);n.Z=i.Z},9201:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var i=t(7462),r=t(2791),l=t(3366),a=t(8182),o=t(865),s=t(4036),u=t(3736),c=t(6934),d=t(9076);function p(e){return(0,d.Z)("MuiSvgIcon",e)}(0,t(9046).Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=t(184),m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],y=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,"inherit"!==t.color&&n["color".concat((0,s.Z)(t.color))],n["fontSize".concat((0,s.Z)(t.fontSize))]]}})((function(e){var n,t,i=e.theme,r=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:i.transitions.create("fill",{duration:i.transitions.duration.shorter}),fontSize:{inherit:"inherit",small:i.typography.pxToRem(20),medium:i.typography.pxToRem(24),large:i.typography.pxToRem(35)}[r.fontSize],color:null!=(n=null==(t=i.palette[r.color])?void 0:t.main)?n:{action:i.palette.action.active,disabled:i.palette.action.disabled,inherit:void 0}[r.color]}})),_=r.forwardRef((function(e,n){var t=(0,u.Z)({props:e,name:"MuiSvgIcon"}),r=t.children,c=t.className,d=t.color,_=void 0===d?"inherit":d,h=t.component,g=void 0===h?"svg":h,v=t.fontSize,T=void 0===v?"medium":v,b=t.htmlColor,k=t.inheritViewBox,R=void 0!==k&&k,N=t.titleAccess,E=t.viewBox,x=void 0===E?"0 0 24 24":E,C=(0,l.Z)(t,m),S=(0,i.Z)({},t,{color:_,component:g,fontSize:T,inheritViewBox:R,viewBox:x}),w={};R||(w.viewBox=x);var D=function(e){var n=e.color,t=e.fontSize,i=e.classes,r={root:["root","inherit"!==n&&"color".concat((0,s.Z)(n)),"fontSize".concat((0,s.Z)(t))]};return(0,o.Z)(r,p,i)}(S);return(0,f.jsxs)(y,(0,i.Z)({as:g,className:(0,a.Z)(D.root,c),ownerState:S,focusable:"false",color:b,"aria-hidden":!N||void 0,role:N?"img":void 0,ref:n},w,C,{children:[r,N?(0,f.jsx)("title",{children:N}):null]}))}));_.muiName="SvgIcon";var h=_;function g(e,n){var t=function(t,r){return(0,f.jsx)(h,(0,i.Z)({"data-testid":"".concat(n,"Icon"),ref:r},t,{children:e}))};return t.muiName=h.muiName,r.memo(r.forwardRef(t))}},3199:function(e,n,t){"use strict";var i=t(3981);n.Z=i.Z},4421:function(e,n,t){"use strict";t.r(n),t.d(n,{capitalize:function(){return i.Z},createChainedFunction:function(){return r},createSvgIcon:function(){return l.Z},debounce:function(){return a.Z},deprecatedPropType:function(){return o},isMuiElement:function(){return s.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return c.Z},requirePropFactory:function(){return d},setRef:function(){return p},unstable_ClassNameGenerator:function(){return T.Z},unstable_useEnhancedEffect:function(){return f.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return y},useControlled:function(){return _.Z},useEventCallback:function(){return h.Z},useForkRef:function(){return g.Z},useIsFocusVisible:function(){return v.Z}});var i=t(4036),r=t(8949).Z,l=t(9201),a=t(3199);var o=function(e,n){return function(){return null}},s=t(9103),u=t(8301),c=t(7602);t(7462);var d=function(e,n){return function(){return null}},p=t(2971).Z,f=t(162),m=t(5836);var y=function(e,n,t,i,r){return null},_=t(8278),h=t(9683),g=t(2071),v=t(8221),T=t(4992)},9103:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var i=t(2791);var r=function(e,n){return i.isValidElement(e)&&-1!==n.indexOf(e.type.muiName)}},8301:function(e,n,t){"use strict";var i=t(9723);n.Z=i.Z},7602:function(e,n,t){"use strict";var i=t(7979);n.Z=i.Z},8278:function(e,n,t){"use strict";var i=t(8959);n.Z=i.Z},162:function(e,n,t){"use strict";var i=t(5721);n.Z=i.Z},9683:function(e,n,t){"use strict";var i=t(8956);n.Z=i.Z},2071:function(e,n,t){"use strict";var i=t(7563);n.Z=i.Z},5836:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var i=t(9439),r=t(2791),l=0;var a=t.t(r,2).useId;var o=function(e){if(void 0!==a){var n=a();return null!=e?e:n}return function(e){var n=r.useState(e),t=(0,i.Z)(n,2),a=t[0],o=t[1],s=e||a;return r.useEffect((function(){null==a&&o("mui-".concat(l+=1))}),[a]),s}(e)}},8221:function(e,n,t){"use strict";var i=t(5372);n.Z=i.Z},8023:function(e,n,t){"use strict";var i=t(2791).createContext(null);n.Z=i},9598:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var i=t(2791),r=t(8023);function l(){return i.useContext(r.Z)}},594:function(e,n,t){"use strict";t.d(n,{ZP:function(){return v}});var i=t(2791),r=t(7462),l=t(3782),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(0,l.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=t(1672),u=t(5438),c=t(4804),d=o,p=function(e){return"theme"!==e},f=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?d:p},m=function(e,n,t){var i;if(n){var r=n.shouldForwardProp;i=e.__emotion_forwardProp&&r?function(n){return e.__emotion_forwardProp(n)&&r(n)}:r}return"function"!==typeof i&&t&&(i=e.__emotion_forwardProp),i},y=function(){return null},_=function e(n,t){var l,a,o=n.__emotion_real===n,d=o&&n.__emotion_base||n;void 0!==t&&(l=t.label,a=t.target);var p=m(n,t,o),_=p||f(d),h=!_("as");return function(){var g=arguments,v=o&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==l&&v.push("label:"+l+";"),null==g[0]||void 0===g[0].raw)v.push.apply(v,g);else{0,v.push(g[0][0]);for(var T=g.length,b=1;b0&&void 0!==arguments[0]?arguments[0]:{},t=null==n||null==(e=n.keys)?void 0:e.reduce((function(e,t){return e[n.up(t)]={},e}),{});return t||{}}function o(e,n){return e.reduce((function(e,n){var t=e[n];return(!t||0===Object.keys(t).length)&&delete e[n],e}),n)}function s(e){var n,t=e.values,i=e.breakpoints,r=e.base||function(e,n){if("object"!==typeof e)return{};var t={},i=Object.keys(n);return Array.isArray(e)?i.forEach((function(n,i){i1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(n,e),t)}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(function(e){e=e.substr(1);var n=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),t=e.match(n);return t&&1===t[0].length&&(t=t.map((function(e){return e+e}))),t?"rgb".concat(4===t.length?"a":"","(").concat(t.map((function(e,n){return n<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var n=e.indexOf("("),t=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(t))throw new Error((0,i.Z)(9,e));var r,a=e.substring(n+1,e.length-1);if("color"===t){if(r=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,i.Z)(10,r))}else a=a.split(",");return{type:t,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:r}}function a(e){var n=e.type,t=e.colorSpace,i=e.values;return-1!==n.indexOf("rgb")?i=i.map((function(e,n){return n<3?parseInt(e,10):e})):-1!==n.indexOf("hsl")&&(i[1]="".concat(i[1],"%"),i[2]="".concat(i[2],"%")),i=-1!==n.indexOf("color")?"".concat(t," ").concat(i.join(" ")):"".concat(i.join(", ")),"".concat(n,"(").concat(i,")")}function o(e){var n="hsl"===(e=l(e)).type?l(function(e){var n=(e=l(e)).values,t=n[0],i=n[1]/100,r=n[2]/100,o=i*Math.min(r,1-r),s=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return r-o*Math.max(Math.min(n-3,9-n,1),-1)},u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(n[3])),a({type:u,values:c})}(e)).values:e.values;return n=n.map((function(n){return"color"!==e.type&&(n/=255),n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function s(e,n){var t=o(e),i=o(n);return(Math.max(t,i)+.05)/(Math.min(t,i)+.05)}function u(e,n){return e=l(e),n=r(n),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(n):e.values[3]=n,a(e)}function c(e,n){if(e=l(e),n=r(n),-1!==e.type.indexOf("hsl"))e.values[2]*=1-n;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var t=0;t<3;t+=1)e.values[t]*=1-n;return a(e)}function d(e,n){if(e=l(e),n=r(n),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*n;else if(-1!==e.type.indexOf("rgb"))for(var t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*n;else if(-1!==e.type.indexOf("color"))for(var i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*n;return a(e)}},4046:function(e,n,t){"use strict";t.d(n,{ZP:function(){return R},x9:function(){return b}});var i=t(3433),r=t(9439),l=t(7462),a=t(3366),o=t(594),s=t(5080),u=t(7312),c=["variant"];function d(e){return 0===e.length}function p(e){var n=e.variant,t=(0,a.Z)(e,c),i=n||"";return Object.keys(t).sort().forEach((function(n){i+="color"===n?d(i)?e[n]:(0,u.Z)(e[n]):"".concat(d(i)?n:(0,u.Z)(n)).concat((0,u.Z)(e[n].toString()))})),i}var f=t(104),m=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],y=["theme"],_=["theme"];function h(e){return 0===Object.keys(e).length}var g=function(e,n){return n.components&&n.components[e]&&n.components[e].styleOverrides?n.components[e].styleOverrides:null},v=function(e,n){var t=[];n&&n.components&&n.components[e]&&n.components[e].variants&&(t=n.components[e].variants);var i={};return t.forEach((function(e){var n=p(e.props);i[n]=e.style})),i},T=function(e,n,t,i){var r,l,a=e.ownerState,o=void 0===a?{}:a,s=[],u=null==t||null==(r=t.components)||null==(l=r[i])?void 0:l.variants;return u&&u.forEach((function(t){var i=!0;Object.keys(t.props).forEach((function(n){o[n]!==t.props[n]&&e[n]!==t.props[n]&&(i=!1)})),i&&s.push(n[p(t.props)])})),s};function b(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var k=(0,s.Z)();function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.defaultTheme,t=void 0===n?k:n,s=e.rootShouldForwardProp,u=void 0===s?b:s,c=e.slotShouldForwardProp,d=void 0===c?b:c,p=e.styleFunctionSx,R=void 0===p?f.Z:p;return function(e){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=s.name,p=s.slot,f=s.skipVariantsResolver,k=s.skipSx,N=s.overridesResolver,E=(0,a.Z)(s,m),x=void 0!==f?f:p&&"Root"!==p||!1,C=k||!1;var S=b;"Root"===p?S=u:p&&(S=d);var w=(0,o.ZP)(e,(0,l.Z)({shouldForwardProp:S,label:n},E)),D=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s0){var f=new Array(p).fill("");(d=[].concat((0,i.Z)(e),(0,i.Z)(f))).raw=[].concat((0,i.Z)(e.raw),(0,i.Z)(f))}else"function"===typeof e&&(d=function(n){var i=n.theme,r=(0,a.Z)(n,_);return e((0,l.Z)({theme:h(i)?t:i},r))});var m=w.apply(void 0,[d].concat((0,i.Z)(u)));return m};return w.withConfig&&(D.withConfig=w.withConfig),D}}},5080:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var i=t(7462),r=t(3366),l=t(2466),a=t(4942),o=["values","unit","step"];function s(e){var n=e.values,t=void 0===n?{xs:0,sm:600,md:900,lg:1200,xl:1536}:n,l=e.unit,s=void 0===l?"px":l,u=e.step,c=void 0===u?5:u,d=(0,r.Z)(e,o),p=function(e){var n=Object.keys(e).map((function(n){return{key:n,val:e[n]}}))||[];return n.sort((function(e,n){return e.val-n.val})),n.reduce((function(e,n){return(0,i.Z)({},e,(0,a.Z)({},n.key,n.val))}),{})}(t),f=Object.keys(p);function m(e){var n="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(n).concat(s,")")}function y(e){var n="number"===typeof t[e]?t[e]:e;return"@media (max-width:".concat(n-c/100).concat(s,")")}function _(e,n){var i=f.indexOf(n);return"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==i&&"number"===typeof t[f[i]]?t[f[i]]:n)-c/100).concat(s,")")}return(0,i.Z)({keys:f,values:p,up:m,down:y,between:_,only:function(e){return f.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var n=(0,c.hB)({spacing:e}),t=function(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.breakpoints,t=void 0===n?{}:n,a=e.palette,o=void 0===a?{}:a,c=e.spacing,f=e.shape,m=void 0===f?{}:f,y=(0,r.Z)(e,p),_=s(t),h=d(c),g=(0,l.Z)({breakpoints:_,direction:"ltr",components:{},palette:(0,i.Z)({mode:"light"},o),spacing:h,shape:(0,i.Z)({},u,m)},y),v=arguments.length,T=new Array(v>1?v-1:0),b=1;b2){if(!u[e])return[e];e=u[e]}var n=e.split(""),t=(0,i.Z)(n,2),r=t[0],l=t[1],a=o[r],c=s[l]||"";return Array.isArray(c)?c.map((function(e){return a+e})):[a+c]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[].concat(d,p);function m(e,n,t,i){var r=(0,l.D)(e,n)||t;return"number"===typeof r?function(e){return"string"===typeof e?e:r*e}:Array.isArray(r)?function(e){return"string"===typeof e?e:r[e]}:"function"===typeof r?r:function(){}}function y(e){return m(e,"spacing",8)}function _(e,n){if("string"===typeof n||null==n)return n;var t=e(Math.abs(n));return n>=0?t:"number"===typeof t?-t:"-".concat(t)}function h(e,n,t,i){if(-1===n.indexOf(t))return null;var l=function(e,n){return function(t){return e.reduce((function(e,i){return e[i]=_(n,t),e}),{})}}(c(t),i),a=e[t];return(0,r.k9)(e,a,l)}function g(e,n){var t=y(e.theme);return Object.keys(e).map((function(i){return h(e,n,i,t)})).reduce(a.Z,{})}function v(e){return g(e,d)}function T(e){return g(e,p)}function b(e){return g(e,f)}v.propTypes={},v.filterProps=d,T.propTypes={},T.filterProps=p,b.propTypes={},b.filterProps=f;var k=b},8529:function(e,n,t){"use strict";t.d(n,{D:function(){return a}});var i=t(4942),r=t(7312),l=t(1184);function a(e,n){return n&&"string"===typeof n?n.split(".").reduce((function(e,n){return e&&e[n]?e[n]:null}),e):null}function o(e,n,t){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t;return i="function"===typeof e?e(t):Array.isArray(e)?e[t]||r:a(e,t)||r,n&&(i=n(i)),i}n.Z=function(e){var n=e.prop,t=e.cssProperty,s=void 0===t?e.prop:t,u=e.themeKey,c=e.transform,d=function(e){if(null==e[n])return null;var t=e[n],d=a(e.theme,u)||{};return(0,l.k9)(e,t,(function(e){var t=o(d,c,e);return e===t&&"string"===typeof e&&(t=o(d,c,"".concat(n).concat("default"===e?"":(0,r.Z)(e)),e)),!1===s?t:(0,i.Z)({},s,t)}))};return d.propTypes={},d.filterProps=[n],d}},104:function(e,n,t){"use strict";var i=t(4942),r=t(8247),l=t(6001),a=t(1184);function o(){for(var e=arguments.length,n=new Array(e),t=0;t0&&void 0!==arguments[0]?arguments[0]:l.G$,n=Object.keys(e).reduce((function(n,t){return e[t].filterProps.forEach((function(i){n[i]=e[t]})),n}),{});function t(e,t,r){var l,a=(l={},(0,i.Z)(l,e,t),(0,i.Z)(l,"theme",r),l),o=n[e];return o?o(a):(0,i.Z)({},e,t)}function u(e){var l=e||{},c=l.sx,d=l.theme,p=void 0===d?{}:d;if(!c)return null;function f(e){var l=e;if("function"===typeof e)l=e(p);else if("object"!==typeof e)return e;if(!l)return null;var c=(0,a.W8)(p.breakpoints),d=Object.keys(c),f=c;return Object.keys(l).forEach((function(e){var c=s(l[e],p);if(null!==c&&void 0!==c)if("object"===typeof c)if(n[e])f=(0,r.Z)(f,t(e,c,p));else{var d=(0,a.k9)({theme:p},c,(function(n){return(0,i.Z)({},e,n)}));o(d,c)?f[e]=u({sx:c,theme:p}):f=(0,r.Z)(f,d)}else f=(0,r.Z)(f,t(e,c,p))})),(0,a.L7)(d,f)}return Array.isArray(c)?c.map(f):f(c)}return u}();u.filterProps=["sx"],n.Z=u},418:function(e,n,t){"use strict";var i=t(5080),r=t(9120),l=(0,i.Z)();n.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return(0,r.Z)(e)}},3073:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var i=t(5735);function r(e){var n=e.theme,t=e.name,r=e.props;return n&&n.components&&n.components[t]&&n.components[t].defaultProps?(0,i.Z)(n.components[t].defaultProps,r):r}},9120:function(e,n,t){"use strict";var i=t(9598);function r(e){return 0===Object.keys(e).length}n.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=(0,i.Z)();return!n||r(n)?e:n}},7312:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var i=t(6189);function r(e){if("string"!==typeof e)throw new Error((0,i.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8949:function(e,n,t){"use strict";function i(){for(var e=arguments.length,n=new Array(e),t=0;t1&&void 0!==arguments[1]?arguments[1]:166;function i(){for(var i=this,r=arguments.length,l=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=t.clone?(0,i.Z)({},e):e;return r(e)&&r(n)&&Object.keys(n).forEach((function(i){"__proto__"!==i&&(r(n[i])&&i in e&&r(e[i])?a[i]=l(e[i],n[i],t):a[i]=n[i])})),a}},6189:function(e,n,t){"use strict";function i(e){for(var n="https://mui.com/production-error/?code="+e,t=1;t(o=(a=Math.ceil(p/7))>o?a+1:o+1)&&(l=o,i.length=1),i.reverse();l--;)i.push(0);i.reverse()}for((o=u.length)-(l=c.length)<0&&(l=o,i=c,c=u,u=i),t=0;l;)t=(u[--l]=u[l]+c[l]+t)/y|0,u[l]%=y;for(t&&(u.unshift(t),++r),o=u.length;0==u[--o];)u.pop();return n.d=u,n.e=r,s?w(n,p):n}function T(e,n,t){if(e!==~~e||et)throw Error(c+e)}function b(e){var n,t,i,r=e.length-1,l="",a=e[0];if(r>0){for(l+=a,n=1;ne.e^l.s<0?1:-1;for(n=0,t=(i=l.d.length)<(r=e.d.length)?i:r;ne.d[n]^l.s<0?1:-1;return i===r?0:i>r^l.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,n=e.d.length-1,t=7*(n-e.e);if(n=e.d[n])for(;n%10==0;n/=10)t--;return t<0?0:t},g.dividedBy=g.div=function(e){return k(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var n=this.constructor;return w(k(this,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return N(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var n,t=this,i=t.constructor,r=i.precision,a=r+5;if(void 0===e)e=new i(10);else if((e=new i(e)).s<1||e.eq(l))throw Error(u+"NaN");if(t.s<1)throw Error(u+(t.s?"NaN":"-Infinity"));return t.eq(l)?new i(0):(s=!1,n=k(C(t,a),C(e,a),a),s=!0,w(n,r))},g.minus=g.sub=function(e){var n=this;return e=new n.constructor(e),n.s==e.s?D(n,e):v(n,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var n,t=this,i=t.constructor,r=i.precision;if(!(e=new i(e)).s)throw Error(u+"NaN");return t.s?(s=!1,n=k(t,e,0,1).times(e),s=!0,t.minus(n)):w(new i(t),r)},g.naturalExponential=g.exp=function(){return R(this)},g.naturalLogarithm=g.ln=function(){return C(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var n=this;return e=new n.constructor(e),n.s==e.s?v(n,e):D(n,(e.s=-e.s,e))},g.precision=g.sd=function(e){var n,t,i,r=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(n=N(r)+1,t=7*(i=r.d.length-1)+1,i=r.d[i]){for(;i%10==0;i/=10)t--;for(i=r.d[0];i>=10;i/=10)t++}return e&&n>t?n:t},g.squareRoot=g.sqrt=function(){var e,n,t,i,r,l,a,o=this,c=o.constructor;if(o.s<1){if(!o.s)return new c(0);throw Error(u+"NaN")}for(e=N(o),s=!1,0==(r=Math.sqrt(+o))||r==1/0?(((n=b(o.d)).length+e)%2==0&&(n+="0"),r=Math.sqrt(n),e=p((e+1)/2)-(e<0||e%2),i=new c(n=r==1/0?"5e"+e:(n=r.toExponential()).slice(0,n.indexOf("e")+1)+e)):i=new c(r.toString()),r=a=(t=c.precision)+3;;)if(i=(l=i).plus(k(o,l,a+2)).times(.5),b(l.d).slice(0,a)===(n=b(i.d)).slice(0,a)){if(n=n.slice(a-3,a+1),r==a&&"4999"==n){if(w(l,t+1,0),l.times(l).eq(o)){i=l;break}}else if("9999"!=n)break;a+=4}return s=!0,w(i,t)},g.times=g.mul=function(e){var n,t,i,r,l,a,o,u,c,d=this,p=d.constructor,f=d.d,m=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,t=d.e+e.e,(u=f.length)<(c=m.length)&&(l=f,f=m,m=l,a=u,u=c,c=a),l=[],i=a=u+c;i--;)l.push(0);for(i=c;--i>=0;){for(n=0,r=u+i;r>i;)o=l[r]+m[i]*f[r-i-1]+n,l[r--]=o%y|0,n=o/y|0;l[r]=(l[r]+n)%y|0}for(;!l[--a];)l.pop();return n?++t:l.shift(),e.d=l,e.e=t,s?w(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,n){var t=this,i=t.constructor;return t=new i(t),void 0===e?t:(T(e,0,a),void 0===n?n=i.rounding:T(n,0,8),w(t,e+N(t)+1,n))},g.toExponential=function(e,n){var t,i=this,r=i.constructor;return void 0===e?t=A(i,!0):(T(e,0,a),void 0===n?n=r.rounding:T(n,0,8),t=A(i=w(new r(i),e+1,n),!0,e+1)),t},g.toFixed=function(e,n){var t,i,r=this,l=r.constructor;return void 0===e?A(r):(T(e,0,a),void 0===n?n=l.rounding:T(n,0,8),t=A((i=w(new l(r),e+N(r)+1,n)).abs(),!1,e+N(i)+1),r.isneg()&&!r.isZero()?"-"+t:t)},g.toInteger=g.toint=function(){var e=this,n=e.constructor;return w(new n(e),N(e)+1,n.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var n,t,i,r,a,o,c=this,d=c.constructor,f=+(e=new d(e));if(!e.s)return new d(l);if(!(c=new d(c)).s){if(e.s<1)throw Error(u+"Infinity");return c}if(c.eq(l))return c;if(i=d.precision,e.eq(l))return w(c,i);if(o=(n=e.e)>=(t=e.d.length-1),a=c.s,o){if((t=f<0?-f:f)<=_){for(r=new d(l),n=Math.ceil(i/7+4),s=!1;t%2&&O((r=r.times(c)).d,n),0!==(t=p(t/2));)O((c=c.times(c)).d,n);return s=!0,e.s<0?new d(l).div(r):w(r,i)}}else if(a<0)throw Error(u+"NaN");return a=a<0&&1&e.d[Math.max(n,t)]?-1:1,c.s=1,s=!1,r=e.times(C(c,i+12)),s=!0,(r=R(r)).s=a,r},g.toPrecision=function(e,n){var t,i,r=this,l=r.constructor;return void 0===e?i=A(r,(t=N(r))<=l.toExpNeg||t>=l.toExpPos):(T(e,1,a),void 0===n?n=l.rounding:T(n,0,8),i=A(r=w(new l(r),e,n),e<=(t=N(r))||t<=l.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,n){var t=this.constructor;return void 0===e?(e=t.precision,n=t.rounding):(T(e,1,a),void 0===n?n=t.rounding:T(n,0,8)),w(new t(this),e,n)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,n=N(e),t=e.constructor;return A(e,n<=t.toExpNeg||n>=t.toExpPos)};var k=function(){function e(e,n){var t,i=0,r=e.length;for(e=e.slice();r--;)t=e[r]*n+i,e[r]=t%y|0,i=t/y|0;return i&&e.unshift(i),e}function n(e,n,t,i){var r,l;if(t!=i)l=t>i?1:-1;else for(r=l=0;rn[r]?1:-1;break}return l}function t(e,n,t){for(var i=0;t--;)e[t]-=i,i=e[t]1;)e.shift()}return function(i,r,l,a){var o,s,c,d,p,f,m,_,h,g,v,T,b,k,R,E,x,C,S=i.constructor,D=i.s==r.s?1:-1,A=i.d,O=r.d;if(!i.s)return new S(i);if(!r.s)throw Error(u+"Division by zero");for(s=i.e-r.e,x=O.length,R=A.length,_=(m=new S(D)).d=[],c=0;O[c]==(A[c]||0);)++c;if(O[c]>(A[c]||0)&&--s,(T=null==l?l=S.precision:a?l+(N(i)-N(r))+1:l)<0)return new S(0);if(T=T/7+2|0,c=0,1==x)for(d=0,O=O[0],T++;(c1&&(O=e(O,d),A=e(A,d),x=O.length,R=A.length),k=x,g=(h=A.slice(0,x)).length;g=y/2&&++E;do{d=0,(o=n(O,h,x,g))<0?(v=h[0],x!=g&&(v=v*y+(h[1]||0)),(d=v/E|0)>1?(d>=y&&(d=y-1),1==(o=n(p=e(O,d),h,f=p.length,g=h.length))&&(d--,t(p,x16)throw Error(d+N(e));if(!e.s)return new p(l);for(null==n?(s=!1,o=m):o=n,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),c+=5;for(o+=Math.log(f(2,c))/Math.LN10*2+5|0,t=i=r=new p(l),p.precision=o;;){if(i=w(i.times(e),o),t=t.times(++u),b((a=r.plus(k(i,t,o))).d).slice(0,o)===b(r.d).slice(0,o)){for(;c--;)r=w(r.times(r),o);return p.precision=m,null==n?(s=!0,w(r,m)):r}r=a}}function N(e){for(var n=7*e.e,t=e.d[0];t>=10;t/=10)n++;return n}function E(e,n,t){if(n>e.LN10.sd())throw s=!0,t&&(e.precision=t),Error(u+"LN10 precision limit exceeded");return w(new e(e.LN10),n)}function x(e){for(var n="";e--;)n+="0";return n}function C(e,n){var t,i,r,a,o,c,d,p,f,m=1,y=e,_=y.d,h=y.constructor,g=h.precision;if(y.s<1)throw Error(u+(y.s?"NaN":"-Infinity"));if(y.eq(l))return new h(0);if(null==n?(s=!1,p=g):p=n,y.eq(10))return null==n&&(s=!0),E(h,p);if(p+=10,h.precision=p,i=(t=b(_)).charAt(0),a=N(y),!(Math.abs(a)<15e14))return d=E(h,p+2,g).times(a+""),y=C(new h(i+"."+t.slice(1)),p-10).plus(d),h.precision=g,null==n?(s=!0,w(y,g)):y;for(;i<7&&1!=i||1==i&&t.charAt(1)>3;)i=(t=b((y=y.times(e)).d)).charAt(0),m++;for(a=N(y),i>1?(y=new h("0."+t),a++):y=new h(i+"."+t.slice(1)),c=o=y=k(y.minus(l),y.plus(l),p),f=w(y.times(y),p),r=3;;){if(o=w(o.times(f),p),b((d=c.plus(k(o,new h(r),p))).d).slice(0,p)===b(c.d).slice(0,p))return c=c.times(2),0!==a&&(c=c.plus(E(h,p+2,g).times(a+""))),c=k(c,new h(m),p),h.precision=g,null==n?(s=!0,w(c,g)):c;c=d,r+=2}}function S(e,n){var t,i,r;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(i=n.search(/e/i))>0?(t<0&&(t=i),t+=+n.slice(i+1),n=n.substring(0,i)):t<0&&(t=n.length),i=0;48===n.charCodeAt(i);)++i;for(r=n.length;48===n.charCodeAt(r-1);)--r;if(n=n.slice(i,r)){if(r-=i,t=t-i-1,e.e=p(t/7),e.d=[],i=(t+1)%7,t<0&&(i+=7),ih||e.e<-h))throw Error(d+t)}else e.s=0,e.e=0,e.d=[0];return e}function w(e,n,t){var i,r,l,a,o,u,c,m,_=e.d;for(a=1,l=_[0];l>=10;l/=10)a++;if((i=n-a)<0)i+=7,r=n,c=_[m=0];else{if((m=Math.ceil((i+1)/7))>=(l=_.length))return e;for(c=l=_[m],a=1;l>=10;l/=10)a++;r=(i%=7)-7+a}if(void 0!==t&&(o=c/(l=f(10,a-r-1))%10|0,u=n<0||void 0!==_[m+1]||c%l,u=t<4?(o||u)&&(0==t||t==(e.s<0?3:2)):o>5||5==o&&(4==t||u||6==t&&(i>0?r>0?c/f(10,a-r):0:_[m-1])%10&1||t==(e.s<0?8:7))),n<1||!_[0])return u?(l=N(e),_.length=1,n=n-l-1,_[0]=f(10,(7-n%7)%7),e.e=p(-n/7)||0):(_.length=1,_[0]=e.e=e.s=0),e;if(0==i?(_.length=m,l=1,m--):(_.length=m+1,l=f(10,7-i),_[m]=r>0?(c/f(10,a-r)%f(10,r)|0)*l:0),u)for(;;){if(0==m){(_[0]+=l)==y&&(_[0]=1,++e.e);break}if(_[m]+=l,_[m]!=y)break;_[m--]=0,l=1}for(i=_.length;0===_[--i];)_.pop();if(s&&(e.e>h||e.e<-h))throw Error(d+N(e));return e}function D(e,n){var t,i,r,l,a,o,u,c,d,p,f=e.constructor,m=f.precision;if(!e.s||!n.s)return n.s?n.s=-n.s:n=new f(e),s?w(n,m):n;if(u=e.d,p=n.d,i=n.e,c=e.e,u=u.slice(),a=c-i){for((d=a<0)?(t=u,a=-a,o=p.length):(t=p,i=c,o=u.length),a>(r=Math.max(Math.ceil(m/7),o)+2)&&(a=r,t.length=1),t.reverse(),r=a;r--;)t.push(0);t.reverse()}else{for((d=(r=u.length)<(o=p.length))&&(o=r),r=0;r0;--r)u[o++]=0;for(r=p.length;r>a;){if(u[--r]0?l=l.charAt(0)+"."+l.slice(1)+x(i):a>1&&(l=l.charAt(0)+"."+l.slice(1)),l=l+(r<0?"e":"e+")+r):r<0?(l="0."+x(-r-1)+l,t&&(i=t-a)>0&&(l+=x(i))):r>=a?(l+=x(r+1-a),t&&(i=t-r-1)>0&&(l=l+"."+x(i))):((i=r+1)0&&(r+1===a&&(l+="."),l+=x(i))),e.s<0?"-"+l:l}function O(e,n){if(e.length>n)return e.length=n,!0}function L(e){if(!e||"object"!==typeof e)throw Error(u+"Object expected");var n,t,i,r=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(n=0;n=r[n+1]&&i<=r[n+2]))throw Error(c+t+": "+i);this[t]=i}if(void 0!==(i=e[t="LN10"])){if(i!=Math.LN10)throw Error(c+t+": "+i);this[t]=new this(i)}return this}o=function e(n){var t,i,r;function l(e){var n=this;if(!(n instanceof l))return new l(e);if(n.constructor=l,e instanceof l)return n.s=e.s,n.e=e.e,void(n.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(c+e);if(e>0)n.s=1;else{if(!(e<0))return n.s=0,n.e=0,void(n.d=[0]);e=-e,n.s=-1}return e===~~e&&e<1e7?(n.e=0,void(n.d=[e])):S(n,e.toString())}if("string"!==typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),n.s=-1):n.s=1,!m.test(e))throw Error(c+e);S(n,e)}if(l.prototype=g,l.ROUND_UP=0,l.ROUND_DOWN=1,l.ROUND_CEIL=2,l.ROUND_FLOOR=3,l.ROUND_HALF_UP=4,l.ROUND_HALF_DOWN=5,l.ROUND_HALF_EVEN=6,l.ROUND_HALF_CEIL=7,l.ROUND_HALF_FLOOR=8,l.clone=e,l.config=l.set=L,void 0===n&&(n={}),n)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t0;)if(!t(e[r],n[r],i))return!1;return!0}function d(e,n,t,i){var r=e.size===n.size;if(r&&e.size){var l={};e.forEach((function(e,a){if(r){var o=!1,s=0;n.forEach((function(n,r){o||l[s]||(o=t(a,r,i)&&t(e,n,i))&&(l[s]=!0),s++})),r=o}}))}return r}var p="_owner",f=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function m(e,n,i,r){var l=t(e),o=l.length;if(t(n).length!==o)return!1;if(o)for(var s=void 0;o-- >0;){if((s=l[o])===p){var u=a(e),c=a(n);if((u||c)&&u!==c)return!1}if(!f(n,s)||!i(e[s],n[s],r))return!1}return!0}function y(e,n){return e.source===n.source&&e.global===n.global&&e.ignoreCase===n.ignoreCase&&e.multiline===n.multiline&&e.unicode===n.unicode&&e.sticky===n.sticky&&e.lastIndex===n.lastIndex}function _(e,n,t,i){var r=e.size===n.size;if(r&&e.size){var l={};e.forEach((function(e){if(r){var a=!1,o=0;n.forEach((function(n){a||l[o]||(a=t(e,n,i))&&(l[o]=!0),o++})),r=a}}))}return r}var h="function"===typeof Map,g="function"===typeof Set;function v(e){var n="function"===typeof e?e(t):t;function t(e,t,a){if(e===t)return!0;if(e&&t&&"object"===typeof e&&"object"===typeof t){if(r(e)&&r(t))return m(e,t,n,a);var o=Array.isArray(e),s=Array.isArray(t);return o||s?o===s&&c(e,t,n,a):(o=e instanceof Date,s=t instanceof Date,o||s?o===s&&i(e.getTime(),t.getTime()):(o=e instanceof RegExp,s=t instanceof RegExp,o||s?o===s&&y(e,t):l(e)||l(t)?e===t:h&&(o=e instanceof Map,s=t instanceof Map,o||s)?o===s&&d(e,t,n,a):g&&(o=e instanceof Set,s=t instanceof Set,o||s)?o===s&&_(e,t,n,a):m(e,t,n,a)))}return e!==e&&t!==t}return t}var T=v(),b=v((function(){return i})),k=v(u()),R=v(u(i));e.circularDeepEqual=k,e.circularShallowEqual=R,e.createCustomEqual=v,e.deepEqual=T,e.sameValueZeroEqual=i,e.shallowEqual=b,Object.defineProperty(e,"__esModule",{value:!0})}(n)},1975:function(e,n,t){"use strict";var i=t(8309),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function s(e){return i.isMemo(e)?a:o[e.$$typeof]||r}o[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[i.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(n,t,i){if("string"!==typeof t){if(m){var r=f(t);r&&r!==m&&e(n,r,i)}var a=c(t);d&&(a=a.concat(d(t)));for(var o=s(n),y=s(t),_=0;_>>2]>>>24-l%4*8&255;n[i+l>>>2]|=a<<24-(i+l)%4*8}else for(l=0;l>>2]=t[l>>>2];return this.sigBytes+=r,this},clamp:function(){var n=this.words,t=this.sigBytes;n[t>>>2]&=4294967295<<32-t%4*8,n.length=e.ceil(t/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(n){for(var t=[],i=0;i>>2]>>>24-r%4*8&255;i.push((l>>>4).toString(16)),i.push((15&l).toString(16))}return i.join("")},parse:function(e){for(var n=e.length,t=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new l.init(t,n/2)}},s=a.Latin1={stringify:function(e){for(var n=e.words,t=e.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255;i.push(String.fromCharCode(l))}return i.join("")},parse:function(e){for(var n=e.length,t=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new l.init(t,n)}},u=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(s.stringify(e)))}catch(n){throw new Error("Malformed UTF-8 data")}},parse:function(e){return s.parse(unescape(encodeURIComponent(e)))}},c=i.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(n){var t=this._data,i=t.words,r=t.sigBytes,a=this.blockSize,o=r/(4*a),s=(o=n?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*a,u=e.min(4*s,r);if(s){for(var c=0;c>>2]}},n.BlockCipher=s.extend({cfg:s.cfg.extend({mode:u,padding:d}),reset:function(){s.reset.call(this);var e=(n=this.cfg).iv,n=n.mode;if(this._xformMode==this._ENC_XFORM_MODE)var t=n.createEncryptor;else t=n.createDecryptor,this._minBufferSize=1;this._mode=t.call(n,this,e&&e.words)},_doProcessBlock:function(e,n){this._mode.processBlock(e,n)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var n=this._process(!0)}else n=this._process(!0),e.unpad(n);return n},blockSize:4});var p=n.CipherParams=t.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),f=(u=(m.format={}).OpenSSL={stringify:function(e){var n=e.ciphertext;return((e=e.salt)?i.create([1398893684,1701076831]).concat(e).concat(n):n).toString(a)},parse:function(e){var n=(e=a.parse(e)).words;if(1398893684==n[0]&&1701076831==n[1]){var t=i.create(n.slice(2,4));n.splice(0,4),e.sigBytes-=16}return p.create({ciphertext:e,salt:t})}},n.SerializableCipher=t.extend({cfg:t.extend({format:u}),encrypt:function(e,n,t,i){i=this.cfg.extend(i);var r=e.createEncryptor(t,i);return n=r.finalize(n),r=r.cfg,p.create({ciphertext:n,key:t,iv:r.iv,algorithm:e,mode:r.mode,padding:r.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,n,t,i){return i=this.cfg.extend(i),n=this._parse(n,i.format),e.createDecryptor(t,i).finalize(n.ciphertext)},_parse:function(e,n){return"string"==typeof e?n.parse(e,this):e}})),m=(m.kdf={}).OpenSSL={execute:function(e,n,t,r){return r||(r=i.random(8)),e=o.create({keySize:n+t}).compute(e,r),t=i.create(e.words.slice(n),4*t),e.sigBytes=4*n,p.create({key:e,iv:t,salt:r})}},y=n.PasswordBasedCipher=f.extend({cfg:f.cfg.extend({kdf:m}),encrypt:function(e,n,t,i){return t=(i=this.cfg.extend(i)).kdf.execute(t,e.keySize,e.ivSize),i.iv=t.iv,(e=f.encrypt.call(this,e,n,t.key,i)).mixIn(t),e},decrypt:function(e,n,t,i){return i=this.cfg.extend(i),n=this._parse(n,i.format),t=i.kdf.execute(t,e.keySize,e.ivSize,n.salt),i.iv=t.iv,f.decrypt.call(this,e,n,t.key,i)}})}(),function(){for(var e=r,n=e.lib.BlockCipher,t=e.algo,i=[],l=[],a=[],o=[],s=[],u=[],c=[],d=[],p=[],f=[],m=[],y=0;256>y;y++)m[y]=128>y?y<<1:y<<1^283;var _=0,h=0;for(y=0;256>y;y++){var g=(g=h^h<<1^h<<2^h<<3^h<<4)>>>8^255&g^99;i[_]=g,l[g]=_;var v=m[_],T=m[v],b=m[T],k=257*m[g]^16843008*g;a[_]=k<<24|k>>>8,o[_]=k<<16|k>>>16,s[_]=k<<8|k>>>24,u[_]=k,k=16843009*b^65537*T^257*v^16843008*_,c[g]=k<<24|k>>>8,d[g]=k<<16|k>>>16,p[g]=k<<8|k>>>24,f[g]=k,_?(_=v^m[m[m[b^v]]],h^=m[m[h]]):_=h=1}var R=[0,1,2,4,8,16,32,64,128,27,54];t=t.AES=n.extend({_doReset:function(){for(var e=(t=this._key).words,n=t.sigBytes/4,t=4*((this._nRounds=n+6)+1),r=this._keySchedule=[],l=0;l>>24]<<24|i[a>>>16&255]<<16|i[a>>>8&255]<<8|i[255&a]):(a=i[(a=a<<8|a>>>24)>>>24]<<24|i[a>>>16&255]<<16|i[a>>>8&255]<<8|i[255&a],a^=R[l/n|0]<<24),r[l]=r[l-n]^a}for(e=this._invKeySchedule=[],n=0;nn||4>=l?a:c[i[a>>>24]]^d[i[a>>>16&255]]^p[i[a>>>8&255]]^f[i[255&a]]},encryptBlock:function(e,n){this._doCryptBlock(e,n,this._keySchedule,a,o,s,u,i)},decryptBlock:function(e,n){var t=e[n+1];e[n+1]=e[n+3],e[n+3]=t,this._doCryptBlock(e,n,this._invKeySchedule,c,d,p,f,l),t=e[n+1],e[n+1]=e[n+3],e[n+3]=t},_doCryptBlock:function(e,n,t,i,r,l,a,o){for(var s=this._nRounds,u=e[n]^t[0],c=e[n+1]^t[1],d=e[n+2]^t[2],p=e[n+3]^t[3],f=4,m=1;m>>24]^r[c>>>16&255]^l[d>>>8&255]^a[255&p]^t[f++],_=i[c>>>24]^r[d>>>16&255]^l[p>>>8&255]^a[255&u]^t[f++],h=i[d>>>24]^r[p>>>16&255]^l[u>>>8&255]^a[255&c]^t[f++];p=i[p>>>24]^r[u>>>16&255]^l[c>>>8&255]^a[255&d]^t[f++],u=y,c=_,d=h}y=(o[u>>>24]<<24|o[c>>>16&255]<<16|o[d>>>8&255]<<8|o[255&p])^t[f++],_=(o[c>>>24]<<24|o[d>>>16&255]<<16|o[p>>>8&255]<<8|o[255&u])^t[f++],h=(o[d>>>24]<<24|o[p>>>16&255]<<16|o[u>>>8&255]<<8|o[255&c])^t[f++],p=(o[p>>>24]<<24|o[u>>>16&255]<<16|o[c>>>8&255]<<8|o[255&d])^t[f++],e[n]=y,e[n+1]=_,e[n+2]=h,e[n+3]=p},keySize:8});e.AES=n._createHelper(t)}(),function(){function e(e,n){var t=(this._lBlock>>>e^this._rBlock)&n;this._rBlock^=t,this._lBlock^=t<>>e^this._lBlock)&n;this._lBlock^=t,this._rBlock^=t<t;t++){var i=o[t]-1;n[t]=e[i>>>5]>>>31-i%32&1}for(e=this._subKeys=[],i=0;16>i;i++){var r=e[i]=[],l=u[i];for(t=0;24>t;t++)r[t/6|0]|=n[(s[t]-1+l)%28]<<31-t%6,r[4+(t/6|0)]|=n[28+(s[t+24]-1+l)%28]<<31-t%6;for(r[0]=r[0]<<1|r[0]>>>31,t=1;7>t;t++)r[t]>>>=4*(t-1)+3;r[7]=r[7]<<5|r[7]>>>27}for(n=this._invSubKeys=[],t=0;16>t;t++)n[t]=e[15-t]},encryptBlock:function(e,n){this._doCryptBlock(e,n,this._subKeys)},decryptBlock:function(e,n){this._doCryptBlock(e,n,this._invSubKeys)},_doCryptBlock:function(t,i,r){this._lBlock=t[i],this._rBlock=t[i+1],e.call(this,4,252645135),e.call(this,16,65535),n.call(this,2,858993459),n.call(this,8,16711935),e.call(this,1,1431655765);for(var l=0;16>l;l++){for(var a=r[l],o=this._lBlock,s=this._rBlock,u=0,p=0;8>p;p++)u|=c[p][((s^a[p])&d[p])>>>0];this._lBlock=s,this._rBlock=o^u}r=this._lBlock,this._lBlock=this._rBlock,this._rBlock=r,e.call(this,1,1431655765),n.call(this,8,16711935),n.call(this,2,858993459),e.call(this,16,65535),e.call(this,4,252645135),t[i]=this._lBlock,t[i+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});t.DES=l._createHelper(p),a=a.TripleDES=l.extend({_doReset:function(){var e=this._key.words;this._des1=p.createEncryptor(i.create(e.slice(0,2))),this._des2=p.createEncryptor(i.create(e.slice(2,4))),this._des3=p.createEncryptor(i.create(e.slice(4,6)))},encryptBlock:function(e,n){this._des1.encryptBlock(e,n),this._des2.decryptBlock(e,n),this._des3.encryptBlock(e,n)},decryptBlock:function(e,n){this._des3.decryptBlock(e,n),this._des2.encryptBlock(e,n),this._des1.decryptBlock(e,n)},keySize:6,ivSize:2,blockSize:2}),t.TripleDES=l._createHelper(a)}(),function(){var e=r,n=e.lib.WordArray;e.enc.Base64={stringify:function(e){var n=e.words,t=e.sigBytes,i=this._map;e.clamp(),e=[];for(var r=0;r>>2]>>>24-r%4*8&255)<<16|(n[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|n[r+2>>>2]>>>24-(r+2)%4*8&255,a=0;4>a&&r+.75*a>>6*(3-a)&63));if(n=i.charAt(64))for(;e.length%4;)e.push(n);return e.join("")},parse:function(e){var t=e.length,i=this._map;(r=i.charAt(64))&&(-1!=(r=e.indexOf(r))&&(t=r));for(var r=[],l=0,a=0;a>>6-a%4*2;r[l>>>2]|=(o|s)<<24-l%4*8,l++}return n.create(r,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(e){function n(e,n,t,i,r,l,a){return((e=e+(n&t|~n&i)+r+a)<>>32-l)+n}function t(e,n,t,i,r,l,a){return((e=e+(n&i|t&~i)+r+a)<>>32-l)+n}function i(e,n,t,i,r,l,a){return((e=e+(n^t^i)+r+a)<>>32-l)+n}function l(e,n,t,i,r,l,a){return((e=e+(t^(n|~i))+r+a)<>>32-l)+n}for(var a=r,o=(u=a.lib).WordArray,s=u.Hasher,u=a.algo,c=[],d=0;64>d;d++)c[d]=4294967296*e.abs(e.sin(d+1))|0;u=u.MD5=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,r){for(var a=0;16>a;a++){var o=e[s=r+a];e[s]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}a=this._hash.words;var s=e[r+0],u=(o=e[r+1],e[r+2]),d=e[r+3],p=e[r+4],f=e[r+5],m=e[r+6],y=e[r+7],_=e[r+8],h=e[r+9],g=e[r+10],v=e[r+11],T=e[r+12],b=e[r+13],k=e[r+14],R=e[r+15],N=n(N=a[0],C=a[1],x=a[2],E=a[3],s,7,c[0]),E=n(E,N,C,x,o,12,c[1]),x=n(x,E,N,C,u,17,c[2]),C=n(C,x,E,N,d,22,c[3]);N=n(N,C,x,E,p,7,c[4]),E=n(E,N,C,x,f,12,c[5]),x=n(x,E,N,C,m,17,c[6]),C=n(C,x,E,N,y,22,c[7]),N=n(N,C,x,E,_,7,c[8]),E=n(E,N,C,x,h,12,c[9]),x=n(x,E,N,C,g,17,c[10]),C=n(C,x,E,N,v,22,c[11]),N=n(N,C,x,E,T,7,c[12]),E=n(E,N,C,x,b,12,c[13]),x=n(x,E,N,C,k,17,c[14]),N=t(N,C=n(C,x,E,N,R,22,c[15]),x,E,o,5,c[16]),E=t(E,N,C,x,m,9,c[17]),x=t(x,E,N,C,v,14,c[18]),C=t(C,x,E,N,s,20,c[19]),N=t(N,C,x,E,f,5,c[20]),E=t(E,N,C,x,g,9,c[21]),x=t(x,E,N,C,R,14,c[22]),C=t(C,x,E,N,p,20,c[23]),N=t(N,C,x,E,h,5,c[24]),E=t(E,N,C,x,k,9,c[25]),x=t(x,E,N,C,d,14,c[26]),C=t(C,x,E,N,_,20,c[27]),N=t(N,C,x,E,b,5,c[28]),E=t(E,N,C,x,u,9,c[29]),x=t(x,E,N,C,y,14,c[30]),N=i(N,C=t(C,x,E,N,T,20,c[31]),x,E,f,4,c[32]),E=i(E,N,C,x,_,11,c[33]),x=i(x,E,N,C,v,16,c[34]),C=i(C,x,E,N,k,23,c[35]),N=i(N,C,x,E,o,4,c[36]),E=i(E,N,C,x,p,11,c[37]),x=i(x,E,N,C,y,16,c[38]),C=i(C,x,E,N,g,23,c[39]),N=i(N,C,x,E,b,4,c[40]),E=i(E,N,C,x,s,11,c[41]),x=i(x,E,N,C,d,16,c[42]),C=i(C,x,E,N,m,23,c[43]),N=i(N,C,x,E,h,4,c[44]),E=i(E,N,C,x,T,11,c[45]),x=i(x,E,N,C,R,16,c[46]),N=l(N,C=i(C,x,E,N,u,23,c[47]),x,E,s,6,c[48]),E=l(E,N,C,x,y,10,c[49]),x=l(x,E,N,C,k,15,c[50]),C=l(C,x,E,N,f,21,c[51]),N=l(N,C,x,E,T,6,c[52]),E=l(E,N,C,x,d,10,c[53]),x=l(x,E,N,C,g,15,c[54]),C=l(C,x,E,N,o,21,c[55]),N=l(N,C,x,E,_,6,c[56]),E=l(E,N,C,x,R,10,c[57]),x=l(x,E,N,C,m,15,c[58]),C=l(C,x,E,N,b,21,c[59]),N=l(N,C,x,E,p,6,c[60]),E=l(E,N,C,x,v,10,c[61]),x=l(x,E,N,C,u,15,c[62]),C=l(C,x,E,N,h,21,c[63]);a[0]=a[0]+N|0,a[1]=a[1]+C|0,a[2]=a[2]+x|0,a[3]=a[3]+E|0},_doFinalize:function(){var n=this._data,t=n.words,i=8*this._nDataBytes,r=8*n.sigBytes;t[r>>>5]|=128<<24-r%32;var l=e.floor(i/4294967296);for(t[15+(r+64>>>9<<4)]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),t[14+(r+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n.sigBytes=4*(t.length+1),this._process(),t=(n=this._hash).words,i=0;4>i;i++)r=t[i],t[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8);return n},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),a.MD5=s._createHelper(u),a.HmacMD5=s._createHmacHelper(u)}(Math),function(){var e=r,n=(l=e.lib).WordArray,t=l.Hasher,i=[],l=e.algo.SHA1=t.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,n){for(var t=this._hash.words,r=t[0],l=t[1],a=t[2],o=t[3],s=t[4],u=0;80>u;u++){if(16>u)i[u]=0|e[n+u];else{var c=i[u-3]^i[u-8]^i[u-14]^i[u-16];i[u]=c<<1|c>>>31}c=(r<<5|r>>>27)+s+i[u],c=20>u?c+(1518500249+(l&a|~l&o)):40>u?c+(1859775393+(l^a^o)):60>u?c+((l&a|l&o|a&o)-1894007588):c+((l^a^o)-899497514),s=o,o=a,a=l<<30|l>>>2,l=r,r=c}t[0]=t[0]+r|0,t[1]=t[1]+l|0,t[2]=t[2]+a|0,t[3]=t[3]+o|0,t[4]=t[4]+s|0},_doFinalize:function(){var e=this._data,n=e.words,t=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=Math.floor(t/4294967296),n[15+(i+64>>>9<<4)]=t,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=t._createHelper(l),e.HmacSHA1=t._createHmacHelper(l)}(),function(e){for(var n=r,t=(l=n.lib).WordArray,i=l.Hasher,l=n.algo,a=[],o=[],s=function(e){return 4294967296*(e-(0|e))|0},u=2,c=0;64>c;){var d;e:{d=u;for(var p=e.sqrt(d),f=2;f<=p;f++)if(!(d%f)){d=!1;break e}d=!0}d&&(8>c&&(a[c]=s(e.pow(u,.5))),o[c]=s(e.pow(u,1/3)),c++),u++}var m=[];l=l.SHA256=i.extend({_doReset:function(){this._hash=new t.init(a.slice(0))},_doProcessBlock:function(e,n){for(var t=this._hash.words,i=t[0],r=t[1],l=t[2],a=t[3],s=t[4],u=t[5],c=t[6],d=t[7],p=0;64>p;p++){if(16>p)m[p]=0|e[n+p];else{var f=m[p-15],y=m[p-2];m[p]=((f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3)+m[p-7]+((y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10)+m[p-16]}f=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&c)+o[p]+m[p],y=((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+(i&r^i&l^r&l),d=c,c=u,u=s,s=a+f|0,a=l,l=r,r=i,i=f+y|0}t[0]=t[0]+i|0,t[1]=t[1]+r|0,t[2]=t[2]+l|0,t[3]=t[3]+a|0,t[4]=t[4]+s|0,t[5]=t[5]+u|0,t[6]=t[6]+c|0,t[7]=t[7]+d|0},_doFinalize:function(){var n=this._data,t=n.words,i=8*this._nDataBytes,r=8*n.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=e.floor(i/4294967296),t[15+(r+64>>>9<<4)]=i,n.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(l),n.HmacSHA256=i._createHmacHelper(l)}(Math),function(){var e=r,n=e.lib.WordArray,t=(i=e.algo).SHA256,i=i.SHA224=t.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=t._doFinalize.call(this);return e.sigBytes-=4,e}});e.SHA224=t._createHelper(i),e.HmacSHA224=t._createHmacHelper(i)}(),function(){function e(){return i.create.apply(i,arguments)}for(var n=r,t=n.lib.Hasher,i=(a=n.x64).Word,l=a.WordArray,a=n.algo,o=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],s=[],u=0;80>u;u++)s[u]=e();a=a.SHA512=t.extend({_doReset:function(){this._hash=new l.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,n){for(var t=(d=this._hash.words)[0],i=d[1],r=d[2],l=d[3],a=d[4],u=d[5],c=d[6],d=d[7],p=t.high,f=t.low,m=i.high,y=i.low,_=r.high,h=r.low,g=l.high,v=l.low,T=a.high,b=a.low,k=u.high,R=u.low,N=c.high,E=c.low,x=d.high,C=d.low,S=p,w=f,D=m,A=y,O=_,L=h,I=g,U=v,P=T,V=b,B=k,M=R,F=N,j=E,J=x,Z=C,z=0;80>z;z++){var H=s[z];if(16>z)var q=H.high=0|e[n+2*z],W=H.low=0|e[n+2*z+1];else{q=((W=(q=s[z-15]).high)>>>1|(G=q.low)<<31)^(W>>>8|G<<24)^W>>>7;var G=(G>>>1|W<<31)^(G>>>8|W<<24)^(G>>>7|W<<25),K=((W=(K=s[z-2]).high)>>>19|($=K.low)<<13)^(W<<3|$>>>29)^W>>>6,$=($>>>19|W<<13)^($<<3|W>>>29)^($>>>6|W<<26),Y=(W=s[z-7]).high,Q=(X=s[z-16]).high,X=X.low;q=(q=(q=q+Y+((W=G+W.low)>>>0>>0?1:0))+K+((W=W+$)>>>0<$>>>0?1:0))+Q+((W=W+X)>>>0>>0?1:0);H.high=q,H.low=W}Y=P&B^~P&F,X=V&M^~V&j,H=S&D^S&O^D&O;var ee=w&A^w&L^A&L,ne=(G=(S>>>28|w<<4)^(S<<30|w>>>2)^(S<<25|w>>>7),K=(w>>>28|S<<4)^(w<<30|S>>>2)^(w<<25|S>>>7),($=o[z]).high),te=$.low;Q=J+((P>>>14|V<<18)^(P>>>18|V<<14)^(P<<23|V>>>9))+(($=Z+((V>>>14|P<<18)^(V>>>18|P<<14)^(V<<23|P>>>9)))>>>0>>0?1:0),J=F,Z=j,F=B,j=M,B=P,M=V,P=I+(Q=(Q=(Q=Q+Y+(($=$+X)>>>0>>0?1:0))+ne+(($=$+te)>>>0>>0?1:0))+q+(($=$+W)>>>0>>0?1:0))+((V=U+$|0)>>>0>>0?1:0)|0,I=O,U=L,O=D,L=A,D=S,A=w,S=Q+(H=G+H+((W=K+ee)>>>0>>0?1:0))+((w=$+W|0)>>>0<$>>>0?1:0)|0}f=t.low=f+w,t.high=p+S+(f>>>0>>0?1:0),y=i.low=y+A,i.high=m+D+(y>>>0>>0?1:0),h=r.low=h+L,r.high=_+O+(h>>>0>>0?1:0),v=l.low=v+U,l.high=g+I+(v>>>0>>0?1:0),b=a.low=b+V,a.high=T+P+(b>>>0>>0?1:0),R=u.low=R+M,u.high=k+B+(R>>>0>>0?1:0),E=c.low=E+j,c.high=N+F+(E>>>0>>0?1:0),C=d.low=C+Z,d.high=x+J+(C>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,n=e.words,t=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[30+(i+128>>>10<<5)]=Math.floor(t/4294967296),n[31+(i+128>>>10<<5)]=t,e.sigBytes=4*n.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32}),n.SHA512=t._createHelper(a),n.HmacSHA512=t._createHmacHelper(a)}(),function(){var e=r,n=(l=e.x64).Word,t=l.WordArray,i=(l=e.algo).SHA512,l=l.SHA384=i.extend({_doReset:function(){this._hash=new t.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=16,e}});e.SHA384=i._createHelper(l),e.HmacSHA384=i._createHmacHelper(l)}(),function(){var e=r,n=(i=e.lib).WordArray,t=i.Hasher,i=e.algo,l=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),o=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),s=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=n.create([0,1518500249,1859775393,2400959708,2840853838]),c=n.create([1352829926,1548603684,1836072691,2053994217,0]);i=i.RIPEMD160=t.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,n){for(var t=0;16>t;t++){var i=e[T=n+t];e[T]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var r,d,p,f,m,y,_,h,g,v,T=this._hash.words,b=(i=u.words,c.words),k=l.words,R=a.words,N=o.words,E=s.words;y=r=T[0],_=d=T[1],h=p=T[2],g=f=T[3],v=m=T[4];var x;for(t=0;80>t;t+=1)x=r+e[n+k[t]]|0,x=16>t?x+((d^p^f)+i[0]):32>t?x+((d&p|~d&f)+i[1]):48>t?x+(((d|~p)^f)+i[2]):64>t?x+((d&f|p&~f)+i[3]):x+((d^(p|~f))+i[4]),x=(x=(x|=0)<>>32-N[t])+m|0,r=m,m=f,f=p<<10|p>>>22,p=d,d=x,x=y+e[n+R[t]]|0,x=16>t?x+((_^(h|~g))+b[0]):32>t?x+((_&g|h&~g)+b[1]):48>t?x+(((_|~h)^g)+b[2]):64>t?x+((_&h|~_&g)+b[3]):x+((_^h^g)+b[4]),x=(x=(x|=0)<>>32-E[t])+v|0,y=v,v=g,g=h<<10|h>>>22,h=_,_=x;x=T[1]+p+g|0,T[1]=T[2]+f+v|0,T[2]=T[3]+m+y|0,T[3]=T[4]+r+_|0,T[4]=T[0]+d+h|0,T[0]=x},_doFinalize:function(){var e=this._data,n=e.words,t=8*this._nDataBytes,i=8*e.sigBytes;for(n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=16711935&(t<<8|t>>>24)|4278255360&(t<<24|t>>>8),e.sigBytes=4*(n.length+1),this._process(),n=(e=this._hash).words,t=0;5>t;t++)i=n[t],n[t]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8);return e},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e}});e.RIPEMD160=t._createHelper(i),e.HmacRIPEMD160=t._createHmacHelper(i)}(Math),function(){var e=r,n=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var i=e.blockSize,r=4*i;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var l=this._oKey=t.clone(),a=this._iKey=t.clone(),o=l.words,s=a.words,u=0;u>6)+a.charAt(63&t);for(n+1==e.length?(t=parseInt(e.substring(n,n+1),16),i+=a.charAt(t<<2)):n+2==e.length&&(t=parseInt(e.substring(n,n+2),16),i+=a.charAt(t>>2)+a.charAt((3&t)<<4)),"=";(3&i.length)>0;)i+="=";return i}function s(e){var n,t,i,r="",l=0;for(n=0;n>2),t=3&i,l=1):1==l?(r+=y(t<<2|i>>4),t=15&i,l=2):2==l?(r+=y(t),r+=y(i>>2),t=3&i,l=3):(r+=y(t<<2|i>>4),r+=y(15&i),l=0));return 1==l&&(r+=y(t<<2)),r}function u(e){var n,t=s(e),i=new Array;for(n=0;2*n>15;--l>=0;){var s=32767&this[e],u=this[e++]>>15,c=o*s+u*a;r=((s=a*s+((32767&c)<<15)+t[i]+(1073741823&r))>>>30)+(c>>>15)+o*u+(r>>>30),t[i++]=1073741823&s}return r},l=30):"Netscape"!=t.appName?(c.prototype.am=function(e,n,t,i,r,l){for(;--l>=0;){var a=n*this[e++]+t[i]+r;r=Math.floor(a/67108864),t[i++]=67108863&a}return r},l=26):(c.prototype.am=function(e,n,t,i,r,l){for(var a=16383&n,o=n>>14;--l>=0;){var s=16383&this[e],u=this[e++]>>14,c=o*s+u*a;r=((s=a*s+((16383&c)<<14)+t[i]+r)>>28)+(c>>14)+o*u,t[i++]=268435455&s}return r},l=28),c.prototype.DB=l,c.prototype.DM=(1<>>16)&&(e=n,t+=16),0!=(n=e>>8)&&(e=n,t+=8),0!=(n=e>>4)&&(e=n,t+=4),0!=(n=e>>2)&&(e=n,t+=2),0!=(n=e>>1)&&(e=n,t+=1),t}function v(e){this.m=e}function T(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,n+=16),0==(255&e)&&(e>>=8,n+=8),0==(15&e)&&(e>>=4,n+=4),0==(3&e)&&(e>>=2,n+=2),0==(1&e)&&++n,n}function x(e){for(var n=0;0!=e;)e&=e-1,++n;return n}function C(){}function S(e){return e}function w(e){this.r2=d(),this.q3=d(),c.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}v.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},v.prototype.revert=function(e){return e},v.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},v.prototype.mulTo=function(e,n,t){e.multiplyTo(n,t),this.reduce(t)},v.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},T.prototype.convert=function(e){var n=d();return e.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),e.s<0&&n.compareTo(c.ZERO)>0&&this.m.subTo(n,n),n},T.prototype.revert=function(e){var n=d();return e.copyTo(n),this.reduce(n),n},T.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var n=0;n>15)*this.mpl&this.um)<<15)&e.DM;for(e[t=n+this.m.t]+=this.m.am(0,i,e,n,0,this.m.t);e[t]>=e.DV;)e[t]-=e.DV,e[++t]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},T.prototype.mulTo=function(e,n,t){e.multiplyTo(n,t),this.reduce(t)},T.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},c.prototype.copyTo=function(e){for(var n=this.t-1;n>=0;--n)e[n]=this[n];e.t=this.t,e.s=this.s},c.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},c.prototype.fromString=function(e,n){var t;if(16==n)t=4;else if(8==n)t=3;else if(256==n)t=8;else if(2==n)t=1;else if(32==n)t=5;else{if(4!=n)return void this.fromRadix(e,n);t=2}this.t=0,this.s=0;for(var i=e.length,r=!1,l=0;--i>=0;){var a=8==t?255&e[i]:_(e,i);a<0?"-"==e.charAt(i)&&(r=!0):(r=!1,0==l?this[this.t++]=a:l+t>this.DB?(this[this.t-1]|=(a&(1<>this.DB-l):this[this.t-1]|=a<=this.DB&&(l-=this.DB))}8==t&&0!=(128&e[0])&&(this.s=-1,l>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},c.prototype.dlShiftTo=function(e,n){var t;for(t=this.t-1;t>=0;--t)n[t+e]=this[t];for(t=e-1;t>=0;--t)n[t]=0;n.t=this.t+e,n.s=this.s},c.prototype.drShiftTo=function(e,n){for(var t=e;t=0;--t)n[t+a+1]=this[t]>>r|o,o=(this[t]&l)<=0;--t)n[t]=0;n[a]=o,n.t=this.t+a+1,n.s=this.s,n.clamp()},c.prototype.rShiftTo=function(e,n){n.s=this.s;var t=Math.floor(e/this.DB);if(t>=this.t)n.t=0;else{var i=e%this.DB,r=this.DB-i,l=(1<>i;for(var a=t+1;a>i;i>0&&(n[this.t-t-1]|=(this.s&l)<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;t>=this.DB;i-=e.s}n.s=i<0?-1:0,i<-1?n[t++]=this.DV+i:i>0&&(n[t++]=i),n.t=t,n.clamp()},c.prototype.multiplyTo=function(e,n){var t=this.abs(),i=e.abs(),r=t.t;for(n.t=r+i.t;--r>=0;)n[r]=0;for(r=0;r=0;)e[t]=0;for(t=0;t=n.DV&&(e[t+n.t]-=n.DV,e[t+n.t+1]=1)}e.t>0&&(e[e.t-1]+=n.am(t,n[t],e,2*t,0,1)),e.s=0,e.clamp()},c.prototype.divRemTo=function(e,n,t){var i=e.abs();if(!(i.t<=0)){var r=this.abs();if(r.t0?(i.lShiftTo(s,l),r.lShiftTo(s,t)):(i.copyTo(l),r.copyTo(t));var u=l.t,p=l[u-1];if(0!=p){var f=p*(1<1?l[u-2]>>this.F2:0),m=this.FV/f,y=(1<=0&&(t[t.t++]=1,t.subTo(T,t)),c.ONE.dlShiftTo(u,T),T.subTo(l,l);l.t=0;){var b=t[--h]==p?this.DM:Math.floor(t[h]*m+(t[h-1]+_)*y);if((t[h]+=l.am(0,b,t,v,0,u))0&&t.rShiftTo(s,t),a<0&&c.ZERO.subTo(t,t)}}},c.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var n=3&e;return(n=(n=(n=(n=n*(2-(15&e)*n)&15)*(2-(255&e)*n)&255)*(2-((65535&e)*n&65535))&65535)*(2-e*n%this.DV)%this.DV)>0?this.DV-n:-n},c.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},c.prototype.exp=function(e,n){if(e>4294967295||e<1)return c.ONE;var t=d(),i=d(),r=n.convert(this),l=g(e)-1;for(r.copyTo(t);--l>=0;)if(n.sqrTo(t,i),(e&1<0)n.mulTo(i,r,t);else{var a=t;t=i,i=a}return n.revert(t)},c.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var n;if(16==e)n=4;else if(8==e)n=3;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)return this.toRadix(e);n=2}var t,i=(1<0)for(o>o)>0&&(r=!0,l=y(t));a>=0;)o>(o+=this.DB-n)):(t=this[a]>>(o-=n)&i,o<=0&&(o+=this.DB,--a)),t>0&&(r=!0),r&&(l+=y(t));return r?l:"0"},c.prototype.negate=function(){var e=d();return c.ZERO.subTo(this,e),e},c.prototype.abs=function(){return this.s<0?this.negate():this},c.prototype.compareTo=function(e){var n=this.s-e.s;if(0!=n)return n;var t=this.t;if(0!=(n=t-e.t))return this.s<0?-n:n;for(;--t>=0;)if(0!=(n=this[t]-e[t]))return n;return 0},c.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+g(this[this.t-1]^this.s&this.DM)},c.prototype.mod=function(e){var n=d();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(c.ZERO)>0&&e.subTo(n,n),n},c.prototype.modPowInt=function(e,n){var t;return t=e<256||n.isEven()?new v(n):new T(n),this.exp(e,t)},c.ZERO=h(0),c.ONE=h(1),C.prototype.convert=S,C.prototype.revert=S,C.prototype.mulTo=function(e,n,t){e.multiplyTo(n,t)},C.prototype.sqrTo=function(e,n){e.squareTo(n)},w.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var n=d();return e.copyTo(n),this.reduce(n),n},w.prototype.revert=function(e){return e},w.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},w.prototype.mulTo=function(e,n,t){e.multiplyTo(n,t),this.reduce(t)},w.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)};var D=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],A=(1<<26)/D[D.length-1];function O(){this.i=0,this.j=0,this.S=new Array}c.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},c.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var n=this.chunkSize(e),t=Math.pow(e,n),i=h(t),r=d(),l=d(),a="";for(this.divRemTo(i,r,l);r.signum()>0;)a=(t+l.intValue()).toString(e).substr(1)+a,r.divRemTo(i,r,l);return l.intValue().toString(e)+a},c.prototype.fromRadix=function(e,n){this.fromInt(0),null==n&&(n=10);for(var t=this.chunkSize(n),i=Math.pow(n,t),r=!1,l=0,a=0,o=0;o=t&&(this.dMultiply(i),this.dAddOffset(a,0),l=0,a=0))}l>0&&(this.dMultiply(Math.pow(n,l)),this.dAddOffset(a,0)),r&&c.ZERO.subTo(this,this)},c.prototype.fromNumber=function(e,n,t){if("number"==typeof n)if(e<2)this.fromInt(1);else for(this.fromNumber(e,t),this.testBit(e-1)||this.bitwiseTo(c.ONE.shiftLeft(e-1),k,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(c.ONE.shiftLeft(e-1),this);else{var i=new Array,r=7&e;i.length=1+(e>>3),n.nextBytes(i),r>0?i[0]&=(1<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;t>=this.DB;i+=e.s}n.s=i<0?-1:0,i>0?n[t++]=i:i<-1&&(n[t++]=this.DV+i),n.t=t,n.clamp()},c.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},c.prototype.dAddOffset=function(e,n){if(0!=e){for(;this.t<=n;)this[this.t++]=0;for(this[n]+=e;this[n]>=this.DV;)this[n]-=this.DV,++n>=this.t&&(this[this.t++]=0),++this[n]}},c.prototype.multiplyLowerTo=function(e,n,t){var i,r=Math.min(this.t+e.t,n);for(t.s=0,t.t=r;r>0;)t[--r]=0;for(i=t.t-this.t;r=0;)t[i]=0;for(i=Math.max(n-this.t,0);i0)if(0==n)t=this[0]%e;else for(var i=this.t-1;i>=0;--i)t=(n*t+this[i])%e;return t},c.prototype.millerRabin=function(e){var n=this.subtract(c.ONE),t=n.getLowestSetBit();if(t<=0)return!1;var i=n.shiftRight(t);(e=e+1>>1)>D.length&&(e=D.length);for(var r=d(),l=0;l>24},c.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},c.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},c.prototype.toByteArray=function(){var e=this.t,n=new Array;n[0]=this.s;var t,i=this.DB-e*this.DB%8,r=0;if(e-- >0)for(i>i)!=(this.s&this.DM)>>i&&(n[r++]=t|this.s<=0;)i<8?(t=(this[e]&(1<>(i+=this.DB-8)):(t=this[e]>>(i-=8)&255,i<=0&&(i+=this.DB,--e)),0!=(128&t)&&(t|=-256),0==r&&(128&this.s)!=(128&t)&&++r,(r>0||t!=this.s)&&(n[r++]=t);return n},c.prototype.equals=function(e){return 0==this.compareTo(e)},c.prototype.min=function(e){return this.compareTo(e)<0?this:e},c.prototype.max=function(e){return this.compareTo(e)>0?this:e},c.prototype.and=function(e){var n=d();return this.bitwiseTo(e,b,n),n},c.prototype.or=function(e){var n=d();return this.bitwiseTo(e,k,n),n},c.prototype.xor=function(e){var n=d();return this.bitwiseTo(e,R,n),n},c.prototype.andNot=function(e){var n=d();return this.bitwiseTo(e,N,n),n},c.prototype.not=function(){for(var e=d(),n=0;n=this.t?0!=this.s:0!=(this[n]&1<1){var c=d();for(i.sqrTo(a[1],c);o<=u;)a[o]=d(),i.mulTo(c,a[o-2],a[o]),o+=2}var p,f,m=e.t-1,y=!0,_=d();for(r=g(e[m])-1;m>=0;){for(r>=s?p=e[m]>>r-s&u:(p=(e[m]&(1<0&&(p|=e[m-1]>>this.DB+r-s)),o=t;0==(1&p);)p>>=1,--o;if((r-=o)<0&&(r+=this.DB,--m),y)a[p].copyTo(l),y=!1;else{for(;o>1;)i.sqrTo(l,_),i.sqrTo(_,l),o-=2;o>0?i.sqrTo(l,_):(f=l,l=_,_=f),i.mulTo(_,a[p],l)}for(;m>=0&&0==(e[m]&1<=0?(t.subTo(i,t),n&&r.subTo(a,r),l.subTo(o,l)):(i.subTo(t,i),n&&a.subTo(r,a),o.subTo(l,o))}return 0!=i.compareTo(c.ONE)?c.ZERO:o.compareTo(e)>=0?o.subtract(e):o.signum()<0?(o.addTo(e,o),o.signum()<0?o.add(e):o):o},c.prototype.pow=function(e){return this.exp(e,new C)},c.prototype.gcd=function(e){var n=this.s<0?this.negate():this.clone(),t=e.s<0?e.negate():e.clone();if(n.compareTo(t)<0){var i=n;n=t,t=i}var r=n.getLowestSetBit(),l=t.getLowestSetBit();if(l<0)return n;for(r0&&(n.rShiftTo(l,n),t.rShiftTo(l,t));n.signum()>0;)(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),(r=t.getLowestSetBit())>0&&t.rShiftTo(r,t),n.compareTo(t)>=0?(n.subTo(t,n),n.rShiftTo(1,n)):(t.subTo(n,t),t.rShiftTo(1,t));return l>0&&t.lShiftTo(l,t),t},c.prototype.isProbablePrime=function(e){var n,t=this.abs();if(1==t.t&&t[0]<=D[D.length-1]){for(n=0;n>8&255,I[U++]^=e>>16&255,I[U++]^=e>>24&255,U>=256&&(U-=256)}if(null==I){var V;if(I=new Array,U=0,void 0!==i&&(void 0!==i.crypto||void 0!==i.msCrypto)){var B=i.crypto||i.msCrypto;if(B.getRandomValues){var M=new Uint8Array(32);for(B.getRandomValues(M),V=0;V<32;++V)I[U++]=M[V]}else if("Netscape"==t.appName&&t.appVersion<"5"){var F=i.crypto.random(32);for(V=0;V>>8,I[U++]=255&V;U=0,P()}function j(){if(null==L){for(P(),(L=new O).init(I),U=0;U>24,(16711680&r)>>16,(65280&r)>>8,255&r]))),r+=1;return i}function H(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function q(e,n,t){for(var i="",r=0;i.length>24,(16711680&r)>>16,(65280&r)>>8,255&r])),r+=1;return i}function W(e,n){this.x=n,this.q=e}function G(e,n,t,i){this.curve=e,this.x=n,this.y=t,this.z=null==i?c.ONE:i,this.zinv=null}function K(e,n,t){this.q=e,this.a=this.fromBigInteger(n),this.b=this.fromBigInteger(t),this.infinity=new G(this,null,null)}J.prototype.nextBytes=function(e){var n;for(n=0;n0&&n.length>0))throw"Invalid RSA public key";this.n=Z(e,16),this.e=parseInt(n,16)}},H.prototype.encrypt=function(e){var n=function(e,n){if(n=0&&n>0;){var r=e.charCodeAt(i--);r<128?t[--n]=r:r>127&&r<2048?(t[--n]=63&r|128,t[--n]=r>>6|192):(t[--n]=63&r|128,t[--n]=r>>6&63|128,t[--n]=r>>12|224)}t[--n]=0;for(var l=new J,a=new Array;n>2;){for(a[0]=0;0==a[0];)l.nextBytes(a);t[--n]=a[0]}return t[--n]=2,t[--n]=0,new c(t)}(e,this.n.bitLength()+7>>3);if(null==n)return null;var t=this.doPublic(n);if(null==t)return null;var i=t.toString(16);return 0==(1&i.length)?i:"0"+i},H.prototype.encryptOAEP=function(e,n,t){var i=function(e,n,t,i){var r=Y.crypto.MessageDigest,l=Y.crypto.Util,a=null;if(t||(t="sha1"),"string"===typeof t&&(a=r.getCanonicalAlgName(t),i=r.getHashLength(a),t=function(e){return de(l.hashHex(pe(e),a))}),e.length+2*i+2>n)throw"Message too long for RSA";var o,s="";for(o=0;o>3,n,t);if(null==i)return null;var r=this.doPublic(i);if(null==r)return null;var l=r.toString(16);return 0==(1&l.length)?l:"0"+l},H.prototype.type="RSA",H.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);for(var n=e.mod(this.p).modPow(this.dmp1,this.p),t=e.mod(this.q).modPow(this.dmq1,this.q);n.compareTo(t)<0;)n=n.add(this.p);return n.subtract(t).multiply(this.coeff).mod(this.p).multiply(this.q).add(t)},H.prototype.setPrivate=function(e,n,t){if(this.isPrivate=!0,"string"!==typeof e)this.n=e,this.e=n,this.d=t;else{if(!(null!=e&&null!=n&&e.length>0&&n.length>0))throw"Invalid RSA private key";this.n=Z(e,16),this.e=parseInt(n,16),this.d=Z(t,16)}},H.prototype.setPrivateEx=function(e,n,t,i,r,l,a,o){if(this.isPrivate=!0,this.isPublic=!1,null==e)throw"RSASetPrivateEx N == null";if(null==n)throw"RSASetPrivateEx E == null";if(0==e.length)throw"RSASetPrivateEx N.length == 0";if(0==n.length)throw"RSASetPrivateEx E.length == 0";if(!(null!=e&&null!=n&&e.length>0&&n.length>0))throw"Invalid RSA private key in RSASetPrivateEx";this.n=Z(e,16),this.e=parseInt(n,16),this.d=Z(t,16),this.p=Z(i,16),this.q=Z(r,16),this.dmp1=Z(l,16),this.dmq1=Z(a,16),this.coeff=Z(o,16)},H.prototype.generate=function(e,n){var t=new J,i=e>>1;this.e=parseInt(n,16);for(var r=new c(n,16);;){for(;this.p=new c(e-i,1,t),0!=this.p.subtract(c.ONE).gcd(r).compareTo(c.ONE)||!this.p.isProbablePrime(10););for(;this.q=new c(i,1,t),0!=this.q.subtract(c.ONE).gcd(r).compareTo(c.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var l=this.p;this.p=this.q,this.q=l}var a=this.p.subtract(c.ONE),o=this.q.subtract(c.ONE),s=a.multiply(o);if(0==s.gcd(r).compareTo(c.ONE)&&(this.n=this.p.multiply(this.q),this.n.bitLength()==e)){this.d=r.modInverse(s),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(o),this.coeff=this.q.modInverse(this.p);break}}this.isPrivate=!0},H.prototype.decrypt=function(e){if(e.length!=Math.ceil(this.n.bitLength()/4))throw new Error("wrong ctext length");var n=Z(e,16),t=this.doPrivate(n);return null==t?null:function(e,n){for(var t=e.toByteArray(),i=0;i=t.length)return null;for(var r="";++i191&&l<224?(r+=String.fromCharCode((31&l)<<6|63&t[i+1]),++i):(r+=String.fromCharCode((15&l)<<12|(63&t[i+1])<<6|63&t[i+2]),i+=2)}return r}(t,this.n.bitLength()+7>>3)},H.prototype.decryptOAEP=function(e,n,t){if(e.length!=Math.ceil(this.n.bitLength()/4))throw new Error("wrong ctext length");var i=Z(e,16),r=this.doPrivate(i);return null==r?null:function(e,n,t,i){var r=Y.crypto.MessageDigest,l=Y.crypto.Util,a=null;for(t||(t="sha1"),"string"===typeof t&&(a=r.getCanonicalAlgName(t),i=r.getHashLength(a),t=function(e){return de(l.hashHex(pe(e),a))}),e=e.toByteArray(),o=0;o>3,n,t)},W.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},W.prototype.toBigInteger=function(){return this.x},W.prototype.negate=function(){return new W(this.q,this.x.negate().mod(this.q))},W.prototype.add=function(e){return new W(this.q,this.x.add(e.toBigInteger()).mod(this.q))},W.prototype.subtract=function(e){return new W(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},W.prototype.multiply=function(e){return new W(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},W.prototype.square=function(){return new W(this.q,this.x.square().mod(this.q))},W.prototype.divide=function(e){return new W(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},G.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},G.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},G.prototype.equals=function(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(c.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(c.ZERO))},G.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(c.ZERO)&&!this.y.toBigInteger().equals(c.ZERO)},G.prototype.negate=function(){return new G(this.curve,this.x,this.y.negate(),this.z)},G.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),t=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(c.ZERO.equals(t))return c.ZERO.equals(n)?this.twice():this.curve.getInfinity();var i=new c("3"),r=this.x.toBigInteger(),l=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),t.square()),o=a.multiply(t),s=r.multiply(a),u=n.square().multiply(this.z),d=u.subtract(s.shiftLeft(1)).multiply(e.z).subtract(o).multiply(t).mod(this.curve.q),p=s.multiply(i).multiply(n).subtract(l.multiply(o)).subtract(u.multiply(n)).multiply(e.z).add(n.multiply(o)).mod(this.curve.q),f=o.multiply(this.z).multiply(e.z).mod(this.curve.q);return new G(this.curve,this.curve.fromBigInteger(d),this.curve.fromBigInteger(p),f)},G.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new c("3"),n=this.x.toBigInteger(),t=this.y.toBigInteger(),i=t.multiply(this.z),r=i.multiply(t).mod(this.curve.q),l=this.curve.a.toBigInteger(),a=n.square().multiply(e);c.ZERO.equals(l)||(a=a.add(this.z.square().multiply(l)));var o=(a=a.mod(this.curve.q)).square().subtract(n.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(i).mod(this.curve.q),s=a.multiply(e).multiply(n).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).subtract(a.square().multiply(a)).mod(this.curve.q),u=i.square().multiply(i).shiftLeft(3).mod(this.curve.q);return new G(this.curve,this.curve.fromBigInteger(o),this.curve.fromBigInteger(s),u)},G.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var n,t=e,i=t.multiply(new c("3")),r=this.negate(),l=this,a=this.curve.q.subtract(e),o=a.multiply(new c("3")),s=new G(this.curve,this.x,this.y),u=s.negate();for(n=i.bitLength()-2;n>0;--n){l=l.twice();var d=i.testBit(n);d!=t.testBit(n)&&(l=l.add(d?this:r))}for(n=o.bitLength()-2;n>0;--n){s=s.twice();var p=o.testBit(n);p!=a.testBit(n)&&(s=s.add(p?s:u))}return l},G.prototype.multiplyTwo=function(e,n,t){var i;i=e.bitLength()>t.bitLength()?e.bitLength()-1:t.bitLength()-1;for(var r=this.curve.getInfinity(),l=this.add(n);i>=0;)r=r.twice(),e.testBit(i)?r=t.testBit(i)?r.add(l):r.add(this):t.testBit(i)&&(r=r.add(n)),--i;return r},K.prototype.getQ=function(){return this.q},K.prototype.getA=function(){return this.a},K.prototype.getB=function(){return this.b},K.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},K.prototype.getInfinity=function(){return this.infinity},K.prototype.fromBigInteger=function(e){return new W(this.q,e)},K.prototype.decodePointHex=function(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:default:return null;case 4:case 6:case 7:var n=(e.length-2)/2,t=e.substr(2,n),i=e.substr(n+2,n);return new G(this,this.fromBigInteger(new c(t,16)),this.fromBigInteger(new c(i,16)))}},W.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},G.prototype.getEncoded=function(e){var n=function(e,n){var t=e.toByteArrayUnsigned();if(nt.length;)t.unshift(0);return t},t=this.getX().toBigInteger(),i=this.getY().toBigInteger(),r=n(t,32);return e?i.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(n(i,32))),r},G.decodeFrom=function(e,n){n[0];var t=n.length-1,i=n.slice(1,1+t/2),r=n.slice(1+t/2,1+t);i.unshift(0),r.unshift(0);var l=new c(i),a=new c(r);return new G(e,e.fromBigInteger(l),e.fromBigInteger(a))},G.decodeFromHex=function(e,n){n.substr(0,2);var t=n.length-2,i=n.substr(2,t/2),r=n.substr(2+t/2,t/2),l=new c(i,16),a=new c(r,16);return new G(e,e.fromBigInteger(l),e.fromBigInteger(a))},G.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var n=e.x.subtract(this.x),t=e.y.subtract(this.y).divide(n),i=t.square().subtract(this.x).subtract(e.x),r=t.multiply(this.x.subtract(i)).subtract(this.y);return new G(this.curve,i,r)},G.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=this.curve.fromBigInteger(c.valueOf(2)),n=this.curve.fromBigInteger(c.valueOf(3)),t=this.x.square().multiply(n).add(this.curve.a).divide(this.y.multiply(e)),i=t.square().subtract(this.x.multiply(e)),r=t.multiply(this.x.subtract(i)).subtract(this.y);return new G(this.curve,i,r)},G.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var n,t=e,i=t.multiply(new c("3")),r=this.negate(),l=this;for(n=i.bitLength()-2;n>0;--n){l=l.twice();var a=i.testBit(n);a!=t.testBit(n)&&(l=l.add2D(a?this:r))}return l},G.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),n=this.getY().toBigInteger(),t=this.curve.getA().toBigInteger(),i=this.curve.getB().toBigInteger(),r=this.curve.getQ(),l=n.multiply(n).mod(r),a=e.multiply(e).multiply(e).add(t.multiply(e)).add(i).mod(r);return l.equals(a)},G.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},G.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var n=this.getX().toBigInteger(),t=this.getY().toBigInteger();if(n.compareTo(c.ONE)<0||n.compareTo(e.subtract(c.ONE))>0)throw new Error("x coordinate out of bounds");if(t.compareTo(c.ONE)<0||t.compareTo(e.subtract(c.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var $=function(){var e=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),n=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),t={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function i(e,n,i){return n?t[n]:String.fromCharCode(parseInt(i,16))}var r=new String(""),l=Object.hasOwnProperty;return function(t,a){var o,s,u=t.match(e),c=u[0],d=!1;"{"===c?o={}:"["===c?o=[]:(o=[],d=!0);for(var p=[o],f=1-d,m=u.length;f=0;)delete i[r[u]]}return a.call(n,t,i)}({"":o},"")}return o}}();"undefined"!=typeof Y&&Y||(Y={}),"undefined"!=typeof Y.asn1&&Y.asn1||(Y.asn1={}),Y.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var n=e.toString(16);return n.length%2==1&&(n="0"+n),n},this.bigIntToMinTwosComplementsHex=function(e){var n=e.toString(16);if("-"!=n.substr(0,1))n.length%2==1?n="0"+n:n.match(/^[0-7]/)||(n="00"+n);else{var t=n.substr(1).length;t%2==1?t+=1:n.match(/^[0-7]/)||(t+=2);for(var i="",r=0;r15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+t).toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""},this.setByParam=function(e){this.params=e},void 0!=e&&void 0!=e.tlv&&(this.hTLV=e.tlv,this.isModified=!1)},Y.asn1.DERAbstractString=function(e){Y.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=ue(this.s).toLowerCase()},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e?this.setString(e):"undefined"!=typeof e.str?this.setString(e.str):"undefined"!=typeof e.hex&&this.setStringHex(e.hex))},Ie(Y.asn1.DERAbstractString,Y.asn1.ASN1Object),Y.asn1.DERAbstractTime=function(e){Y.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(e){var n=e.getTime()+6e4*e.getTimezoneOffset();return new Date(n)},this.formatDate=function(e,n,t){var i=this.zeroPadding,r=this.localDateToUTC(e),l=String(r.getFullYear());"utc"==n&&(l=l.substr(2,2));var a=l+i(String(r.getMonth()+1),2)+i(String(r.getDate()),2)+i(String(r.getHours()),2)+i(String(r.getMinutes()),2)+i(String(r.getSeconds()),2);if(!0===t){var o=r.getMilliseconds();if(0!=o){var s=i(String(o),3);a=a+"."+(s=s.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(e,n){return e.length>=n?e:new Array(n-e.length+1).join("0")+e},this.setByParam=function(e){this.hV=null,this.hTLV=null,this.params=e},this.getString=function(){},this.setString=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.str=e},this.setByDate=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.date=e},this.setByDateValue=function(e,n,t,i,r,l){var a=new Date(Date.UTC(e,n-1,t,i,r,l,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},Ie(Y.asn1.DERAbstractTime,Y.asn1.ASN1Object),Y.asn1.DERAbstractStructured=function(e){Y.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,"undefined"!=typeof e&&"undefined"!=typeof e.array&&(this.asn1Array=e.array)},Ie(Y.asn1.DERAbstractStructured,Y.asn1.ASN1Object),Y.asn1.DERBoolean=function(e){Y.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV=0==e?"010100":"0101ff"},Ie(Y.asn1.DERBoolean,Y.asn1.ASN1Object),Y.asn1.DERInteger=function(e){Y.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=Y.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var n=new c(String(e),10);this.setByBigInteger(n)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e.bigint?this.setByBigInteger(e.bigint):"undefined"!=typeof e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e.hex&&this.setValueHex(e.hex))},Ie(Y.asn1.DERInteger,Y.asn1.ASN1Object),Y.asn1.DERBitString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var n=Y.asn1.ASN1Util.newObject(e.obj);e.hex="00"+n.getEncodedHex()}Y.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,n){if(e<0||7r.length&&(r=i[t]);return(e=e.replace(r,"::")).slice(1,-1)}function Ne(e){var n="malformed hex value";if(!e.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw n;if(8!=e.length)return 32==e.length?Re(e):e;try{return parseInt(e.substr(0,2),16)+"."+parseInt(e.substr(2,2),16)+"."+parseInt(e.substr(4,2),16)+"."+parseInt(e.substr(6,2),16)}catch(t){throw n}}function Ee(e){return e.match(/.{4}/g).map((function(e){var n=parseInt(e.substr(0,2),16),t=parseInt(e.substr(2),16);if(0==n&t<128)return String.fromCharCode(t);if(n<8){var i=128|63&t;return ce((192|(7&n)<<3|(192&t)>>6).toString(16)+i.toString(16))}i=128|(15&n)<<2|(192&t)>>6;var r=128|63&t;return ce((224|(240&n)>>4).toString(16)+i.toString(16)+r.toString(16))})).join("")}function xe(e){for(var n=encodeURIComponent(e),t="",i=0;i"7"?"00"+e:e}function we(e){e=(e=(e=e.replace(/^\s*\[\s*/,"")).replace(/\s*\]\s*$/,"")).replace(/\s*/g,"");try{return e.split(/,/).map((function(e,n,t){var i=parseInt(e);if(i<0||255=i)break}return a},ee.getNthChildIdx=function(e,n,t){return ee.getChildIdx(e,n)[t]},ee.getIdxbyList=function(e,n,t,i){var r,l,a=ee;return 0==t.length?void 0!==i&&e.substr(n,2)!==i?-1:n:(r=t.shift())>=(l=a.getChildIdx(e,n)).length?-1:a.getIdxbyList(e,l[r],t,i)},ee.getIdxbyListEx=function(e,n,t,i){var r,l,a=ee;if(0==t.length)return void 0!==i&&e.substr(n,2)!==i?-1:n;r=t.shift(),l=a.getChildIdx(e,n);for(var o=0,s=0;s=e.length?null:r.getTLV(e,l)},ee.getTLVbyListEx=function(e,n,t,i){var r=ee,l=r.getIdxbyListEx(e,n,t,i);return-1==l?null:r.getTLV(e,l)},ee.getVbyList=function(e,n,t,i,r){var l,a,o=ee;return-1==(l=o.getIdxbyList(e,n,t,i))||l>=e.length?null:(a=o.getV(e,l),!0===r&&(a=a.substr(2)),a)},ee.getVbyListEx=function(e,n,t,i,r){var l,a,o=ee;return-1==(l=o.getIdxbyListEx(e,n,t,i))?null:(a=o.getV(e,l),"03"==e.substr(l,2)&&!1!==r&&(a=a.substr(2)),a)},ee.getInt=function(e,n,t){void 0==t&&(t=-1);try{var i=e.substr(n,2);if("02"!=i&&"03"!=i)return t;var r=ee.getV(e,n);return"02"==i?parseInt(r,16):Le(r)}catch(l){return t}},ee.getOID=function(e,n,t){void 0==t&&(t=null);try{return"06"!=e.substr(n,2)?t:Ae(ee.getV(e,n))}catch(i){return t}},ee.getOIDName=function(e,n,t){void 0==t&&(t=null);try{var i=ee.getOID(e,n,t);if(i==t)return t;var r=Y.asn1.x509.OID.oid2name(i);return""==r?i:r}catch(l){return t}},ee.getString=function(e,n,t){void 0==t&&(t=null);try{return de(ee.getV(e,n))}catch(i){return t}},ee.hextooidstr=function(e){var n=function(e,n){return e.length>=n?e:new Array(n-e.length+1).join("0")+e},t=[],i=e.substr(0,2),r=parseInt(i,16);t[0]=new String(Math.floor(r/40)),t[1]=new String(r%40);for(var l=e.substr(2),a=[],o=0;o0&&(c=c+"."+s.join(".")),c},ee.dump=function(e,n,t,i){var r=ee,l=r.getV,a=r.dump,o=r.getChildIdx,s=e;e instanceof Y.asn1.ASN1Object&&(s=e.getEncodedHex());var u=function(e,n){return e.length<=2*n?e:e.substr(0,n)+"..(total "+e.length/2+"bytes).."+e.substr(e.length-n,n)};void 0===n&&(n={ommit_long_octet:32}),void 0===t&&(t=0),void 0===i&&(i="");var c,d=n.ommit_long_octet;if("01"==(c=s.substr(t,2)))return"00"==(p=l(s,t))?i+"BOOLEAN FALSE\n":i+"BOOLEAN TRUE\n";if("02"==c)return i+"INTEGER "+u(p=l(s,t),d)+"\n";if("03"==c){var p=l(s,t);if(r.isASN1HEX(p.substr(2))){var f=i+"BITSTRING, encapsulates\n";return f+=a(p.substr(2),n,0,i+" ")}return i+"BITSTRING "+u(p,d)+"\n"}if("04"==c){p=l(s,t);if(r.isASN1HEX(p)){f=i+"OCTETSTRING, encapsulates\n";return f+=a(p,n,0,i+" ")}return i+"OCTETSTRING "+u(p,d)+"\n"}if("05"==c)return i+"NULL\n";if("06"==c){var m=l(s,t),y=Y.asn1.ASN1Util.oidHexToInt(m),_=Y.asn1.x509.OID.oid2name(y),h=y.replace(/\./g," ");return""!=_?i+"ObjectIdentifier "+_+" ("+h+")\n":i+"ObjectIdentifier ("+h+")\n"}if("0a"==c)return i+"ENUMERATED "+parseInt(l(s,t))+"\n";if("0c"==c)return i+"UTF8String '"+ce(l(s,t))+"'\n";if("13"==c)return i+"PrintableString '"+ce(l(s,t))+"'\n";if("14"==c)return i+"TeletexString '"+ce(l(s,t))+"'\n";if("16"==c)return i+"IA5String '"+ce(l(s,t))+"'\n";if("17"==c)return i+"UTCTime "+ce(l(s,t))+"\n";if("18"==c)return i+"GeneralizedTime "+ce(l(s,t))+"\n";if("1a"==c)return i+"VisualString '"+ce(l(s,t))+"'\n";if("1e"==c)return i+"BMPString '"+Ee(l(s,t))+"'\n";if("30"==c){if("3000"==s.substr(t,4))return i+"SEQUENCE {}\n";f=i+"SEQUENCE\n";var g=n;if((2==(b=o(s,t)).length||3==b.length)&&"06"==s.substr(b[0],2)&&"04"==s.substr(b[b.length-1],2)){_=r.oidname(l(s,b[0]));var v=JSON.parse(JSON.stringify(n));v.x509ExtName=_,g=v}for(var T=0;T31)&&(128==(192&t)&&(31&t)==i))}catch(r){return!1}},ee.isASN1HEX=function(e){var n=ee;if(e.length%2==1)return!1;var t=n.getVblen(e,0),i=e.substr(0,2),r=n.getL(e,0);return e.length-i.length-r.length==2*t},ee.checkStrictDER=function(e,n,t,i,r){var l=ee;if(void 0===t){if("string"!=typeof e)throw new Error("not hex string");if(e=e.toLowerCase(),!Y.lang.String.isHex(e))throw new Error("not hex string");t=e.length,r=(i=e.length/2)<128?1:Math.ceil(i.toString(16))+1}if(l.getL(e,n).length>2*r)throw new Error("L of TLV too long: idx="+n);var a=l.getVblen(e,n);if(a>i)throw new Error("value of L too long than hex: idx="+n);var o=l.getTLV(e,n),s=o.length-2-l.getL(e,n).length;if(s!==2*a)throw new Error("V string length and L's value not the same:"+s+"/"+2*a);if(0===n&&e.length!=o.length)throw new Error("total length and TLV length unmatch:"+e.length+"!="+o.length);var u=e.substr(n,2);if("02"===u){var c=l.getVidx(e,n);if("00"==e.substr(c,2)&&e.charCodeAt(c+2)<56)throw new Error("not least zeros for DER INTEGER")}if(32&parseInt(u,16)){for(var d=l.getVblen(e,n),p=0,f=l.getChildIdx(e,n),m=0;m0&&e.push(new i({tag:"a3",obj:new u(n.ext)})),new Y.asn1.DERSequence({array:e}).getEncodedHex()},void 0!==e&&this.setByParam(e)},Ie(Y.asn1.x509.TBSCertificate,Y.asn1.ASN1Object),Y.asn1.x509.Extensions=function(e){Y.asn1.x509.Extensions.superclass.constructor.call(this);var n=Y.asn1,t=n.DERSequence,i=n.x509;this.aParam=[],this.setByParam=function(e){this.aParam=e},this.getEncodedHex=function(){for(var e=[],n=0;n-1&&e.push(new i({int:this.pathLen}));var n=new r({array:e});return this.asn1ExtnValue=n,this.asn1ExtnValue.getEncodedHex()},this.oid="2.5.29.19",this.cA=!1,this.pathLen=-1,void 0!==e&&(void 0!==e.cA&&(this.cA=e.cA),void 0!==e.pathLen&&(this.pathLen=e.pathLen))},Ie(Y.asn1.x509.BasicConstraints,Y.asn1.x509.Extension),Y.asn1.x509.CRLDistributionPoints=function(e){Y.asn1.x509.CRLDistributionPoints.superclass.constructor.call(this,e);var n=Y.asn1,t=n.x509;this.getExtnValueHex=function(){return this.asn1ExtnValue.getEncodedHex()},this.setByDPArray=function(e){for(var i=[],r=0;r0&&e.push(new t({array:n}))}return new t({array:e}).getEncodedHex()},void 0!==e&&(this.params=e)},Ie(Y.asn1.x509.PolicyInformation,Y.asn1.ASN1Object),Y.asn1.x509.PolicyQualifierInfo=function(e){Y.asn1.x509.PolicyQualifierInfo.superclass.constructor.call(this,e);var n=Y.asn1,t=n.DERSequence,i=n.DERIA5String,r=n.DERObjectIdentifier,l=n.x509.UserNotice;this.params=null,this.getEncodedHex=function(){return void 0!==this.params.cps?new t({array:[new r({oid:"1.3.6.1.5.5.7.2.1"}),new i({str:this.params.cps})]}).getEncodedHex():void 0!=this.params.unotice?new t({array:[new r({oid:"1.3.6.1.5.5.7.2.2"}),new l(this.params.unotice)]}).getEncodedHex():void 0},void 0!==e&&(this.params=e)},Ie(Y.asn1.x509.PolicyQualifierInfo,Y.asn1.ASN1Object),Y.asn1.x509.UserNotice=function(e){Y.asn1.x509.UserNotice.superclass.constructor.call(this,e);var n=Y.asn1.DERSequence,t=(Y.asn1.DERInteger,Y.asn1.x509.DisplayText),i=Y.asn1.x509.NoticeReference;this.params=null,this.getEncodedHex=function(){var e=[];return void 0!==this.params.noticeref&&e.push(new i(this.params.noticeref)),void 0!==this.params.exptext&&e.push(new t(this.params.exptext)),new n({array:e}).getEncodedHex()},void 0!==e&&(this.params=e)},Ie(Y.asn1.x509.UserNotice,Y.asn1.ASN1Object),Y.asn1.x509.NoticeReference=function(e){Y.asn1.x509.NoticeReference.superclass.constructor.call(this,e);var n=Y.asn1.DERSequence,t=Y.asn1.DERInteger,i=Y.asn1.x509.DisplayText;this.params=null,this.getEncodedHex=function(){var e=[];if(void 0!==this.params.org&&e.push(new i(this.params.org)),void 0!==this.params.noticenum){for(var r=[],l=this.params.noticenum,a=0;a0)for(var e=0;e0;r++){var l=n.shift();if(!0===t){var a=(i.pop()+","+l).replace(/\\,/g,",");i.push(a),t=!1}else i.push(l);"\\"===l.substr(-1,1)&&(t=!0)}return(i=i.map((function(e){return e.replace("/","\\/")}))).reverse(),"/"+i.join("/")},Y.asn1.x509.X500Name.ldapToOneline=function(e){return Y.asn1.x509.X500Name.ldapToCompat(e)},Y.asn1.x509.RDN=function(e){Y.asn1.x509.RDN.superclass.constructor.call(this),this.asn1Array=[],this.paramArray=[],this.sRule="utf8";var n=Y.asn1.x509.AttributeTypeAndValue;this.setByParam=function(e){void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.str&&this.addByMultiValuedString(e.str),void 0!==e.array&&(this.paramArray=e.array)},this.addByString=function(e){this.asn1Array.push(new Y.asn1.x509.AttributeTypeAndValue({str:e,rule:this.sRule}))},this.addByMultiValuedString=function(e){for(var n=Y.asn1.x509.RDN.parseString(e),t=0;t0)for(var e=0;e0;r++){var l=n.shift();if(!0===t){var a=(i.pop()+"+"+l).replace(/\\\+/g,"+");i.push(a),t=!1}else i.push(l);"\\"===l.substr(-1,1)&&(t=!0)}var o=!1,s=[];for(r=0;i.length>0;r++){l=i.shift();if(!0===o){var u=s.pop();if(l.match(/"$/)){a=(u+"+"+l).replace(/^([^=]+)="(.*)"$/,"$1=$2");s.push(a),o=!1}else s.push(u+"+"+l)}else s.push(l);l.match(/^[^=]+="/)&&(o=!0)}return s},Y.asn1.x509.AttributeTypeAndValue=function(e){Y.asn1.x509.AttributeTypeAndValue.superclass.constructor.call(this),this.sRule="utf8",this.sType=null,this.sValue=null,this.dsType=null;var n=Y,t=n.asn1,i=t.DERSequence,r=t.DERUTF8String,l=t.DERPrintableString,a=t.DERTeletexString,o=t.DERIA5String,s=t.DERVisibleString,u=t.DERBMPString,c=n.lang.String.isMail,d=n.lang.String.isPrintable;this.setByParam=function(e){if(void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.ds&&(this.dsType=e.ds),void 0===e.value&&void 0!==e.str){var n=e.str.match(/^([^=]+)=(.+)$/);if(!n)throw new Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr);this.sType=n[1],this.sValue=n[2]}else this.sType=e.type,this.sValue=e.value},this.setByString=function(e,n){void 0!==n&&(this.sRule=n);var t=e.match(/^([^=]+)=(.+)$/);if(!t)throw new Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr);this.setByAttrTypeAndValueStr(t[1],t[2])},this._getDsType=function(){var e=this.sType,n=this.sValue,t=this.sRule;return"prn"===t?"CN"==e&&c(n)?"ia5":d(n)?"prn":"utf8":"utf8"===t?"CN"==e&&c(n)?"ia5":"C"==e?"prn":"utf8":"utf8"},this.setByAttrTypeAndValueStr=function(e,n,t){void 0!==t&&(this.sRule=t),this.sType=e,this.sValue=n},this.getValueObj=function(e,n){if("utf8"==e)return new r({str:n});if("prn"==e)return new l({str:n});if("tel"==e)return new a({str:n});if("ia5"==e)return new o({str:n});if("vis"==e)return new s({str:n});if("bmp"==e)return new u({str:n});throw new Error("unsupported directory string type: type="+e+" value="+n)},this.getEncodedHex=function(){null==this.dsType&&(this.dsType=this._getDsType());var e=Y.asn1.x509.OID.atype2obj(this.sType),n=this.getValueObj(this.dsType,this.sValue),t=new i({array:[e,n]});return this.TLV=t.getEncodedHex(),this.TLV},void 0!==e&&this.setByParam(e)},Ie(Y.asn1.x509.AttributeTypeAndValue,Y.asn1.ASN1Object),Y.asn1.x509.SubjectPublicKeyInfo=function(e){Y.asn1.x509.SubjectPublicKeyInfo.superclass.constructor.call(this);var n=Y,t=n.asn1,i=t.DERInteger,r=t.DERBitString,l=t.DERObjectIdentifier,a=t.DERSequence,o=t.ASN1Util.newObject,s=t.x509.AlgorithmIdentifier,u=n.crypto;u.ECDSA,u.DSA;this.getASN1Object=function(){if(null==this.asn1AlgId||null==this.asn1SubjPKey)throw"algId and/or subjPubKey not set";return new a({array:[this.asn1AlgId,this.asn1SubjPKey]})},this.getEncodedHex=function(){var e=this.getASN1Object();return this.hTLV=e.getEncodedHex(),this.hTLV},this.setPubKey=function(e){try{if(e instanceof H){var n=o({seq:[{int:{bigint:e.n}},{int:{int:e.e}}]}).getEncodedHex();this.asn1AlgId=new s({name:"rsaEncryption"}),this.asn1SubjPKey=new r({hex:"00"+n})}}catch(u){}try{if(e instanceof Y.crypto.ECDSA){var t=new l({name:e.curveName});this.asn1AlgId=new s({name:"ecPublicKey",asn1params:t}),this.asn1SubjPKey=new r({hex:"00"+e.pubKeyHex})}}catch(u){}try{if(e instanceof Y.crypto.DSA){t=new o({seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]});this.asn1AlgId=new s({name:"dsa",asn1params:t});var a=new i({bigint:e.y});this.asn1SubjPKey=new r({hex:"00"+a.getEncodedHex()})}}catch(u){}},void 0!==e&&this.setPubKey(e)},Ie(Y.asn1.x509.SubjectPublicKeyInfo,Y.asn1.ASN1Object),Y.asn1.x509.Time=function(e){Y.asn1.x509.Time.superclass.constructor.call(this);var n=Y.asn1,t=n.DERUTCTime,i=n.DERGeneralizedTime;this.params=null,this.type=null,this.setTimeParams=function(e){this.timeParams=e},this.setByParam=function(e){this.params=e},this.getType=function(e){return e.match(/^[0-9]{12}Z$/)?"utc":e.match(/^[0-9]{14}Z$/)?"gen":e.match(/^[0-9]{12}\.[0-9]+Z$/)?"utc":e.match(/^[0-9]{14}\.[0-9]+Z$/)?"gen":null},this.getEncodedHex=function(){var e=this.params,n=null;if("string"==typeof e&&(e={str:e}),null==e||!e.str||null!=e.type&&void 0!=e.type||(e.type=this.getType(e.str)),null!=e&&e.str?("utc"==e.type&&(n=new t(e.str)),"gen"==e.type&&(n=new i(e.str))):n="gen"==this.type?new i:new t,null==n)throw new Error("wrong setting for Time");return this.TLV=n.getEncodedHex(),this.TLV},void 0!=e&&this.setByParam(e)},Y.asn1.x509.Time_bak=function(e){Y.asn1.x509.Time_bak.superclass.constructor.call(this);var n=Y.asn1,t=n.DERUTCTime,i=n.DERGeneralizedTime;this.setTimeParams=function(e){this.timeParams=e},this.getEncodedHex=function(){var e=null;return e=null!=this.timeParams?"utc"==this.type?new t(this.timeParams):new i(this.timeParams):"utc"==this.type?new t:new i,this.TLV=e.getEncodedHex(),this.TLV},this.type="utc",void 0!==e&&(void 0!==e.type?this.type=e.type:void 0!==e.str&&(e.str.match(/^[0-9]{12}Z$/)&&(this.type="utc"),e.str.match(/^[0-9]{14}Z$/)&&(this.type="gen")),this.timeParams=e)},Ie(Y.asn1.x509.Time,Y.asn1.ASN1Object),Y.asn1.x509.AlgorithmIdentifier=function(e){Y.asn1.x509.AlgorithmIdentifier.superclass.constructor.call(this),this.nameAlg=null,this.asn1Alg=null,this.asn1Params=null,this.paramEmpty=!1;var n=Y.asn1,t=n.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV;if(this.getEncodedHex=function(){if(null===this.nameAlg&&null===this.asn1Alg)throw new Error("algorithm not specified");if(null!==this.nameAlg){var e=null;for(var i in t)i===this.nameAlg&&(e=t[i]);if(null!==e)return this.hTLV=e,this.hTLV}null!==this.nameAlg&&null===this.asn1Alg&&(this.asn1Alg=n.x509.OID.name2obj(this.nameAlg));var r=[this.asn1Alg];null!==this.asn1Params&&r.push(this.asn1Params);var l=new n.DERSequence({array:r});return this.hTLV=l.getEncodedHex(),this.hTLV},void 0!==e&&(void 0!==e.name&&(this.nameAlg=e.name),void 0!==e.asn1params&&(this.asn1Params=e.asn1params),void 0!==e.paramempty&&(this.paramEmpty=e.paramempty)),null===this.asn1Params&&!1===this.paramEmpty&&null!==this.nameAlg){void 0!==this.nameAlg.name&&(this.nameAlg=this.nameAlg.name);var i=this.nameAlg.toLowerCase();"withdsa"!==i.substr(-7,7)&&"withecdsa"!==i.substr(-9,9)&&(this.asn1Params=new n.DERNull)}},Ie(Y.asn1.x509.AlgorithmIdentifier,Y.asn1.ASN1Object),Y.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV={SHAwithRSAandMGF1:"300d06092a864886f70d01010a3000",SHA256withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040201a11a301806092a864886f70d010108300b0609608648016503040201a203020120",SHA384withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040202a11a301806092a864886f70d010108300b0609608648016503040202a203020130",SHA512withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040203a11a301806092a864886f70d010108300b0609608648016503040203a203020140"},Y.asn1.x509.GeneralName=function(e){Y.asn1.x509.GeneralName.superclass.constructor.call(this);var n={rfc822:"81",dns:"82",dn:"a4",uri:"86",ip:"87"},t=Y.asn1,i=(t.DERSequence,t.DEROctetString),r=t.DERIA5String,l=t.DERTaggedObject,a=t.ASN1Object,o=t.x509.X500Name,s=he;this.explicit=!1,this.setByParam=function(e){var t=null;if(void 0!==e){if(void 0!==e.rfc822&&(this.type="rfc822",t=new r({str:e[this.type]})),void 0!==e.dns&&(this.type="dns",t=new r({str:e[this.type]})),void 0!==e.uri&&(this.type="uri",t=new r({str:e[this.type]})),void 0!==e.dn&&(this.type="dn",this.explicit=!0,t="string"===typeof e.dn?new o({str:e.dn}):e.dn instanceof Y.asn1.x509.X500Name?e.dn:new o(e.dn)),void 0!==e.ldapdn&&(this.type="dn",this.explicit=!0,t=new o({ldapstr:e.ldapdn})),void 0!==e.certissuer){this.type="dn",this.explicit=!0;var u=null;if((d=e.certissuer).match(/^[0-9A-Fa-f]+$/),-1!=d.indexOf("-----BEGIN ")&&(u=s(d)),null==u)throw"certissuer param not cert";(p=new Me).hex=u;var c=p.getIssuerHex();(t=new a).hTLV=c}if(void 0!==e.certsubj){this.type="dn",this.explicit=!0;var d,p;u=null;if((d=e.certsubj).match(/^[0-9A-Fa-f]+$/),-1!=d.indexOf("-----BEGIN ")&&(u=s(d)),null==u)throw"certsubj param not cert";(p=new Me).hex=u;c=p.getSubjectHex();(t=new a).hTLV=c}if(void 0!==e.ip){this.type="ip",this.explicit=!1;var f,m=e.ip,y="malformed IP address";if(m.match(/^[0-9.]+[.][0-9.]+$/)){if(8!==(f=we("["+m.split(".").join(",")+"]")).length)throw y}else if(m.match(/^[0-9A-Fa-f:]+:[0-9A-Fa-f:]+$/))f=ke(m);else{if(!m.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw y;f=m}t=new i({hex:f})}if(null==this.type)throw"unsupported type in params="+e;this.asn1Obj=new l({explicit:this.explicit,tag:n[this.type],obj:t})}},this.getEncodedHex=function(){return this.asn1Obj.getEncodedHex()},void 0!==e&&this.setByParam(e)},Ie(Y.asn1.x509.GeneralName,Y.asn1.ASN1Object),Y.asn1.x509.GeneralNames=function(e){Y.asn1.x509.GeneralNames.superclass.constructor.call(this);var n=Y.asn1;this.setByParamArray=function(e){for(var t=0;t0){for(var t=l(e.valhex,n[0]),i=c(t,0),r=[],a=0;a1){var u=l(e.valhex,n[1]);e.polhex=u}delete e.valhex},this.setSignaturePolicyIdentifier=function(e){var t=c(e.valhex,0);if(t.length>0){var a=i.getOID(e.valhex,t[0]);e.oid=a}if(t.length>1){var o=new n,s=c(e.valhex,t[1]),u=l(e.valhex,s[0]),d=o.getAlgorithmIdentifierName(u);e.alg=d;var p=r(e.valhex,s[1]);e.hash=p}delete e.valhex},this.setSigningCertificateV2=function(e){var n=c(e.valhex,0);if(n.length>0){for(var t=l(e.valhex,n[0]),i=c(t,0),r=[],a=0;a1){var u=l(e.valhex,n[1]);e.polhex=u}delete e.valhex},this.getESSCertID=function(e){var n={},t=c(e,0);if(t.length>0){var i=r(e,t[0]);n.hash=i}if(t.length>1){var a=l(e,t[1]),o=this.getIssuerSerial(a);void 0!=o.serial&&(n.serial=o.serial),void 0!=o.issuer&&(n.issuer=o.issuer)}return n},this.getESSCertIDv2=function(n){var i={},a=c(n,0);if(a.length<1||3o+1){var d=l(n,a[o+1]),p=this.getIssuerSerial(d);i.issuer=p.issuer,i.serial=p.serial}return i},this.getIssuerSerial=function(e){var n={},i=c(e,0),a=l(e,i[0]),o=t.getGeneralNames(a)[0].dn;n.issuer=o;var s=r(e,i[1]);return n.serial={hex:s},n},this.getCertificateSet=function(e){for(var n=c(e,0),t=[],i=0;i1){var t=this.getPKIStatusInfo(i(e,n[0])),r=i(e,n[1]),a=this.getToken(r);return a.statusinfo=t,a}},this.getToken=function(e){var n=(new Y.asn1.cms.CMSParser).getCMSSignedData(e);return this.setTSTInfo(n),n},this.setTSTInfo=function(e){var n=e.econtent;if("tstinfo"==n.type){var t=n.content.hex,i=this.getTSTInfo(t);n.content=i}},this.getTSTInfo=function(n){var r={},a=l(n,0),o=t(n,a[1]);r.policy=Ae(o);var s=i(n,a[2]);r.messageImprint=this.getMessageImprint(s);var u=t(n,a[3]);r.serial={hex:u};var c=t(n,a[4]);r.genTime={str:ce(c)};var d=0;if(a.length>5&&"30"==n.substr(a[5],2)){var p=i(n,a[5]);r.accuracy=this.getAccuracy(p),d++}a.length>5+d&&"01"==n.substr(a[5+d],2)&&("ff"==t(n,a[5+d])&&(r.ordering=!0),d++);if(a.length>5+d&&"02"==n.substr(a[5+d],2)){var f=t(n,a[5+d]);r.nonce={hex:f},d++}if(a.length>5+d&&"a0"==n.substr(a[5+d],2)){var m=i(n,a[5+d]);m="30"+m.substr(2),pGeneralNames=e.getGeneralNames(m);var y=pGeneralNames[0].dn;r.tsa=y,d++}if(a.length>5+d&&"a1"==n.substr(a[5+d],2)){var _=i(n,a[5+d]);_="30"+_.substr(2);var h=e.getExtParamArray(_);r.ext=h,d++}return r},this.getAccuracy=function(e){for(var n={},i=l(e,0),r=0;r1&&"30"==e.substr(r[1],2)){var c=i(e,r[1]);n.statusstr=this.getPKIFreeText(c),o++}if(r.length>o&&"03"==e.substr(r[1+o],2)){var d=i(e,r[1+o]);n.failinfo=this.getPKIFailureInfo(d)}return n},this.getPKIFreeText=function(e){for(var t=[],i=l(e,0),r=0;r0&&(u=u+"."+o.join(".")),u}catch(c){return null}}var Oe=function(e,n,t){return void 0==t&&(t="0"),e.length>=n?e:new Array(n-e.length+1).join(t)+e};function Le(e){try{var n=e.substr(0,2);if("00"==n)return parseInt(e.substr(2),16);var t=parseInt(n,16),i=e.substr(2),r=parseInt(i,16).toString(2);return"0"==r&&(r="00000000"),r=r.slice(0,0-t),parseInt(r,2)}catch(l){return-1}}function Ie(e,n){var t=function(){};t.prototype=n.prototype,e.prototype=new t,e.prototype.constructor=e,e.superclass=n.prototype,n.prototype.constructor==Object.prototype.constructor&&(n.prototype.constructor=n)}"undefined"!=typeof Y&&Y||(Y={}),"undefined"!=typeof Y.crypto&&Y.crypto||(Y.crypto={}),Y.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:r.algo.MD5,sha1:r.algo.SHA1,sha224:r.algo.SHA224,sha256:r.algo.SHA256,sha384:r.algo.SHA384,sha512:r.algo.SHA512,ripemd160:r.algo.RIPEMD160},this.getDigestInfoHex=function(e,n){if("undefined"==typeof this.DIGESTINFOHEAD[n])throw"alg not supported in Util.DIGESTINFOHEAD: "+n;return this.DIGESTINFOHEAD[n]+e},this.getPaddedDigestInfoHex=function(e,n,t){var i=this.getDigestInfoHex(e,n),r=t/4;if(i.length+22>r)throw"key is too short for SigAlg: keylen="+t+","+n;for(var l="0001",a="00"+i,o="",s=r-l.length-a.length,u=0;u=0)return!1;if(i.compareTo(t.ONE)<0||i.compareTo(l)>=0)return!1;var o=i.modInverse(l),s=e.multiply(o).mod(l),u=n.multiply(o).mod(l);return a.multiply(s).add(r.multiply(u)).getX().toBigInteger().mod(l).equals(n)},this.serializeSig=function(e,n){var t=e.toByteArraySigned(),i=n.toByteArraySigned(),r=[];return r.push(2),r.push(t.length),(r=r.concat(t)).push(2),r.push(i.length),(r=r.concat(i)).unshift(r.length),r.unshift(48),r},this.parseSig=function(e){var n;if(48!=e[0])throw new Error("Signature not a valid DERSequence");if(2!=e[n=2])throw new Error("First element in signature must be a DERInteger");var i=e.slice(n+2,n+2+e[n+1]);if(2!=e[n+=2+e[n+1]])throw new Error("Second element in signature must be a DERInteger");var r=e.slice(n+2,n+2+e[n+1]);return n+=2+e[n+1],{r:t.fromByteArrayUnsigned(i),s:t.fromByteArrayUnsigned(r)}},this.parseSigCompact=function(e){if(65!==e.length)throw"Signature has the wrong length";var n=e[0]-27;if(n<0||n>7)throw"Invalid signature type";var i=this.ecparams.n;return{r:t.fromByteArrayUnsigned(e.slice(1,33)).mod(i),s:t.fromByteArrayUnsigned(e.slice(33,65)).mod(i),i:n}},this.readPKCS5PrvKeyHex=function(e){if(!1===u(e))throw new Error("not ASN.1 hex string");var n,t,i;try{n=s(e,0,["[0]",0],"06"),t=s(e,0,[1],"04");try{i=s(e,0,["[1]",0],"03")}catch(r){}}catch(r){throw new Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=a(n),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i),this.setPrivateKeyHex(t),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(e){if(!1===u(e))throw new n("not ASN.1 hex string");var t,i,r;try{s(e,0,[1,0],"06"),t=s(e,0,[1,1],"06"),i=s(e,0,[2,0,1],"04");try{r=s(e,0,[2,0,"[1]",0],"03")}catch(l){}}catch(l){throw new n("malformed PKCS#8 plain ECC private key")}if(this.curveName=a(t),void 0===this.curveName)throw new n("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(r),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PubKeyHex=function(e){if(!1===u(e))throw new n("not ASN.1 hex string");var t,i;try{s(e,0,[0,0],"06"),t=s(e,0,[0,1],"06"),i=s(e,0,[1],"03")}catch(r){throw new n("malformed PKCS#8 ECC public key")}if(this.curveName=a(t),null===this.curveName)throw new n("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},this.readCertPubKeyHex=function(e,t){if(!1===u(e))throw new n("not ASN.1 hex string");var i,r;try{i=s(e,0,[0,5,0,1],"06"),r=s(e,0,[0,5,1],"03")}catch(l){throw new n("malformed X.509 certificate ECC public key")}if(this.curveName=a(i),null===this.curveName)throw new n("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(r)},void 0!==e&&void 0!==e.curve&&(this.curveName=e.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==e&&(void 0!==e.prv&&this.setPrivateKeyHex(e.prv),void 0!==e.pub&&this.setPublicKeyHex(e.pub))},Y.crypto.ECDSA.parseSigHex=function(e){var n=Y.crypto.ECDSA.parseSigHexInHexRS(e);return{r:new c(n.r,16),s:new c(n.s,16)}},Y.crypto.ECDSA.parseSigHexInHexRS=function(e){var n=ee,t=n.getChildIdx,i=n.getV;if(n.checkStrictDER(e,0),"30"!=e.substr(0,2))throw new Error("signature is not a ASN.1 sequence");var r=t(e,0);if(2!=r.length)throw new Error("signature shall have two elements");var l=r[0],a=r[1];if("02"!=e.substr(l,2))throw new Error("1st item not ASN.1 integer");if("02"!=e.substr(a,2))throw new Error("2nd item not ASN.1 integer");return{r:i(e,l),s:i(e,a)}},Y.crypto.ECDSA.asn1SigToConcatSig=function(e){var n=Y.crypto.ECDSA.parseSigHexInHexRS(e),t=n.r,i=n.s;if(t.length>=130&&t.length<=134){if(t.length%2!=0)throw Error("unknown ECDSA sig r length error");if(i.length%2!=0)throw Error("unknown ECDSA sig s length error");"00"==t.substr(0,2)&&(t=t.substr(2)),"00"==i.substr(0,2)&&(i=i.substr(2));var r=Math.max(t.length,i.length);return(t=("000000"+t).slice(-r))+(i=("000000"+i).slice(-r))}if("00"==t.substr(0,2)&&t.length%32==2&&(t=t.substr(2)),"00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),t.length%32==30&&(t="00"+t),i.length%32==30&&(i="00"+i),t.length%32!=0)throw Error("unknown ECDSA sig r length error");if(i.length%32!=0)throw Error("unknown ECDSA sig s length error");return t+i},Y.crypto.ECDSA.concatSigToASN1Sig=function(e){if(e.length%4!=0)throw Error("unknown ECDSA concatinated r-s sig length error");var n=e.substr(0,e.length/2),t=e.substr(e.length/2);return Y.crypto.ECDSA.hexRSSigToASN1Sig(n,t)},Y.crypto.ECDSA.hexRSSigToASN1Sig=function(e,n){var t=new c(e,16),i=new c(n,16);return Y.crypto.ECDSA.biRSSigToASN1Sig(t,i)},Y.crypto.ECDSA.biRSSigToASN1Sig=function(e,n){var t=Y.asn1,i=new t.DERInteger({bigint:e}),r=new t.DERInteger({bigint:n});return new t.DERSequence({array:[i,r]}).getEncodedHex()},Y.crypto.ECDSA.getName=function(e){return"2b8104001f"===e?"secp192k1":"2a8648ce3d030107"===e?"secp256r1":"2b8104000a"===e?"secp256k1":"2b81040021"===e?"secp224r1":"2b81040022"===e?"secp384r1":"2b81040023"===e?"secp521r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(e)?"secp256r1":-1!=="|secp256k1|".indexOf(e)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(e)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(e)?"secp384r1":-1!=="|secp521r1|NIST P-521|P-521|".indexOf(e)?"secp521r1":null},"undefined"!=typeof Y&&Y||(Y={}),"undefined"!=typeof Y.crypto&&Y.crypto||(Y.crypto={}),Y.crypto.ECParameterDB=new function(){var e={},n={};function t(e){return new c(e,16)}this.getByName=function(t){var i=t;if("undefined"!=typeof n[i]&&(i=n[t]),"undefined"!=typeof e[i])return e[i];throw"unregistered EC curve name: "+i},this.regist=function(i,r,l,a,o,s,u,c,d,p,f,m){e[i]={};var y=t(l),_=t(a),h=t(o),g=t(s),v=t(u),T=new K(y,_,h),b=T.decodePointHex("04"+c+d);e[i].name=i,e[i].keylen=r,e[i].keycharlen=2*Math.ceil(r/8),e[i].curve=T,e[i].G=b,e[i].n=g,e[i].h=v,e[i].oid=f,e[i].info=m;for(var k=0;k1?new c(i,16):null,u=new c(r,16),this.setPrivate(l,a,o,s,u)},this.setPublic=function(e,n,t,i){this.isPublic=!0,this.p=e,this.q=n,this.g=t,this.y=i,this.x=null},this.setPublicHex=function(e,n,t,i){var r,l,a,o;r=new c(e,16),l=new c(n,16),a=new c(t,16),o=new c(i,16),this.setPublic(r,l,a,o)},this.signWithMessageHash=function(e){var n=this.p,t=this.q,i=this.g,r=(this.y,this.x),l=Y.crypto.Util.getRandomBigIntegerMinToMax(c.ONE.add(c.ONE),t.subtract(c.ONE)),a=new c(e.substr(0,t.bitLength()/4),16),o=i.modPow(l,n).mod(t),s=l.modInverse(t).multiply(a.add(r.multiply(o))).mod(t);return Y.asn1.ASN1Util.jsonToASN1HEX({seq:[{int:{bigint:o}},{int:{bigint:s}}]})},this.verifyWithMessageHash=function(e,n){var t=this.p,i=this.q,r=this.g,l=this.y,a=this.parseASN1Signature(n),o=a[0],s=a[1],u=new c(e.substr(0,i.bitLength()/4),16);if(c.ZERO.compareTo(o)>0||o.compareTo(i)>0)throw"invalid DSA signature";if(c.ZERO.compareTo(s)>=0||s.compareTo(i)>0)throw"invalid DSA signature";var d=s.modInverse(i),p=u.multiply(d).mod(i),f=o.multiply(d).mod(i);return 0==r.modPow(p,t).multiply(l.modPow(f,t)).mod(t).mod(i).compareTo(o)},this.parseASN1Signature=function(e){try{return[new i(n(e,0,[0],"02"),16),new i(n(e,0,[1],"02"),16)]}catch(t){throw new Error("malformed ASN.1 DSA signature")}},this.readPKCS5PrvKeyHex=function(e){var i,r,l,a,o;if(!1===t(e))throw new Error("not ASN.1 hex string");try{i=n(e,0,[1],"02"),r=n(e,0,[2],"02"),l=n(e,0,[3],"02"),a=n(e,0,[4],"02"),o=n(e,0,[5],"02")}catch(s){throw new Error("malformed PKCS#1/5 plain DSA private key")}this.setPrivateHex(i,r,l,a,o)},this.readPKCS8PrvKeyHex=function(e){var i,r,l,a;if(!1===t(e))throw new Error("not ASN.1 hex string");try{i=n(e,0,[1,1,0],"02"),r=n(e,0,[1,1,1],"02"),l=n(e,0,[1,1,2],"02"),a=n(e,0,[2,0],"02")}catch(o){throw new Error("malformed PKCS#8 plain DSA private key")}this.setPrivateHex(i,r,l,null,a)},this.readPKCS8PubKeyHex=function(e){var i,r,l,a;if(!1===t(e))throw new Error("not ASN.1 hex string");try{i=n(e,0,[0,1,0],"02"),r=n(e,0,[0,1,1],"02"),l=n(e,0,[0,1,2],"02"),a=n(e,0,[1,0],"02")}catch(o){throw new Error("malformed PKCS#8 DSA public key")}this.setPublicHex(i,r,l,a)},this.readCertPubKeyHex=function(e,i){var r,l,a,o;if(!1===t(e))throw new Error("not ASN.1 hex string");try{r=n(e,0,[0,5,0,1,0],"02"),l=n(e,0,[0,5,0,1,1],"02"),a=n(e,0,[0,5,0,1,2],"02"),o=n(e,0,[0,5,1,0],"02")}catch(s){throw new Error("malformed X.509 certificate DSA public key")}this.setPublicHex(r,l,a,o)}};var Ue=function(){var e=function(e,t,i){return n(r.AES,e,t,i)},n=function(e,n,t,i){var l=r.enc.Hex.parse(n),a=r.enc.Hex.parse(t),o=r.enc.Hex.parse(i),s={};s.key=a,s.iv=o,s.ciphertext=l;var u=e.decrypt(s,a,{iv:o});return r.enc.Hex.stringify(u)},t=function(e,n,t){return i(r.AES,e,n,t)},i=function(e,n,t,i){var l=r.enc.Hex.parse(n),a=r.enc.Hex.parse(t),o=r.enc.Hex.parse(i),s=e.encrypt(l,a,{iv:o}),u=r.enc.Hex.parse(s.toString());return r.enc.Base64.stringify(u)},l={"AES-256-CBC":{proc:e,eproc:t,keylen:32,ivlen:16},"AES-192-CBC":{proc:e,eproc:t,keylen:24,ivlen:16},"AES-128-CBC":{proc:e,eproc:t,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(e,t,i){return n(r.TripleDES,e,t,i)},eproc:function(e,n,t){return i(r.TripleDES,e,n,t)},keylen:24,ivlen:8},"DES-CBC":{proc:function(e,t,i){return n(r.DES,e,t,i)},eproc:function(e,n,t){return i(r.DES,e,n,t)},keylen:8,ivlen:8}},a=function(e){var n={},t=e.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));t&&(n.cipher=t[1],n.ivsalt=t[2]);var i=e.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));i&&(n.type=i[1]);var r=-1,l=0;-1!=e.indexOf("\r\n\r\n")&&(r=e.indexOf("\r\n\r\n"),l=2),-1!=e.indexOf("\n\n")&&(r=e.indexOf("\n\n"),l=1);var a=e.indexOf("-----END");if(-1!=r&&-1!=a){var o=e.substring(r+2*l,a-l);o=o.replace(/\s+/g,""),n.data=o}return n},o=function(e,n,t){for(var i=t.substring(0,16),a=r.enc.Hex.parse(i),o=r.enc.Utf8.parse(n),s=l[e].keylen+l[e].ivlen,u="",c=null;;){var d=r.algo.MD5.create();if(null!=c&&d.update(c),d.update(o),d.update(a),c=d.finalize(),(u+=r.enc.Hex.stringify(c)).length>=2*s)break}var p={};return p.keyhex=u.substr(0,2*l[e].keylen),p.ivhex=u.substr(2*l[e].keylen,2*l[e].ivlen),p},s=function(e,n,t,i){var a=r.enc.Base64.parse(e),o=r.enc.Hex.stringify(a);return(0,l[n].proc)(o,t,i)};return{version:"1.0.0",parsePKCS5PEM:function(e){return a(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(e,n,t){return o(e,n,t)},decryptKeyB64:function(e,n,t,i){return s(e,n,t,i)},getDecryptedKeyHex:function(e,n){var t=a(e),i=(t.type,t.cipher),r=t.ivsalt,l=t.data,u=o(i,n,r).keyhex;return s(l,i,u,r)},getEncryptedPKCS5PEMFromPrvKeyHex:function(e,n,t,i,a){var s="";if("undefined"!=typeof i&&null!=i||(i="AES-256-CBC"),"undefined"==typeof l[i])throw new Error("KEYUTIL unsupported algorithm: "+i);if("undefined"==typeof a||null==a){var u=function(e){var n=r.lib.WordArray.random(e);return r.enc.Hex.stringify(n)}(l[i].ivlen);a=u.toUpperCase()}var c=function(e,n,t,i){return(0,l[n].eproc)(e,t,i)}(n,i,o(i,t,a).keyhex,a);s="-----BEGIN "+e+" PRIVATE KEY-----\r\n";return s+="Proc-Type: 4,ENCRYPTED\r\n",s+="DEK-Info: "+i+","+a+"\r\n",s+="\r\n",s+=c.replace(/(.{64})/g,"$1\r\n"),s+="\r\n-----END "+e+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(e){var n=ee,t=n.getChildIdx,i=n.getV,r={},l=t(e,0);if(2!=l.length)throw new Error("malformed format: SEQUENCE(0).items != 2: "+l.length);r.ciphertext=i(e,l[1]);var a=t(e,l[0]);if(2!=a.length)throw new Error("malformed format: SEQUENCE(0.0).items != 2: "+a.length);if("2a864886f70d01050d"!=i(e,a[0]))throw new Error("this only supports pkcs5PBES2");var o=t(e,a[1]);if(2!=a.length)throw new Error("malformed format: SEQUENCE(0.0.1).items != 2: "+o.length);var s=t(e,o[1]);if(2!=s.length)throw new Error("malformed format: SEQUENCE(0.0.1.1).items != 2: "+s.length);if("2a864886f70d0307"!=i(e,s[0]))throw"this only supports TripleDES";r.encryptionSchemeAlg="TripleDES",r.encryptionSchemeIV=i(e,s[1]);var u=t(e,o[0]);if(2!=u.length)throw new Error("malformed format: SEQUENCE(0.0.1.0).items != 2: "+u.length);if("2a864886f70d01050c"!=i(e,u[0]))throw new Error("this only supports pkcs5PBKDF2");var c=t(e,u[1]);if(c.length<2)throw new Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+c.length);r.pbkdf2Salt=i(e,c[0]);var d=i(e,c[1]);try{r.pbkdf2Iter=parseInt(d,16)}catch(p){throw new Error("malformed format pbkdf2Iter: "+d)}return r},getPBKDF2KeyHexFromParam:function(e,n){var t=r.enc.Hex.parse(e.pbkdf2Salt),i=e.pbkdf2Iter,l=r.PBKDF2(n,t,{keySize:6,iterations:i});return r.enc.Hex.stringify(l)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(e,n){var t=he(e,"ENCRYPTED PRIVATE KEY"),i=this.parseHexOfEncryptedPKCS8(t),l=Ue.getPBKDF2KeyHexFromParam(i,n),a={};a.ciphertext=r.enc.Hex.parse(i.ciphertext);var o=r.enc.Hex.parse(l),s=r.enc.Hex.parse(i.encryptionSchemeIV),u=r.TripleDES.decrypt(a,o,{iv:s});return r.enc.Hex.stringify(u)},getKeyFromEncryptedPKCS8PEM:function(e,n){var t=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(e,n);return this.getKeyFromPlainPrivatePKCS8Hex(t)},parsePlainPrivatePKCS8Hex:function(e){var n=ee,t=n.getChildIdx,i=n.getV,r={algparam:null};if("30"!=e.substr(0,2))throw new Error("malformed plain PKCS8 private key(code:001)");var l=t(e,0);if(l.length<3)throw new Error("malformed plain PKCS8 private key(code:002)");if("30"!=e.substr(l[1],2))throw new Error("malformed PKCS8 private key(code:003)");var a=t(e,l[1]);if(2!=a.length)throw new Error("malformed PKCS8 private key(code:004)");if("06"!=e.substr(a[0],2))throw new Error("malformed PKCS8 private key(code:005)");if(r.algoid=i(e,a[0]),"06"==e.substr(a[1],2)&&(r.algparam=i(e,a[1])),"04"!=e.substr(l[2],2))throw new Error("malformed PKCS8 private key(code:006)");return r.keyidx=n.getVidx(e,l[2]),r},getKeyFromPlainPrivatePKCS8PEM:function(e){var n=he(e,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(n)},getKeyFromPlainPrivatePKCS8Hex:function(e){var n,t=this.parsePlainPrivatePKCS8Hex(e);if("2a864886f70d010101"==t.algoid)n=new H;else if("2a8648ce380401"==t.algoid)n=new Y.crypto.DSA;else{if("2a8648ce3d0201"!=t.algoid)throw new Error("unsupported private key algorithm");n=new Y.crypto.ECDSA}return n.readPKCS8PrvKeyHex(e),n},_getKeyFromPublicPKCS8Hex:function(e){var n,t=ee.getVbyList(e,0,[0,0],"06");if("2a864886f70d010101"===t)n=new H;else if("2a8648ce380401"===t)n=new Y.crypto.DSA;else{if("2a8648ce3d0201"!==t)throw new Error("unsupported PKCS#8 public key hex");n=new Y.crypto.ECDSA}return n.readPKCS8PubKeyHex(e),n},parsePublicRawRSAKeyHex:function(e){var n=ee,t=n.getChildIdx,i=n.getV,r={};if("30"!=e.substr(0,2))throw new Error("malformed RSA key(code:001)");var l=t(e,0);if(2!=l.length)throw new Error("malformed RSA key(code:002)");if("02"!=e.substr(l[0],2))throw new Error("malformed RSA key(code:003)");if(r.n=i(e,l[0]),"02"!=e.substr(l[1],2))throw new Error("malformed RSA key(code:004)");return r.e=i(e,l[1]),r},parsePublicPKCS8Hex:function(e){var n=ee,t=n.getChildIdx,i=n.getV,r={algparam:null},l=t(e,0);if(2!=l.length)throw new Error("outer DERSequence shall have 2 elements: "+l.length);var a=l[0];if("30"!=e.substr(a,2))throw new Error("malformed PKCS8 public key(code:001)");var o=t(e,a);if(2!=o.length)throw new Error("malformed PKCS8 public key(code:002)");if("06"!=e.substr(o[0],2))throw new Error("malformed PKCS8 public key(code:003)");if(r.algoid=i(e,o[0]),"06"==e.substr(o[1],2)?r.algparam=i(e,o[1]):"30"==e.substr(o[1],2)&&(r.algparam={},r.algparam.p=n.getVbyList(e,o[1],[0],"02"),r.algparam.q=n.getVbyList(e,o[1],[1],"02"),r.algparam.g=n.getVbyList(e,o[1],[2],"02")),"03"!=e.substr(l[1],2))throw new Error("malformed PKCS8 public key(code:004)");return r.key=i(e,l[1]).substr(2),r}}}();Ue.getKey=function(e,n,t){var i=(h=ee).getChildIdx,r=(h.getV,h.getVbyList),l=Y.crypto,a=l.ECDSA,o=l.DSA,s=H,u=he,d=Ue;if("undefined"!=typeof s&&e instanceof s)return e;if("undefined"!=typeof a&&e instanceof a)return e;if("undefined"!=typeof o&&e instanceof o)return e;if(void 0!==e.curve&&void 0!==e.xy&&void 0===e.d)return new a({pub:e.xy,curve:e.curve});if(void 0!==e.curve&&void 0!==e.d)return new a({prv:e.d,curve:e.curve});if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(S=new s).setPublic(e.n,e.e),S;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.co&&void 0===e.qi)return(S=new s).setPrivateEx(e.n,e.e,e.d,e.p,e.q,e.dp,e.dq,e.co),S;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0===e.p)return(S=new s).setPrivate(e.n,e.e,e.d),S;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0===e.x)return(S=new o).setPublic(e.p,e.q,e.g,e.y),S;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0!==e.x)return(S=new o).setPrivate(e.p,e.q,e.g,e.y,e.x),S;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(S=new s).setPublic(se(e.n),se(e.e)),S;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.qi)return(S=new s).setPrivateEx(se(e.n),se(e.e),se(e.d),se(e.p),se(e.q),se(e.dp),se(e.dq),se(e.qi)),S;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d)return(S=new s).setPrivate(se(e.n),se(e.e),se(e.d)),S;if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0===e.d){var p=(C=new a({curve:e.crv})).ecparams.keycharlen,f="04"+("0000000000"+se(e.x)).slice(-p)+("0000000000"+se(e.y)).slice(-p);return C.setPublicKeyHex(f),C}if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0!==e.d){p=(C=new a({curve:e.crv})).ecparams.keycharlen,f="04"+("0000000000"+se(e.x)).slice(-p)+("0000000000"+se(e.y)).slice(-p);var m=("0000000000"+se(e.d)).slice(-p);return C.setPublicKeyHex(f),C.setPrivateKeyHex(m),C}if("pkcs5prv"===t){var y,_=e,h=ee;if(9===(y=i(_,0)).length)(S=new s).readPKCS5PrvKeyHex(_);else if(6===y.length)(S=new o).readPKCS5PrvKeyHex(_);else{if(!(y.length>2&&"04"===_.substr(y[1],2)))throw new Error("unsupported PKCS#1/5 hexadecimal key");(S=new a).readPKCS5PrvKeyHex(_)}return S}if("pkcs8prv"===t)return S=d.getKeyFromPlainPrivatePKCS8Hex(e);if("pkcs8pub"===t)return d._getKeyFromPublicPKCS8Hex(e);if("x509pub"===t)return Me.getPublicKeyFromCertHex(e);if(-1!=e.indexOf("-END CERTIFICATE-",0)||-1!=e.indexOf("-END X509 CERTIFICATE-",0)||-1!=e.indexOf("-END TRUSTED CERTIFICATE-",0))return Me.getPublicKeyFromCertPEM(e);if(-1!=e.indexOf("-END PUBLIC KEY-")){var g=he(e,"PUBLIC KEY");return d._getKeyFromPublicPKCS8Hex(g)}if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var v=u(e,"RSA PRIVATE KEY");return d.getKey(v,null,"pkcs5prv")}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var T=r(A=u(e,"DSA PRIVATE KEY"),0,[1],"02"),b=r(A,0,[2],"02"),k=r(A,0,[3],"02"),R=r(A,0,[4],"02"),N=r(A,0,[5],"02");return(S=new o).setPrivate(new c(T,16),new c(b,16),new c(k,16),new c(R,16),new c(N,16)),S}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){v=u(e,"EC PRIVATE KEY");return d.getKey(v,null,"pkcs5prv")}if(-1!=e.indexOf("-END PRIVATE KEY-"))return d.getKeyFromPlainPrivatePKCS8PEM(e);if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var E=d.getDecryptedKeyHex(e,n),x=new H;return x.readPKCS5PrvKeyHex(E),x}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var C,S=r(A=d.getDecryptedKeyHex(e,n),0,[1],"04"),w=r(A,0,[2,0],"06"),D=r(A,0,[3,0],"03").substr(2);if(void 0===Y.crypto.OID.oidhex2name[w])throw new Error("undefined OID(hex) in KJUR.crypto.OID: "+w);return(C=new a({curve:Y.crypto.OID.oidhex2name[w]})).setPublicKeyHex(D),C.setPrivateKeyHex(S),C.isPublic=!1,C}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var A;T=r(A=d.getDecryptedKeyHex(e,n),0,[1],"02"),b=r(A,0,[2],"02"),k=r(A,0,[3],"02"),R=r(A,0,[4],"02"),N=r(A,0,[5],"02");return(S=new o).setPrivate(new c(T,16),new c(b,16),new c(k,16),new c(R,16),new c(N,16)),S}if(-1!=e.indexOf("-END ENCRYPTED PRIVATE KEY-"))return d.getKeyFromEncryptedPKCS8PEM(e,n);throw new Error("not supported argument")},Ue.generateKeypair=function(e,n){if("RSA"==e){var t=n;(a=new H).generate(t,"10001"),a.isPrivate=!0,a.isPublic=!0;var i=new H,r=a.n.toString(16),l=a.e.toString(16);return i.setPublic(r,l),i.isPrivate=!1,i.isPublic=!0,(o={}).prvKeyObj=a,o.pubKeyObj=i,o}if("EC"==e){var a,o,s=n,u=new Y.crypto.ECDSA({curve:s}).generateKeyPairHex();return(a=new Y.crypto.ECDSA({curve:s})).setPublicKeyHex(u.ecpubhex),a.setPrivateKeyHex(u.ecprvhex),a.isPrivate=!0,a.isPublic=!1,(i=new Y.crypto.ECDSA({curve:s})).setPublicKeyHex(u.ecpubhex),i.isPrivate=!1,i.isPublic=!0,(o={}).prvKeyObj=a,o.pubKeyObj=i,o}throw new Error("unknown algorithm: "+e)},Ue.getPEM=function(e,n,t,i,l,a){var o=Y,s=o.asn1,u=s.DERObjectIdentifier,c=s.DERInteger,d=s.ASN1Util.newObject,p=s.x509.SubjectPublicKeyInfo,f=o.crypto,m=f.DSA,y=f.ECDSA,_=H;function h(e){return d({seq:[{int:0},{int:{bigint:e.n}},{int:e.e},{int:{bigint:e.d}},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.dmp1}},{int:{bigint:e.dmq1}},{int:{bigint:e.coeff}}]})}function g(e){return d({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a0",!0,{oid:{name:e.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]})}function v(e){return d({seq:[{int:0},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}},{int:{bigint:e.y}},{int:{bigint:e.x}}]})}if((void 0!==_&&e instanceof _||void 0!==m&&e instanceof m||void 0!==y&&e instanceof y)&&1==e.isPublic&&(void 0===n||"PKCS8PUB"==n))return _e(R=new p(e).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==n&&void 0!==_&&e instanceof _&&(void 0===t||null==t)&&1==e.isPrivate)return _e(R=h(e).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==n&&void 0!==y&&e instanceof y&&(void 0===t||null==t)&&1==e.isPrivate){var T=new u({name:e.curveName}).getEncodedHex(),b=g(e).getEncodedHex(),k="";return k+=_e(T,"EC PARAMETERS"),k+=_e(b,"EC PRIVATE KEY")}if("PKCS1PRV"==n&&void 0!==m&&e instanceof m&&(void 0===t||null==t)&&1==e.isPrivate)return _e(R=v(e).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==n&&void 0!==_&&e instanceof _&&void 0!==t&&null!=t&&1==e.isPrivate){var R=h(e).getEncodedHex();return void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",R,t,i,a)}if("PKCS5PRV"==n&&void 0!==y&&e instanceof y&&void 0!==t&&null!=t&&1==e.isPrivate){R=g(e).getEncodedHex();return void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",R,t,i,a)}if("PKCS5PRV"==n&&void 0!==m&&e instanceof m&&void 0!==t&&null!=t&&1==e.isPrivate){R=v(e).getEncodedHex();return void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",R,t,i,a)}var N=function(e,n){var t=E(e,n);return new d({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:t.pbkdf2Salt}},{int:t.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:t.encryptionSchemeIV}}]}]}]},{octstr:{hex:t.ciphertext}}]}).getEncodedHex()},E=function(e,n){var t=r.lib.WordArray.random(8),i=r.lib.WordArray.random(8),l=r.PBKDF2(n,t,{keySize:6,iterations:100}),a=r.enc.Hex.parse(e),o=r.TripleDES.encrypt(a,l,{iv:i})+"",s={};return s.ciphertext=o,s.pbkdf2Salt=r.enc.Hex.stringify(t),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=r.enc.Hex.stringify(i),s};if("PKCS8PRV"==n&&void 0!=_&&e instanceof _&&1==e.isPrivate){var x=h(e).getEncodedHex();R=d({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:x}}]}).getEncodedHex();return void 0===t||null==t?_e(R,"PRIVATE KEY"):_e(b=N(R,t),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==n&&void 0!==y&&e instanceof y&&1==e.isPrivate){x=new d({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]}).getEncodedHex(),R=d({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:e.curveName}}]},{octstr:{hex:x}}]}).getEncodedHex();return void 0===t||null==t?_e(R,"PRIVATE KEY"):_e(b=N(R,t),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==n&&void 0!==m&&e instanceof m&&1==e.isPrivate){x=new c({bigint:e.x}).getEncodedHex(),R=d({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}]},{octstr:{hex:x}}]}).getEncodedHex();return void 0===t||null==t?_e(R,"PRIVATE KEY"):_e(b=N(R,t),"ENCRYPTED PRIVATE KEY")}throw new Error("unsupported object nor format")},Ue.getKeyFromCSRPEM=function(e){var n=he(e,"CERTIFICATE REQUEST");return Ue.getKeyFromCSRHex(n)},Ue.getKeyFromCSRHex=function(e){var n=Ue.parseCSRHex(e);return Ue.getKey(n.p8pubkeyhex,null,"pkcs8pub")},Ue.parseCSRHex=function(e){var n=ee,t=n.getChildIdx,i=n.getTLV,r={},l=e;if("30"!=l.substr(0,2))throw new Error("malformed CSR(code:001)");var a=t(l,0);if(a.length<1)throw new Error("malformed CSR(code:002)");if("30"!=l.substr(a[0],2))throw new Error("malformed CSR(code:003)");var o=t(l,a[0]);if(o.length<3)throw new Error("malformed CSR(code:004)");return r.p8pubkeyhex=i(l,o[2]),r},Ue.getKeyID=function(e){var n=Ue,t=ee;"string"===typeof e&&-1!=e.indexOf("BEGIN ")&&(e=n.getKey(e));var i=he(n.getPEM(e)),r=t.getIdxbyList(i,0,[1]),l=t.getV(i,r).substring(2);return Y.crypto.Util.hashHex(l,"sha1")},Ue.getJWK=function(e,n,t,i,r){var l,a,s={},u=Y.crypto.Util.hashHex;if("string"==typeof e)l=Ue.getKey(e),-1!=e.indexOf("CERTIFICATE")&&(a=he(e));else{if("object"!=typeof e)throw new Error("unsupported keyinfo type");e instanceof Me?(l=e.getPublicKey(),a=e.hex):l=e}if(l instanceof H&&l.isPrivate)s.kty="RSA",s.n=oe(l.n.toString(16)),s.e=oe(l.e.toString(16)),s.d=oe(l.d.toString(16)),s.p=oe(l.p.toString(16)),s.q=oe(l.q.toString(16)),s.dp=oe(l.dmp1.toString(16)),s.dq=oe(l.dmq1.toString(16)),s.qi=oe(l.coeff.toString(16));else if(l instanceof H&&l.isPublic)s.kty="RSA",s.n=oe(l.n.toString(16)),s.e=oe(l.e.toString(16));else if(l instanceof Y.crypto.ECDSA&&l.isPrivate){if("P-256"!==(d=l.getShortNISTPCurveName())&&"P-384"!==d&&"P-521"!==d)throw new Error("unsupported curve name for JWT: "+d);var c=l.getPublicKeyXYHex();s.kty="EC",s.crv=d,s.x=oe(c.x),s.y=oe(c.y),s.d=oe(l.prvKeyHex)}else if(l instanceof Y.crypto.ECDSA&&l.isPublic){var d;if("P-256"!==(d=l.getShortNISTPCurveName())&&"P-384"!==d&&"P-521"!==d)throw new Error("unsupported curve name for JWT: "+d);c=l.getPublicKeyXYHex();s.kty="EC",s.crv=d,s.x=oe(c.x),s.y=oe(c.y)}if(void 0==s.kty)throw new Error("unsupported keyinfo");return l.isPrivate||1==n||(s.kid=Y.jws.JWS.getJWKthumbprint(s)),void 0!=a&&1!=t&&(s.x5c=[o(a)]),void 0!=a&&1!=i&&(s.x5t=le(o(u(a,"sha1")))),void 0!=a&&1!=r&&(s["x5t#S256"]=le(o(u(a,"sha256")))),s},Ue.getJWKFromKey=function(e){return Ue.getJWK(e,!0,!0,!0,!0)},H.getPosArrayOfChildrenFromHex=function(e){return ee.getChildIdx(e,0)},H.getHexValueArrayOfChildrenFromHex=function(e){var n,t=ee.getV,i=t(e,(n=H.getPosArrayOfChildrenFromHex(e))[0]),r=t(e,n[1]),l=t(e,n[2]),a=t(e,n[3]),o=t(e,n[4]),s=t(e,n[5]),u=t(e,n[6]),c=t(e,n[7]),d=t(e,n[8]);return(n=new Array).push(i,r,l,a,o,s,u,c,d),n},H.prototype.readPrivateKeyFromPEMString=function(e){var n=he(e),t=H.getHexValueArrayOfChildrenFromHex(n);this.setPrivateEx(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},H.prototype.readPKCS5PrvKeyHex=function(e){var n=H.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8])},H.prototype.readPKCS8PrvKeyHex=function(e){var n,t,i,r,l,a,o,s,u=ee,c=u.getVbyListEx;if(!1===u.isASN1HEX(e))throw new Error("not ASN.1 hex string");try{n=c(e,0,[2,0,1],"02"),t=c(e,0,[2,0,2],"02"),i=c(e,0,[2,0,3],"02"),r=c(e,0,[2,0,4],"02"),l=c(e,0,[2,0,5],"02"),a=c(e,0,[2,0,6],"02"),o=c(e,0,[2,0,7],"02"),s=c(e,0,[2,0,8],"02")}catch(d){throw new Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(n,t,i,r,l,a,o,s)},H.prototype.readPKCS5PubKeyHex=function(e){var n=ee,t=n.getV;if(!1===n.isASN1HEX(e))throw new Error("keyHex is not ASN.1 hex string");var i=n.getChildIdx(e,0);if(2!==i.length||"02"!==e.substr(i[0],2)||"02"!==e.substr(i[1],2))throw new Error("wrong hex for PKCS#5 public key");var r=t(e,i[0]),l=t(e,i[1]);this.setPublic(r,l)},H.prototype.readPKCS8PubKeyHex=function(e){var n=ee;if(!1===n.isASN1HEX(e))throw new Error("not ASN.1 hex string");if("06092a864886f70d010101"!==n.getTLVbyListEx(e,0,[0,0]))throw new Error("not PKCS8 RSA public key");var t=n.getTLVbyListEx(e,0,[1,0]);this.readPKCS5PubKeyHex(t)},H.prototype.readCertPubKeyHex=function(e,n){var t,i;(t=new Me).readCertHex(e),i=t.getPublicKeyHex(),this.readPKCS8PubKeyHex(i)};function Pe(e,n){for(var t="",i=n/4-e.length,r=0;r>24,(16711680&r)>>16,(65280&r)>>8,255&r])))),r+=1;return i}function Be(e){for(var n in Y.crypto.Util.DIGESTINFOHEAD){var t=Y.crypto.Util.DIGESTINFOHEAD[n],i=t.length;if(e.substring(0,i)==t)return[n,e.substring(i)]}return[]}function Me(e){var n,t=ee,i=t.getChildIdx,r=t.getV,l=t.getTLV,a=t.getVbyList,o=t.getVbyListEx,s=t.getTLVbyList,u=t.getTLVbyListEx,c=t.getIdxbyList,d=t.getIdxbyListEx,p=t.getVidx,f=t.getInt,m=t.oidname,y=t.hextooidstr,_=he;try{n=Y.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch(h){}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){if(null===this.hex||0!==this.version)return this.version;var e=s(this.hex,0,[0,0]);if("a0"==e.substr(0,2)){var n=s(e,0,[0]),t=f(n,0);if(t<0||21){var o=l(e,a[1]),s=this.getGeneralName(o);void 0!=s.uri&&(r.uri=s.uri)}if(a.length>2){var u=l(e,a[2]);"0101ff"==u&&(r.reqauth=!0),"010100"==u&&(r.reqauth=!1)}return r},this.getX500NameRule=function(e){for(var n=null,t=[],i=0;i0&&(e.ext=this.getExtParamArray()),e.sighex=this.getSignatureValueHex(),e},this.getExtParamArray=function(e){void 0==e&&(-1!=d(this.hex,0,[0,"[3]"])&&(e=u(this.hex,0,[0,"[3]",0],"30")));for(var n=[],t=i(e,0),r=0;r0&&(u=new Array(t),(new J).nextBytes(u),u=String.fromCharCode.apply(String,u));var d=de(s(pe("\0\0\0\0\0\0\0\0"+r+u))),p=[];for(i=0;i>8*o-a&255;for(y[0]&=~_,i=0;ii)return!1;var r=this.doPublic(t).toString(16);if(r.length+3!=i/4)return!1;var l=Be(r.replace(/^1f+00/,""));if(0==l.length)return!1;var a,o=l[0];return l[1]==(a=e,Y.crypto.Util.hashString(a,o))},H.prototype.verifyWithMessageHash=function(e,n){if(n.length!=Math.ceil(this.n.bitLength()/4))return!1;var t=Z(n,16);if(t.bitLength()>this.n.bitLength())return 0;var i=Be(this.doPublic(t).toString(16).replace(/^1f+00/,""));if(0==i.length)return!1;i[0];return i[1]==e},H.prototype.verifyPSS=function(e,n,t,i){var r,l=(r=pe(e),Y.crypto.Util.hashHex(r,t));return void 0===i&&(i=-1),this.verifyWithMessageHashPSS(l,n,t,i)},H.prototype.verifyWithMessageHashPSS=function(e,n,t,i){if(n.length!=Math.ceil(this.n.bitLength()/4))return!1;var r,l=new c(n,16),a=function(e){return Y.crypto.Util.hashHex(e,t)},o=de(e),s=o.length,u=this.n.bitLength()-1,d=Math.ceil(u/8);if(-1===i||void 0===i)i=s;else if(-2===i)i=d-s-2;else if(i<-2)throw new Error("invalid salt length");if(d>8*d-u&255;if(0!==(f.charCodeAt(0)&y))throw new Error("bits beyond keysize not zero");var _=Ve(m,f.length,a),h=[];for(r=0;r0)&&-1==(":"+t.join(":")+":").indexOf(":"+y+":"))throw"algorithm '"+y+"' not accepted in the list";if("none"!=y&&null===n)throw"key shall be specified to verify.";if("string"==typeof n&&-1!=n.indexOf("-----BEGIN ")&&(n=Ue.getKey(n)),("RS"==_||"PS"==_)&&!(n instanceof i))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==_&&!(n instanceof s))throw"key shall be a ECDSA obj for ES* algs";var h=null;if(void 0===l.jwsalg2sigalg[m.alg])throw"unsupported alg name: "+y;if("none"==(h=l.jwsalg2sigalg[y]))throw"not supported";if("Hmac"==h.substr(0,4)){if(void 0===n)throw"hexadecimal key shall be specified for HMAC";var g=new u({alg:h,pass:n});return g.updateString(p),f==g.doFinal()}if(-1!=h.indexOf("withECDSA")){var v,T=null;try{T=s.concatSigToASN1Sig(f)}catch(b){return!1}return(v=new c({alg:h})).init(n),v.updateString(p),v.verify(T)}return(v=new c({alg:h})).init(n),v.updateString(p),v.verify(f)},Y.jws.JWS.parse=function(e){var n,t,i,r=e.split("."),l={};if(2!=r.length&&3!=r.length)throw"malformed sJWS: wrong number of '.' splitted elements";return n=r[0],t=r[1],3==r.length&&(i=r[2]),l.headerObj=Y.jws.JWS.readSafeJSONString(X(n)),l.payloadObj=Y.jws.JWS.readSafeJSONString(X(t)),l.headerPP=JSON.stringify(l.headerObj,null," "),null==l.payloadObj?l.payloadPP=X(t):l.payloadPP=JSON.stringify(l.payloadObj,null," "),void 0!==i&&(l.sigHex=se(i)),l},Y.jws.JWS.verifyJWT=function(e,n,t){var i=Y.jws,r=i.JWS,l=r.readSafeJSONString,a=r.inArray,o=r.includedArray,s=e.split("."),u=s[0],c=s[1],d=(se(s[2]),l(X(u))),p=l(X(c));if(void 0===d.alg)return!1;if(void 0===t.alg)throw"acceptField.alg shall be specified";if(!a(d.alg,t.alg))return!1;if(void 0!==p.iss&&"object"===typeof t.iss&&!a(p.iss,t.iss))return!1;if(void 0!==p.sub&&"object"===typeof t.sub&&!a(p.sub,t.sub))return!1;if(void 0!==p.aud&&"object"===typeof t.aud)if("string"==typeof p.aud){if(!a(p.aud,t.aud))return!1}else if("object"==typeof p.aud&&!o(p.aud,t.aud))return!1;var f=i.IntDate.getNow();return void 0!==t.verifyAt&&"number"===typeof t.verifyAt&&(f=t.verifyAt),void 0!==t.gracePeriod&&"number"===typeof t.gracePeriod||(t.gracePeriod=0),!(void 0!==p.exp&&"number"==typeof p.exp&&p.exp+t.gracePeriodr&&this.aHeader.pop(),this.aSignature.length>r&&this.aSignature.pop(),"addSignature failed: "+a}},this.verifyAll=function(e){if(this.aHeader.length!==e.length||this.aSignature.length!==e.length)return!1;for(var n=0;n0))throw"malformed header";if(this.aHeader=e.headers,"string"!==typeof e.payload)throw"malformed signatures";if(this.sPayload=e.payload,!(e.signatures.length>0))throw"malformed signatures";this.aSignature=e.signatures}catch(i){throw"malformed JWS-JS JSON object: "+i}},this.getJSON=function(){return{headers:this.aHeader,payload:this.sPayload,signatures:this.aSignature}},this.isEmpty=function(){return 0==this.aHeader.length?1:0}},n.SecureRandom=J,n.rng_seed_time=P,n.BigInteger=c,n.RSAKey=H,n.ECDSA=Y.crypto.ECDSA,n.DSA=Y.crypto.DSA,n.Signature=Y.crypto.Signature,n.MessageDigest=Y.crypto.MessageDigest,n.Mac=Y.crypto.Mac,n.Cipher=Y.crypto.Cipher,n.KEYUTIL=Ue,n.ASN1HEX=ee,n.X509=Me,n.X509CRL=function(e){var n=Y.lang.String.isHex,t=ee,i=t.getV,r=t.getTLV,l=t.getVbyList,a=t.getTLVbyList,o=t.getTLVbyListEx,s=t.getIdxbyList,u=t.getIdxbyListEx,c=t.getChildIdx,d=new Me;this.hex=null,this.posSigAlg=null,this.posRevCert=null,this._setPos=function(){var e=s(this.hex,0,[0,0]),n=this.hex.substr(e,2);if("02"==n)this.posSigAlg=1;else{if("30"!=n)throw new Error("malformed 1st item of TBSCertList: "+n);this.posSigAlg=0}var t,i=s(this.hex,0,[0,this.posSigAlg+3]),r=this.hex.substr(i,2);if("17"==r||"18"==r)t=s(this.hex,0,[0,this.posSigAlg+4]),this.posRevCert=null,-1!=t&&"30"==this.hex.substr(t,2)&&(this.posRevCert=this.posSigAlg+4);else if("30"==r)this.posRevCert=this.posSigAlg+3;else{if("a0"!=r)throw new Error("malformed nextUpdate or revCert tag: "+r);this.posRevCert=null}},this.getVersion=function(){return 0==this.posSigAlg?null:parseInt(l(this.hex,0,[0,0],"02"),16)+1},this.getSignatureAlgorithmField=function(){var e=a(this.hex,0,[0,this.posSigAlg],"30");return d.getAlgorithmIdentifierName(e)},this.getIssuer=function(){var e=a(this.hex,0,[0,this.posSigAlg+1],"30");return d.getX500Name(e)},this.getThisUpdate=function(){var e=l(this.hex,0,[0,this.posSigAlg+2]);return result=de(e)},this.getNextUpdate=function(){var e=s(this.hex,0,[0,this.posSigAlg+3]),n=this.hex.substr(e,2);return"17"!=n&&"18"!=n?null:de(i(this.hex,e))},this.getRevCertArray=function(){if(null==this.posRevCert)return null;for(var e=[],n=s(this.hex,0,[0,this.posRevCert]),t=c(this.hex,n),i=0;in.length&&(t=n.length);for(var i=0;i-1}},2683:function(e){e.exports=function(e,n,t){for(var i=-1,r=null==e?0:e.length;++i0&&l(c)?t>1?e(c,t-1,l,a,o):i(o,c):a||(o[o.length]=c)}return o}},5099:function(e,n,t){var i=t(372)();e.exports=i},5358:function(e,n,t){var i=t(5099),r=t(2742);e.exports=function(e,n){return e&&i(e,n,r)}},8667:function(e,n,t){var i=t(3082),r=t(9793);e.exports=function(e,n){for(var t=0,l=(n=i(n,e)).length;null!=e&&tn}},529:function(e){e.exports=function(e,n){return null!=e&&n in Object(e)}},4842:function(e,n,t){var i=t(2045),r=t(505),l=t(7167);e.exports=function(e,n,t){return n===n?l(e,n,t):i(e,r,t)}},4906:function(e,n,t){var i=t(9066),r=t(3141);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},1848:function(e,n,t){var i=t(3355),r=t(3141);e.exports=function e(n,t,l,a,o){return n===t||(null==n||null==t||!r(n)&&!r(t)?n!==n&&t!==t:i(n,t,l,a,e,o))}},3355:function(e,n,t){var i=t(9424),r=t(5305),l=t(2206),a=t(8078),o=t(8383),s=t(3629),u=t(5174),c=t(9102),d="[object Arguments]",p="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,n,t,y,_,h){var g=s(e),v=s(n),T=g?p:o(e),b=v?p:o(n),k=(T=T==d?f:T)==f,R=(b=b==d?f:b)==f,N=T==b;if(N&&u(e)){if(!u(n))return!1;g=!0,k=!1}if(N&&!k)return h||(h=new i),g||c(e)?r(e,n,t,y,_,h):l(e,n,T,t,y,_,h);if(!(1&t)){var E=k&&m.call(e,"__wrapped__"),x=R&&m.call(n,"__wrapped__");if(E||x){var C=E?e.value():e,S=x?n.value():n;return h||(h=new i),_(C,S,t,y,h)}}return!!N&&(h||(h=new i),a(e,n,t,y,_,h))}},8856:function(e,n,t){var i=t(9424),r=t(1848);e.exports=function(e,n,t,l){var a=t.length,o=a,s=!l;if(null==e)return!o;for(e=Object(e);a--;){var u=t[a];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++ar?0:r+n),(t=t>r?r:t)<0&&(t+=r),r=n>t?0:t-n>>>0,n>>>=0;for(var l=Array(r);++i=200){var y=n?null:o(e);if(y)return s(y);p=!1,c=a,m=new i}else m=n?[]:f;e:for(;++u=r?e:i(e,n,t)}},8558:function(e,n,t){var i=t(152);e.exports=function(e,n){if(e!==n){var t=void 0!==e,r=null===e,l=e===e,a=i(e),o=void 0!==n,s=null===n,u=n===n,c=i(n);if(!s&&!c&&!a&&e>n||a&&o&&u&&!s&&!c||r&&o&&u||!t&&u||!l)return 1;if(!r&&!a&&!c&&e=s?u:u*("desc"==t[r]?-1:1)}return e.index-n.index}},5525:function(e,n,t){var i=t(7009)["__core-js_shared__"];e.exports=i},7056:function(e,n,t){var i=t(1473);e.exports=function(e,n){return function(t,r){if(null==t)return t;if(!i(t))return e(t,r);for(var l=t.length,a=n?l:-1,o=Object(t);(n?a--:++a-1?o[s?n[u]:u]:void 0}}},6381:function(e,n,t){var i=t(7255),r=t(3195),l=t(1495);e.exports=function(e){return function(n,t,a){return a&&"number"!=typeof a&&r(n,t,a)&&(t=a=void 0),n=l(n),void 0===t?(t=n,n=0):t=l(t),a=void 0===a?nc))return!1;var p=s.get(e),f=s.get(n);if(p&&f)return p==n&&f==e;var m=-1,y=!0,_=2&t?new i:void 0;for(s.set(e,n),s.set(n,e);++m-1&&e%1==0&&e-1}},7109:function(e,n,t){var i=t(7112);e.exports=function(e,n){var t=this.__data__,r=i(t,e);return r<0?(++this.size,t.push([e,n])):t[r][1]=n,this}},4086:function(e,n,t){var i=t(9676),r=t(8384),l=t(5797);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(l||r),string:new i}}},9255:function(e,n,t){var i=t(2799);e.exports=function(e){var n=i(this,e).delete(e);return this.size-=n?1:0,n}},9186:function(e,n,t){var i=t(2799);e.exports=function(e){return i(this,e).get(e)}},3423:function(e,n,t){var i=t(2799);e.exports=function(e){return i(this,e).has(e)}},3739:function(e,n,t){var i=t(2799);e.exports=function(e,n){var t=i(this,e),r=t.size;return t.set(e,n),this.size+=t.size==r?0:1,this}},234:function(e){e.exports=function(e){var n=-1,t=Array(e.size);return e.forEach((function(e,i){t[++n]=[i,e]})),t}},284:function(e){e.exports=function(e,n){return function(t){return null!=t&&(t[e]===n&&(void 0!==n||e in Object(t)))}}},4634:function(e,n,t){var i=t(9151);e.exports=function(e){var n=i(e,(function(e){return 500===t.size&&t.clear(),e})),t=n.cache;return n}},9620:function(e,n,t){var i=t(8136)(Object,"create");e.exports=i},8836:function(e,n,t){var i=t(2709)(Object.keys,Object);e.exports=i},9494:function(e,n,t){e=t.nmd(e);var i=t(1032),r=n&&!n.nodeType&&n,l=r&&e&&!e.nodeType&&e,a=l&&l.exports===r&&i.process,o=function(){try{var e=l&&l.require&&l.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(n){}}();e.exports=o},3581:function(e){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},2709:function(e){e.exports=function(e,n){return function(t){return e(n(t))}}},4262:function(e,n,t){var i=t(3665),r=Math.max;e.exports=function(e,n,t){return n=r(void 0===n?e.length-1:n,0),function(){for(var l=arguments,a=-1,o=r(l.length-n,0),s=Array(o);++a0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},511:function(e,n,t){var i=t(8384);e.exports=function(){this.__data__=new i,this.size=0}},835:function(e){e.exports=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,n,t){var i=t(8384),r=t(5797),l=t(8059);e.exports=function(e,n){var t=this.__data__;if(t instanceof i){var a=t.__data__;if(!r||a.length<199)return a.push([e,n]),this.size=++t.size,this;t=this.__data__=new l(a)}return t.set(e,n),this.size=t.size,this}},7167:function(e){e.exports=function(e,n,t){for(var i=t-1,r=e.length;++i=n||t<0||_&&e-m>=c}function b(){var e=r();if(T(e))return k(e);p=setTimeout(b,function(e){var t=n-(e-f);return _?o(t,c-(e-m)):t}(e))}function k(e){return p=void 0,h&&s?g(e):(s=u=void 0,d)}function R(){var e=r(),t=T(e);if(s=arguments,u=this,f=e,t){if(void 0===p)return v(f);if(_)return clearTimeout(p),p=setTimeout(b,n),g(f)}return void 0===p&&(p=setTimeout(b,n)),d}return n=l(n)||0,i(t)&&(y=!!t.leading,c=(_="maxWait"in t)?a(l(t.maxWait)||0,n):c,h="trailing"in t?!!t.trailing:h),R.cancel=function(){void 0!==p&&clearTimeout(p),m=0,s=f=u=p=void 0},R.flush=function(){return void 0===p?d:k(r())},R}},9231:function(e){e.exports=function(e,n){return e===n||e!==e&&n!==n}},2730:function(e,n,t){var i=t(4277),r=t(9863),l=t(6025),a=t(3629),o=t(3195);e.exports=function(e,n,t){var s=a(e)?i:r;return t&&o(e,n,t)&&(n=void 0),s(e,l(n,3))}},1211:function(e,n,t){var i=t(5481)(t(1475));e.exports=i},1475:function(e,n,t){var i=t(2045),r=t(6025),l=t(9753),a=Math.max;e.exports=function(e,n,t){var o=null==e?0:e.length;if(!o)return-1;var s=null==t?0:l(t);return s<0&&(s=a(o+s,0)),i(e,r(n,3),s)}},5008:function(e,n,t){var i=t(5182),r=t(2034);e.exports=function(e,n){return i(r(e,n),1)}},6181:function(e,n,t){var i=t(8667);e.exports=function(e,n,t){var r=null==e?void 0:i(e,n);return void 0===r?t:r}},5658:function(e,n,t){var i=t(529),r=t(6417);e.exports=function(e,n){return null!=e&&r(e,n,i)}},2100:function(e){e.exports=function(e){return e}},4963:function(e,n,t){var i=t(4906),r=t(3141),l=Object.prototype,a=l.hasOwnProperty,o=l.propertyIsEnumerable,s=i(function(){return arguments}())?i:function(e){return r(e)&&a.call(e,"callee")&&!o.call(e,"callee")};e.exports=s},3629:function(e){var n=Array.isArray;e.exports=n},1473:function(e,n,t){var i=t(4786),r=t(4635);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},5127:function(e,n,t){var i=t(9066),r=t(3141);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==i(e)}},5174:function(e,n,t){e=t.nmd(e);var i=t(7009),r=t(9488),l=n&&!n.nodeType&&n,a=l&&e&&!e.nodeType&&e,o=a&&a.exports===l?i.Buffer:void 0,s=(o?o.isBuffer:void 0)||r;e.exports=s},8111:function(e,n,t){var i=t(1848);e.exports=function(e,n){return i(e,n)}},4786:function(e,n,t){var i=t(9066),r=t(8092);e.exports=function(e){if(!r(e))return!1;var n=i(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},4635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},2066:function(e,n,t){var i=t(298);e.exports=function(e){return i(e)&&e!=+e}},2854:function(e){e.exports=function(e){return null==e}},298:function(e,n,t){var i=t(9066),r=t(3141);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==i(e)}},8092:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},3141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},3977:function(e,n,t){var i=t(9066),r=t(1137),l=t(3141),a=Function.prototype,o=Object.prototype,s=a.toString,u=o.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!l(e)||"[object Object]"!=i(e))return!1;var n=r(e);if(null===n)return!0;var t=u.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&s.call(t)==c}},6769:function(e,n,t){var i=t(9066),r=t(3629),l=t(3141);e.exports=function(e){return"string"==typeof e||!r(e)&&l(e)&&"[object String]"==i(e)}},152:function(e,n,t){var i=t(9066),r=t(3141);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},9102:function(e,n,t){var i=t(8150),r=t(6194),l=t(9494),a=l&&l.isTypedArray,o=a?r(a):i;e.exports=o},2742:function(e,n,t){var i=t(7538),r=t(3654),l=t(1473);e.exports=function(e){return l(e)?i(e):r(e)}},5727:function(e){e.exports=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},2034:function(e,n,t){var i=t(8950),r=t(6025),l=t(3849),a=t(3629);e.exports=function(e,n){return(a(e)?i:l)(e,r(n,3))}},7702:function(e,n,t){var i=t(2526),r=t(5358),l=t(6025);e.exports=function(e,n){var t={};return n=l(n,3),r(e,(function(e,r,l){i(t,r,n(e,r,l))})),t}},9627:function(e,n,t){var i=t(3079),r=t(1954),l=t(2100);e.exports=function(e){return e&&e.length?i(e,l,r):void 0}},8559:function(e,n,t){var i=t(3079),r=t(1954),l=t(6025);e.exports=function(e,n){return e&&e.length?i(e,l(n,2),r):void 0}},9151:function(e,n,t){var i=t(8059);function r(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var t=function t(){var i=arguments,r=n?n.apply(this,i):i[0],l=t.cache;if(l.has(r))return l.get(r);var a=e.apply(this,i);return t.cache=l.set(r,a)||l,a};return t.cache=new(r.Cache||i),t}r.Cache=i,e.exports=r},6452:function(e,n,t){var i=t(3079),r=t(2580),l=t(2100);e.exports=function(e){return e&&e.length?i(e,l,r):void 0}},3638:function(e,n,t){var i=t(3079),r=t(6025),l=t(2580);e.exports=function(e,n){return e&&e.length?i(e,r(n,2),l):void 0}},9694:function(e){e.exports=function(){}},72:function(e,n,t){var i=t(7009);e.exports=function(){return i.Date.now()}},38:function(e,n,t){var i=t(9586),r=t(4084),l=t(5823),a=t(9793);e.exports=function(e){return l(e)?i(a(e)):r(e)}},6222:function(e,n,t){var i=t(6381)();e.exports=i},4064:function(e,n,t){var i=t(7897),r=t(6025),l=t(9204),a=t(3629),o=t(3195);e.exports=function(e,n,t){var s=a(e)?i:l;return t&&o(e,n,t)&&(n=void 0),s(e,r(n,3))}},4286:function(e,n,t){var i=t(5182),r=t(3226),l=t(8794),a=t(3195),o=l((function(e,n){if(null==e)return[];var t=n.length;return t>1&&a(e,n[0],n[1])?n=[]:t>2&&a(n[0],n[1],n[2])&&(n=[n[0]]),r(e,i(n,1),[])}));e.exports=o},8174:function(e){e.exports=function(){return[]}},9488:function(e){e.exports=function(){return!1}},3038:function(e,n,t){var i=t(8573),r=t(8092);e.exports=function(e,n,t){var l=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(t)&&(l="leading"in t?!!t.leading:l,a="trailing"in t?!!t.trailing:a),i(e,n,{leading:l,maxWait:n,trailing:a})}},1495:function(e,n,t){var i=t(2582),r=1/0;e.exports=function(e){return e?(e=i(e))===r||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},9753:function(e,n,t){var i=t(1495);e.exports=function(e){var n=i(e),t=n%1;return n===n?t?n-t:n:0}},2582:function(e,n,t){var i=t(821),r=t(8092),l=t(152),a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(l(e))return NaN;if(r(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=r(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var t=o.test(e);return t||s.test(e)?u(e.slice(2),t?2:8):a.test(e)?NaN:+e}},3518:function(e,n,t){var i=t(2446);e.exports=function(e){return null==e?"":i(e)}},6339:function(e,n,t){var i=t(6025),r=t(9602);e.exports=function(e,n){return e&&e.length?r(e,i(n,2)):[]}},2085:function(e,n,t){var i=t(322)("toUpperCase");e.exports=i},1725:function(e){"use strict";var n=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(r){return!1}}()?Object.assign:function(e,l){for(var a,o,s=r(e),u=1;u