@feedmepos/mf-report 5.17.0-beta.0 → 5.17.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-DeU7iMbf.js → App-DDzviLPJ.js} +3 -3
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-DKvsNtlh.js → BaseDialog.vue_vue_type_script_setup_true_lang-C6V_Qiwh.js} +683 -682
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BQWV9Bgr.js → Default.vue_vue_type_script_setup_true_lang-Cf-9pNKR.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CdRZh5dG.js → DynamicWidget.vue_vue_type_script_setup_true_lang-5sBXvHf3.js} +1 -1
- package/dist/{InsightView-CJVbMpiM.js → InsightView-Cwp5iFMb.js} +2 -2
- package/dist/{Integration-Cq_c3vS2.js → Integration-DwkFaxGn.js} +445 -428
- package/dist/{Layout-B55svxvZ.js → Layout-DFCV3cM6.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-2Z_LbV9u.js → MenuTab.vue_vue_type_script_setup_true_lang-BGaopPsY.js} +2 -2
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Br3jELGp.js → NavigationTab.vue_vue_type_script_setup_true_lang-CA8R0VVG.js} +1 -1
- package/dist/{OverviewView-Dhbkita5.js → OverviewView-NIjCH6mr.js} +4 -4
- package/dist/{Report-C-4RmuGl.js → Report-D9xejKHn.js} +2 -2
- package/dist/{ReportEditor-BZTwbyTR.js → ReportEditor-CxD4mjIt.js} +3 -3
- package/dist/{ReportView-BgWZV2uu.js → ReportView-CzpxL-Bx.js} +5 -5
- package/dist/{Setting-CJ5CbG9S.js → Setting-3OEOs2-P.js} +2 -2
- package/dist/{TileEditor-DAjEySJH.js → TileEditor-D1YNLoQt.js} +3 -3
- package/dist/{TransitionFade-dnZ63soG.js → TransitionFade-w5Of7pis.js} +2 -2
- package/dist/app.js +10 -10
- package/dist/assets/formatChartData.worker-VUlqRZS1.js +8 -0
- package/package.json +1 -1
- package/dist/assets/formatChartData.worker-DThPQ5tB.js +0 -4
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";function Z(J){throw new Error('Could not dynamically require "'+J+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Q={};(function(J){J.load=function(q,W){var U=typeof process<"u"&&(process.versions||{}).hasOwnProperty("node"),x=U?Object.create(globalThis):globalThis;if(x.scheduleImmediate=typeof setImmediate<"u"?function(N){setImmediate(N)}:function(N){setTimeout(N,0)},x.exports=W||J,typeof process<"u"&&(x.process=process),typeof __dirname<"u"&&(x.__dirname=__dirname),typeof __filename<"u"&&(x.__filename=__filename),typeof Buffer<"u"&&(x.Buffer=Buffer),U){var V=(typeof __webpack_require__<"u"?__non_webpack_require__:Z)("url");Object.defineProperty(x,"location",{value:{get href(){return V.pathToFileURL?V.pathToFileURL(process.cwd()).href+"/":"file://"+function(){var N=process.cwd();return process.platform!="win32"?N:"/"+N.replace(/\\/g,"/")}()+"/"}}}),function(){function N(){try{throw new Error}catch(j){var P=j.stack,F=new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$","mg"),B=null;do{var k=F.exec(P);k!=null&&(B=k)}while(k!=null);return B[1]}}var O=null;Object.defineProperty(x,"document",{value:{get currentScript(){return O==null&&(O={src:N()}),O}}})}(),x.dartDeferredLibraryLoader=function(N,O,P){try{load(N),O()}catch(F){P(F)}}}(function(){function O(e,t){for(var n=Object.keys(e),a=0;a<n.length;a++){var i=n[a];t[i]=e[i]}}function P(e,t){for(var n=Object.keys(e),a=0;a<n.length;a++){var i=n[a];t.hasOwnProperty(i)||(t[i]=e[i])}}function F(e,t){Object.assign(t,e)}var B=function(){var e=function(){};e.prototype={p:{}};var t=new e;if(!(t.__proto__&&t.__proto__.p===e.prototype.p))return!1;try{if(typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Chrome/")>=0)return!0;if(typeof version=="function"&&version.length==0){var n=version();if(/^\d+\.\d+\.\d+\.\d+$/.test(n))return!0}}catch{}return!1}();function k(e,t){if(e.prototype.constructor=e,e.prototype["$is"+e.name]=e,t!=null){if(B){e.prototype.__proto__=t.prototype;return}var n=Object.create(t.prototype);O(e.prototype,n),e.prototype=n}}function j(e,t){for(var n=0;n<t.length;n++)k(t[n],e)}function te(e,t){F(t.prototype,e.prototype),e.prototype.constructor=e}function re(e,t){P(t.prototype,e.prototype),e.prototype.constructor=e}function ne(e,t,n,a){var i=e;e[t]=i,e[n]=function(){e[n]=function(){r.throwCyclicInit(t)};var o,s=a;try{e[t]===i?(o=e[t]=s,o=e[t]=a()):o=e[t]}finally{o===s&&(e[t]=null),e[n]=function(){return this[t]}}return o}}function ae(e,t,n,a){var i=e;e[t]=i,e[n]=function(){return e[t]===i&&(e[t]=a()),e[n]=function(){return this[t]},e[t]}}function ie(e,t,n,a){var i=e;e[t]=i,e[n]=function(){if(e[t]===i){var o=a();e[t]!==i&&r.throwLateFieldADI(t),e[t]=o}var s=e[t];return e[n]=function(){return s},s}}function oe(e){return e.immutable$list=Array,e.fixed$length=Array,e}function se(e){return e}function le(e){for(var t=0;t<e.length;++t)e[t]}function _e(e,t){var n=null;return e?function(a){return n===null&&(n=r.closureFromTearOff(t)),new n(a,this)}:function(){return n===null&&(n=r.closureFromTearOff(t)),new n(this,null)}}function ue(e){var t=null;return function(){return t===null&&(t=r.closureFromTearOff(e).prototype),t}}var ce=0;function z(e,t,n,a,i,o,s,_,u,c){return typeof _=="number"&&(_+=ce),{co:e,iS:t,iI:n,rC:a,dV:i,cs:o,fs:s,fT:_,aI:u||0,nDA:c}}function K(e,t,n,a,i,o,s,_){var u=z(e,!0,!1,n,a,i,o,s,_,!1),c=ue(u);e[t]=c}function X(e,t,n,a,i,o,s,_,u,c){n=!!n;var p=z(e,!1,n,a,i,o,s,_,u,!!c),f=_e(n,p);e[t]=f}function pe(e){var t=L.interceptorsByTag;if(!t){L.interceptorsByTag=e;return}O(e,t)}function fe(e){var t=L.leafTags;if(!t){L.leafTags=e;return}O(e,t)}function de(e){var t=L.types,n=t.length;return t.push.apply(t,e),n}function me(e,t){return O(t,e),e}var R=function(){var e=function(n,a,i,o,s){return function(_,u,c,p){return X(_,u,n,a,i,o,[c],p,s,!1)}},t=function(n,a,i,o){return function(s,_,u,c){return K(s,_,n,a,i,[u],c,o)}};return{inherit:k,inheritMany:j,mixin:te,mixinHard:re,installStaticTearOff:K,installInstanceTearOff:X,_instance_0u:e(0,0,null,["call$0"],0),_instance_1u:e(0,1,null,["call$1"],0),_instance_2u:e(0,2,null,["call$2"],0),_instance_0i:e(1,0,null,["call$0"],0),_instance_1i:e(1,1,null,["call$1"],0),_instance_2i:e(1,2,null,["call$2"],0),_static_0:t(0,null,["call$0"],0),_static_1:t(1,null,["call$1"],0),_static_2:t(2,null,["call$2"],0),makeConstList:oe,lazy:ae,lazyFinal:ie,lazyOld:ne,updateHolder:me,convertToFastObject:se,updateTypes:de,setOrUpdateInterceptorsByTag:pe,setOrUpdateLeafTags:fe}}(),r={JS_CONST:function(){},createSentinel(){return y},LateError$fieldNI(e){return new r.LateError("Field '"+e+"' has not been initialized.")},SystemHash_combine(e,t){return e=e+t&536870911,e=e+((e&524287)<<10)&536870911,e^e>>>6},SystemHash_finish(e){return e=e+((e&67108863)<<3)&536870911,e^=e>>>11,e+((e&16383)<<15)&536870911},checkNotNullable(e,t,n){return e},SubListIterable$(e,t,n,a){return r.RangeError_checkNotNegative(t,"start"),n!=null&&(r.RangeError_checkNotNegative(n,"end"),t>n&&r.throwExpression(r.RangeError$range(t,0,n,"start",null))),new r.SubListIterable(e,t,n,a._eval$1("SubListIterable<0>"))},MappedIterable_MappedIterable(e,t,n,a){return d.EfficientLengthIterable_dynamic._is(e)?new r.EfficientLengthMappedIterable(e,t,n._eval$1("@<0>")._bind$1(a)._eval$1("EfficientLengthMappedIterable<1,2>")):new r.MappedIterable(e,t,n._eval$1("@<0>")._bind$1(a)._eval$1("MappedIterable<1,2>"))},SkipIterable_SkipIterable(e,t,n){var a="count";return d.EfficientLengthIterable_dynamic._is(e)?(r.ArgumentError_checkNotNull(t,a),r.RangeError_checkNotNegative(t,a),new r.EfficientLengthSkipIterable(e,t,n._eval$1("EfficientLengthSkipIterable<0>"))):(r.ArgumentError_checkNotNull(t,a),r.RangeError_checkNotNegative(t,a),new r.SkipIterable(e,t,n._eval$1("SkipIterable<0>")))},IterableElementError_noElement(){return new r.StateError("No element")},IterableElementError_tooFew(){return new r.StateError("Too few elements")},Sort_sort(e,t){r.Sort__doSort(e,0,m.get$length$asx(e)-1,t)},Sort__doSort(e,t,n,a){n-t<=32?r.Sort__insertionSort(e,t,n,a):r.Sort__dualPivotQuicksort(e,t,n,a)},Sort__insertionSort(e,t,n,a){var i,o,s,_,u;for(i=t+1,o=m.getInterceptor$asx(e);i<=n;++i){for(s=o.$index(e,i),_=i;_>t&&a.call$2(o.$index(e,_-1),s)>0;)u=_-1,o.$indexSet(e,_,o.$index(e,u)),_=u;o.$indexSet(e,_,s)}},Sort__dualPivotQuicksort(e,t,n,a){var i,o,s,_,u,c,p,f,h,g,$=l.JSInt_methods._tdivFast$1(n-t+1,6),S=t+$,T=n-$,M=l.JSInt_methods._tdivFast$1(t+n,2),D=M-$,I=M+$,E=m.getInterceptor$asx(e),w=E.$index(e,S),b=E.$index(e,D),C=E.$index(e,M),A=E.$index(e,I),v=E.$index(e,T);if(a.call$2(w,b)>0&&(i=b,b=w,w=i),a.call$2(A,v)>0&&(i=v,v=A,A=i),a.call$2(w,C)>0&&(i=C,C=w,w=i),a.call$2(b,C)>0&&(i=C,C=b,b=i),a.call$2(w,A)>0&&(i=A,A=w,w=i),a.call$2(C,A)>0&&(i=A,A=C,C=i),a.call$2(b,v)>0&&(i=v,v=b,b=i),a.call$2(b,C)>0&&(i=C,C=b,b=i),a.call$2(A,v)>0&&(i=v,v=A,A=i),E.$indexSet(e,S,w),E.$indexSet(e,M,C),E.$indexSet(e,T,v),E.$indexSet(e,D,E.$index(e,t)),E.$indexSet(e,I,E.$index(e,n)),o=t+1,s=n-1,m.$eq$(a.call$2(b,A),0)){for(_=o;_<=s;++_)if(u=E.$index(e,_),c=a.call$2(u,b),c!==0)if(c<0)_!==o&&(E.$indexSet(e,_,E.$index(e,o)),E.$indexSet(e,o,u)),++o;else for(;;)if(c=a.call$2(E.$index(e,s),b),c>0){--s;continue}else if(p=s-1,c<0){E.$indexSet(e,_,E.$index(e,o)),f=o+1,E.$indexSet(e,o,E.$index(e,s)),E.$indexSet(e,s,u),s=p,o=f;break}else{E.$indexSet(e,_,E.$index(e,s)),E.$indexSet(e,s,u),s=p;break}h=!0}else{for(_=o;_<=s;++_)if(u=E.$index(e,_),a.call$2(u,b)<0)_!==o&&(E.$indexSet(e,_,E.$index(e,o)),E.$indexSet(e,o,u)),++o;else if(a.call$2(u,A)>0)for(;;)if(a.call$2(E.$index(e,s),A)>0){if(--s,s<_)break;continue}else{p=s-1,a.call$2(E.$index(e,s),b)<0?(E.$indexSet(e,_,E.$index(e,o)),f=o+1,E.$indexSet(e,o,E.$index(e,s)),E.$indexSet(e,s,u),o=f):(E.$indexSet(e,_,E.$index(e,s)),E.$indexSet(e,s,u)),s=p;break}h=!1}if(g=o-1,E.$indexSet(e,t,E.$index(e,g)),E.$indexSet(e,g,b),g=s+1,E.$indexSet(e,n,E.$index(e,g)),E.$indexSet(e,g,A),r.Sort__doSort(e,t,o-2,a),r.Sort__doSort(e,s+2,n,a),!h)if(o<S&&s>T){for(;m.$eq$(a.call$2(E.$index(e,o),b),0);)++o;for(;m.$eq$(a.call$2(E.$index(e,s),A),0);)--s;for(_=o;_<=s;++_)if(u=E.$index(e,_),a.call$2(u,b)===0)_!==o&&(E.$indexSet(e,_,E.$index(e,o)),E.$indexSet(e,o,u)),++o;else if(a.call$2(u,A)===0)for(;;)if(a.call$2(E.$index(e,s),A)===0){if(--s,s<_)break;continue}else{p=s-1,a.call$2(E.$index(e,s),b)<0?(E.$indexSet(e,_,E.$index(e,o)),f=o+1,E.$indexSet(e,o,E.$index(e,s)),E.$indexSet(e,s,u),o=f):(E.$indexSet(e,_,E.$index(e,s)),E.$indexSet(e,s,u)),s=p;break}r.Sort__doSort(e,o,s,a)}else r.Sort__doSort(e,o,s,a)},LateError:function(t){this._message=t},EfficientLengthIterable:function(){},ListIterable:function(){},SubListIterable:function(t,n,a,i){var o=this;o.__internal$_iterable=t,o.__internal$_start=n,o._endOrLength=a,o.$ti=i},ListIterator:function(t,n){var a=this;a.__internal$_iterable=t,a.__internal$_length=n,a.__internal$_index=0,a.__internal$_current=null},MappedIterable:function(t,n,a){this.__internal$_iterable=t,this._f=n,this.$ti=a},EfficientLengthMappedIterable:function(t,n,a){this.__internal$_iterable=t,this._f=n,this.$ti=a},MappedIterator:function(t,n){this.__internal$_current=null,this._iterator=t,this._f=n},MappedListIterable:function(t,n,a){this._source=t,this._f=n,this.$ti=a},WhereIterable:function(t,n,a){this.__internal$_iterable=t,this._f=n,this.$ti=a},WhereIterator:function(t,n){this._iterator=t,this._f=n},SkipIterable:function(t,n,a){this.__internal$_iterable=t,this._skipCount=n,this.$ti=a},EfficientLengthSkipIterable:function(t,n,a){this.__internal$_iterable=t,this._skipCount=n,this.$ti=a},SkipIterator:function(t,n){this._iterator=t,this._skipCount=n},EmptyIterable:function(t){this.$ti=t},EmptyIterator:function(){},FixedLengthListMixin:function(){},ReversedListIterable:function(t,n){this._source=t,this.$ti=n},Symbol:function(t){this.__internal$_name=t},ConstantMap__throwUnmodifiable(){throw r.wrapException(r.UnsupportedError$("Cannot modify unmodifiable Map"))},unminifyOrTag(e){var t=L.mangledGlobalNames[e];return t??e},isJsIndexable(e,t){var n;return t!=null&&(n=t.x,n!=null)?n:d.JavaScriptIndexingBehavior_dynamic._is(e)},S(e){var t;if(typeof e=="string")return e;if(typeof e=="number"){if(e!==0)return""+e}else{if(e===!0)return"true";if(e===!1)return"false";if(e==null)return"null"}return t=m.toString$0$(e),t},Primitives_objectHashCode(e){var t,n=y.Primitives__identityHashCodeProperty;return n==null&&(n=y.Primitives__identityHashCodeProperty=Symbol("identityHashCode")),t=e[n],t==null&&(t=Math.random()*1073741823|0,e[n]=t),t},Primitives_parseInt(e,t){var n,a=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(e);return a==null?null:(n=a[3],n!=null?parseInt(e,10):a[2]!=null?parseInt(e,16):null)},Primitives_parseDouble(e){var t,n;return/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(e)?(t=parseFloat(e),isNaN(t)?(n=l.JSString_methods.trim$0(e),n==="NaN"||n==="+NaN"||n==="-NaN"?t:null):t):null},Primitives_objectTypeName(e){return r.Primitives__objectTypeNameNewRti(e)},Primitives__objectTypeNameNewRti(e){var t,n,a,i;if(e instanceof r.Object)return r._rtiToString(r.instanceType(e),null);if(t=m.getInterceptor$(e),t===l.Interceptor_methods||t===l.JavaScriptObject_methods||d.UnknownJavaScriptObject._is(e)){if(n=l.C_JS_CONST(e),n!=="Object"&&n!=="")return n;if(a=e.constructor,typeof a=="function"&&(i=a.name,typeof i=="string"&&i!=="Object"&&i!==""))return i}return r._rtiToString(r.instanceType(e),null)},Primitives__fromCharCodeApply(e){var t,n,a,i,o=e.length;if(o<=500)return String.fromCharCode.apply(null,e);for(t="",n=0;n<o;n=a)a=n+500,i=a<o?a:o,t+=String.fromCharCode.apply(null,e.slice(n,i));return t},Primitives_stringFromCodePoints(e){var t,n,a,i=r._setArrayType([],d.JSArray_int);for(t=e.length,n=0;n<e.length;e.length===t||(0,r.throwConcurrentModificationError)(e),++n){if(a=e[n],!r._isInt(a))throw r.wrapException(r.argumentErrorValue(a));if(a<=65535)i.push(a);else if(a<=1114111)i.push(55296+(l.JSInt_methods._shrOtherPositive$1(a-65536,10)&1023)),i.push(56320+(a&1023));else throw r.wrapException(r.argumentErrorValue(a))}return r.Primitives__fromCharCodeApply(i)},Primitives_stringFromCharCodes(e){var t,n,a;for(t=e.length,n=0;n<t;++n){if(a=e[n],!r._isInt(a)||a<0)throw r.wrapException(r.argumentErrorValue(a));if(a>65535)return r.Primitives_stringFromCodePoints(e)}return r.Primitives__fromCharCodeApply(e)},Primitives_stringFromNativeUint8List(e,t,n){var a,i,o,s;if(n<=500&&t===0&&n===e.length)return String.fromCharCode.apply(null,e);for(a=t,i="";a<n;a=o)o=a+500,s=o<n?o:n,i+=String.fromCharCode.apply(null,e.subarray(a,s));return i},Primitives_stringFromCharCode(e){var t;if(0<=e){if(e<=65535)return String.fromCharCode(e);if(e<=1114111)return t=e-65536,String.fromCharCode((l.JSInt_methods._shrOtherPositive$1(t,10)|55296)>>>0,t&1023|56320)}throw r.wrapException(r.RangeError$range(e,0,1114111,null,null))},Primitives_valueFromDecomposedDate(e,t,n,a,i,o,s,_){var u,c=t-1;return 0<=e&&e<100&&(e+=400,c-=4800),u=_?Date.UTC(e,c,n,a,i,o,s):new Date(e,c,n,a,i,o,s).valueOf(),isNaN(u)||u<-864e13||u>864e13?null:u},Primitives_lazyAsJsDate(e){return e.date===void 0&&(e.date=new Date(e._value)),e.date},Primitives_getYear(e){return e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCFullYear()+0:r.Primitives_lazyAsJsDate(e).getFullYear()+0},Primitives_getMonth(e){return e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCMonth()+1:r.Primitives_lazyAsJsDate(e).getMonth()+1},Primitives_getDay(e){return e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCDate()+0:r.Primitives_lazyAsJsDate(e).getDate()+0},Primitives_getHours(e){return e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCHours()+0:r.Primitives_lazyAsJsDate(e).getHours()+0},Primitives_getMinutes(e){return e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCMinutes()+0:r.Primitives_lazyAsJsDate(e).getMinutes()+0},Primitives_getSeconds(e){return e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCSeconds()+0:r.Primitives_lazyAsJsDate(e).getSeconds()+0},Primitives_getMilliseconds(e){return e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCMilliseconds()+0:r.Primitives_lazyAsJsDate(e).getMilliseconds()+0},Primitives_getWeekday(e){return l.JSInt_methods.$mod((e.isUtc?r.Primitives_lazyAsJsDate(e).getUTCDay()+0:r.Primitives_lazyAsJsDate(e).getDay()+0)+6,7)+1},Primitives_functionNoSuchMethod(e,t,n){var a,i,o={};return o.argumentCount=0,a=[],i=[],o.argumentCount=t.length,l.JSArray_methods.addAll$1(a,t),o.names="",n!=null&&n.__js_helper$_length!==0&&n.forEach$1(0,new r.Primitives_functionNoSuchMethod_closure(o,i,a)),m.noSuchMethod$1$(e,new r.JSInvocationMirror(l.Symbol_call,0,a,i,0))},Primitives_applyFunction(e,t,n){var a,i,o;if(Array.isArray(t)?a=n==null||n.__js_helper$_length===0:a=!1,a){if(i=t.length,i===0){if(e.call$0)return e.call$0()}else if(i===1){if(e.call$1)return e.call$1(t[0])}else if(i===2){if(e.call$2)return e.call$2(t[0],t[1])}else if(i===3){if(e.call$3)return e.call$3(t[0],t[1],t[2])}else if(i===4){if(e.call$4)return e.call$4(t[0],t[1],t[2],t[3])}else if(i===5&&e.call$5)return e.call$5(t[0],t[1],t[2],t[3],t[4]);if(o=e["call$"+i],o!=null)return o.apply(e,t)}return r.Primitives__generalApplyFunction(e,t,n)},Primitives__generalApplyFunction(e,t,n){var a,i,o,s,_,u,c,p,f,h,g,$,S=Array.isArray(t)?t:r.List_List$of(t,!0,d.dynamic),T=S.length,M=e.$requiredArgCount;if(T<M)return r.Primitives_functionNoSuchMethod(e,S,n);if(a=e.$defaultValues,i=a==null,o=i?null:a(),s=m.getInterceptor$(e),_=s["call*"],typeof _=="string"&&(_=s[_]),i)return n!=null&&n.__js_helper$_length!==0?r.Primitives_functionNoSuchMethod(e,S,n):T===M?_.apply(e,S):r.Primitives_functionNoSuchMethod(e,S,n);if(Array.isArray(o))return n!=null&&n.__js_helper$_length!==0?r.Primitives_functionNoSuchMethod(e,S,n):(u=M+o.length,T>u?r.Primitives_functionNoSuchMethod(e,S,null):(T<u&&(c=o.slice(T-M),S===t&&(S=r.List_List$of(S,!0,d.dynamic)),l.JSArray_methods.addAll$1(S,c)),_.apply(e,S)));if(T>M)return r.Primitives_functionNoSuchMethod(e,S,n);if(S===t&&(S=r.List_List$of(S,!0,d.dynamic)),p=Object.keys(o),n==null)for(i=p.length,f=0;f<p.length;p.length===i||(0,r.throwConcurrentModificationError)(p),++f){if(h=o[p[f]],l.C__Required===h)return r.Primitives_functionNoSuchMethod(e,S,n);l.JSArray_methods.add$1(S,h)}else{for(i=p.length,g=0,f=0;f<p.length;p.length===i||(0,r.throwConcurrentModificationError)(p),++f)if($=p[f],n.containsKey$1($))++g,l.JSArray_methods.add$1(S,n.$index(0,$));else{if(h=o[$],l.C__Required===h)return r.Primitives_functionNoSuchMethod(e,S,n);l.JSArray_methods.add$1(S,h)}if(g!==n.__js_helper$_length)return r.Primitives_functionNoSuchMethod(e,S,n)}return _.apply(e,S)},diagnoseIndexError(e,t){var n,a="index";return r._isInt(t)?(n=m.get$length$asx(e),t<0||t>=n?r.IndexError$withLength(t,n,e,null,a):r.RangeError$value(t,a)):new r.ArgumentError(!0,t,a,null)},diagnoseRangeError(e,t,n){return e>n?r.RangeError$range(e,0,n,"start",null):t!=null&&(t<e||t>n)?r.RangeError$range(t,e,n,"end",null):new r.ArgumentError(!0,t,"end",null)},argumentErrorValue(e){return new r.ArgumentError(!0,e,null,null)},wrapException(e){var t,n;return e==null&&(e=new r.NullThrownError),t=new Error,t.dartException=e,n=r.toStringWrapper,"defineProperty"in Object?(Object.defineProperty(t,"message",{get:n}),t.name=""):t.toString=n,t},toStringWrapper(){return m.toString$0$(this.dartException)},throwExpression(e){throw r.wrapException(e)},throwConcurrentModificationError(e){throw r.wrapException(r.ConcurrentModificationError$(e))},TypeErrorDecoder_extractPattern(e){var t,n,a,i,o,s;return e=r.quoteStringForRegExp(e.replace(String({}),"$receiver$")),t=e.match(/\\\$[a-zA-Z]+\\\$/g),t==null&&(t=r._setArrayType([],d.JSArray_String)),n=t.indexOf("\\$arguments\\$"),a=t.indexOf("\\$argumentsExpr\\$"),i=t.indexOf("\\$expr\\$"),o=t.indexOf("\\$method\\$"),s=t.indexOf("\\$receiver\\$"),new r.TypeErrorDecoder(e.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),n,a,i,o,s)},TypeErrorDecoder_provokeCallErrorOn(e){return function(t){var n="$arguments$";try{t.$method$(n)}catch(a){return a.message}}(e)},TypeErrorDecoder_provokePropertyErrorOn(e){return function(t){try{t.$method$}catch(n){return n.message}}(e)},JsNoSuchMethodError$(e,t){var n=t==null,a=n?null:t.method;return new r.JsNoSuchMethodError(e,a,n?null:t.receiver)},unwrapException(e){return e==null?new r.NullThrownFromJavaScriptException(e):typeof e!="object"?e:"dartException"in e?r.saveStackTrace(e,e.dartException):r._unwrapNonDartException(e)},saveStackTrace(e,t){return d.Error._is(t)&&t.$thrownJsError==null&&(t.$thrownJsError=e),t},_unwrapNonDartException(e){var t,n,a,i,o,s,_,u,c,p,f,h,g,$,S=null;if(!("message"in e))return e;if(t=e.message,"number"in e&&typeof e.number=="number"&&(n=e.number,a=n&65535,(l.JSInt_methods._shrOtherPositive$1(n,16)&8191)===10))switch(a){case 438:return r.saveStackTrace(e,r.JsNoSuchMethodError$(r.S(t)+" (Error "+a+")",S));case 445:case 5007:return i=r.S(t),r.saveStackTrace(e,new r.NullError(i+" (Error "+a+")",S))}return e instanceof TypeError?(o=y.$get$TypeErrorDecoder_noSuchMethodPattern(),s=y.$get$TypeErrorDecoder_notClosurePattern(),_=y.$get$TypeErrorDecoder_nullCallPattern(),u=y.$get$TypeErrorDecoder_nullLiteralCallPattern(),c=y.$get$TypeErrorDecoder_undefinedCallPattern(),p=y.$get$TypeErrorDecoder_undefinedLiteralCallPattern(),f=y.$get$TypeErrorDecoder_nullPropertyPattern(),y.$get$TypeErrorDecoder_nullLiteralPropertyPattern(),h=y.$get$TypeErrorDecoder_undefinedPropertyPattern(),g=y.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(),$=o.matchTypeError$1(t),$!=null?r.saveStackTrace(e,r.JsNoSuchMethodError$(t,$)):($=s.matchTypeError$1(t),$!=null?($.method="call",r.saveStackTrace(e,r.JsNoSuchMethodError$(t,$))):($=_.matchTypeError$1(t),$==null?($=u.matchTypeError$1(t),$==null?($=c.matchTypeError$1(t),$==null?($=p.matchTypeError$1(t),$==null?($=f.matchTypeError$1(t),$==null?($=u.matchTypeError$1(t),$==null?($=h.matchTypeError$1(t),$==null?($=g.matchTypeError$1(t),i=$!=null):i=!0):i=!0):i=!0):i=!0):i=!0):i=!0):i=!0,i?r.saveStackTrace(e,new r.NullError(t,$==null?S:$.method)):r.saveStackTrace(e,new r.UnknownJsTypeError(typeof t=="string"?t:""))))):e instanceof RangeError?typeof t=="string"&&t.indexOf("call stack")!==-1?new r.StackOverflowError:(t=function(T){try{return String(T)}catch{}return null}(e),r.saveStackTrace(e,new r.ArgumentError(!1,S,S,typeof t=="string"?t.replace(/^RangeError:\s*/,""):t))):typeof InternalError=="function"&&e instanceof InternalError&&typeof t=="string"&&t==="too much recursion"?new r.StackOverflowError:e},objectHashCode(e){return e==null||typeof e!="object"?m.get$hashCode$(e):r.Primitives_objectHashCode(e)},fillLiteralMap(e,t){var n,a,i,o=e.length;for(n=0;n<o;n=i)a=n+1,i=a+1,t.$indexSet(0,e[n],e[a]);return t},Closure_fromTearOff(e){var t,n,a,i,o,s,_,u,c,p,f=e.co,h=e.iS,g=e.iI,$=e.nDA,S=e.aI,T=e.fs,M=e.cs,D=T[0],I=M[0],E=f[D],w=e.fT;for(w.toString,t=Object.create(h?new r.StaticClosure().constructor.prototype:new r.BoundClosure(null,null).constructor.prototype),t.$initialize=t.constructor,h?n=function(){this.$initialize()}:n=function(C,A){this.$initialize(C,A)},t.constructor=n,n.prototype=t,t.$_name=D,t.$_target=E,a=!h,a?i=r.Closure_forwardCallTo(D,E,g,$):(t.$static_name=D,i=E),t.$signature=r.Closure__computeSignatureFunctionNewRti(w,h,g),t[I]=i,o=i,s=1;s<T.length;++s)_=T[s],typeof _=="string"?(u=f[_],c=_,_=u):c="",p=M[s],p!=null&&(a&&(_=r.Closure_forwardCallTo(c,_,g,$)),t[p]=_),s===S&&(o=_);return t["call*"]=o,t.$requiredArgCount=e.rC,t.$defaultValues=e.dV,n},Closure__computeSignatureFunctionNewRti(e,t,n){if(typeof e=="number")return e;if(typeof e=="string"){if(t)throw r.wrapException("Cannot compute signature for static tearoff.");return function(a,i){return function(){return i(this,a)}}(e,r.BoundClosure_evalRecipe)}throw r.wrapException("Error in functionType of tearoff")},Closure_cspForwardCall(e,t,n,a){var i=r.BoundClosure_receiverOf;switch(t?-1:e){case 0:return function(o,s){return function(){return s(this)[o]()}}(n,i);case 1:return function(o,s){return function(_){return s(this)[o](_)}}(n,i);case 2:return function(o,s){return function(_,u){return s(this)[o](_,u)}}(n,i);case 3:return function(o,s){return function(_,u,c){return s(this)[o](_,u,c)}}(n,i);case 4:return function(o,s){return function(_,u,c,p){return s(this)[o](_,u,c,p)}}(n,i);case 5:return function(o,s){return function(_,u,c,p,f){return s(this)[o](_,u,c,p,f)}}(n,i);default:return function(o,s){return function(){return o.apply(s(this),arguments)}}(a,i)}},Closure_forwardCallTo(e,t,n,a){var i,o;return n?r.Closure_forwardInterceptedCallTo(e,t,a):(i=t.length,o=r.Closure_cspForwardCall(i,a,e,t),o)},Closure_cspForwardInterceptedCall(e,t,n,a){var i=r.BoundClosure_receiverOf,o=r.BoundClosure_interceptorOf;switch(t?-1:e){case 0:throw r.wrapException(new r.RuntimeError("Intercepted function with no arguments."));case 1:return function(s,_,u){return function(){return _(this)[s](u(this))}}(n,o,i);case 2:return function(s,_,u){return function(c){return _(this)[s](u(this),c)}}(n,o,i);case 3:return function(s,_,u){return function(c,p){return _(this)[s](u(this),c,p)}}(n,o,i);case 4:return function(s,_,u){return function(c,p,f){return _(this)[s](u(this),c,p,f)}}(n,o,i);case 5:return function(s,_,u){return function(c,p,f,h){return _(this)[s](u(this),c,p,f,h)}}(n,o,i);case 6:return function(s,_,u){return function(c,p,f,h,g){return _(this)[s](u(this),c,p,f,h,g)}}(n,o,i);default:return function(s,_,u){return function(){var c=[u(this)];return Array.prototype.push.apply(c,arguments),s.apply(_(this),c)}}(a,o,i)}},Closure_forwardInterceptedCallTo(e,t,n){var a,i;return y.BoundClosure__interceptorFieldNameCache==null&&(y.BoundClosure__interceptorFieldNameCache=r.BoundClosure__computeFieldNamed("interceptor")),y.BoundClosure__receiverFieldNameCache==null&&(y.BoundClosure__receiverFieldNameCache=r.BoundClosure__computeFieldNamed("receiver")),a=t.length,i=r.Closure_cspForwardInterceptedCall(a,n,e,t),i},closureFromTearOff(e){return r.Closure_fromTearOff(e)},BoundClosure_evalRecipe(e,t){return r._Universe_evalInEnvironment(L.typeUniverse,r.instanceType(e._receiver),t)},BoundClosure_receiverOf(e){return e._receiver},BoundClosure_interceptorOf(e){return e._interceptor},BoundClosure__computeFieldNamed(e){var t,n,a,i=new r.BoundClosure("receiver","interceptor"),o=m.JSArray_markFixedList(Object.getOwnPropertyNames(i));for(t=o.length,n=0;n<t;++n)if(a=o[n],i[a]===e)return a;throw r.wrapException(r.ArgumentError$("Field name "+e+" not found."))},throwCyclicInit(e){throw r.wrapException(new r.CyclicInitializationError(e))},getIsolateAffinityTag(e){return L.getIsolateTag(e)},defineProperty(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})},lookupAndCacheInterceptor(e){var t,n,a,i,o,s=y.getTagFunction.call$1(e),_=y.dispatchRecordsForInstanceTags[s];if(_!=null)return Object.defineProperty(e,L.dispatchPropertyName,{value:_,enumerable:!1,writable:!0,configurable:!0}),_.i;if(t=y.interceptorsForUncacheableTags[s],t!=null)return t;if(n=L.interceptorsByTag[s],n==null&&(a=y.alternateTagFunction.call$2(e,s),a!=null)){if(_=y.dispatchRecordsForInstanceTags[a],_!=null)return Object.defineProperty(e,L.dispatchPropertyName,{value:_,enumerable:!1,writable:!0,configurable:!0}),_.i;if(t=y.interceptorsForUncacheableTags[a],t!=null)return t;n=L.interceptorsByTag[a],s=a}if(n==null)return null;if(t=n.prototype,i=s[0],i==="!")return _=r.makeLeafDispatchRecord(t),y.dispatchRecordsForInstanceTags[s]=_,Object.defineProperty(e,L.dispatchPropertyName,{value:_,enumerable:!1,writable:!0,configurable:!0}),_.i;if(i==="~")return y.interceptorsForUncacheableTags[s]=t,t;if(i==="-")return o=r.makeLeafDispatchRecord(t),Object.defineProperty(Object.getPrototypeOf(e),L.dispatchPropertyName,{value:o,enumerable:!1,writable:!0,configurable:!0}),o.i;if(i==="+")return r.patchInteriorProto(e,t);if(i==="*")throw r.wrapException(r.UnimplementedError$(s));return L.leafTags[s]===!0?(o=r.makeLeafDispatchRecord(t),Object.defineProperty(Object.getPrototypeOf(e),L.dispatchPropertyName,{value:o,enumerable:!1,writable:!0,configurable:!0}),o.i):r.patchInteriorProto(e,t)},patchInteriorProto(e,t){var n=Object.getPrototypeOf(e);return Object.defineProperty(n,L.dispatchPropertyName,{value:m.makeDispatchRecord(t,n,null,null),enumerable:!1,writable:!0,configurable:!0}),t},makeLeafDispatchRecord(e){return m.makeDispatchRecord(e,!1,null,!!e.$isJavaScriptIndexingBehavior)},makeDefaultDispatchRecord(e,t,n){var a=t.prototype;return L.leafTags[e]===!0?r.makeLeafDispatchRecord(a):m.makeDispatchRecord(a,n,null,null)},initNativeDispatch(){y.initNativeDispatchFlag!==!0&&(y.initNativeDispatchFlag=!0,r.initNativeDispatchContinue())},initNativeDispatchContinue(){var e,t,n,a,i,o,s,_;if(y.dispatchRecordsForInstanceTags=Object.create(null),y.interceptorsForUncacheableTags=Object.create(null),r.initHooks(),e=L.interceptorsByTag,t=Object.getOwnPropertyNames(e),typeof window<"u")for(n=function(){},a=0;a<t.length;++a)i=t[a],o=y.prototypeForTagFunction.call$1(i),o!=null&&(s=r.makeDefaultDispatchRecord(i,e[i],o),s!=null&&(Object.defineProperty(o,L.dispatchPropertyName,{value:s,enumerable:!1,writable:!0,configurable:!0}),n.prototype=o));for(a=0;a<t.length;++a)i=t[a],/^[A-Za-z_]/.test(i)&&(_=e[i],e["!"+i]=_,e["~"+i]=_,e["-"+i]=_,e["+"+i]=_,e["*"+i]=_)},initHooks(){var e,t,n,a,i,o,s=l.C_JS_CONST0();if(s=r.applyHooksTransformer(l.C_JS_CONST1,r.applyHooksTransformer(l.C_JS_CONST2,r.applyHooksTransformer(l.C_JS_CONST3,r.applyHooksTransformer(l.C_JS_CONST3,r.applyHooksTransformer(l.C_JS_CONST4,r.applyHooksTransformer(l.C_JS_CONST5,r.applyHooksTransformer(l.C_JS_CONST6(l.C_JS_CONST),s))))))),typeof dartNativeDispatchHooksTransformer<"u"&&(e=dartNativeDispatchHooksTransformer,typeof e=="function"&&(e=[e]),e.constructor==Array))for(t=0;t<e.length;++t)n=e[t],typeof n=="function"&&(s=n(s)||s);a=s.getTag,i=s.getUnknownTag,o=s.prototypeForTag,y.getTagFunction=new r.initHooks_closure(a),y.alternateTagFunction=new r.initHooks_closure0(i),y.prototypeForTagFunction=new r.initHooks_closure1(o)},applyHooksTransformer(e,t){return e(t)||t},JSSyntaxRegExp_makeNative(e,t,n,a,i,o){var s=t?"m":"",_=n?"":"i",u=a?"u":"",c=i?"s":"",p=o?"g":"",f=function(h,g){try{return new RegExp(h,g)}catch($){return $}}(e,s+_+u+c+p);if(f instanceof RegExp)return f;throw r.wrapException(r.FormatException$("Illegal RegExp pattern ("+String(f)+")",e))},stringContainsUnchecked(e,t,n){var a;return typeof t=="string"?e.indexOf(t,n)>=0:t instanceof r.JSSyntaxRegExp?(a=l.JSString_methods.substring$1(e,n),t._nativeRegExp.test(a)):(a=m.allMatches$1$s(t,l.JSString_methods.substring$1(e,n)),!a.get$isEmpty(a))},escapeReplacement(e){return e.indexOf("$",0)>=0?e.replace(/\$/g,"$$$$"):e},quoteStringForRegExp(e){return/[[\]{}()*+?.\\^$|]/.test(e)?e.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&"):e},stringReplaceAllUnchecked(e,t,n){var a;return typeof t=="string"?r.stringReplaceAllUncheckedString(e,t,n):t instanceof r.JSSyntaxRegExp?(a=t.get$_nativeGlobalVersion(),a.lastIndex=0,e.replace(a,r.escapeReplacement(n))):r.stringReplaceAllGeneral(e,t,n)},stringReplaceAllGeneral(e,t,n){var a,i,o,s;for(a=m.allMatches$1$s(t,e),a=a.get$iterator(a),i=0,o="";a.moveNext$0();)s=a.get$current(),o=o+e.substring(i,s.get$start())+n,i=s.get$end(s);return a=o+e.substring(i),a.charCodeAt(0)==0,a},stringReplaceAllUncheckedString(e,t,n){var a,i,o,s;if(t===""){if(e==="")return n;for(a=e.length,i=""+n,o=0;o<a;++o)i=i+e[o]+n;return i.charCodeAt(0)==0,i}return s=e.indexOf(t,0),s<0?e:e.length<500||n.indexOf("$",0)>=0?e.split(t).join(n):e.replace(new RegExp(r.quoteStringForRegExp(t),"g"),r.escapeReplacement(n))},_stringIdentity(e){return e},stringReplaceAllFuncUnchecked(e,t,n,a){var i,o,s,_,u,c,p;for(i=t.allMatches$1(0,e),i=new r._AllMatchesIterator(i._re,i.__js_helper$_string,i._start),o=d.RegExpMatch,s=0,_="";i.moveNext$0();)u=i.__js_helper$_current,u==null&&(u=o._as(u)),c=u.__js_helper$_match,p=c.index,_=_+r.S(r._stringIdentity(l.JSString_methods.substring$2(e,s,p)))+r.S(n.call$1(u)),s=p+c[0].length;return i=_+r.S(r._stringIdentity(l.JSString_methods.substring$1(e,s))),i.charCodeAt(0)==0,i},stringReplaceRangeUnchecked(e,t,n,a){return e.substring(0,t)+a+e.substring(n)},ConstantMapView:function(t,n){this._collection$_map=t,this.$ti=n},ConstantMap:function(){},ConstantStringMap:function(t,n,a,i){var o=this;o.__js_helper$_length=t,o._jsObject=n,o._keys=a,o.$ti=i},_ConstantMapKeyIterable:function(t,n){this._map=t,this.$ti=n},JSInvocationMirror:function(t,n,a,i,o){var s=this;s.__js_helper$_memberName=t,s.__js_helper$_kind=n,s._arguments=a,s._namedArgumentNames=i,s._typeArgumentCount=o},Primitives_functionNoSuchMethod_closure:function(t,n,a){this._box_0=t,this.namedArgumentList=n,this.$arguments=a},TypeErrorDecoder:function(t,n,a,i,o,s){var _=this;_._pattern=t,_._arguments=n,_._argumentsExpr=a,_._expr=i,_._method=o,_._receiver=s},NullError:function(t,n){this.__js_helper$_message=t,this._method=n},JsNoSuchMethodError:function(t,n,a){this.__js_helper$_message=t,this._method=n,this._receiver=a},UnknownJsTypeError:function(t){this.__js_helper$_message=t},NullThrownFromJavaScriptException:function(t){this._irritant=t},Closure:function(){},Closure2Args:function(){},TearOffClosure:function(){},StaticClosure:function(){},BoundClosure:function(t,n){this._receiver=t,this._interceptor=n},RuntimeError:function(t){this.message=t},_Required:function(){},JsLinkedHashMap:function(t){var n=this;n.__js_helper$_length=0,n._last=n._first=n.__js_helper$_rest=n._nums=n._strings=null,n._modifications=0,n.$ti=t},JsLinkedHashMap_values_closure:function(t){this.$this=t},JsLinkedHashMap_addAll_closure:function(t){this.$this=t},LinkedHashMapCell:function(t,n){this.hashMapCellKey=t,this.hashMapCellValue=n,this._next=null},LinkedHashMapKeyIterable:function(t,n){this._map=t,this.$ti=n},LinkedHashMapKeyIterator:function(t,n){var a=this;a._map=t,a._modifications=n,a.__js_helper$_current=a._cell=null},initHooks_closure:function(t){this.getTag=t},initHooks_closure0:function(t){this.getUnknownTag=t},initHooks_closure1:function(t){this.prototypeForTag=t},JSSyntaxRegExp:function(t,n){var a=this;a.pattern=t,a._nativeRegExp=n,a._nativeAnchoredRegExp=a._nativeGlobalRegExp=null},_MatchImplementation:function(t){this.__js_helper$_match=t},_AllMatchesIterable:function(t,n,a){this._re=t,this.__js_helper$_string=n,this._start=a},_AllMatchesIterator:function(t,n,a){var i=this;i._regExp=t,i.__js_helper$_string=n,i._nextIndex=a,i.__js_helper$_current=null},StringMatch:function(t,n){this.start=t,this.pattern=n},_StringAllMatchesIterable:function(t,n,a){this._input=t,this._pattern=n,this.__js_helper$_index=a},_StringAllMatchesIterator:function(t,n,a){var i=this;i._input=t,i._pattern=n,i.__js_helper$_index=a,i.__js_helper$_current=null},throwLateFieldADI(e){return r.throwExpression(new r.LateError("Field '"+e+"' has been assigned during initialization."))},throwUnnamedLateFieldNI(){return r.throwExpression(r.LateError$fieldNI(""))},_Cell$(){var e=new r._Cell;return e.__late_helper$_value=e},_Cell:function(){this.__late_helper$_value=null},_checkViewArguments(e,t,n){},_ensureNativeList(e){return e},NativeByteData_NativeByteData$view(e,t,n){var a;return r._checkViewArguments(e,t,n),a=new DataView(e,t),a},NativeUint16List__create1(e){return new Uint16Array(e)},_checkValidIndex(e,t,n){if(e>>>0!==e||e>=n)throw r.wrapException(r.diagnoseIndexError(t,e))},_checkValidRange(e,t,n){var a;if(e>>>0===e?a=t>>>0!==t||e>t||t>n:a=!0,a)throw r.wrapException(r.diagnoseRangeError(e,t,n));return t},NativeByteBuffer:function(){},NativeTypedData:function(){},NativeByteData:function(){},NativeTypedArray:function(){},NativeTypedArrayOfInt:function(){},NativeUint16List:function(){},NativeUint32List:function(){},NativeUint8List:function(){},_NativeTypedArrayOfInt_NativeTypedArray_ListMixin:function(){},_NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin:function(){},Rti__getQuestionFromStar(e,t){var n=t._precomputed1;return n??(t._precomputed1=r._Universe__lookupQuestionRti(e,t._primary,!0))},Rti__getFutureFromFutureOr(e,t){var n=t._precomputed1;return n??(t._precomputed1=r._Universe__lookupInterfaceRti(e,"Future",[t._primary]))},Rti__isUnionOfFunctionType(e){var t=e._kind;return t===6||t===7||t===8?r.Rti__isUnionOfFunctionType(e._primary):t===12||t===13},Rti__getCanonicalRecipe(e){return e._canonicalRecipe},findType(e){return r._Universe_eval(L.typeUniverse,e,!1)},_substitute(e,t,n,a){var i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I,E=t._kind;switch(E){case 5:case 1:case 2:case 3:case 4:return t;case 6:return i=t._primary,o=r._substitute(e,i,n,a),o===i?t:r._Universe__lookupStarRti(e,o,!0);case 7:return i=t._primary,o=r._substitute(e,i,n,a),o===i?t:r._Universe__lookupQuestionRti(e,o,!0);case 8:return i=t._primary,o=r._substitute(e,i,n,a),o===i?t:r._Universe__lookupFutureOrRti(e,o,!0);case 9:return s=t._rest,_=r._substituteArray(e,s,n,a),_===s?t:r._Universe__lookupInterfaceRti(e,t._primary,_);case 10:return u=t._primary,c=r._substitute(e,u,n,a),p=t._rest,f=r._substituteArray(e,p,n,a),c===u&&f===p?t:r._Universe__lookupBindingRti(e,c,f);case 12:return h=t._primary,g=r._substitute(e,h,n,a),$=t._rest,S=r._substituteFunctionParameters(e,$,n,a),g===h&&S===$?t:r._Universe__lookupFunctionRti(e,g,S);case 13:return T=t._rest,a+=T.length,M=r._substituteArray(e,T,n,a),u=t._primary,c=r._substitute(e,u,n,a),M===T&&c===u?t:r._Universe__lookupGenericFunctionRti(e,c,M,!0);case 14:return D=t._primary,D<a||(I=n[D-a],I==null)?t:I;default:throw r.wrapException(r.AssertionError$("Attempted to substitute unexpected RTI kind "+E))}},_substituteArray(e,t,n,a){var i,o,s,_,u=t.length,c=r._Utils_newArrayOrEmpty(u);for(i=!1,o=0;o<u;++o)s=t[o],_=r._substitute(e,s,n,a),_!==s&&(i=!0),c[o]=_;return i?c:t},_substituteNamed(e,t,n,a){var i,o,s,_,u,c,p=t.length,f=r._Utils_newArrayOrEmpty(p);for(i=!1,o=0;o<p;o+=3)s=t[o],_=t[o+1],u=t[o+2],c=r._substitute(e,u,n,a),c!==u&&(i=!0),f.splice(o,3,s,_,c);return i?f:t},_substituteFunctionParameters(e,t,n,a){var i,o=t._requiredPositional,s=r._substituteArray(e,o,n,a),_=t._optionalPositional,u=r._substituteArray(e,_,n,a),c=t._named,p=r._substituteNamed(e,c,n,a);return s===o&&u===_&&p===c?t:(i=new r._FunctionParameters,i._requiredPositional=s,i._optionalPositional=u,i._named=p,i)},_setArrayType(e,t){return e[L.arrayRti]=t,e},closureFunctionType(e){var t,n=e.$signature;return n!=null?typeof n=="number"?r.getTypeFromTypesTable(n):(t=e.$signature(),t):null},instanceOrFunctionType(e,t){var n;return r.Rti__isUnionOfFunctionType(t)&&e instanceof r.Closure&&(n=r.closureFunctionType(e),n!=null)?n:r.instanceType(e)},instanceType(e){var t;return e instanceof r.Object?(t=e.$ti,t??r._instanceTypeFromConstructor(e)):Array.isArray(e)?r._arrayInstanceType(e):r._instanceTypeFromConstructor(m.getInterceptor$(e))},_arrayInstanceType(e){var t=e[L.arrayRti],n=d.JSArray_dynamic;return t==null||t.constructor!==n.constructor?n:t},_instanceType(e){var t=e.$ti;return t??r._instanceTypeFromConstructor(e)},_instanceTypeFromConstructor(e){var t=e.constructor,n=t.$ccache;return n??r._instanceTypeFromConstructorMiss(e,t)},_instanceTypeFromConstructorMiss(e,t){var n=e instanceof r.Closure?e.__proto__.__proto__.constructor:t,a=r._Universe_findErasedType(L.typeUniverse,n.name);return t.$ccache=a,a},getTypeFromTypesTable(e){var t,n=L.types,a=n[e];return typeof a=="string"?(t=r._Universe_eval(L.typeUniverse,a,!1),n[e]=t,t):a},getRuntimeType(e){var t=e instanceof r.Closure?r.closureFunctionType(e):null;return r.createRuntimeType(t??r.instanceType(e))},createRuntimeType(e){var t,n,a,i=e._cachedRuntimeType;return i??(t=e._canonicalRecipe,n=t.replace(/\*/g,""),n===t?e._cachedRuntimeType=new r._Type(e):(a=r._Universe_eval(L.typeUniverse,n,!0),i=a._cachedRuntimeType,e._cachedRuntimeType=i??(a._cachedRuntimeType=new r._Type(a))))},typeLiteral(e){return r.createRuntimeType(r._Universe_eval(L.typeUniverse,e,!1))},_installSpecializedIsTest(e){var t,n,a,i,o=this;if(o===d.Object)return r._finishIsFn(o,e,r._isObject);if(r.isStrongTopType(o)?t=!0:o!==d.legacy_Object?t=!1:t=!0,t)return r._finishIsFn(o,e,r._isTop);if(t=o._kind,n=t===6?o._primary:o,n===d.int?a=r._isInt:n===d.double||n===d.num?a=r._isNum:n===d.String?a=r._isString:a=n===d.bool?r._isBool:null,a!=null)return r._finishIsFn(o,e,a);if(n._kind===9){if(i=n._primary,n._rest.every(r.isTopType))return o._specializedTestResource="$is"+i,i==="List"?r._finishIsFn(o,e,r._isListTestViaProperty):r._finishIsFn(o,e,r._isTestViaProperty)}else if(t===7)return r._finishIsFn(o,e,r._generalNullableIsTestImplementation);return r._finishIsFn(o,e,r._generalIsTestImplementation)},_finishIsFn(e,t,n){return e._is=n,e._is(t)},_installSpecializedAsCheck(e){var t,n=this,a=r._generalAsCheckImplementation;return r.isStrongTopType(n)?t=!0:n!==d.legacy_Object?t=!1:t=!0,t?a=r._asTop:n===d.Object?a=r._asObject:(t=r.isNullable(n),t&&(a=r._generalNullableAsCheckImplementation)),n._as=a,n._as(e)},_nullIs(e){var t,n=e._kind;return r.isStrongTopType(e)?t=!0:e!==d.legacy_Object&&e!==d.legacy_Never&&n!==7?n===6&&r._nullIs(e._primary)?t=!0:t=n===8&&r._nullIs(e._primary)||e===d.Null||e===d.JSNull:t=!0,t},_generalIsTestImplementation(e){var t=this;return e==null?r._nullIs(t):r._isSubtype(L.typeUniverse,r.instanceOrFunctionType(e,t),null,t,null)},_generalNullableIsTestImplementation(e){return e==null?!0:this._primary._is(e)},_isTestViaProperty(e){var t,n=this;return e==null?r._nullIs(n):(t=n._specializedTestResource,e instanceof r.Object?!!e[t]:!!m.getInterceptor$(e)[t])},_isListTestViaProperty(e){var t,n=this;return e==null?r._nullIs(n):typeof e!="object"?!1:Array.isArray(e)?!0:(t=n._specializedTestResource,e instanceof r.Object?!!e[t]:!!m.getInterceptor$(e)[t])},_generalAsCheckImplementation(e){var t,n=this;if(e==null){if(t=r.isNullable(n),t)return e}else if(n._is(e))return e;r._failedAsCheck(e,n)},_generalNullableAsCheckImplementation(e){var t=this;if(e==null)return e;if(t._is(e))return e;r._failedAsCheck(e,t)},_failedAsCheck(e,t){throw r.wrapException(r._TypeError$fromMessage(r._Error_compose(e,r.instanceOrFunctionType(e,t),r._rtiToString(t,null))))},_Error_compose(e,t,n){var a=r.Error_safeToString(e);return a+": type '"+r._rtiToString(t??r.instanceType(e),null)+"' is not a subtype of type '"+n+"'"},_TypeError$fromMessage(e){return new r._TypeError("TypeError: "+e)},_TypeError__TypeError$forType(e,t){return new r._TypeError("TypeError: "+r._Error_compose(e,null,t))},_isObject(e){return e!=null},_asObject(e){if(e!=null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"Object"))},_isTop(e){return!0},_asTop(e){return e},_isBool(e){return e===!0||e===!1},_asBool(e){if(e===!0)return!0;if(e===!1)return!1;throw r.wrapException(r._TypeError__TypeError$forType(e,"bool"))},_asBoolS(e){if(e===!0)return!0;if(e===!1)return!1;if(e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"bool"))},_asBoolQ(e){if(e===!0)return!0;if(e===!1)return!1;if(e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"bool?"))},_asDouble(e){if(typeof e=="number")return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"double"))},_asDoubleS(e){if(typeof e=="number"||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"double"))},_asDoubleQ(e){if(typeof e=="number"||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"double?"))},_isInt(e){return typeof e=="number"&&Math.floor(e)===e},_asInt(e){if(typeof e=="number"&&Math.floor(e)===e)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"int"))},_asIntS(e){if(typeof e=="number"&&Math.floor(e)===e||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"int"))},_asIntQ(e){if(typeof e=="number"&&Math.floor(e)===e||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"int?"))},_isNum(e){return typeof e=="number"},_asNum(e){if(typeof e=="number")return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"num"))},_asNumS(e){if(typeof e=="number"||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"num"))},_asNumQ(e){if(typeof e=="number"||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"num?"))},_isString(e){return typeof e=="string"},_asString(e){if(typeof e=="string")return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"String"))},_asStringS(e){if(typeof e=="string"||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"String"))},_asStringQ(e){if(typeof e=="string"||e==null)return e;throw r.wrapException(r._TypeError__TypeError$forType(e,"String?"))},_rtiArrayToString(e,t){var n,a,i;for(n="",a="",i=0;i<e.length;++i,a=", ")n+=a+r._rtiToString(e[i],t);return n},_recordRtiToString(e,t){var n,a,i,o,s,_,u=e._primary,c=e._rest;if(u==="")return"("+r._rtiArrayToString(c,t)+")";for(n=c.length,a=u.split(","),i=a.length-n,o="(",s="",_=0;_<n;++_,s=", ")o+=s,i===0&&(o+="{"),o+=r._rtiToString(c[_],t),i>=0&&(o+=" "+a[i]),++i;return o+"})"},_functionRtiToString(e,t,n){var a,i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I,E,w,b,C,A=", ";if(n!=null){for(a=n.length,t==null?(t=r._setArrayType([],d.JSArray_String),i=null):i=t.length,o=t.length,s=a;s>0;--s)t.push("T"+(o+s));for(_=d.nullable_Object,u=d.legacy_Object,c="<",p="",s=0;s<a;++s,p=A)c=l.JSString_methods.$add(c+p,t[t.length-1-s]),f=n[s],h=f._kind,h===2||h===3||h===4||h===5||f===_?g=!0:f!==u?g=!1:g=!0,g||(c+=" extends "+r._rtiToString(f,t));c+=">"}else c="",i=null;for(_=e._primary,$=e._rest,S=$._requiredPositional,T=S.length,M=$._optionalPositional,D=M.length,I=$._named,E=I.length,w=r._rtiToString(_,t),b="",C="",s=0;s<T;++s,C=A)b+=C+r._rtiToString(S[s],t);if(D>0){for(b+=C+"[",C="",s=0;s<D;++s,C=A)b+=C+r._rtiToString(M[s],t);b+="]"}if(E>0){for(b+=C+"{",C="",s=0;s<E;s+=3,C=A)b+=C,I[s+1]&&(b+="required "),b+=r._rtiToString(I[s+2],t)+" "+I[s];b+="}"}return i!=null&&(t.toString,t.length=i),c+"("+b+") => "+w},_rtiToString(e,t){var n,a,i,o,s,_,u=e._kind;return u===5?"erased":u===2?"dynamic":u===3?"void":u===1?"Never":u===4?"any":u===6?(n=r._rtiToString(e._primary,t),n):u===7?(a=e._primary,n=r._rtiToString(a,t),i=a._kind,(i===12||i===13?"("+n+")":n)+"?"):u===8?"FutureOr<"+r._rtiToString(e._primary,t)+">":u===9?(o=r._unminifyOrTag(e._primary),s=e._rest,s.length>0?o+("<"+r._rtiArrayToString(s,t)+">"):o):u===11?r._recordRtiToString(e,t):u===12?r._functionRtiToString(e,t,null):u===13?r._functionRtiToString(e._primary,t,e._rest):u===14?(_=e._primary,t[t.length-1-_]):"?"},_unminifyOrTag(e){var t=L.mangledGlobalNames[e];return t??e},_Universe_findRule(e,t){for(var n=e.tR[t];typeof n=="string";)n=e.tR[n];return n},_Universe_findErasedType(e,t){var n,a,i,o,s,_=e.eT,u=_[t];if(u==null)return r._Universe_eval(e,t,!1);if(typeof u=="number"){for(n=u,a=r._Universe__lookupTerminalRti(e,5,"#"),i=r._Utils_newArrayOrEmpty(n),o=0;o<n;++o)i[o]=a;return s=r._Universe__lookupInterfaceRti(e,t,i),_[t]=s,s}else return u},_Universe_addRules(e,t){return r._Utils_objectAssign(e.tR,t)},_Universe_addErasedTypes(e,t){return r._Utils_objectAssign(e.eT,t)},_Universe_eval(e,t,n){var a,i=e.eC,o=i.get(t);return o??(a=r._Parser_parse(r._Parser_create(e,null,t,n)),i.set(t,a),a)},_Universe_evalInEnvironment(e,t,n){var a,i,o=t._evalCache;return o==null&&(o=t._evalCache=new Map),a=o.get(n),a??(i=r._Parser_parse(r._Parser_create(e,t,n,!0)),o.set(n,i),i)},_Universe_bind(e,t,n){var a,i,o,s=t._bindCache;return s==null&&(s=t._bindCache=new Map),a=n._canonicalRecipe,i=s.get(a),i??(o=r._Universe__lookupBindingRti(e,t,n._kind===10?n._rest:[n]),s.set(a,o),o)},_Universe__installTypeTests(e,t){return t._as=r._installSpecializedAsCheck,t._is=r._installSpecializedIsTest,t},_Universe__lookupTerminalRti(e,t,n){var a,i,o=e.eC.get(n);return o??(a=new r.Rti(null,null),a._kind=t,a._canonicalRecipe=n,i=r._Universe__installTypeTests(e,a),e.eC.set(n,i),i)},_Universe__lookupStarRti(e,t,n){var a,i=t._canonicalRecipe+"*",o=e.eC.get(i);return o??(a=r._Universe__createStarRti(e,t,i,n),e.eC.set(i,a),a)},_Universe__createStarRti(e,t,n,a){var i,o,s;return a&&(i=t._kind,r.isStrongTopType(t)?o=!0:o=t===d.Null||t===d.JSNull||i===7||i===6,o)?t:(s=new r.Rti(null,null),s._kind=6,s._primary=t,s._canonicalRecipe=n,r._Universe__installTypeTests(e,s))},_Universe__lookupQuestionRti(e,t,n){var a,i=t._canonicalRecipe+"?",o=e.eC.get(i);return o??(a=r._Universe__createQuestionRti(e,t,i,n),e.eC.set(i,a),a)},_Universe__createQuestionRti(e,t,n,a){var i,o,s,_;if(a){if(i=t._kind,r.isStrongTopType(t)||t===d.Null||t===d.JSNull?o=!0:i!==7?o=i===8&&r.isNullable(t._primary):o=!0,o)return t;if(i===1||t===d.legacy_Never)return d.Null;if(i===6)return s=t._primary,s._kind===8&&r.isNullable(s._primary)?s:r.Rti__getQuestionFromStar(e,t)}return _=new r.Rti(null,null),_._kind=7,_._primary=t,_._canonicalRecipe=n,r._Universe__installTypeTests(e,_)},_Universe__lookupFutureOrRti(e,t,n){var a,i=t._canonicalRecipe+"/",o=e.eC.get(i);return o??(a=r._Universe__createFutureOrRti(e,t,i,n),e.eC.set(i,a),a)},_Universe__createFutureOrRti(e,t,n,a){var i,o,s;if(a){if(i=t._kind,r.isStrongTopType(t)?o=!0:t!==d.legacy_Object?o=!1:o=!0,o||t===d.Object)return t;if(i===1)return r._Universe__lookupInterfaceRti(e,"Future",[t]);if(t===d.Null||t===d.JSNull)return d.nullable_Future_Null}return s=new r.Rti(null,null),s._kind=8,s._primary=t,s._canonicalRecipe=n,r._Universe__installTypeTests(e,s)},_Universe__lookupGenericFunctionParameterRti(e,t){var n,a,i=""+t+"^",o=e.eC.get(i);return o??(n=new r.Rti(null,null),n._kind=14,n._primary=t,n._canonicalRecipe=i,a=r._Universe__installTypeTests(e,n),e.eC.set(i,a),a)},_Universe__canonicalRecipeJoin(e){var t,n,a,i=e.length;for(t="",n="",a=0;a<i;++a,n=",")t+=n+e[a]._canonicalRecipe;return t},_Universe__canonicalRecipeJoinNamed(e){var t,n,a,i,o,s=e.length;for(t="",n="",a=0;a<s;a+=3,n=",")i=e[a],o=e[a+1]?"!":":",t+=n+i+o+e[a+2]._canonicalRecipe;return t},_Universe__lookupInterfaceRti(e,t,n){var a,i,o,s=t;return n.length>0&&(s+="<"+r._Universe__canonicalRecipeJoin(n)+">"),a=e.eC.get(s),a??(i=new r.Rti(null,null),i._kind=9,i._primary=t,i._rest=n,n.length>0&&(i._precomputed1=n[0]),i._canonicalRecipe=s,o=r._Universe__installTypeTests(e,i),e.eC.set(s,o),o)},_Universe__lookupBindingRti(e,t,n){var a,i,o,s,_,u;return t._kind===10?(a=t._primary,i=t._rest.concat(n)):(i=n,a=t),o=a._canonicalRecipe+(";<"+r._Universe__canonicalRecipeJoin(i)+">"),s=e.eC.get(o),s??(_=new r.Rti(null,null),_._kind=10,_._primary=a,_._rest=i,_._canonicalRecipe=o,u=r._Universe__installTypeTests(e,_),e.eC.set(o,u),u)},_Universe__lookupRecordRti(e,t,n){var a,i,o="+"+(t+"("+r._Universe__canonicalRecipeJoin(n)+")"),s=e.eC.get(o);return s??(a=new r.Rti(null,null),a._kind=11,a._primary=t,a._rest=n,a._canonicalRecipe=o,i=r._Universe__installTypeTests(e,a),e.eC.set(o,i),i)},_Universe__lookupFunctionRti(e,t,n){var a,i,o,s,_,u=t._canonicalRecipe,c=n._requiredPositional,p=c.length,f=n._optionalPositional,h=f.length,g=n._named,$=g.length,S="("+r._Universe__canonicalRecipeJoin(c);return h>0&&(a=p>0?",":"",S+=a+"["+r._Universe__canonicalRecipeJoin(f)+"]"),$>0&&(a=p>0?",":"",S+=a+"{"+r._Universe__canonicalRecipeJoinNamed(g)+"}"),i=u+(S+")"),o=e.eC.get(i),o??(s=new r.Rti(null,null),s._kind=12,s._primary=t,s._rest=n,s._canonicalRecipe=i,_=r._Universe__installTypeTests(e,s),e.eC.set(i,_),_)},_Universe__lookupGenericFunctionRti(e,t,n,a){var i,o=t._canonicalRecipe+("<"+r._Universe__canonicalRecipeJoin(n)+">"),s=e.eC.get(o);return s??(i=r._Universe__createGenericFunctionRti(e,t,n,o,a),e.eC.set(o,i),i)},_Universe__createGenericFunctionRti(e,t,n,a,i){var o,s,_,u,c,p,f,h;if(i){for(o=n.length,s=r._Utils_newArrayOrEmpty(o),_=0,u=0;u<o;++u)c=n[u],c._kind===1&&(s[u]=c,++_);if(_>0)return p=r._substitute(e,t,s,0),f=r._substituteArray(e,n,s,0),r._Universe__lookupGenericFunctionRti(e,p,f,n!==f)}return h=new r.Rti(null,null),h._kind=13,h._primary=t,h._rest=n,h._canonicalRecipe=a,r._Universe__installTypeTests(e,h)},_Parser_create(e,t,n,a){return{u:e,e:t,r:n,s:[],p:0,n:a}},_Parser_parse(e){var t,n,a,i,o,s,_,u,c,p=e.r,f=e.s;for(t=p.length,n=0;n<t;)if(a=p.charCodeAt(n),a>=48&&a<=57)n=r._Parser_handleDigit(n+1,a,p,f);else if((((a|32)>>>0)-97&65535)<26||a===95||a===36||a===124)n=r._Parser_handleIdentifier(e,n,p,f,!1);else if(a===46)n=r._Parser_handleIdentifier(e,n,p,f,!0);else switch(++n,a){case 44:break;case 58:f.push(!1);break;case 33:f.push(!0);break;case 59:f.push(r._Parser_toType(e.u,e.e,f.pop()));break;case 94:f.push(r._Universe__lookupGenericFunctionParameterRti(e.u,f.pop()));break;case 35:f.push(r._Universe__lookupTerminalRti(e.u,5,"#"));break;case 64:f.push(r._Universe__lookupTerminalRti(e.u,2,"@"));break;case 126:f.push(r._Universe__lookupTerminalRti(e.u,3,"~"));break;case 60:f.push(e.p),e.p=f.length;break;case 62:if(i=e.u,o=f.splice(e.p),r._Parser_toTypes(e.u,e.e,o),e.p=f.pop(),s=f.pop(),typeof s=="string")f.push(r._Universe__lookupInterfaceRti(i,s,o));else switch(_=r._Parser_toType(i,e.e,s),_._kind){case 12:f.push(r._Universe__lookupGenericFunctionRti(i,_,o,e.n));break;default:f.push(r._Universe__lookupBindingRti(i,_,o));break}break;case 38:r._Parser_handleExtendedOperations(e,f);break;case 42:i=e.u,f.push(r._Universe__lookupStarRti(i,r._Parser_toType(i,e.e,f.pop()),e.n));break;case 63:i=e.u,f.push(r._Universe__lookupQuestionRti(i,r._Parser_toType(i,e.e,f.pop()),e.n));break;case 47:i=e.u,f.push(r._Universe__lookupFutureOrRti(i,r._Parser_toType(i,e.e,f.pop()),e.n));break;case 40:f.push(-3),f.push(e.p),e.p=f.length;break;case 41:r._Parser_handleArguments(e,f);break;case 91:f.push(e.p),e.p=f.length;break;case 93:o=f.splice(e.p),r._Parser_toTypes(e.u,e.e,o),e.p=f.pop(),f.push(o),f.push(-1);break;case 123:f.push(e.p),e.p=f.length;break;case 125:o=f.splice(e.p),r._Parser_toTypesNamed(e.u,e.e,o),e.p=f.pop(),f.push(o),f.push(-2);break;case 43:u=p.indexOf("(",n),f.push(p.substring(n,u)),f.push(-4),f.push(e.p),e.p=f.length,n=u+1;break;default:throw"Bad character "+a}return c=f.pop(),r._Parser_toType(e.u,e.e,c)},_Parser_handleDigit(e,t,n,a){var i,o,s=t-48;for(i=n.length;e<i&&(o=n.charCodeAt(e),o>=48&&o<=57);++e)s=s*10+(o-48);return a.push(s),e},_Parser_handleIdentifier(e,t,n,a,i){var o,s,_,u,c,p,f=t+1;for(o=n.length;f<o;++f)if(s=n.charCodeAt(f),s===46){if(i)break;i=!0}else if((((s|32)>>>0)-97&65535)<26||s===95||s===36||s===124?_=!0:_=s>=48&&s<=57,!_)break;return u=n.substring(t,f),i?(o=e.u,c=e.e,c._kind===10&&(c=c._primary),p=r._Universe_findRule(o,c._primary)[u],p==null&&r.throwExpression('No "'+u+'" in "'+r.Rti__getCanonicalRecipe(c)+'"'),a.push(r._Universe_evalInEnvironment(o,c,p))):a.push(u),f},_Parser_handleArguments(e,t){var n,a,i,o,s,_=null,u=e.u,c=t.pop();if(typeof c=="number")switch(c){case-1:n=t.pop(),a=_;break;case-2:a=t.pop(),n=_;break;default:t.push(c),a=_,n=a;break}else t.push(c),a=_,n=a;switch(i=r._Parser_collectArray(e,t),c=t.pop(),c){case-3:c=t.pop(),n==null&&(n=u.sEA),a==null&&(a=u.sEA),o=r._Parser_toType(u,e.e,c),s=new r._FunctionParameters,s._requiredPositional=i,s._optionalPositional=n,s._named=a,t.push(r._Universe__lookupFunctionRti(u,o,s));return;case-4:t.push(r._Universe__lookupRecordRti(u,t.pop(),i));return;default:throw r.wrapException(r.AssertionError$("Unexpected state under `()`: "+r.S(c)))}},_Parser_handleExtendedOperations(e,t){var n=t.pop();if(n===0){t.push(r._Universe__lookupTerminalRti(e.u,1,"0&"));return}if(n===1){t.push(r._Universe__lookupTerminalRti(e.u,4,"1&"));return}throw r.wrapException(r.AssertionError$("Unexpected extended operation "+r.S(n)))},_Parser_collectArray(e,t){var n=t.splice(e.p);return r._Parser_toTypes(e.u,e.e,n),e.p=t.pop(),n},_Parser_toType(e,t,n){return typeof n=="string"?r._Universe__lookupInterfaceRti(e,n,e.sEA):typeof n=="number"?(t.toString,r._Parser_indexToType(e,t,n)):n},_Parser_toTypes(e,t,n){var a,i=n.length;for(a=0;a<i;++a)n[a]=r._Parser_toType(e,t,n[a])},_Parser_toTypesNamed(e,t,n){var a,i=n.length;for(a=2;a<i;a+=3)n[a]=r._Parser_toType(e,t,n[a])},_Parser_indexToType(e,t,n){var a,i,o=t._kind;if(o===10){if(n===0)return t._primary;if(a=t._rest,i=a.length,n<=i)return a[n-1];n-=i,t=t._primary,o=t._kind}else if(n===0)return t;if(o!==9)throw r.wrapException(r.AssertionError$("Indexed base must be an interface type"));if(a=t._rest,n<=a.length)return a[n-1];throw r.wrapException(r.AssertionError$("Bad index "+n+" for "+t.toString$0(0)))},_isSubtype(e,t,n,a,i){var o,s,_,u,c,p,f,h,g,$;if(t===a||(r.isStrongTopType(a)?o=!0:a!==d.legacy_Object?o=!1:o=!0,o)||(s=t._kind,s===4))return!0;if(r.isStrongTopType(t))return!1;if(t._kind!==1?o=!1:o=!0,o||(_=s===14,_&&r._isSubtype(e,n[t._primary],n,a,i)))return!0;if(u=a._kind,o=t===d.Null||t===d.JSNull,o)return u===8?r._isSubtype(e,t,n,a._primary,i):a===d.Null||a===d.JSNull||u===7||u===6;if(a===d.Object)return s===8||s===6?r._isSubtype(e,t._primary,n,a,i):s!==7;if(s===6)return r._isSubtype(e,t._primary,n,a,i);if(u===6)return o=r.Rti__getQuestionFromStar(e,a),r._isSubtype(e,t,n,o,i);if(s===8)return r._isSubtype(e,t._primary,n,a,i)?r._isSubtype(e,r.Rti__getFutureFromFutureOr(e,t),n,a,i):!1;if(s===7)return o=r._isSubtype(e,d.Null,n,a,i),o&&r._isSubtype(e,t._primary,n,a,i);if(u===8)return r._isSubtype(e,t,n,a._primary,i)?!0:r._isSubtype(e,t,n,r.Rti__getFutureFromFutureOr(e,a),i);if(u===7)return o=r._isSubtype(e,t,n,d.Null,i),o||r._isSubtype(e,t,n,a._primary,i);if(_)return!1;if(o=s!==12,(!o||s===13)&&a===d.Function)return!0;if(u===13){if(t===d.JavaScriptFunction)return!0;if(s!==13||(c=t._rest,p=a._rest,f=c.length,f!==p.length))return!1;for(n=n==null?c:c.concat(n),i=i==null?p:p.concat(i),h=0;h<f;++h)if(g=c[h],$=p[h],!r._isSubtype(e,g,n,$,i)||!r._isSubtype(e,$,i,g,n))return!1;return r._isFunctionSubtype(e,t._primary,n,a._primary,i)}return u===12?t===d.JavaScriptFunction?!0:o?!1:r._isFunctionSubtype(e,t,n,a,i):s===9?u!==9?!1:r._isInterfaceSubtype(e,t,n,a,i):(o=s===11,o&&a===d.Record?!0:o&&u===11?r._isRecordSubtype(e,t,n,a,i):!1)},_isFunctionSubtype(e,t,n,a,i){var o,s,_,u,c,p,f,h,g,$,S,T,M,D,I,E,w,b,C,A,v,H;if(!r._isSubtype(e,t._primary,n,a._primary,i)||(o=t._rest,s=a._rest,_=o._requiredPositional,u=s._requiredPositional,c=_.length,p=u.length,c>p)||(f=p-c,h=o._optionalPositional,g=s._optionalPositional,$=h.length,S=g.length,c+$<p+S))return!1;for(T=0;T<c;++T)if(M=_[T],!r._isSubtype(e,u[T],i,M,n))return!1;for(T=0;T<f;++T)if(M=h[T],!r._isSubtype(e,u[c+T],i,M,n))return!1;for(T=0;T<S;++T)if(M=h[f+T],!r._isSubtype(e,g[T],i,M,n))return!1;for(D=o._named,I=s._named,E=D.length,w=I.length,b=0,C=0;C<w;C+=3)for(A=I[C];;){if(b>=E||(v=D[b],b+=3,A<v))return!1;if(H=D[b-2],v<A){if(H)return!1;continue}if(M=I[C+1],H&&!M||(M=D[b-1],!r._isSubtype(e,I[C+2],i,M,n)))return!1;break}for(;b<E;){if(D[b+1])return!1;b+=3}return!0},_isInterfaceSubtype(e,t,n,a,i){for(var o,s,_,u,c,p,f,h=t._primary,g=a._primary;h!==g;){if(o=e.tR[h],o==null)return!1;if(typeof o=="string"){h=o;continue}if(s=o[g],s==null)return!1;for(_=s.length,u=_>0?new Array(_):L.typeUniverse.sEA,c=0;c<_;++c)u[c]=r._Universe_evalInEnvironment(e,t,s[c]);return r._areArgumentsSubtypes(e,u,null,n,a._rest,i)}return p=t._rest,f=a._rest,r._areArgumentsSubtypes(e,p,null,n,f,i)},_areArgumentsSubtypes(e,t,n,a,i,o){var s,_,u,c=t.length;for(s=0;s<c;++s)if(_=t[s],u=i[s],!r._isSubtype(e,_,a,u,o))return!1;return!0},_isRecordSubtype(e,t,n,a,i){var o,s=t._rest,_=a._rest,u=s.length;if(u!==_.length||t._primary!==a._primary)return!1;for(o=0;o<u;++o)if(!r._isSubtype(e,s[o],n,_[o],i))return!1;return!0},isNullable(e){var t,n=e._kind;return e===d.Null||e===d.JSNull||r.isStrongTopType(e)?t=!0:n!==7?n===6&&r.isNullable(e._primary)?t=!0:t=n===8&&r.isNullable(e._primary):t=!0,t},isTopType(e){var t;return r.isStrongTopType(e)?t=!0:e!==d.legacy_Object?t=!1:t=!0,t},isStrongTopType(e){var t=e._kind;return t===2||t===3||t===4||t===5||e===d.nullable_Object},_Utils_objectAssign(e,t){var n,a,i=Object.keys(t),o=i.length;for(n=0;n<o;++n)a=i[n],e[a]=t[a]},_Utils_newArrayOrEmpty(e){return e>0?new Array(e):L.typeUniverse.sEA},Rti:function(t,n){var a=this;a._as=t,a._is=n,a._cachedRuntimeType=a._specializedTestResource=a._precomputed1=null,a._kind=0,a._canonicalRecipe=a._bindCache=a._evalCache=a._rest=a._primary=null},_FunctionParameters:function(){this._named=this._optionalPositional=this._requiredPositional=null},_Type:function(t){this._rti=t},_Error:function(){},_TypeError:function(t){this.__rti$_message=t},_IterationMarker_yieldStar(e){return new r._IterationMarker(e,1)},_IterationMarker_endOfIteration(){return l._IterationMarker_null_2},_IterationMarker_uncaughtError(e){return new r._IterationMarker(e,3)},_makeSyncStarIterable(e,t){return new r._SyncStarIterable(e,t._eval$1("_SyncStarIterable<0>"))},_IterationMarker:function(t,n){this.value=t,this.state=n},_SyncStarIterator:function(t){var n=this;n._body=t,n._suspendedBodies=n._nestedIterator=n._async$_current=null},_SyncStarIterable:function(t,n){this._outerHelper=t,this.$ti=n},StreamTransformerBase:function(){},LinkedHashMap_LinkedHashMap(e,t,n,a){var i;if(t==null){if(e==null)return new r.JsLinkedHashMap(n._eval$1("@<0>")._bind$1(a)._eval$1("JsLinkedHashMap<1,2>"));i=r.collection___defaultEquals$closure()}else e==null&&(e=r.collection___defaultHashCode$closure()),i=r.collection___defaultEquals$closure();return r._LinkedCustomHashMap$(i,e,t,n,a)},LinkedHashMap_LinkedHashMap$_literal(e,t,n){return r.fillLiteralMap(e,new r.JsLinkedHashMap(t._eval$1("@<0>")._bind$1(n)._eval$1("JsLinkedHashMap<1,2>")))},LinkedHashMap_LinkedHashMap$_empty(e,t){return new r.JsLinkedHashMap(e._eval$1("@<0>")._bind$1(t)._eval$1("JsLinkedHashMap<1,2>"))},_LinkedCustomHashMap$(e,t,n,a,i){var o=n??new r._LinkedCustomHashMap_closure(a);return new r._LinkedCustomHashMap(e,t,o,a._eval$1("@<0>")._bind$1(i)._eval$1("_LinkedCustomHashMap<1,2>"))},LinkedHashSet_LinkedHashSet(e){return new r._LinkedHashSet(e._eval$1("_LinkedHashSet<0>"))},_LinkedHashSet__newHashTable(){var e=Object.create(null);return e["<non-identifier-key>"]=e,delete e["<non-identifier-key>"],e},_defaultEquals(e,t){return m.$eq$(e,t)},_defaultHashCode(e){return m.get$hashCode$(e)},IterableBase_iterableToShortString(e,t,n){var a,i;if(r._isToStringVisiting(e))return t==="("&&n===")"?"(...)":t+"..."+n;a=r._setArrayType([],d.JSArray_String),y._toStringVisiting.push(e);try{r._iterablePartsToStrings(e,a)}finally{y._toStringVisiting.pop()}return i=r.StringBuffer__writeAll(t,a,", ")+n,i.charCodeAt(0)==0,i},IterableBase_iterableToFullString(e,t,n){var a,i;if(r._isToStringVisiting(e))return t+"..."+n;a=new r.StringBuffer(t),y._toStringVisiting.push(e);try{i=a,i._contents=r.StringBuffer__writeAll(i._contents,e,", ")}finally{y._toStringVisiting.pop()}return a._contents+=n,i=a._contents,i.charCodeAt(0)==0,i},_isToStringVisiting(e){var t,n;for(t=y._toStringVisiting.length,n=0;n<t;++n)if(e===y._toStringVisiting[n])return!0;return!1},_iterablePartsToStrings(e,t){for(var n,a,i,o,s,_,u,c=e.get$iterator(e),p=0,f=0;p<80||f<3;){if(!c.moveNext$0())return;n=r.S(c.get$current()),t.push(n),p+=n.length+2,++f}if(c.moveNext$0())if(o=c.get$current(),++f,c.moveNext$0()){for(s=c.get$current(),++f;c.moveNext$0();o=s,s=_)if(_=c.get$current(),++f,f>100){for(;p>75&&f>3;)p-=t.pop().length+2,--f;t.push("...");return}i=r.S(o),a=r.S(s),p+=a.length+i.length+4}else{if(f<=4){t.push(r.S(o));return}a=r.S(o),i=t.pop(),p+=a.length+2}else{if(f<=5)return;a=t.pop(),i=t.pop()}for(f>t.length+2?(p+=5,u="..."):u=null;p>80&&t.length>3;)p-=t.pop().length+2,u==null&&(p+=5,u="...");u!=null&&t.push(u),t.push(i),t.push(a)},LinkedHashMap_LinkedHashMap$from(e,t,n){var a=r.LinkedHashMap_LinkedHashMap(null,null,t,n);return e.forEach$1(0,new r.LinkedHashMap_LinkedHashMap$from_closure(a,t,n)),a},LinkedHashMap_LinkedHashMap$of(e,t,n){var a=r.LinkedHashMap_LinkedHashMap(null,null,t,n);return a.addAll$1(0,e),a},LinkedHashSet_LinkedHashSet$from(e,t){var n,a,i=r.LinkedHashSet_LinkedHashSet(t);for(n=e.length,a=0;a<e.length;e.length===n||(0,r.throwConcurrentModificationError)(e),++a)i.add$1(0,t._as(e[a]));return i},MapBase_mapToString(e){var t,n={};if(r._isToStringVisiting(e))return"{...}";t=new r.StringBuffer("");try{y._toStringVisiting.push(e),t._contents+="{",n.first=!0,e.forEach$1(0,new r.MapBase_mapToString_closure(n,t)),t._contents+="}"}finally{y._toStringVisiting.pop()}return n=t._contents,n.charCodeAt(0)==0,n},_LinkedCustomHashMap:function(t,n,a,i){var o=this;o._equals=t,o._hashCode=n,o._validKey=a,o.__js_helper$_length=0,o._last=o._first=o.__js_helper$_rest=o._nums=o._strings=null,o._modifications=0,o.$ti=i},_LinkedCustomHashMap_closure:function(t){this.K=t},_LinkedHashSet:function(t){var n=this;n._collection$_length=0,n._collection$_last=n._collection$_first=n._collection$_rest=n._collection$_nums=n._collection$_strings=null,n._collection$_modifications=0,n.$ti=t},_LinkedHashSetCell:function(t){this._element=t,this._collection$_next=null},_LinkedHashSetIterator:function(t,n){var a=this;a._set=t,a._collection$_modifications=n,a._collection$_current=a._collection$_cell=null},IterableBase:function(){},LinkedHashMap_LinkedHashMap$from_closure:function(t,n,a){this.result=t,this.K=n,this.V=a},ListBase:function(){},ListMixin:function(){},MapBase:function(){},MapBase_mapToString_closure:function(t,n){this._box_0=t,this.result=n},MapMixin:function(){},_UnmodifiableMapMixin:function(){},MapView:function(){},UnmodifiableMapView:function(){},SetMixin:function(){},_SetBase:function(){},_ListBase_Object_ListMixin:function(){},_UnmodifiableMapView_MapView__UnmodifiableMapMixin:function(){},__SetBase_Object_SetMixin:function(){},_parseJson(e,t){var n,a,i=null;try{i=JSON.parse(e)}catch(o){throw n=r.unwrapException(o),a=r.FormatException$(String(n),null),r.wrapException(a)}return a=r._convertJsonToDartLazy(i),a},_convertJsonToDartLazy(e){var t;if(e==null)return null;if(typeof e!="object")return e;if(Object.getPrototypeOf(e)!==Array.prototype)return new r._JsonMap(e,Object.create(null));for(t=0;t<e.length;++t)e[t]=r._convertJsonToDartLazy(e[t]);return e},JsonUnsupportedObjectError$(e,t,n){return new r.JsonUnsupportedObjectError(e,t)},_defaultToEncodable(e){return e.toJson$0()},_JsonStringStringifier$(e,t){return new r._JsonStringStringifier(e,[],r.convert___defaultToEncodable$closure())},_JsonStringStringifier_stringify(e,t,n){var a,i=new r.StringBuffer(""),o=r._JsonStringStringifier$(i,t);return o.writeObject$1(e),a=i._contents,a.charCodeAt(0)==0,a},_JsonMap:function(t,n){this._original=t,this._processed=n,this._data=null},_JsonMapKeyIterable:function(t){this._parent=t},Codec:function(){},Converter:function(){},Encoding:function(){},JsonUnsupportedObjectError:function(t,n){this.unsupportedObject=t,this.cause=n},JsonCyclicError:function(t,n){this.unsupportedObject=t,this.cause=n},JsonCodec:function(){},JsonEncoder:function(t){this._toEncodable=t},JsonDecoder:function(t){this._reviver=t},_JsonStringifier:function(){},_JsonStringifier_writeMap_closure:function(t,n){this._box_0=t,this.keyValueList=n},_JsonStringStringifier:function(t,n,a){this._sink=t,this._seen=n,this._toEncodable=a},Utf8Codec:function(){},Utf8Encoder:function(){},_Utf8Encoder:function(t){this._bufferIndex=0,this._convert$_buffer=t},int_parse(e){var t=r.Primitives_parseInt(e,null);if(t!=null)return t;throw r.wrapException(r.FormatException$(e,null))},Error__objectToString(e){return e instanceof r.Closure?e.toString$0(0):"Instance of '"+r.Primitives_objectTypeName(e)+"'"},List_List$filled(e,t,n,a){var i,o=n?m.JSArray_JSArray$growable(e,a):m.JSArray_JSArray$fixed(e,a);if(e!==0&&t!=null)for(i=0;i<o.length;++i)o[i]=t;return o},List_List$from(e,t){var n,a=r._setArrayType([],t._eval$1("JSArray<0>"));for(n=m.get$iterator$ax(e);n.moveNext$0();)a.push(n.get$current());return a},List_List$of(e,t,n){var a;return t?r.List_List$_of(e,n):(a=m.JSArray_markFixedList(r.List_List$_of(e,n)),a)},List_List$_of(e,t){var n,a;if(Array.isArray(e))return r._setArrayType(e.slice(0),t._eval$1("JSArray<0>"));for(n=r._setArrayType([],t._eval$1("JSArray<0>")),a=m.get$iterator$ax(e);a.moveNext$0();)n.push(a.get$current());return n},String_String$fromCharCodes(e){var t,n,a;return Array.isArray(e)?(t=e,n=t.length,a=r.RangeError_checkValidRange(0,null,n),r.Primitives_stringFromCharCodes(a<n?t.slice(0,a):t)):d.NativeUint8List._is(e)?r.Primitives_stringFromNativeUint8List(e,0,r.RangeError_checkValidRange(0,null,e.length)):r.String__stringFromIterable(e,0,null)},String__stringFromIterable(e,t,n){var a,i,o=m.get$iterator$ax(e);for(a=0;a<t;++a)if(!o.moveNext$0())throw r.wrapException(r.RangeError$range(t,0,a,null,null));for(i=[];o.moveNext$0();)i.push(o.get$current());return r.Primitives_stringFromCharCodes(i)},RegExp_RegExp(e,t){return new r.JSSyntaxRegExp(e,r.JSSyntaxRegExp_makeNative(e,!1,!0,t,!1,!1))},StringBuffer__writeAll(e,t,n){var a=m.get$iterator$ax(t);if(!a.moveNext$0())return e;if(n.length===0)do e+=r.S(a.get$current());while(a.moveNext$0());else for(e+=r.S(a.get$current());a.moveNext$0();)e=e+n+r.S(a.get$current());return e},NoSuchMethodError$_(e,t,n,a,i){return new r.NoSuchMethodError(e,t,n,a,i)},DateTime_parse(e){var t,n,a,i,o,s,_,u,c,p,f,h,g,$,S,T,M=y.$get$DateTime__parseFormat().firstMatch$1(e);if(M!=null){if(t=new r.DateTime_parse_parseIntOrZero,n=M.__js_helper$_match,a=n[1],a.toString,i=r.int_parse(a),a=n[2],a.toString,o=r.int_parse(a),a=n[3],a.toString,s=r.int_parse(a),_=t.call$1(n[4]),u=t.call$1(n[5]),c=t.call$1(n[6]),p=new r.DateTime_parse_parseMilliAndMicroseconds().call$1(n[7]),f=l.JSInt_methods._tdivFast$1(p,1e3),n[8]!=null?(h=n[9],h!=null&&(g=h==="-"?-1:1,a=n[10],a.toString,$=r.int_parse(a),u-=g*(t.call$1(n[11])+60*$)),S=!0):S=!1,T=r.Primitives_valueFromDecomposedDate(i,o,s,_,u,c,f+l.JSNumber_methods.round$0(p%1e3/1e3),S),T==null)throw r.wrapException(r.FormatException$("Time out of range",e));return r.DateTime$_withValue(T,S)}else throw r.wrapException(r.FormatException$("Invalid date format",e))},DateTime$_withValue(e,t){var n;return Math.abs(e)<=864e13?n=!1:n=!0,n&&r.throwExpression(r.ArgumentError$("DateTime is outside valid range: "+e)),r.checkNotNullable(t,"isUtc",d.bool),new r.DateTime(e,t)},DateTime__fourDigits(e){var t=Math.abs(e),n=e<0?"-":"";return t>=1e3?""+e:t>=100?n+"0"+t:t>=10?n+"00"+t:n+"000"+t},DateTime__threeDigits(e){return e>=100?""+e:e>=10?"0"+e:"00"+e},DateTime__twoDigits(e){return e>=10?""+e:"0"+e},Duration$(e,t,n){return new r.Duration(6e7*n+36e8*t+864e8*e)},EnumByName_byName(e,t){var n,a,i;for(n=e.length,a=0;a<n;++a)if(i=e[a],i._name===t)return i;throw r.wrapException(r.ArgumentError$value(t,"name","No enum value with that name"))},Error_safeToString(e){return typeof e=="number"||r._isBool(e)||e==null?m.toString$0$(e):typeof e=="string"?JSON.stringify(e):r.Error__objectToString(e)},AssertionError$(e){return new r.AssertionError(e)},ArgumentError$(e){return new r.ArgumentError(!1,null,null,e)},ArgumentError$value(e,t,n){return new r.ArgumentError(!0,e,t,n)},ArgumentError_checkNotNull(e,t){return e},RangeError$value(e,t){return new r.RangeError(null,null,!0,e,t,"Value not in range")},RangeError$range(e,t,n,a,i){return new r.RangeError(t,n,!0,e,a,"Invalid value")},RangeError_checkValidIndex(e,t,n,a){return r.IndexError_check(e,a,t,null,n)},RangeError_checkValidRange(e,t,n){if(0>e||e>n)throw r.wrapException(r.RangeError$range(e,0,n,"start",null));if(t!=null){if(e>t||t>n)throw r.wrapException(r.RangeError$range(t,e,n,"end",null));return t}return n},RangeError_checkNotNegative(e,t){if(e<0)throw r.wrapException(r.RangeError$range(e,0,null,t,null));return e},IndexError$(e,t){var n=t._typed_buffer$_length;return new r.IndexError(n,!0,e,null,"Index out of range")},IndexError$withLength(e,t,n,a,i){return new r.IndexError(t,!0,e,i,"Index out of range")},IndexError_check(e,t,n,a,i){if(0>e||e>=t)throw r.wrapException(r.IndexError$withLength(e,t,n,a,"index"));return e},UnsupportedError$(e){return new r.UnsupportedError(e)},UnimplementedError$(e){return new r.UnimplementedError(e)},StateError$(e){return new r.StateError(e)},ConcurrentModificationError$(e){return new r.ConcurrentModificationError(e)},Exception_Exception(e){return new r._Exception(e)},FormatException$(e,t){return new r.FormatException(e,t)},Iterable_Iterable$generate(e,t,n){return e<=0?new r.EmptyIterable(n._eval$1("EmptyIterable<0>")):new r._GeneratorIterable(e,t,n._eval$1("_GeneratorIterable<0>"))},num_parse(e){var t,n=r.num_tryParse(e);if(n!=null)return n;throw t=r.FormatException$(e,null),r.wrapException(t)},num_tryParse(e){var t=l.JSString_methods.trim$0(e),n=r.Primitives_parseInt(t,null);return n??r.Primitives_parseDouble(t)},Object_hashAll(e){var t,n,a=y.$get$_hashSeed();for(t=e.length,n=0;n<t;++n)a=r.SystemHash_combine(a,l.JSInt_methods.get$hashCode(e[n]));return r.SystemHash_finish(a)},NoSuchMethodError_toString_closure:function(t,n){this._box_0=t,this.sb=n},DateTime:function(t,n){this._value=t,this.isUtc=n},DateTime_parse_parseIntOrZero:function(){},DateTime_parse_parseMilliAndMicroseconds:function(){},Duration:function(t){this._duration=t},_Enum:function(){},Error:function(){},AssertionError:function(t){this.message=t},TypeError:function(){},NullThrownError:function(){},ArgumentError:function(t,n,a,i){var o=this;o._hasValue=t,o.invalidValue=n,o.name=a,o.message=i},RangeError:function(t,n,a,i,o,s){var _=this;_.start=t,_.end=n,_._hasValue=a,_.invalidValue=i,_.name=o,_.message=s},IndexError:function(t,n,a,i,o){var s=this;s.length=t,s._hasValue=n,s.invalidValue=a,s.name=i,s.message=o},NoSuchMethodError:function(t,n,a,i,o){var s=this;s._core$_receiver=t,s._memberName=n,s._core$_arguments=a,s._namedArguments=i,s._existingArgumentNames=o},UnsupportedError:function(t){this.message=t},UnimplementedError:function(t){this.message=t},StateError:function(t){this.message=t},ConcurrentModificationError:function(t){this.modifiedObject=t},OutOfMemoryError:function(){},StackOverflowError:function(){},CyclicInitializationError:function(t){this.variableName=t},_Exception:function(t){this.message=t},FormatException:function(t,n){this.message=t,this.source=n},Iterable:function(){},_GeneratorIterable:function(t,n,a){this.length=t,this._generator=n,this.$ti=a},Iterator:function(){},Null:function(){},Object:function(){},Sink:function(){},StringBuffer:function(t){this._contents=t},Endian:function(){},ListExtensions_mapIndexed(e,t,n,a){return r.ListExtensions_mapIndexed$body(e,t,n,a,a)},ListExtensions_mapIndexed$body(e,t,n,a,i){return r._makeSyncStarIterable(function(){var o=e,s=t,_=0,u=1,c,p,f;return function(g,$){for(g===1&&(c=$,_=u);;)switch(_){case 0:p=m.getInterceptor$asx(o),f=0;case 2:if(!(f<p.get$length(o))){_=4;break}return _=5,s.call$2(f,p.$index(o,f));case 5:case 3:++f,_=2;break;case 4:return r._IterationMarker_endOfIteration();case 1:return r._IterationMarker_uncaughtError(c)}}},i)},ListExtensions_slice(e,t,n,a){var i=e.length;return n=r.RangeError_checkValidRange(t,n,i),r.RangeError_checkValidRange(t,n,i),new r.ListSlice(i,e,t,n-t,a._eval$1("ListSlice<0>"))},ListExtensions_elementAtOrNull(e,t){var n=m.getInterceptor$asx(e);return t<n.get$length(e)?n.$index(e,t):null},ListSlice:function(t,n,a,i,o){var s=this;s._initialSize=t,s.source=n,s.start=a,s.length=i,s.$ti=o},_hexEncode(e){var t,n,a,i,o="0123456789abcdef",s=e.length,_=new Uint8Array(s*2);for(t=0,n=0;t<s;++t)a=e[t],i=n+1,_[n]=l.JSString_methods._codeUnitAt$1(o,a>>>4&15),n=i+1,_[i]=l.JSString_methods._codeUnitAt$1(o,a&15);return r.String_String$fromCharCodes(_)},Digest:function(t){this.bytes=t},DigestSink:function(){this._digest_sink$_value=null},HashSink:function(){},_Sha1Sink:function(t,n,a,i,o){var s=this;s.digest=t,s._extended=n,s._hash_sink$_sink=a,s._currentChunk=i,s._lengthInBytes=0,s._pendingData=o,s._isClosed=!1},DateSymbols:function(t,n,a,i,o,s,_,u,c,p,f,h,g,$,S,T,M){var D=this;D.NAME=t,D.ERAS=n,D.ERANAMES=a,D.NARROWMONTHS=i,D.STANDALONENARROWMONTHS=o,D.MONTHS=s,D.STANDALONEMONTHS=_,D.SHORTMONTHS=u,D.STANDALONESHORTMONTHS=c,D.WEEKDAYS=p,D.STANDALONEWEEKDAYS=f,D.SHORTWEEKDAYS=h,D.STANDALONESHORTWEEKDAYS=g,D.STANDALONENARROWWEEKDAYS=$,D.SHORTQUARTERS=S,D.QUARTERS=T,D.AMPMS=M},DateBuilder:function(t,n){var a=this;a.year=1970,a.day=a.month=1,a.fractionalSecond=a.second=a.minute=a.hour=a.dayOfYear=0,a._hasAmbiguousCentury=a.utc=a.pm=!1,a._date_builder$_locale=t,a._date=null,a._retried=0,a.dateOnly=!1,a._dateTimeConstructor=n},DateFormat$(e){var t=r.verifiedLocale(null,r.date_format_DateFormat_localeExists$closure(),null);return t.toString,t=new r.DateFormat(new r.DateFormat_dateTimeConstructor_closure,t),t.addPattern$1(e),t},DateFormat_localeExists(e){var t=y.$get$_dateTimeSymbols();return t.toString,r.canonicalizedLocale(e)!=="en_US"&&t._throwException$0(),!0},DateFormat__fieldConstructors(){return r._setArrayType([new r.DateFormat__fieldConstructors_closure,new r.DateFormat__fieldConstructors_closure0,new r.DateFormat__fieldConstructors_closure1],d.JSArray_of__DateFormatField_Function_String_DateFormat)},_DateFormatQuotedField__patchQuotes(e){var t,n;return e==="''"?"'":(t=l.JSString_methods.substring$2(e,1,e.length-1),n=y.$get$_DateFormatQuotedField__twoEscapedQuotes(),r.stringReplaceAllUnchecked(t,n,"'"))},DateFormat:function(t,n){var a=this;a.dateTimeConstructor=t,a._dateOnly=null,a._locale=n,a._localeZero=a._localeZeroCodeUnit=a._digitMatcher=a._useNativeDigits=a._formatFieldsPrivate=a._date_format$_pattern=null},DateFormat_dateTimeConstructor_closure:function(){},DateFormat__checkDateOnly_closure:function(){},DateFormat__initDigitMatcher_closure:function(){},DateFormat__initDigitMatcher_closure0:function(t){this.$this=t},DateFormat__fieldConstructors_closure:function(){},DateFormat__fieldConstructors_closure0:function(){},DateFormat__fieldConstructors_closure1:function(){},_DateFormatField:function(){},_DateFormatLiteralField:function(t,n){this.pattern=t,this.parent=n},_DateFormatQuotedField:function(t,n,a){this._fullPattern=t,this.pattern=n,this.parent=a},_DateFormatPatternField:function(t,n){this._forDate=null,this.pattern=t,this.parent=n},_DateFormatPatternField_parseStandaloneDay_closure:function(){},StringStack:function(t){this.contents=t,this._string_stack$_index=0},UninitializedLocaleData$(e,t){return new r.UninitializedLocaleData(e,t,r._setArrayType([],d.JSArray_String))},_separatorIndex(e){var t,n=e.length;return n<3?-1:(t=e[2],t==="-"||t==="_"?2:n<4?-1:(n=e[3],n==="-"||n==="_"?3:-1))},canonicalizedLocale(e){var t,n,a;return e==="C"?"en_ISO":e.length<5||(t=r._separatorIndex(e),t===-1)?e:(n=l.JSString_methods.substring$2(e,0,t),a=l.JSString_methods.substring$1(e,t+1),a.length<=3&&(a=a.toUpperCase()),n+"_"+a)},verifiedLocale(e,t,n){var a,i,o;if(e==null)return r.defaultLocale()==null&&(y._defaultLocale="en_US"),a=r.defaultLocale(),a.toString,r.verifiedLocale(a,t,n);if(t.call$1(e))return e;for(a=[r.canonicalizedLocale(e),r.shortLocale(e),"fallback"],i=0;i<3;++i)if(o=a[i],t.call$1(o))return o;return r._throwLocaleError(e)},_throwLocaleError(e){throw r.wrapException(r.ArgumentError$('Invalid locale "'+e+'"'))},shortLocale(e){var t,n;return e==="invalid"?"in":(t=e.length,t<2?e:(n=r._separatorIndex(e),n===-1?t<4?e.toLowerCase():e:l.JSString_methods.substring$2(e,0,n).toLowerCase()))},UninitializedLocaleData:function(t,n,a){this.message=t,this.fallbackData=n,this._badMessages=a},LocaleDataException:function(t){this.message=t},StartOfWeek:function(t){this._name=t},Units:function(t){this._name=t},Jiffy$(e){var t,n,a=new r.Jiffy;return a.__Jiffy__dateTime_A=a._parse$2(e,null),t=r.defaultLocale(),t==null&&(t=y._defaultLocale="en_US"),n=y.$get$_availableLocales().$index(0,t.toLowerCase()),n==null&&(n=new r.EnLocale(l.StartOfWeek_1)),y.Jiffy____defaultLocale.__late_helper$_value=n,y.Jiffy____defaultLocale._readField$0(),a},Jiffy:function(){this.__Jiffy__dateTime_A=y},Jiffy__parseMap_closure:function(){},Jiffy__parseString_closure:function(){},ArLyLocale$(e,t){return new r.ArLyLocale(t)},ArSaMaDzKwTnLocale$(e,t){return new r.ArSaMaDzKwTnLocale(t)},ArLyLocale:function(t){this.strtOfWeek=t},ArSaMaDzKwTnLocale:function(t){this.strtOfWeek=t},AzLocale:function(t){this.strtOfWeek=t},BnLocale:function(t){this.strtOfWeek=t},DeLocale$(e){return new r.DeLocale(e)},DeLocale:function(t){this.strtOfWeek=t},EnLocale$(e){return new r.EnLocale(e)},EnLocale:function(t){this.strtOfWeek=t},EsLocale$(e){return new r.EsLocale(e)},EsLocale:function(t){this.strtOfWeek=t},FaLocale:function(t){this.strtOfWeek=t},FrLocale$(e){return new r.FrLocale(e)},FrLocale:function(t){this.strtOfWeek=t},HiLocale:function(t){this.strtOfWeek=t},IdLocale:function(t){this.strtOfWeek=t},ItLocale$(e){return new r.ItLocale(e)},ItLocale:function(t){this.strtOfWeek=t},JaLocale:function(t){this.strtOfWeek=t},KoLocale:function(t){this.strtOfWeek=t},Locale:function(){},NbLocale:function(t){this.strtOfWeek=t},NlLocale:function(t){this.strtOfWeek=t},PlLocale:function(t){this.strtOfWeek=t},PtLocale$(e){return new r.PtLocale(e)},PtLocale:function(t){this.strtOfWeek=t},RuLocale:function(t){this.strtOfWeek=t},SvLocale:function(t){this.strtOfWeek=t},ThLocale:function(t){this.strtOfWeek=t},TrLocale:function(t){this.strtOfWeek=t},UkLocale:function(t){this.strtOfWeek=t},ZhCnLocale$(e){return new r.ZhCnLocale(e)},ZhCnLocale:function(t){this.strtOfWeek=t},ZhLocale$(e){return new r.ZhLocale(e)},ZhLocale:function(t){this.strtOfWeek=t},JiffyException$(e){return new r.JiffyException(e)},JiffyException:function(t){this._cause=t},replaceOrdinalDatePattern(e,t){var n={},a=r.RegExp_RegExp(`(?<unquote>[^"'\\s]\\w*)|(?:["][^"]+?["])|(?:['][^']+?['])`,!1).allMatches$1(0,e);return n.pattern=e,a.forEach$1(0,new r.replaceOrdinalDatePattern_closure(n,e,t)),n.pattern},replaceOrdinalDatePattern_closure:function(t,n,a){this._box_0=t,this.input=n,this.suffix=a},BufferModule:function(){},BufferConstants:function(){},Buffer:function(){},ConsoleModule:function(){},Console:function(){},EventEmitter:function(){},Promise:function(){},Date:function(){},JsError:function(){},Atomics:function(){},Modules:function(){},Module:function(){},Net:function(){},Socket:function(){},NetAddress:function(){},NetServer:function(){},NodeJsError:function(){},JsAssertionError:function(){},JsRangeError:function(){},JsReferenceError:function(){},JsSyntaxError:function(){},JsTypeError:function(){},JsSystemError:function(){},Process:function(){},CPUUsage:function(){},Release:function(){},StreamModule:function(){},Readable:function(){},Writable:function(){},Duplex:function(){},Transform:function(){},WritableOptions:function(){},ReadableOptions:function(){},Immediate:function(){},Timeout:function(){},TTY:function(){},TTYReadStream:function(){},TTYWriteStream:function(){},Util:function(){},SCHEMA_NAME:function(t){this._name=t},DATA_TYPE:function(t){this._name=t},AGGREGATION_TYPE:function(t){this._name=t},COMPARISON_OPERATOR:function(t){this._name=t},DIMENSION_OPTION:function(t){this._name=t},TIME_FORMATTER:function(t){this._name=t},PERIOD_TYPE:function(t){this._name=t},SORT_TYPE:function(t){this._name=t},uniqueAlias(e){var t=l.C_Utf8Codec.get$encoder().convert$1(e),n=new r.DigestSink,a=new Uint32Array(5),i=new Uint32Array(80),o=new r.Uint8Buffer(new Uint8Array(0),0);return i=new r._Sha1Sink(a,i,n,new Uint32Array(16),o),a[0]=1732584193,a[1]=4023233417,a[2]=2562383102,a[3]=271733878,a[4]=3285377520,i._lengthInBytes=t.length,o.addAll$1(0,t),i._iterate$0(),i.close$0(0),l.JSString_methods.substring$2(r.stringReplaceAllFuncUnchecked(r._hexEncode(n._digest_sink$_value.bytes),r.RegExp_RegExp("[0-9]",!1),new r.uniqueAlias_closure,null),0,20)},QueryRequestDimension_fromJson(e){var t,n,a,i="timeFormatter",o=r.EnumByName_byName(l.List_46y,e.$index(0,"schemaName")),s=e.$index(0,"name"),_=e.$index(0,"decimal"),u=e.$index(0,i)!=null?r.EnumByName_byName(l.List_YsB,e.$index(0,i)):null,c=e.$index(0,"label");return c==null&&(c=e.$index(0,"name")),t=e.$index(0,"option")!=null?r.EnumByName_byName(l.List_yP5,e.$index(0,"option")):null,n=e.$index(0,"fillGap"),n==null&&(n=!1),a=e.$index(0,"hide"),a==null&&(a=!1),new r.QueryRequestDimension(t,c,_,u,n,e.$index(0,"dataFormula"),e.$index(0,"displayFormula"),a,e.$index(0,"dateComparison"),o,s)},uniqueAlias_closure:function(){},QueryRequestCommonField:function(){},QueryRequestDimension:function(t,n,a,i,o,s,_,u,c,p,f){var h=this;h.option=t,h.label=n,h.decimal=a,h.timeFormatter=i,h.fillGap=o,h.dataFormula=s,h.displayFormula=_,h.hide=u,h.dateComparison=c,h.schemaName=p,h.name=f},QueryRequestMetric:function(t,n,a,i,o,s,_,u,c){var p=this;p.aggregation=t,p.label=n,p.decimal=a,p.timeFormatter=i,p.dataFormula=o,p.displayFormula=s,p.hide=_,p.schemaName=u,p.name=c},QueryRequestFilter:function(t,n,a,i,o,s){var _=this;_.operator=t,_.option=n,_.dataFormula=a,_.values=i,_.schemaName=o,_.name=s},QueryRequestSort:function(t,n,a,i,o,s){var _=this;_.type=t,_.aggregation=n,_.dimensionOption=a,_.dataFormula=i,_.schemaName=o,_.name=s},DateTimeRange_fromJson(e){return new r.DateTimeRange(e.$index(0,"start"),e.$index(0,"end"))},QueryResponse_fromJson(e){return new r.QueryResponse(m.map$1$1$ax(e.$index(0,"columns"),new r.QueryResponse_fromJson_closure,d.QueryResponseColumn).toList$0(0),m.map$1$1$ax(e.$index(0,"rows"),new r.QueryResponse_fromJson_closure0,d.QueryResponseRow).toList$0(0),r.DateTimeRange_fromJson(e.$index(0,"dateRange")),r.DateTimeRange_fromJson(e.$index(0,"timeRange")))},FIELD_TYPE:function(t){this._name=t},QueryResponseColumn:function(t,n,a,i,o,s,_,u,c,p,f){var h=this;h.schema=t,h.label=n,h.dataType=a,h.fieldType=i,h.id=o,h.aggregationType=s,h.optionType=_,h.decimal=u,h.timeFormatter=c,h.hide=p,h.dateComparison=f},DateTimeRange:function(t,n){this.start=t,this.end=n},QueryResponse:function(t,n,a,i){var o=this;o.columns=t,o.rows=n,o.dateRange=a,o.timeRange=i},QueryResponse_fromJson_closure:function(){},QueryResponse_fromJson_closure0:function(){},QueryResponse_toJson_closure:function(){},QueryResponse_toJson_closure0:function(){},QueryResponseRow:function(t,n){this.isRollup=t,this.value=n},NumCurrency_formatCurrency(e,t,n){var a=Math.pow(10,n);return l.JSNumber_methods.toStringAsFixed$1(l.JSNumber_methods.round$0(e*a)/a,n)},DataTypeExtension_toData(e,t){switch(e){case l.DATA_TYPE_2:return t;case l.DATA_TYPE_1:return null;case l.DATA_TYPE_0:return"";case l.DATA_TYPE_3:return 0;default:throw r.wrapException(r.Exception_Exception("invalid "+e._name))}},DataTypeExtension__formatTime(e,t,n){var a,i,o,s,_,u,c,p,f;switch(t){case l.TIME_FORMATTER_0:a=n*60*60,i=!0;break;case l.TIME_FORMATTER_3:a=n*60*60,i=!1;break;case l.TIME_FORMATTER_1:a=n*60,i=!0;break;case l.TIME_FORMATTER_4:a=n*60,i=!1;break;case l.TIME_FORMATTER_2:a=n,i=!0;break;case l.TIME_FORMATTER_5:a=n,i=!1;break;default:a=0,i=!0;break}return o=l.JSNumber_methods.floor$0(l.JSNumber_methods.$mod(a,3600)/60),s=l.JSNumber_methods.round$0(l.JSNumber_methods.$mod(a,60)),_=d.JSArray_int,u=d.MappedListIterable_int_String,i?(c=l.JSNumber_methods.floor$0(a/86400),p=new r.MappedListIterable(r._setArrayType([l.JSNumber_methods.floor$0(l.JSNumber_methods.$mod(a,86400)/3600),o,s],_),new r.DataTypeExtension__formatTime_closure,u).join$1(0,":"),c>0?(_=c>1?"s":"",f=""+c+" day"+_+" "):f="",f+p):new r.MappedListIterable(r._setArrayType([l.JSNumber_methods.floor$0(a/3600),o,s],_),new r.DataTypeExtension__formatTime_closure0,u).join$1(0,":")},DataTypeExtension__toDisplay(e,t,n,a,i,o,s){var _,u;switch(e){case l.DATA_TYPE_2:if(s==null)return"";if(r._isBool(s))return s?"Yes":"No";throw r.wrapException(r.Exception_Exception("invalid bool "+r.S(s)+" "+m.get$runtimeType$(s).toString$0(0)));case l.DATA_TYPE_1:if(u=s==null,u||m.$eq$(s,""))return"";switch(i){case l.DIMENSION_OPTION_0:return r.Jiffy$(s).format$1("dd/MM/yyyy HH:mm:ss");case l.DIMENSION_OPTION_6:return m.toString$0$(s);case l.DIMENSION_OPTION_1:return r.Jiffy$(s).format$1("dd/MM/yyyy HH:mm");case l.DIMENSION_OPTION_2:case l.DIMENSION_OPTION_3:return r.Jiffy$(s).format$1("dd/MM/yyyy");case l.DIMENSION_OPTION_4:return r.Jiffy$(s).format$1("MM/yyyy");case l.DIMENSION_OPTION_7:return u=d.String,u=r.LinkedHashMap_LinkedHashMap$_literal(["1","Sun","2","Mon","3","Tue","4","Wed","5","Thu","6","Fri","7","Sat"],u,u).$index(0,s),u??s;default:return u=u?null:m.toString$0$(s),u??""}case l.DATA_TYPE_0:return u=s==null?null:m.toString$0$(s),u??"";case l.DATA_TYPE_3:if(s==null)return r.NumCurrency_formatCurrency(0,n,a??2);if(_=0,typeof s=="number")_=s;else if(typeof s=="string")try{_=r.num_parse(s)}catch{return s}return o!=null?r.DataTypeExtension__formatTime(e,o,_):(u=_,r.NumCurrency_formatCurrency(u,n,a??2));default:throw r.wrapException(r.Exception_Exception("invalid "+e._name))}},DataTypeExtension_toDisplay(e,t,n,a,i,o,s){var _=typeof s=="string"?r._setArrayType(s.split("#"),d.JSArray_String):[s];return new r.MappedListIterable(_,new r.DataTypeExtension_toDisplay_closure(e,i,t,a,o,n),r._arrayInstanceType(_)._eval$1("MappedListIterable<1,String>")).join$1(0,"#")},DataTypeExtension__formatTime_closure:function(){},DataTypeExtension__formatTime_closure0:function(){},DataTypeExtension_toDisplay_closure:function(t,n,a,i,o,s){var _=this;_._this=t,_.dimensionOption=n,_.aggregationType=a,_.decimal=i,_.timeFormatter=o,_.country=s},XYDatasetModel:function(t,n,a){this.name=t,this.isCompare=n,this.values=a},BaseXYChartDataModel:function(t,n,a,i){var o=this;o.type=t,o.xAxis=n,o.datasets=a,o.date=i},BaseXYChartDataModel_toJson_closure:function(){},ChartType:function(t){this._name=t},DateComparison:function(t,n){this.main=t,this.comparison=n},CircularDatasetModel:function(t,n,a){this.name=t,this.value=n,this.comparison=a},CircularDataModel:function(t,n,a){this.datasets=t,this.metrics=n,this.date=a},CircularDataModel_toJson_closure:function(){},ScorecardDataModel:function(t,n,a,i){var o=this;o.name=t,o.value=n,o.comparison=a,o.sparkline=i},SparklineType:function(t){this._name=t},SparklineDataModel:function(t,n,a){this.type=t,this.dimensions=n,this.datasets=a},SparklineDataModel_toJson_closure:function(){},TableColumnModel:function(t,n,a,i,o,s,_,u,c){var p=this;p.key=t,p.label=n,p.type=a,p.aggregationType=i,p.dimensionOption=o,p.decimal=s,p.timeFormatter=_,p.hide=u,p.dateComparison=c},TableRowModel:function(t,n,a){this.cells=t,this.comparisonCells=n,this.isRollup=a},TableDataModel:function(t,n){this.rows=t,this.columns=n},TableDataModel_toJson_closure:function(){},TableDataModel_toJson_closure0:function(){},BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(e){var t,n,a,i,o,s,_="periodType",u=e.$index(0,"schemaNames");return u==null&&(u=e.$index(0,"schemas")),u==null&&(u=[]),t=d.SCHEMA_NAME,t=r.List_List$from(m.map$1$1$ax(u,new r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure,t).toList$0(0),t),u=d.QueryRequestDimension,u=r.List_List$from(m.map$1$1$ax(e.$index(0,"dimensions"),new r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure0,u),u),n=d.QueryRequestMetric,n=r.List_List$from(m.map$1$1$ax(e.$index(0,"metrics"),new r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure1,n),n),a=d.QueryRequestFilter,a=r.List_List$from(m.map$1$1$ax(e.$index(0,"filters"),new r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure2,a),a),i=e.$index(0,"sorts"),i=i==null?null:m.map$1$1$ax(i,new r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure3,d.QueryRequestSort),i==null&&(i=[]),i=r.List_List$from(i,d.QueryRequestSort),o=e.$index(0,"limit"),s=e.$index(0,"isComparable"),new r.BaseDatasourceConfigModel(t,u,n,a,i,o,s,e.$index(0,_)!=null?r.EnumByName_byName(l.List_PERIOD_TYPE_0,e.$index(0,_)):null)},BaseDatasourceConfigModel:function(t,n,a,i,o,s,_,u){var c=this;c.schemaNames=t,c.dimensions=n,c.metrics=a,c.filters=i,c.sorts=o,c.limit=s,c.isComparable=_,c.periodType=u},BaseDatasourceConfigModel_drilledDimensionIds_closure:function(){},BaseDatasourceConfigModel_metricIds_closure:function(){},BaseDatasourceConfigModel_toJson_closure:function(){},BaseDatasourceConfigModel_toJson_closure0:function(){},BaseDatasourceConfigModel_toJson_closure1:function(){},BaseDatasourceConfigModel_toJson_closure2:function(){},BaseDatasourceConfigModel_toJson_closure3:function(){},BaseDatasourceConfigModel_toJson_closure4:function(){},BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure:function(){},BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure0:function(){},BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure1:function(){},BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure2:function(){},BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure3:function(){},CircularDatasourceConfigModel:function(t,n,a,i,o,s,_,u,c,p){var f=this;f.showLabel=t,f._circular_datasource_config_model$_drillDimension=n,f.schemaNames=a,f.dimensions=i,f.metrics=o,f.filters=s,f.sorts=_,f.limit=u,f.isComparable=c,f.periodType=p},_CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig:function(){},DataSourceDrillConfig:function(){},DataSourceDrillConfig__availableIds_closure:function(){},DataSourceDrillConfig_drilledDimensions_closure:function(t){this.$this=t},ScorecardDatasourceConfigModel:function(t,n,a,i,o,s,_,u,c,p){var f=this;f.sparklineDimension=t,f.isCumulative=n,f.schemaNames=a,f.dimensions=i,f.metrics=o,f.filters=s,f.sorts=_,f.limit=u,f.isComparable=c,f.periodType=p},TableDatasourceConfigModel$(e,t,n,a,i,o,s,_,u,c,p,f,h,g,$,S,T,M,D){return new r.TableDatasourceConfigModel(t,_,M,h,g,S,o,a,$,e,u,T,n,p,i,D,c,s,f)},TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson(e){var t,n,a,i,o,s,_,u,c,p="showGrandTotal",f=r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(e),h=e.$index(0,"rollup");return h==null&&m.$eq$(e.$index(0,p),!0)&&(h=0),t=e.$index(0,"columnsWidth"),t==null&&(t=d.dynamic,t=r.LinkedHashMap_LinkedHashMap$_empty(t,t)),n=d.String,t=r.LinkedHashMap_LinkedHashMap$from(t,n,d.double),a=e.$index(0,"columnIds"),a=r.List_List$from(a??[],n),a=r._setArrayType(a.slice(0),r._arrayInstanceType(a)),i=e.$index(0,"rowIds"),n=r.List_List$from(i??[],n),n=r._setArrayType(n.slice(0),r._arrayInstanceType(n)),i=e.$index(0,"isDrillable"),i==null&&(i=!1),o=e.$index(0,p),o==null&&(o=!1),s=e.$index(0,"drillDimension"),_=e.$index(0,"isBlend"),_==null&&(_=!1),u=e.$index(0,"joinDatasources"),u==null&&(u=[]),u=r.List_List$from(u,d.Map_String_dynamic),c=r._arrayInstanceType(u)._eval$1("MappedListIterable<1,JoinDatasourceConfig>"),c=r.List_List$of(new r.MappedListIterable(u,new r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson_closure(f),c),!0,c._eval$1("ListIterable.E")),u=e.$index(0,"rowsPerPage"),r.TableDatasourceConfigModel$(a,t,f.dimensions,s,f.filters,_,f.isComparable,i,c,f.limit,f.metrics,f.periodType,h,e.$index(0,"rollupPosition"),n,u,f.schemaNames,o,f.sorts)},JoinDatasourceConfig$(e,t,n,a,i,o,s,_,u,c,p,f){return new r.JoinDatasourceConfig(t,s,c,e,p,n,_,a,f,o,i,u)},JoinDatasourceConfig_JoinDatasourceConfig$fromJson(e){var t,n,a,i=r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(e),o=e.$index(0,"conditions");return o==null&&(o=[]),o=r.List_List$from(o,d.Map_String_dynamic),t=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,JoinDatasourceCondition>"),t=r.List_List$of(new r.MappedListIterable(o,new r.JoinDatasourceConfig_JoinDatasourceConfig$fromJson_closure,t),!0,t._eval$1("ListIterable.E")),o=e.$index(0,"rowIds"),o==null&&(o=[]),n=d.String,o=r.List_List$from(o,n),o=r._setArrayType(o.slice(0),r._arrayInstanceType(o)),a=e.$index(0,"columnIds"),n=r.List_List$from(a??[],n),n=r._setArrayType(n.slice(0),r._arrayInstanceType(n)),r.JoinDatasourceConfig$(n,t,i.dimensions,i.filters,null,i.limit,l.List_empty,i.metrics,i.periodType,o,i.schemaNames,i.sorts)},JoinDatasourceCondition_JoinDatasourceCondition$fromJson(e){var t,n="joinDimension",a=e.$index(0,"mainDimensions");return a==null&&(a=[]),a=r.List_List$from(m.map$1$1$ax(a,new r.JoinDatasourceCondition_JoinDatasourceCondition$fromJson_closure,d.QueryRequestDimension),d.nullable_QueryRequestDimension),t=r.EnumByName_byName(l.List_2bH,e.$index(0,"operator")),new r.JoinDatasourceCondition(a,e.$index(0,n)!=null?r.QueryRequestDimension_fromJson(d.Map_String_dynamic._as(e.$index(0,n))):null,t)},DataSourceRowColumnConfig:function(){},DataSourceRowColumnConfig__availableIds_closure:function(){},DataSourceRowColumnConfig__availableIds_closure0:function(){},DataSourceRowColumnConfig_rowIds_closure:function(t){this.$this=t},DataSourceRowColumnConfig_rowIds_closure0:function(t){this.$this=t},DataSourceRowColumnConfig_rowIds_closure2:function(t,n){this.validatedRowIds=t,this.validatedColumnIds=n},DataSourceRowColumnConfig_rowIds_closure1:function(t){this.$this=t},DataSourceRowColumnConfig_columnIds_closure:function(t){this.$this=t},DataSourceRowColumnConfig_columnIds_closure0:function(t){this.$this=t},DataSourceRowColumnConfig_columnIds_closure1:function(t){this.$this=t},TableDatasourceConfigModel:function(t,n,a,i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I){var E=this;E.columnsWidth=t,E.isDrillable=n,E.showGrandTotal=a,E.rollup=i,E.rollupPosition=o,E.rowsPerPage=s,E.isBlend=_,E._drillDimension=u,E._rowIds=c,E._columnIds=p,E._joinDatasources=f,E.schemaNames=h,E.dimensions=g,E.metrics=$,E.filters=S,E.sorts=T,E.limit=M,E.isComparable=D,E.periodType=I},TableDatasourceConfigModel_drilledDimensions_closure:function(t){this.$this=t},TableDatasourceConfigModel_joinDatasources_closure:function(t){this.$this=t},TableDatasourceConfigModel_toJson_closure:function(){},TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson_closure:function(t){this.baseConfig=t},TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson__closure:function(t,n,a){this._box_0=t,this.json=n,this.baseConfig=a},TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure:function(t,n){this.json=t,this.index=n},TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure0:function(t){this.baseConfig=t},TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson____closure:function(t){this.mainField=t},JoinDatasourceConfig:function(t,n,a,i,o,s,_,u,c,p,f,h){var g=this;g.conditions=t,g.mainDimensions=n,g._rowIds=a,g._columnIds=i,g.schemaNames=o,g.dimensions=s,g.metrics=_,g.filters=u,g.sorts=c,g.limit=p,g.isComparable=f,g.periodType=h},JoinDatasourceConfig_JoinDatasourceConfig$fromJson_closure:function(){},JoinDatasourceConfig_toJson_closure:function(){},JoinDatasourceCondition:function(t,n,a){this.mainDimensions=t,this.joinDimension=n,this.operator=a},JoinDatasourceCondition_JoinDatasourceCondition$fromJson_closure:function(){},JoinDatasourceCondition_toJson_closure:function(){},_JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig:function(){},_TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig:function(){},_TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig:function(){},BaseXYDatasourceConfigModel:function(t,n,a,i,o,s,_,u,c,p,f,h,g){var $=this;$.showLabel=t,$._xy_datasource_config_model$_drillDimension=n,$.breakdownDimension=a,$.isTransposed=i,$.isCumulative=o,$.schemaNames=s,$.dimensions=_,$.metrics=u,$.filters=c,$.sorts=p,$.limit=f,$.isComparable=h,$.periodType=g},_BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig:function(){},_formatRows(e){var t,n,a;return e.length===0?r._setArrayType([],d.JSArray_List_dynamic):(t=l.JSArray_methods.get$first(e),n=t.rows,a=r._arrayInstanceType(n)._eval$1("MappedListIterable<1,List<@>>"),r.List_List$of(new r.MappedListIterable(n,new r._formatRows_closure(t),a),!0,a._eval$1("ListIterable.E")))},accumulate(e,t){var n;return e instanceof r.BaseXYDatasourceConfigModel&&e.isCumulative===!0?n=!0:n=e instanceof r.ScorecardDatasourceConfigModel&&e.isCumulative,n?(n=d.XYDatasetModel,r.List_List$of(r.ListExtensions_mapIndexed(t,new r.accumulate_closure(e),n,n),!0,n)):t},formatBaseXYChartData(e,t,n,a){var i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I,E,w,b,C,A,v=null;if(n.length===0)return i=r._setArrayType([],d.JSArray_String),o=r._setArrayType([],d.JSArray_XYDatasetModel),s=r.IterableExtension_get_firstOrNull(n),new r.BaseXYChartDataModel(e,i,o,new r.DateComparison(s==null?v:s.dateRange,v));for(_=l.JSArray_methods.get$first(n).columns,i=d.QueryResponse,u=r._formatRows(r.ListExtension_sublistOrEmpty(n,0,1,i)),c=r._formatRows(r.ListExtension_sublistOrEmpty(n,1,2,i)),c.length!==0&&(i=r._arrayInstanceType(_)._eval$1("MappedListIterable<1,ComparisonDataColumn>"),p=r.List_List$of(new r.MappedListIterable(_,new r.formatBaseXYChartData_closure,i),!0,i._eval$1("ListIterable.E")),f=r.compare(new r.ComparisonData(p,c),new r.ComparisonData(p,u)),c=f.comparison,u=f.main),t.breakdownDimension==null&&(h=l.JSArray_methods.indexWhere$1(_,new r.formatBaseXYChartData_closure0),i=r._arrayInstanceType(u)._eval$1("MappedListIterable<1,List<@>>"),u=r.List_List$of(new r.MappedListIterable(u,new r.formatBaseXYChartData_closure1(_,h),i),!0,i._eval$1("ListIterable.E")),c.length!==0&&(i=r._arrayInstanceType(c)._eval$1("MappedListIterable<1,List<@>>"),c=r.List_List$of(new r.MappedListIterable(c,new r.formatBaseXYChartData_closure2(_,h),i),!0,i._eval$1("ListIterable.E")))),i=d.JSArray_String,g=r._setArrayType([],i),$=r._setArrayType([],i),i=u.length,S=0;S<u.length;u.length===i||(0,r.throwConcurrentModificationError)(u),++S)T=u[S],o=m.getInterceptor$asx(T),g.push(m.toString$0$(o.$index(T,0))),$.push(m.toString$0$(o.$index(T,1)));for(i=d.String,o=r.LinkedHashSet_LinkedHashSet$from(g,i),g=r.List_List$of(o,!0,r._instanceType(o)._precomputed1),i=r.LinkedHashSet_LinkedHashSet$from($,i),$=r.List_List$of(i,!0,r._instanceType(i)._precomputed1),M=r._setArrayType([],d.JSArray_XYDatasetModel),i=$.length,o=d.JSArray_num,S=0;S<$.length;$.length===i||(0,r.throwConcurrentModificationError)($),++S){for(D=$[S],I=r._setArrayType([],o),E=r._setArrayType([],o),s=g.length,w=0;w<g.length;g.length===s||(0,r.throwConcurrentModificationError)(g),++w)b=g[w],C=r.IterableExtension_firstWhereOrNull(u,new r.formatBaseXYChartData_closure3(b,D)),C==null?C=v:(C=r.ListExtension_elementAtOrNull(C,2),C=C==null?v:m.toString$0$(C)),A=l.JSString_methods.trim$0(C??"0"),C=r.Primitives_parseInt(A,v),C==null&&(C=r.Primitives_parseDouble(A)),I.push(C??0),c.length!==0&&(C=r.IterableExtension_firstWhereOrNull(c,new r.formatBaseXYChartData_closure4(b,D)),C==null?C=v:(C=r.ListExtension_elementAtOrNull(C,2),C=C==null?v:m.toString$0$(C)),A=l.JSString_methods.trim$0(C??"0"),C=r.Primitives_parseInt(A,v),C==null&&(C=r.Primitives_parseDouble(A)),E.push(C??0));M.push(new r.XYDatasetModel(D,!1,I)),E.length!==0&&M.push(new r.XYDatasetModel(D,!0,E))}return M=r.accumulate(t,M),i=r.IterableExtension_get_firstOrNull(n),i=i==null?v:i.dateRange,o=r.ListExtension_elementAtOrNull(n,1),new r.BaseXYChartDataModel(e,g,M,new r.DateComparison(i,o==null?v:o.dateRange))},_formatRows_closure:function(t){this.response=t},_formatRows__closure:function(t,n){this.response=t,this.row=n},_formatRows___closure:function(t){this.key=t},_formatRows___closure0:function(t){this.column=t},accumulate_closure:function(t){this.config=t},accumulate__closure:function(t){this._box_0=t},accumulate__closure0:function(t){this._box_0=t},formatBaseXYChartData_closure:function(){},formatBaseXYChartData_closure0:function(){},formatBaseXYChartData_closure1:function(t,n){this.columns=t,this.metricIndex=n},formatBaseXYChartData_closure2:function(t,n){this.columns=t,this.metricIndex=n},formatBaseXYChartData_closure3:function(t,n){this.x=t,this.datasetName=n},formatBaseXYChartData_closure4:function(t,n){this.x=t,this.datasetName=n},_formatRows0(e,t){var n,a,i;return t.length===0?r._setArrayType([],d.JSArray_List_dynamic):(n=l.JSArray_methods.get$first(t),a=n.rows,i=r._arrayInstanceType(a)._eval$1("MappedListIterable<1,List<@>>"),r.List_List$of(new r.MappedListIterable(a,new r._formatRows_closure0(n),i),!0,i._eval$1("ListIterable.E")))},formatCircularChartData(e,t,n){var a,i,o,s,_,u,c,p,f,h,g,$,S,T,M=null;if(t.length===0)return a=r._setArrayType([],d.JSArray_String),new r.CircularDataModel(r._setArrayType([],d.JSArray_CircularDatasetModel),a,new r.DateComparison(M,M));for(a=d.QueryResponse,i=r._formatRows0(e,r.ListExtension_sublistOrEmpty(t,0,1,a)),o=r._formatRows0(e,r.ListExtension_sublistOrEmpty(t,1,2,a)),s=l.JSArray_methods.get$first(t).columns,o.length!==0&&(a=r._arrayInstanceType(s)._eval$1("MappedListIterable<1,ComparisonDataColumn>"),_=r.List_List$of(new r.MappedListIterable(s,new r.formatCircularChartData_closure,a),!0,a._eval$1("ListIterable.E")),u=r.compare(new r.ComparisonData(_,o),new r.ComparisonData(_,i)),o=u.comparison,i=u.main),a=d.JSArray_String,c=r._setArrayType([],a),p=i.length,f=0;f<i.length;i.length===p||(0,r.throwConcurrentModificationError)(i),++f)c.push(m.toString$0$(m.$index$asx(i[f],0)));for(p=r.LinkedHashSet_LinkedHashSet$from(c,d.String),c=r.List_List$of(p,!0,r._instanceType(p)._precomputed1),h=r._setArrayType([],d.JSArray_CircularDatasetModel),p=c.length,f=0;f<p;++f)g=c[f],$=r.IterableExtension_firstWhereOrNull(i,new r.formatCircularChartData_closure0(g)),S=$==null?M:r.ListExtension_elementAtOrNull($,1),S==null&&(S=0),o.length!==0?($=r.IterableExtension_firstWhereOrNull(o,new r.formatCircularChartData_closure1(g)),T=$==null?M:r.ListExtension_elementAtOrNull($,1),T==null&&(T=0)):T=M,h.push(new r.CircularDatasetModel(g,r.num_parse(S),T));return a=r.IterableExtension_foldIndexed(s,r._setArrayType([],a),new r.formatCircularChartData_closure2),p=r.IterableExtension_get_firstOrNull(t),p=p==null?M:p.dateRange,$=r.ListExtension_elementAtOrNull(t,1),new r.CircularDataModel(h,a,new r.DateComparison(p,$==null?M:$.dateRange))},_formatRows_closure0:function(t){this.response=t},_formatRows__closure0:function(t,n){this.response=t,this.row=n},_formatRows___closure1:function(t){this.key=t},_formatRows___closure2:function(t){this.column=t},formatCircularChartData_closure:function(){},formatCircularChartData_closure0:function(t){this.datasetName=t},formatCircularChartData_closure1:function(t){this.datasetName=t},formatCircularChartData_closure2:function(){},_getRowInfo(e,t,n,a){var i=d.dynamic,o=r.List_List$of(a,!0,i);return new r.RowInfo(o,m.map$1$1$ax(n,new r._getRowInfo_closure(e,t,a,o),i).join$0(0))},compare(e,t){var n,a,i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I,E,w,b={};for(b.comparisonDateIndex=b.mainDateIndex=null,n=b.comparisonIndexesCompleted=b.mainIndexesCompleted=!1,a=t.columns,i=d.JSArray_int,o=r.IterableExtension_foldIndexed(a,r._setArrayType([],i),new r.compare_closure(b)),s=r.IterableExtension_foldIndexed(e.columns,r._setArrayType([],i),new r.compare_closure0(b)),i=d.JSArray_String,b.dates=r._setArrayType([],i),(b.mainDateIndex!=null?b.comparisonDateIndex!=null:n)&&(n=d.String,n=r.ListExtensions_mapIndexed(l.JSArray_methods.fold$2(t.rows,r._setArrayType([],i),new r.compare_closure1(b)),new r.compare_closure2(l.JSArray_methods.fold$2(e.rows,r._setArrayType([],i),new r.compare_closure3(b))),n,n),b.dates=r.List_List$of(n,!0,n.$ti._eval$1("Iterable.E"))),_=l.JSArray_methods.fold$2(e.rows,r.LinkedHashMap_LinkedHashMap$_empty(d.String,d.List_dynamic),new r.compare_closure4(b,e,s)),n=d.JSArray_List_dynamic,i=r._setArrayType([],n),n=r._setArrayType([],n),u=t.rows,c=u.length,p=d.JSArray_dynamic,f=m.getInterceptor$asx(o),h=d.dynamic,g=0;g<u.length;u.length===c||(0,r.throwConcurrentModificationError)(u),++g){if($=u[g],S=r._getRowInfo(a,b.dates,o,$),T=_.$index(0,S.id),M=T==null?null:m.toList$0$ax(T),M==null){for(T=S.row,D=r.List_List$of(r.ListExtensions_slice(T,0,f.get$length(o),h),!0,h),I=T.length-f.get$length(o),I<0&&r.throwExpression(r.ArgumentError$("Length must be a non-negative integer: "+I)),E=r._setArrayType(new Array(I),p),w=0;w<I;++w)E[w]=null;l.JSArray_methods.addAll$1(D,E),M=D}i.push(S.row),n.push(M)}return new r.ComparisonResult(i,n)},ComparisonDataColumn:function(t,n){this.isDimension=t,this.dateComparison=n},RowInfo:function(t,n){this.row=t,this.id=n},_getRowInfo_closure:function(t,n,a,i){var o=this;o.columns=t,o.dates=n,o.row=a,o.newRow=i},_getRowInfo__closure:function(t,n){this.row=t,this.index=n},ComparisonResult:function(t,n){this.main=t,this.comparison=n},ComparisonData:function(t,n){this.columns=t,this.rows=n},compare_closure:function(t){this._box_0=t},compare_closure0:function(t){this._box_0=t},compare_closure1:function(t){this._box_0=t},compare_closure3:function(t){this._box_0=t},compare_closure2:function(t){this.compareDates=t},compare_closure4:function(t,n,a){this._box_0=t,this.comparison=n,this.comparisonIndexes=a},_formatSparkline(e,t,n){var a,i,o,s,_,u,c,p,f,h,g,$,S;if(t==null)return null;for(a=t.rows,i=r._arrayInstanceType(a)._eval$1("MappedListIterable<1,List<@>>"),o=r.List_List$of(new r.MappedListIterable(a,new r._formatSparkline_closure(t,n),i),!0,i._eval$1("ListIterable.E")),i=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,List<@>>"),o=r.List_List$of(new r.MappedListIterable(o,new r._formatSparkline_closure0(t,l.JSArray_methods.indexWhere$1(t.columns,new r._formatSparkline_closure1)),i),!0,i._eval$1("ListIterable.E")),i=d.JSArray_String,s=r._setArrayType([],i),_=r._setArrayType([],i),a=o.length,u=0;u<o.length;o.length===a||(0,r.throwConcurrentModificationError)(o),++u)c=o[u],i=m.getInterceptor$asx(c),s.push(m.toString$0$(i.$index(c,0))),_.push(m.toString$0$(i.$index(c,1)));for(a=d.String,i=r.LinkedHashSet_LinkedHashSet$from(s,a),s=r.List_List$of(i,!0,r._instanceType(i)._precomputed1),a=r.LinkedHashSet_LinkedHashSet$from(_,a),_=r.List_List$of(a,!0,r._instanceType(a)._precomputed1),p=r._setArrayType([],d.JSArray_XYDatasetModel),a=_.length,i=d.JSArray_num,u=0;u<_.length;_.length===a||(0,r.throwConcurrentModificationError)(_),++u){for(f=_[u],h=r._setArrayType([],i),g=s.length,$=0;$<s.length;s.length===g||(0,r.throwConcurrentModificationError)(s),++$)S=r.IterableExtension_firstWhereOrNull(o,new r._formatSparkline_closure2(s[$],f)),S=S==null?null:r.ListExtension_elementAtOrNull(S,2),h.push(S??0);p.push(new r.XYDatasetModel(f,!1,h))}return new r.SparklineDataModel(l.SparklineType_0,s,r.accumulate(e,p))},formatScoreCardChartData(e,t,n){var a,i,o,s,_,u,c,p,f,h,g,$,S,T=null;return t.length===0?new r.ScorecardDataModel(T,T,T,T):(a=l.JSArray_methods.get$first(t).columns,a=new r.WhereIterable(a,new r.formatScoreCardChartData_closure,r._arrayInstanceType(a)._eval$1("WhereIterable<1>")),i=a.get$first(a),a=d.QueryResponse,o=r.IterableExtension_get_firstOrNull(r.ListExtension_sublistOrEmpty(t,0,1,a)),s=o==null?T:r.IterableExtension_get_firstOrNull(o.rows),_=e.sparklineDimension!=null,u=_?r.IterableExtension_get_firstOrNull(r.ListExtension_sublistOrEmpty(t,1,2,a)):T,c=_?2:1,a=r.IterableExtension_get_firstOrNull(r.ListExtension_sublistOrEmpty(t,c,c+1,a)),p=a==null?T:r.IterableExtension_get_firstOrNull(a.rows),a=i.dataType,o=s==null?T:s.value.$index(0,i.id),f=i.optionType,h=i.aggregationType,g=i.decimal,$=i.timeFormatter,o=r.DataTypeExtension_toDisplay(a,h,n,g,f,$,o),S=p==null,(S?T:p.value.$index(0,i.id))!=null?a=r.DataTypeExtension_toDisplay(a,h,n,g,f,$,S?T:p.value.$index(0,i.id)):a=T,new r.ScorecardDataModel(T,o,a,r._formatSparkline(e,u,n)))},_formatSparkline_closure:function(t,n){this.response=t,this.country=n},_formatSparkline__closure:function(t,n,a){this.response=t,this.row=n,this.country=a},_formatSparkline___closure:function(t){this.key=t},_formatSparkline_closure1:function(){},_formatSparkline_closure0:function(t,n){this.response=t,this.metricIndex=n},_formatSparkline_closure2:function(t,n){this.axis=t,this.datasetName=n},formatScoreCardChartData_closure:function(){},_formatTableResponse(e,t,n){var a,i,o,s,_,u,c,p,f,h,g=null,$=n.columns,S=r._arrayInstanceType($),T=S._eval$1("WhereIterable<1>"),M=d.String;for(S=r.List_List$of(new r.MappedIterable(new r.WhereIterable($,new r._formatTableResponse_closure(e),T),new r._formatTableResponse_closure0,S._eval$1("MappedIterable<1,String>")),!0,M),a=e.get$rowIds(),i=d.List__Header_dynamic,a=r.List_List$of(new r.MappedListIterable(a,new r._formatTableResponse_closure1(n),r._arrayInstanceType(a)._eval$1("MappedListIterable<1,List<_Header<@>>>")),!0,i),o=d.JSArray_List__Header_dynamic,l.JSArray_methods.addAll$1(a,l.JSArray_methods.fold$2(S,r._setArrayType([],o),new r._formatTableResponse_closure2(n))),S=e.get$columnIds(),S=r.List_List$of(new r.MappedListIterable(S,new r._formatTableResponse_closure3(n),r._arrayInstanceType(S)._eval$1("MappedListIterable<1,List<_Header<@>>>")),!0,i),S.length!==0?(s=r._setArrayType([],o),r._getRecursivePermutations(S,s,0,r._setArrayType([],d.JSArray__Header_dynamic),d._Header_dynamic),_=s):_=[],S=r.List_List$of(a,!0,i),a=_.length,u=0;u<_.length;_.length===a||(0,r.throwConcurrentModificationError)(_),++u)S.push(_[u]);for(e.get$columnIds().length===0&&l.JSArray_methods.contains$1(e.get$rowIds(),"_metric_name")&&S.push(r._setArrayType([new r._Header("_metric_value","Value",g,g,l.DATA_TYPE_3,g,g,!1,g,g,!1)],d.JSArray__Header_dynamic)),S.push(r._setArrayType([new r._Header("_is_rollup","Rollup",g,g,l.DATA_TYPE_2,g,g,!0,g,g,!1)],d.JSArray__Header_dynamic)),c=r.List_List$of(new r.WhereIterable($,new r._formatTableResponse_closure4,T),!0,T._eval$1("Iterable.E")),$=d.Map_String_dynamic,p=r.LinkedHashMap_LinkedHashMap$_empty(M,$),T=m.get$iterator$ax(l.JSArray_methods.fold$2(n.rows,r._setArrayType([],d.JSArray_Map_String_dynamic),new r._formatTableResponse_closure5(S,c))),M=d.dynamic;T.moveNext$0();)a=T.get$current(),f=r._asString(a.$index(0,"id")),h=p.$index(0,f),h==null?p.$indexSet(0,f,a):(a=r.ListExtensions_mapIndexed(r.List_List$from(h.$index(0,"value"),M),new r._formatTableResponse_closure6(S,a),M,M),h.$indexSet(0,"value",r.List_List$of(a,!0,a.$ti._eval$1("Iterable.E"))));return T=p.get$values(p),$=r.ListExtensions_mapIndexed(r.List_List$of(T,!0,r._instanceType(T)._eval$1("Iterable.E")),new r._formatTableResponse_closure7,$,d.TableRowModel),T=r._arrayInstanceType(S)._eval$1("MappedListIterable<1,TableColumnModel>"),new r.TableDataModel(r.List_List$of($,!0,$.$ti._eval$1("Iterable.E")),r.List_List$of(new r.MappedListIterable(S,new r._formatTableResponse_closure8(t),T),!0,T._eval$1("ListIterable.E")))},_formatTableData(e,t,n){var a,i,o,s,_,u,c,p,f,h,g={};if(t.length===0)return new r.TableDataModel(r._setArrayType([],d.JSArray_TableRowModel),r._setArrayType([],d.JSArray_TableColumnModel));for(g.mainResponse=r._formatTableResponse(e,n,l.JSArray_methods.get$first(t)),a=r.ListExtensions_mapIndexed(l.JSArray_methods.sublist$1(t,1),new r._formatTableData_closure(e,n),d.QueryResponse,d.TableDataModel),i=r.List_List$of(a,!0,a.$ti._eval$1("Iterable.E")),a=d.TableColumnModel,o=0;o<e.get$joinDatasources().length;++o)s=e.get$joinDatasources()[o].conditions,_=i[o],u=r._arrayInstanceType(s),c=u._eval$1("MappedListIterable<1,int>"),p=r.List_List$of(new r.MappedListIterable(s,new r._formatTableData_closure0(_),c),!0,c._eval$1("ListIterable.E")),u=u._eval$1("MappedListIterable<1,List<int>>"),f=r.List_List$of(new r.MappedListIterable(s,new r._formatTableData_closure1(g),u),!0,u._eval$1("ListIterable.E")),u=r.List_List$of(g.mainResponse.columns,!0,a),l.JSArray_methods.addAll$1(u,_.columns),c=g.mainResponse.rows,h=r._arrayInstanceType(c)._eval$1("MappedListIterable<1,TableRowModel>"),h=r.List_List$of(new r.MappedListIterable(c,new r._formatTableData_closure2(_,s,p,f),h),!0,h._eval$1("ListIterable.E")),g.mainResponse=new r.TableDataModel(h,u);return a=g.mainResponse,u=a.rows,c=r._arrayInstanceType(u)._eval$1("MappedListIterable<1,TableRowModel>"),a.copyWith$1$rows(r.List_List$of(new r.MappedListIterable(u,new r._formatTableData_closure3,c),!0,c._eval$1("ListIterable.E")))},formatTableChartData(e,t,n){var a,i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I,E,w,b,C={};if(t.length===0)return new r.TableDataModel(r._setArrayType([],d.JSArray_TableRowModel),r._setArrayType([],d.JSArray_TableColumnModel));for(e.isBlend&&(a=r.List_List$of(e.get$dimensions(),!0,d.QueryRequestDimension),l.JSArray_methods.addAll$1(a,l.JSArray_methods.fold$2(e.get$joinDatasources(),r._setArrayType([],d.JSArray_QueryRequestDimension),new r.formatTableChartData_closure)),i=r.List_List$of(e.get$metrics(),!0,d.QueryRequestMetric),l.JSArray_methods.addAll$1(i,l.JSArray_methods.fold$2(e.get$joinDatasources(),r._setArrayType([],d.JSArray_QueryRequestMetric),new r.formatTableChartData_closure0)),o=r._setArrayType([],d.JSArray_JoinDatasourceConfig),s=e.rowsPerPage,_=e.get$columnIds(),u=e.get$rowIds(),c=e.get$drillDimension(),e=r.TableDatasourceConfigModel$(_,e.columnsWidth,a,c,e.filters,!0,e.isComparable,e.isDrillable,o,e.limit,i,e.periodType,e.rollup,e.rollupPosition,u,s,e.schemaNames,e.showGrandTotal,e.sorts)),p=e.get$joinDatasources().length+1,a=d.QueryResponse,f=r._formatTableData(e,r.ListExtension_sublistOrEmpty(t,0,p,a),n),h=C.comparison=r._formatTableData(e,r.ListExtension_sublistOrEmpty(t,p,p*2,a),n),a=h.rows,a.length!==0&&(i=f.rows,o=r._arrayInstanceType(i)._eval$1("MappedListIterable<1,List<@>>"),o=r.List_List$of(new r.MappedListIterable(i,new r.formatTableChartData_closure1,o),!0,o._eval$1("ListIterable.E")),s=f.columns,_=r._arrayInstanceType(s)._eval$1("MappedListIterable<1,ComparisonDataColumn>"),_=r.List_List$of(new r.MappedListIterable(s,new r.formatTableChartData_closure2,_),!0,_._eval$1("ListIterable.E")),s=r._arrayInstanceType(a)._eval$1("MappedListIterable<1,List<@>>"),s=r.List_List$of(new r.MappedListIterable(a,new r.formatTableChartData_closure3,s),!0,s._eval$1("ListIterable.E")),u=h.columns,c=r._arrayInstanceType(u)._eval$1("MappedListIterable<1,ComparisonDataColumn>"),g=r.compare(new r.ComparisonData(r.List_List$of(new r.MappedListIterable(u,new r.formatTableChartData_closure4,c),!0,c._eval$1("ListIterable.E")),s),new r.ComparisonData(_,o)),o=d.TableRowModel,i=r.ListExtensions_mapIndexed(i,new r.formatTableChartData_closure5(g),o,o),f=f.copyWith$1$rows(r.List_List$of(i,!0,i.$ti._eval$1("Iterable.E"))),o=r.ListExtensions_mapIndexed(a,new r.formatTableChartData_closure6(g),o,o),C.comparison=h.copyWith$1$rows(r.List_List$of(o,!0,o.$ti._eval$1("Iterable.E")))),a=f.columns,i=r._arrayInstanceType(a)._eval$1("WhereIterable<1>"),$=r.List_List$of(new r.WhereIterable(a,new r.formatTableChartData_closure7,i),!0,i._eval$1("Iterable.E")),i=d.String,o=d.int,S=r.LinkedHashMap_LinkedHashMap$_empty(i,o),T=0;T<a.length;++T)M=a[T],S.$indexSet(0,M.key+"_"+M.hide,T);for(D=r.LinkedHashMap_LinkedHashMap$_empty(i,o),T=0;a=C.comparison.columns,T<a.length;++T)M=a[T],D.$indexSet(0,M.key+"_"+M.hide,T);for(I=r._setArrayType([],d.JSArray__ColumnMapping),a=$.length,E=0;E<a;++E)M=$[E],i=M.key,w=i+"_"+M.hide,i=r.stringReplaceAllUnchecked(i,".","_"),o=S.$index(0,w),o==null&&(o=-1),s=D.$index(0,w),I.push(new r._ColumnMapping(M,i,o,s??-1));return a=d.MappedListIterable__ColumnMapping_TableColumnModel,b=r.List_List$of(new r.MappedListIterable(I,new r.formatTableChartData_closure8,a),!0,a._eval$1("ListIterable.E")),a=C.comparison.rows.length,i=d.TableRowModel,i=r.ListExtensions_mapIndexed(f.rows,new r.formatTableChartData_closure9(C,I,n,a!==0,a),i,i),f.copyWith$2$columns$rows(b,r.List_List$of(i,!0,i.$ti._eval$1("Iterable.E")))},_formatTableResponse_closure:function(t){this.config=t},_formatTableResponse__closure13:function(){},_formatTableResponse_closure0:function(){},_formatTableResponse_closure1:function(t){this.response=t},_formatTableResponse__closure12:function(t){this._box_0=t},_formatTableResponse_closure2:function(t){this.response=t},_formatTableResponse__closure11:function(t){this.id=t},_formatTableResponse_closure3:function(t){this.response=t},_formatTableResponse__closure9:function(t){this._box_1=t},_formatTableResponse__closure10:function(t,n){this._box_1=t,this.response=n},_formatTableResponse___closure:function(t){this.id=t},_formatTableResponse___closure0:function(t){this._box_1=t},_formatTableResponse_closure4:function(){},_formatTableResponse_closure5:function(t,n){this.headers=t,this.metricColumns=n},_formatTableResponse__closure4:function(){},_formatTableResponse__closure5:function(){},_formatTableResponse__closure6:function(){},_formatTableResponse__closure7:function(t){this.row=t},_formatTableResponse__closure8:function(t,n){this.newRowIds=t,this.row=n},_formatTableResponse_closure6:function(t,n){this.headers=t,this.formattedRow=n},_formatTableResponse__closure3:function(){},_formatTableResponse_closure7:function(){},_formatTableResponse_closure8:function(t){this.country=t},_formatTableResponse__closure:function(){},_formatTableResponse__closure0:function(t){this.country=t},_formatTableResponse__closure1:function(){},_formatTableResponse__closure2:function(){},_Header:function(t,n,a,i,o,s,_,u,c,p,f){var h=this;h.id=t,h.label=n,h.columnId=a,h.columnValue=i,h.type=o,h.aggregationType=s,h.dimensionOption=_,h.hide=u,h.decimal=c,h.timeFormatter=p,h.dateComparison=f},_formatTableData_closure:function(t,n){this.config=t,this.country=n},_formatTableData_closure0:function(t){this.joinResponse=t},_formatTableData__closure2:function(t){this.condition=t},_formatTableData_closure1:function(t){this._box_1=t},_formatTableData__closure1:function(t){this._box_1=t},_formatTableData___closure0:function(t){this.mainDimension=t},_formatTableData_closure2:function(t,n,a,i){var o=this;o.joinResponse=t,o.conditions=n,o.joinColumnIndexes=a,o.mainColumnIndexes=i},_formatTableData__closure0:function(t,n,a,i,o){var s=this;s._box_0=t,s.conditions=n,s.joinColumnIndexes=a,s.mainColumnIndexes=i,s.joinResponse=o},_formatTableData___closure:function(t,n,a,i){var o=this;o._box_0=t,o.joinRow=n,o.joinColumnIndexes=a,o.mainColumnIndexes=i},_formatTableData_closure3:function(){},_formatTableData__closure:function(t){this.row=t},_ColumnMapping:function(t,n,a,i){var o=this;o.column=t,o.processedKey=n,o.mainIndex=a,o.comparisonIndex=i},formatTableChartData_closure:function(){},formatTableChartData_closure0:function(){},formatTableChartData_closure1:function(){},formatTableChartData_closure2:function(){},formatTableChartData_closure3:function(){},formatTableChartData_closure4:function(){},formatTableChartData_closure5:function(t){this.result=t},formatTableChartData_closure6:function(t){this.result=t},formatTableChartData_closure7:function(){},formatTableChartData_closure8:function(){},formatTableChartData_closure9:function(t,n,a,i,o){var s=this;s._box_0=t,s.columnMappings=n,s.country=a,s.hasComparison=i,s.comparisonRowsLength=o},TypedDataBuffer:function(){},_IntBuffer:function(){},Uint8Buffer:function(t,n){this._buffer=t,this._typed_buffer$_length=n},_getConfig(e){var t,n,a,i,o="config",s="breakdownDimension",_="showLabel",u="drillDimension",c="isCumulative",p="sparklineDimension",f=m.getInterceptor$asx(e);switch(r.EnumByName_byName(l.List_OX3,f.$index(e,"type"))){case l.ChartType_1:return r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson(f.$index(e,o));case l.ChartType_4:case l.ChartType_7:case l.ChartType_5:case l.ChartType_8:return f=f.$index(e,o),t=r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(f),n=f.$index(0,s)!=null?r.QueryRequestDimension_fromJson(f.$index(0,s)):null,a=f.$index(0,"isTransposed"),a==null&&(a=!1),i=f.$index(0,_),i==null&&(i=!1),new r.BaseXYDatasourceConfigModel(i,f.$index(0,u),n,a,f.$index(0,c),t.schemaNames,t.dimensions,t.metrics,t.filters,t.sorts,t.limit,t.isComparable,t.periodType);case l.ChartType_0:return f=f.$index(e,o),t=r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(f),n=f.$index(0,_),n==null&&(n=!1),new r.CircularDatasourceConfigModel(n,f.$index(0,u),t.schemaNames,t.dimensions,t.metrics,t.filters,t.sorts,t.limit,t.isComparable,t.periodType);case l.ChartType_3:return f=f.$index(e,o),t=r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(f),n=f.$index(0,c),n==null&&(n=!1),f=f.$index(0,p)!=null?r.QueryRequestDimension_fromJson(f.$index(0,p)):null,new r.ScorecardDatasourceConfigModel(f,n,t.schemaNames,t.dimensions,t.metrics,t.filters,t.sorts,t.limit,t.isComparable,t.periodType);default:return r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(f.$index(e,o))}},formatChartData(e){var t,n=l.C_JsonCodec.decode$2$reviver(x.JSON.stringify(e),null),a=m.getInterceptor$asx(n),i=m.map$1$1$ax(d.List_dynamic._as(a.$index(n,"responses")),new r.formatChartData_closure,d.QueryResponse),o=r.List_List$of(i,!0,i.$ti._eval$1("ListIterable.E")),s=r._getConfig(a.$index(n,"widget")),_=r.EnumByName_byName(l.List_OX3,m.$index$asx(a.$index(n,"widget"),"type")),u=a.$index(n,"country");return s instanceof r.CircularDatasourceConfigModel?t=r.formatCircularChartData(s,o,u).toJson$0():s instanceof r.BaseXYDatasourceConfigModel?t=r.formatBaseXYChartData(_,s,o,u).toJson$0():s instanceof r.TableDatasourceConfigModel?t=r.formatTableChartData(s,o,u).toJson$0():t=_===l.ChartType_3?r.formatScoreCardChartData(s,o,u).toJson$0():null,x.JSON.parse(l.C_JsonCodec.encode$2$toEncodable(t,null))},formatChartData_closure:function(){},Exports:function(){},main(){m.set$formatChartData$x(x.exports,r.allowInterop(r.js__formatChartData$closure()))},_Exports:function(){},_convertDartFunctionFast(e){var t,n=e.$dart_jsFunction;return n??(t=function(a,i){return function(){return a(i,Array.prototype.slice.apply(arguments))}}(r._callDartFunctionFast,e),t[y.$get$DART_CLOSURE_PROPERTY_NAME()]=e,e.$dart_jsFunction=t,t)},_callDartFunctionFast(e,t){return r.Primitives_applyFunction(e,t,null)},allowInterop(e){return typeof e=="function"?e:r._convertDartFunctionFast(e)},systemTime(){return new r.DateTime(Date.now(),!1)},IterableExtension_mapIndexed(e,t,n,a){return r.IterableExtension_mapIndexed$body(e,t,n,a,a)},IterableExtension_mapIndexed$body(e,t,n,a,i){return r._makeSyncStarIterable(function(){var o=e,s=t,_=0,u=1,c,p,f,h;return function($,S){for($===1&&(c=S,_=u);;)switch(_){case 0:p=o.get$iterator(o),f=0;case 2:if(!p.moveNext$0()){_=4;break}return h=f+1,_=5,s.call$2(f,p.get$current());case 5:case 3:f=h,_=2;break;case 4:return r._IterationMarker_endOfIteration();case 1:return r._IterationMarker_uncaughtError(c)}}},i)},IterableExtension_foldIndexed(e,t,n){var a,i,o,s,_;for(a=e.length,i=t,o=0,s=0;s<e.length;e.length===a||(0,r.throwConcurrentModificationError)(e),++s,o=_)_=o+1,i=n.call$3(o,i,e[s]);return i},IterableExtension_firstWhereOrNull(e,t){var n,a;for(n=m.get$iterator$ax(e);n.moveNext$0();)if(a=n.get$current(),t.call$1(a))return a;return null},IterableExtension_get_firstOrNull(e){var t=m.get$iterator$ax(e);return t.moveNext$0()?t.get$current():null},defaultLocale(){var e=y._defaultLocale;return e},dayOfYear(e,t,n){var a,i;return e===1?t:e===2?t+31:(a=l.JSNumber_methods.floor$0(30.6*e-91.4),i=n?1:0,a+t+59+i)},normalizeUnits(e){var t=e.toLowerCase();return t==="millisecond"||t==="milliseconds"||t==="ms"?"ms":t==="second"||t==="seconds"||t==="s"?"s":t==="minute"||t==="minutes"||t==="m"?"m":t==="hour"||t==="hours"||t==="h"?"h":t==="day"||t==="days"||t==="d"?"d":t==="week"||t==="weeks"||t==="w"?"w":t==="month"||t==="months"?"M":t==="year"||t==="years"||t==="y"?"y":"0"},ListExtension_elementAtOrNull(e,t){var n;try{return n=m.elementAt$1$ax(e,t),n}catch{return null}},ListExtension_sublistOrEmpty(e,t,n,a){var i;try{return i=l.JSArray_methods.sublist$2(e,t,n),i}catch{return i=r._setArrayType([],a._eval$1("JSArray<0>")),i}},_getRecursivePermutations(e,t,n,a,i){var o,s,_;if(n===e.length){t.push(a);return}for(o=n+1,s=0;s<m.get$length$asx(e[n]);++s)_=r.List_List$of(a,!0,i),_.push(m.$index$asx(e[n],s)),r._getRecursivePermutations(e,t,o,_,i)}},m={makeDispatchRecord(e,t,n,a){return{i:e,p:t,e:n,x:a}},getNativeInterceptor(e){var t,n,a,i,o,s=e[L.dispatchPropertyName];if(s==null&&y.initNativeDispatchFlag==null&&(r.initNativeDispatch(),s=e[L.dispatchPropertyName]),s!=null){if(t=s.p,t===!1)return s.i;if(t===!0)return e;if(n=Object.getPrototypeOf(e),t===n)return s.i;if(s.e===n)throw r.wrapException(r.UnimplementedError$("Return interceptor for "+r.S(t(e,s))))}return a=e.constructor,a==null?i=null:(o=y._JS_INTEROP_INTERCEPTOR_TAG,o==null&&(o=y._JS_INTEROP_INTERCEPTOR_TAG=L.getIsolateTag("_$dart_js")),i=a[o]),i!=null||(i=r.lookupAndCacheInterceptor(e),i!=null)?i:typeof e=="function"?l.JavaScriptFunction_methods:(t=Object.getPrototypeOf(e),t==null||t===Object.prototype?l.PlainJavaScriptObject_methods:(typeof a=="function"&&(o=y._JS_INTEROP_INTERCEPTOR_TAG,o==null&&(o=y._JS_INTEROP_INTERCEPTOR_TAG=L.getIsolateTag("_$dart_js")),Object.defineProperty(a,o,{value:l.UnknownJavaScriptObject_methods,enumerable:!1,writable:!0,configurable:!0})),l.UnknownJavaScriptObject_methods))},JSArray_JSArray$fixed(e,t){if(e<0||e>4294967295)throw r.wrapException(r.RangeError$range(e,0,4294967295,"length",null));return m.JSArray_JSArray$markFixed(new Array(e),t)},JSArray_JSArray$growable(e,t){if(e<0)throw r.wrapException(r.ArgumentError$("Length must be a non-negative integer: "+e));return r._setArrayType(new Array(e),t._eval$1("JSArray<0>"))},JSArray_JSArray$allocateGrowable(e,t){if(e<0)throw r.wrapException(r.ArgumentError$("Length must be a non-negative integer: "+e));return r._setArrayType(new Array(e),t._eval$1("JSArray<0>"))},JSArray_JSArray$markFixed(e,t){return m.JSArray_markFixedList(r._setArrayType(e,t._eval$1("JSArray<0>")))},JSArray_markFixedList(e){return e.fixed$length=Array,e},JSString__isWhitespace(e){if(e<256)switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0;default:return!1}switch(e){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}},JSString__skipLeadingWhitespace(e,t){var n,a;for(n=e.length;t<n&&(a=l.JSString_methods._codeUnitAt$1(e,t),!(a!==32&&a!==13&&!m.JSString__isWhitespace(a)));)++t;return t},JSString__skipTrailingWhitespace(e,t){for(var n,a;t>0&&(n=t-1,a=l.JSString_methods.codeUnitAt$1(e,n),!(a!==32&&a!==13&&!m.JSString__isWhitespace(a)));t=n);return t},getInterceptor$(e){return typeof e=="number"?Math.floor(e)==e?m.JSInt.prototype:m.JSNumNotInt.prototype:typeof e=="string"?m.JSString.prototype:e==null?m.JSNull.prototype:typeof e=="boolean"?m.JSBool.prototype:e.constructor==Array?m.JSArray.prototype:typeof e!="object"?typeof e=="function"?m.JavaScriptFunction.prototype:e:e instanceof r.Object?e:m.getNativeInterceptor(e)},getInterceptor$ansx(e){return typeof e=="number"?m.JSNumber.prototype:typeof e=="string"?m.JSString.prototype:e==null?e:e.constructor==Array?m.JSArray.prototype:typeof e!="object"?typeof e=="function"?m.JavaScriptFunction.prototype:e:e instanceof r.Object?e:m.getNativeInterceptor(e)},getInterceptor$asx(e){return typeof e=="string"?m.JSString.prototype:e==null?e:e.constructor==Array?m.JSArray.prototype:typeof e!="object"?typeof e=="function"?m.JavaScriptFunction.prototype:e:e instanceof r.Object?e:m.getNativeInterceptor(e)},getInterceptor$ax(e){return e==null?e:e.constructor==Array?m.JSArray.prototype:typeof e!="object"?typeof e=="function"?m.JavaScriptFunction.prototype:e:e instanceof r.Object?e:m.getNativeInterceptor(e)},getInterceptor$s(e){return typeof e=="string"?m.JSString.prototype:e==null||e instanceof r.Object?e:m.UnknownJavaScriptObject.prototype},getInterceptor$x(e){return e==null?e:typeof e!="object"?typeof e=="function"?m.JavaScriptFunction.prototype:e:e instanceof r.Object?e:m.getNativeInterceptor(e)},set$formatChartData$x(e,t){return m.getInterceptor$x(e).set$formatChartData(e,t)},get$first$ax(e){return m.getInterceptor$ax(e).get$first(e)},get$hashCode$(e){return m.getInterceptor$(e).get$hashCode(e)},get$iterator$ax(e){return m.getInterceptor$ax(e).get$iterator(e)},get$length$asx(e){return m.getInterceptor$asx(e).get$length(e)},get$runtimeType$(e){return m.getInterceptor$(e).get$runtimeType(e)},$add$ansx(e,t){return typeof e=="number"&&typeof t=="number"?e+t:m.getInterceptor$ansx(e).$add(e,t)},$eq$(e,t){return e==null?t==null:typeof e!="object"?t!=null&&e===t:m.getInterceptor$(e).$eq(e,t)},$index$asx(e,t){return typeof t=="number"&&(e.constructor==Array||typeof e=="string"||r.isJsIndexable(e,e[L.dispatchPropertyName]))&&t>>>0===t&&t<e.length?e[t]:m.getInterceptor$asx(e).$index(e,t)},add$1$ax(e,t){return m.getInterceptor$ax(e).add$1(e,t)},addAll$1$ax(e,t){return m.getInterceptor$ax(e).addAll$1(e,t)},allMatches$1$s(e,t){return m.getInterceptor$s(e).allMatches$1(e,t)},contains$1$asx(e,t){return m.getInterceptor$asx(e).contains$1(e,t)},elementAt$1$ax(e,t){return m.getInterceptor$ax(e).elementAt$1(e,t)},map$1$1$ax(e,t,n){return m.getInterceptor$ax(e).map$1$1(e,t,n)},noSuchMethod$1$(e,t){return m.getInterceptor$(e).noSuchMethod$1(e,t)},skip$1$ax(e,t){return m.getInterceptor$ax(e).skip$1(e,t)},toList$0$ax(e){return m.getInterceptor$ax(e).toList$0(e)},toString$0$(e){return m.getInterceptor$(e).toString$0(e)},Interceptor:function(){},JSBool:function(){},JSNull:function(){},JavaScriptObject:function(){},LegacyJavaScriptObject:function(){},PlainJavaScriptObject:function(){},UnknownJavaScriptObject:function(){},JavaScriptFunction:function(){},JSArray:function(t){this.$ti=t},JSUnmodifiableArray:function(t){this.$ti=t},ArrayIterator:function(t,n){var a=this;a._iterable=t,a._length=n,a._index=0,a._current=null},JSNumber:function(){},JSInt:function(){},JSNumNotInt:function(){},JSString:function(){}},l={},he=[r,m,l],y={};r.JS_CONST.prototype={},m.Interceptor.prototype={$eq(e,t){return e===t},get$hashCode(e){return r.Primitives_objectHashCode(e)},toString$0(e){return"Instance of '"+r.Primitives_objectTypeName(e)+"'"},noSuchMethod$1(e,t){throw r.wrapException(new r.NoSuchMethodError(e,t.get$memberName(),t.get$positionalArguments(),t.get$namedArguments(),null))},get$runtimeType(e){return r.getRuntimeType(e)}},m.JSBool.prototype={toString$0(e){return String(e)},get$hashCode(e){return e?519018:218159},get$runtimeType(e){return l.Type_bool_lhE},$isbool:1},m.JSNull.prototype={$eq(e,t){return t==null},toString$0(e){return"null"},get$hashCode(e){return 0}},m.JavaScriptObject.prototype={},m.LegacyJavaScriptObject.prototype={get$hashCode(e){return 0},get$runtimeType(e){return l.Type_JSObject_8k0},toString$0(e){return String(e)},get$length(e){return e.length},toString$0(e){return e.toString()},set$formatChartData(e,t){return e.formatChartData=t}},m.PlainJavaScriptObject.prototype={},m.UnknownJavaScriptObject.prototype={},m.JavaScriptFunction.prototype={toString$0(e){var t=e[y.$get$DART_CLOSURE_PROPERTY_NAME()];return t==null?this.super$LegacyJavaScriptObject$toString(e):"JavaScript function for "+r.S(m.toString$0$(t))}},m.JSArray.prototype={add$1(e,t){e.fixed$length&&r.throwExpression(r.UnsupportedError$("add")),e.push(t)},insert$2(e,t,n){var a;if(e.fixed$length&&r.throwExpression(r.UnsupportedError$("insert")),a=e.length,t>a)throw r.wrapException(r.RangeError$value(t,null));e.splice(t,0,n)},addAll$1(e,t){var n;if(e.fixed$length&&r.throwExpression(r.UnsupportedError$("addAll")),Array.isArray(t)){this._addAllFromArray$1(e,t);return}for(n=m.get$iterator$ax(t);n.moveNext$0();)e.push(n.get$current())},_addAllFromArray$1(e,t){var n,a=t.length;if(a!==0){if(e===t)throw r.wrapException(r.ConcurrentModificationError$(e));for(n=0;n<a;++n)e.push(t[n])}},clear$0(e){e.fixed$length&&r.throwExpression(r.UnsupportedError$("clear")),e.length=0},map$1$1(e,t,n){return new r.MappedListIterable(e,t,r._arrayInstanceType(e)._eval$1("@<1>")._bind$1(n)._eval$1("MappedListIterable<1,2>"))},join$1(e,t){var n,a=r.List_List$filled(e.length,"",!1,d.String);for(n=0;n<e.length;++n)a[n]=r.S(e[n]);return a.join(t)},skip$1(e,t){return r.SubListIterable$(e,t,null,r._arrayInstanceType(e)._precomputed1)},fold$1$2(e,t,n){var a,i,o=e.length;for(a=t,i=0;i<o;++i)if(a=n.call$2(a,e[i]),e.length!==o)throw r.wrapException(r.ConcurrentModificationError$(e));return a},fold$2(e,t,n){return this.fold$1$2(e,t,n,d.dynamic)},firstWhere$1(e,t){var n,a,i=e.length;for(n=0;n<i;++n){if(a=e[n],t.call$1(a))return a;if(e.length!==i)throw r.wrapException(r.ConcurrentModificationError$(e))}throw r.wrapException(r.IterableElementError_noElement())},elementAt$1(e,t){return e[t]},sublist$2(e,t,n){var a=e.length;if(t>a)throw r.wrapException(r.RangeError$range(t,0,a,"start",null));if(n==null)n=a;else if(n<t||n>a)throw r.wrapException(r.RangeError$range(n,t,a,"end",null));return t===n?r._setArrayType([],r._arrayInstanceType(e)):r._setArrayType(e.slice(t,n),r._arrayInstanceType(e))},sublist$1(e,t){return this.sublist$2(e,t,null)},get$first(e){if(e.length>0)return e[0];throw r.wrapException(r.IterableElementError_noElement())},get$last(e){var t=e.length;if(t>0)return e[t-1];throw r.wrapException(r.IterableElementError_noElement())},every$1(e,t){var n,a=e.length;for(n=0;n<a;++n){if(!t.call$1(e[n]))return!1;if(e.length!==a)throw r.wrapException(r.ConcurrentModificationError$(e))}return!0},indexOf$1(e,t){var n,a=e.length;if(0>=a)return-1;for(n=0;n<a;++n)if(m.$eq$(e[n],t))return n;return-1},contains$1(e,t){var n;for(n=0;n<e.length;++n)if(m.$eq$(e[n],t))return!0;return!1},get$isEmpty(e){return e.length===0},get$isNotEmpty(e){return e.length!==0},toString$0(e){return r.IterableBase_iterableToFullString(e,"[","]")},toList$1$growable(e,t){var n=r._setArrayType(e.slice(0),r._arrayInstanceType(e));return n},toList$0(e){return this.toList$1$growable(e,!0)},get$iterator(e){return new m.ArrayIterator(e,e.length)},get$hashCode(e){return r.Primitives_objectHashCode(e)},get$length(e){return e.length},$index(e,t){if(!(t>=0&&t<e.length))throw r.wrapException(r.diagnoseIndexError(e,t));return e[t]},$indexSet(e,t,n){if(e.immutable$list&&r.throwExpression(r.UnsupportedError$("indexed set")),!(t>=0&&t<e.length))throw r.wrapException(r.diagnoseIndexError(e,t));e[t]=n},$add(e,t){var n=r.List_List$of(e,!0,r._arrayInstanceType(e)._precomputed1);return this.addAll$1(n,t),n},indexWhere$1(e,t){var n;if(0>=e.length)return-1;for(n=0;n<e.length;++n)if(t.call$1(e[n]))return n;return-1},$isEfficientLengthIterable:1,$isIterable:1,$isList:1},m.JSUnmodifiableArray.prototype={},m.ArrayIterator.prototype={get$current(){var e=this._current;return e??r._instanceType(this)._precomputed1._as(e)},moveNext$0(){var e,t=this,n=t._iterable,a=n.length;if(t._length!==a)throw r.wrapException(r.throwConcurrentModificationError(n));return e=t._index,e>=a?(t._current=null,!1):(t._current=n[e],t._index=e+1,!0)}},m.JSNumber.prototype={compareTo$1(e,t){var n;return e<t?-1:e>t?1:e===t?e===0?(n=this.get$isNegative(t),this.get$isNegative(e)===n?0:this.get$isNegative(e)?-1:1):0:isNaN(e)?isNaN(t)?0:1:-1},get$isNegative(e){return e===0?1/e<0:e<0},toInt$0(e){var t;if(e>=-2147483648&&e<=2147483647)return e|0;if(isFinite(e))return t=e<0?Math.ceil(e):Math.floor(e),t+0;throw r.wrapException(r.UnsupportedError$(""+e+".toInt()"))},floor$0(e){var t,n;if(e>=0){if(e<=2147483647)return e|0}else if(e>=-2147483648)return t=e|0,e===t?t:t-1;if(n=Math.floor(e),isFinite(n))return n;throw r.wrapException(r.UnsupportedError$(""+e+".floor()"))},round$0(e){if(e>0){if(e!==1/0)return Math.round(e)}else if(e>-1/0)return 0-Math.round(0-e);throw r.wrapException(r.UnsupportedError$(""+e+".round()"))},toStringAsFixed$1(e,t){var n;if(t<0||t>20)throw r.wrapException(r.RangeError$range(t,0,20,"fractionDigits",null));return n=e.toFixed(t),e===0&&this.get$isNegative(e)?"-"+n:n},toString$0(e){return e===0&&1/e<0?"-0.0":""+e},get$hashCode(e){var t,n,a,i,o=e|0;return e===o?o&536870911:(t=Math.abs(e),n=Math.log(t)/.6931471805599453|0,a=Math.pow(2,n),i=t<1?t/a:a/t,((i*9007199254740992|0)+(i*0xc95a6c285a6c9|0))*599197+n*1259&536870911)},$add(e,t){return e+t},$mod(e,t){var n=e%t;return n===0?0:n>0?n:n+t},$tdiv(e,t){return(e|0)===e&&(t>=1||t<-1)?e/t|0:this._tdivSlow$1(e,t)},_tdivFast$1(e,t){return(e|0)===e?e/t|0:this._tdivSlow$1(e,t)},_tdivSlow$1(e,t){var n=e/t;if(n>=-2147483648&&n<=2147483647)return n|0;if(n>0){if(n!==1/0)return Math.floor(n)}else if(n>-1/0)return Math.ceil(n);throw r.wrapException(r.UnsupportedError$("Result of truncating division is "+r.S(n)+": "+r.S(e)+" ~/ "+t))},_shrOtherPositive$1(e,t){var n;return e>0?n=this._shrBothPositive$1(e,t):(n=t>31?31:t,n=e>>n>>>0),n},_shrBothPositive$1(e,t){return t>31?0:e>>>t},get$runtimeType(e){return l.Type_num_cv7},$isdouble:1,$isnum:1},m.JSInt.prototype={get$runtimeType(e){return l.Type_int_tHn},$isint:1},m.JSNumNotInt.prototype={get$runtimeType(e){return l.Type_double_K1J}},m.JSString.prototype={codeUnitAt$1(e,t){if(t<0)throw r.wrapException(r.diagnoseIndexError(e,t));return t>=e.length&&r.throwExpression(r.diagnoseIndexError(e,t)),e.charCodeAt(t)},_codeUnitAt$1(e,t){if(t>=e.length)throw r.wrapException(r.diagnoseIndexError(e,t));return e.charCodeAt(t)},allMatches$2(e,t,n){var a=t.length;if(n>a)throw r.wrapException(r.RangeError$range(n,0,a,null,null));return new r._StringAllMatchesIterable(t,e,n)},allMatches$1(e,t){return this.allMatches$2(e,t,0)},$add(e,t){return e+t},replaceRange$3(e,t,n,a){var i=r.RangeError_checkValidRange(t,n,e.length);return r.stringReplaceRangeUnchecked(e,t,i,a)},startsWith$1(e,t){var n=e.length,a=t.length;return a>n?!1:t===e.substring(0,a)},substring$2(e,t,n){return e.substring(t,r.RangeError_checkValidRange(t,n,e.length))},substring$1(e,t){return this.substring$2(e,t,null)},trim$0(e){var t,n,a,i=e.trim(),o=i.length;if(o===0)return i;if(this._codeUnitAt$1(i,0)===133){if(t=m.JSString__skipLeadingWhitespace(i,1),t===o)return""}else t=0;return n=o-1,a=this.codeUnitAt$1(i,n)===133?m.JSString__skipTrailingWhitespace(i,n):o,t===0&&a===o?i:i.substring(t,a)},$mul(e,t){var n,a;if(0>=t)return"";if(t===1||e.length===0)return e;if(t!==t>>>0)throw r.wrapException(l.C_OutOfMemoryError);for(n=e,a="";(t&1)===1&&(a=n+a),t=t>>>1,t!==0;)n+=n;return a},padLeft$2(e,t,n){var a=t-e.length;return a<=0?e:this.$mul(n,a)+e},contains$1(e,t){return r.stringContainsUnchecked(e,t,0)},toString$0(e){return e},get$hashCode(e){var t,n,a;for(t=e.length,n=0,a=0;a<t;++a)n=n+e.charCodeAt(a)&536870911,n=n+((n&524287)<<10)&536870911,n^=n>>6;return n=n+((n&67108863)<<3)&536870911,n^=n>>11,n+((n&16383)<<15)&536870911},get$runtimeType(e){return l.Type_String_k8F},get$length(e){return e.length},$index(e,t){if(t>=e.length)throw r.wrapException(r.diagnoseIndexError(e,t));return e[t]},$isString:1},r.LateError.prototype={toString$0(e){return"LateInitializationError: "+this._message}},r.EfficientLengthIterable.prototype={},r.ListIterable.prototype={get$iterator(e){return new r.ListIterator(this,this.get$length(this))},get$isEmpty(e){return this.get$length(this)===0},contains$1(e,t){var n,a=this,i=a.get$length(a);for(n=0;n<i;++n){if(m.$eq$(a.elementAt$1(0,n),t))return!0;if(i!==a.get$length(a))throw r.wrapException(r.ConcurrentModificationError$(a))}return!1},join$1(e,t){var n,a,i,o=this,s=o.get$length(o);if(t.length!==0){if(s===0)return"";if(n=r.S(o.elementAt$1(0,0)),s!==o.get$length(o))throw r.wrapException(r.ConcurrentModificationError$(o));for(a=n,i=1;i<s;++i)if(a=a+t+r.S(o.elementAt$1(0,i)),s!==o.get$length(o))throw r.wrapException(r.ConcurrentModificationError$(o));return a.charCodeAt(0)==0,a}else{for(i=0,a="";i<s;++i)if(a+=r.S(o.elementAt$1(0,i)),s!==o.get$length(o))throw r.wrapException(r.ConcurrentModificationError$(o));return a.charCodeAt(0)==0,a}},join$0(e){return this.join$1(e,"")},map$1$1(e,t,n){return new r.MappedListIterable(this,t,r._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1(n)._eval$1("MappedListIterable<1,2>"))},toList$1$growable(e,t){return r.List_List$of(this,!0,r._instanceType(this)._eval$1("ListIterable.E"))},toList$0(e){return this.toList$1$growable(e,!0)}},r.SubListIterable.prototype={get$_endIndex(){var e=m.get$length$asx(this.__internal$_iterable),t=this._endOrLength;return t==null||t>e?e:t},get$_startIndex(){var e=m.get$length$asx(this.__internal$_iterable),t=this.__internal$_start;return t>e?e:t},get$length(e){var t,n=m.get$length$asx(this.__internal$_iterable),a=this.__internal$_start;return a>=n?0:(t=this._endOrLength,t==null||t>=n?n-a:t-a)},elementAt$1(e,t){var n=this,a=n.get$_startIndex()+t;if(t<0||a>=n.get$_endIndex())throw r.wrapException(r.IndexError$withLength(t,n.get$length(n),n,null,"index"));return m.elementAt$1$ax(n.__internal$_iterable,a)},toList$1$growable(e,t){var n,a,i,o=this,s=o.__internal$_start,_=o.__internal$_iterable,u=m.getInterceptor$asx(_),c=u.get$length(_),p=o._endOrLength;if(p!=null&&p<c&&(c=p),n=c-s,n<=0)return _=m.JSArray_JSArray$fixed(0,o.$ti._precomputed1),_;for(a=r.List_List$filled(n,u.elementAt$1(_,s),!1,o.$ti._precomputed1),i=1;i<n;++i)if(a[i]=u.elementAt$1(_,s+i),u.get$length(_)<c)throw r.wrapException(r.ConcurrentModificationError$(o));return a}},r.ListIterator.prototype={get$current(){var e=this.__internal$_current;return e??r._instanceType(this)._precomputed1._as(e)},moveNext$0(){var e,t=this,n=t.__internal$_iterable,a=m.getInterceptor$asx(n),i=a.get$length(n);if(t.__internal$_length!==i)throw r.wrapException(r.ConcurrentModificationError$(n));return e=t.__internal$_index,e>=i?(t.__internal$_current=null,!1):(t.__internal$_current=a.elementAt$1(n,e),++t.__internal$_index,!0)}},r.MappedIterable.prototype={get$iterator(e){return new r.MappedIterator(m.get$iterator$ax(this.__internal$_iterable),this._f)},get$length(e){return m.get$length$asx(this.__internal$_iterable)}},r.EfficientLengthMappedIterable.prototype={$isEfficientLengthIterable:1},r.MappedIterator.prototype={moveNext$0(){var e=this,t=e._iterator;return t.moveNext$0()?(e.__internal$_current=e._f.call$1(t.get$current()),!0):(e.__internal$_current=null,!1)},get$current(){var e=this.__internal$_current;return e??r._instanceType(this)._rest[1]._as(e)}},r.MappedListIterable.prototype={get$length(e){return m.get$length$asx(this._source)},elementAt$1(e,t){return this._f.call$1(m.elementAt$1$ax(this._source,t))}},r.WhereIterable.prototype={get$iterator(e){return new r.WhereIterator(m.get$iterator$ax(this.__internal$_iterable),this._f)},map$1$1(e,t,n){return new r.MappedIterable(this,t,this.$ti._eval$1("@<1>")._bind$1(n)._eval$1("MappedIterable<1,2>"))}},r.WhereIterator.prototype={moveNext$0(){var e,t;for(e=this._iterator,t=this._f;e.moveNext$0();)if(t.call$1(e.get$current()))return!0;return!1},get$current(){return this._iterator.get$current()}},r.SkipIterable.prototype={get$iterator(e){return new r.SkipIterator(m.get$iterator$ax(this.__internal$_iterable),this._skipCount)}},r.EfficientLengthSkipIterable.prototype={get$length(e){var t=m.get$length$asx(this.__internal$_iterable)-this._skipCount;return t>=0?t:0},$isEfficientLengthIterable:1},r.SkipIterator.prototype={moveNext$0(){var e,t;for(e=this._iterator,t=0;t<this._skipCount;++t)e.moveNext$0();return this._skipCount=0,e.moveNext$0()},get$current(){return this._iterator.get$current()}},r.EmptyIterable.prototype={get$iterator(e){return l.C_EmptyIterator},get$length(e){return 0},map$1$1(e,t,n){return new r.EmptyIterable(n._eval$1("EmptyIterable<0>"))},toList$1$growable(e,t){var n=m.JSArray_JSArray$growable(0,this.$ti._precomputed1);return n},toList$0(e){return this.toList$1$growable(e,!0)}},r.EmptyIterator.prototype={moveNext$0(){return!1},get$current(){throw r.wrapException(r.IterableElementError_noElement())}},r.FixedLengthListMixin.prototype={set$length(e,t){throw r.wrapException(r.UnsupportedError$(Y.Cannot))},add$1(e,t){throw r.wrapException(r.UnsupportedError$("Cannot add to a fixed-length list"))},addAll$1(e,t){throw r.wrapException(r.UnsupportedError$("Cannot add to a fixed-length list"))}},r.ReversedListIterable.prototype={get$length(e){return m.get$length$asx(this._source)},elementAt$1(e,t){var n=this._source,a=m.getInterceptor$asx(n);return a.elementAt$1(n,a.get$length(n)-1-t)}},r.Symbol.prototype={get$hashCode(e){var t=this._hashCode;return t!=null||(t=664597*m.get$hashCode$(this.__internal$_name)&536870911,this._hashCode=t),t},toString$0(e){return'Symbol("'+r.S(this.__internal$_name)+'")'},$eq(e,t){return t==null?!1:t instanceof r.Symbol&&this.__internal$_name==t.__internal$_name},$isSymbol0:1},r.ConstantMapView.prototype={},r.ConstantMap.prototype={get$isEmpty(e){return this.get$length(this)===0},toString$0(e){return r.MapBase_mapToString(this)},$indexSet(e,t,n){r.ConstantMap__throwUnmodifiable()},$isMap:1},r.ConstantStringMap.prototype={get$length(e){return this.__js_helper$_length},containsKey$1(e){return typeof e!="string"||e==="__proto__"?!1:this._jsObject.hasOwnProperty(e)},$index(e,t){return this.containsKey$1(t)?this._jsObject[t]:null},forEach$1(e,t){var n,a,i,o,s=this._keys;for(n=s.length,a=this._jsObject,i=0;i<n;++i)o=s[i],t.call$2(o,a[o])},get$keys(e){return new r._ConstantMapKeyIterable(this,this.$ti._eval$1("_ConstantMapKeyIterable<1>"))}},r._ConstantMapKeyIterable.prototype={get$iterator(e){var t=this._map._keys;return new m.ArrayIterator(t,t.length)},get$length(e){return this._map._keys.length}},r.JSInvocationMirror.prototype={get$memberName(){var e=this.__js_helper$_memberName;return e},get$positionalArguments(){var e,t,n,a,i=this;if(i.__js_helper$_kind===1||(e=i._arguments,t=e.length-i._namedArgumentNames.length-i._typeArgumentCount,t===0))return l.List_empty0;for(n=[],a=0;a<t;++a)n.push(e[a]);return n.fixed$length=Array,n.immutable$list=Array,n},get$namedArguments(){var e,t,n,a,i,o,s=this;if(s.__js_helper$_kind!==0||(e=s._namedArgumentNames,t=e.length,n=s._arguments,a=n.length-t-s._typeArgumentCount,t===0))return l.Map_empty;for(i=new r.JsLinkedHashMap(d.JsLinkedHashMap_Symbol_dynamic),o=0;o<t;++o)i.$indexSet(0,new r.Symbol(e[o]),n[a+o]);return new r.ConstantMapView(i,d.ConstantMapView_Symbol_dynamic)}},r.Primitives_functionNoSuchMethod_closure.prototype={call$2(e,t){var n=this._box_0;n.names=n.names+"$"+e,this.namedArgumentList.push(e),this.$arguments.push(t),++n.argumentCount},$signature:34},r.TypeErrorDecoder.prototype={matchTypeError$1(e){var t,n,a=this,i=new RegExp(a._pattern).exec(e);return i==null?null:(t=Object.create(null),n=a._arguments,n!==-1&&(t.arguments=i[n+1]),n=a._argumentsExpr,n!==-1&&(t.argumentsExpr=i[n+1]),n=a._expr,n!==-1&&(t.expr=i[n+1]),n=a._method,n!==-1&&(t.method=i[n+1]),n=a._receiver,n!==-1&&(t.receiver=i[n+1]),t)}},r.NullError.prototype={toString$0(e){var t=this._method;return t==null?"NoSuchMethodError: "+this.__js_helper$_message:"NoSuchMethodError: method not found: '"+t+"' on null"}},r.JsNoSuchMethodError.prototype={toString$0(e){var t,n=this,a="NoSuchMethodError: method not found: '",i=n._method;return i==null?"NoSuchMethodError: "+n.__js_helper$_message:(t=n._receiver,t==null?a+i+"' ("+n.__js_helper$_message+")":a+i+"' on '"+t+"' ("+n.__js_helper$_message+")")}},r.UnknownJsTypeError.prototype={toString$0(e){var t=this.__js_helper$_message;return t.length===0?"Error":"Error: "+t}},r.NullThrownFromJavaScriptException.prototype={toString$0(e){return"Throw of null ('"+(this._irritant===null?"null":"undefined")+"' from JavaScript)"}},r.Closure.prototype={toString$0(e){var t=this.constructor,n=t==null?null:t.name;return"Closure '"+r.unminifyOrTag(n??"unknown")+"'"},get$$call(){return this},"call*":"call$1",$requiredArgCount:1,$defaultValues:null},r.Closure2Args.prototype={"call*":"call$2",$requiredArgCount:2},r.TearOffClosure.prototype={},r.StaticClosure.prototype={toString$0(e){var t=this.$static_name;return t==null?"Closure of unknown static method":"Closure '"+r.unminifyOrTag(t)+"'"}},r.BoundClosure.prototype={$eq(e,t){return t==null?!1:this===t?!0:t instanceof r.BoundClosure?this.$_target===t.$_target&&this._receiver===t._receiver:!1},get$hashCode(e){return(r.objectHashCode(this._receiver)^r.Primitives_objectHashCode(this.$_target))>>>0},toString$0(e){return"Closure '"+this.$_name+"' of "+("Instance of '"+r.Primitives_objectTypeName(this._receiver)+"'")}},r.RuntimeError.prototype={toString$0(e){return"RuntimeError: "+this.message}},r._Required.prototype={},r.JsLinkedHashMap.prototype={get$length(e){return this.__js_helper$_length},get$isEmpty(e){return this.__js_helper$_length===0},get$keys(e){return new r.LinkedHashMapKeyIterable(this,r._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"))},get$values(e){var t=r._instanceType(this);return r.MappedIterable_MappedIterable(new r.LinkedHashMapKeyIterable(this,t._eval$1("LinkedHashMapKeyIterable<1>")),new r.JsLinkedHashMap_values_closure(this),t._precomputed1,t._rest[1])},containsKey$1(e){var t=this._strings;return t==null?!1:t[e]!=null},internalContainsKey$1(e){var t=this.__js_helper$_rest;return t==null?!1:this.internalFindBucketIndex$2(t[this.internalComputeHashCode$1(e)],e)>=0},addAll$1(e,t){t.forEach$1(0,new r.JsLinkedHashMap_addAll_closure(this))},$index(e,t){var n,a,i,o,s=null;return typeof t=="string"?(n=this._strings,n==null?s:(a=n[t],i=a==null?s:a.hashMapCellValue,i)):typeof t=="number"&&(t&1073741823)===t?(o=this._nums,o==null?s:(a=o[t],i=a==null?s:a.hashMapCellValue,i)):this.internalGet$1(t)},internalGet$1(e){var t,n,a=this.__js_helper$_rest;return a==null||(t=a[this.internalComputeHashCode$1(e)],n=this.internalFindBucketIndex$2(t,e),n<0)?null:t[n].hashMapCellValue},$indexSet(e,t,n){var a,i,o=this;typeof t=="string"?(a=o._strings,o._addHashTableEntry$3(a??(o._strings=o._newHashTable$0()),t,n)):typeof t=="number"&&(t&1073741823)===t?(i=o._nums,o._addHashTableEntry$3(i??(o._nums=o._newHashTable$0()),t,n)):o.internalSet$2(t,n)},internalSet$2(e,t){var n,a,i,o=this,s=o.__js_helper$_rest;s==null&&(s=o.__js_helper$_rest=o._newHashTable$0()),n=o.internalComputeHashCode$1(e),a=s[n],a==null?s[n]=[o._newLinkedCell$2(e,t)]:(i=o.internalFindBucketIndex$2(a,e),i>=0?a[i].hashMapCellValue=t:a.push(o._newLinkedCell$2(e,t)))},putIfAbsent$2(e,t){var n,a,i=this;return i.containsKey$1(e)?(n=i.$index(0,e),n??r._instanceType(i)._rest[1]._as(n)):(a=t.call$0(),i.$indexSet(0,e,a),a)},forEach$1(e,t){for(var n=this,a=n._first,i=n._modifications;a!=null;){if(t.call$2(a.hashMapCellKey,a.hashMapCellValue),i!==n._modifications)throw r.wrapException(r.ConcurrentModificationError$(n));a=a._next}},_addHashTableEntry$3(e,t,n){var a=e[t];a==null?e[t]=this._newLinkedCell$2(t,n):a.hashMapCellValue=n},_newLinkedCell$2(e,t){var n=this,a=new r.LinkedHashMapCell(e,t);return n._first==null?n._first=n._last=a:n._last=n._last._next=a,++n.__js_helper$_length,n._modifications=n._modifications+1&1073741823,a},internalComputeHashCode$1(e){return m.get$hashCode$(e)&1073741823},internalFindBucketIndex$2(e,t){var n,a;if(e==null)return-1;for(n=e.length,a=0;a<n;++a)if(m.$eq$(e[a].hashMapCellKey,t))return a;return-1},toString$0(e){return r.MapBase_mapToString(this)},_newHashTable$0(){var e=Object.create(null);return e["<non-identifier-key>"]=e,delete e["<non-identifier-key>"],e}},r.JsLinkedHashMap_values_closure.prototype={call$1(e){var t=this.$this,n=t.$index(0,e);return n??r._instanceType(t)._rest[1]._as(n)},$signature(){return r._instanceType(this.$this)._eval$1("2(1)")}},r.JsLinkedHashMap_addAll_closure.prototype={call$2(e,t){this.$this.$indexSet(0,e,t)},$signature(){return r._instanceType(this.$this)._eval$1("~(1,2)")}},r.LinkedHashMapCell.prototype={},r.LinkedHashMapKeyIterable.prototype={get$length(e){return this._map.__js_helper$_length},get$isEmpty(e){return this._map.__js_helper$_length===0},get$iterator(e){var t=this._map,n=new r.LinkedHashMapKeyIterator(t,t._modifications);return n._cell=t._first,n}},r.LinkedHashMapKeyIterator.prototype={get$current(){return this.__js_helper$_current},moveNext$0(){var e,t=this,n=t._map;if(t._modifications!==n._modifications)throw r.wrapException(r.ConcurrentModificationError$(n));return e=t._cell,e==null?(t.__js_helper$_current=null,!1):(t.__js_helper$_current=e.hashMapCellKey,t._cell=e._next,!0)}},r.initHooks_closure.prototype={call$1(e){return this.getTag(e)},$signature:7},r.initHooks_closure0.prototype={call$2(e,t){return this.getUnknownTag(e,t)},$signature:67},r.initHooks_closure1.prototype={call$1(e){return this.prototypeForTag(e)},$signature:41},r.JSSyntaxRegExp.prototype={toString$0(e){return"RegExp/"+this.pattern+"/"+this._nativeRegExp.flags},get$_nativeGlobalVersion(){var e=this,t=e._nativeGlobalRegExp;return t??(t=e._nativeRegExp,e._nativeGlobalRegExp=r.JSSyntaxRegExp_makeNative(e.pattern,t.multiline,!t.ignoreCase,t.unicode,t.dotAll,!0))},firstMatch$1(e){var t=this._nativeRegExp.exec(e);return t==null?null:new r._MatchImplementation(t)},stringMatch$1(e){var t=this.firstMatch$1(e);return t!=null?t.__js_helper$_match[0]:null},allMatches$2(e,t,n){var a=t.length;if(n>a)throw r.wrapException(r.RangeError$range(n,0,a,null,null));return new r._AllMatchesIterable(this,t,n)},allMatches$1(e,t){return this.allMatches$2(e,t,0)},_execGlobal$2(e,t){var n,a=this.get$_nativeGlobalVersion();return a.lastIndex=t,n=a.exec(e),n==null?null:new r._MatchImplementation(n)},$isRegExp:1},r._MatchImplementation.prototype={get$start(){return this.__js_helper$_match.index},get$end(e){var t=this.__js_helper$_match;return t.index+t[0].length},group$1(e,t){return this.__js_helper$_match[t]},$index(e,t){return this.__js_helper$_match[t]},$isMatch:1,$isRegExpMatch:1},r._AllMatchesIterable.prototype={get$iterator(e){return new r._AllMatchesIterator(this._re,this.__js_helper$_string,this._start)}},r._AllMatchesIterator.prototype={get$current(){var e=this.__js_helper$_current;return e??d.RegExpMatch._as(e)},moveNext$0(){var e,t,n,a,i,o=this,s=o.__js_helper$_string;return s==null?!1:(e=o._nextIndex,t=s.length,e<=t&&(n=o._regExp,a=n._execGlobal$2(s,e),a!=null)?(o.__js_helper$_current=a,i=a.get$end(a),a.__js_helper$_match.index===i&&(n._nativeRegExp.unicode?(e=o._nextIndex,n=e+1,n<t?(e=l.JSString_methods.codeUnitAt$1(s,e),e>=55296&&e<=56319?(e=l.JSString_methods.codeUnitAt$1(s,n),e=e>=56320&&e<=57343):e=!1):e=!1):e=!1,i=(e?i+1:i)+1),o._nextIndex=i,!0):(o.__js_helper$_string=o.__js_helper$_current=null,!1))}},r.StringMatch.prototype={get$end(e){return this.start+this.pattern.length},$index(e,t){return t!==0&&r.throwExpression(r.RangeError$value(t,null)),this.pattern},group$1(e,t){if(t!==0)throw r.wrapException(r.RangeError$value(t,null));return this.pattern},$isMatch:1,get$start(){return this.start}},r._StringAllMatchesIterable.prototype={get$iterator(e){return new r._StringAllMatchesIterator(this._input,this._pattern,this.__js_helper$_index)}},r._StringAllMatchesIterator.prototype={moveNext$0(){var e,t,n=this,a=n.__js_helper$_index,i=n._pattern,o=i.length,s=n._input,_=s.length;return a+o>_?(n.__js_helper$_current=null,!1):(e=s.indexOf(i,a),e<0?(n.__js_helper$_index=_+1,n.__js_helper$_current=null,!1):(t=e+o,n.__js_helper$_current=new r.StringMatch(e,i),n.__js_helper$_index=t===n.__js_helper$_index?t+1:t,!0))},get$current(){var e=this.__js_helper$_current;return e.toString,e}},r._Cell.prototype={_readField$0(){var e=this.__late_helper$_value;if(e===this)throw r.wrapException(r.LateError$fieldNI(""));return e}},r.NativeByteBuffer.prototype={get$runtimeType(e){return l.Type_ByteBuffer_RkP}},r.NativeTypedData.prototype={_invalidPosition$3(e,t,n,a){var i=r.RangeError$range(t,0,n,a,null);throw r.wrapException(i)},_checkPosition$3(e,t,n,a){(t>>>0!==t||t>n)&&this._invalidPosition$3(e,t,n,a)}},r.NativeByteData.prototype={get$runtimeType(e){return l.Type_ByteData_zNC}},r.NativeTypedArray.prototype={get$length(e){return e.length},$isJavaScriptIndexingBehavior:1},r.NativeTypedArrayOfInt.prototype={$indexSet(e,t,n){r._checkValidIndex(t,e,e.length),e[t]=n},setRange$4(e,t,n,a,i){var o,s,_,u;if(d.NativeTypedArrayOfInt._is(a)){o=e.length,this._checkPosition$3(e,t,o,"start"),this._checkPosition$3(e,n,o,"end"),t>n&&r.throwExpression(r.RangeError$range(t,0,n,null,null)),s=n-t,i<0&&r.throwExpression(r.ArgumentError$(i)),_=a.length,_-i<s&&r.throwExpression(r.StateError$("Not enough elements")),u=i!==0||_!==s?a.subarray(i,i+s):a,e.set(u,t);return}this.super$ListMixin$setRange(e,t,n,a,i)},setRange$3(e,t,n,a){return this.setRange$4(e,t,n,a,0)},$isEfficientLengthIterable:1,$isIterable:1,$isList:1},r.NativeUint16List.prototype={get$runtimeType(e){return l.Type_Uint16List_2bx},$index(e,t){return r._checkValidIndex(t,e,e.length),e[t]}},r.NativeUint32List.prototype={get$runtimeType(e){return l.Type_Uint32List_2bx},$index(e,t){return r._checkValidIndex(t,e,e.length),e[t]}},r.NativeUint8List.prototype={get$runtimeType(e){return l.Type_Uint8List_WLA},get$length(e){return e.length},$index(e,t){return r._checkValidIndex(t,e,e.length),e[t]},$isNativeUint8List:1},r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype={},r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype={},r.Rti.prototype={_eval$1(e){return r._Universe_evalInEnvironment(L.typeUniverse,this,e)},_bind$1(e){return r._Universe_bind(L.typeUniverse,this,e)}},r._FunctionParameters.prototype={},r._Type.prototype={toString$0(e){return r._rtiToString(this._rti,null)}},r._Error.prototype={toString$0(e){return this.__rti$_message}},r._TypeError.prototype={},r._IterationMarker.prototype={toString$0(e){return"IterationMarker("+this.state+", "+r.S(this.value)+")"}},r._SyncStarIterator.prototype={get$current(){var e=this._nestedIterator;return e==null?this._async$_current:e.get$current()},moveNext$0(){for(var e,t,n,a,i,o=this;;){if(e=o._nestedIterator,e!=null){if(e.moveNext$0())return!0;o._nestedIterator=null}if(t=function(s,_,u){for(var c,p=_;;)try{return s(p,c)}catch(f){c=f,p=u}}(o._body,0,1),t instanceof r._IterationMarker)if(n=t.state,n===2){if(a=o._suspendedBodies,a==null||a.length===0)return o._async$_current=null,!1;o._body=a.pop();continue}else{if(e=t.value,n===3)throw e;if(i=m.get$iterator$ax(e),i instanceof r._SyncStarIterator){e=o._suspendedBodies,e==null&&(e=o._suspendedBodies=[]),e.push(o._body),o._body=i._body;continue}else{o._nestedIterator=i;continue}}else return o._async$_current=t,!0}return!1}},r._SyncStarIterable.prototype={get$iterator(e){return new r._SyncStarIterator(this._outerHelper())}},r.StreamTransformerBase.prototype={},r._LinkedCustomHashMap.prototype={$index(e,t){return this._validKey.call$1(t)?this.super$JsLinkedHashMap$internalGet(t):null},$indexSet(e,t,n){this.super$JsLinkedHashMap$internalSet(t,n)},containsKey$1(e){return this._validKey.call$1(e)?this.super$JsLinkedHashMap$internalContainsKey(e):!1},internalComputeHashCode$1(e){return this._hashCode.call$1(e)&1073741823},internalFindBucketIndex$2(e,t){var n,a,i;if(e==null)return-1;for(n=e.length,a=this._equals,i=0;i<n;++i)if(a.call$2(e[i].hashMapCellKey,t))return i;return-1}},r._LinkedCustomHashMap_closure.prototype={call$1(e){return this.K._is(e)},$signature:55},r._LinkedHashSet.prototype={get$iterator(e){var t=new r._LinkedHashSetIterator(this,this._collection$_modifications);return t._collection$_cell=this._collection$_first,t},get$length(e){return this._collection$_length},add$1(e,t){var n,a,i=this;return typeof t=="string"&&t!=="__proto__"?(n=i._collection$_strings,i._collection$_addHashTableEntry$2(n??(i._collection$_strings=r._LinkedHashSet__newHashTable()),t)):typeof t=="number"&&(t&1073741823)===t?(a=i._collection$_nums,i._collection$_addHashTableEntry$2(a??(i._collection$_nums=r._LinkedHashSet__newHashTable()),t)):i._add$1(t)},_add$1(e){var t,n,a=this,i=a._collection$_rest;if(i==null&&(i=a._collection$_rest=r._LinkedHashSet__newHashTable()),t=a._computeHashCode$1(e),n=i[t],n==null)i[t]=[a._collection$_newLinkedCell$1(e)];else{if(a._findBucketIndex$2(n,e)>=0)return!1;n.push(a._collection$_newLinkedCell$1(e))}return!0},_collection$_addHashTableEntry$2(e,t){return e[t]!=null?!1:(e[t]=this._collection$_newLinkedCell$1(t),!0)},_collection$_newLinkedCell$1(e){var t=this,n=new r._LinkedHashSetCell(e);return t._collection$_first==null?t._collection$_first=t._collection$_last=n:t._collection$_last=t._collection$_last._collection$_next=n,++t._collection$_length,t._collection$_modifications=t._collection$_modifications+1&1073741823,n},_computeHashCode$1(e){return m.get$hashCode$(e)&1073741823},_findBucketIndex$2(e,t){var n,a;if(e==null)return-1;for(n=e.length,a=0;a<n;++a)if(m.$eq$(e[a]._element,t))return a;return-1}},r._LinkedHashSetCell.prototype={},r._LinkedHashSetIterator.prototype={get$current(){var e=this._collection$_current;return e??r._instanceType(this)._precomputed1._as(e)},moveNext$0(){var e=this,t=e._collection$_cell,n=e._set;if(e._collection$_modifications!==n._collection$_modifications)throw r.wrapException(r.ConcurrentModificationError$(n));return t==null?(e._collection$_current=null,!1):(e._collection$_current=t._element,e._collection$_cell=t._collection$_next,!0)}},r.IterableBase.prototype={},r.LinkedHashMap_LinkedHashMap$from_closure.prototype={call$2(e,t){this.result.$indexSet(0,this.K._as(e),this.V._as(t))},$signature:14},r.ListBase.prototype={$isEfficientLengthIterable:1,$isIterable:1,$isList:1},r.ListMixin.prototype={get$iterator(e){return new r.ListIterator(e,this.get$length(e))},elementAt$1(e,t){return this.$index(e,t)},get$isEmpty(e){return this.get$length(e)===0},get$isNotEmpty(e){return this.get$length(e)!==0},get$first(e){if(this.get$length(e)===0)throw r.wrapException(r.IterableElementError_noElement());return this.$index(e,0)},contains$1(e,t){var n,a=this.get$length(e);for(n=0;n<a;++n){if(m.$eq$(this.$index(e,n),t))return!0;if(a!==this.get$length(e))throw r.wrapException(r.ConcurrentModificationError$(e))}return!1},firstWhere$1(e,t){var n,a,i=this.get$length(e);for(n=0;n<i;++n){if(a=this.$index(e,n),t.call$1(a))return a;if(i!==this.get$length(e))throw r.wrapException(r.ConcurrentModificationError$(e))}throw r.wrapException(r.IterableElementError_noElement())},map$1$1(e,t,n){return new r.MappedListIterable(e,t,r.instanceType(e)._eval$1("@<ListMixin.E>")._bind$1(n)._eval$1("MappedListIterable<1,2>"))},fold$1$2(e,t,n){var a,i,o=this.get$length(e);for(a=!0,i=0;i<o;++i)if(a=n.call$2(a,this.$index(e,i)),o!==this.get$length(e))throw r.wrapException(r.ConcurrentModificationError$(e));return a},fold$2(e,t,n){return this.fold$1$2(e,t,n,d.dynamic)},skip$1(e,t){return r.SubListIterable$(e,t,null,r.instanceType(e)._eval$1("ListMixin.E"))},toList$1$growable(e,t){var n,a,i,o,s=this;if(s.get$length(e)===0)return n=m.JSArray_JSArray$growable(0,r.instanceType(e)._eval$1("ListMixin.E")),n;for(a=s.$index(e,0),i=r.List_List$filled(s.get$length(e),a,!0,r.instanceType(e)._eval$1("ListMixin.E")),o=1;o<s.get$length(e);++o)i[o]=s.$index(e,o);return i},toList$0(e){return this.toList$1$growable(e,!0)},add$1(e,t){var n=this.get$length(e);this.set$length(e,n+1),this.$indexSet(e,n,t)},addAll$1(e,t){var n;for(this.get$length(e),n=m.get$iterator$ax(t);n.moveNext$0();)this.add$1(e,n.get$current())},_closeGap$2(e,t,n){var a,i=this,o=i.get$length(e),s=n-t;for(a=n;a<o;++a)i.$indexSet(e,a-s,i.$index(e,a));i.set$length(e,o-s)},$add(e,t){var n=r.List_List$of(e,!0,r.instanceType(e)._eval$1("ListMixin.E"));return l.JSArray_methods.addAll$1(n,t),n},setRange$4(e,t,n,a,i){var o,s,_,u,c;if(r.RangeError_checkValidRange(t,n,this.get$length(e)),o=n-t,o!==0){if(r.RangeError_checkNotNegative(i,"skipCount"),r.instanceType(e)._eval$1("List<ListMixin.E>")._is(a)?(s=i,_=a):(_=m.skip$1$ax(a,i).toList$1$growable(0,!1),s=0),u=m.getInterceptor$asx(_),s+o>u.get$length(_))throw r.wrapException(r.IterableElementError_tooFew());if(s<t)for(c=o-1;c>=0;--c)this.$indexSet(e,t+c,u.$index(_,s+c));else for(c=0;c<o;++c)this.$indexSet(e,t+c,u.$index(_,s+c))}},toString$0(e){return r.IterableBase_iterableToFullString(e,"[","]")}},r.MapBase.prototype={},r.MapBase_mapToString_closure.prototype={call$2(e,t){var n,a=this._box_0;a.first||(this.result._contents+=", "),a.first=!1,a=this.result,n=a._contents+=r.S(e),a._contents=n+": ",a._contents+=r.S(t)},$signature:15},r.MapMixin.prototype={forEach$1(e,t){var n,a,i,o,s=this;for(n=s.get$keys(s),n=n.get$iterator(n),a=r._instanceType(s)._eval$1("MapMixin.V");n.moveNext$0();)i=n.get$current(),o=s.$index(0,i),t.call$2(i,o??a._as(o))},get$length(e){var t=this.get$keys(this);return t.get$length(t)},get$isEmpty(e){var t=this.get$keys(this);return t.get$isEmpty(t)},toString$0(e){return r.MapBase_mapToString(this)},$isMap:1},r._UnmodifiableMapMixin.prototype={$indexSet(e,t,n){throw r.wrapException(r.UnsupportedError$("Cannot modify unmodifiable map"))}},r.MapView.prototype={$index(e,t){return this._collection$_map.$index(0,t)},$indexSet(e,t,n){this._collection$_map.$indexSet(0,t,n)},containsKey$1(e){return this._collection$_map.containsKey$1(e)},forEach$1(e,t){this._collection$_map.forEach$1(0,t)},get$isEmpty(e){return this._collection$_map.__js_helper$_length===0},get$length(e){return this._collection$_map.__js_helper$_length},get$keys(e){var t=this._collection$_map;return new r.LinkedHashMapKeyIterable(t,t.$ti._eval$1("LinkedHashMapKeyIterable<1>"))},toString$0(e){return r.MapBase_mapToString(this._collection$_map)},$isMap:1},r.UnmodifiableMapView.prototype={},r.SetMixin.prototype={map$1$1(e,t,n){return new r.EfficientLengthMappedIterable(this,t,r._instanceType(this)._eval$1("@<1>")._bind$1(n)._eval$1("EfficientLengthMappedIterable<1,2>"))},toString$0(e){return r.IterableBase_iterableToFullString(this,"{","}")}},r._SetBase.prototype={$isEfficientLengthIterable:1,$isIterable:1},r._ListBase_Object_ListMixin.prototype={},r._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype={},r.__SetBase_Object_SetMixin.prototype={},r._JsonMap.prototype={$index(e,t){var n,a=this._processed;return a==null?this._data.$index(0,t):typeof t!="string"?null:(n=a[t],typeof n>"u"?this._process$1(t):n)},get$length(e){return this._processed==null?this._data.__js_helper$_length:this._computeKeys$0().length},get$isEmpty(e){return this.get$length(this)===0},get$keys(e){var t;return this._processed==null?(t=this._data,new r.LinkedHashMapKeyIterable(t,r._instanceType(t)._eval$1("LinkedHashMapKeyIterable<1>"))):new r._JsonMapKeyIterable(this)},$indexSet(e,t,n){var a,i,o=this;o._processed==null?o._data.$indexSet(0,t,n):o.containsKey$1(t)?(a=o._processed,a[t]=n,i=o._original,(i==null?a!=null:i!==a)&&(i[t]=null)):o._upgrade$0().$indexSet(0,t,n)},containsKey$1(e){return this._processed==null?this._data.containsKey$1(e):Object.prototype.hasOwnProperty.call(this._original,e)},forEach$1(e,t){var n,a,i,o,s=this;if(s._processed==null)return s._data.forEach$1(0,t);for(n=s._computeKeys$0(),a=0;a<n.length;++a)if(i=n[a],o=s._processed[i],typeof o>"u"&&(o=r._convertJsonToDartLazy(s._original[i]),s._processed[i]=o),t.call$2(i,o),n!==s._data)throw r.wrapException(r.ConcurrentModificationError$(s))},_computeKeys$0(){var e=this._data;return e==null&&(e=this._data=r._setArrayType(Object.keys(this._original),d.JSArray_String)),e},_upgrade$0(){var e,t,n,a,i,o=this;if(o._processed==null)return o._data;for(e=r.LinkedHashMap_LinkedHashMap$_empty(d.String,d.dynamic),t=o._computeKeys$0(),n=0;a=t.length,n<a;++n)i=t[n],e.$indexSet(0,i,o.$index(0,i));return a===0?t.push(""):l.JSArray_methods.clear$0(t),o._original=o._processed=null,o._data=e},_process$1(e){var t;return Object.prototype.hasOwnProperty.call(this._original,e)?(t=r._convertJsonToDartLazy(this._original[e]),this._processed[e]=t):null}},r._JsonMapKeyIterable.prototype={get$length(e){var t=this._parent;return t.get$length(t)},elementAt$1(e,t){var n=this._parent;return n._processed==null?n.get$keys(n).elementAt$1(0,t):n._computeKeys$0()[t]},get$iterator(e){var t=this._parent;return t._processed==null?(t=t.get$keys(t),t=t.get$iterator(t)):(t=t._computeKeys$0(),t=new m.ArrayIterator(t,t.length)),t}},r.Codec.prototype={},r.Converter.prototype={},r.Encoding.prototype={},r.JsonUnsupportedObjectError.prototype={toString$0(e){var t=r.Error_safeToString(this.unsupportedObject);return(this.cause!=null?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+t}},r.JsonCyclicError.prototype={toString$0(e){return"Cyclic error in JSON stringify"}},r.JsonCodec.prototype={decode$2$reviver(e,t){var n=r._parseJson(e,this.get$decoder()._reviver);return n},encode$2$toEncodable(e,t){var n=r._JsonStringStringifier_stringify(e,this.get$encoder()._toEncodable,null);return n},get$encoder(){return l.JsonEncoder_null},get$decoder(){return l.JsonDecoder_null}},r.JsonEncoder.prototype={},r.JsonDecoder.prototype={},r._JsonStringifier.prototype={writeStringContent$1(e){var t,n,a,i,o,s,_=e.length;for(t=this._sink,n=0,a=0;a<_;++a){if(i=l.JSString_methods._codeUnitAt$1(e,a),i>92){i>=55296&&(o=i&64512,o===55296?(s=a+1,s=!(s<_&&(l.JSString_methods._codeUnitAt$1(e,s)&64512)===56320)):s=!1,s?o=!0:o===56320?(o=a-1,o=!(o>=0&&(l.JSString_methods.codeUnitAt$1(e,o)&64512)===55296)):o=!1,o&&(a>n&&(t._contents+=l.JSString_methods.substring$2(e,n,a)),n=a+1,o=t._contents+=r.Primitives_stringFromCharCode(92),o+=r.Primitives_stringFromCharCode(117),t._contents=o,o+=r.Primitives_stringFromCharCode(100),t._contents=o,s=i>>>8&15,o+=r.Primitives_stringFromCharCode(s<10?48+s:87+s),t._contents=o,s=i>>>4&15,o+=r.Primitives_stringFromCharCode(s<10?48+s:87+s),t._contents=o,s=i&15,t._contents=o+r.Primitives_stringFromCharCode(s<10?48+s:87+s)));continue}if(i<32)switch(a>n&&(t._contents+=l.JSString_methods.substring$2(e,n,a)),n=a+1,o=t._contents+=r.Primitives_stringFromCharCode(92),i){case 8:t._contents=o+r.Primitives_stringFromCharCode(98);break;case 9:t._contents=o+r.Primitives_stringFromCharCode(116);break;case 10:t._contents=o+r.Primitives_stringFromCharCode(110);break;case 12:t._contents=o+r.Primitives_stringFromCharCode(102);break;case 13:t._contents=o+r.Primitives_stringFromCharCode(114);break;default:o+=r.Primitives_stringFromCharCode(117),t._contents=o,o+=r.Primitives_stringFromCharCode(48),t._contents=o,o+=r.Primitives_stringFromCharCode(48),t._contents=o,s=i>>>4&15,o+=r.Primitives_stringFromCharCode(s<10?48+s:87+s),t._contents=o,s=i&15,t._contents=o+r.Primitives_stringFromCharCode(s<10?48+s:87+s);break}else(i===34||i===92)&&(a>n&&(t._contents+=l.JSString_methods.substring$2(e,n,a)),n=a+1,o=t._contents+=r.Primitives_stringFromCharCode(92),t._contents=o+r.Primitives_stringFromCharCode(i))}n===0?t._contents+=e:n<_&&(t._contents+=l.JSString_methods.substring$2(e,n,_))},_checkCycle$1(e){var t,n,a,i;for(t=this._seen,n=t.length,a=0;a<n;++a)if(i=t[a],e==null?i==null:e===i)throw r.wrapException(new r.JsonCyclicError(e,null));t.push(e)},writeObject$1(e){var t,n,a,i=this;if(!i.writeJsonValue$1(e)){i._checkCycle$1(e);try{if(t=i._toEncodable.call$1(e),!i.writeJsonValue$1(t))throw a=r.JsonUnsupportedObjectError$(e,null,i.get$_partialResult()),r.wrapException(a);i._seen.pop()}catch(o){throw n=r.unwrapException(o),a=r.JsonUnsupportedObjectError$(e,n,i.get$_partialResult()),r.wrapException(a)}}},writeJsonValue$1(e){var t,n,a=this;return typeof e=="number"?isFinite(e)?(a._sink._contents+=l.JSNumber_methods.toString$0(e),!0):!1:e===!0?(a._sink._contents+="true",!0):e===!1?(a._sink._contents+="false",!0):e==null?(a._sink._contents+="null",!0):typeof e=="string"?(t=a._sink,t._contents+='"',a.writeStringContent$1(e),t._contents+='"',!0):d.List_dynamic._is(e)?(a._checkCycle$1(e),a.writeList$1(e),a._seen.pop(),!0):d.Map_dynamic_dynamic._is(e)?(a._checkCycle$1(e),n=a.writeMap$1(e),a._seen.pop(),n):!1},writeList$1(e){var t,n,a=this._sink;if(a._contents+="[",t=m.getInterceptor$asx(e),t.get$isNotEmpty(e))for(this.writeObject$1(t.$index(e,0)),n=1;n<t.get$length(e);++n)a._contents+=",",this.writeObject$1(t.$index(e,n));a._contents+="]"},writeMap$1(e){var t,n,a,i,o,s=this,_={};if(e.get$isEmpty(e))return s._sink._contents+="{}",!0;if(t=e.get$length(e)*2,n=r.List_List$filled(t,null,!1,d.nullable_Object),a=_.i=0,_.allStringKeys=!0,e.forEach$1(0,new r._JsonStringifier_writeMap_closure(_,n)),!_.allStringKeys)return!1;for(i=s._sink,i._contents+="{",o='"';a<t;a+=2,o=',"')i._contents+=o,s.writeStringContent$1(r._asString(n[a])),i._contents+='":',s.writeObject$1(n[a+1]);return i._contents+="}",!0}},r._JsonStringifier_writeMap_closure.prototype={call$2(e,t){var n,a,i,o;typeof e!="string"&&(this._box_0.allStringKeys=!1),n=this.keyValueList,a=this._box_0,i=a.i,o=a.i=i+1,n[i]=e,a.i=o+1,n[o]=t},$signature:15},r._JsonStringStringifier.prototype={get$_partialResult(){var e=this._sink._contents;return e.charCodeAt(0)==0,e}},r.Utf8Codec.prototype={get$encoder(){return l.C_Utf8Encoder}},r.Utf8Encoder.prototype={convert$1(e){var t,n,a,i=r.RangeError_checkValidRange(0,null,e.length),o=i-0;return o===0?new Uint8Array(0):(t=o*3,n=new Uint8Array(t),a=new r._Utf8Encoder(n),a._fillBuffer$3(e,0,i)!==i&&(l.JSString_methods.codeUnitAt$1(e,i-1),a._writeReplacementCharacter$0()),new Uint8Array(n.subarray(0,r._checkValidRange(0,a._bufferIndex,t))))}},r._Utf8Encoder.prototype={_writeReplacementCharacter$0(){var e=this,t=e._convert$_buffer,n=e._bufferIndex,a=e._bufferIndex=n+1;t[n]=239,n=e._bufferIndex=a+1,t[a]=191,e._bufferIndex=n+1,t[n]=189},_writeSurrogate$2(e,t){var n,a,i,o,s=this;return(t&64512)===56320?(n=65536+((e&1023)<<10)|t&1023,a=s._convert$_buffer,i=s._bufferIndex,o=s._bufferIndex=i+1,a[i]=n>>>18|240,i=s._bufferIndex=o+1,a[o]=n>>>12&63|128,o=s._bufferIndex=i+1,a[i]=n>>>6&63|128,s._bufferIndex=o+1,a[o]=n&63|128,!0):(s._writeReplacementCharacter$0(),!1)},_fillBuffer$3(e,t,n){var a,i,o,s,_,u,c,p=this;for(t!==n&&(l.JSString_methods.codeUnitAt$1(e,n-1)&64512)===55296&&--n,a=p._convert$_buffer,i=a.length,o=t;o<n;++o)if(s=l.JSString_methods._codeUnitAt$1(e,o),s<=127){if(_=p._bufferIndex,_>=i)break;p._bufferIndex=_+1,a[_]=s}else if(_=s&64512,_===55296){if(p._bufferIndex+4>i)break;u=o+1,p._writeSurrogate$2(s,l.JSString_methods._codeUnitAt$1(e,u))&&(o=u)}else if(_===56320){if(p._bufferIndex+3>i)break;p._writeReplacementCharacter$0()}else if(s<=2047){if(_=p._bufferIndex,c=_+1,c>=i)break;p._bufferIndex=c,a[_]=s>>>6|192,p._bufferIndex=c+1,a[c]=s&63|128}else{if(_=p._bufferIndex,_+2>=i)break;c=p._bufferIndex=_+1,a[_]=s>>>12|224,_=p._bufferIndex=c+1,a[c]=s>>>6&63|128,p._bufferIndex=_+1,a[_]=s&63|128}return o}},r.NoSuchMethodError_toString_closure.prototype={call$2(e,t){var n=this.sb,a=this._box_0,i=n._contents+=a.comma;i+=e.__internal$_name,n._contents=i,n._contents=i+": ",n._contents+=r.Error_safeToString(t),a.comma=", "},$signature:45},r.DateTime.prototype={add$1(e,t){return r.DateTime$_withValue(this._value+l.JSInt_methods._tdivFast$1(t._duration,1e3),this.isUtc)},$eq(e,t){return t==null?!1:t instanceof r.DateTime&&this._value===t._value&&this.isUtc===t.isUtc},get$hashCode(e){var t=this._value;return(t^l.JSInt_methods._shrOtherPositive$1(t,30))&1073741823},toLocal$0(){return this.isUtc?r.DateTime$_withValue(this._value,!1):this},toUtc$0(){return this.isUtc?this:r.DateTime$_withValue(this._value,!0)},toString$0(e){var t=this,n=r.DateTime__fourDigits(r.Primitives_getYear(t)),a=r.DateTime__twoDigits(r.Primitives_getMonth(t)),i=r.DateTime__twoDigits(r.Primitives_getDay(t)),o=r.DateTime__twoDigits(r.Primitives_getHours(t)),s=r.DateTime__twoDigits(r.Primitives_getMinutes(t)),_=r.DateTime__twoDigits(r.Primitives_getSeconds(t)),u=r.DateTime__threeDigits(r.Primitives_getMilliseconds(t)),c=n+"-"+a;return t.isUtc?c+"-"+i+" "+o+":"+s+":"+_+"."+u+"Z":c+"-"+i+" "+o+":"+s+":"+_+"."+u}},r.DateTime_parse_parseIntOrZero.prototype={call$1(e){return e==null?0:r.int_parse(e)},$signature:16},r.DateTime_parse_parseMilliAndMicroseconds.prototype={call$1(e){var t,n,a;if(e==null)return 0;for(t=e.length,n=0,a=0;a<6;++a)n*=10,a<t&&(n+=l.JSString_methods._codeUnitAt$1(e,a)^48);return n},$signature:16},r.Duration.prototype={$add(e,t){return new r.Duration(this._duration+t._duration)},$eq(e,t){return t==null?!1:t instanceof r.Duration&&this._duration===t._duration},get$hashCode(e){return l.JSInt_methods.get$hashCode(this._duration)},toString$0(e){var t,n,a,i,o=this._duration,s=o<0?"-":"",_=l.JSInt_methods._tdivFast$1(o,36e8);return o%=36e8,o<0&&(o=-o),t=l.JSInt_methods._tdivFast$1(o,6e7),o%=6e7,n=t<10?"0":"",a=l.JSInt_methods._tdivFast$1(o,1e6),i=a<10?"0":"",s+Math.abs(_)+":"+n+t+":"+i+a+"."+l.JSString_methods.padLeft$2(l.JSInt_methods.toString$0(o%1e6),6,"0")}},r._Enum.prototype={toString$0(e){return this._enumToString$0()}},r.Error.prototype={},r.AssertionError.prototype={toString$0(e){var t=this.message;return t!=null?"Assertion failed: "+r.Error_safeToString(t):"Assertion failed"}},r.TypeError.prototype={},r.NullThrownError.prototype={toString$0(e){return"Throw of null."}},r.ArgumentError.prototype={get$_errorName(){return"Invalid argument"+(this._hasValue?"":"(s)")},get$_errorExplanation(){return""},toString$0(e){var t=this,n=t.name,a=n==null?"":" ("+n+")",i=t.message,o=i==null?"":": "+r.S(i),s=t.get$_errorName()+a+o;return t._hasValue?s+t.get$_errorExplanation()+": "+r.Error_safeToString(t.get$invalidValue()):s},get$invalidValue(){return this.invalidValue}},r.RangeError.prototype={get$invalidValue(){return this.invalidValue},get$_errorName(){return"RangeError"},get$_errorExplanation(){var e,t=this.start,n=this.end;return t==null?e=n!=null?": Not less than or equal to "+r.S(n):"":n==null?e=": Not greater than or equal to "+r.S(t):n>t?e=": Not in inclusive range "+r.S(t)+".."+r.S(n):e=n<t?": Valid value range is empty":": Only valid value is "+r.S(t),e}},r.IndexError.prototype={get$invalidValue(){return this.invalidValue},get$_errorName(){return"RangeError"},get$_errorExplanation(){if(this.invalidValue<0)return": index must not be negative";var e=this.length;return e===0?": no indices are valid":": index should be less than "+e},get$length(e){return this.length}},r.NoSuchMethodError.prototype={toString$0(e){var t,n,a,i,o,s,_,u,c=this,p={},f=new r.StringBuffer("");for(p.comma="",t=c._core$_arguments,n=t.length,a=0,i="",o="";a<n;++a,o=", ")s=t[a],f._contents=i+o,i=f._contents+=r.Error_safeToString(s),p.comma=", ";return c._namedArguments.forEach$1(0,new r.NoSuchMethodError_toString_closure(p,f)),_=r.Error_safeToString(c._core$_receiver),u=f.toString$0(0),"NoSuchMethodError: method not found: '"+c._memberName.__internal$_name+`'
|
|
2
|
-
Receiver: `+_+`
|
|
3
|
-
Arguments: [`+u+"]"}},r.UnsupportedError.prototype={toString$0(e){return"Unsupported operation: "+this.message}},r.UnimplementedError.prototype={toString$0(e){return"UnimplementedError: "+this.message}},r.StateError.prototype={toString$0(e){return"Bad state: "+this.message}},r.ConcurrentModificationError.prototype={toString$0(e){var t=this.modifiedObject;return t==null?"Concurrent modification during iteration.":"Concurrent modification during iteration: "+r.Error_safeToString(t)+"."}},r.OutOfMemoryError.prototype={toString$0(e){return"Out of Memory"},$isError:1},r.StackOverflowError.prototype={toString$0(e){return"Stack Overflow"},$isError:1},r.CyclicInitializationError.prototype={toString$0(e){return"Reading static variable '"+this.variableName+"' during its initialization"}},r._Exception.prototype={toString$0(e){return"Exception: "+this.message}},r.FormatException.prototype={toString$0(e){var t=this.message,n=t!==""?"FormatException: "+t:"FormatException",a=this.source;return typeof a=="string"?(a.length>78&&(a=l.JSString_methods.substring$2(a,0,75)+"..."),n+`
|
|
4
|
-
`+a):n}},r.Iterable.prototype={map$1$1(e,t,n){return r.MappedIterable_MappedIterable(this,t,r._instanceType(this)._eval$1("Iterable.E"),n)},where$1(e,t){return new r.WhereIterable(this,t,r._instanceType(this)._eval$1("WhereIterable<Iterable.E>"))},forEach$1(e,t){var n;for(n=this.get$iterator(this);n.moveNext$0();)t.call$1(n.get$current())},join$1(e,t){var n,a=this.get$iterator(this);if(!a.moveNext$0())return"";if(t===""){n="";do n+=r.S(m.toString$0$(a.get$current()));while(a.moveNext$0())}else for(n=""+r.S(m.toString$0$(a.get$current()));a.moveNext$0();)n=n+t+r.S(m.toString$0$(a.get$current()));return n.charCodeAt(0)==0,n},toList$1$growable(e,t){return r.List_List$of(this,t,r._instanceType(this)._eval$1("Iterable.E"))},toList$0(e){return this.toList$1$growable(e,!0)},get$length(e){var t,n=this.get$iterator(this);for(t=0;n.moveNext$0();)++t;return t},get$isEmpty(e){return!this.get$iterator(this).moveNext$0()},skip$1(e,t){return r.SkipIterable_SkipIterable(this,t,r._instanceType(this)._eval$1("Iterable.E"))},get$first(e){var t=this.get$iterator(this);if(!t.moveNext$0())throw r.wrapException(r.IterableElementError_noElement());return t.get$current()},elementAt$1(e,t){var n,a,i;for(r.RangeError_checkNotNegative(t,"index"),n=this.get$iterator(this),a=0;n.moveNext$0();){if(i=n.get$current(),t===a)return i;++a}throw r.wrapException(r.IndexError$withLength(t,a,this,null,"index"))},toString$0(e){return r.IterableBase_iterableToShortString(this,"(",")")}},r._GeneratorIterable.prototype={elementAt$1(e,t){return r.IndexError_check(t,this.length,this,null,null),this._generator.call$1(t)},get$length(e){return this.length}},r.Iterator.prototype={},r.Null.prototype={get$hashCode(e){return r.Object.prototype.get$hashCode.call(this,this)},toString$0(e){return"null"}},r.Object.prototype={$isObject:1,$eq(e,t){return this===t},get$hashCode(e){return r.Primitives_objectHashCode(this)},toString$0(e){return"Instance of '"+r.Primitives_objectTypeName(this)+"'"},noSuchMethod$1(e,t){throw r.wrapException(r.NoSuchMethodError$_(this,t.get$memberName(),t.get$positionalArguments(),t.get$namedArguments(),null))},get$runtimeType(e){return r.getRuntimeType(this)},toString(){return this.toString$0(this)}},r.Sink.prototype={},r.StringBuffer.prototype={get$length(e){return this._contents.length},toString$0(e){var t=this._contents;return t.charCodeAt(0)==0,t}},r.Endian.prototype={},r.ListSlice.prototype={$index(e,t){var n=this,a=n.source;if(a.length!==n._initialSize)throw r.wrapException(r.ConcurrentModificationError$(a));return r.RangeError_checkValidIndex(t,n,null,n.length),a[n.start+t]},$indexSet(e,t,n){var a=this,i=a.source;if(i.length!==a._initialSize)throw r.wrapException(r.ConcurrentModificationError$(i));r.RangeError_checkValidIndex(t,a,null,a.length),i[a.start+t]=n},set$length(e,t){throw r.wrapException(r.UnsupportedError$(Y.Cannot))},add$1(e,t){throw r.wrapException(r.UnsupportedError$("Cannot add to a fixed-length list"))},addAll$1(e,t){throw r.wrapException(r.UnsupportedError$("Cannot add to a fixed-length list"))},get$length(e){return this.length}},r.Digest.prototype={$eq(e,t){var n,a,i,o,s;if(t==null)return!1;if(t instanceof r.Digest){if(n=this.bytes,a=t.bytes,i=n.length,i!==a.length)return!1;for(o=0,s=0;s<i;++s)o|=n[s]^a[s];return o===0}return!1},get$hashCode(e){return r.Object_hashAll(this.bytes)},toString$0(e){return r._hexEncode(this.bytes)}},r.DigestSink.prototype={},r.HashSink.prototype={close$0(e){var t,n,a=this;a._isClosed||(a._isClosed=!0,a._finalizeData$0(),a._iterate$0(),t=a._hash_sink$_sink,n=a._byteDigest$0(),t._digest_sink$_value!=null&&r.throwExpression(r.StateError$("add may only be called once.")),t._digest_sink$_value=new r.Digest(n))},_byteDigest$0(){var e,t,n,a,i;if(l.C_Endian===y.$get$Endian_host())return e=this.digest.buffer,r._checkViewArguments(e,0,null),e=new Uint8Array(e,0),e;for(t=this.digest,e=t.byteLength,n=new Uint8Array(e),a=r.NativeByteData_NativeByteData$view(n.buffer,0,null),i=0;i<5;++i)a.setUint32(i*4,t[i],!1);return n},_iterate$0(){var e,t,n,a=this._pendingData,i=r.NativeByteData_NativeByteData$view(a._buffer.buffer,0,null),o=this._currentChunk,s=l.JSInt_methods.$tdiv(a._typed_buffer$_length,o.byteLength);for(e=o.length,t=0;t<s;++t){for(n=0;n<e;++n)o[n]=i.getUint32(t*o.byteLength+n*4,!1);this.updateHash$1(o)}o=s*o.byteLength,r.RangeError_checkValidRange(0,o,a.get$length(a)),o>0&&a._closeGap$2(a,0,o)},_finalizeData$0(){var e,t,n,a,i,o,s=this,_=s._pendingData;for(_._typed_buffer$_add$1(128),e=s._lengthInBytes+1+8,t=s._currentChunk.byteLength,t=((e+t-1&-t)>>>0)-e,n=0;n<t;++n)_._typed_buffer$_add$1(0);if(t=s._lengthInBytes,t>0x3ffffffffffff)throw r.wrapException(r.UnsupportedError$("Hashing is unsupported for messages with more than 2^53 bits."));a=t*8,i=_._typed_buffer$_length,_.addAll$1(0,new Uint8Array(8)),o=r.NativeByteData_NativeByteData$view(_._buffer.buffer,0,null),o.setUint32(i,l.JSInt_methods._tdivFast$1(a,4294967296),!1),o.setUint32(i+4,a>>>0,!1)}},r._Sha1Sink.prototype={updateHash$1(e){var t,n,a,i,o,s=this.digest,_=s[0],u=s[1],c=s[2],p=s[3],f=s[4];for(t=this._extended,n=0;n<80;++n,f=p,p=c,c=o,u=_,_=i)n<16?t[n]=e[n]:(a=t[n-3]^t[n-8]^t[n-14]^t[n-16],t[n]=(a<<1|a>>>31)>>>0),i=(((_<<5|_>>>27)>>>0)+f>>>0)+t[n]>>>0,n<20?i=(i+((u&c|~u&p)>>>0)>>>0)+1518500249>>>0:n<40?i=(i+((u^c^p)>>>0)>>>0)+1859775393>>>0:i=n<60?(i+((u&c|u&p|c&p)>>>0)>>>0)+2400959708>>>0:(i+((u^c^p)>>>0)>>>0)+3395469782>>>0,o=(u<<30|u>>>2)>>>0;s[0]=_+s[0]>>>0,s[1]=u+s[1]>>>0,s[2]=c+s[2]>>>0,s[3]=p+s[3]>>>0,s[4]=f+s[4]>>>0}},r.DateSymbols.prototype={toString$0(e){return this.NAME}},r.DateBuilder.prototype={setYear$1(e){this.year=e},setMonth$1(e){this.month=e},setDay$1(e){this.day=e},setDayOfYear$1(e){this.dayOfYear=e},setHour$1(e){this.hour=e},setMinute$1(e){this.minute=e},setSecond$1(e){this.second=e},setFractionalSecond$1(e){this.fractionalSecond=e},_offsetYear$2(e,t){return this._dateTimeConstructor.call$8(r.Primitives_getYear(e)+t,r.Primitives_getMonth(e),r.Primitives_getDay(e),r.Primitives_getHours(e),r.Primitives_getMinutes(e),r.Primitives_getSeconds(e),r.Primitives_getMilliseconds(e),e.isUtc)},asDate$1$retries(e){var t,n,a,i,o,s,_,u,c,p,f,h=this,g=h._date;return g!=null||(h._hasAmbiguousCentury?(g=h.year,t=g<0||g>=100):t=!0,t?(g=h.year,n=h.month,a=h.dayOfYear,a===0&&(a=h.day),i=h.pm,o=h.hour,i=i?o+12:o,s=h._dateTimeConstructor.call$8(g,n,a,i,h.minute,h.second,h.fractionalSecond,h.utc)):(y.$get$_clockKey(),_=r.systemTime(),h.utc&&(_=_.toUtc$0()),u=h._offsetYear$2(_,-80),c=h._offsetYear$2(_,20),g=l.JSInt_methods._tdivFast$1(r.Primitives_getYear(u),100),n=l.JSInt_methods._tdivFast$1(r.Primitives_getYear(c),100),a=h.year,i=h.month,o=h.dayOfYear,o===0&&(o=h.day),p=h.pm,f=h.hour,p=p?f+12:f,f=h._dateTimeConstructor,s=f.call$8(n*100+a,i,o,p,h.minute,h.second,h.fractionalSecond,h.utc),l.JSInt_methods.compareTo$1(s._value,c._value)<=0||(n=h.year,a=h.month,i=h.dayOfYear,i===0&&(i=h.day),o=h.pm,p=h.hour,o=o?p+12:p,s=f.call$8(g*100+n,a,i,o,h.minute,h.second,h.fractionalSecond,h.utc))),h.utc&&t?(h._date=s,g=s):g=h._date=h._correctForErrors$2(s,e)),g},asDate$0(){return this.asDate$1$retries(3)},_correctForErrors$2(e,t){var n,a,i,o,s,_,u,c=this;return t<=0?e:(n=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(e),2,29,0,0,0,0,!1),r._isInt(n)||r.throwExpression(r.argumentErrorValue(n)),a=r.Primitives_getMonth(new r.DateTime(n,!1))===2,i=r.dayOfYear(r.Primitives_getMonth(e),r.Primitives_getDay(e),a),c.utc?n=!1:e.isUtc?(n=c.pm,o=c.hour,n=n?o+12:o,r.Primitives_getHours(e)===n&&r.Primitives_getDay(e),n=!0):n=!1,n?(++c._retried,c.asDate$1$retries(t-1)):c.dateOnly&&r.Primitives_getHours(e)!==0?(s=c.asDate$1$retries(t-1),s.$eq(0,e)?(_=c.dayOfYear,_===0&&(_=r.dayOfYear(c.month,c.day,a)),u=e.add$1(0,r.Duration$(0,(_-i)*24-r.Primitives_getHours(e),0)),r.Primitives_getHours(u)===0?u:r.dayOfYear(r.Primitives_getMonth(u),r.Primitives_getDay(u),a)!==_?e:u):s):e)}},r.DateFormat.prototype={format$1(e){var t,n,a,i;for(t=this.get$_formatFields(),n=t.length,a=0,i="";a<t.length;t.length===n||(0,r.throwConcurrentModificationError)(t),++a)i+=t[a].format$1(e);return i.charCodeAt(0)==0,i},_date_format$_parse$3$strict$utc(e,t,n){var a,i,o,s=this,_=new r.DateBuilder(s._locale,s.dateTimeConstructor),u=s._dateOnly;for(_.dateOnly=u??(s._dateOnly=s.get$_checkDateOnly()),a=new r.StringStack(e),u=s.get$_formatFields(),i=u.length,o=0;o<u.length;u.length===i||(0,r.throwConcurrentModificationError)(u),++o)u[o].parse$2(a,_);return _.asDate$0()},get$_checkDateOnly(){return l.JSArray_methods.every$1(this.get$_formatFields(),new r.DateFormat__checkDateOnly_closure)},get$_formatFields(){var e,t=this,n=t._formatFieldsPrivate;return n==null&&(t._date_format$_pattern==null&&(t.addPattern$1("yMMMMd"),t.addPattern$1("jms")),n=t._date_format$_pattern,n.toString,n=t._parsePatternHelper$1(n),e=r._arrayInstanceType(n)._eval$1("ReversedListIterable<1>"),e=t._formatFieldsPrivate=r.List_List$of(new r.ReversedListIterable(n,e),!0,e._eval$1("ListIterable.E")),n=e),n},_appendPattern$2(e,t){var n=this._date_format$_pattern;this._date_format$_pattern=n==null?e:n+t+e},addPattern$1(e){var t,n,a=this;return a._formatFieldsPrivate=null,t=y.$get$dateTimePatterns(),n=a._locale,t.toString,(r.canonicalizedLocale(n)==="en_US"?t.fallbackData:t._throwException$0()).containsKey$1(e)?(t=y.$get$dateTimePatterns(),t.toString,a._appendPattern$2((r.canonicalizedLocale(n)==="en_US"?t.fallbackData:t._throwException$0()).$index(0,e)," ")):a._appendPattern$2(e," "),a},get$dateSymbols(){var e,t=this._locale;return t!==y.lastDateSymbolLocale&&(y.lastDateSymbolLocale=t,e=y.$get$_dateTimeSymbols(),e.toString,y.cachedDateSymbols=r.canonicalizedLocale(t)==="en_US"?e.fallbackData:e._throwException$0()),t=y.cachedDateSymbols,t.toString,t},get$useNativeDigits(){var e=this._useNativeDigits;return e==null&&(y.DateFormat__useNativeDigitsByDefault.$index(0,this._locale),e=this._useNativeDigits=!0),e},get$digitMatcher(){var e=this,t=e._digitMatcher;return t!=null||(t=y.DateFormat__digitMatchers.putIfAbsent$2(e.get$localeZero(),e.get$_initDigitMatcher()),e._digitMatcher=t,t.toString),t},get$localeZeroCodeUnit(){var e=this._localeZeroCodeUnit;return e??(this._localeZeroCodeUnit=l.JSString_methods._codeUnitAt$1(this.get$localeZero(),0))},get$localeZero(){var e=this,t=e._localeZero;return t==null&&(e.get$useNativeDigits(),e.get$dateSymbols(),t=e._localeZero="0"),t},_localizeDigits$1(e){var t,n,a,i,o,s,_,u=this;if(u.get$useNativeDigits(),t=u._localeZeroCodeUnit,n=y.$get$asciiZeroCodeUnit(),t==n)return e;for(t=e.length,a=r.List_List$filled(t,0,!1,d.int),i=u._locale,o=0;o<t;++o)s=l.JSString_methods._codeUnitAt$1(e,o),_=u._localeZeroCodeUnit,_==null&&(_=u._localeZero,_==null&&(_=u._useNativeDigits,_==null&&(y.DateFormat__useNativeDigitsByDefault.$index(0,i),_=u._useNativeDigits=!0),_&&(i!==y.lastDateSymbolLocale&&(y.lastDateSymbolLocale=i,_=y.$get$_dateTimeSymbols(),_.toString,y.cachedDateSymbols=r.canonicalizedLocale(i)==="en_US"?_.fallbackData:_._throwException$0()),y.cachedDateSymbols.toString),_=u._localeZero="0"),_=u._localeZeroCodeUnit=l.JSString_methods._codeUnitAt$1(_,0)),a[o]=s+_-n;return r.String_String$fromCharCodes(a)},_initDigitMatcher$0(){var e,t;return this.get$useNativeDigits(),e=this._localeZeroCodeUnit,t=y.$get$asciiZeroCodeUnit(),e==t?y.$get$asciiDigitMatcher():(e=d.int,r.RegExp_RegExp("^["+r.String_String$fromCharCodes(r.Iterable_Iterable$generate(10,new r.DateFormat__initDigitMatcher_closure,e).map$1$1(0,new r.DateFormat__initDigitMatcher_closure0(this),e).toList$0(0))+"]+",!1))},_parsePatternHelper$1(e){var t,n;return e.length===0?r._setArrayType([],d.JSArray__DateFormatField):(t=this._match$1(e),t==null?r._setArrayType([],d.JSArray__DateFormatField):(n=this._parsePatternHelper$1(l.JSString_methods.substring$1(e,t.fullPattern$0().length)),n.push(t),n))},_match$1(e){var t,n,a,i;for(t=0;n=y.$get$DateFormat__matchers(),t<3;++t)if(a=n[t].firstMatch$1(e),a!=null)return n=r.DateFormat__fieldConstructors()[t],i=a.__js_helper$_match[0],i.toString,n.call$2(i,this);return null}},r.DateFormat_dateTimeConstructor_closure.prototype={call$8(e,t,n,a,i,o,s,_){var u;return _?(u=r.Primitives_valueFromDecomposedDate(e,t,n,a,i,o,s,!0),r._isInt(u)||r.throwExpression(r.argumentErrorValue(u)),new r.DateTime(u,!0)):(u=r.Primitives_valueFromDecomposedDate(e,t,n,a,i,o,s,!1),r._isInt(u)||r.throwExpression(r.argumentErrorValue(u)),new r.DateTime(u,!1))},"call*":"call$8",$requiredArgCount:8,$signature:94},r.DateFormat__checkDateOnly_closure.prototype={call$1(e){return e.get$forDate()},$signature:37},r.DateFormat__initDigitMatcher_closure.prototype={call$1(e){return e},$signature:17},r.DateFormat__initDigitMatcher_closure0.prototype={call$1(e){return this.$this.get$localeZeroCodeUnit()+e},$signature:17},r.DateFormat__fieldConstructors_closure.prototype={call$2(e,t){var n=r._DateFormatQuotedField__patchQuotes(e);return l.JSString_methods.trim$0(n),new r._DateFormatQuotedField(e,n,t)},$signature:42},r.DateFormat__fieldConstructors_closure0.prototype={call$2(e,t){return l.JSString_methods.trim$0(e),new r._DateFormatPatternField(e,t)},$signature:44},r.DateFormat__fieldConstructors_closure1.prototype={call$2(e,t){return l.JSString_methods.trim$0(e),new r._DateFormatLiteralField(e,t)},$signature:100},r._DateFormatField.prototype={get$forDate(){return!0},fullPattern$0(){return this.pattern},toString$0(e){return this.pattern},format$1(e){return this.pattern},parseLiteral$1(e){var t=this.pattern,n=t.length,a=e.peek$1(n);e._string_stack$_index+=n,a!==t&&this.throwFormatException$1(e)},throwFormatException$1(e){throw r.wrapException(r.FormatException$("Trying to read "+this.toString$0(0)+" from "+e.toString$0(0),null))}},r._DateFormatLiteralField.prototype={parse$2(e,t){this.parseLiteral$1(e)}},r._DateFormatQuotedField.prototype={fullPattern$0(){return this._fullPattern},parse$2(e,t){this.parseLiteral$1(e)}},r._DateFormatPatternField.prototype={format$1(e){return this.formatField$1(e)},parse$2(e,t){this.parseField$2(e,t)},get$forDate(){var e=this._forDate;return e??(this._forDate=l.JSString_methods.contains$1("cdDEGLMQvyZz",this.pattern[0]))},parseField$2(e,t){var n,a,i=this;try{switch(n=i.pattern,n[0]){case"a":i.parseEnumeratedString$2(e,i.parent.get$dateSymbols().AMPMS)===1&&(t.pm=!0);break;case"c":i.parseStandaloneDay$1(e);break;case"d":i.handleNumericField$2(e,t.get$setDay());break;case"D":i.handleNumericField$2(e,t.get$setDayOfYear());break;case"E":a=i.parent,i.parseEnumeratedString$2(e,n.length>=4?a.get$dateSymbols().WEEKDAYS:a.get$dateSymbols().SHORTWEEKDAYS);break;case"G":a=i.parent,i.parseEnumeratedString$2(e,n.length>=4?a.get$dateSymbols().ERANAMES:a.get$dateSymbols().ERAS);break;case"h":i.handleNumericField$2(e,t.get$setHour()),t.hour===12&&(t.hour=0);break;case"H":i.handleNumericField$2(e,t.get$setHour());break;case"K":i.handleNumericField$2(e,t.get$setHour());break;case"k":i.handleNumericField$3(e,t.get$setHour(),-1);break;case"L":i.parseStandaloneMonth$2(e,t);break;case"M":i.parseMonth$2(e,t);break;case"m":i.handleNumericField$2(e,t.get$setMinute());break;case"Q":break;case"S":i.handleNumericField$2(e,t.get$setFractionalSecond());break;case"s":i.handleNumericField$2(e,t.get$setSecond());break;case"v":break;case"y":i.handleNumericField$2(e,t.get$setYear()),t._hasAmbiguousCentury=n.length===2;break;case"z":break;case"Z":break;default:return}}catch{i.throwFormatException$1(e)}},formatField$1(e){var t,n,a,i,o,s=this,_="0",u=s.pattern;switch(u[0]){case"a":return t=r.Primitives_getHours(e),n=t>=12&&t<24?1:0,s.parent.get$dateSymbols().AMPMS[n];case"c":return s.formatStandaloneDay$1(e);case"d":return s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getDay(e),u.length,_));case"D":return a=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(e),2,29,0,0,0,0,!1),r._isInt(a)||r.throwExpression(r.argumentErrorValue(a)),s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.dayOfYear(r.Primitives_getMonth(e),r.Primitives_getDay(e),r.Primitives_getMonth(new r.DateTime(a,!1))===2),u.length,_));case"E":return a=s.parent,u=u.length>=4?a.get$dateSymbols().WEEKDAYS:a.get$dateSymbols().SHORTWEEKDAYS,u[l.JSInt_methods.$mod(r.Primitives_getWeekday(e),7)];case"G":return i=r.Primitives_getYear(e)>0?1:0,a=s.parent,u.length>=4?a.get$dateSymbols().ERANAMES[i]:a.get$dateSymbols().ERAS[i];case"h":return t=r.Primitives_getHours(e),r.Primitives_getHours(e)>12&&(t-=12),s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+(t===0?12:t),u.length,_));case"H":return s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getHours(e),u.length,_));case"K":return s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+l.JSInt_methods.$mod(r.Primitives_getHours(e),12),u.length,_));case"k":return s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+(r.Primitives_getHours(e)===0?24:r.Primitives_getHours(e)),u.length,_));case"L":return s.formatStandaloneMonth$1(e);case"M":return s.formatMonth$1(e);case"m":return s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getMinutes(e),u.length,_));case"Q":return s.formatQuarter$1(e);case"S":return s.formatFractionalSeconds$1(e);case"s":return s.parent._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getSeconds(e),u.length,_));case"y":return o=r.Primitives_getYear(e),o<0&&(o=-o),u=u.length,a=s.parent,u===2?a._localizeDigits$1(l.JSString_methods.padLeft$2(""+l.JSInt_methods.$mod(o,100),2,_)):a._localizeDigits$1(l.JSString_methods.padLeft$2(""+o,u,_));default:return""}},handleNumericField$3(e,t,n){var a=this.parent;t.call$1(this._nextInteger$3(e,a.get$digitMatcher(),a.get$localeZeroCodeUnit())+n)},handleNumericField$2(e,t){return this.handleNumericField$3(e,t,0)},_nextInteger$3(e,t,n){var a,i,o,s,_=t.stringMatch$1(e.peek$1(e.contents.length-e._string_stack$_index));if(_==null||_.length===0)return this.throwFormatException$1(e);if(a=_.length,e._string_stack$_index+=a,i=y.$get$asciiZeroCodeUnit(),n!==i){for(a>4294967295&&r.throwExpression(r.RangeError$range(a,0,4294967295,"length",null)),o=m.JSArray_JSArray$markFixed(new Array(a),d.int),s=0;s<a;++s)o[s]=l.JSString_methods._codeUnitAt$1(_,s)-n+i;_=r.String_String$fromCharCodes(o)}return r.int_parse(_)},parseEnumeratedString$2(e,t){var n,a,i,o,s,_,u,c,p=r._setArrayType([],d.JSArray_int);for(n=t.length,a=e.contents,i=a.length,o=0;o<n;++o)s=t[o],_=e._string_stack$_index,l.JSString_methods.substring$2(a,_,Math.min(_+s.length,i))===s&&p.push(o);for(p.length===0&&this.throwFormatException$1(e),u=l.JSArray_methods.get$first(p),p=r.SubListIterable$(p,1,null,d.int),p=new r.ListIterator(p,p.get$length(p)),n=r._instanceType(p)._precomputed1;p.moveNext$0();)a=p.__internal$_current,c=a??n._as(a),t[c].length>=t[u].length&&(u=c);return e._string_stack$_index+=t[u].length,u},formatMonth$1(e){var t=this.pattern.length,n=this.parent;switch(t){case 5:return n.get$dateSymbols().NARROWMONTHS[r.Primitives_getMonth(e)-1];case 4:return n.get$dateSymbols().MONTHS[r.Primitives_getMonth(e)-1];case 3:return n.get$dateSymbols().SHORTMONTHS[r.Primitives_getMonth(e)-1];default:return n._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getMonth(e),t,"0"))}},parseMonth$2(e,t){var n,a=this;switch(a.pattern.length){case 5:n=a.parent.get$dateSymbols().NARROWMONTHS;break;case 4:n=a.parent.get$dateSymbols().MONTHS;break;case 3:n=a.parent.get$dateSymbols().SHORTMONTHS;break;default:return a.handleNumericField$2(e,t.get$setMonth())}t.month=a.parseEnumeratedString$2(e,n)+1},formatFractionalSeconds$1(e){var t=this.parent,n=t._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getMilliseconds(e),3,"0")),a=this.pattern.length-3;return a>0?n+t._localizeDigits$1(l.JSString_methods.padLeft$2("0",a,"0")):n},formatStandaloneDay$1(e){var t=this.parent;switch(this.pattern.length){case 5:return t.get$dateSymbols().STANDALONENARROWWEEKDAYS[l.JSInt_methods.$mod(r.Primitives_getWeekday(e),7)];case 4:return t.get$dateSymbols().STANDALONEWEEKDAYS[l.JSInt_methods.$mod(r.Primitives_getWeekday(e),7)];case 3:return t.get$dateSymbols().STANDALONESHORTWEEKDAYS[l.JSInt_methods.$mod(r.Primitives_getWeekday(e),7)];default:return t._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getDay(e),1,"0"))}},parseStandaloneDay$1(e){var t,n=this;switch(n.pattern.length){case 5:t=n.parent.get$dateSymbols().STANDALONENARROWWEEKDAYS;break;case 4:t=n.parent.get$dateSymbols().STANDALONEWEEKDAYS;break;case 3:t=n.parent.get$dateSymbols().STANDALONESHORTWEEKDAYS;break;default:return n.handleNumericField$2(e,new r._DateFormatPatternField_parseStandaloneDay_closure)}n.parseEnumeratedString$2(e,t)},formatStandaloneMonth$1(e){var t=this.pattern.length,n=this.parent;switch(t){case 5:return n.get$dateSymbols().STANDALONENARROWMONTHS[r.Primitives_getMonth(e)-1];case 4:return n.get$dateSymbols().STANDALONEMONTHS[r.Primitives_getMonth(e)-1];case 3:return n.get$dateSymbols().STANDALONESHORTMONTHS[r.Primitives_getMonth(e)-1];default:return n._localizeDigits$1(l.JSString_methods.padLeft$2(""+r.Primitives_getMonth(e),t,"0"))}},parseStandaloneMonth$2(e,t){var n,a=this;switch(a.pattern.length){case 5:n=a.parent.get$dateSymbols().STANDALONENARROWMONTHS;break;case 4:n=a.parent.get$dateSymbols().STANDALONEMONTHS;break;case 3:n=a.parent.get$dateSymbols().STANDALONESHORTMONTHS;break;default:return a.handleNumericField$2(e,t.get$setMonth())}t.month=a.parseEnumeratedString$2(e,n)+1},formatQuarter$1(e){var t=l.JSNumber_methods.toInt$0((r.Primitives_getMonth(e)-1)/3),n=this.pattern.length,a=this.parent;switch(n){case 4:return a.get$dateSymbols().QUARTERS[t];case 3:return a.get$dateSymbols().SHORTQUARTERS[t];default:return a._localizeDigits$1(l.JSString_methods.padLeft$2(""+(t+1),n,"0"))}}},r._DateFormatPatternField_parseStandaloneDay_closure.prototype={call$1(e){return e},$signature:1},r.StringStack.prototype={peek$1(e){var t=this.contents,n=this._string_stack$_index;return l.JSString_methods.substring$2(t,n,Math.min(n+e,t.length))},toString$0(e){return this.contents+" at "+this._string_stack$_index}},r.UninitializedLocaleData.prototype={$index(e,t){return r.canonicalizedLocale(t)==="en_US"?this.fallbackData:this._throwException$0()},_throwException$0(){throw r.wrapException(new r.LocaleDataException("Locale data has not been initialized, call "+this.message+"."))}},r.LocaleDataException.prototype={toString$0(e){return"LocaleDataException: "+this.message}},r.StartOfWeek.prototype={_enumToString$0(){return"StartOfWeek."+this._name}},r.Units.prototype={_enumToString$0(){return"Units."+this._name}},r.Jiffy.prototype={get$dateTime(){var e=this.__Jiffy__dateTime_A;return e===y&&r.throwUnnamedLateFieldNI(),e},_parse$2(e,t){var n;if(e==null)n=new r.DateTime(Date.now(),!1);else if(e instanceof r.DateTime)n=e;else if(e instanceof r.Jiffy)n=e.get$dateTime();else if(d.Map_dynamic_dynamic._is(e))n=this._parseMap$1(e);else if(d.List_dynamic._is(e))n=this._parseList$1(e);else if(typeof e=="string")n=this._parseString$2(e,t);else throw r.wrapException(r.JiffyException$("Jiffy only accepts String, List, Map, DateTime or Jiffy itself as parameters").get$cause());return n},_parse$1(e){return this._parse$2(e,null)},_parseMap$1(e){var t,n,a,i,o,s,_;return e.forEach$1(0,new r.Jiffy__parseMap_closure),e.get$isEmpty(e)?new r.DateTime(Date.now(),!1):(t=e.$index(0,"year"),t==null&&(t=e.$index(0,"years")),t==null&&(t=e.$index(0,"y")),t==null&&(t=r.Primitives_getYear(new r.DateTime(Date.now(),!1))),n=e.$index(0,"month"),n==null&&(n=e.$index(0,"months")),n==null&&(n=e.$index(0,"M")),n==null&&(n=r.Primitives_getMonth(new r.DateTime(Date.now(),!1))),a=e.$index(0,"day"),a==null&&(a=e.$index(0,"days")),a==null&&(a=e.$index(0,"d")),a==null&&(a=r.Primitives_getDay(new r.DateTime(Date.now(),!1))),i=e.$index(0,"hour"),i==null&&(i=e.$index(0,"hours")),i==null&&(i=e.$index(0,"h")),i==null&&(i=r.Primitives_getHours(new r.DateTime(Date.now(),!1))),o=e.$index(0,"minute"),o==null&&(o=e.$index(0,"minutes")),o==null&&(o=e.$index(0,"m")),o==null&&(o=r.Primitives_getMinutes(new r.DateTime(Date.now(),!1))),s=e.$index(0,"second"),s==null&&(s=e.$index(0,"seconds")),s==null&&(s=e.$index(0,"s")),s==null&&(s=r.Primitives_getSeconds(new r.DateTime(Date.now(),!1))),_=e.$index(0,"millisecond"),_==null&&(_=e.$index(0,"milliseconds")),_==null&&(_=e.$index(0,"ms")),_==null&&(_=r.Primitives_getMilliseconds(new r.DateTime(Date.now(),!1))),t=r.Primitives_valueFromDecomposedDate(t,n,a,i,o,s,_,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),new r.DateTime(t,!1))},_parseList$1(e){var t,n,a,i,o,s,_=m.getInterceptor$asx(e);return _.get$isEmpty(e)?new r.DateTime(Date.now(),!1):(t=_.$index(e,0),n=_.get$length(e)>1?_.$index(e,1):1,a=_.get$length(e)>2?_.$index(e,2):1,i=_.get$length(e)>3?_.$index(e,3):0,o=_.get$length(e)>4?_.$index(e,4):0,s=_.get$length(e)>5?_.$index(e,5):0,_=_.get$length(e)>6?_.$index(e,6):0,_=r.Primitives_valueFromDecomposedDate(t,n,a,i,o,s,_,!1),r._isInt(_)||r.throwExpression(r.argumentErrorValue(_)),new r.DateTime(_,!1))},_parseString$2(e,t){var n="yyyy/MM/dd",a="(\\d{4})(\\d{1,2})(\\d{1,2})$",i=r.RegExp_RegExp("\\d{4}-\\d{1,2}-\\d{1,2}$",!1);if(i._nativeRegExp.test(e))return r.DateFormat$("yyyy-MM-dd")._date_format$_parse$3$strict$utc(e,!1,!1);if(i=r.RegExp_RegExp("\\d{4}-\\d{1,2}-\\d{1,2} \\d{1,2}(:\\d{1,2})?(:\\d{1,2})?(.\\d+)?(Z?)",!1),i._nativeRegExp.test(e)?i=!0:(i=r.RegExp_RegExp("\\d{4}-\\d{1,2}-\\d{1,2}T\\d{1,2}(:\\d{1,2})?(:\\d{1,2})?(.\\d+)?(Z?)",!1),i=i._nativeRegExp.test(e)),i)return r.DateTime_parse(e).toLocal$0();if(i=r.RegExp_RegExp("\\d{4}\\/\\d{1,2}\\/\\d{1,2}$",!1),i._nativeRegExp.test(e))return r.DateFormat$(n)._date_format$_parse$3$strict$utc(e,!1,!1);if(i=r.RegExp_RegExp(a,!1),i._nativeRegExp.test(e))return r.DateFormat$(n)._date_format$_parse$3$strict$utc(r.stringReplaceAllFuncUnchecked(e,r.RegExp_RegExp(a,!1),new r.Jiffy__parseString_closure,null),!1,!1);throw r.wrapException(r.JiffyException$('Date time not recognized, a pattern must be passed, e.g. Jiffy("12, Oct", "dd, MMM")').get$cause())},get$day(){var e,t=this.__Jiffy__dateTime_A;switch(t===y&&r.throwUnnamedLateFieldNI(),e=r.Primitives_getWeekday(t)-1,y.Jiffy____defaultLocale._readField$0().startOfWeek$0()){case l.StartOfWeek_2:break;case l.StartOfWeek_1:++e;break;case l.StartOfWeek_0:e+=2;break}return[1,2,3,4,5,6,7,1,2][e]},startOf$1(e){var t,n,a=this;switch(e){case l.Units_0:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),r.Primitives_getMinutes(t),r.Primitives_getSeconds(t),r.Primitives_getMilliseconds(t),!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_1:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),r.Primitives_getMinutes(t),r.Primitives_getSeconds(t),0,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_2:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),r.Primitives_getMinutes(t),0,0,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_3:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),0,0,0,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_4:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),0,0,0,0,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_5:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),n=r.DateTime$_withValue(t._value-l.JSInt_methods._tdivFast$1(r.Duration$(a.get$day()-1,0,0)._duration,1e3),t.isUtc),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(n),r.Primitives_getMonth(n),r.Primitives_getDay(n),0,0,0,0,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_6:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),1,0,0,0,0,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_7:t=a.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),1,1,0,0,0,0,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),a.__Jiffy__dateTime_A=new r.DateTime(t,!1);break}return r.Jiffy$(a)},endOf$1(e){var t,n,a,i,o=this;switch(e){case l.Units_0:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),r.Primitives_getMinutes(t),r.Primitives_getSeconds(t),r.Primitives_getMilliseconds(t),!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_1:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),r.Primitives_getMinutes(t),r.Primitives_getSeconds(t),999,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_2:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),r.Primitives_getMinutes(t),59,999,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_3:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),r.Primitives_getHours(t),59,59,999,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_4:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),r.Primitives_getDay(t),23,59,59,999,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_5:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),n=t.add$1(0,r.Duration$(7-o.get$day(),0,0)),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(n),r.Primitives_getMonth(n),r.Primitives_getDay(n),23,59,59,999,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_6:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),a=l.List_mC8[r.Primitives_getMonth(t)],i=r.Primitives_getYear(t),l.JSInt_methods.$mod(i,4)===0?i=l.JSInt_methods.$mod(i,100)!==0||l.JSInt_methods.$mod(i,400)===0:i=!1,i&&r.Primitives_getMonth(t)===2&&(a=29),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),r.Primitives_getMonth(t),a,23,59,59,999,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break;case l.Units_7:t=o.__Jiffy__dateTime_A,t===y&&r.throwUnnamedLateFieldNI(),t=r.Primitives_valueFromDecomposedDate(r.Primitives_getYear(t),12,31,23,59,59,999,!1),r._isInt(t)||r.throwExpression(r.argumentErrorValue(t)),o.__Jiffy__dateTime_A=new r.DateTime(t,!1);break}return r.Jiffy$(o)},format$1(e){var t,n=y.Jiffy____defaultLocale._readField$0(),a=this.__Jiffy__dateTime_A;return a===y&&r.throwUnnamedLateFieldNI(),t=n.ordinal$1(r.Primitives_getDay(a)),n=r.stringReplaceAllUnchecked(e,"[","'"),r.DateFormat$(r.replaceOrdinalDatePattern(r.stringReplaceAllUnchecked(n,"]","'"),t)).format$1(this.__Jiffy__dateTime_A)},isBefore$2(e,t){var n,a=this._parse$1(e);return t===l.Units_0?(n=this.__Jiffy__dateTime_A,n===y&&r.throwUnnamedLateFieldNI(),n._value<a._value):(n=r.Jiffy$(this),n.endOf$1(t),n=n.__Jiffy__dateTime_A,n===y&&r.throwUnnamedLateFieldNI(),n._value<a._value)},isAfter$2(e,t){var n,a=this._parse$1(e);return t===l.Units_0?(n=this.__Jiffy__dateTime_A,n===y&&r.throwUnnamedLateFieldNI(),n._value>a._value):(n=r.Jiffy$(this),n.startOf$1(t),n=n.__Jiffy__dateTime_A,n===y&&r.throwUnnamedLateFieldNI(),a._value<n._value)},isSame$2(e,t){var n,a,i,o=this,s=o._parse$1(e);return t===l.Units_0?(n=o.__Jiffy__dateTime_A,n===y&&r.throwUnnamedLateFieldNI(),n._value===s._value):(n=r.Jiffy$(o),n.startOf$1(t),n=n.__Jiffy__dateTime_A,n===y&&r.throwUnnamedLateFieldNI(),a=r.Jiffy$(o),a.endOf$1(t),a=a.__Jiffy__dateTime_A,a===y&&r.throwUnnamedLateFieldNI(),i=s._value,n._value<=i&&i<=a._value)}},r.Jiffy__parseMap_closure.prototype={call$2(e,t){(e==="M"?e:r.normalizeUnits(e))==="0"&&r.throwExpression(r.JiffyException$('Invalid unit passed, the following units are available "year", "month", "week", "day", "hour", "minute", "second", "millisecond"').get$cause())},$signature:14},r.Jiffy__parseString_closure.prototype={call$1(e){return r.S(e.group$1(0,1))+"/"+r.S(e.group$1(0,2))+"/"+r.S(e.group$1(0,3))},$signature:19},r.ArLyLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.ArSaMaDzKwTnLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.AzLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.BnLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.DeLocale.prototype={ordinals$0(){return r._setArrayType([".",".",".","."],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.EnLocale.prototype={ordinals$0(){return r._setArrayType(["st","nd","rd","th"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.EsLocale.prototype={ordinals$0(){return r._setArrayType(["º","º","º","º"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.FaLocale.prototype={ordinals$0(){return r._setArrayType(["م","م","م","م"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.FrLocale.prototype={ordinals$0(){return r._setArrayType(["er","","",""],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.HiLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.IdLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.ItLocale.prototype={ordinals$0(){return r._setArrayType(["º","º","º","º"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.JaLocale.prototype={ordinals$0(){return r._setArrayType(["日","日","日","日"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.KoLocale.prototype={ordinals$0(){return r._setArrayType(["일","일","일","일"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.Locale.prototype={ordinal$1(e){var t,n,a;return this.ordinals$0()==null?"":(t=this.ordinals$0(),t.toString,n=l.JSArray_methods.get$last(t),a=l.JSInt_methods.$mod(e,10),a>0&&a<4?t=e<11||e>13:t=!1,t?this.ordinals$0()[a-1]:n)}},r.NbLocale.prototype={ordinals$0(){return r._setArrayType([".",".",".","."],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.NlLocale.prototype={ordinals$0(){return r._setArrayType([".",".",".","."],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.PlLocale.prototype={ordinals$0(){return r._setArrayType([".",".",".","."],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.PtLocale.prototype={ordinals$0(){return r._setArrayType(["º","º","º","º"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.RuLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.SvLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.ThLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.TrLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.UkLocale.prototype={ordinals$0(){return null},startOfWeek$0(){return this.strtOfWeek}},r.ZhCnLocale.prototype={ordinals$0(){return r._setArrayType(["日","日","日","日"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.ZhLocale.prototype={ordinals$0(){return r._setArrayType(["日","日","日","日"],d.JSArray_String)},startOfWeek$0(){return this.strtOfWeek}},r.JiffyException.prototype={get$cause(){return"JiffyException: "+this._cause}},r.replaceOrdinalDatePattern_closure.prototype={call$1(e){var t,n,a;e.group$1(0,1)==="do"&&(t=e.get$start(),n=e.get$end(e),a=this.suffix,a=a.length!==0?"'"+a+"'":"",this._box_0.pattern=l.JSString_methods.replaceRange$3(this.input,t,n,"d"+a))},$signature:56},r.BufferModule.prototype={},r.BufferConstants.prototype={},r.Buffer.prototype={},r.ConsoleModule.prototype={},r.Console.prototype={},r.EventEmitter.prototype={},r.Promise.prototype={},r.Date.prototype={},r.JsError.prototype={},r.Atomics.prototype={},r.Modules.prototype={},r.Module.prototype={},r.Net.prototype={},r.Socket.prototype={},r.NetAddress.prototype={},r.NetServer.prototype={},r.NodeJsError.prototype={},r.JsAssertionError.prototype={},r.JsRangeError.prototype={},r.JsReferenceError.prototype={},r.JsSyntaxError.prototype={},r.JsTypeError.prototype={},r.JsSystemError.prototype={},r.Process.prototype={},r.CPUUsage.prototype={},r.Release.prototype={},r.StreamModule.prototype={},r.Readable.prototype={},r.Writable.prototype={},r.Duplex.prototype={},r.Transform.prototype={},r.WritableOptions.prototype={},r.ReadableOptions.prototype={},r.Immediate.prototype={},r.Timeout.prototype={},r.TTY.prototype={},r.TTYReadStream.prototype={},r.TTYWriteStream.prototype={},r.Util.prototype={},r.SCHEMA_NAME.prototype={_enumToString$0(){return"SCHEMA_NAME."+this._name}},r.DATA_TYPE.prototype={_enumToString$0(){return"DATA_TYPE."+this._name}},r.AGGREGATION_TYPE.prototype={_enumToString$0(){return"AGGREGATION_TYPE."+this._name}},r.COMPARISON_OPERATOR.prototype={_enumToString$0(){return"COMPARISON_OPERATOR."+this._name}},r.DIMENSION_OPTION.prototype={_enumToString$0(){return"DIMENSION_OPTION."+this._name}},r.TIME_FORMATTER.prototype={_enumToString$0(){return"TIME_FORMATTER."+this._name}},r.PERIOD_TYPE.prototype={_enumToString$0(){return"PERIOD_TYPE."+this._name}},r.SORT_TYPE.prototype={_enumToString$0(){return"SORT_TYPE."+this._name}},r.uniqueAlias_closure.prototype={call$1(e){var t=e.$index(0,0);return t.toString,r.Primitives_stringFromCharCode(97+r.int_parse(t))},$signature:19},r.QueryRequestCommonField.prototype={},r.QueryRequestDimension.prototype={toJson$0(){var e,t=this,n=t.timeFormatter;return n=n==null?null:n._name,e=t.option,e=e==null?null:e._name,r.LinkedHashMap_LinkedHashMap$_literal(["schemaName",t.schemaName._name,"name",t.name,"decimal",t.decimal,"timeFormatter",n,"label",t.label,"option",e,"fillGap",t.fillGap,"hide",t.hide,"dataFormula",t.dataFormula,"displayFormula",t.displayFormula,"dateComparison",t.dateComparison],d.String,d.dynamic)},get$idV1(){var e=this.name,t=this.option;return t!=null&&(e=e+"_"+t._name),(this.schemaName._name+"_"+e).toLowerCase()},get$alias(){var e=this,t=e.name,n=e.option;return n!=null&&(t=t+"_"+n._name),n=r.RegExp_RegExp("[^\\p{L}\\p{N}_]+",!0),(e.schemaName._name+"_"+t+"_"+r.stringReplaceAllUnchecked(e.label,n,"")).toLowerCase()},$eq(e,t){var n=this;return t==null?!1:t instanceof r.QueryRequestDimension&&n.option==t.option&&n.name===t.name&&n.schemaName===t.schemaName&&n.label===t.label},get$hashCode(e){var t=this;return l.JSString_methods.get$hashCode(t.name)+r.Primitives_objectHashCode(t.schemaName)+m.get$hashCode$(t.option)+l.JSString_methods.get$hashCode(t.label)}},r.QueryRequestMetric.prototype={toJson$0(){var e=this,t=e.timeFormatter;return t=t==null?null:t._name,r.LinkedHashMap_LinkedHashMap$_literal(["schemaName",e.schemaName._name,"name",e.name,"label",e.label,"decimal",e.decimal,"aggregation",e.aggregation._name,"hide",e.hide,"dataFormula",e.dataFormula,"displayFormula",e.displayFormula,"timeFormatter",t],d.String,d.dynamic)},get$alias(){var e=this,t=r.RegExp_RegExp("[^\\p{L}\\p{N}_]+",!0);return(e.schemaName._name+"_"+e.name+"_"+e.aggregation._name+"_"+r.stringReplaceAllUnchecked(e.label,t,"")).toLowerCase()},$eq(e,t){var n=this;return t==null?!1:t instanceof r.QueryRequestMetric&&n.aggregation===t.aggregation&&n.name===t.name&&n.schemaName===t.schemaName&&n.label===t.label},get$hashCode(e){var t=this;return l.JSString_methods.get$hashCode(t.name)+r.Primitives_objectHashCode(t.schemaName)+r.Primitives_objectHashCode(t.aggregation)+l.JSString_methods.get$hashCode(t.label)}},r.QueryRequestFilter.prototype={toJson$0(){var e=this,t=e.option;return t=t==null?null:t._name,r.LinkedHashMap_LinkedHashMap$_literal(["schemaName",e.schemaName._name,"name",e.name,"operator",e.operator._name,"option",t,"dataFormula",e.dataFormula,"values",e.values],d.String,d.dynamic)}},r.QueryRequestSort.prototype={toJson$0(){var e,t=this,n=t.aggregation;return n=n==null?null:n._name,e=t.dimensionOption,e=e==null?null:e._name,r.LinkedHashMap_LinkedHashMap$_literal(["schemaName",t.schemaName._name,"name",t.name,"type",t.type._name,"aggregation",n,"dimensionOption",e,"dataFormula",t.dataFormula],d.String,d.dynamic)}},r.FIELD_TYPE.prototype={_enumToString$0(){return"FIELD_TYPE."+this._name}},r.QueryResponseColumn.prototype={toJson$0(){var e,t,n=this,a=n.aggregationType;return a=a==null?null:a._name,e=n.optionType,e=e==null?null:e._name,t=n.timeFormatter,t=t==null?null:t._name,r.LinkedHashMap_LinkedHashMap$_literal(["id",n.id,"schema",n.schema._name,"label",n.label,"dataType",n.dataType._name,"fieldType",n.fieldType._name,"aggregationType",a,"optionType",e,"decimal",n.decimal,"timeFormatter",t,"hide",n.hide,"dateComparison",n.dateComparison],d.String,d.dynamic)}},r.DateTimeRange.prototype={toJson$0(){return r.LinkedHashMap_LinkedHashMap$_literal(["start",this.start,"end",this.end],d.String,d.dynamic)}},r.QueryResponse.prototype={toJson$0(){var e=this,t=e.columns,n=r._arrayInstanceType(t)._eval$1("MappedListIterable<1,Map<String,@>>"),a=e.rows,i=r._arrayInstanceType(a)._eval$1("MappedListIterable<1,Map<String,@>>");return r.LinkedHashMap_LinkedHashMap$_literal(["columns",r.List_List$of(new r.MappedListIterable(t,new r.QueryResponse_toJson_closure,n),!0,n._eval$1("ListIterable.E")),"rows",r.List_List$of(new r.MappedListIterable(a,new r.QueryResponse_toJson_closure0,i),!0,i._eval$1("ListIterable.E")),"dateRange",e.dateRange.toJson$0(),"timeRange",e.timeRange.toJson$0()],d.String,d.dynamic)}},r.QueryResponse_fromJson_closure.prototype={call$1(e){var t,n="aggregationType",a="optionType",i="timeFormatter",o=r.EnumByName_byName(l.List_46y,e.$index(0,"schema")),s=e.$index(0,"label"),_=r.EnumByName_byName(l.List_eOU,e.$index(0,"dataType")),u=r.EnumByName_byName(l.List_FIELD_TYPE_0_FIELD_TYPE_1,e.$index(0,"fieldType")),c=e.$index(0,"id"),p=e.$index(0,n)!=null?r.EnumByName_byName(l.List_Tuq,e.$index(0,n)):null,f=e.$index(0,a)!=null?r.EnumByName_byName(l.List_yP5,e.$index(0,a)):null,h=e.$index(0,"decimal"),g=e.$index(0,i)!=null?r.EnumByName_byName(l.List_YsB,e.$index(0,i)):null,$=e.$index(0,"hide");return $==null&&($=!1),t=e.$index(0,"dateComparison"),new r.QueryResponseColumn(o,s,_,u,c,p,f,h,g,$,t??!1)},$signature:57},r.QueryResponse_fromJson_closure0.prototype={call$1(e){return new r.QueryResponseRow(e.$index(0,"isRollup"),e.$index(0,"value"))},$signature:61},r.QueryResponse_toJson_closure.prototype={call$1(e){return e.toJson$0()},$signature:62},r.QueryResponse_toJson_closure0.prototype={call$1(e){return e.toJson$0()},$signature:63},r.QueryResponseRow.prototype={toJson$0(){return r.LinkedHashMap_LinkedHashMap$_literal(["isRollup",this.isRollup,"value",this.value],d.String,d.dynamic)}},r.DataTypeExtension__formatTime_closure.prototype={call$1(e){return l.JSString_methods.padLeft$2(l.JSInt_methods.toString$0(e),2,"0")},$signature:20},r.DataTypeExtension__formatTime_closure0.prototype={call$1(e){return l.JSString_methods.padLeft$2(l.JSInt_methods.toString$0(e),2,"0")},$signature:20},r.DataTypeExtension_toDisplay_closure.prototype={call$1(e){var t=this;return r.DataTypeExtension__toDisplay(t._this,t.aggregationType,y.DataTypeExtension__currencyMapping.$index(0,t.country),t.decimal,t.dimensionOption,t.timeFormatter,e)},$signature:71},r.XYDatasetModel.prototype={toJson$0(){return r.LinkedHashMap_LinkedHashMap$_literal(["name",this.name,"isCompare",this.isCompare,"values",this.values],d.String,d.dynamic)}},r.BaseXYChartDataModel.prototype={toJson$0(){var e=this,t=e.datasets,n=r._arrayInstanceType(t)._eval$1("MappedListIterable<1,Map<String,@>>");return r.LinkedHashMap_LinkedHashMap$_literal(["type",e.type._name,"xAxis",e.xAxis,"datasets",r.List_List$of(new r.MappedListIterable(t,new r.BaseXYChartDataModel_toJson_closure,n),!0,n._eval$1("ListIterable.E")),"date",e.date.toJson$0()],d.String,d.dynamic)}},r.BaseXYChartDataModel_toJson_closure.prototype={call$1(e){return e.toJson$0()},$signature:21},r.ChartType.prototype={_enumToString$0(){return"ChartType."+this._name}},r.DateComparison.prototype={toJson$0(){var e,t=this.main;return t=t==null?null:t.toJson$0(),e=this.comparison,r.LinkedHashMap_LinkedHashMap$_literal(["main",t,"comparison",e==null?null:e.toJson$0()],d.String,d.dynamic)}},r.CircularDatasetModel.prototype={toJson$0(){return r.LinkedHashMap_LinkedHashMap$_literal(["name",this.name,"value",this.value,"comparison",this.comparison],d.String,d.dynamic)}},r.CircularDataModel.prototype={toJson$0(){var e=this.datasets,t=r._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>");return r.LinkedHashMap_LinkedHashMap$_literal(["type","CIRCULAR","metrics",this.metrics,"datasets",r.List_List$of(new r.MappedListIterable(e,new r.CircularDataModel_toJson_closure,t),!0,t._eval$1("ListIterable.E")),"date",this.date.toJson$0()],d.String,d.dynamic)}},r.CircularDataModel_toJson_closure.prototype={call$1(e){return e.toJson$0()},$signature:77},r.ScorecardDataModel.prototype={toJson$0(){var e=this,t=e.sparkline;return t=t==null?null:t.toJson$0(),r.LinkedHashMap_LinkedHashMap$_literal(["type","SCORECARD","name",e.name,"value",e.value,"comparison",e.comparison,"sparkline",t],d.String,d.dynamic)}},r.SparklineType.prototype={_enumToString$0(){return"SparklineType."+this._name}},r.SparklineDataModel.prototype={toJson$0(){var e=this.datasets,t=r._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>");return r.LinkedHashMap_LinkedHashMap$_literal(["type",this.type._name,"dimensions",this.dimensions,"datasets",r.List_List$of(new r.MappedListIterable(e,new r.SparklineDataModel_toJson_closure,t),!0,t._eval$1("ListIterable.E"))],d.String,d.dynamic)}},r.SparklineDataModel_toJson_closure.prototype={call$1(e){return e.toJson$0()},$signature:21},r.TableColumnModel.prototype={toJson$0(){var e,t,n,a=this,i=null,o=a.type;return o=o==null?i:o._name,e=a.aggregationType,e=e==null?i:e._name,t=a.dimensionOption,t=t==null?i:t._name,n=a.timeFormatter,n=n==null?i:n._name,r.LinkedHashMap_LinkedHashMap$_literal(["key",a.key,"label",a.label,"type",o,"aggregationType",e,"dimensionOption",t,"decimal",a.decimal,"timeFormatter",n,"hide",a.hide,"dateComparison",a.dateComparison],d.String,d.dynamic)}},r.TableRowModel.prototype={copyWith$2$cells$comparisonCells(e,t){var n=t??this.comparisonCells;return new r.TableRowModel(e,n,this.isRollup)},copyWith$1$cells(e){return this.copyWith$2$cells$comparisonCells(e,null)},toJson$0(){return r.LinkedHashMap_LinkedHashMap$_literal(["cells",this.cells,"comparisonCells",this.comparisonCells,"isRollup",this.isRollup],d.String,d.dynamic)}},r.TableDataModel.prototype={copyWith$2$columns$rows(e,t){var n=e??this.columns;return new r.TableDataModel(t,n)},copyWith$1$rows(e){return this.copyWith$2$columns$rows(null,e)},toJson$0(){var e=this.rows,t=r._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>"),n=this.columns,a=r._arrayInstanceType(n)._eval$1("MappedListIterable<1,Map<String,@>>");return r.LinkedHashMap_LinkedHashMap$_literal(["type","TABLE","rows",r.List_List$of(new r.MappedListIterable(e,new r.TableDataModel_toJson_closure,t),!0,t._eval$1("ListIterable.E")),"columns",r.List_List$of(new r.MappedListIterable(n,new r.TableDataModel_toJson_closure0,a),!0,a._eval$1("ListIterable.E"))],d.String,d.dynamic)}},r.TableDataModel_toJson_closure.prototype={call$1(e){return e.toJson$0()},$signature:80},r.TableDataModel_toJson_closure0.prototype={call$1(e){return e.toJson$0()},$signature:85},r.BaseDatasourceConfigModel.prototype={get$drilledDimensions(){return this.dimensions},get$drilledDimensionIds(){var e=this.get$drilledDimensions(),t=r._arrayInstanceType(e)._eval$1("MappedListIterable<1,String>");return r.List_List$of(new r.MappedListIterable(e,new r.BaseDatasourceConfigModel_drilledDimensionIds_closure,t),!0,t._eval$1("ListIterable.E"))},get$metricIds(){var e=this.metrics,t=r._arrayInstanceType(e)._eval$1("MappedListIterable<1,String>");return r.List_List$of(new r.MappedListIterable(e,new r.BaseDatasourceConfigModel_metricIds_closure,t),!0,t._eval$1("ListIterable.E"))},get$drillDimension(){var e,t=this;return t instanceof r.BaseXYDatasourceConfigModel||t instanceof r.CircularDatasourceConfigModel?e=t.get$drillDimension():e=t instanceof r.TableDatasourceConfigModel?t.get$drillDimension():null,e!=null?r.uniqueAlias(e):e},toJson$0(){var e,t,n,a=this,i=a.schemaNames,o=r._arrayInstanceType(i)._eval$1("MappedListIterable<1,String>"),s=o._eval$1("ListIterable.E"),_=r.List_List$of(new r.MappedListIterable(i,new r.BaseDatasourceConfigModel_toJson_closure,o),!0,s);return s=r.List_List$of(new r.MappedListIterable(i,new r.BaseDatasourceConfigModel_toJson_closure0,o),!0,s),o=a.dimensions,i=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,Map<String,@>>"),i=r.List_List$of(new r.MappedListIterable(o,new r.BaseDatasourceConfigModel_toJson_closure1,i),!0,i._eval$1("ListIterable.E")),o=a.metrics,e=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,Map<String,@>>"),e=r.List_List$of(new r.MappedListIterable(o,new r.BaseDatasourceConfigModel_toJson_closure2,e),!0,e._eval$1("ListIterable.E")),o=a.filters,t=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,Map<String,@>>"),t=r.List_List$of(new r.MappedListIterable(o,new r.BaseDatasourceConfigModel_toJson_closure3,t),!0,t._eval$1("ListIterable.E")),o=a.sorts,n=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,Map<String,@>>"),n=r.List_List$of(new r.MappedListIterable(o,new r.BaseDatasourceConfigModel_toJson_closure4,n),!0,n._eval$1("ListIterable.E")),o=a.periodType,o=o==null?null:o._name,r.LinkedHashMap_LinkedHashMap$_literal(["schemaNames",_,"schemas",s,"dimensions",i,"metrics",e,"filters",t,"sorts",n,"limit",a.limit,"isComparable",a.isComparable,"periodType",o],d.String,d.dynamic)},get$dimensions(){return this.dimensions},get$metrics(){return this.metrics}},r.BaseDatasourceConfigModel_drilledDimensionIds_closure.prototype={call$1(e){return e.get$alias()},$signature:88},r.BaseDatasourceConfigModel_metricIds_closure.prototype={call$1(e){return e.get$alias()},$signature:93},r.BaseDatasourceConfigModel_toJson_closure.prototype={call$1(e){return e._name},$signature:22},r.BaseDatasourceConfigModel_toJson_closure0.prototype={call$1(e){return e._name},$signature:22},r.BaseDatasourceConfigModel_toJson_closure1.prototype={call$1(e){return e.toJson$0()},$signature:95},r.BaseDatasourceConfigModel_toJson_closure2.prototype={call$1(e){return e.toJson$0()},$signature:33},r.BaseDatasourceConfigModel_toJson_closure3.prototype={call$1(e){return e.toJson$0()},$signature:32},r.BaseDatasourceConfigModel_toJson_closure4.prototype={call$1(e){return e.toJson$0()},$signature:35},r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure.prototype={call$1(e){return r.EnumByName_byName(l.List_46y,e)},$signature:36},r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure0.prototype={call$1(e){return r.QueryRequestDimension_fromJson(d.Map_String_dynamic._as(e))},$signature:23},r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure1.prototype={call$1(e){var t,n,a,i,o,s,_,u,c="timeFormatter";return d.Map_String_dynamic._as(e),t=r.EnumByName_byName(l.List_46y,e.$index(0,"schemaName")),n=e.$index(0,"name"),a=e.$index(0,"decimal"),i=e.$index(0,"label"),i==null&&(i=e.$index(0,"name")),o=r.EnumByName_byName(l.List_Tuq,e.$index(0,"aggregation")),s=e.$index(0,"hide"),s==null&&(s=!1),_=e.$index(0,"dataFormula"),u=e.$index(0,"displayFormula"),new r.QueryRequestMetric(o,i,a,e.$index(0,c)!=null?r.EnumByName_byName(l.List_YsB,e.$index(0,c)):null,_,u,s,t,n)},$signature:38},r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure2.prototype={call$1(e){var t,n,a,i,o;return d.Map_String_dynamic._as(e),t=r.EnumByName_byName(l.List_46y,e.$index(0,"schemaName")),n=e.$index(0,"name"),a=r.EnumByName_byName(l.List_2bH,e.$index(0,"operator")),i=e.$index(0,"option")!=null?r.EnumByName_byName(l.List_yP5,e.$index(0,"option")):null,o=e.$index(0,"values"),new r.QueryRequestFilter(a,i,e.$index(0,"dataFormula"),o,t,n)},$signature:39},r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure3.prototype={call$1(e){var t,n,a,i,o="aggregation",s="dimensionOption";return d.Map_String_dynamic._as(e),t=r.EnumByName_byName(l.List_46y,e.$index(0,"schemaName")),n=e.$index(0,"name"),a=e.$index(0,o)!=null?r.EnumByName_byName(l.List_Tuq,e.$index(0,o)):null,i=e.$index(0,s)!=null?r.EnumByName_byName(l.List_yP5,e.$index(0,s)):null,new r.QueryRequestSort(r.EnumByName_byName(l.List_SORT_TYPE_0_SORT_TYPE_1,e.$index(0,"type")),a,i,e.$index(0,"dataFormula"),t,n)},$signature:40},r.CircularDatasourceConfigModel.prototype={get$drillDimension(){if(this.get$dimensions().length<=1)return null;var e=this._circular_datasource_config_model$_drillDimension;return e!=null?r.uniqueAlias(e):r.uniqueAlias(l.JSArray_methods.get$first(this.get$dimensions()).get$alias())},toJson$0(){var e=r.LinkedHashMap_LinkedHashMap$of(this.super$BaseDatasourceConfigModel$toJson(),d.String,d.dynamic);return e.$indexSet(0,"showLabel",this.showLabel),e.$indexSet(0,"drillDimension",this.get$drillDimension()),e}},r._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig.prototype={},r.DataSourceDrillConfig.prototype={get$_availableIds(){var e=d.String;return l.JSArray_methods.fold$2(this.get$dimensions(),r.LinkedHashMap_LinkedHashMap$_empty(e,e),new r.DataSourceDrillConfig__availableIds_closure)},get$validatedDrillDimension(){var e=this.get$_availableIds().$index(0,this.get$drillDimension());return e??this.get$drillDimension()},get$drilledDimensions(){var e,t,n=this;return n.get$validatedDrillDimension()!=null?(e=n.get$dimensions(),t=r._arrayInstanceType(e)._eval$1("WhereIterable<1>"),r.List_List$of(new r.WhereIterable(e,new r.DataSourceDrillConfig_drilledDimensions_closure(n),t),!0,t._eval$1("Iterable.E"))):n.get$dimensions()}},r.DataSourceDrillConfig__availableIds_closure.prototype={call$2(e,t){return e.$indexSet(0,t.get$idV1(),r.uniqueAlias(t.get$alias())),e},$signature:24},r.DataSourceDrillConfig_drilledDimensions_closure.prototype={call$1(e){return r.uniqueAlias(e.get$alias())===this.$this.get$validatedDrillDimension()},$signature:8},r.ScorecardDatasourceConfigModel.prototype={toJson$0(){var e,t=r.LinkedHashMap_LinkedHashMap$of(this.super$BaseDatasourceConfigModel$toJson(),d.String,d.dynamic);return t.$indexSet(0,"isCumulative",this.isCumulative),e=this.sparklineDimension,t.$indexSet(0,"sparklineDimension",e==null?null:e.toJson$0()),t}},r.DataSourceRowColumnConfig.prototype={get$_positionFieldIds(){var e=r.List_List$of(this.get$drilledDimensionIds(),!0,d.String);return l.JSArray_methods.addAll$1(e,this.get$metricIds()),this.get$metrics().length!==0&&e.push("_metric_name"),e},get$_table_datasource_config_model$_availableIds(){var e=d.String,t=r.LinkedHashMap_LinkedHashMap$of(l.JSArray_methods.fold$2(this.get$dimensions(),r.LinkedHashMap_LinkedHashMap$_empty(e,e),new r.DataSourceRowColumnConfig__availableIds_closure),e,e);return t.addAll$1(0,l.JSArray_methods.fold$2(this.get$metrics(),r.LinkedHashMap_LinkedHashMap$_empty(e,e),new r.DataSourceRowColumnConfig__availableIds_closure0)),t},get$rowIds(){var e,t=this,n=t.get$_rowIds(),a=r._arrayInstanceType(n)._eval$1("MappedListIterable<1,String>"),i=r.List_List$of(new r.MappedListIterable(n,new r.DataSourceRowColumnConfig_rowIds_closure(t),a),!0,a._eval$1("ListIterable.E"));return a=t.get$_columnIds(),n=r._arrayInstanceType(a)._eval$1("MappedListIterable<1,String>"),e=r.List_List$of(new r.MappedListIterable(a,new r.DataSourceRowColumnConfig_rowIds_closure0(t),n),!0,n._eval$1("ListIterable.E")),n=t.get$drilledDimensionIds(),a=r.List_List$of(new r.WhereIterable(i,new r.DataSourceRowColumnConfig_rowIds_closure1(t),r._arrayInstanceType(i)._eval$1("WhereIterable<1>")),!0,d.String),l.JSArray_methods.addAll$1(a,new r.WhereIterable(n,new r.DataSourceRowColumnConfig_rowIds_closure2(i,e),r._arrayInstanceType(n)._eval$1("WhereIterable<1>"))),a},get$columnIds(){var e,t,n=this,a="_metric_name",i=n.get$_rowIds(),o=r._arrayInstanceType(i)._eval$1("MappedListIterable<1,String>"),s=r.List_List$of(new r.MappedListIterable(i,new r.DataSourceRowColumnConfig_columnIds_closure(n),o),!0,o._eval$1("ListIterable.E"));return o=n.get$_columnIds(),i=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,String>"),e=r.List_List$of(new r.MappedListIterable(o,new r.DataSourceRowColumnConfig_columnIds_closure0(n),i),!0,i._eval$1("ListIterable.E")),t=r._setArrayType([],d.JSArray_String),n.get$metrics().length!==0?(i=r.List_List$of(s,!0,d.String),l.JSArray_methods.addAll$1(i,e),i=!l.JSArray_methods.contains$1(i,a)):i=!1,i&&t.push(a),i=r.List_List$of(new r.WhereIterable(e,new r.DataSourceRowColumnConfig_columnIds_closure1(n),r._arrayInstanceType(e)._eval$1("WhereIterable<1>")),!0,d.String),l.JSArray_methods.addAll$1(i,t),i}},r.DataSourceRowColumnConfig__availableIds_closure.prototype={call$2(e,t){return e.$indexSet(0,t.get$idV1(),t.get$alias()),e},$signature:24},r.DataSourceRowColumnConfig__availableIds_closure0.prototype={call$2(e,t){return e.$indexSet(0,(t.schemaName._name+"_"+t.name+"_"+t.aggregation._name).toLowerCase(),t.get$alias()),e},$signature:43},r.DataSourceRowColumnConfig_rowIds_closure.prototype={call$1(e){var t=this.$this.get$_table_datasource_config_model$_availableIds().$index(0,e);return t??e},$signature:2},r.DataSourceRowColumnConfig_rowIds_closure0.prototype={call$1(e){var t=this.$this.get$_table_datasource_config_model$_availableIds().$index(0,e);return t??e},$signature:2},r.DataSourceRowColumnConfig_rowIds_closure2.prototype={call$1(e){var t=r.List_List$of(this.validatedRowIds,!0,d.String);return l.JSArray_methods.addAll$1(t,this.validatedColumnIds),!l.JSArray_methods.contains$1(t,e)},$signature:3},r.DataSourceRowColumnConfig_rowIds_closure1.prototype={call$1(e){return l.JSArray_methods.contains$1(this.$this.get$_positionFieldIds(),e)},$signature:3},r.DataSourceRowColumnConfig_columnIds_closure.prototype={call$1(e){var t=this.$this.get$_table_datasource_config_model$_availableIds().$index(0,e);return t??e},$signature:2},r.DataSourceRowColumnConfig_columnIds_closure0.prototype={call$1(e){var t=this.$this.get$_table_datasource_config_model$_availableIds().$index(0,e);return t??e},$signature:2},r.DataSourceRowColumnConfig_columnIds_closure1.prototype={call$1(e){return l.JSArray_methods.contains$1(this.$this.get$_positionFieldIds(),e)},$signature:3},r.TableDatasourceConfigModel.prototype={get$drillDimension(){if(!this.isDrillable)return null;var e=this._drillDimension;return e!=null?r.uniqueAlias(e):r.uniqueAlias(l.JSArray_methods.get$first(this.get$dimensions()).get$alias())},get$drilledDimensions(){var e=r.List_List$of(r.DataSourceDrillConfig.prototype.get$drilledDimensions.call(this),!0,d.QueryRequestDimension);return e.immutable$list&&r.throwExpression(r.UnsupportedError$("sort")),r.Sort_sort(e,new r.TableDatasourceConfigModel_drilledDimensions_closure(this)),e},get$joinDatasources(){var e=this._joinDatasources,t=r._arrayInstanceType(e)._eval$1("MappedListIterable<1,JoinDatasourceConfig>");return r.List_List$of(new r.MappedListIterable(e,new r.TableDatasourceConfigModel_joinDatasources_closure(this),t),!0,t._eval$1("ListIterable.E"))},toJson$0(){var e,t,n,a=this,i=a.super$BaseDatasourceConfigModel$toJson(),o=a.rollup;return o==null&&a.showGrandTotal&&(o=0),e=r.LinkedHashMap_LinkedHashMap$of(i,d.String,d.dynamic),t=a.get$joinDatasources(),n=r._arrayInstanceType(t)._eval$1("MappedListIterable<1,Map<String,@>>"),e.$indexSet(0,"joinDatasources",r.List_List$of(new r.MappedListIterable(t,new r.TableDatasourceConfigModel_toJson_closure,n),!0,n._eval$1("ListIterable.E"))),e.$indexSet(0,"columnIds",a.get$columnIds()),e.$indexSet(0,"rowIds",a.get$rowIds()),e.$indexSet(0,"columnsWidth",a.columnsWidth),e.$indexSet(0,"isDrillable",a.isDrillable),e.$indexSet(0,"showGrandTotal",a.showGrandTotal),e.$indexSet(0,"rowsPerPage",a.rowsPerPage),e.$indexSet(0,"drillDimension",a.get$drillDimension()),e.$indexSet(0,"rollup",o),e.$indexSet(0,"rollupPosition",a.rollupPosition),e},get$_rowIds(){return this._rowIds},get$_columnIds(){return this._columnIds}},r.TableDatasourceConfigModel_drilledDimensions_closure.prototype={call$2(e,t){var n,a=this.$this._rowIds,i=l.JSArray_methods.indexOf$1(a,r.uniqueAlias(e.get$alias()));return i<0&&(i=999),n=l.JSArray_methods.indexOf$1(a,r.uniqueAlias(t.get$alias())),i-(n<0?999:n)},$signature:46},r.TableDatasourceConfigModel_joinDatasources_closure.prototype={call$1(e){return e.copyWith$1$mainDimensions(this.$this.get$dimensions())},$signature:47},r.TableDatasourceConfigModel_toJson_closure.prototype={call$1(e){return e.toJson$0()},$signature:48},r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson_closure.prototype={call$1(e){var t={},n=t.joinDatasourceConfig=r.JoinDatasourceConfig_JoinDatasourceConfig$fromJson(e),a=d.JoinDatasourceCondition;return a=r.ListExtensions_mapIndexed(n.conditions,new r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson__closure(t,e,this.baseConfig),a,a),t.joinDatasourceConfig=n.copyWith$1$conditions(r.List_List$of(a,!0,a.$ti._eval$1("Iterable.E")))},$signature:49},r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson__closure.prototype={call$2(e,t){var n,a,i,o=t.joinDimension;return o==null&&(n=this.json,a=r.IterableExtension_firstWhereOrNull(this._box_0.joinDatasourceConfig.get$dimensions(),new r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure(n,e)),n=r.List_List$from(m.$index$asx(m.$index$asx(n.$index(0,"conditions"),e),"mainFields"),d.String),i=r._arrayInstanceType(n)._eval$1("MappedListIterable<1,QueryRequestDimension?>"),i=r.List_List$of(new r.MappedListIterable(n,new r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure0(this.baseConfig),i),!0,i._eval$1("ListIterable.E")),n=t.operator,t=new r.JoinDatasourceCondition(i,a??o,n)),t},$signature:50},r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure.prototype={call$1(e){return r.uniqueAlias(e.get$alias())===m.$index$asx(m.$index$asx(this.json.$index(0,"conditions"),this.index),"joinField")},$signature:8},r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure0.prototype={call$1(e){return r.IterableExtension_firstWhereOrNull(this.baseConfig.dimensions,new r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson____closure(e))},$signature:51},r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson____closure.prototype={call$1(e){return r.uniqueAlias(e.get$alias())===this.mainField},$signature:8},r.JoinDatasourceConfig.prototype={toJson$0(){var e=this,t=r.LinkedHashMap_LinkedHashMap$of(e.super$BaseDatasourceConfigModel$toJson(),d.String,d.dynamic),n=e.conditions,a=r._arrayInstanceType(n)._eval$1("MappedListIterable<1,Map<String,@>>");return t.$indexSet(0,"conditions",r.List_List$of(new r.MappedListIterable(n,new r.JoinDatasourceConfig_toJson_closure,a),!0,a._eval$1("ListIterable.E"))),t.$indexSet(0,"rowIds",e.get$rowIds()),t.$indexSet(0,"columnIds",e.get$columnIds()),t},copyWith$2$conditions$mainDimensions(e,t){var n=this,a=n.get$dimensions(),i=n.get$metrics(),o=e??n.conditions,s=t??n.mainDimensions,_=n.get$rowIds(),u=n.get$columnIds();return r.JoinDatasourceConfig$(u,o,a,n.filters,n.isComparable,n.limit,s,i,n.periodType,_,n.schemaNames,n.sorts)},copyWith$1$mainDimensions(e){return this.copyWith$2$conditions$mainDimensions(null,e)},copyWith$1$conditions(e){return this.copyWith$2$conditions$mainDimensions(e,null)},get$_rowIds(){return this._rowIds},get$_columnIds(){return this._columnIds}},r.JoinDatasourceConfig_JoinDatasourceConfig$fromJson_closure.prototype={call$1(e){return r.JoinDatasourceCondition_JoinDatasourceCondition$fromJson(e)},$signature:52},r.JoinDatasourceConfig_toJson_closure.prototype={call$1(e){return e.toJson$0()},$signature:53},r.JoinDatasourceCondition.prototype={toJson$0(){var e,t,n=this.joinDimension;return n=n==null?null:n.toJson$0(),e=this.mainDimensions,t=r._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>?>"),t=r.List_List$of(new r.MappedListIterable(e,new r.JoinDatasourceCondition_toJson_closure,t),!0,t._eval$1("ListIterable.E")),r.LinkedHashMap_LinkedHashMap$_literal(["joinDimension",n,"mainDimensions",t,"operator",this.operator._name],d.String,d.dynamic)}},r.JoinDatasourceCondition_JoinDatasourceCondition$fromJson_closure.prototype={call$1(e){return r.QueryRequestDimension_fromJson(d.Map_String_dynamic._as(e))},$signature:23},r.JoinDatasourceCondition_toJson_closure.prototype={call$1(e){return e==null?null:e.toJson$0()},$signature:54},r._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig.prototype={},r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig.prototype={},r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig.prototype={},r.BaseXYDatasourceConfigModel.prototype={get$drillDimension(){if(this.get$dimensions().length<=1)return null;var e=this._xy_datasource_config_model$_drillDimension;return e!=null?r.uniqueAlias(e):r.uniqueAlias(l.JSArray_methods.get$first(this.get$dimensions()).get$alias())},toJson$0(){var e,t=this,n=r.LinkedHashMap_LinkedHashMap$of(t.super$BaseDatasourceConfigModel$toJson(),d.String,d.dynamic);return n.$indexSet(0,"isTransposed",t.isTransposed),e=t.breakdownDimension,n.$indexSet(0,"breakdownDimension",e==null?null:e.toJson$0()),n.$indexSet(0,"showLabel",t.showLabel),n.$indexSet(0,"isCumulative",t.isCumulative),n.$indexSet(0,"drillDimension",t.get$drillDimension()),n}},r._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig.prototype={},r._formatRows_closure.prototype={call$1(e){var t=e.value;return t=r.IterableExtension_mapIndexed(t.get$keys(t),new r._formatRows__closure(this.response,e),d.String,d.dynamic),r.List_List$of(t,!0,t.$ti._eval$1("Iterable.E"))},$signature:9},r._formatRows__closure.prototype={call$2(e,t){var n,a,i,o,s,_=null,u=r.IterableExtension_firstWhereOrNull(this.response.columns,new r._formatRows___closure(t)),c=u!=null;return c&&u.dataType===l.DATA_TYPE_1?(c=u.dataType,n=this.row.value.$index(0,t),a=u.optionType,r.DataTypeExtension_toDisplay(c,u.aggregationType,_,u.decimal,a,u.timeFormatter,n)):(c=c&&u.dataType===l.DATA_TYPE_3,n=this.row.value,c?(i=n.$index(0,t),typeof i=="number"?(c=u.dataType,n=u.optionType,r.DataTypeExtension_toDisplay(c,u.aggregationType,_,u.decimal,n,u.timeFormatter,i)):(o=i==null?_:m.toString$0$(i),o==null&&(o=""),s=r.RegExp_RegExp(Y.__s___,!1),s._nativeRegExp.test(o)&&!l.JSString_methods.startsWith$1(l.JSString_methods.trim$0(o),"-")?(c=d.MappedListIterable_String_String,l.JSArray_methods.join$1(r.List_List$of(new r.MappedListIterable(r._setArrayType(o.split("-"),d.JSArray_String),new r._formatRows___closure0(u),c),!0,c._eval$1("ListIterable.E")),"-")):(c=u.dataType,n=u.optionType,r.DataTypeExtension_toDisplay(c,u.aggregationType,_,u.decimal,n,u.timeFormatter,o)))):n.$index(0,t))},$signature:10},r._formatRows___closure.prototype={call$1(e){return e.id===this.key},$signature:0},r._formatRows___closure0.prototype={call$1(e){var t=l.JSString_methods.trim$0(e),n=r.num_tryParse(t);return n!=null&&(t=this.column.decimal,t=l.JSNumber_methods.toStringAsFixed$1(n,t??0)),t},$signature:2},r.accumulate_closure.prototype={call$2(e,t){var n,a={},i=this.config.metrics[0].aggregation,o=t.values;return i===l.AGGREGATION_TYPE_1?(a.total=0,a=r.ListExtensions_mapIndexed(o,new r.accumulate__closure(a),d.num,d.double),n=r.List_List$of(a,!0,a.$ti._eval$1("Iterable.E"))):(a.total=0,i=r._arrayInstanceType(o)._eval$1("MappedListIterable<1,num>"),n=r.List_List$of(new r.MappedListIterable(o,new r.accumulate__closure0(a),i),!0,i._eval$1("ListIterable.E"))),a=t.name,i=t.isCompare,new r.XYDatasetModel(a,i,n)},$signature:58},r.accumulate__closure.prototype={call$2(e,t){var n=this._box_0.total+=t;return n/(e+1)},$signature:59},r.accumulate__closure0.prototype={call$1(e){var t=this._box_0.total+=e;return t},$signature:60},r.formatBaseXYChartData_closure.prototype={call$1(e){return new r.ComparisonDataColumn(e.aggregationType==null,e.dateComparison)},$signature:25},r.formatBaseXYChartData_closure0.prototype={call$1(e){return e.fieldType===l.FIELD_TYPE_1},$signature:0},r.formatBaseXYChartData_closure1.prototype={call$1(e){var t=r.List_List$of(e,!0,d.dynamic);return l.JSArray_methods.insert$2(t,1,this.columns[this.metricIndex].label),t},$signature:11},r.formatBaseXYChartData_closure2.prototype={call$1(e){var t=r.List_List$of(e,!0,d.dynamic);return l.JSArray_methods.insert$2(t,1,this.columns[this.metricIndex].label),t},$signature:11},r.formatBaseXYChartData_closure3.prototype={call$1(e){var t=m.getInterceptor$asx(e);return m.$eq$(t.$index(e,0),this.x)&&m.$eq$(t.$index(e,1),this.datasetName)},$signature:4},r.formatBaseXYChartData_closure4.prototype={call$1(e){var t=m.getInterceptor$asx(e);return m.$eq$(t.$index(e,0),this.x)&&m.$eq$(t.$index(e,1),this.datasetName)},$signature:4},r._formatRows_closure0.prototype={call$1(e){var t=e.value;return t=r.IterableExtension_mapIndexed(t.get$keys(t),new r._formatRows__closure0(this.response,e),d.String,d.dynamic),r.List_List$of(t,!0,t.$ti._eval$1("Iterable.E"))},$signature:9},r._formatRows__closure0.prototype={call$2(e,t){var n,a,i,o,s,_=null,u=r.IterableExtension_firstWhereOrNull(this.response.columns,new r._formatRows___closure1(t)),c=u!=null;return c&&u.dataType===l.DATA_TYPE_1?(c=u.dataType,n=this.row.value.$index(0,t),a=u.optionType,r.DataTypeExtension_toDisplay(c,u.aggregationType,_,u.decimal,a,u.timeFormatter,n)):(c=c&&u.dataType===l.DATA_TYPE_3,n=this.row.value,c?(i=n.$index(0,t),typeof i=="number"?(c=u.dataType,n=u.optionType,r.DataTypeExtension_toDisplay(c,u.aggregationType,_,u.decimal,n,u.timeFormatter,i)):(o=i==null?_:m.toString$0$(i),o==null&&(o=""),s=r.RegExp_RegExp(Y.__s___,!1),s._nativeRegExp.test(o)&&!l.JSString_methods.startsWith$1(l.JSString_methods.trim$0(o),"-")?(c=d.MappedListIterable_String_String,l.JSArray_methods.join$1(r.List_List$of(new r.MappedListIterable(r._setArrayType(o.split("-"),d.JSArray_String),new r._formatRows___closure2(u),c),!0,c._eval$1("ListIterable.E")),"-")):(c=u.dataType,n=u.optionType,r.DataTypeExtension_toDisplay(c,u.aggregationType,_,u.decimal,n,u.timeFormatter,o)))):n.$index(0,t))},$signature:10},r._formatRows___closure1.prototype={call$1(e){return e.id===this.key},$signature:0},r._formatRows___closure2.prototype={call$1(e){var t=l.JSString_methods.trim$0(e),n=r.num_tryParse(t);return n!=null&&(t=this.column.decimal,t=l.JSNumber_methods.toStringAsFixed$1(n,t??0)),t},$signature:2},r.formatCircularChartData_closure.prototype={call$1(e){return new r.ComparisonDataColumn(e.aggregationType==null,e.dateComparison)},$signature:25},r.formatCircularChartData_closure0.prototype={call$1(e){return m.$eq$(m.$index$asx(e,0),this.datasetName)},$signature:4},r.formatCircularChartData_closure1.prototype={call$1(e){return m.$eq$(m.$index$asx(e,0),this.datasetName)},$signature:4},r.formatCircularChartData_closure2.prototype={call$3(e,t,n){return n.fieldType===l.FIELD_TYPE_1&&m.add$1$ax(t,n.label),t},$signature:64},r.ComparisonDataColumn.prototype={},r.RowInfo.prototype={},r._getRowInfo_closure.prototype={call$1(e){var t,n,a=this;return a.columns[e].dateComparison?(t=r.IterableExtension_firstWhereOrNull(a.dates,new r._getRowInfo__closure(a.row,e)),a.newRow[e]=t,t):(n=r.ListExtensions_elementAtOrNull(a.row,e),n??"")},$signature:65},r._getRowInfo__closure.prototype={call$1(e){var t=this.row,n=this.index,a=m.getInterceptor$asx(t);return a.$index(t,n)!=null&&l.JSString_methods.contains$1(e,a.$index(t,n))},$signature:3},r.ComparisonResult.prototype={},r.ComparisonData.prototype={},r.compare_closure.prototype={call$3(e,t,n){return n.isDimension&&!this._box_0.mainIndexesCompleted?m.add$1$ax(t,e):this._box_0.mainIndexesCompleted=!0,n.dateComparison&&(this._box_0.mainDateIndex=e),t},$signature:18},r.compare_closure0.prototype={call$3(e,t,n){return n.isDimension&&!this._box_0.comparisonIndexesCompleted?m.add$1$ax(t,e):this._box_0.comparisonIndexesCompleted=!0,n.dateComparison&&(this._box_0.comparisonDateIndex=e),t},$signature:18},r.compare_closure1.prototype={call$2(e,t){var n,a=this._box_0.mainDateIndex;return a.toString,n=r.ListExtensions_elementAtOrNull(t,a),n!=null&&!m.contains$1$asx(e,n)&&m.add$1$ax(e,n),e},$signature:26},r.compare_closure3.prototype={call$2(e,t){var n,a=this._box_0.comparisonDateIndex;return a.toString,n=r.ListExtensions_elementAtOrNull(t,a),n!=null&&!m.contains$1$asx(e,n)&&m.add$1$ax(e,n),e},$signature:26},r.compare_closure2.prototype={call$2(e,t){return t+"#"+r.S(m.elementAt$1$ax(this.compareDates,e))},$signature:68},r.compare_closure4.prototype={call$2(e,t){var n=r._getRowInfo(this.comparison.columns,this._box_0.dates,this.comparisonIndexes,t);return e.$indexSet(0,n.id,n.row),e},$signature:69},r._formatSparkline_closure.prototype={call$1(e){var t=e.value;return t=r.IterableExtension_mapIndexed(t.get$keys(t),new r._formatSparkline__closure(this.response,e,this.country),d.String,d.dynamic),r.List_List$of(t,!0,t.$ti._eval$1("Iterable.E"))},$signature:9},r._formatSparkline__closure.prototype={call$2(e,t){var n,a=r.IterableExtension_firstWhereOrNull(this.response.columns,new r._formatSparkline___closure(t)),i=a!=null&&a.dataType===l.DATA_TYPE_1,o=this.row.value;return i?(i=a.dataType,o=o.$index(0,t),n=a.optionType,r.DataTypeExtension_toDisplay(i,a.aggregationType,this.country,a.decimal,n,a.timeFormatter,o)):o.$index(0,t)},$signature:10},r._formatSparkline___closure.prototype={call$1(e){return e.id===this.key},$signature:0},r._formatSparkline_closure1.prototype={call$1(e){return e.fieldType===l.FIELD_TYPE_1},$signature:0},r._formatSparkline_closure0.prototype={call$1(e){var t=r.List_List$of(e,!0,d.dynamic);return l.JSArray_methods.insert$2(t,1,this.response.columns[this.metricIndex].label),t},$signature:11},r._formatSparkline_closure2.prototype={call$1(e){var t=m.getInterceptor$asx(e);return m.$eq$(t.$index(e,0),this.axis)&&m.$eq$(t.$index(e,1),this.datasetName)},$signature:4},r.formatScoreCardChartData_closure.prototype={call$1(e){return e.fieldType===l.FIELD_TYPE_1},$signature:0},r._formatTableResponse_closure.prototype={call$1(e){var t=this.config,n=r.List_List$of(t.get$rowIds(),!0,d.String);return l.JSArray_methods.addAll$1(n,t.get$columnIds()),!new r.MappedListIterable(n,new r._formatTableResponse__closure13,r._arrayInstanceType(n)._eval$1("MappedListIterable<1,String>")).contains$1(0,e.id)&&e.aggregationType==null},$signature:0},r._formatTableResponse__closure13.prototype={call$1(e){return e==="_metric_name"?e:r.uniqueAlias(e)},$signature:2},r._formatTableResponse_closure0.prototype={call$1(e){return e.id},$signature:70},r._formatTableResponse_closure1.prototype={call$1(e){var t,n,a,i,o,s,_,u,c=null,p={};return p.rowId=e,e==="_metric_name"?r._setArrayType([new r._Header(e,"Label",c,c,l.DATA_TYPE_0,c,c,!1,c,c,!1)],d.JSArray__Header_dynamic):(p.rowId=r.uniqueAlias(e),t=r.IterableExtension_firstWhereOrNull(this.response.columns,new r._formatTableResponse__closure12(p)),p=p.rowId,n=t==null,a=n?c:t.dataType,i=n?c:t.label,i==null&&(i=p),o=n?c:t.hide,s=n?c:t.optionType,_=n?c:t.decimal,u=n?c:t.timeFormatter,n=n?c:t.dateComparison,r._setArrayType([new r._Header(p,i,c,c,a,c,s,o===!0,_,u,n===!0)],d.JSArray__Header_dynamic))},$signature:27},r._formatTableResponse__closure12.prototype={call$1(e){return e.id===this._box_0.rowId},$signature:0},r._formatTableResponse_closure2.prototype={call$2(e,t){var n,a,i=r.IterableExtension_firstWhereOrNull(this.response.columns,new r._formatTableResponse__closure11(t));return i!=null&&(n=i.id,a=i.dataType,m.add$1$ax(e,r._setArrayType([new r._Header(n,i.label,null,null,a,null,i.optionType,!0,i.decimal,i.timeFormatter,i.dateComparison)],d.JSArray__Header_dynamic))),e},$signature:72},r._formatTableResponse__closure11.prototype={call$1(e){return e.id===this.id},$signature:0},r._formatTableResponse_closure3.prototype={call$1(e){var t,n,a={};return a.columnId=e,t=this.response,n=d.JSArray__Header_dynamic,e==="_metric_name"?l.JSArray_methods.fold$2(t.columns,r._setArrayType([],n),new r._formatTableResponse__closure9(a)):(a.columnId=r.uniqueAlias(e),l.JSArray_methods.fold$2(t.rows,r._setArrayType([],n),new r._formatTableResponse__closure10(a,t)))},$signature:27},r._formatTableResponse__closure9.prototype={call$2(e,t){var n,a;return t.fieldType===l.FIELD_TYPE_1&&(n=this._box_1.columnId,a=t.id,m.add$1$ax(e,new r._Header(n+":"+a,t.label,n,a,t.dataType,t.aggregationType,t.optionType,t.hide,t.decimal,t.timeFormatter,!1))),e},$signature:73},r._formatTableResponse__closure10.prototype={call$2(e,t){var n,a,i,o,s,_,u,c,p=null,f=this._box_1,h=t.value.$index(0,f.columnId),g=f.columnId+":"+r.S(h);return r.IterableExtension_firstWhereOrNull(e,new r._formatTableResponse___closure(g))==null&&!t.isRollup&&(n=r.IterableExtension_firstWhereOrNull(this.response.columns,new r._formatTableResponse___closure0(f)),f=f.columnId,a=n==null,i=a?p:n.dataType,o=a?p:n.aggregationType,s=a?p:n.optionType,_=a?p:n.hide,u=a?p:n.decimal,c=a?p:n.timeFormatter,a=a?p:n.dateComparison,m.add$1$ax(e,new r._Header(g,h,f,h,i,o,s,_===!0,u,c,a===!0))),e},$signature:74},r._formatTableResponse___closure.prototype={call$1(e){return e.id===this.id},$signature:5},r._formatTableResponse___closure0.prototype={call$1(e){return e.id===this._box_1.columnId},$signature:0},r._formatTableResponse_closure4.prototype={call$1(e){return e.fieldType===l.FIELD_TYPE_1},$signature:0},r._formatTableResponse_closure5.prototype={call$2(e,t){var n,a,i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I,E,w,b=null,C=d.JSArray_List_dynamic,A=r._setArrayType([[]],C),v=r._setArrayType([[]],C);for(C=this.headers,n=t.value,a=d.dynamic,i=d.JSArray_String,o=d.String,s=this.metricColumns,_=0;_<C.length;++_)if(u=C[_],c=m.getInterceptor$ax(u),p=c.map$1$1(u,new r._formatTableResponse__closure4,o).join$1(0,"|"),r.IterableExtension_firstWhereOrNull(u,new r._formatTableResponse__closure5)!=null)for(f=c.firstWhere$1(u,new r._formatTableResponse__closure6),h=c.fold$2(u,!0,new r._formatTableResponse__closure7(t)),c=A.length,g=f.type,$=f.columnValue,S=0;S<A.length;A.length===c||(0,r.throwConcurrentModificationError)(A),++S)T=A[S],h?(M=n.$index(0,$),D=T.length,_>=D&&l.JSArray_methods.addAll$1(T,r.List_List$filled(_-D+1,b,!1,a)),T[_]=M):(M=g==null?b:r.DataTypeExtension_toData(g,b),D=T.length,_>=D&&l.JSArray_methods.addAll$1(T,r.List_List$filled(_-D+1,b,!1,a)),T[_]=M);else if(l.JSArray_methods.contains$1(r._setArrayType(["_metric_name","_metric_value"],i),p))for(c=p==="_metric_value",g=p==="_metric_name",I=0;I<s.length;++I)E=s[I],r.ListExtension_elementAtOrNull(A,I)==null&&(A.push(r.List_List$of(A[0],!0,a)),v.push(r.List_List$of(v[0],!0,a))),g?($=A[I],M=E.label,D=$.length,_>=D&&l.JSArray_methods.addAll$1($,r.List_List$filled(_-D+1,b,!1,a)),$[_]=M,v[I].push(M)):c&&($=A[I],M=n.$index(0,E.id),D=$.length,_>=D&&l.JSArray_methods.addAll$1($,r.List_List$filled(_-D+1,b,!1,a)),$[_]=M);else for(w=0;w<A.length;++w)c=A[w],g=n.$index(0,p),$=c.length,_>=$&&l.JSArray_methods.addAll$1(c,r.List_List$filled(_-$+1,b,!1,a)),c[_]=g,v[w].push(n.$index(0,p));return m.addAll$1$ax(e,r.ListExtensions_mapIndexed(A,new r._formatTableResponse__closure8(v,t),d.List_dynamic,d.Map_String_dynamic)),e},$signature:76},r._formatTableResponse__closure4.prototype={call$1(e){return e.id},$signature:12},r._formatTableResponse__closure5.prototype={call$1(e){return e.columnId!=null},$signature:5},r._formatTableResponse__closure6.prototype={call$1(e){return e.columnId==="_metric_name"},$signature:5},r._formatTableResponse__closure7.prototype={call$2(e,t){var n=t.columnId;return n!=="_metric_name"&&!m.$eq$(t.columnValue,this.row.value.$index(0,n))?!1:e},$signature:78},r._formatTableResponse__closure8.prototype={call$2(e,t){return r.LinkedHashMap_LinkedHashMap$_literal(["id",l.JSArray_methods.join$1(this.newRowIds[e],"|"),"value",t,"_is_rollup",this.row.isRollup],d.String,d.dynamic)},$signature:79},r._formatTableResponse_closure6.prototype={call$2(e,t){var n=this.headers[e],a=r.IterableExtension_firstWhereOrNull(n,new r._formatTableResponse__closure3),i=a??r.IterableExtension_get_firstOrNull(n),o=m.$index$asx(this.formattedRow.$index(0,"value"),e);if((i==null?null:i.aggregationType)!=null&&o!=null)switch(i.aggregationType){case l.AGGREGATION_TYPE_0:case l.AGGREGATION_TYPE_2:case l.AGGREGATION_TYPE_3:case l.AGGREGATION_TYPE_4:case l.AGGREGATION_TYPE_5:case l.AGGREGATION_TYPE_8:case l.AGGREGATION_TYPE_9:case l.AGGREGATION_TYPE_1:return t!=null?m.$add$ansx(t,o):o;case l.AGGREGATION_TYPE_7:return t!=null&&!m.$eq$(t,"")?t:o;default:return t}else if(t==null)return o;return t},$signature:28},r._formatTableResponse__closure3.prototype={call$1(e){return e.columnId==="_metric_name"},$signature:5},r._formatTableResponse_closure7.prototype={call$2(e,t){return new r.TableRowModel(t.$index(0,"value"),[],t.$index(0,"_is_rollup"))},$signature:81},r._formatTableResponse_closure8.prototype={call$1(e){var t,n,a,i,o,s=null,_=d.String,u=m.getInterceptor$ax(e),c=u.map$1$1(e,new r._formatTableResponse__closure,_).join$1(0,"|"),p=u.map$1$1(e,new r._formatTableResponse__closure0(this.country),_).super$Iterable$where(0,new r._formatTableResponse__closure1).join$1(0,","),f=r.IterableExtension_firstWhereOrNull(e,new r._formatTableResponse__closure2),h=f??r.IterableExtension_get_firstOrNull(e);return _=h==null,u=_?s:h.type,t=_?s:h.aggregationType,n=_?s:h.dimensionOption,a=_?s:h.hide,i=_?s:h.decimal,o=_?s:h.timeFormatter,_=_?s:h.dateComparison,new r.TableColumnModel(c,p,u,t,n,i,o,a===!0,_===!0)},$signature:82},r._formatTableResponse__closure.prototype={call$1(e){return e.id},$signature:12},r._formatTableResponse__closure0.prototype={call$1(e){var t,n,a;try{return t=e.type,t==null?t=null:(n=e.label,a=e.dimensionOption,n=r.DataTypeExtension_toDisplay(t,e.aggregationType,this.country,null,a,null,n),t=n),t==null&&(t=e.label),t}catch{return t=e.label,t}},$signature:12},r._formatTableResponse__closure1.prototype={call$1(e){return e!==""},$signature:3},r._formatTableResponse__closure2.prototype={call$1(e){return e.columnId==="_metric_name"},$signature:5},r._Header.prototype={},r._formatTableData_closure.prototype={call$2(e,t){return r._formatTableResponse(this.config.get$joinDatasources()[e],this.country,t)},$signature:83},r._formatTableData_closure0.prototype={call$1(e){return l.JSArray_methods.indexWhere$1(this.joinResponse.columns,new r._formatTableData__closure2(e))},$signature:84},r._formatTableData__closure2.prototype={call$1(e){var t=e.key,n=this.condition.joinDimension;return t===(n==null?null:r.uniqueAlias(n.get$alias()))},$signature:13},r._formatTableData_closure1.prototype={call$1(e){var t=e.mainDimensions,n=r._arrayInstanceType(t)._eval$1("MappedListIterable<1,int>");return r.List_List$of(new r.MappedListIterable(t,new r._formatTableData__closure1(this._box_1),n),!0,n._eval$1("ListIterable.E"))},$signature:86},r._formatTableData__closure1.prototype={call$1(e){return l.JSArray_methods.indexWhere$1(this._box_1.mainResponse.columns,new r._formatTableData___closure0(e))},$signature:87},r._formatTableData___closure0.prototype={call$1(e){var t=e.key,n=this.mainDimension;return t===(n==null?null:r.uniqueAlias(n.get$alias()))},$signature:13},r._formatTableData_closure2.prototype={call$1(e){var t,n,a,i,o,s,_,u,c=this,p={};if(p.mainRow=e,t=c.joinResponse,n=l.JSArray_methods.fold$2(t.rows,null,new r._formatTableData__closure0(p,c.conditions,c.joinColumnIndexes,c.mainColumnIndexes,t)),a=p.mainRow,i=d.dynamic,o=a.cells,n!=null)t=r.List_List$of(o,!0,i),l.JSArray_methods.addAll$1(t,n.cells),t=p.mainRow=a.copyWith$1$cells(t);else{for(o=r.List_List$of(o,!0,i),t=t.columns,s=t.length,_=m.JSArray_JSArray$allocateGrowable(s,i),u=0;u<s;++u)i=t[u].type,_[u]=i==null?null:r.DataTypeExtension_toData(i,null);l.JSArray_methods.addAll$1(o,_),t=p.mainRow=a.copyWith$1$cells(o)}return t},$signature:29},r._formatTableData__closure0.prototype={call$2(e,t){var n,a,i,o,s,_,u,c,p=this;if(r.IterableExtension_foldIndexed(p.conditions,!0,new r._formatTableData___closure(p._box_0,t,p.joinColumnIndexes,p.mainColumnIndexes)))if(e==null)e=t;else for(n=p.joinResponse.columns,a=e.cells,i=m.getInterceptor$asx(a),o=t.cells,s=m.getInterceptor$asx(o),_=0;_<n.length;++_)switch(n[_].aggregationType){case l.AGGREGATION_TYPE_0:i.$index(a,_)==null&&i.$indexSet(a,_,0),u=i.$index(a,_),c=s.$index(o,_),i.$indexSet(a,_,m.$add$ansx(u,c??0));break}return e},$signature:89},r._formatTableData___closure.prototype={call$3(e,t,n){var a,i,o,s,_,u,c,p=this;switch(n.operator){case l.COMPARISON_OPERATOR_0:t=t&&m.$eq$(m.$index$asx(p.joinRow.cells,p.joinColumnIndexes[e]),m.$index$asx(p._box_0.mainRow.cells,m.get$first$ax(p.mainColumnIndexes[e])));break;case l.COMPARISON_OPERATOR_6:t?(a=p.joinRow.cells,i=p.joinColumnIndexes,o=m.getInterceptor$asx(a),s=r.Jiffy$(o.$index(a,i[e])),_=p._box_0,u=p.mainColumnIndexes,c=s._parse$1(r.Jiffy$(m.$index$asx(_.mainRow.cells,m.$index$asx(u[e],0)))),s.isSame$2(c,l.Units_0)||s.isAfter$2(c,l.Units_0)?(a=r.Jiffy$(o.$index(a,i[e])),c=a._parse$1(r.Jiffy$(m.$index$asx(_.mainRow.cells,m.$index$asx(u[e],1)))),a=a.isSame$2(c,l.Units_0)||a.isBefore$2(c,l.Units_0),t=a):t=!1):t=!1;break;default:t=!1;break}return t},$signature:90},r._formatTableData_closure3.prototype={call$1(e){var t=d.dynamic;return t=r.ListExtensions_mapIndexed(e.cells,new r._formatTableData__closure(e),t,t),e.copyWith$1$cells(r.List_List$of(t,!0,t.$ti._eval$1("Iterable.E")))},$signature:29},r._formatTableData__closure.prototype={call$2(e,t){return this.row.isRollup&&t==null?null:t},$signature:28},r._ColumnMapping.prototype={},r.formatTableChartData_closure.prototype={call$2(e,t){var n=r.List_List$of(e,!0,d.QueryRequestDimension);return l.JSArray_methods.addAll$1(n,t.get$dimensions()),n},$signature:91},r.formatTableChartData_closure0.prototype={call$2(e,t){var n=r.List_List$of(e,!0,d.QueryRequestMetric);return l.JSArray_methods.addAll$1(n,t.get$metrics()),n},$signature:92},r.formatTableChartData_closure1.prototype={call$1(e){return e.cells},$signature:30},r.formatTableChartData_closure2.prototype={call$1(e){return new r.ComparisonDataColumn(e.aggregationType==null,e.dateComparison)},$signature:31},r.formatTableChartData_closure3.prototype={call$1(e){return e.cells},$signature:30},r.formatTableChartData_closure4.prototype={call$1(e){return new r.ComparisonDataColumn(e.aggregationType==null,e.dateComparison)},$signature:31},r.formatTableChartData_closure5.prototype={call$2(e,t){return t.copyWith$1$cells(this.result.main[e])},$signature:6},r.formatTableChartData_closure6.prototype={call$2(e,t){return t.copyWith$1$cells(this.result.comparison[e])},$signature:6},r.formatTableChartData_closure7.prototype={call$1(e){return!e.hide},$signature:13},r.formatTableChartData_closure8.prototype={call$1(e){var t=e.column,n=e.processedKey;return new r.TableColumnModel(n,t.label,t.type,t.aggregationType,t.dimensionOption,t.decimal,t.timeFormatter,t.hide,t.dateComparison)},$signature:96},r.formatTableChartData_closure9.prototype={call$2(e,t){var n,a,i,o,s,_,u,c,p,f,h,g,$,S,T,M,D,I=this,E=[],w=[],b=t.cells,C=m.getInterceptor$asx(b),A=C.get$length(b);for(n=I.columnMappings,a=n.length,i=I.hasComparison,o=I.country,s=e<I.comparisonRowsLength,_=I._box_0,u=0;u<n.length;n.length===a||(0,r.throwConcurrentModificationError)(n),++u)c=n[u],p=c.mainIndex,f=p>=0&&p<A?C.$index(b,p):r.ListExtension_elementAtOrNull(b,p),p=c.column,h=p.type,g=h==null,E.push(g?null:r.DataTypeExtension_toDisplay(h,p.aggregationType,o,p.decimal,p.dimensionOption,p.timeFormatter,f)),i&&(s?($=_.comparison.rows[e].cells,S=m.getInterceptor$asx($),T=S.get$length($),M=c.comparisonIndex,D=M>=0&&M<T?S.$index($,M):r.ListExtension_elementAtOrNull($,M)):D=r.ListExtension_elementAtOrNull([],c.comparisonIndex),w.push(g?null:r.DataTypeExtension_toDisplay(h,p.aggregationType,o,p.decimal,p.dimensionOption,p.timeFormatter,D)));return t.copyWith$2$cells$comparisonCells(E,w)},$signature:6},r.TypedDataBuffer.prototype={get$length(e){return this._typed_buffer$_length},$index(e,t){if(t>=this._typed_buffer$_length)throw r.wrapException(r.IndexError$(t,this));return this._buffer[t]},$indexSet(e,t,n){if(t>=this._typed_buffer$_length)throw r.wrapException(r.IndexError$(t,this));this._buffer[t]=n},set$length(e,t){var n,a,i,o=this,s=o._typed_buffer$_length;if(t<s)for(n=o._buffer,a=t;a<s;++a)n[a]=0;else s=o._buffer.length,t>s&&(s===0?i=new Uint8Array(t):i=o._createBiggerBuffer$1(t),l.NativeUint8List_methods.setRange$3(i,0,o._typed_buffer$_length,o._buffer),o._buffer=i);o._typed_buffer$_length=t},_typed_buffer$_add$1(e){var t=this,n=t._typed_buffer$_length,a=t._buffer;n===a.length&&(a=t._createBiggerBuffer$1(null),l.NativeUint8List_methods.setRange$3(a,0,n,t._buffer),t._buffer=a),n=a,n[t._typed_buffer$_length++]=e},add$1(e,t){var n=this,a=n._typed_buffer$_length,i=n._buffer;a===i.length&&(i=n._createBiggerBuffer$1(null),l.NativeUint8List_methods.setRange$3(i,0,a,n._buffer),n._buffer=i),a=i,a[n._typed_buffer$_length++]=t},addAll$1(e,t){r.RangeError_checkNotNegative(0,"start"),this._addAll$3(t,0,null)},_addAll$3(e,t,n){var a,i,o,s,_,u=this,c="Too few elements",p=d.List_dynamic._is(e);if(p&&(n=e.length),n!=null){a=u._typed_buffer$_length,p&&(p=e.length,(t>p||n>p)&&r.throwExpression(r.StateError$(c))),i=n-t,o=a+i,u._ensureCapacity$1(o),p=u._buffer,l.NativeUint8List_methods.setRange$4(p,o,u._typed_buffer$_length+i,p,a),l.NativeUint8List_methods.setRange$4(u._buffer,a,o,e,t),u._typed_buffer$_length=o;return}for(p=m.get$iterator$ax(e),s=0;p.moveNext$0();)_=p.get$current(),s>=t&&u._typed_buffer$_add$1(_),++s;if(s<t)throw r.wrapException(r.StateError$(c))},_ensureCapacity$1(e){var t,n=this;e<=n._buffer.length||(t=n._createBiggerBuffer$1(e),l.NativeUint8List_methods.setRange$3(t,0,n._typed_buffer$_length,n._buffer),n._buffer=t)},_createBiggerBuffer$1(e){var t=this._buffer.length*2;return e!=null&&t<e?t=e:t<8&&(t=8),new Uint8Array(t)}},r._IntBuffer.prototype={},r.Uint8Buffer.prototype={},r.formatChartData_closure.prototype={call$1(e){return r.QueryResponse_fromJson(e)},$signature:97},r.Exports.prototype={},r._Exports.prototype={},function(){var t=m.LegacyJavaScriptObject.prototype;t.super$LegacyJavaScriptObject$toString=t.toString$0,t=r.JsLinkedHashMap.prototype,t.super$JsLinkedHashMap$internalContainsKey=t.internalContainsKey$1,t.super$JsLinkedHashMap$internalGet=t.internalGet$1,t.super$JsLinkedHashMap$internalSet=t.internalSet$2,t=r.ListMixin.prototype,t.super$ListMixin$setRange=t.setRange$4,t=r.Iterable.prototype,t.super$Iterable$where=t.where$1,t=r.BaseDatasourceConfigModel.prototype,t.super$BaseDatasourceConfigModel$toJson=t.toJson$0}(),function(){var t=R._static_2,n=R._static_1,a=R._instance_1u,i=R._instance_0u;t(r,"collection___defaultEquals$closure","_defaultEquals",98),n(r,"collection___defaultHashCode$closure","_defaultHashCode",99),n(r,"convert___defaultToEncodable$closure","_defaultToEncodable",7);var o;a(o=r.DateBuilder.prototype,"get$setYear","setYear$1",1),a(o,"get$setMonth","setMonth$1",1),a(o,"get$setDay","setDay$1",1),a(o,"get$setDayOfYear","setDayOfYear$1",1),a(o,"get$setHour","setHour$1",1),a(o,"get$setMinute","setMinute$1",1),a(o,"get$setSecond","setSecond$1",1),a(o,"get$setFractionalSecond","setFractionalSecond$1",1),n(r,"date_format_DateFormat_localeExists$closure","DateFormat_localeExists",66),i(r.DateFormat.prototype,"get$_initDigitMatcher","_initDigitMatcher$0",75),n(r,"js__formatChartData$closure","formatChartData",7)}(),function(){var t=R.mixin,n=R.inherit,a=R.inheritMany;n(r.Object,null),a(r.Object,[r.JS_CONST,m.Interceptor,m.ArrayIterator,r.Error,r.Iterable,r.ListIterator,r.Iterator,r.EmptyIterator,r.FixedLengthListMixin,r.Symbol,r.MapView,r.ConstantMap,r.JSInvocationMirror,r.Closure,r.TypeErrorDecoder,r.NullThrownFromJavaScriptException,r._Required,r.MapMixin,r.LinkedHashMapCell,r.LinkedHashMapKeyIterator,r.JSSyntaxRegExp,r._MatchImplementation,r._AllMatchesIterator,r.StringMatch,r._StringAllMatchesIterator,r._Cell,r.Rti,r._FunctionParameters,r._Type,r._IterationMarker,r._SyncStarIterator,r.StreamTransformerBase,r.__SetBase_Object_SetMixin,r._LinkedHashSetCell,r._LinkedHashSetIterator,r._ListBase_Object_ListMixin,r.ListMixin,r._UnmodifiableMapMixin,r.SetMixin,r.Codec,r._JsonStringifier,r._Utf8Encoder,r.DateTime,r.Duration,r._Enum,r.OutOfMemoryError,r.StackOverflowError,r._Exception,r.FormatException,r.Null,r.Sink,r.StringBuffer,r.Endian,r.Digest,r.HashSink,r.DateSymbols,r.DateBuilder,r.DateFormat,r._DateFormatField,r.StringStack,r.UninitializedLocaleData,r.LocaleDataException,r.Jiffy,r.Locale,r.JiffyException,r.QueryRequestCommonField,r.QueryResponseColumn,r.DateTimeRange,r.QueryResponse,r.QueryResponseRow,r.XYDatasetModel,r.BaseXYChartDataModel,r.DateComparison,r.CircularDatasetModel,r.CircularDataModel,r.ScorecardDataModel,r.SparklineDataModel,r.TableColumnModel,r.TableRowModel,r.TableDataModel,r.BaseDatasourceConfigModel,r.DataSourceDrillConfig,r.DataSourceRowColumnConfig,r.JoinDatasourceCondition,r.ComparisonDataColumn,r.RowInfo,r.ComparisonResult,r.ComparisonData,r._Header,r._ColumnMapping]),a(m.Interceptor,[m.JSBool,m.JSNull,m.JavaScriptObject,m.JSArray,m.JSNumber,m.JSString,r.NativeByteBuffer,r.NativeTypedData]),n(m.LegacyJavaScriptObject,m.JavaScriptObject),a(m.LegacyJavaScriptObject,[m.PlainJavaScriptObject,m.UnknownJavaScriptObject,m.JavaScriptFunction,r.BufferModule,r.BufferConstants,r.Buffer,r.ConsoleModule,r.Console,r.EventEmitter,r.Promise,r.Date,r.JsError,r.Atomics,r.Modules,r.Module,r.Net,r.Socket,r.NetAddress,r.NetServer,r.NodeJsError,r.Process,r.CPUUsage,r.Release,r.StreamModule,r.Readable,r.Writable,r.Duplex,r.Transform,r.WritableOptions,r.ReadableOptions,r.Immediate,r.Timeout,r.TTY,r.Util,r.Exports,r._Exports]),n(m.JSUnmodifiableArray,m.JSArray),a(m.JSNumber,[m.JSInt,m.JSNumNotInt]),a(r.Error,[r.LateError,r.TypeError,r.JsNoSuchMethodError,r.UnknownJsTypeError,r.RuntimeError,r._Error,r.JsonUnsupportedObjectError,r.AssertionError,r.NullThrownError,r.ArgumentError,r.NoSuchMethodError,r.UnsupportedError,r.UnimplementedError,r.StateError,r.ConcurrentModificationError,r.CyclicInitializationError]),a(r.Iterable,[r.EfficientLengthIterable,r.MappedIterable,r.WhereIterable,r.SkipIterable,r._ConstantMapKeyIterable,r.IterableBase,r._StringAllMatchesIterable]),a(r.EfficientLengthIterable,[r.ListIterable,r.EmptyIterable,r.LinkedHashMapKeyIterable]),a(r.ListIterable,[r.SubListIterable,r.MappedListIterable,r.ReversedListIterable,r._JsonMapKeyIterable,r._GeneratorIterable]),n(r.EfficientLengthMappedIterable,r.MappedIterable),a(r.Iterator,[r.MappedIterator,r.WhereIterator,r.SkipIterator]),n(r.EfficientLengthSkipIterable,r.SkipIterable),n(r._UnmodifiableMapView_MapView__UnmodifiableMapMixin,r.MapView),n(r.UnmodifiableMapView,r._UnmodifiableMapView_MapView__UnmodifiableMapMixin),n(r.ConstantMapView,r.UnmodifiableMapView),n(r.ConstantStringMap,r.ConstantMap),a(r.Closure,[r.Closure2Args,r.TearOffClosure,r.JsLinkedHashMap_values_closure,r.initHooks_closure,r.initHooks_closure1,r._LinkedCustomHashMap_closure,r.DateTime_parse_parseIntOrZero,r.DateTime_parse_parseMilliAndMicroseconds,r.DateFormat_dateTimeConstructor_closure,r.DateFormat__checkDateOnly_closure,r.DateFormat__initDigitMatcher_closure,r.DateFormat__initDigitMatcher_closure0,r._DateFormatPatternField_parseStandaloneDay_closure,r.Jiffy__parseString_closure,r.replaceOrdinalDatePattern_closure,r.uniqueAlias_closure,r.QueryResponse_fromJson_closure,r.QueryResponse_fromJson_closure0,r.QueryResponse_toJson_closure,r.QueryResponse_toJson_closure0,r.DataTypeExtension__formatTime_closure,r.DataTypeExtension__formatTime_closure0,r.DataTypeExtension_toDisplay_closure,r.BaseXYChartDataModel_toJson_closure,r.CircularDataModel_toJson_closure,r.SparklineDataModel_toJson_closure,r.TableDataModel_toJson_closure,r.TableDataModel_toJson_closure0,r.BaseDatasourceConfigModel_drilledDimensionIds_closure,r.BaseDatasourceConfigModel_metricIds_closure,r.BaseDatasourceConfigModel_toJson_closure,r.BaseDatasourceConfigModel_toJson_closure0,r.BaseDatasourceConfigModel_toJson_closure1,r.BaseDatasourceConfigModel_toJson_closure2,r.BaseDatasourceConfigModel_toJson_closure3,r.BaseDatasourceConfigModel_toJson_closure4,r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure,r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure0,r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure1,r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure2,r.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure3,r.DataSourceDrillConfig_drilledDimensions_closure,r.DataSourceRowColumnConfig_rowIds_closure,r.DataSourceRowColumnConfig_rowIds_closure0,r.DataSourceRowColumnConfig_rowIds_closure2,r.DataSourceRowColumnConfig_rowIds_closure1,r.DataSourceRowColumnConfig_columnIds_closure,r.DataSourceRowColumnConfig_columnIds_closure0,r.DataSourceRowColumnConfig_columnIds_closure1,r.TableDatasourceConfigModel_joinDatasources_closure,r.TableDatasourceConfigModel_toJson_closure,r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson_closure,r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure,r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure0,r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson____closure,r.JoinDatasourceConfig_JoinDatasourceConfig$fromJson_closure,r.JoinDatasourceConfig_toJson_closure,r.JoinDatasourceCondition_JoinDatasourceCondition$fromJson_closure,r.JoinDatasourceCondition_toJson_closure,r._formatRows_closure,r._formatRows___closure,r._formatRows___closure0,r.accumulate__closure0,r.formatBaseXYChartData_closure,r.formatBaseXYChartData_closure0,r.formatBaseXYChartData_closure1,r.formatBaseXYChartData_closure2,r.formatBaseXYChartData_closure3,r.formatBaseXYChartData_closure4,r._formatRows_closure0,r._formatRows___closure1,r._formatRows___closure2,r.formatCircularChartData_closure,r.formatCircularChartData_closure0,r.formatCircularChartData_closure1,r.formatCircularChartData_closure2,r._getRowInfo_closure,r._getRowInfo__closure,r.compare_closure,r.compare_closure0,r._formatSparkline_closure,r._formatSparkline___closure,r._formatSparkline_closure1,r._formatSparkline_closure0,r._formatSparkline_closure2,r.formatScoreCardChartData_closure,r._formatTableResponse_closure,r._formatTableResponse__closure13,r._formatTableResponse_closure0,r._formatTableResponse_closure1,r._formatTableResponse__closure12,r._formatTableResponse__closure11,r._formatTableResponse_closure3,r._formatTableResponse___closure,r._formatTableResponse___closure0,r._formatTableResponse_closure4,r._formatTableResponse__closure4,r._formatTableResponse__closure5,r._formatTableResponse__closure6,r._formatTableResponse__closure3,r._formatTableResponse_closure8,r._formatTableResponse__closure,r._formatTableResponse__closure0,r._formatTableResponse__closure1,r._formatTableResponse__closure2,r._formatTableData_closure0,r._formatTableData__closure2,r._formatTableData_closure1,r._formatTableData__closure1,r._formatTableData___closure0,r._formatTableData_closure2,r._formatTableData___closure,r._formatTableData_closure3,r.formatTableChartData_closure1,r.formatTableChartData_closure2,r.formatTableChartData_closure3,r.formatTableChartData_closure4,r.formatTableChartData_closure7,r.formatTableChartData_closure8,r.formatChartData_closure]),a(r.Closure2Args,[r.Primitives_functionNoSuchMethod_closure,r.JsLinkedHashMap_addAll_closure,r.initHooks_closure0,r.LinkedHashMap_LinkedHashMap$from_closure,r.MapBase_mapToString_closure,r._JsonStringifier_writeMap_closure,r.NoSuchMethodError_toString_closure,r.DateFormat__fieldConstructors_closure,r.DateFormat__fieldConstructors_closure0,r.DateFormat__fieldConstructors_closure1,r.Jiffy__parseMap_closure,r.DataSourceDrillConfig__availableIds_closure,r.DataSourceRowColumnConfig__availableIds_closure,r.DataSourceRowColumnConfig__availableIds_closure0,r.TableDatasourceConfigModel_drilledDimensions_closure,r.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson__closure,r._formatRows__closure,r.accumulate_closure,r.accumulate__closure,r._formatRows__closure0,r.compare_closure1,r.compare_closure3,r.compare_closure2,r.compare_closure4,r._formatSparkline__closure,r._formatTableResponse_closure2,r._formatTableResponse__closure9,r._formatTableResponse__closure10,r._formatTableResponse_closure5,r._formatTableResponse__closure7,r._formatTableResponse__closure8,r._formatTableResponse_closure6,r._formatTableResponse_closure7,r._formatTableData_closure,r._formatTableData__closure0,r._formatTableData__closure,r.formatTableChartData_closure,r.formatTableChartData_closure0,r.formatTableChartData_closure5,r.formatTableChartData_closure6,r.formatTableChartData_closure9]),n(r.NullError,r.TypeError),a(r.TearOffClosure,[r.StaticClosure,r.BoundClosure]),n(r.MapBase,r.MapMixin),a(r.MapBase,[r.JsLinkedHashMap,r._JsonMap]),a(r.IterableBase,[r._AllMatchesIterable,r._SyncStarIterable]),a(r.NativeTypedData,[r.NativeByteData,r.NativeTypedArray]),n(r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin,r.NativeTypedArray),n(r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin,r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin),n(r.NativeTypedArrayOfInt,r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin),a(r.NativeTypedArrayOfInt,[r.NativeUint16List,r.NativeUint32List,r.NativeUint8List]),n(r._TypeError,r._Error),n(r._LinkedCustomHashMap,r.JsLinkedHashMap),n(r._SetBase,r.__SetBase_Object_SetMixin),n(r._LinkedHashSet,r._SetBase),n(r.ListBase,r._ListBase_Object_ListMixin),n(r.Converter,r.StreamTransformerBase),a(r.Codec,[r.Encoding,r.JsonCodec]),n(r.JsonCyclicError,r.JsonUnsupportedObjectError),a(r.Converter,[r.JsonEncoder,r.JsonDecoder,r.Utf8Encoder]),n(r._JsonStringStringifier,r._JsonStringifier),n(r.Utf8Codec,r.Encoding),a(r.ArgumentError,[r.RangeError,r.IndexError]),a(r.ListBase,[r.ListSlice,r.TypedDataBuffer]),n(r.DigestSink,r.Sink),n(r._Sha1Sink,r.HashSink),a(r._DateFormatField,[r._DateFormatLiteralField,r._DateFormatQuotedField,r._DateFormatPatternField]),a(r._Enum,[r.StartOfWeek,r.Units,r.SCHEMA_NAME,r.DATA_TYPE,r.AGGREGATION_TYPE,r.COMPARISON_OPERATOR,r.DIMENSION_OPTION,r.TIME_FORMATTER,r.PERIOD_TYPE,r.SORT_TYPE,r.FIELD_TYPE,r.ChartType,r.SparklineType]),a(r.Locale,[r.ArLyLocale,r.ArSaMaDzKwTnLocale,r.AzLocale,r.BnLocale,r.DeLocale,r.EnLocale,r.EsLocale,r.FaLocale,r.FrLocale,r.HiLocale,r.IdLocale,r.ItLocale,r.JaLocale,r.KoLocale,r.NbLocale,r.NlLocale,r.PlLocale,r.PtLocale,r.RuLocale,r.SvLocale,r.ThLocale,r.TrLocale,r.UkLocale,r.ZhCnLocale,r.ZhLocale]),a(r.NodeJsError,[r.JsAssertionError,r.JsRangeError,r.JsReferenceError,r.JsSyntaxError,r.JsTypeError,r.JsSystemError]),a(r.Socket,[r.TTYReadStream,r.TTYWriteStream]),a(r.QueryRequestCommonField,[r.QueryRequestDimension,r.QueryRequestMetric,r.QueryRequestFilter,r.QueryRequestSort]),a(r.BaseDatasourceConfigModel,[r._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig,r.ScorecardDatasourceConfigModel,r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig,r._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig,r._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig]),n(r.CircularDatasourceConfigModel,r._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig),n(r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig,r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig),n(r.TableDatasourceConfigModel,r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig),n(r.JoinDatasourceConfig,r._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig),n(r.BaseXYDatasourceConfigModel,r._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig),n(r._IntBuffer,r.TypedDataBuffer),n(r.Uint8Buffer,r._IntBuffer),t(r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin,r.ListMixin),t(r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin,r.FixedLengthListMixin),t(r._ListBase_Object_ListMixin,r.ListMixin),t(r._UnmodifiableMapView_MapView__UnmodifiableMapMixin,r._UnmodifiableMapMixin),t(r.__SetBase_Object_SetMixin,r.SetMixin),t(r._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig,r.DataSourceDrillConfig),t(r._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig,r.DataSourceRowColumnConfig),t(r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig,r.DataSourceRowColumnConfig),t(r._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig,r.DataSourceDrillConfig),t(r._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig,r.DataSourceDrillConfig)}();var L={typeUniverse:{eC:new Map,tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{int:"int",double:"double",num:"num",String:"String",bool:"bool",Null:"Null",List:"List"},mangledNames:{},types:["bool(QueryResponseColumn)","~(int)","String(String)","bool(String)","bool(List<@>)","bool(_Header<@>)","TableRowModel(int,TableRowModel)","@(@)","bool(QueryRequestDimension)","List<@>(QueryResponseRow)","@(int,String)","List<@>(List<@>)","String(_Header<@>)","bool(TableColumnModel)","~(@,@)","~(Object?,Object?)","int(String?)","int(int)","List<int>(int,List<int>,ComparisonDataColumn)","String(Match)","String(int)","Map<String,@>(XYDatasetModel)","String(SCHEMA_NAME)","QueryRequestDimension(@)","Map<String,String>(Map<String,String>,QueryRequestDimension)","ComparisonDataColumn(QueryResponseColumn)","List<String>(List<String>,List<@>)","List<_Header<@>>(String)","@(int,@)","TableRowModel(TableRowModel)","List<@>(TableRowModel)","ComparisonDataColumn(TableColumnModel)","Map<String,@>(QueryRequestFilter)","Map<String,@>(QueryRequestMetric)","~(String,@)","Map<String,@>(QueryRequestSort)","SCHEMA_NAME(@)","bool(_DateFormatField)","QueryRequestMetric(@)","QueryRequestFilter(@)","QueryRequestSort(@)","@(String)","_DateFormatQuotedField(String,DateFormat)","Map<String,String>(Map<String,String>,QueryRequestMetric)","_DateFormatPatternField(String,DateFormat)","~(Symbol0,@)","int(QueryRequestDimension,QueryRequestDimension)","JoinDatasourceConfig(JoinDatasourceConfig)","Map<String,@>(JoinDatasourceConfig)","JoinDatasourceConfig(Map<String,@>)","JoinDatasourceCondition(int,JoinDatasourceCondition)","QueryRequestDimension?(String)","JoinDatasourceCondition(Map<String,@>)","Map<String,@>(JoinDatasourceCondition)","Map<String,@>?(QueryRequestDimension?)","bool(@)","~(Match)","QueryResponseColumn(@)","XYDatasetModel(int,XYDatasetModel)","double(int,num)","num(num)","QueryResponseRow(@)","Map<String,@>(QueryResponseColumn)","Map<String,@>(QueryResponseRow)","List<String>(int,List<String>,QueryResponseColumn)","@(int)","bool(String?)","@(@,String)","String(int,String)","Map<String,List<@>>(Map<String,List<@>>,List<@>)","String(QueryResponseColumn)","String(@)","List<List<_Header<@>>>(List<List<_Header<@>>>,String)","List<_Header<@>>(List<_Header<@>>,QueryResponseColumn)","List<_Header<@>>(List<_Header<@>>,QueryResponseRow)","RegExp()","List<Map<String,@>>(List<Map<String,@>>,QueryResponseRow)","Map<String,@>(CircularDatasetModel)","bool(bool,_Header<@>)","Map<String,@>(int,List<@>)","Map<String,@>(TableRowModel)","TableRowModel(int,Map<String,@>)","TableColumnModel(List<_Header<@>>)","TableDataModel(int,QueryResponse)","int(JoinDatasourceCondition)","Map<String,@>(TableColumnModel)","List<int>(JoinDatasourceCondition)","int(QueryRequestDimension?)","String(QueryRequestDimension)","TableRowModel?(TableRowModel?,TableRowModel)","bool(int,bool,JoinDatasourceCondition)","Iterable<QueryRequestDimension>(Iterable<QueryRequestDimension>,JoinDatasourceConfig)","Iterable<QueryRequestMetric>(Iterable<QueryRequestMetric>,JoinDatasourceConfig)","String(QueryRequestMetric)","DateTime(int,int,int,int,int,int,int,bool)","Map<String,@>(QueryRequestDimension)","TableColumnModel(_ColumnMapping)","QueryResponse(@)","bool(Object?,Object?)","int(Object?)","_DateFormatLiteralField(String,DateFormat)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")};r._Universe_addRules(L.typeUniverse,JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","JSBool":{"bool":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[]},"JSInt":{"double":[],"int":[],"num":[]},"JSNumNotInt":{"double":[],"num":[]},"JSString":{"String":[]},"LateError":{"Error":[]},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"NullError":{"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"JSSyntaxRegExp":{"RegExp":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Error":{"Error":[]},"_TypeError":{"Error":[]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.V":"2"},"_LinkedHashSet":{"SetMixin":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"_SetBase":{"SetMixin":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"double":{"num":[]},"int":{"num":[]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"RegExpMatch":{"Match":[]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"ListSlice":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"_DateFormatLiteralField":{"_DateFormatField":[]},"_DateFormatQuotedField":{"_DateFormatField":[]},"_DateFormatPatternField":{"_DateFormatField":[]},"ArLyLocale":{"Locale":[]},"ArSaMaDzKwTnLocale":{"Locale":[]},"AzLocale":{"Locale":[]},"BnLocale":{"Locale":[]},"DeLocale":{"Locale":[]},"EnLocale":{"Locale":[]},"EsLocale":{"Locale":[]},"FaLocale":{"Locale":[]},"FrLocale":{"Locale":[]},"HiLocale":{"Locale":[]},"IdLocale":{"Locale":[]},"ItLocale":{"Locale":[]},"JaLocale":{"Locale":[]},"KoLocale":{"Locale":[]},"NbLocale":{"Locale":[]},"NlLocale":{"Locale":[]},"PlLocale":{"Locale":[]},"PtLocale":{"Locale":[]},"RuLocale":{"Locale":[]},"SvLocale":{"Locale":[]},"ThLocale":{"Locale":[]},"TrLocale":{"Locale":[]},"UkLocale":{"Locale":[]},"ZhCnLocale":{"Locale":[]},"ZhLocale":{"Locale":[]},"TypedDataBuffer":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_IntBuffer":{"TypedDataBuffer":["int"],"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8Buffer":{"TypedDataBuffer":["int"],"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"}}')),r._Universe_addErasedTypes(L.typeUniverse,JSON.parse('{"ArrayIterator":1,"EfficientLengthIterable":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"SkipIterator":1,"EmptyIterator":1,"FixedLengthListMixin":1,"ConstantMap":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"_UnmodifiableMapMixin":2,"MapView":2,"UnmodifiableMapView":2,"_SetBase":1,"_ListBase_Object_ListMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"Codec":2,"Converter":2,"Iterator":1,"Sink":1,"UninitializedLocaleData":1,"_Header":1}'));var Y={Cannot:"Cannot change the length of a fixed-length list",__s___:"^\\s*-?\\d+(\\.\\d+)?\\s*-\\s*-?\\d+(\\.\\d+)?\\s*$"},d=function(){var t=r.findType;return{ConstantMapView_Symbol_dynamic:t("ConstantMapView<Symbol0,@>"),EfficientLengthIterable_dynamic:t("EfficientLengthIterable<@>"),Error:t("Error"),Function:t("Function"),JSArray_CircularDatasetModel:t("JSArray<CircularDatasetModel>"),JSArray_JoinDatasourceConfig:t("JSArray<JoinDatasourceConfig>"),JSArray_List__Header_dynamic:t("JSArray<List<_Header<@>>>"),JSArray_List_dynamic:t("JSArray<List<@>>"),JSArray_Map_String_dynamic:t("JSArray<Map<String,@>>"),JSArray_QueryRequestDimension:t("JSArray<QueryRequestDimension>"),JSArray_QueryRequestMetric:t("JSArray<QueryRequestMetric>"),JSArray_String:t("JSArray<String>"),JSArray_TableColumnModel:t("JSArray<TableColumnModel>"),JSArray_TableRowModel:t("JSArray<TableRowModel>"),JSArray_XYDatasetModel:t("JSArray<XYDatasetModel>"),JSArray__ColumnMapping:t("JSArray<_ColumnMapping>"),JSArray__DateFormatField:t("JSArray<_DateFormatField>"),JSArray__Header_dynamic:t("JSArray<_Header<@>>"),JSArray_dynamic:t("JSArray<@>"),JSArray_int:t("JSArray<int>"),JSArray_num:t("JSArray<num>"),JSArray_of__DateFormatField_Function_String_DateFormat:t("JSArray<_DateFormatField(String,DateFormat)>"),JSNull:t("JSNull"),JavaScriptFunction:t("JavaScriptFunction"),JavaScriptIndexingBehavior_dynamic:t("JavaScriptIndexingBehavior<@>"),JoinDatasourceCondition:t("JoinDatasourceCondition"),JsLinkedHashMap_Symbol_dynamic:t("JsLinkedHashMap<Symbol0,@>"),List__Header_dynamic:t("List<_Header<@>>"),List_dynamic:t("List<@>"),Map_String_dynamic:t("Map<String,@>"),Map_dynamic_dynamic:t("Map<@,@>"),MappedListIterable_String_String:t("MappedListIterable<String,String>"),MappedListIterable__ColumnMapping_TableColumnModel:t("MappedListIterable<_ColumnMapping,TableColumnModel>"),MappedListIterable_int_String:t("MappedListIterable<int,String>"),NativeTypedArrayOfInt:t("NativeTypedArrayOfInt"),NativeUint8List:t("NativeUint8List"),Null:t("Null"),Object:t("Object"),QueryRequestDimension:t("QueryRequestDimension"),QueryRequestFilter:t("QueryRequestFilter"),QueryRequestMetric:t("QueryRequestMetric"),QueryRequestSort:t("QueryRequestSort"),QueryResponse:t("QueryResponse"),QueryResponseColumn:t("QueryResponseColumn"),QueryResponseRow:t("QueryResponseRow"),Record:t("Record"),RegExpMatch:t("RegExpMatch"),SCHEMA_NAME:t("SCHEMA_NAME"),String:t("String"),TableColumnModel:t("TableColumnModel"),TableDataModel:t("TableDataModel"),TableRowModel:t("TableRowModel"),UnknownJavaScriptObject:t("UnknownJavaScriptObject"),XYDatasetModel:t("XYDatasetModel"),_Header_dynamic:t("_Header<@>"),bool:t("bool"),double:t("double"),dynamic:t("@"),int:t("int"),legacy_Never:t("0&*"),legacy_Object:t("Object*"),nullable_Future_Null:t("Future<Null>?"),nullable_Object:t("Object?"),nullable_QueryRequestDimension:t("QueryRequestDimension?"),num:t("num")}}();(function(){var t=R.makeConstList;l.Interceptor_methods=m.Interceptor.prototype,l.JSArray_methods=m.JSArray.prototype,l.JSInt_methods=m.JSInt.prototype,l.JSNumber_methods=m.JSNumber.prototype,l.JSString_methods=m.JSString.prototype,l.JavaScriptFunction_methods=m.JavaScriptFunction.prototype,l.JavaScriptObject_methods=m.JavaScriptObject.prototype,l.NativeUint8List_methods=r.NativeUint8List.prototype,l.PlainJavaScriptObject_methods=m.PlainJavaScriptObject.prototype,l.UnknownJavaScriptObject_methods=m.UnknownJavaScriptObject.prototype,l.AGGREGATION_TYPE_0=new r.AGGREGATION_TYPE("SUM"),l.AGGREGATION_TYPE_1=new r.AGGREGATION_TYPE("AVERAGE"),l.AGGREGATION_TYPE_2=new r.AGGREGATION_TYPE("COUNT"),l.AGGREGATION_TYPE_3=new r.AGGREGATION_TYPE("COUNT_DISTINCT"),l.AGGREGATION_TYPE_4=new r.AGGREGATION_TYPE("FIRST"),l.AGGREGATION_TYPE_5=new r.AGGREGATION_TYPE("LAST"),l.AGGREGATION_TYPE_7=new r.AGGREGATION_TYPE("MERGE"),l.AGGREGATION_TYPE_8=new r.AGGREGATION_TYPE("MIN"),l.AGGREGATION_TYPE_9=new r.AGGREGATION_TYPE("MAX"),l.COMPARISON_OPERATOR_0=new r.COMPARISON_OPERATOR("EQUAL"),l.COMPARISON_OPERATOR_6=new r.COMPARISON_OPERATOR("BETWEEN"),l.C_EmptyIterator=new r.EmptyIterator,l.C_Endian=new r.Endian,l.C_Endian0=new r.Endian,l.C_JS_CONST=function(a){var i=Object.prototype.toString.call(a);return i.substring(8,i.length-1)},l.C_JS_CONST0=function(){var n=Object.prototype.toString;function a(c){var p=n.call(c);return p.substring(8,p.length-1)}function i(c,p){if(/^HTML[A-Z].*Element$/.test(p)){var f=n.call(c);return f=="[object Object]"?null:"HTMLElement"}}function o(c,p){return x.HTMLElement&&c instanceof HTMLElement?"HTMLElement":i(c,p)}function s(c){if(typeof window>"u"||typeof window[c]>"u")return null;var p=window[c];return typeof p!="function"?null:p.prototype}function _(c){return null}var u=typeof navigator=="object";return{getTag:a,getUnknownTag:u?o:i,prototypeForTag:s,discriminator:_}},l.C_JS_CONST6=function(n){return function(a){if(typeof navigator!="object")return a;var i=navigator.userAgent;if(i.indexOf("DumpRenderTree")>=0)return a;if(i.indexOf("Chrome")>=0){let o=function(s){return typeof window=="object"&&window[s]&&window[s].name==s};if(o("Window")&&o("HTMLElement"))return a}a.getTag=n}},l.C_JS_CONST1=function(n){if(typeof dartExperimentalFixupGetTag!="function")return n;n.getTag=dartExperimentalFixupGetTag(n.getTag)},l.C_JS_CONST2=function(n){var a=n.getTag,i=n.prototypeForTag;function o(_){var u=a(_);return u=="Document"?_.xmlVersion?"!Document":"!HTMLDocument":u}function s(_){return _=="Document"?null:i(_)}n.getTag=o,n.prototypeForTag=s},l.C_JS_CONST5=function(n){var a=typeof navigator=="object"?navigator.userAgent:"";if(a.indexOf("Firefox")==-1)return n;var i=n.getTag,o={BeforeUnloadEvent:"Event",DataTransfer:"Clipboard",GeoGeolocation:"Geolocation",Location:"!Location",WorkerMessageEvent:"MessageEvent",XMLDocument:"!Document"};function s(_){var u=i(_);return o[u]||u}n.getTag=s},l.C_JS_CONST4=function(n){var a=typeof navigator=="object"?navigator.userAgent:"";if(a.indexOf("Trident/")==-1)return n;var i=n.getTag,o={BeforeUnloadEvent:"Event",DataTransfer:"Clipboard",HTMLDDElement:"HTMLElement",HTMLDTElement:"HTMLElement",HTMLPhraseElement:"HTMLElement",Position:"Geoposition"};function s(u){var c=i(u),p=o[c];return p||(c=="Object"&&window.DataView&&u instanceof window.DataView?"DataView":c)}function _(u){var c=window[u];return c==null?null:c.prototype}n.getTag=s,n.prototypeForTag=_},l.C_JS_CONST3=function(n){return n},l.C_JsonCodec=new r.JsonCodec,l.C_OutOfMemoryError=new r.OutOfMemoryError,l.C_Utf8Codec=new r.Utf8Codec,l.C_Utf8Encoder=new r.Utf8Encoder,l.C__Required=new r._Required,l.ChartType_0=new r.ChartType("CIRCULAR"),l.ChartType_1=new r.ChartType("TABLE"),l.ChartType_3=new r.ChartType("SCORECARD"),l.ChartType_4=new r.ChartType("LINECHART"),l.ChartType_5=new r.ChartType("BARCHART"),l.ChartType_7=new r.ChartType("STACKLINECHART"),l.ChartType_8=new r.ChartType("STACKBARCHART"),l.DATA_TYPE_0=new r.DATA_TYPE("STRING"),l.DATA_TYPE_1=new r.DATA_TYPE("TIMESTAMP"),l.DATA_TYPE_2=new r.DATA_TYPE("BOOL"),l.DATA_TYPE_3=new r.DATA_TYPE("NUMERIC"),l.DIMENSION_OPTION_0=new r.DIMENSION_OPTION("DATE_TIME"),l.DIMENSION_OPTION_1=new r.DIMENSION_OPTION("HOUR"),l.DIMENSION_OPTION_2=new r.DIMENSION_OPTION("DAY"),l.DIMENSION_OPTION_3=new r.DIMENSION_OPTION("WEEK"),l.DIMENSION_OPTION_4=new r.DIMENSION_OPTION("MONTH"),l.DIMENSION_OPTION_6=new r.DIMENSION_OPTION("HOUR_OF_DAY"),l.DIMENSION_OPTION_7=new r.DIMENSION_OPTION("DAY_OF_WEEK"),l.FIELD_TYPE_1=new r.FIELD_TYPE("METRIC"),l.JsonDecoder_null=new r.JsonDecoder(null),l.JsonEncoder_null=new r.JsonEncoder(null),l.COMPARISON_OPERATOR_1=new r.COMPARISON_OPERATOR("NOT_EQUAL"),l.COMPARISON_OPERATOR_2=new r.COMPARISON_OPERATOR("GREATER_THAN"),l.COMPARISON_OPERATOR_3=new r.COMPARISON_OPERATOR("LESS_THAN"),l.COMPARISON_OPERATOR_4=new r.COMPARISON_OPERATOR("GREATER_THAN_OR_EQUAL"),l.COMPARISON_OPERATOR_5=new r.COMPARISON_OPERATOR("LESS_THAN_OR_EQUAL"),l.COMPARISON_OPERATOR_7=new r.COMPARISON_OPERATOR("LIKE"),l.COMPARISON_OPERATOR_8=new r.COMPARISON_OPERATOR("NOT_LIKE"),l.COMPARISON_OPERATOR_9=new r.COMPARISON_OPERATOR("AND"),l.COMPARISON_OPERATOR_10=new r.COMPARISON_OPERATOR("OR"),l.List_2bH=r._setArrayType(t([l.COMPARISON_OPERATOR_0,l.COMPARISON_OPERATOR_1,l.COMPARISON_OPERATOR_2,l.COMPARISON_OPERATOR_3,l.COMPARISON_OPERATOR_4,l.COMPARISON_OPERATOR_5,l.COMPARISON_OPERATOR_6,l.COMPARISON_OPERATOR_7,l.COMPARISON_OPERATOR_8,l.COMPARISON_OPERATOR_9,l.COMPARISON_OPERATOR_10]),r.findType("JSArray<COMPARISON_OPERATOR>")),l.List_3US=r._setArrayType(t(["S","M","T","W","T","F","S"]),d.JSArray_String),l.SCHEMA_NAME_0=new r.SCHEMA_NAME("BILL"),l.SCHEMA_NAME_1=new r.SCHEMA_NAME("BUSINESS"),l.SCHEMA_NAME_2=new r.SCHEMA_NAME("COUNTER"),l.SCHEMA_NAME_3=new r.SCHEMA_NAME("DRAWER"),l.SCHEMA_NAME_4=new r.SCHEMA_NAME("FLATTEN_ITEM"),l.SCHEMA_NAME_5=new r.SCHEMA_NAME("PARENT_FLATTEN_ITEM"),l.SCHEMA_NAME_6=new r.SCHEMA_NAME("ADDON_FLATTEN_ITEM"),l.SCHEMA_NAME_7=new r.SCHEMA_NAME("ITEM"),l.SCHEMA_NAME_8=new r.SCHEMA_NAME("SUB_ITEM"),l.SCHEMA_NAME_9=new r.SCHEMA_NAME("PAYMENT"),l.SCHEMA_NAME_10=new r.SCHEMA_NAME("PAYMENT_TIME_PAYMENT"),l.SCHEMA_NAME_11=new r.SCHEMA_NAME("CHARGE"),l.SCHEMA_NAME_12=new r.SCHEMA_NAME("RECORD"),l.SCHEMA_NAME_13=new r.SCHEMA_NAME("RESTAURANT"),l.SCHEMA_NAME_14=new r.SCHEMA_NAME("RESTAURANT_FEATURE"),l.SCHEMA_NAME_15=new r.SCHEMA_NAME("SLOT"),l.SCHEMA_NAME_16=new r.SCHEMA_NAME("STAFF"),l.SCHEMA_NAME_17=new r.SCHEMA_NAME("TIMESHEET"),l.SCHEMA_NAME_18=new r.SCHEMA_NAME("TIMESHEET_RECORD"),l.SCHEMA_NAME_19=new r.SCHEMA_NAME("ADJUSTMENT"),l.SCHEMA_NAME_20=new r.SCHEMA_NAME("INVENTORY_ADJUSTMENT"),l.SCHEMA_NAME_21=new r.SCHEMA_NAME("INVENTORY_ADJUSTMENT_SKU"),l.SCHEMA_NAME_22=new r.SCHEMA_NAME("INVENTORY_ADJUSTMENT_PHYSICAL_SKU"),l.SCHEMA_NAME_23=new r.SCHEMA_NAME("CLOSING_SKU"),l.SCHEMA_NAME_24=new r.SCHEMA_NAME("PURCHASE_ORDER"),l.SCHEMA_NAME_25=new r.SCHEMA_NAME("PURCHASE_ORDER_ITEM"),l.SCHEMA_NAME_26=new r.SCHEMA_NAME("PURCHASE_ORDER_DELIVERY_ORDER"),l.SCHEMA_NAME_27=new r.SCHEMA_NAME("PURCHASE_ORDER_DELIVERY_FULFILLMENT"),l.SCHEMA_NAME_28=new r.SCHEMA_NAME("PURCHASE_ORDER_DELIVERY_ORDER_SKU"),l.SCHEMA_NAME_29=new r.SCHEMA_NAME("PURCHASE_ORDER_DELIVERY_FULFILLMENT_SKU"),l.SCHEMA_NAME_30=new r.SCHEMA_NAME("INTERNAL_PURCHASE_ORDER"),l.SCHEMA_NAME_31=new r.SCHEMA_NAME("INTERNAL_PURCHASE_ORDER_ITEM"),l.SCHEMA_NAME_32=new r.SCHEMA_NAME("INTERNAL_PURCHASE_ORDER_DELIVERY_ORDER"),l.SCHEMA_NAME_33=new r.SCHEMA_NAME("INTERNAL_PURCHASE_ORDER_DELIVERY_FULFILLMENT"),l.SCHEMA_NAME_34=new r.SCHEMA_NAME("INTERNAL_PURCHASE_ORDER_DELIVERY_ORDER_SKU"),l.SCHEMA_NAME_35=new r.SCHEMA_NAME("INTERNAL_PURCHASE_ORDER_DELIVERY_FULFILLMENT_SKU"),l.SCHEMA_NAME_36=new r.SCHEMA_NAME("VOUCHER_CLAIM"),l.SCHEMA_NAME_37=new r.SCHEMA_NAME("VOUCHER_CLAIM_REDEMPTION"),l.SCHEMA_NAME_38=new r.SCHEMA_NAME("USER"),l.SCHEMA_NAME_39=new r.SCHEMA_NAME("MEMBER"),l.SCHEMA_NAME_40=new r.SCHEMA_NAME("MEMBER_V2"),l.SCHEMA_NAME_41=new r.SCHEMA_NAME("INVENTORY_WAREHOUSE_LOCATION"),l.SCHEMA_NAME_42=new r.SCHEMA_NAME("INVENTORY_RESTAURANT_LOCATION"),l.SCHEMA_NAME_43=new r.SCHEMA_NAME("MEMBER_STORE_PURCHASE"),l.SCHEMA_NAME_44=new r.SCHEMA_NAME("MEMBER_STORE_PURCHASE_PAYMENT"),l.SCHEMA_NAME_45=new r.SCHEMA_NAME("MEMBER_TITLE"),l.SCHEMA_NAME_46=new r.SCHEMA_NAME("MEMBERSHIP"),l.SCHEMA_NAME_47=new r.SCHEMA_NAME("MEMBERSHIP_TITLE"),l.SCHEMA_NAME_48=new r.SCHEMA_NAME("CREDIT_TRANSACTION"),l.SCHEMA_NAME_49=new r.SCHEMA_NAME("MENU_V3_GROUP"),l.SCHEMA_NAME_50=new r.SCHEMA_NAME("MENU_V4_GROUP"),l.SCHEMA_NAME_51=new r.SCHEMA_NAME("MENU_V3_SKU"),l.SCHEMA_NAME_52=new r.SCHEMA_NAME("MENU_V4_SKU"),l.SCHEMA_NAME_53=new r.SCHEMA_NAME("MENU_V3_ITEM"),l.SCHEMA_NAME_54=new r.SCHEMA_NAME("MENU_V4_ITEM"),l.SCHEMA_NAME_55=new r.SCHEMA_NAME("STOCK"),l.SCHEMA_NAME_56=new r.SCHEMA_NAME("REVIEW"),l.SCHEMA_NAME_57=new r.SCHEMA_NAME("CAMPAIGN"),l.SCHEMA_NAME_58=new r.SCHEMA_NAME("COLLECTIBLE_CONFIG"),l.SCHEMA_NAME_59=new r.SCHEMA_NAME("COLLECTIBLE_TRANSACTION"),l.SCHEMA_NAME_60=new r.SCHEMA_NAME("CAMPAIGN_TIER"),l.SCHEMA_NAME_61=new r.SCHEMA_NAME("STORE_TRANSACTION"),l.SCHEMA_NAME_62=new r.SCHEMA_NAME("STORE_BUNDLE"),l.SCHEMA_NAME_63=new r.SCHEMA_NAME("COLLECTIBLE_COLLECTION"),l.SCHEMA_NAME_64=new r.SCHEMA_NAME("KITCHEN_STATION"),l.SCHEMA_NAME_65=new r.SCHEMA_NAME("REFUND_BILL"),l.SCHEMA_NAME_66=new r.SCHEMA_NAME("MENU_V4_ITEM_INVENTORY_BINDING"),l.SCHEMA_NAME_67=new r.SCHEMA_NAME("INVENTORY_V1_FLATTEN_INVENTORY"),l.SCHEMA_NAME_68=new r.SCHEMA_NAME("ITEM_MOVEMENT"),l.SCHEMA_NAME_69=new r.SCHEMA_NAME("DS_BILL_ITEM"),l.SCHEMA_NAME_70=new r.SCHEMA_NAME("DS_MENU_PRODUCT"),l.SCHEMA_NAME_71=new r.SCHEMA_NAME("DS_MENU_PRODUCT_2"),l.SCHEMA_NAME_72=new r.SCHEMA_NAME("DS_BILL_ITEM_PRODUCT"),l.SCHEMA_NAME_73=new r.SCHEMA_NAME("RECOMMENDATION_CALL"),l.List_46y=r._setArrayType(t([l.SCHEMA_NAME_0,l.SCHEMA_NAME_1,l.SCHEMA_NAME_2,l.SCHEMA_NAME_3,l.SCHEMA_NAME_4,l.SCHEMA_NAME_5,l.SCHEMA_NAME_6,l.SCHEMA_NAME_7,l.SCHEMA_NAME_8,l.SCHEMA_NAME_9,l.SCHEMA_NAME_10,l.SCHEMA_NAME_11,l.SCHEMA_NAME_12,l.SCHEMA_NAME_13,l.SCHEMA_NAME_14,l.SCHEMA_NAME_15,l.SCHEMA_NAME_16,l.SCHEMA_NAME_17,l.SCHEMA_NAME_18,l.SCHEMA_NAME_19,l.SCHEMA_NAME_20,l.SCHEMA_NAME_21,l.SCHEMA_NAME_22,l.SCHEMA_NAME_23,l.SCHEMA_NAME_24,l.SCHEMA_NAME_25,l.SCHEMA_NAME_26,l.SCHEMA_NAME_27,l.SCHEMA_NAME_28,l.SCHEMA_NAME_29,l.SCHEMA_NAME_30,l.SCHEMA_NAME_31,l.SCHEMA_NAME_32,l.SCHEMA_NAME_33,l.SCHEMA_NAME_34,l.SCHEMA_NAME_35,l.SCHEMA_NAME_36,l.SCHEMA_NAME_37,l.SCHEMA_NAME_38,l.SCHEMA_NAME_39,l.SCHEMA_NAME_40,l.SCHEMA_NAME_41,l.SCHEMA_NAME_42,l.SCHEMA_NAME_43,l.SCHEMA_NAME_44,l.SCHEMA_NAME_45,l.SCHEMA_NAME_46,l.SCHEMA_NAME_47,l.SCHEMA_NAME_48,l.SCHEMA_NAME_49,l.SCHEMA_NAME_50,l.SCHEMA_NAME_51,l.SCHEMA_NAME_52,l.SCHEMA_NAME_53,l.SCHEMA_NAME_54,l.SCHEMA_NAME_55,l.SCHEMA_NAME_56,l.SCHEMA_NAME_57,l.SCHEMA_NAME_58,l.SCHEMA_NAME_59,l.SCHEMA_NAME_60,l.SCHEMA_NAME_61,l.SCHEMA_NAME_62,l.SCHEMA_NAME_63,l.SCHEMA_NAME_64,l.SCHEMA_NAME_65,l.SCHEMA_NAME_66,l.SCHEMA_NAME_67,l.SCHEMA_NAME_68,l.SCHEMA_NAME_69,l.SCHEMA_NAME_70,l.SCHEMA_NAME_71,l.SCHEMA_NAME_72,l.SCHEMA_NAME_73]),r.findType("JSArray<SCHEMA_NAME>")),l.List_6xs=r._setArrayType(t(["Before Christ","Anno Domini"]),d.JSArray_String),l.List_AM_PM=r._setArrayType(t(["AM","PM"]),d.JSArray_String),l.List_BC_AD=r._setArrayType(t(["BC","AD"]),d.JSArray_String),l.FIELD_TYPE_0=new r.FIELD_TYPE("DIMENSION"),l.List_FIELD_TYPE_0_FIELD_TYPE_1=r._setArrayType(t([l.FIELD_TYPE_0,l.FIELD_TYPE_1]),r.findType("JSArray<FIELD_TYPE>")),l.ChartType_2=new r.ChartType("LIST"),l.ChartType_6=new r.ChartType("COLUMNCHART"),l.ChartType_9=new r.ChartType("STACKCOLUMNCHART"),l.ChartType_10=new r.ChartType("SPACER"),l.List_OX3=r._setArrayType(t([l.ChartType_0,l.ChartType_1,l.ChartType_2,l.ChartType_3,l.ChartType_4,l.ChartType_5,l.ChartType_6,l.ChartType_7,l.ChartType_8,l.ChartType_9,l.ChartType_10]),r.findType("JSArray<ChartType>")),l.PERIOD_TYPE_0=new r.PERIOD_TYPE("MTD"),l.List_PERIOD_TYPE_0=r._setArrayType(t([l.PERIOD_TYPE_0]),r.findType("JSArray<PERIOD_TYPE>")),l.List_Q1_Q2_Q3_Q4=r._setArrayType(t(["Q1","Q2","Q3","Q4"]),d.JSArray_String),l.SORT_TYPE_0=new r.SORT_TYPE("ASC"),l.SORT_TYPE_1=new r.SORT_TYPE("DESC"),l.List_SORT_TYPE_0_SORT_TYPE_1=r._setArrayType(t([l.SORT_TYPE_0,l.SORT_TYPE_1]),r.findType("JSArray<SORT_TYPE>")),l.AGGREGATION_TYPE_6=new r.AGGREGATION_TYPE("ANY"),l.AGGREGATION_TYPE_10=new r.AGGREGATION_TYPE("CUMULATIVE_SUM"),l.AGGREGATION_TYPE_11=new r.AGGREGATION_TYPE("CUMULATIVE_AVERAGE"),l.AGGREGATION_TYPE_12=new r.AGGREGATION_TYPE("CUMULATIVE_COUNT"),l.List_Tuq=r._setArrayType(t([l.AGGREGATION_TYPE_0,l.AGGREGATION_TYPE_1,l.AGGREGATION_TYPE_2,l.AGGREGATION_TYPE_3,l.AGGREGATION_TYPE_4,l.AGGREGATION_TYPE_5,l.AGGREGATION_TYPE_6,l.AGGREGATION_TYPE_7,l.AGGREGATION_TYPE_8,l.AGGREGATION_TYPE_9,l.AGGREGATION_TYPE_10,l.AGGREGATION_TYPE_11,l.AGGREGATION_TYPE_12]),r.findType("JSArray<AGGREGATION_TYPE>")),l.TIME_FORMATTER_0=new r.TIME_FORMATTER("HOUR"),l.TIME_FORMATTER_1=new r.TIME_FORMATTER("MINUTE"),l.TIME_FORMATTER_2=new r.TIME_FORMATTER("SECOND"),l.TIME_FORMATTER_3=new r.TIME_FORMATTER("HOUR_NO_DAY"),l.TIME_FORMATTER_4=new r.TIME_FORMATTER("MINUTE_NO_DAY"),l.TIME_FORMATTER_5=new r.TIME_FORMATTER("SECOND_NO_DAY"),l.List_YsB=r._setArrayType(t([l.TIME_FORMATTER_0,l.TIME_FORMATTER_1,l.TIME_FORMATTER_2,l.TIME_FORMATTER_3,l.TIME_FORMATTER_4,l.TIME_FORMATTER_5]),r.findType("JSArray<TIME_FORMATTER>")),l.List_bJM=r._setArrayType(t(["1st quarter","2nd quarter","3rd quarter","4th quarter"]),d.JSArray_String),l.List_cIc=r._setArrayType(t(["January","February","March","April","May","June","July","August","September","October","November","December"]),d.JSArray_String),l.List_eOU=r._setArrayType(t([l.DATA_TYPE_0,l.DATA_TYPE_1,l.DATA_TYPE_2,l.DATA_TYPE_3]),r.findType("JSArray<DATA_TYPE>")),l.List_empty=r._setArrayType(t([]),d.JSArray_QueryRequestDimension),l.List_empty0=r._setArrayType(t([]),d.JSArray_dynamic),l.List_gc6=r._setArrayType(t(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),d.JSArray_String),l.List_h8w=r._setArrayType(t(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),d.JSArray_String),l.List_mC8=r._setArrayType(t([0,31,28,31,30,31,30,31,31,30,31,30,31]),d.JSArray_int),l.List_qpm=r._setArrayType(t(["J","F","M","A","M","J","J","A","S","O","N","D"]),d.JSArray_String),l.List_wMy=r._setArrayType(t(["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]),d.JSArray_String),l.DIMENSION_OPTION_5=new r.DIMENSION_OPTION("TIME_OF_DAY"),l.DIMENSION_OPTION_8=new r.DIMENSION_OPTION("DAY_OF_MONTH"),l.DIMENSION_OPTION_9=new r.DIMENSION_OPTION("MONTH_OF_YEAR"),l.DIMENSION_OPTION_10=new r.DIMENSION_OPTION("YEAR"),l.List_yP5=r._setArrayType(t([l.DIMENSION_OPTION_0,l.DIMENSION_OPTION_1,l.DIMENSION_OPTION_2,l.DIMENSION_OPTION_3,l.DIMENSION_OPTION_4,l.DIMENSION_OPTION_5,l.DIMENSION_OPTION_6,l.DIMENSION_OPTION_7,l.DIMENSION_OPTION_8,l.DIMENSION_OPTION_9,l.DIMENSION_OPTION_10]),r.findType("JSArray<DIMENSION_OPTION>")),l.List_EQM=r._setArrayType(t(["d","E","EEEE","LLL","LLLL","M","Md","MEd","MMM","MMMd","MMMEd","MMMM","MMMMd","MMMMEEEEd","QQQ","QQQQ","y","yM","yMd","yMEd","yMMM","yMMMd","yMMMEd","yMMMM","yMMMMd","yMMMMEEEEd","yQQQ","yQQQQ","H","Hm","Hms","j","jm","jms","jmv","jmz","jz","m","ms","s","v","z","zzzz","ZZZZ"]),d.JSArray_String),l.Map_EQ6TW=new r.ConstantStringMap(44,{d:"d",E:"ccc",EEEE:"cccc",LLL:"LLL",LLLL:"LLLL",M:"L",Md:"M/d",MEd:"EEE, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"EEE, MMM d",MMMM:"LLLL",MMMMd:"MMMM d",MMMMEEEEd:"EEEE, MMMM d",QQQ:"QQQ",QQQQ:"QQQQ",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"EEE, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"EEE, MMM d, y",yMMMM:"MMMM y",yMMMMd:"MMMM d, y",yMMMMEEEEd:"EEEE, MMMM d, y",yQQQ:"QQQ y",yQQQQ:"QQQQ y",H:"HH",Hm:"HH:mm",Hms:"HH:mm:ss",j:"h a",jm:"h:mm a",jms:"h:mm:ss a",jmv:"h:mm a v",jmz:"h:mm a z",jz:"h a z",m:"m",ms:"mm:ss",s:"s",v:"v",z:"z",zzzz:"zzzz",ZZZZ:"ZZZZ"},l.List_EQM,r.findType("ConstantStringMap<String,String>")),l.List_empty1=r._setArrayType(t([]),r.findType("JSArray<Symbol0>")),l.Map_empty=new r.ConstantStringMap(0,{},l.List_empty1,r.findType("ConstantStringMap<Symbol0,@>")),l.SparklineType_0=new r.SparklineType("LINE"),l.StartOfWeek_0=new r.StartOfWeek("SATURDAY"),l.StartOfWeek_1=new r.StartOfWeek("SUNDAY"),l.StartOfWeek_2=new r.StartOfWeek("MONDAY"),l.Symbol_call=new r.Symbol("call"),l.Type_ByteBuffer_RkP=r.typeLiteral("ByteBuffer"),l.Type_ByteData_zNC=r.typeLiteral("ByteData"),l.Type_JSObject_8k0=r.typeLiteral("JSObject"),l.Type_Object_xQ6=r.typeLiteral("Object"),l.Type_String_k8F=r.typeLiteral("String"),l.Type_Uint16List_2bx=r.typeLiteral("Uint16List"),l.Type_Uint32List_2bx=r.typeLiteral("Uint32List"),l.Type_Uint8List_WLA=r.typeLiteral("Uint8List"),l.Type_bool_lhE=r.typeLiteral("bool"),l.Type_double_K1J=r.typeLiteral("double"),l.Type_int_tHn=r.typeLiteral("int"),l.Type_num_cv7=r.typeLiteral("num"),l.Units_0=new r.Units("MILLISECOND"),l.Units_1=new r.Units("SECOND"),l.Units_2=new r.Units("MINUTE"),l.Units_3=new r.Units("HOUR"),l.Units_4=new r.Units("DAY"),l.Units_5=new r.Units("WEEK"),l.Units_6=new r.Units("MONTH"),l.Units_7=new r.Units("YEAR"),l._IterationMarker_null_2=new r._IterationMarker(null,2)})(),function(){y._JS_INTEROP_INTERCEPTOR_TAG=null,y.Primitives__identityHashCodeProperty=null,y.BoundClosure__receiverFieldNameCache=null,y.BoundClosure__interceptorFieldNameCache=null,y.getTagFunction=null,y.alternateTagFunction=null,y.prototypeForTagFunction=null,y.dispatchRecordsForInstanceTags=null,y.interceptorsForUncacheableTags=null,y.initNativeDispatchFlag=null,y._toStringVisiting=r._setArrayType([],r.findType("JSArray<Object>")),y.cachedDateSymbols=null,y.lastDateSymbolLocale=null,y._defaultLocale=null,y.DateFormat__useNativeDigitsByDefault=r.LinkedHashMap_LinkedHashMap$_empty(d.String,d.bool),y.DateFormat__digitMatchers=r.LinkedHashMap_LinkedHashMap$_empty(d.String,r.findType("RegExp")),y.Jiffy____defaultLocale=r._Cell$(),y.DataTypeExtension__currencyMapping=function(){var t=d.String;return r.LinkedHashMap_LinkedHashMap$_literal(["MY","MYR","SG","SGD","ID","IDR","VN","VND","AU","AUD","CN","CNY","MO","MOP"],t,t)}()}(),function(){var t=R.lazyFinal,n=R.lazy;t(y,"DART_CLOSURE_PROPERTY_NAME","$get$DART_CLOSURE_PROPERTY_NAME",()=>r.getIsolateAffinityTag("_$dart_dartClosure")),t(y,"TypeErrorDecoder_noSuchMethodPattern","$get$TypeErrorDecoder_noSuchMethodPattern",()=>r.TypeErrorDecoder_extractPattern(r.TypeErrorDecoder_provokeCallErrorOn({toString:function(){return"$receiver$"}}))),t(y,"TypeErrorDecoder_notClosurePattern","$get$TypeErrorDecoder_notClosurePattern",()=>r.TypeErrorDecoder_extractPattern(r.TypeErrorDecoder_provokeCallErrorOn({$method$:null,toString:function(){return"$receiver$"}}))),t(y,"TypeErrorDecoder_nullCallPattern","$get$TypeErrorDecoder_nullCallPattern",()=>r.TypeErrorDecoder_extractPattern(r.TypeErrorDecoder_provokeCallErrorOn(null))),t(y,"TypeErrorDecoder_nullLiteralCallPattern","$get$TypeErrorDecoder_nullLiteralCallPattern",()=>r.TypeErrorDecoder_extractPattern(function(){var a="$arguments$";try{null.$method$(a)}catch(i){return i.message}}())),t(y,"TypeErrorDecoder_undefinedCallPattern","$get$TypeErrorDecoder_undefinedCallPattern",()=>r.TypeErrorDecoder_extractPattern(r.TypeErrorDecoder_provokeCallErrorOn(void 0))),t(y,"TypeErrorDecoder_undefinedLiteralCallPattern","$get$TypeErrorDecoder_undefinedLiteralCallPattern",()=>r.TypeErrorDecoder_extractPattern(function(){var a="$arguments$";try{(void 0).$method$(a)}catch(i){return i.message}}())),t(y,"TypeErrorDecoder_nullPropertyPattern","$get$TypeErrorDecoder_nullPropertyPattern",()=>r.TypeErrorDecoder_extractPattern(r.TypeErrorDecoder_provokePropertyErrorOn(null))),t(y,"TypeErrorDecoder_nullLiteralPropertyPattern","$get$TypeErrorDecoder_nullLiteralPropertyPattern",()=>r.TypeErrorDecoder_extractPattern(function(){try{null.$method$}catch(a){return a.message}}())),t(y,"TypeErrorDecoder_undefinedPropertyPattern","$get$TypeErrorDecoder_undefinedPropertyPattern",()=>r.TypeErrorDecoder_extractPattern(r.TypeErrorDecoder_provokePropertyErrorOn(void 0))),t(y,"TypeErrorDecoder_undefinedLiteralPropertyPattern","$get$TypeErrorDecoder_undefinedLiteralPropertyPattern",()=>r.TypeErrorDecoder_extractPattern(function(){try{(void 0).$method$}catch(a){return a.message}}())),t(y,"DateTime__parseFormat","$get$DateTime__parseFormat",()=>r.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$",!1)),t(y,"_hashSeed","$get$_hashSeed",()=>r.objectHashCode(l.Type_Object_xQ6)),t(y,"Endian_host","$get$Endian_host",()=>r.NativeByteData_NativeByteData$view(r.NativeUint16List__create1(r._ensureNativeList(r._setArrayType([1],d.JSArray_int))).buffer,0,null).getInt8(0)===1?l.C_Endian0:l.C_Endian),t(y,"_clockKey","$get$_clockKey",()=>new r.Object),t(y,"en_USSymbols","$get$en_USSymbols",()=>new r.DateSymbols("en_US",l.List_BC_AD,l.List_6xs,l.List_qpm,l.List_qpm,l.List_cIc,l.List_cIc,l.List_h8w,l.List_h8w,l.List_wMy,l.List_wMy,l.List_gc6,l.List_gc6,l.List_3US,l.List_Q1_Q2_Q3_Q4,l.List_bJM,l.List_AM_PM)),n(y,"_dateTimeSymbols","$get$_dateTimeSymbols",()=>r.UninitializedLocaleData$("initializeDateFormatting(<locale>)",y.$get$en_USSymbols())),n(y,"dateTimePatterns","$get$dateTimePatterns",()=>r.UninitializedLocaleData$("initializeDateFormatting(<locale>)",l.Map_EQ6TW)),t(y,"asciiZeroCodeUnit","$get$asciiZeroCodeUnit",()=>48),t(y,"DateFormat__matchers","$get$DateFormat__matchers",()=>r._setArrayType([r.RegExp_RegExp("^'(?:[^']|'')*'",!1),r.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)",!1),r.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+",!1)],r.findType("JSArray<RegExp>"))),t(y,"_DateFormatQuotedField__twoEscapedQuotes","$get$_DateFormatQuotedField__twoEscapedQuotes",()=>r.RegExp_RegExp("''",!1)),t(y,"asciiDigitMatcher","$get$asciiDigitMatcher",()=>r.RegExp_RegExp("^\\d+",!1)),n(y,"_availableLocales","$get$_availableLocales",()=>{var a,i,o=r.EnLocale$(l.StartOfWeek_1),s=r.EnLocale$(l.StartOfWeek_1),_=r.EnLocale$(l.StartOfWeek_1),u=r.EnLocale$(l.StartOfWeek_1),c=r.EnLocale$(l.StartOfWeek_1),p=r.EnLocale$(l.StartOfWeek_2),f=r.EnLocale$(l.StartOfWeek_2),h=r.EnLocale$(l.StartOfWeek_1),g=r.EnLocale$(l.StartOfWeek_1),$=r.EsLocale$(l.StartOfWeek_2),S=r.EsLocale$(l.StartOfWeek_2),T=r.EsLocale$(l.StartOfWeek_1),M=r.FrLocale$(l.StartOfWeek_2),D=r.FrLocale$(l.StartOfWeek_2),I=r.FrLocale$(l.StartOfWeek_1),E=r.ZhCnLocale$(l.StartOfWeek_1),w=r.ZhCnLocale$(l.StartOfWeek_1),b=r.ZhLocale$(l.StartOfWeek_1),C=r.ZhLocale$(l.StartOfWeek_1),A=r.DeLocale$(l.StartOfWeek_2),v=r.DeLocale$(l.StartOfWeek_2),H=r.DeLocale$(l.StartOfWeek_2),$e=r.DeLocale$(l.StartOfWeek_2),ge=r.ItLocale$(l.StartOfWeek_2),ye=r.ItLocale$(l.StartOfWeek_2),Se=r.ArLyLocale$(!0,l.StartOfWeek_0),Ee=r.ArLyLocale$(!1,l.StartOfWeek_0),Te=r.ArSaMaDzKwTnLocale$(!1,l.StartOfWeek_1),Me=r.ArSaMaDzKwTnLocale$(!1,l.StartOfWeek_1),be=r.ArSaMaDzKwTnLocale$(!0,l.StartOfWeek_1),Ce=r.ArSaMaDzKwTnLocale$(!1,l.StartOfWeek_0),De=r.ArSaMaDzKwTnLocale$(!1,l.StartOfWeek_0);return r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),a=r.PtLocale$(l.StartOfWeek_2),i=r.PtLocale$(l.StartOfWeek_1),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.createSentinel(),r.LinkedHashMap_LinkedHashMap$_literal(["en",o,"en_us",s,"en_sg",_,"en_au",u,"en_ca",c,"en_gb",p,"en_ie",f,"en_il",h,"en_nz",g,"es",$,"es_do",S,"es_us",T,"fr",M,"fr_ch",D,"fr_ca",I,"zh",E,"zh_cn",w,"zh_hk",b,"zh_tw",C,"de",A,"de_de",v,"de_at",H,"de_ch",$e,"it",ge,"it_ch",ye,"ar",Se,"ar_ly",Ee,"ar_dz",Te,"ar_kw",Me,"ar_sa",be,"ar_ma",Ce,"ar_tn",De,"az",new r.AzLocale(l.StartOfWeek_2),"id",new r.IdLocale(l.StartOfWeek_1),"ja",new r.JaLocale(l.StartOfWeek_1),"ko",new r.KoLocale(l.StartOfWeek_1),"ru",new r.RuLocale(l.StartOfWeek_2),"uk",new r.UkLocale(l.StartOfWeek_2),"hi",new r.HiLocale(l.StartOfWeek_1),"pt",a,"pt_br",i,"pl",new r.PlLocale(l.StartOfWeek_2),"tr",new r.TrLocale(l.StartOfWeek_2),"sv",new r.SvLocale(l.StartOfWeek_2),"nb",new r.NbLocale(l.StartOfWeek_2),"fa",new r.FaLocale(l.StartOfWeek_0),"bn",new r.BnLocale(l.StartOfWeek_1),"nl",new r.NlLocale(l.StartOfWeek_2),"th",new r.ThLocale(l.StartOfWeek_1)],d.String,r.findType("Locale"))})}(),function(){(function(){var t=function(_){var u={};return u[_]=1,Object.keys(R.convertToFastObject(u))[0]};L.getIsolateTag=function(_){return t("___dart_"+_+L.isolateTag)};for(var n="___dart_isolate_tags_",a=Object[n]||(Object[n]=Object.create(null)),i="_ZxYxX",o=0;;o++){var s=t(i+"_"+o+"_");if(!(s in a)){a[s]=1,L.isolateTag=s;break}}L.dispatchPropertyName=L.getIsolateTag("dispatch_record")})(),R.setOrUpdateInterceptorsByTag({ArrayBuffer:r.NativeByteBuffer,ArrayBufferView:r.NativeTypedData,DataView:r.NativeByteData,Uint16Array:r.NativeUint16List,Uint32Array:r.NativeUint32List,Uint8Array:r.NativeUint8List}),R.setOrUpdateLeafTags({ArrayBuffer:!0,ArrayBufferView:!1,DataView:!0,Uint16Array:!0,Uint32Array:!0,Uint8Array:!1}),r.NativeTypedArray.$nativeSuperclassTag="ArrayBufferView",r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag="ArrayBufferView",r._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag="ArrayBufferView",r.NativeTypedArrayOfInt.$nativeSuperclassTag="ArrayBufferView"}(),Function.prototype.call$0=function(){return this()},Function.prototype.call$1=function(e){return this(e)},Function.prototype.call$1$1=function(e){return this(e)},Function.prototype.call$2=function(e,t){return this(e,t)},Function.prototype.call$8=function(e,t,n,a,i,o,s,_){return this(e,t,n,a,i,o,s,_)},Function.prototype.call$3=function(e,t,n){return this(e,t,n)},le(he),function(e){if(typeof document>"u"){e(null);return}if(typeof document.currentScript<"u"){e(document.currentScript);return}var t=document.scripts;function n(i){for(var o=0;o<t.length;++o)t[o].removeEventListener("load",n,!1);e(i.target)}for(var a=0;a<t.length;++a)t[a].addEventListener("load",n,!1)}(function(e){L.currentScript=e;var t=r.main;typeof dartMainRunner=="function"?dartMainRunner(t,[]):t([])})})()}})(Q);const G=Q;G.load({});var ee=G;self.onmessage=async function(J){const{responses:q,widget:W,country:U}=J.data;try{const x=ee.formatChartData({responses:q,widget:W,country:U});self.postMessage({success:!0,data:x})}catch(x){self.postMessage({success:!1,error:x.message})}}})();
|