/*!@license
* Infragistics.Web.ClientUI infragistics.olapxmladatasource.js 13.1.20131.2523
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};$.ig.util.bulkDefine(["AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise"]);$.ig.util.defType("TaskStatus","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("TaskStatus",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ListSortDirection","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("ListSortDirection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NotifyCollectionChangedAction","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("NotifyCollectionChangedAction",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AbstractEnumerable","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},getEnumerator:function(){return new $.ig.AbstractEnumerator(this.a().getEnumerator())},$type:new $.ig.Type("AbstractEnumerable",$.ig.Object.prototype.$type,[$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("AbstractEnumerator","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},current:function(){return this.a.current()},moveNext:function(){return this.a.moveNext()},reset:function(){this.a.reset()},$type:new $.ig.Type("AbstractEnumerator",$.ig.Object.prototype.$type,[$.ig.IEnumerator.prototype.$type])},true);$.ig.util.defType("IEnumerable$1","Object",{$type:new $.ig.Type("IEnumerable$1",null,[$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("ICollection$1","Object",{$type:new $.ig.Type("ICollection$1",null,[$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("IList$1","Object",{$type:new $.ig.Type("IList$1",null,[$.ig.ICollection$1.prototype.$type.specialize(0),$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("IArrayList","Object",{$type:new $.ig.Type("IArrayList",null)},true);$.ig.util.defType("List$1","Object",{$t:null,__inner:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.a={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Array},init1:function($t,initNumber,a){this.a={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Array;if(this.n(0,a)){return}var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this.add(b)}},init2:function($t,initNumber,a){this.a={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Array},i:function(a,b){this.__inner[a]=b},j:function(a,b){this.__inner.insert(a,b)},k:function(a){this.__inner.add(a)},l:function(a){this.__inner.removeAt(a)},m:function(){this.__inner.clear()},item:function(b,a){if(arguments.length===2){this.i(b,a);return a}else{return this.__inner[b]}},indexOf:function(a){return this.__inner.indexOf(a)},insert:function(a,b){this.j(a,b)},removeAt:function(a){this.l(a)},count:function(){return this.__inner.length},isReadOnly:function(){return false},add:function(a){this.k(a)},clear:function(){this.m()},contains:function(a){return this.__inner.contains(a)},copyTo:function(a,b){for(var c=0;c<this.__inner.length;c++){a[b+c]=this.__inner[c]}},remove:function(a){var b=this.indexOf(a);if(b<0){return false}this.l(b);return true},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.__inner.getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=this.$a;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerator$1(this.$t,$iter())},asArrayList:function(){return this.__inner},n:function(a,collection_){var b=$.ig.util.cast($.ig.IArrayList.prototype.$type,collection_);if(b!=null){this.__inner.insertRange1(a,b.asArrayList());return true}var c=$.ig.util.cast($.ig.IArray.prototype.$type,collection_);if(c!=null){this.__inner.insertRange(a,c.asArray());return true}var d=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize(this.$t),collection_);if(d!=null){for(var e=0;e<d.count();e++){this.__inner.insert(a+e,d.item(e))}return true}var f=$.isArray(collection_)?collection_:null;if(f!=null){this.__inner.insertRange(a,f);return true}return false},o:function(a,b){if(this.n(a,b)){return}var c=0;var e=b.getEnumerator();while(e.moveNext()){var d=e.current();this.__inner.insert(a+c,d);c++}},p:function(a,b){if(this.n(a,b)){return}var c=0;var e=b.getEnumerator();while(e.moveNext()){var d=e.current();this.__inner.insert(a+c,d);c++}},q:function(a,b){this.__inner.splice(a,b)},copyTo1:function(a,b){this.__inner.copyTo(a,b)},isFixedSize:function(){return false},add1:function(c){this.k(c);return this.__inner.length-1},contains1:function(d){return this.__inner.contains(d)},indexOf1:function(e){return this.__inner.indexOf(e)},insert1:function(f,g){this.j(f,g)},remove1:function(h){var i=this.indexOf1(h);this.l(i)},r:function(){var $self=this;var j=null;if(this.$t==Number){j=function(k,l){var m=k;var n=l;if(m<n){return-1}if(m==n){return 0}return 1}}else if(this.$t==$.ig.Single.prototype.$type){j=function(o,p){var q=o;var r=p;if(q<r){return-1}if(q==r){return 0}return 1}}else if(this.$t==$.ig.Number.prototype.$type){j=function(s,t){var u=s;var v=t;if(u<v){return-1}if(u==v){return 0}return 1}}else if(this.$t==$.ig.Date.prototype.$type){j=function(w,x){var y=w;var z=x;if(y.getTime()<z.getTime()){return-1}if(y.getTime()==z.getTime()){return 0}return 1}}else{j=function(aa,ab){return aa.compareTo(ab)}}this.s(j)},s:function(ac){this.__inner.sort(ac)},t:function(ad){var $self=this;this.__inner.sort(function(ae,af){var ag=ae;var ah=af;return ad(ag,ah)})},_h:null,h:function(ai){if(arguments.length===1){this._h=ai;return ai}else{return this._h}},w:function(aj){var al=aj.getEnumerator();while(al.moveNext()){var ak=al.current();this.__inner.add(ak)}},x:function(){return this.__inner.slice(0)},y:function(am){},isSynchronized:function(){return true},a:null,syncRoot:function(){return this.a},$type:new $.ig.Type("List$1",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(0),$.ig.IArrayList.prototype.$type,$.ig.IList.prototype.$type])},true);$.ig.util.defType("IDictionary$2","Object",{$type:new $.ig.Type("IDictionary$2",null,[$.ig.ICollection$1.prototype.$type.specialize($.ig.KeyValuePair$2.prototype.$type.specialize(0,1)),$.ig.IEnumerable$1.prototype.$type.specialize($.ig.KeyValuePair$2.prototype.$type.specialize(0,1)),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("Dictionary$2","Object",{$tKey:null,$tValue:null,__inner:null,__keys:null,init:function($tKey,$tValue,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.a=null;this._useToString=false;this.b=false;this._needsEnsure=false;this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Dictionary(0);this.__keys=new $.ig.Dictionary(0)},init1:function($tKey,$tValue,initNumber,a){this.a=null;this._useToString=false;this.b=false;this._needsEnsure=false;this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Dictionary(1,a);this.__keys=new $.ig.Dictionary(0)},a:null,init2:function($tKey,$tValue,initNumber,a){this.a=null;this._useToString=false;this.b=false;this._needsEnsure=false;this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.Object.prototype.init.call(this);this.__inner=new $.ig.Dictionary(0);this.__keys=new $.ig.Dictionary(0);this.a=a},count:function(){return this.__inner.count()},item:function(b,a){if(arguments.length===2){this.__inner.item(this.f(b),a);this.__keys.item(this.f(b),b);return a}else{return this.__inner.item(this.f(b))}},c:function(){return this.__inner.length()},containsKey:function(a){return this.__inner.containsKey(this.f(a))},remove:function(a){var b=this.f(a);if(!this.__keys.containsKey(b)){return false}this.__inner.remove(b);this.__keys.remove(b);return true},clear:function(){this.__inner.clear();this.__keys.clear()},_useToString:null,b:null,_needsEnsure:null,e:function(key_){if(!this.b){this.b=true;this._needsEnsure=typeof key_=="object";if(!this._needsEnsure){this._useToString=!key_.getHashCode}}},f:function(key_){this.e(key_);if(this._needsEnsure){$.ig.util.ensureUniqueId(key_)}if(this.a!=null){return this.a.getHashCode(key_).toString()}if(this._useToString){return key_.toString()}else{return key_.getHashCode().toString()}},add:function(a,b){this.__inner.item(this.f(a),b);this.__keys.item(this.f(a),a)},tryGetValue:function(a,b){if(!this.__inner.containsKey(this.f(a))){b=null;return{ret:false,value:b}}b=this.__inner.item(this.f(a));return{ret:true,value:b};return{value:b}},keys:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=this.$this.__keys.values().getEnumerator();this.$state=4;break;case 2:this.$b=this.$c.current();this.$current=this.$b;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(this.$tKey,$iter)},values:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=this.$this.__inner.values().getEnumerator();this.$state=4;break;case 2:this.$b=this.$c.current();this.$current=this.$b;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(this.$tValue,$iter)},isReadOnly:function(){return false},add1:function(a){this.add(a.key(),a.value())},contains:function(a){return this.containsKey(a.key())},g:function(a,b){throw new $.ig.NotImplementedException},remove1:function(a){this.remove(a.key());return true},h:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.__keys.values().getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=new $.ig.KeyValuePair$2(this.$tKey,this.$tValue,this.$a,this.$this.__inner.item(this.$this.f(this.$a)));this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.KeyValuePair$2.prototype.$type.specialize(this.$tKey,this.$tValue),$iter)},getEnumerator:function(){return this.h().getEnumerator()},$type:new $.ig.Type("Dictionary$2",$.ig.Object.prototype.$type,[$.ig.IDictionary$2.prototype.$type.specialize(0,1),$.ig.IDictionary.prototype.$type])},true);$.ig.util.defType("GenericEnumerable$1","Object",{$t:null,a:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=a},getEnumerator:function(){return new $.ig.GenericEnumerator$1(this.$t,this.a().getEnumerator())},$type:new $.ig.Type("GenericEnumerable$1",$.ig.Object.prototype.$type,[$.ig.IEnumerable$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("IEnumerator$1","Object",{$type:new $.ig.Type("IEnumerator$1",null,[$.ig.IEnumerator.prototype.$type])},true);$.ig.util.defType("GenericEnumerator$1","Object",{$t:null,a:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=a},current:function(){return this.a.current()},moveNext:function(){return this.a.moveNext()},reset:function(){this.a.reset()},$type:new $.ig.Type("GenericEnumerator$1",$.ig.Object.prototype.$type,[$.ig.IEnumerator$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("INotifyCollectionChanged","Object",{$type:new $.ig.Type("INotifyCollectionChanged",null)},true);$.ig.util.defType("NotifyCollectionChangedEventArgs","EventArgs",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.EventArgs.prototype.init.call(this);this.a=a;this.d=new $.ig.List$1($.ig.Object.prototype.$type,0);this.b=new $.ig.List$1($.ig.Object.prototype.$type,0)},init1:function(initNumber,a,b,c){var $self=this;$.ig.EventArgs.prototype.init.call(this);this.a=a;this.d=new $.ig.List$1($.ig.Object.prototype.$type,0);if(this.a==$.ig.NotifyCollectionChangedAction.prototype.remove||this.a==$.ig.NotifyCollectionChangedAction.prototype.replace){this.d.add(b);this.e=c}if(this.a!=$.ig.NotifyCollectionChangedAction.prototype.remove){this.b=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.add(b);return $ret}()}else{this.b=new $.ig.List$1($.ig.Object.prototype.$type,0)}this.c=c},init2:function(initNumber,a,b,c,d){var $self=this;$.ig.EventArgs.prototype.init.call(this);this.a=a;this.c=d;this.e=d;this.b=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.add(b);return $ret}();this.d=function(){var $ret=new $.ig.List$1($.ig.Object.prototype.$type,0);$ret.add(c);return $ret}()},a:null,action:function(){return this.a},b:null,newItems:function(){return this.b},c:null,newStartingIndex:function(){return this.c},d:null,oldItems:function(){return this.d},e:null,oldStartingIndex:function(){return this.e},$type:new $.ig.Type("NotifyCollectionChangedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("KeyValuePair$2","ValueType",{$tKey:null,$tValue:null,a:null,b:null,init:function($tKey,$tValue,a,b){this.$tKey=$tKey;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tKey,this.$tValue);$.ig.ValueType.prototype.init.call(this);this.a=a;this.b=b},key:function(){return this.a},value:function(){return this.b},$type:new $.ig.Type("KeyValuePair$2",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ObservableCollection$1","List$1",{$t:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.List$1.prototype.init.call(this,this.$t)},init1:function($t,initNumber,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.List$1.prototype.init1.call(this,this.$t,1,a)},init2:function($t,initNumber,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.List$1.prototype.init2.call(this,this.$t,2,a)},i:function(a,b){var c=this.__inner[a];$.ig.List$1.prototype.i.call(this,a,b);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var d=new $.ig.NotifyCollectionChangedEventArgs(2,$.ig.NotifyCollectionChangedAction.prototype.replace,b,c,a);this.ah(d)}},m:function(){$.ig.List$1.prototype.m.call(this);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var a=new $.ig.NotifyCollectionChangedEventArgs(0,$.ig.NotifyCollectionChangedAction.prototype.reset);this.ah(a)}},j:function(a,b){$.ig.List$1.prototype.j.call(this,a,b);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var c=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,b,a);this.ah(c)}},k:function(a){$.ig.List$1.prototype.k.call(this,a);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var b=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,a,this.count()-1);this.ah(b)}},l:function(a){var b=this.__inner[a];$.ig.List$1.prototype.l.call(this,a);if(this.propertyChanged!=null){this.ag(new $.ig.PropertyChangedEventArgs("Count"));this.ag(new $.ig.PropertyChangedEventArgs("Item[]"))}if(this.collectionChanged!=null){var c=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,b,a);this.ah(c)}},collectionChanged:null,propertyChanged:null,ag:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,a)}},ah:function(a){if(this.collectionChanged!=null){this.collectionChanged(this,a)}},$type:new $.ig.Type("ObservableCollection$1",$.ig.List$1.prototype.$type.specialize(0),[$.ig.INotifyCollectionChanged.prototype.$type,$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("ReadOnlyCollection$1","Object",{$t:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.b={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this)},init1:function($t,initNumber,a){this.b={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.a=a},a:null,item:function(b,a){if(arguments.length===2){this.a.item(b,a);return a}else{return this.a.item(b)}},indexOf:function(a){return this.a.indexOf(a)},insert:function(a,b){},removeAt:function(a){},count:function(){return this.a.count()},isReadOnly:function(){return true},add:function(a){},clear:function(){},contains:function(a){return this.a.contains(a)},copyTo:function(a,b){this.a.copyTo(a,b)},remove:function(a){return false},getEnumerator:function(){return this.a.getEnumerator()},isFixedSize:function(){return true},add1:function(c){return-1},contains1:function(d){return this.a.contains(d)},indexOf1:function(e){return this.a.indexOf(e)},insert1:function(f,g){},remove1:function(h){},copyTo1:function(i,j){this.a.copyTo(i,j)},c:function(){return this.a},isSynchronized:function(){return true},b:null,syncRoot:function(){return this.b},$type:new $.ig.Type("ReadOnlyCollection$1",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(0),$.ig.IList.prototype.$type])},true);$.ig.util.defType("NameValueCollection","Object",{a:null,init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary$2(String,String,0)},item:function(b,a){if(arguments.length===2){if(this.a.containsKey(b)){this.a.item(b,a)}else{this.a.add(b,a)}return a}else{if(this.a.containsKey(b)){return this.a.item(b)}else{return null}}},$type:new $.ig.Type("NameValueCollection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IOrderedEnumerable$1","Object",{$type:new $.ig.Type("IOrderedEnumerable$1",null,[$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.util.defType("Enumerable","Object",{init:function(){$.ig.Object.prototype.init.call(this)},where$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=7;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b(this.$c)){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$c;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:if(this.$d.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},where$11111:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,$c:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$state=1;break;case 1:this.$e=this.$this.getEnumerator();this.$state=7;break;case 2:this.$d=this.$e.current();this.$state=3;break;case 3:if(b(this.$d,this.$c)){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$d;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$c++;this.$state=7;break;case 7:if(this.$e.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},select$2:function($tSource,$tResult,b){var $self=this;var $iter=function(){return function($tSource,$tResult,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=4;break;case 2:this.$c=this.$d.current();this.$current=b(this.$c);this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,$tResult,b)};return new $.ig.GenericEnumerable$1($tResult,$iter)},selectMany$2:function($tSource,$tResult,b){var $self=this;var $iter=function(){return function($tSource,$tResult,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=8;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:this.$f=b(this.$c).getEnumerator();this.$state=6;break;case 4:this.$e=this.$f.current();this.$current=this.$e;this.$state=5;return true;case 5:this.$state=6;break;case 6:if(this.$f.moveNext()){this.$state=4}else{this.$state=7}break;case 7:this.$state=8;break;case 8:if(this.$d.moveNext()){this.$state=2}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,$tResult,b)};return new $.ig.GenericEnumerable$1($tResult,$iter)},ofType$1:function($tResult){var $self=this;var $iter=function(){return function($tResult){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=this.$this.getEnumerator();this.$state=7;break;case 2:this.$b=this.$c.current();this.$state=3;break;case 3:if($.ig.util.cast($tResult,this.$b)!==null){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$b;this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:if(this.$c.moveNext()){this.$state=2}else{this.$state=8}break;case 8:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tResult)};return new $.ig.GenericEnumerable$1($tResult,$iter)},last$1:function($tSource){var b=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize($tSource),this);if(b!=null){return b.item(b.count()-1)}var c=null;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();c=d}return c},first$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return b}return null},firstOrDefault$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return b}return null},orderBy$2:function($tSource,$tKey,b){var $self=this;var c=new $.ig.SortedList$1($tSource,this);c.t(function(d,e){var f=d;var g=e;var h=b(f);var i=b(g);if($.ig.util.cast($.ig.IComparable.prototype.$type,h)!==null){return $.ig.util.cast($.ig.IComparable.prototype.$type,h).compareTo(i)}else{return h.toString().compareTo(i.toString())}});return c},orderByDescending$2:function($tSource,$tKey,b){var $self=this;var c=new $.ig.SortedList$1($tSource,this);c.t(function(d,e){var f=e;var g=d;var h=b(f);var i=b(g);if($.ig.util.cast($.ig.IComparable.prototype.$type,h)!==null){return $.ig.util.cast($.ig.IComparable.prototype.$type,h).compareTo(i)
}else{return h.toString().compareTo(i.toString())}});return c},toList$1:function($tSource){var b=new $.ig.List$1($tSource,1,this);return b},a:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$c=a;this.$state=5;break;case 2:this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$c++;this.$state=5;break;case 5:if(this.$c<b){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1($.ig.Number.prototype.$type,$iter)},concat$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=4;break;case 2:this.$c=this.$d.current();this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=6;break;case 6:this.$f=b.getEnumerator();this.$state=9;break;case 7:this.$e=this.$f.current();this.$current=this.$e;this.$state=8;return true;case 8:this.$state=9;break;case 9:if(this.$f.moveNext()){this.$state=7}else{this.$state=10}break;case 10:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},max:function(){var b=true;var c=0;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.max(c,d)}}return c},max$111:function($tSource,b){return this.select$2($tSource,$.ig.Number.prototype.$type,b).max()},min:function(){var b=true;var c=0;var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.min(c,d)}}return c},min$111:function($tSource,b){return this.select$2($tSource,$.ig.Number.prototype.$type,b).max()},count$1:function($tSource){var b=0;var d=this.getEnumerator();while(d.moveNext()){var c=d.current();b++}return b},reverse$1:function($tSource){var $self=this;var $iter=function(){return function($tSource){return{$state:0,$this:$self,$current:null,$b:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=new $.ig.List$1($tSource,1,this.$this);this.$state=1;break;case 1:this.$c=this.$b.count()-1;this.$state=5;break;case 2:this.$current=this.$b.__inner[this.$c];this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$c--;this.$state=5;break;case 5:if(this.$c>0){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource)};return new $.ig.GenericEnumerable$1($tSource,$iter)},cast$1:function($tResult){if(this==null){throw new $.ig.ArgumentNullException("source")}var b=$.ig.util.cast($.ig.IEnumerable$1.prototype.$type.specialize($tResult),this);if(b!=null){return b}var c=new $.ig.List$1($tResult,0);var e=this.getEnumerator();while(e.moveNext()){var d=e.current();if($.ig.util.cast($tResult,d)!==null){c.add(d)}else{c.add(null)}}return c},take$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=9;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b>0){this.$state=4}else{this.$state=6}break;case 4:b--;this.$current=this.$c;this.$state=5;return true;case 5:this.$state=8;break;case 6:this.$state=-2;return false;case 7:this.$state=8;break;case 8:this.$state=9;break;case 9:if(this.$d.moveNext()){this.$state=2}else{this.$state=10}break;case 10:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},skip$1:function($tSource,b){var $self=this;var $iter=function(){return function($tSource,b){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$d=this.$this.getEnumerator();this.$state=8;break;case 2:this.$c=this.$d.current();this.$state=3;break;case 3:if(b<=0){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$c;this.$state=5;return true;case 5:this.$state=7;break;case 6:b--;this.$state=7;break;case 7:this.$state=8;break;case 8:if(this.$d.moveNext()){this.$state=2}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}($tSource,b)};return new $.ig.GenericEnumerable$1($tSource,$iter)},any$1:function($tSource){var c=this.getEnumerator();while(c.moveNext()){var b=c.current();return true}return false},contains$1:function($tSource,value_){var b=this.getEnumerator();while(b.moveNext()){var item_=b.current();if(item_===value_){return true}}return false},union$1:function($tSource,b){return null},toArray$1:function($tSource){var b=new $.ig.List$1($tSource,1,this);return b.asArrayList()},elementAt$1:function($tSource,b){var c=$.ig.util.cast($.ig.IList$1.prototype.$type.specialize($tSource),this);if(c!=null){return c.item(b)}return this.skip$1($tSource,b).first$1($tSource)},$type:new $.ig.Type("Enumerable",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SortedList$1","List$1",{$tElement:null,init:function($tElement,a){this.$tElement=$tElement;this.$type=this.$type.specialize(this.$tElement);$.ig.List$1.prototype.init1.call(this,this.$tElement,1,a)},getEnumerator:function(){return $.ig.List$1.prototype.getEnumerator.call(this)},$type:new $.ig.Type("SortedList$1",$.ig.List$1.prototype.$type.specialize(0),[$.ig.IOrderedEnumerable$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("IArray","Object",{$type:new $.ig.Type("IArray",null)},true);$.ig.util.defType("AggregateException","Error",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.Error.prototype.init.call(this)},init1:function(initNumber,a){$.ig.Error.prototype.init1.call(this,1,a)},init2:function(initNumber,a,b){$.ig.Error.prototype.init2.call(this,2,a,b)},$type:new $.ig.Type("AggregateException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("ArgumentException","Error",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Error.prototype.init1.call(this,1,a+" is invalid.")},init1:function(initNumber,a,b){$.ig.Error.prototype.init1.call(this,1,a)},$type:new $.ig.Type("ArgumentException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("ArgumentNullException","Error",{init:function(a){$.ig.Error.prototype.init1.call(this,1,a+" cannot be null.")},$type:new $.ig.Type("ArgumentNullException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("AsyncCompletedEventArgs","EventArgs",{a:null,b:null,c:null,init:function(a,b,c){$.ig.EventArgs.prototype.init.call(this);this.b=b;this.a=a;this.c=c},error:function(){return this.a},cancelled:function(){return this.b},userState:function(){return this.c},d:function(){if(this.error()!=null){throw this.error()}},$type:new $.ig.Type("AsyncCompletedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("Environment","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(){return"\n"},$type:new $.ig.Type("Environment",$.ig.Object.prototype.$type)},true);$.ig.util.defType("InvalidOperationException","Error",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Error.prototype.init1.call(this,1,"Invalid operation")},init1:function(initNumber,a){$.ig.Error.prototype.init1.call(this,1,a)},$type:new $.ig.Type("InvalidOperationException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("Debug","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){},b:function(a){},c:function(a){},$type:new $.ig.Type("Debug",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ICredentials","Object",{$type:new $.ig.Type("ICredentials",null)},true);$.ig.util.defType("NetworkCredential","Object",{init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.NetworkCredential.prototype.init1.call(this,1,a,b,String.empty())},init1:function(initNumber,a,b,c){$.ig.Object.prototype.init.call(this);this.d(a);this.e(b);this.f(c)},getCredential:function(a,b){return this},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("NetworkCredential",$.ig.Object.prototype.$type,[$.ig.ICredentials.prototype.$type])},true);$.ig.util.defType("UploadStringCompletedEventArgs","AsyncCompletedEventArgs",{e:null,init:function(a,b,c,d){$.ig.AsyncCompletedEventArgs.prototype.init.call(this,b,c,d);this.e=a},result:function(){this.d();return this.e},$type:new $.ig.Type("UploadStringCompletedEventArgs",$.ig.AsyncCompletedEventArgs.prototype.$type)},true);$.ig.util.defType("WebClient","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.f(new $.ig.WebHeaderCollection)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},uploadStringCompleted:null,p:function(a,b,c,d){var $self=this;this.q(a,b,c).ac(function(e){if($self.uploadStringCompleted!=null){var f=null;var g=null;try{f=e.aa()}catch(e_){g=e_}$self.uploadStringCompleted($self,new $.ig.UploadStringCompletedEventArgs(f,g,e.i()==$.ig.TaskStatus.prototype.canceled,d))}})},q:function(a,b,c){var url_=a.value();var method_=b;var data_=c;var contentType_=this.f().item("Content-Type");var credentials_=this.g();var d=$.ig.util.ajax(url_,contentType_,data_,method_,credentials_);return new $.ig.Task$1(String,d,null)},r:function(a,b,c,d){a.i(b)},s:function(a,b,c,d){a.h(new $.ig.Error(1,d))},$type:new $.ig.Type("WebClient",$.ig.Object.prototype.$type)},true);$.ig.util.defType("WebHeaderCollection","NameValueCollection",{init:function(){$.ig.NameValueCollection.prototype.init.call(this)},$type:new $.ig.Type("WebHeaderCollection",$.ig.NameValueCollection.prototype.$type)},true);$.ig.util.defType("FaultCode","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.b(a)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("FaultCode",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FaultException","Error",{init:function(a,b,c){$.ig.Error.prototype.init.call(this);this.reason(a);this.code(b);this.action(c)},_action:null,action:function(a){if(arguments.length===1){this._action=a;return a}else{return this._action}},_code:null,code:function(a){if(arguments.length===1){this._code=a;return a}else{return this._code}},_reason:null,reason:function(a){if(arguments.length===1){this._reason=a;return a}else{return this._reason}},$type:new $.ig.Type("FaultException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("FaultException$1","FaultException",{$tDetail:null,init:function($tDetail,a,b,c,d){this.$tDetail=$tDetail;this.$type=this.$type.specialize(this.$tDetail);$.ig.FaultException.prototype.init.call(this,b,c,d);this.detail(a)},_detail:null,detail:function(a){if(arguments.length===1){this._detail=a;return a}else{return this._detail}},$type:new $.ig.Type("FaultException$1",$.ig.FaultException.prototype.$type)},true);$.ig.util.defType("FaultReason","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},toString:function(){return this.a},$type:new $.ig.Type("FaultReason",$.ig.Object.prototype.$type)},true);$.ig.util.defType("StringBuilder","Object",{_internal:null,internal:function(a){if(arguments.length===1){this._internal=a;return a}else{return this._internal}},init:function(){$.ig.Object.prototype.init.call(this);this._internal=[]},d:function(str_){this._internal.push(str_);return this},e:function(a){var str_=a.toString();this._internal.push(str_);return this},f:function(chr_){this._internal.push(chr_);return this},g:function(str_){this._internal.push(str_+String.fromCharCode(10));return this},h:function(index_,chr_){this._internal.splice(index_,0,chr_);return this},i:function(index_,str_){this._internal.splice(index_,0,str_);return this},j:function(startIndex_,length_){this._internal.splice(startIndex_,length_);return this},toString:function(){return this._internal.join("")},$type:new $.ig.Type("StringBuilder",$.ig.Object.prototype.$type)},true);$.ig.util.defType("NotImplementedException","Error",{init:function(){$.ig.Error.prototype.init1.call(this,1,"not implemented")},$type:new $.ig.Type("NotImplementedException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("Encoding","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,uTF8:function(){if($.ig.Encoding.prototype.a==null){$.ig.Encoding.prototype.a=new $.ig.UTF8Encoding}return $.ig.Encoding.prototype.a},getString:function(a,b,c){return""},getBytes:function(a){return new Array(0)},$type:new $.ig.Type("Encoding",$.ig.Object.prototype.$type)},true);$.ig.util.defType("UTF8Encoding","Encoding",{init:function(){$.ig.Encoding.prototype.init.call(this)},getString:function(bytes_,a,b){var c="";for(var i_=a;i_<b;i_++){if(bytes_[i_]==0){break}c=c+String.fromCharCode(bytes_[i_])}return c},getBytes:function(input_){var a=new Array(input_.length);for(var i_=0;i_<input_.length;i_++){a[i_]=String.toCharCode(input_.charAt(i_))}return a},$type:new $.ig.Type("UTF8Encoding",$.ig.Encoding.prototype.$type)},true);$.ig.util.defType("Task","Object",{_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Task.prototype.init1.call(this,1,a,null)},init1:function(initNumber,a,b){var $self=this;$.ig.Object.prototype.init.call(this);var c=function(){};var e=function(d){if(d==null){$self.g(true)}else{$self.h(new $.ig.AggregateException(2,"Exception occurred during task execution",d))}};this.f(a.done(c).fail(e));this.j(b)},i:function(){if(this.g()){return $.ig.TaskStatus.prototype.canceled}switch(this.f().state()){case"pending":return $.ig.TaskStatus.prototype.created;case"resolved":return $.ig.TaskStatus.prototype.ranToCompletion;case"rejected":return $.ig.TaskStatus.prototype.faulted;default:return $.ig.TaskStatus.prototype.created}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},t:function(a){var $self=this;var b=function(){return a($self)};var d=function(c){return a($self)};var e=this.f().done(b).fail(d);return new $.ig.Task(0,e)},v:function($tNewResult,a){var $self=this;var b=new $.ig.TaskCompletionSource$1($tNewResult,0);var d=function(){try{var c=a($self);b.i(c)}catch(e_){b.h(e_)}};var f=function(e){return d()};var h=function(g){return d()};this.f().done(f).fail(h);return b.d()},$type:new $.ig.Type("Task",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Task$1","Task",{$tResult:null,init:function($tResult,a,b){var $self=this;this.y=false;this.$tResult=$tResult;this.$type=this.$type.specialize(this.$tResult);$.ig.Task.prototype.init1.call(this,1,a,b);var e=function(c){var d=c;$self.z=d;$self.y=true};var g=function(f){$self.y=true};this.f().done(e).fail(g)},y:null,z:null,aa:function(){if(!this.y){throw"Result is not ready yet"}if(this.h()!=null){throw this.h()}return this.z},ac:function(a){var $self=this;return $.ig.Task.prototype.t.call(this,function(b){return a(b)})},ae:function($tNewResult,a){var $self=this;var c=function(b){return a(b)};return this.ag($.ig.Object.prototype.$type,c).ag($.ig.Object.prototype.$type,function(d){return d.aa()})},ag:function($tNewResult,a){return $.ig.Task.prototype.v.call(this,$tNewResult,a)},$type:new $.ig.Type("Task$1",$.ig.Task.prototype.$type)},true);$.ig.util.defType("TaskCompletionSource$1","Object",{$tResult:null,_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},init:function($tResult,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.$tResult=$tResult;this.$type=this.$type.specialize(this.$tResult);$.ig.TaskCompletionSource$1.prototype.init1.call(this,1,null)},init1:function($tResult,initNumber,a){this.$tResult=$tResult;this.$type=this.$type.specialize(this.$tResult);$.ig.Object.prototype.init.call(this);this.c($.ig.util.deferred());this.d(new $.ig.Task$1(this.$tResult,this.c().promise(),a))},g:function(){this.c().reject(null)},h:function(a){this.c().reject(a)},i:function(a){this.c().resolve(a)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("TaskCompletionSource$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TaskFactory","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){var $self=this;return new $.ig.Task(0,this.i(this.h(a)).always(function(){return b(a)}))},c:function($tResult,a,b){var $self=this;var c=new $.ig.TaskCompletionSource$1($tResult,0);this.i(this.h(a)).always(function(){try{var d=b(a);c.i(d)}catch(e_){c.h(e_)}});return c.d()},e:function($tAntecedentResult,a,b){var $self=this;return this.e($tAntecedentResult,a,function(c){return b(c)})},g:function($tAntecedentResult,$tResult,a,b){var $self=this;var d=function(c){return b(c)};return this.c($.ig.Object.prototype.$type,a,d).ae($tResult,function(e){return e.aa()})},h:function(a){var b=new Array(a.length);for(var c=0;c<a.length;c++){b[c]=a[c].f()}return b},i:function(a){var promises_=a;var b=function(p){function whenAll(){var whenDeffered=$.ig.util.deferred();if(arguments.length===0){whenDeffered.resolve();return whenDeffered}var count=arguments.length;var resolve=true;for(var i=0;i<arguments.length;i++){arguments[i].done(function(){resolve=resolve&&true}).fail(function(){resolve=resolve&&false}).always(function(){count--;if(count<=0){if(resolve){whenDeffered.resolve()}else{whenDeffered.reject()}}})}return whenDeffered}return whenAll.apply($,p)}(promises_);return b},$type:new $.ig.Type("TaskFactory",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Tuple$2","Object",{$t1:null,$t2:null,_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function($t1,$t2,a,b){this.$t1=$t1;this.$t2=$t2;this.$type=this.$type.specialize(this.$t1,this.$t2);$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},$type:new $.ig.Type("Tuple$2",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Uri","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.value(a)},_value:null,value:function(a){if(arguments.length===1){this._value=a;return a}else{return this._value}},$type:new $.ig.Type("Uri",$.ig.Object.prototype.$type)},true);$.ig.util.defType("JavaScriptSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){var text_=a;return JSON.parse(text_)},b:function(a){var value_=a;return JSON.stringify(value_)},$type:new $.ig.Type("JavaScriptSerializer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XObject","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.backingNode(a)},_backingNode:null,backingNode:function(a){if(arguments.length===1){this._backingNode=a;return a}else{return this._backingNode}},_b:null,b:function(){return this._b},toString:function(){if(this.backingNode()!=null){return $.ig.XmlUtils.prototype.xmlNodeToString(this.backingNode())}else{return""}},$type:new $.ig.Type("XObject",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XAttribute","XObject",{init:function(a){$.ig.XObject.prototype.init.call(this,a)},g:function(a){this.backingNode(this.backingNode().cloneNode(true));a.setAttributeNode(this.backingNode())},b:function(){return $.ig.XmlNodeType.prototype.attribute},f:function(){return $.ig.XmlUtils.prototype.o(this.backingNode())},$type:new $.ig.Type("XAttribute",$.ig.XObject.prototype.$type)},true);$.ig.util.defType("XNode","XObject",{init:function(a){$.ig.XObject.prototype.init.call(this,a)},$type:new $.ig.Type("XNode",$.ig.XObject.prototype.$type)},true);$.ig.util.defType("XContainer","XNode",{init:function(a){$.ig.XNode.prototype.init.call(this,a)},f:function(a){var b=null;var c=this.backingNode();var d=c.childNodes;var e=d.length;var f=a.c();var g=a.d();for(var h=0;h<e;h++){var i=d.item(h);if(i.namespaceURI==g&&i.nodeType==$.ig.XmlNodeType.prototype.element&&$.ig.XmlUtils.prototype.m(i)==f){b=i}}if(b==null){return null}else{return new $.ig.XElement(0,b)}},g:function(){return this.i(null)},h:function(a){return this.i(a)},i:function(a){var b=new $.ig.List$1($.ig.XElement.prototype.$type,0);for(var c=0;c<this.backingNode().childNodes.length;c++){var d=this.backingNode().childNodes.item(c);if(d.nodeType==$.ig.XmlNodeType.prototype.element){var e=false;if(a!=null){if($.ig.XmlUtils.prototype.m(d)==a.c()&&d.namespaceURI==a.d()){e=true}}else{e=true}if(e){b.add(new $.ig.XElement(0,d))}}}return b},j:function(a){var b=this.backingNode();var c;if($.ig.util.cast($.ig.XDocument.prototype.$type,this)!==null){c=this.backingNode()}else{c=this.backingNode().ownerDocument}if($.ig.util.cast($.ig.XAttribute.prototype.$type,a)!==null){a.g(b)}else if($.ig.util.cast($.ig.XElement.prototype.$type,a)!==null){a.q(b,c)}},$type:new $.ig.Type("XContainer",$.ig.XNode.prototype.$type)},true);$.ig.util.defType("XDocument","XContainer",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.XContainer.prototype.init.call(this,a)},init1:function(initNumber){$.ig.XContainer.prototype.init.call(this,$.ig.XmlUtils.prototype.h())},b:function(){return $.ig.XmlNodeType.prototype.document},k:function(a){return new $.ig.XDocument(0,$.ig.XmlUtils.prototype.g(a))},$type:new $.ig.Type("XDocument",$.ig.XContainer.prototype.$type)},true);$.ig.util.defType("XElement","XContainer",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.XContainer.prototype.init.call(this,a)},init1:function(initNumber,a){$.ig.XElement.prototype.init2.call(this,2,a,null)},init2:function(initNumber,a,b){$.ig.XContainer.prototype.init.call(this,$.ig.XmlUtils.prototype.i(a.c(),a.d()));var c=b==null?"":b.toString();this.k(c)},k:function(a){if(arguments.length===1){$.ig.XmlUtils.prototype.k(this.backingNode(),a);return a}else{return $.ig.XmlUtils.prototype.j(this.backingNode())}},b:function(){return $.ig.XmlNodeType.prototype.element},l:function(){return $.ig.XName.prototype.i($.ig.XmlUtils.prototype.m(this.backingNode()),this.backingNode().namespaceURI)},p:function(a){return new $.ig.XAttribute($.ig.XmlUtils.prototype.n(this.backingNode(),a.c(),a.d()))},q:function(a,b){if(this.backingNode().ownerDocument!=b){this.backingNode($.ig.XmlUtils.prototype.l(b,this.backingNode()))}a.appendChild(this.backingNode())},$type:new $.ig.Type("XElement",$.ig.XContainer.prototype.$type)},true);$.ig.util.defType("XmlUtils","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(){return!!window.DOMParser},b:function(a){var text_=a;return(new DOMParser).parseFromString(text_,"text/xml")},c:function(a){var text_=a;return function(xml){var xmlDoc=new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async=false;xmlDoc.loadXML(xml);return xmlDoc}(text_)},d:function(a){var node_=a;return(new XMLSerializer).serializeToString(node_)},e:function(a){var node_=a;return node_.xml},f:function(){return new ActiveXObject("Microsoft.XMLDOM")},g:function(a){if($.ig.XmlUtils.prototype.a()){return $.ig.XmlUtils.prototype.b(a)}else{return $.ig.XmlUtils.prototype.c(a)}},xmlNodeToString:function(a){if($.ig.XmlUtils.prototype.a()){return $.ig.XmlUtils.prototype.d(a)}else{return $.ig.XmlUtils.prototype.e(a)}},h:function(){var a;if($.ig.XmlUtils.prototype.a()){a=$.ig.XmlUtils.prototype.b("<dummy/>");a.removeChild(a.documentElement)}else{a=$.ig.XmlUtils.prototype.f()}return a},i:function(a,b){var doc_=$.ig.XmlUtils.prototype.h();if($.ig.XmlUtils.prototype.a()){return doc_.createElementNS(b,a)}else{var name_=a;var namespaceURI_=b;return doc_.createNode(1,name_,namespaceURI_)}},j:function(a){if($.ig.XmlUtils.prototype.a()){return a.textContent}else{var node_=a;return node_.text}},k:function(a,b){if($.ig.XmlUtils.prototype.a()){a.textContent=b}else{var node_=a;var text_=b;node_.text=text_}},l:function(a,b){if($.ig.XmlUtils.prototype.a()){return a.importNode(b,true)}else{return b}},m:function(a){if($.ig.XmlUtils.prototype.a()){return a.localName}else{var node_=a;return node_.baseName}},n:function(a,b,c){if($.ig.XmlUtils.prototype.a()){return a.getAttributeNodeNS(c,b)}else{var elem_=a;var ln_=b;var nn_=c;return elem_.attributes.getQualifiedItem(ln_,nn_)}},o:function(a){if($.ig.XmlUtils.prototype.a()){return a.nodeValue}else{var attr_=a;return attr_.value}},$type:new $.ig.Type("XmlUtils",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XName","Object",{a:null,b:null,init:function(a,b){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b},c:function(){return this.a},d:function(){return this.b},e:function(){return $.ig.XNamespace.prototype.d(this.b)},i:function(a,b){return new $.ig.XName(a,b)},$type:new $.ig.Type("XName",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XNamespace","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},d:function(a){return new $.ig.XNamespace(a)},b:function(){return $.ig.XNamespace.prototype.d("http://www.w3.org/2000/xmlns/")},c:function(){return this.a},$type:new $.ig.Type("XNamespace",$.ig.Object.prototype.$type)},true);$.ig.TaskStatus.prototype.created=0;$.ig.TaskStatus.prototype.ranToCompletion=5;$.ig.TaskStatus.prototype.canceled=6;$.ig.TaskStatus.prototype.faulted=7;$.ig.ListSortDirection.prototype.ascending=0;$.ig.ListSortDirection.prototype.descending=1;$.ig.NotifyCollectionChangedAction.prototype.add=0;$.ig.NotifyCollectionChangedAction.prototype.remove=1;$.ig.NotifyCollectionChangedAction.prototype.replace=2;$.ig.NotifyCollectionChangedAction.prototype.reset=4;$.ig.util.extCopy($.ig.Queryable,[[[$.ig.AbstractEnumerable,$.ig.IEnumerable$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap],["asQueryable"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IEnumerable$1],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.AbstractEnumerable,$.ig.IEnumerable$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap],["ofType$1","cast$1"]]]);$.ig=$.ig||{};$.ig.util.bulkDefine(["ICoreOlapElement","Cube","Catalog","Dimension","CubeType","ScopeType","DimensionType","LevelType","HierarchyOrigin","AggregatorType","CardinalityType","MemberType","Hierarchy","Level","Measure","MeasureGroup","MeasureGroupDimension","Member","OlapResult","OlapResultAxis","IPosition$2","OlapResultTuple","IPositionItem$2","IHierarchicalPositionItem$2","OlapResultAxisMember","OlapResultCell","HeaderCellsLayoutOrientation","LevelSpanManager","SpanSource","ITableViewHeadersFactory","TableViewHeadersFactory","TableCompactViewHeadersFactory","TableViewHeaderCellSource","TableViewImpl","TableViewSettings","OlapResultView","ResultViewHelper","OlapTableViewHeaderCell","OlapTableViewResultCell","ArrayListCollection$1","IOlapDataSource","MeasureList","MeasureListLocation","OlapMetadataTreeItemType","OlapMetadataTreeItem","MetaTreeHelper","HierarchyItemPosition","MeasureGroupMetaItemsCache","DataSourceBaseOptions","CubeMetaItemsCache","SourceInitHelper","AxisDefinitionParser","CoreOlapElementType","CoreOlapElementParseResult","CoreOlapElementParser","AxisElement","PivotActionStatus","PivotAction","AxisItemsChangeType","AxisChangedAction","AxisItemsChangedAction","ExpansionStateChangeType","ExpansionStateChangedAction","PivotActionManager","KeyValueItem","PositionItemInfo$2","PositionResolver$2","LevelSortDirection","LevelSortBehavior","TaskExtensions","HierarchyFilterView","FilterMember","FilterMemberStateChangedEventArgs","ResultSorter$1","ResultHeaderSorter","AxisTupleVisitor","AxisHeaderSortingVisitor","ResultColumnValueSorter","AxisValueSortingVisitor","TupleSortDirection","DataSourceBase","jQueryUtils","OlapUtilities","OlapTableView","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise"]);
$.ig.util.defType("LevelSortBehavior","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("LevelSortBehavior",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapMetadataTreeItemType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("OlapMetadataTreeItemType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureListLocation","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("MeasureListLocation",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HeaderCellsLayoutOrientation","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("HeaderCellsLayoutOrientation",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MemberType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("MemberType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CardinalityType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("CardinalityType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AggregatorType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("AggregatorType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HierarchyOrigin","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("HierarchyOrigin",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DimensionType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("DimensionType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CubeType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("CubeType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ICoreOlapElement","Object",{$type:new $.ig.Type("ICoreOlapElement",null)},true);$.ig.util.defType("Cube","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_catalogName:null,catalogName:function(a){if(arguments.length===1){this._catalogName=a;return a}else{return this._catalogName}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_cubeType:null,cubeType:function(a){if(arguments.length===1){this._cubeType=a;return a}else{return this._cubeType}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_lastProcessed:null,lastProcessed:function(a){if(arguments.length===1){this._lastProcessed=a;return a}else{return this._lastProcessed}},_lastUpdated:null,lastUpdated:function(a){if(arguments.length===1){this._lastUpdated=a;return a}else{return this._lastUpdated}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},uniqueName:function(a){if(arguments.length===1){this.name(a);return a}else{return this.name()}},$type:new $.ig.Type("Cube",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("Catalog","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_uniqueName:null,uniqueName:function(a){if(arguments.length===1){this._uniqueName=a;return a}else{return this._uniqueName}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},$type:new $.ig.Type("Catalog",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("Dimension","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_uniqueName:null,uniqueName:function(a){if(arguments.length===1){this._uniqueName=a;return a}else{return this._uniqueName}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_dimensionType:null,dimensionType:function(a){if(arguments.length===1){this._dimensionType=a;return a}else{return this._dimensionType}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},_defaultHierarchy:null,defaultHierarchy:function(a){if(arguments.length===1){this._defaultHierarchy=a;return a}else{return this._defaultHierarchy}},$type:new $.ig.Type("Dimension",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("Hierarchy","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_uniqueName:null,uniqueName:function(a){if(arguments.length===1){this._uniqueName=a;return a}else{return this._uniqueName}},_defaultHierarchy:null,defaultHierarchy:function(a){if(arguments.length===1){this._defaultHierarchy=a;return a}else{return this._defaultHierarchy}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},_defaultMember:null,defaultMember:function(a){if(arguments.length===1){this._defaultMember=a;return a}else{return this._defaultMember}},_allMember:null,allMember:function(a){if(arguments.length===1){this._allMember=a;return a}else{return this._allMember}},_dimensionUniqueName:null,dimensionUniqueName:function(a){if(arguments.length===1){this._dimensionUniqueName=a;return a}else{return this._dimensionUniqueName}},_hierarchyOrigin:null,hierarchyOrigin:function(a){if(arguments.length===1){this._hierarchyOrigin=a;return a}else{return this._hierarchyOrigin}},_hierarchyDisplayFolder:null,hierarchyDisplayFolder:function(a){if(arguments.length===1){this._hierarchyDisplayFolder=a;return a}else{return this._hierarchyDisplayFolder}},$type:new $.ig.Type("Hierarchy",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("Level","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_uniqueName:null,uniqueName:function(a){if(arguments.length===1){this._uniqueName=a;return a}else{return this._uniqueName}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},_depth:null,depth:function(a){if(arguments.length===1){this._depth=a;return a}else{return this._depth}},_hierarchyUniqueName:null,hierarchyUniqueName:function(a){if(arguments.length===1){this._hierarchyUniqueName=a;return a}else{return this._hierarchyUniqueName}},_dimensionUniqueName:null,dimensionUniqueName:function(a){if(arguments.length===1){this._dimensionUniqueName=a;return a}else{return this._dimensionUniqueName}},_membersCount:null,membersCount:function(a){if(arguments.length===1){this._membersCount=a;return a}else{return this._membersCount}},_levelOrigin:null,levelOrigin:function(a){if(arguments.length===1){this._levelOrigin=a;return a}else{return this._levelOrigin}},_levelOrderingProperty:null,levelOrderingProperty:function(a){if(arguments.length===1){this._levelOrderingProperty=a;return a}else{return this._levelOrderingProperty}},$type:new $.ig.Type("Level",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("Measure","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_uniqueName:null,uniqueName:function(a){if(arguments.length===1){this._uniqueName=a;return a}else{return this._uniqueName}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},_measureGroupName:null,measureGroupName:function(a){if(arguments.length===1){this._measureGroupName=a;return a}else{return this._measureGroupName}},_aggregatorType:null,aggregatorType:function(a){if(arguments.length===1){this._aggregatorType=a;return a}else{return this._aggregatorType}},_defaultFormatString:null,defaultFormatString:function(a){if(arguments.length===1){this._defaultFormatString=a;return a}else{return this._defaultFormatString}},_measureDisplayFolder:null,measureDisplayFolder:function(a){if(arguments.length===1){this._measureDisplayFolder=a;return a}else{return this._measureDisplayFolder}},$type:new $.ig.Type("Measure",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("MeasureGroup","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_cubeName:null,cubeName:function(a){if(arguments.length===1){this._cubeName=a;return a}else{return this._cubeName}},_catalogName:null,catalogName:function(a){if(arguments.length===1){this._catalogName=a;return a}else{return this._catalogName}},uniqueName:function(a){if(arguments.length===1){this.name(a);return a}else{return this.name()}},$type:new $.ig.Type("MeasureGroup",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("MeasureGroupDimension","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_cubeName:null,cubeName:function(a){if(arguments.length===1){this._cubeName=a;return a}else{return this._cubeName}},_catalogName:null,catalogName:function(a){if(arguments.length===1){this._catalogName=a;return a}else{return this._catalogName}},_measureGroupName:null,measureGroupName:function(a){if(arguments.length===1){this._measureGroupName=a;return a}else{return this._measureGroupName}},_dimensionUniqueName:null,dimensionUniqueName:function(a){if(arguments.length===1){this._dimensionUniqueName=a;return a}else{return this._dimensionUniqueName}},_measureGroupCardinality:null,measureGroupCardinality:function(a){if(arguments.length===1){this._measureGroupCardinality=a;return a}else{return this._measureGroupCardinality}},_dimensionCardinality:null,dimensionCardinality:function(a){if(arguments.length===1){this._dimensionCardinality=a;return a}else{return this._dimensionCardinality}},_isDimensionVisible:null,isDimensionVisible:function(a){if(arguments.length===1){this._isDimensionVisible=a;return a}else{return this._isDimensionVisible}},_isFactDimension:null,isFactDimension:function(a){if(arguments.length===1){this._isFactDimension=a;return a}else{return this._isFactDimension}},_dimensionPath:null,dimensionPath:function(a){if(arguments.length===1){this._dimensionPath=a;return a}else{return this._dimensionPath}},_dimensionGranularity:null,dimensionGranularity:function(a){if(arguments.length===1){this._dimensionGranularity=a;return a}else{return this._dimensionGranularity}},$type:new $.ig.Type("MeasureGroupDimension",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Member","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_cubeName:null,cubeName:function(a){if(arguments.length===1){this._cubeName=a;return a}else{return this._cubeName}},_catalogName:null,catalogName:function(a){if(arguments.length===1){this._catalogName=a;return a}else{return this._catalogName}},_dimensionUniqueName:null,dimensionUniqueName:function(a){if(arguments.length===1){this._dimensionUniqueName=a;return a}else{return this._dimensionUniqueName}},_hierarchyUniqueName:null,hierarchyUniqueName:function(a){if(arguments.length===1){this._hierarchyUniqueName=a;return a}else{return this._hierarchyUniqueName}},_levelUniqueName:null,levelUniqueName:function(a){if(arguments.length===1){this._levelUniqueName=a;return a}else{return this._levelUniqueName}},_levelDepth:null,levelDepth:function(a){if(arguments.length===1){this._levelDepth=a;return a}else{return this._levelDepth}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_uniqueName:null,uniqueName:function(a){if(arguments.length===1){this._uniqueName=a;return a}else{return this._uniqueName}},_memberType:null,memberType:function(a){if(arguments.length===1){this._memberType=a;return a}else{return this._memberType}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_childrenCardinality:null,childrenCardinality:function(a){if(arguments.length===1){this._childrenCardinality=a;return a}else{return this._childrenCardinality}},_parentLevel:null,parentLevel:function(a){if(arguments.length===1){this._parentLevel=a;return a}else{return this._parentLevel}},_parentUniqueName:null,parentUniqueName:function(a){if(arguments.length===1){this._parentUniqueName=a;return a}else{return this._parentUniqueName}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},_scope:null,scope:function(a){if(arguments.length===1){this._scope=a;return a}else{return this._scope}},$type:new $.ig.Type("Member",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("OlapResult","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_isEmpty:null,isEmpty:function(a){if(arguments.length===1){this._isEmpty=a;return a}else{return this._isEmpty}},_axes:null,axes:function(a){if(arguments.length===1){this._axes=a;return a}else{return this._axes}},_cells:null,cells:function(a){if(arguments.length===1){this._cells=a;return a}else{return this._cells}},$type:new $.ig.Type("OlapResult",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapResultAxis","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.tuples(a.toList$1($.ig.OlapResultTuple.prototype.$type));this.tupleSize(b);this.positionResolver(new $.ig.PositionResolver$2(String,$.ig.Object.prototype.$type,a,b))},_positionResolver:null,positionResolver:function(a){if(arguments.length===1){this._positionResolver=a;return a}else{return this._positionResolver}},clone:function(){var $self=this;var a=new $.ig.List$1($.ig.OlapResultTuple.prototype.$type,0);var c=this.tuples().getEnumerator();while(c.moveNext()){var b=c.current();a.add(b.clone())}return function(){var $ret=new $.ig.OlapResultAxis(a,$self.tupleSize());$ret.name($self.name());return $ret}()},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_tupleSize:null,tupleSize:function(a){if(arguments.length===1){this._tupleSize=a;return a}else{return this._tupleSize}},_tuples:null,tuples:function(a){if(arguments.length===1){this._tuples=a;return a}else{return this._tuples}},$type:new $.ig.Type("OlapResultAxis",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IPosition$2","Object",{$type:new $.ig.Type("IPosition$2",null)},true);$.ig.util.defType("OlapResultTuple","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.members(new $.ig.ReadOnlyCollection$1($.ig.OlapResultAxisMember.prototype.$type,1,a))},_members:null,members:function(a){if(arguments.length===1){this._members=a;return a}else{return this._members}},getItems:function(){return this.members()},itemsCount:function(){return this.members().count()},indexOf:function(a){return this.members().indexOf(a)},item:function(b){return this.members().item(b)},isEmpty:function(){return false},clone:function(){var a=new $.ig.List$1($.ig.OlapResultAxisMember.prototype.$type,0);var c=this.members().getEnumerator();while(c.moveNext()){var b=c.current();a.add(b.clone())}var d=new $.ig.OlapResultTuple(a);var f=a.getEnumerator();while(f.moveNext()){var e=f.current();e.position(d)}return d},$type:new $.ig.Type("OlapResultTuple",$.ig.Object.prototype.$type,[$.ig.IPosition$2.prototype.$type.specialize(String,$.ig.Object.prototype.$type)])},true);$.ig.util.defType("IPositionItem$2","Object",{$type:new $.ig.Type("IPositionItem$2",null)},true);$.ig.util.defType("IHierarchicalPositionItem$2","Object",{$type:new $.ig.Type("IHierarchicalPositionItem$2",null,[$.ig.IPositionItem$2.prototype.$type.specialize(0,1)])},true);$.ig.util.defType("OlapResultAxisMember","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.properties(new $.ig.Dictionary$2(String,String,0));this.ordinal(-1)},_uniqueName:null,uniqueName:function(a){if(arguments.length===1){this._uniqueName=a;return a}else{return this._uniqueName}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_levelUniqueName:null,levelUniqueName:function(a){if(arguments.length===1){this._levelUniqueName=a;return a}else{return this._levelUniqueName}},_hierarchyUniqueName:null,hierarchyUniqueName:function(a){if(arguments.length===1){this._hierarchyUniqueName=a;return a}else{return this._hierarchyUniqueName}},_levelNumber:null,levelNumber:function(a){if(arguments.length===1){this._levelNumber=a;return a}else{return this._levelNumber}},_displayInfo:null,displayInfo:function(a){if(arguments.length===1){this._displayInfo=a;return a}else{return this._displayInfo}},childCount:function(){return this.displayInfo()&~65536&~131072},drilledDown:function(){return(this.displayInfo()&65536)==65536},parentSameAsPrev:function(){return(this.displayInfo()&131072)==131072},_properties:null,properties:function(a){if(arguments.length===1){this._properties=a;return a}else{return this._properties}},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},key:function(){return this.uniqueName()},sortKey:function(){if(this.ordinal()>-1){return this.ordinal()}var b=parseFloat(this.caption());if(!isNaN(b)){return b}return this.caption()},_ordinal:null,ordinal:function(a){if(arguments.length===1){this._ordinal=a;return a}else{return this._ordinal}},hierarchyKey:function(){return this.hierarchyUniqueName()},hierarchyLevelKey:function(){return this.levelUniqueName()},parentKey:function(){var $self=this;var b;(function(){var $ret=$self.properties().tryGetValue("PARENT_UNIQUE_NAME",b);b=$ret.value;return $ret.ret})();return b},depth:function(){return this.levelNumber()},isExpandable:function(){return this.childCount()>0},clone:function(){var a=new $.ig.OlapResultAxisMember;a.caption(this.caption());a.displayInfo(this.displayInfo());a.hierarchyUniqueName(this.hierarchyUniqueName());a.levelNumber(this.levelNumber());a.levelUniqueName(this.levelUniqueName());a.ordinal(this.ordinal());var c=this.properties().getEnumerator();while(c.moveNext()){var b=c.current();a.properties().add(b.key(),b.value())}a.uniqueName(this.uniqueName());a.position(this.position());return a},$type:new $.ig.Type("OlapResultAxisMember",$.ig.Object.prototype.$type,[$.ig.IHierarchicalPositionItem$2.prototype.$type.specialize(String,$.ig.Object.prototype.$type)])},true);$.ig.util.defType("OlapResultCell","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.properties(new $.ig.Dictionary$2(String,$.ig.Object.prototype.$type,0))},_cellOrdinal:null,cellOrdinal:function(a){if(arguments.length===1){this._cellOrdinal=a;return a}else{return this._cellOrdinal}},_properties:null,properties:function(a){if(arguments.length===1){this._properties=a;return a}else{return this._properties}},clone:function(){var $self=this;var a=function(){var $ret=new $.ig.OlapResultCell;$ret.cellOrdinal($self.cellOrdinal());return $ret}();var c=this.properties().getEnumerator();while(c.moveNext()){var b=c.current();a.properties().add(b.key(),b.value())}return a},$type:new $.ig.Type("OlapResultCell",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LevelSpanManager","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.c(a);this.a=new Array(a)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},f:function(a,b){var $self=this;var c=this.a[a];if(c==null){c=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.SpanSource.prototype.$type,0);this.a[a]=c}var d;if(!function(){var $ret=c.tryGetValue(b,d);d=$ret.value;return $ret.ret}()){d=new $.ig.SpanSource;if(b>0){var e;if(function(){var $ret=c.tryGetValue(b-1,e);e=$ret.value;return $ret.ret}()){d.d(e);e.j()}}c.add(b,d)}return d},$type:new $.ig.Type("LevelSpanManager",$.ig.Object.prototype.$type)},true);$.ig.util.defType("SpanSource","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=1},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},a:null,e:function(a){if(arguments.length===1){if(this.a!=a){var b=a-this.a;if(this.d()!=null){this.d().e(this.d().e()+b)}this.a=a}return a}else{return this.a}},b:null,j:function(){if(!this.b){this.b=true;this.e(this.e()+1)}},$type:new $.ig.Type("SpanSource",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ITableViewHeadersFactory","Object",{$type:new $.ig.Type("ITableViewHeadersFactory",null)},true);$.ig.util.defType("TableViewHeadersFactory","Object",{_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},init:function(a,b,c,d,e){$.ig.Object.prototype.init.call(this);this.f(a);this.g(b);this.h(c);this.i(d);this.j(e)},createHeaderCells:function(){var $self=this;if(this.f().positionResolver().hasUnregisterdPositions()){this.f().positionResolver().completeRegisterPositions()}var a=this.f().positionResolver().rootPositionInfo();var b=new $.ig.List$1($.ig.IList$1.prototype.$type.specialize($.ig.TableViewHeaderCellSource.prototype.$type),0);for(var c=0;c<a.positionSize();c++){b.add(new $.ig.List$1($.ig.TableViewHeaderCellSource.prototype.$type,0))}$.ig.TableViewHeadersFactory.prototype.u(a,a.positionItemDepthMin(),b,this.i(),this.j());var d=new $.ig.ArrayListCollection$1($.ig.OlapTableViewHeaderCell.prototype.$type);var e=0;for(var f=0;f<a.positionSize();f++){var g=b.item(f);var h=0;var i=0;var k=g.getEnumerator();while(k.moveNext()){var j=k.current();var l;var m;var n;var o;if(this.h()==$.ig.HeaderCellsLayoutOrientation.prototype.horizontal){l=h;m=j.p().e();n=j.r().positionItemDepth()+e;o=j.o().e()}else{n=h;o=j.p().e();l=j.r().positionItemDepth()+e;m=j.o().e()}var p=this.f().tuples().__inner[j.r().positionIndex()];var q=p.item(j.r().positionItemIndex());var r=this.f().tuples().__inner[j.s()];if(this.g().positionResolver().hasUnregisterdPositions()){this.g().positionResolver().completeRegisterPositions()}var s=this.g().positionResolver().getPositionIndex(r);var t=function(){var $ret=new $.ig.OlapTableViewHeaderCell;$ret.axisName($self.f().name());$ret.hierarchyNumber(j.r().positionItemIndex());$ret.levelNumber(j.r().positionItemDepth());$ret.caption(q.caption());$ret.columnIndex(l);$ret.columnSpan(m);$ret.isExpanded(j.u());$ret.isExpandable(j.v());$ret.tupleIndex(s);$ret.memberIndex(j.r().positionItemIndex());$ret.rowIndex(n);$ret.rowSpan(o);return $ret}();if(!j.l()){h=h+j.p().e()}i=Math.max(i,j.r().positionItemDepth());d.add(t)}e+=i+1}return d},u:function(a,b,c,d,e){var $self=this;var f=new $.ig.LevelSpanManager(a.positionSize());var i=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(g){return g.positionItemDepth()==b}).getEnumerator();while(i.moveNext()){var h=i.current();var j;var k;(function(){var $ret=$.ig.TableViewHeadersFactory.prototype.w(a,h,c,f,d,e,j,k);j=$ret.headerCellSource;k=$ret.totalSpan;return $ret.ret})()}},v:function(a,b,c,d,e,f){var $self=this;var h=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(g){return g.positionItemDepth()==a.positionItemDepthMin()}).toList$1($.ig.PositionItemInfo$2.prototype.$type);if(h.count()>0){var j=h.getEnumerator();while(j.moveNext()){var i=j.current();var k;var l;(function(){var $ret=$.ig.TableViewHeadersFactory.prototype.w(a,i,b,c,d,f,k,l);k=$ret.headerCellSource;l=$ret.totalSpan;return $ret.ret})();e.p().e(e.p().e()+l);if(k.l()){e.p().e(e.p().e()+1)}}e.p().e(e.p().e()-1)}else{f.add(a.positionIndex())}e.s(a.positionIndex())},w:function(a,b,c,d,e,f,g,h){var $self=this;var i=c.item(b.positionItemIndex());var j=d.f(b.positionItemIndex(),b.positionItemDepth());var k=function(){var $ret=new $.ig.TableViewHeaderCellSource;$ret.o(j);$ret.r(b);$ret.v(b.isExpandable());return $ret}();g=k;if(e){i.add(k);$.ig.TableViewHeadersFactory.prototype.v(b,c,d,true,k,f)}var l=null;if(b.isExpanded()){l=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(m){return m.parentKey()==b.key()}).toList$1($.ig.PositionItemInfo$2.prototype.$type)}if(l!=null&&l.count()>0){var n=function(){var $ret=new $.ig.TableViewHeaderCellSource;$ret.l(true);$ret.r(b);$ret.v(b.isExpandable());return $ret}();i.add(n);var p=l.getEnumerator();while(p.moveNext()){var o=p.current();var q;var r;(function(){var $ret=$.ig.TableViewHeadersFactory.prototype.w(a,o,c,d,e,f,q,r);q=$ret.headerCellSource;r=$ret.totalSpan;return $ret.ret})();n.p().e(n.p().e()+r);if(q.l()){n.p().e(n.p().e()+1)}}n.p().e(n.p().e()-1);k.u(true);k.v(false);n.u(true);k.q(n);if(!e){i.add(k);$.ig.TableViewHeadersFactory.prototype.v(b,c,d,false,k,f)}n.s(k.s());g=n;h=k.p().e()+n.p().e()-1}else{if(b.isExpanded()){k.v(false)}if(!e){i.add(k);$.ig.TableViewHeadersFactory.prototype.v(b,c,d,false,k,f)}h=k.p().e()}return{headerCellSource:g,totalSpan:h}},$type:new $.ig.Type("TableViewHeadersFactory",$.ig.Object.prototype.$type,[$.ig.ITableViewHeadersFactory.prototype.$type])},true);$.ig.util.defType("TableCompactViewHeadersFactory","Object",{_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},init:function(a,b,c,d,e){$.ig.Object.prototype.init.call(this);this.f(a);this.g(b);this.h(c);this.i(d);this.j(e)},createHeaderCells:function(){var $self=this;if(this.f().positionResolver().hasUnregisterdPositions()){this.f().positionResolver().completeRegisterPositions()}var a=this.f().positionResolver().rootPositionInfo();var b=new $.ig.List$1($.ig.IList$1.prototype.$type.specialize($.ig.TableViewHeaderCellSource.prototype.$type),0);for(var c=0;c<a.positionSize();c++){b.add(new $.ig.List$1($.ig.TableViewHeaderCellSource.prototype.$type,0))}$.ig.TableCompactViewHeadersFactory.prototype.u(a,a.positionItemDepthMin(),b,this.i(),this.j());var d=new $.ig.ArrayListCollection$1($.ig.OlapTableViewHeaderCell.prototype.$type);var e=0;for(var f=0;f<a.positionSize();f++){var g=b.item(f);var h=0;var i=0;var k=g.getEnumerator();while(k.moveNext()){var j=k.current();var l;var m;var n;var o;if(this.h()==$.ig.HeaderCellsLayoutOrientation.prototype.horizontal){l=h;m=j.p().e();n=e;o=1}else{n=h;o=j.p().e();l=e;m=1}var p=this.f().tuples().__inner[j.r().positionIndex()];var q=p.item(j.r().positionItemIndex());var r=this.f().tuples().__inner[j.s()];if(this.g().positionResolver().hasUnregisterdPositions()){this.g().positionResolver().completeRegisterPositions()}var s=this.g().positionResolver().getPositionIndex(r);var t=function(){var $ret=new $.ig.OlapTableViewHeaderCell;$ret.axisName($self.f().name());$ret.hierarchyNumber(j.r().positionItemIndex());$ret.levelNumber(j.r().positionItemDepth());$ret.caption(q.caption());$ret.columnIndex(l);$ret.columnSpan(m);$ret.isExpanded(j.u());$ret.isExpandable(j.v());$ret.tupleIndex(s);$ret.memberIndex(j.r().positionItemIndex());$ret.rowIndex(n);$ret.rowSpan(o);return $ret}();if(!j.l()){h=h+j.p().e()}d.add(t)}e+=i+1}return d},u:function(a,b,c,d,e){var $self=this;var f=new $.ig.LevelSpanManager(a.positionSize());var i=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(g){return g.positionItemDepth()==b}).getEnumerator();while(i.moveNext()){var h=i.current();var j;var k;(function(){var $ret=$.ig.TableCompactViewHeadersFactory.prototype.w(a,h,c,f,d,e,j,k);j=$ret.headerCellSource;k=$ret.totalSpan;return $ret.ret})()}},v:function(a,b,c,d,e,f){var $self=this;var h=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(g){return g.positionItemDepth()==a.positionItemDepthMin()}).toList$1($.ig.PositionItemInfo$2.prototype.$type);if(h.count()>0){var j=h.getEnumerator();while(j.moveNext()){var i=j.current();var k;var l;(function(){var $ret=$.ig.TableCompactViewHeadersFactory.prototype.w(a,i,b,c,d,f,k,l);k=$ret.headerCellSource;l=$ret.totalSpan;return $ret.ret})();e.p().e(e.p().e()+l);if(k.q()!=null){e.p().e(e.p().e()+1)}}e.p().e(e.p().e()-1)}else{f.add(a.positionIndex())}e.s(a.positionIndex())},w:function(a,b,c,d,e,f,g,h){var $self=this;var i=c.item(b.positionItemIndex());var j=d.f(b.positionItemIndex(),b.positionItemDepth());var k=function(){var $ret=new $.ig.TableViewHeaderCellSource;$ret.o(j);$ret.r(b);$ret.v(b.isExpandable());return $ret}();g=k;if(e){i.add(k);$.ig.TableCompactViewHeadersFactory.prototype.v(b,c,d,true,k,f)}var l=null;if(b.isExpanded()){l=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(m){return m.parentKey()==b.key()}).toList$1($.ig.PositionItemInfo$2.prototype.$type)}if(l!=null&&l.count()>0){var n=function(){var $ret=new $.ig.TableViewHeaderCellSource;$ret.l(true);$ret.r(b);$ret.v(b.isExpandable());return $ret}();var p=l.getEnumerator();while(p.moveNext()){var o=p.current();var q;var r;(function(){var $ret=$.ig.TableCompactViewHeadersFactory.prototype.w(a,o,c,d,e,f,q,r);q=$ret.headerCellSource;r=$ret.totalSpan;return $ret.ret})();n.p().e(n.p().e()+r);if(q.q()!=null){n.p().e(n.p().e()+1)}}n.p().e(n.p().e()-1);k.u(true);k.v(true);k.q(n);if(!e){i.add(k);$.ig.TableCompactViewHeadersFactory.prototype.v(b,c,d,false,k,f)}n.s(k.s());h=k.p().e()+n.p().e()-1}else{if(b.isExpanded()){k.v(false)}if(!e){i.add(k);$.ig.TableCompactViewHeadersFactory.prototype.v(b,c,d,false,k,f)}h=k.p().e()}return{headerCellSource:g,totalSpan:h}},$type:new $.ig.Type("TableCompactViewHeadersFactory",$.ig.Object.prototype.$type,[$.ig.ITableViewHeadersFactory.prototype.$type])},true);$.ig.util.defType("TableViewHeaderCellSource","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.p(new $.ig.SpanSource);this.o(new $.ig.SpanSource)},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},$type:new $.ig.Type("TableViewHeaderCellSource",$.ig.Object.prototype.$type)},true);
$.ig.util.defType("TableViewImpl","Object",{init:function(a,b,c,d){var $self=this;$.ig.Object.prototype.init.call(this);if(a==null){throw new $.ig.ArgumentNullException("result")}this.result(a);this.originalResult(a);if(d==null){this.viewSettings(new $.ig.TableViewSettings)}else{this.viewSettings(d)}this.hasColumns(b);this.hasRows(c);this.columnSortDirections(new $.ig.ArrayListCollection$1($.ig.TupleSortDirection.prototype.$type));this.columnSortDirections().collectionChanged=$.ig.Delegate.prototype.combine(this.columnSortDirections().collectionChanged,function(e,f){$self.u(true)});this.levelSortDirections(new $.ig.ArrayListCollection$1($.ig.LevelSortDirection.prototype.$type));this.levelSortDirections().collectionChanged=$.ig.Delegate.prototype.combine(this.levelSortDirections().collectionChanged,function(g,h){$self.u(true)});this.appliedColumnSortDirections(new $.ig.List$1($.ig.TupleSortDirection.prototype.$type,0));this.appliedLevelSortDirections(new $.ig.List$1($.ig.LevelSortDirection.prototype.$type,0));this.appliedSortDirectionsMap(new $.ig.Dictionary$2(String,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.ListSortDirection.prototype.$type)),0))},_viewSettings:null,viewSettings:function(a){if(arguments.length===1){this._viewSettings=a;return a}else{return this._viewSettings}},_result:null,result:function(a){if(arguments.length===1){this._result=a;return a}else{return this._result}},_originalResult:null,originalResult:function(a){if(arguments.length===1){this._originalResult=a;return a}else{return this._originalResult}},_hasRows:null,hasRows:function(a){if(arguments.length===1){this._hasRows=a;return a}else{return this._hasRows}},_hasColumns:null,hasColumns:function(a){if(arguments.length===1){this._hasColumns=a;return a}else{return this._hasColumns}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},_u:null,u:function(a){if(arguments.length===1){this._u=a;return a}else{return this._u}},a:null,b:null,c:null,rowHeaders:function(a){if(arguments.length===1){this.a=a;return a}else{if(!this.t()||this.u()){this.initialize()}return this.a}},columnHeaders:function(a){if(arguments.length===1){this.b=a;return a}else{if(!this.t()||this.u()){this.initialize()}return this.b}},resultCells:function(a){if(arguments.length===1){this.c=a;return a}else{if(!this.t()||this.u()){this.initialize()}return this.c}},_columnSortDirections:null,columnSortDirections:function(a){if(arguments.length===1){this._columnSortDirections=a;return a}else{return this._columnSortDirections}},_levelSortDirections:null,levelSortDirections:function(a){if(arguments.length===1){this._levelSortDirections=a;return a}else{return this._levelSortDirections}},_appliedColumnSortDirections:null,appliedColumnSortDirections:function(a){if(arguments.length===1){this._appliedColumnSortDirections=a;return a}else{return this._appliedColumnSortDirections}},_appliedLevelSortDirections:null,appliedLevelSortDirections:function(a){if(arguments.length===1){this._appliedLevelSortDirections=a;return a}else{return this._appliedLevelSortDirections}},_appliedSortDirectionsMap:null,appliedSortDirectionsMap:function(a){if(arguments.length===1){this._appliedSortDirectionsMap=a;return a}else{return this._appliedSortDirectionsMap}},initialize:function(){var $self=this;this.r(null);this.s(null);this.rowHeaders(null);this.columnHeaders(null);this.resultCells(null);this.result(this.originalResult());if(this.result().isEmpty()){this.u(false);this.t(true);return}if(this.levelSortDirections().count()>0){var a=new $.ig.ResultHeaderSorter(this.result(),this.hasRows(),this.hasColumns(),this.levelSortDirections());this.result(a.m());this.appliedLevelSortDirections(a.r());this.appliedSortDirectionsMap(a.s())}else{this.appliedLevelSortDirections(new $.ig.List$1($.ig.LevelSortDirection.prototype.$type,0));this.appliedSortDirectionsMap(new $.ig.Dictionary$2(String,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.ListSortDirection.prototype.$type)),0))}if(this.hasRows()&&this.columnSortDirections().count()>0){if(this.appliedLevelSortDirections().count()>0){if(this.originalResult().axes().item(0).positionResolver().hasUnregisterdPositions()){this.originalResult().axes().item(0).positionResolver().completeRegisterPositions()}if(this.result().axes().item(0).positionResolver().hasUnregisterdPositions()){this.result().axes().item(0).positionResolver().completeRegisterPositions()}var b=new $.ig.List$1($.ig.TupleSortDirection.prototype.$type,2,this.columnSortDirections().count());var c=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Number.prototype.$type,1,this.appliedColumnSortDirections().count());var e=this.columnSortDirections().getEnumerator();while(e.moveNext()){var d=e.current();var f=this.originalResult().axes().item(0).tuples().__inner[d.tupleIndex()];var g=this.result().axes().item(0).positionResolver().getPositionIndex(f);var h=new $.ig.TupleSortDirection;h.sortDirection(d.sortDirection());h.tupleIndex(g);h.comparer(d.comparer());b.add(h);c.item(g,d.tupleIndex())}var i=new $.ig.ResultColumnValueSorter(this.result(),this.hasRows(),this.hasColumns(),b);this.result(i.m());var k=i.q().getEnumerator();while(k.moveNext()){var j=k.current();j.tupleIndex(c.item(j.tupleIndex()))}this.appliedColumnSortDirections(i.q())}else{var l=new $.ig.ResultColumnValueSorter(this.result(),this.hasRows(),this.hasColumns(),this.columnSortDirections());this.result(l.m());this.appliedColumnSortDirections(l.q())}}else{this.appliedColumnSortDirections(new $.ig.List$1($.ig.TupleSortDirection.prototype.$type,0))}var m=0;var n=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Number.prototype.$type,0);var o=1;if(this.hasColumns()){var p=this.result().axes().item(m);var q=this.originalResult().axes().item(m);var r=this.ap(p,q);for(var s=0;s<r.count();s++){var t=r.item(s);n.add(t,s)}m++;o=p.tuples().count()}var u=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Number.prototype.$type,0);if(this.hasRows()){var v=this.result().axes().item(m);var w=this.originalResult().axes().item(m);var x=this.aq(v,w);for(var y=0;y<x.count();y++){var z=x.item(y);u.add(z,y)}}var aa=new $.ig.ArrayListCollection$1($.ig.OlapTableViewResultCell.prototype.$type);for(var ab=0;ab<this.result().cells().count();ab++){var ac=this.result().cells().item(ab);var ad;(function(){var $ret=ac.properties().tryGetValue("Value",ad);ad=$ret.value;return $ret.ret})();var ae;(function(){var $ret=ac.properties().tryGetValue("FmtValue",ae);ae=$ret.value;return $ret.ret})();var af=ac.cellOrdinal();if(this.hasColumns()){var ag=af%o;var ah=n.item(ag);if(ag!=ah){var ai=$.ig.intDivide(af,o);af=ai*o+ah}}if(this.hasRows()){var aj=$.ig.intDivide(af,o);var ak=u.item(aj);if(aj!=ak){var al=af%o;af=ak*o+al}}aa.add(function(){var $ret=new $.ig.OlapTableViewResultCell;$ret.value(ad);$ret.formattedValue(ae);$ret.cellOrdinal(af);$ret.resultCellIndex(ab);return $ret}());this.resultCells(aa)}this.u(false);this.t(true)},ap:function(a,b){var c=new $.ig.List$1($.ig.Number.prototype.$type,0);if(this.viewSettings().h()){this.s(new $.ig.TableCompactViewHeadersFactory(a,b,$.ig.HeaderCellsLayoutOrientation.prototype.horizontal,this.viewSettings().e(),c))}else{this.s(new $.ig.TableViewHeadersFactory(a,b,$.ig.HeaderCellsLayoutOrientation.prototype.horizontal,this.viewSettings().e(),c))}this.columnHeaders(this.s().createHeaderCells());return c},aq:function(a,b){var c=new $.ig.List$1($.ig.Number.prototype.$type,0);if(this.viewSettings().g()){this.r(new $.ig.TableCompactViewHeadersFactory(a,b,$.ig.HeaderCellsLayoutOrientation.prototype.vertical,this.viewSettings().f(),c))}else{this.r(new $.ig.TableViewHeadersFactory(a,b,$.ig.HeaderCellsLayoutOrientation.prototype.vertical,this.viewSettings().f(),c))}this.rowHeaders(this.r().createHeaderCells());return c},$type:new $.ig.Type("TableViewImpl",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TableViewSettings","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("TableViewSettings",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapResultView","Object",{init:function(a,b,c,d){$.ig.Object.prototype.init.call(this);if(a==null){throw new $.ig.ArgumentNullException("result")}this.result(a);this.visibleResult(b);this.hasColumns(c);this.hasRows(d)},_result:null,result:function(a){if(arguments.length===1){this._result=a;return a}else{return this._result}},_visibleResult:null,visibleResult:function(a){if(arguments.length===1){this._visibleResult=a;return a}else{return this._visibleResult}},_hasRows:null,hasRows:function(a){if(arguments.length===1){this._hasRows=a;return a}else{return this._hasRows}},_hasColumns:null,hasColumns:function(a){if(arguments.length===1){this._hasColumns=a;return a}else{return this._hasColumns}},i:function(a,b,c,d,e){var $self=this;var f=0;var g=null;var h=1;if(e){g=a.axes().item(f);h=g.tuples().count();f++}var i=null;var j=1;if(d){i=a.axes().item(f);j=i.tuples().count()}var k=1;if(b!=null){k=b.tuples().count()}var l=1;if(c!=null){l=c.tuples().count()}var m=new Array(k*l);if(a.cells().count()>0){var n=0;var o=a.cells().item(n);for(var p=0;p<j;p++){var q=$.ig.intDivide(o.cellOrdinal(),h);if(q!=p){continue}var r=0;if(b!=null&&i!=null){var s=i.tuples().__inner[p];r=b.positionResolver().getPositionIndex(s)}if(r==-1){while(q==p){n++;if(n<a.cells().count()){o=a.cells().item(n);q=$.ig.intDivide(o.cellOrdinal(),h)}else{break}}continue}var t=o.cellOrdinal()%h;for(var u=0;u<h;u++){if(t!=u){continue}var v=-1;if(c==null||g==null){v=0}else{var w=g.tuples().__inner[u];v=c.positionResolver().getPositionIndex(w)}if(v==-1){n++;if(n<a.cells().count()){o=a.cells().item(n);q=$.ig.intDivide(o.cellOrdinal(),h);if(q>p){break}t=o.cellOrdinal()%h}continue}var x=o.clone();x.cellOrdinal(r*l+v);m[x.cellOrdinal()]=x;n++;if(n<a.cells().count()){o=a.cells().item(n);q=$.ig.intDivide(o.cellOrdinal(),h);if(q>p){break}t=o.cellOrdinal()%h}}}}var y=new $.ig.List$1($.ig.OlapResultCell.prototype.$type,0);for(var aa=0;aa<m.length;aa++){var z=m[aa];if(z!=null){y.add(z)}}var ab=new $.ig.List$1($.ig.OlapResultAxis.prototype.$type,0);if(e){ab.add(c)}if(d){ab.add(b)}return function(){var $ret=new $.ig.OlapResult;$ret.axes(ab);$ret.cells(y);$ret.isEmpty(!d&&!e&&y.count()==0);return $ret}()},j:function(a,b,c){var $self=this;var d=new $.ig.List$1($.ig.OlapResultTuple.prototype.$type,0);if(c){for(var e=0;e<b.count();e++){var f=b.item(e);d.add(a.tuples().__inner[f].clone())}}else{var g=0;var h=b.item(g);for(var i=0;i<a.tuples().count();i++){if(i==h){g++;if(g<b.count()){h=b.item(g)}}else{d.add(a.tuples().__inner[i].clone())}}}var j=function(){var $ret=new $.ig.OlapResultAxis(d,a.tupleSize());$ret.name(a.name());return $ret}();return j},expandTupleMember:function(a,b,c){var $self=this;var d=this.o(a,b,c,this.visibleResult());if(d==null){return null}if(!d.isExpandable()){throw new $.ig.InvalidOperationException(1,"The position is not expandable.")}if(d.isExpanded()){return this}var f=this.visibleResult().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(e){return e.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var h=this.result().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(g){return g.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var i=a=="Axis0"&&!this.hasColumns()||a=="Axis1"&&this.hasRows();var j=f.tuples().__inner[b];var k=h.positionResolver().getPositionIndex(j);var l=this.n(a,k,c,this.result());if(l.count()==0){return null}var m=null;var n=null;if(i){m=this.j(h,l,true);if(this.hasColumns()){n=this.visibleResult().axes().item(0)}}else{n=this.j(h,l,true);if(this.hasRows()){m=this.visibleResult().axes().item(1)}}var o=this.i(this.result(),m,n,this.hasRows(),this.hasColumns());var p=this.k(this.visibleResult(),o,h.name());return new $.ig.OlapResultView(this.result(),p,this.hasColumns(),this.hasRows())},collapseTupleMember:function(a,b,c){var $self=this;var d=this.o(a,b,c,this.visibleResult());if(d==null){return null}if(!d.isExpandable()){throw new $.ig.InvalidOperationException(1,"The position is not expandable.")}if(!d.isExpanded()){return this}var e=this.n(a,b,c,this.visibleResult());if(e.count()==0){return null}var g=this.visibleResult().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(f){return f.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var h=a=="Axis0"&&!this.hasColumns()||a=="Axis1"&&this.hasRows();var i=null;var j=null;if(h){i=this.j(g,e,false);if(this.hasColumns()){j=this.visibleResult().axes().item(0)}}else{j=this.j(g,e,false);if(this.hasRows()){i=this.visibleResult().axes().item(1)}}var l=this.result().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(k){return k.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var m=l.tuples().__inner[b];if(l.positionResolver().hasUnregisterdPositions()){l.positionResolver().completeRegisterPositions()}var n=l.positionResolver().getHostPositionItemInfo(m,c);var o=n.item(m.item(c).key());o.isExpanded(false);var p=this.i(this.visibleResult(),i,j,this.hasRows(),this.hasColumns());return new $.ig.OlapResultView(this.result(),p,this.hasColumns(),this.hasRows())},extend:function(a,b){var $self=this;var d=this.visibleResult().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(c){return c.name()==b}).first$1($.ig.OlapResultAxis.prototype.$type);var e=b=="Axis0"&&!this.hasColumns()||b=="Axis1"&&this.hasRows();var f=null;var g=null;var h=null;var i=false;if(e){f=d;if(this.hasColumns()){g=this.visibleResult().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(j){return j.name()!=b}).first$1($.ig.OlapResultAxis.prototype.$type);h=this.result().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(k){return k.name()!=b}).first$1($.ig.OlapResultAxis.prototype.$type);i=g.tuples().count()!=h.tuples().count()}}else{g=d;if(this.hasRows()){f=this.visibleResult().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(l){return l.name()!=b}).first$1($.ig.OlapResultAxis.prototype.$type);h=this.result().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(m){return m.name()!=b}).first$1($.ig.OlapResultAxis.prototype.$type);i=f.tuples().count()!=h.tuples().count()}}var n=null;var o=null;if(h!=null&&i){var p=this.i(this.result(),f,g,this.hasRows(),this.hasColumns());n=this.k(p,a,b);o=this.k(p,a,b)}else{n=this.k(this.result(),a,b);o=this.k(this.visibleResult(),a,b)}return new $.ig.OlapResultView(n,o,this.hasColumns(),this.hasRows())},k:function(a,b,c){var $self=this;var e=a.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(d){return d.name()==c}).first$1($.ig.OlapResultAxis.prototype.$type);if(e==null){return null}var g=b.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(f){return f.name()==c}).first$1($.ig.OlapResultAxis.prototype.$type);var h=c=="Axis0"&&!this.hasColumns()||c=="Axis1"&&this.hasRows();var i=null;var j=null;if(h){if(this.hasColumns()){i=a.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(k){return k.name()!=c}).first$1($.ig.OlapResultAxis.prototype.$type);j=b.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(l){return l.name()!=c}).first$1($.ig.OlapResultAxis.prototype.$type)}}else{if(this.hasRows()){i=a.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(m){return m.name()!=c}).first$1($.ig.OlapResultAxis.prototype.$type);j=b.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(n){return n.name()!=c}).first$1($.ig.OlapResultAxis.prototype.$type)}}var o=new $.ig.List$1($.ig.OlapResultTuple.prototype.$type,0);var q=e.tuples().getEnumerator();while(q.moveNext()){var p=q.current();o.add(p.clone())}var s=g.tuples().getEnumerator();while(s.moveNext()){var r=s.current();o.add(r)}var t=g.tuples().count();var u=j!=null&&j.tuples().count()>0?j.tuples().count():1;var v=e.tuples().count()>0?e.tuples().count():1;var w=i!=null&&i.tuples().count()>0?i.tuples().count():1;var x=v*w;var y=new $.ig.List$1($.ig.OlapResultCell.prototype.$type,0);if(h){var aa=a.cells().getEnumerator();while(aa.moveNext()){var z=aa.current();y.add(z.clone())}var ab=new Array(t*w);var ac=v*w;var ae=b.cells().getEnumerator();while(ae.moveNext()){var ad=ae.current();var af=ad.clone();var ag=this.l(af.cellOrdinal(),i,j);var ah=$.ig.intDivide(af.cellOrdinal(),u);af.cellOrdinal(ah*w+ag);af.cellOrdinal(af.cellOrdinal()+x);ab[af.cellOrdinal()-ac]=af}for(var ai=0;ai<ab.length;ai++){var aj=ab[ai];if(aj!=null){y.add(aj)}}}else{var ak=new Array(w*(v+t));var am=a.cells().getEnumerator();while(am.moveNext()){var al=am.current();var an=al.clone();var ao=$.ig.intDivide(an.cellOrdinal(),v);an.cellOrdinal(an.cellOrdinal()+ao*t);ak[an.cellOrdinal()]=an}var aq=b.cells().getEnumerator();while(aq.moveNext()){var ap=aq.current();var ar=ap.clone();var as=this.m(ar.cellOrdinal(),i,j,t);var at=$.ig.intDivide(ap.cellOrdinal(),t);if(as!=at){}var au=ar.cellOrdinal()%t;ar.cellOrdinal(as*t+au);ar.cellOrdinal(ar.cellOrdinal()+(as+1)*v);ak[ar.cellOrdinal()]=ar}for(var aw=0;aw<ak.length;aw++){var av=ak[aw];if(av!=null){y.add(av)}}}var ax=new $.ig.OlapResult;ax.axes(new $.ig.List$1($.ig.OlapResultAxis.prototype.$type,0));var ay=function(){var $ret=new $.ig.OlapResultAxis(o,e.tupleSize());$ret.name(e.name());return $ret}();if(h){if(i!=null){ax.axes().add(i)}ax.axes().add(ay)}else{ax.axes().add(ay);if(i!=null){ax.axes().add(i)}}ax.cells(y);ax.isEmpty(!this.hasColumns()&&!this.hasRows()&&y.count()==0);return ax},l:function(a,b,c){if(c==null){return 0}var d=a%c.tuples().count();var e=c.tuples().__inner[d];var f=b.positionResolver().getPositionIndex(e);return f},m:function(a,b,c,d){if(c==null){return 0}var e=$.ig.intDivide(a,d);var f=c.tuples().__inner[e];var g=b.positionResolver().getPositionIndex(f);return g},n:function(a,b,c,d){var $self=this;var f=d.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(e){return e.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var g=f.tuples().__inner[b];var h=g.item(c);if(f.positionResolver().hasUnregisterdPositions()){f.positionResolver().completeRegisterPositions()}var i=f.positionResolver().n(h,$.ig.ListSortDirection.prototype.ascending);if(i!=null){return i.toList$1($.ig.Number.prototype.$type)}return null},o:function(a,b,c,d){var $self=this;var f=d.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(e){return e.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var g=f.tuples().__inner[b];var h=g.item(c);if(f.positionResolver().hasUnregisterdPositions()){f.positionResolver().completeRegisterPositions()}var i=f.positionResolver().getHostPositionItemInfo(g,c);var j;(function(){var $ret=i.tryGetValue(h.key(),j);j=$ret.value;return $ret.ret})();return j},$type:new $.ig.Type("OlapResultView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ResultViewHelper","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b,c,d,e){$.ig.ResultViewHelper.prototype.c(a,b,c,true,e.visibleResult());$.ig.ResultViewHelper.prototype.c(a,b,c,true,e.result())},b:function(a,b,c){var $self=this;var e=b.visibleResult().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(d){return d.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var g=c.visibleResult().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(f){return f.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);$.ig.ResultViewHelper.prototype.e(e.positionResolver(),g.positionResolver());var i=b.result().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(h){return h.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);var k=c.result().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(j){return j.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);$.ig.ResultViewHelper.prototype.e(i.positionResolver(),k.positionResolver())},c:function(a,b,c,d,e){var $self=this;var g=e.axes().where$1($.ig.OlapResultAxis.prototype.$type,function(f){return f.name()==a}).first$1($.ig.OlapResultAxis.prototype.$type);if(g.positionResolver().hasUnregisterdPositions()){g.positionResolver().completeRegisterPositions()}$.ig.ResultViewHelper.prototype.d(b,c,d,g.positionResolver())},d:function(a,b,c,d){if(d.hasUnregisterdPositions()){d.completeRegisterPositions()}var e=d.positions().__inner[a];var f=d.getHostPositionItemInfo(e,b);var g=f.item(e.item(b).key());g.isExpanded(c)},e:function(a,b){if(a.hasUnregisterdPositions()){a.completeRegisterPositions()}if(b.hasUnregisterdPositions()){b.completeRegisterPositions()}$.ig.ResultViewHelper.prototype.f(a.rootPositionInfo(),b.rootPositionInfo())},f:function(a,b){var $self=this;var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=c.value();var f;if(function(){var $ret=b.tryGetValue(c.key(),f);f=$ret.value;return $ret.ret}()){if(e.isExpanded()!=true){f.isExpanded(false)}if(f.count()>0){$.ig.ResultViewHelper.prototype.f(e,f)}}}},$type:new $.ig.Type("ResultViewHelper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapTableViewHeaderCell","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.columnSpan(1);this.rowSpan(1)},_id:null,id:function(a){if(arguments.length===1){this._id=a;return a}else{return this._id}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_isExpanded:null,isExpanded:function(a){if(arguments.length===1){this._isExpanded=a;return a}else{return this._isExpanded}},_isExpandable:null,isExpandable:function(a){if(arguments.length===1){this._isExpandable=a;return a}else{return this._isExpandable}},_rowIndex:null,rowIndex:function(a){if(arguments.length===1){this._rowIndex=a;return a}else{return this._rowIndex}},_rowSpan:null,rowSpan:function(a){if(arguments.length===1){this._rowSpan=a;return a}else{return this._rowSpan}},_columnIndex:null,columnIndex:function(a){if(arguments.length===1){this._columnIndex=a;return a}else{return this._columnIndex}},_columnSpan:null,columnSpan:function(a){if(arguments.length===1){this._columnSpan=a;return a}else{return this._columnSpan}},_axisName:null,axisName:function(a){if(arguments.length===1){this._axisName=a;return a}else{return this._axisName}},_tupleIndex:null,tupleIndex:function(a){if(arguments.length===1){this._tupleIndex=a;return a}else{return this._tupleIndex}},_memberIndex:null,memberIndex:function(a){if(arguments.length===1){this._memberIndex=a;return a}else{return this._memberIndex}},_levelNumber:null,levelNumber:function(a){if(arguments.length===1){this._levelNumber=a;return a}else{return this._levelNumber}},_hierarchyNumber:null,hierarchyNumber:function(a){if(arguments.length===1){this._hierarchyNumber=a;return a}else{return this._hierarchyNumber}},toString:function(){return this.caption()},$type:new $.ig.Type("OlapTableViewHeaderCell",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapTableViewResultCell","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_value:null,value:function(a){if(arguments.length===1){this._value=a;return a}else{return this._value}},_formattedValue:null,formattedValue:function(a){if(arguments.length===1){this._formattedValue=a;return a}else{return this._formattedValue}},_cellOrdinal:null,cellOrdinal:function(a){if(arguments.length===1){this._cellOrdinal=a;return a}else{return this._cellOrdinal}},_resultCellIndex:null,resultCellIndex:function(a){if(arguments.length===1){this._resultCellIndex=a;return a}else{return this._resultCellIndex}},$type:new $.ig.Type("OlapTableViewResultCell",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ArrayListCollection$1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);this.inner(new $.ig.Array)},_inner:null,inner:function(a){if(arguments.length===1){this._inner=a;return a}else{return this._inner}},collectionChanged:null,indexOf:function(a){return this.inner().indexOf(a)},insert:function(a,b){this.inner().insert(a,b);this.e(a,b)},removeAt:function(a){var b=this.inner()[a];this.inner().removeAt(a);this.f(a,b)},item:function(b,a){if(arguments.length===2){this.inner()[b]=a;return a}else{return this.inner()[b]}},add:function(a){this.inner().add(a);this.e(this.inner().length-1,a)},clear:function(){this.inner().clear();this.g()},contains:function(a){return this.inner().contains(a)},copyTo:function(a,b){throw new $.ig.NotImplementedException},count:function(){return this.inner().length},isReadOnly:function(){return false},remove:function(a){var b=this.inner().indexOf(a);if(b>=0){this.inner().removeAt(b);this.f(b,a);return true}return false},d:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$current=this.$this.inner()[this.$a];this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<this.$this.inner().length){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(this.$t,$iter)},getEnumerator:function(){return this.d().getEnumerator()},e:function(a,b){if(this.collectionChanged!=null){var c=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.add,b,a);this.collectionChanged(this,c)}},f:function(a,b){if(this.collectionChanged!=null){var c=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.remove,b,a);this.collectionChanged(this,c)}},g:function(){if(this.collectionChanged!=null){var a=new $.ig.NotifyCollectionChangedEventArgs(1,$.ig.NotifyCollectionChangedAction.prototype.reset,null,-1);this.collectionChanged(this,a)}},$type:new $.ig.Type("ArrayListCollection$1",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize(0),$.ig.INotifyCollectionChanged.prototype.$type])},true);$.ig.util.defType("IOlapDataSource","Object",{$type:new $.ig.Type("IOlapDataSource",null)},true);$.ig.util.defType("MeasureList","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},uniqueName:function(a){if(arguments.length===1){this.name(a);return a}else{return this.name()}},_measures:null,measures:function(a){if(arguments.length===1){this._measures=a;return a}else{return this._measures}},$type:new $.ig.Type("MeasureList",$.ig.Object.prototype.$type,[$.ig.ICoreOlapElement.prototype.$type])},true);$.ig.util.defType("OlapMetadataTreeItem","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_item:null,item:function(a){if(arguments.length===1){this._item=a;return a}else{return this._item}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_children:null,children:function(a){if(arguments.length===1){this._children=a;return a}else{return this._children}},e:function(a){if(this.children()==null){this.children(new Array(1));this.children()[0]=a;return}var b=new Array(this.children().length+1);$.ig.Array.prototype.copy(this.children(),0,b,0,this.children().length);b[this.children().length]=a;this.children(b)},$type:new $.ig.Type("OlapMetadataTreeItem",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MetaTreeHelper","Object",{init:function(){$.ig.Object.prototype.init.call(this)},getDimensionMetaItems:function(a,b,c,d,e){var $self=this;var f=new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0);var g=new $.ig.HierarchyItemPosition;g.c(0);g.d(0);var h=new $.ig.List$1($.ig.Hierarchy.prototype.$type,0);var j=c.getEnumerator();while(j.moveNext()){var i=j.current();h.add(i)}var k=new $.ig.List$1($.ig.Level.prototype.$type,0);var m=d.getEnumerator();while(m.moveNext()){var l=m.current();k.add(l)}var o=a.getEnumerator();while(o.moveNext()){var n=o.current();var p=$.ig.MetaTreeHelper.prototype.l(h,k,n,g);if(n.dimensionType()!=$.ig.DimensionType.prototype.measure){var q=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type($.ig.OlapMetadataTreeItemType.prototype.dimension);$ret.caption(n.caption());$ret.item(n);return $ret}();$.ig.MetaTreeHelper.prototype.setMetaItemChildren(q,p);f.add(q)}else{var r=$.ig.MetaTreeHelper.prototype.n(b,n,e);f.insert(0,r)}}return f},setMetaItemChildren:function(a,b){var $self=this;if(b.count()>0){var e=b.where$1($.ig.OlapMetadataTreeItem.prototype.$type,function(c){return c.type()==$.ig.OlapMetadataTreeItemType.prototype.group}).orderBy$2($.ig.OlapMetadataTreeItem.prototype.$type,String,function(d){return d.caption()}).toArray$1($.ig.OlapMetadataTreeItem.prototype.$type);var g=b.where$1($.ig.OlapMetadataTreeItem.prototype.$type,function(f){return f.type()!=$.ig.OlapMetadataTreeItemType.prototype.group}).toArray$1($.ig.OlapMetadataTreeItem.prototype.$type);var h=new Array(e.length+g.length);for(var i=0;i<e.length;i++){h[i]=e[i]}for(var j=0;j<g.length;j++){h[e.length+j]=g[j]}a.children(h)}},l:function(a,b,c,d){var $self=this;var e=new $.ig.Dictionary$2(String,$.ig.Tuple$2.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type,$.ig.IList$1.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type)),0);var f=new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0);var g=a.item(d.c());while(g.dimensionUniqueName()!=c.uniqueName()){d.c(d.c()+1);g=a.item(d.c())}while(g.dimensionUniqueName()==c.uniqueName()){var h=null;if(!String.isNullOrEmpty(g.hierarchyDisplayFolder())){var i=String.empty();var j=$.ig.MetaTreeHelper.prototype.o(g.hierarchyDisplayFolder());for(var k=0;k<j.length;k++){var l=j[k];i+=l+"\\";var m;if(!function(){var $ret=e.tryGetValue(i,m);m=$ret.value;return $ret.ret}()){var n=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type($.ig.OlapMetadataTreeItemType.prototype.group);$ret.caption(l);return $ret}();m=new $.ig.Tuple$2($.ig.OlapMetadataTreeItem.prototype.$type,$.ig.IList$1.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type),n,new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0));e.add(i,m);if(h!=null){h.d().add(n)}else{f.add(n)}}h=m}}var o;switch(g.hierarchyOrigin()){case $.ig.HierarchyOrigin.prototype.systemEnabled:o=$.ig.OlapMetadataTreeItemType.prototype.systemEnabledHierarchy;break;case $.ig.HierarchyOrigin.prototype.userDefined:o=$.ig.OlapMetadataTreeItemType.prototype.userDefinedHierarchy;break;default:o=$.ig.OlapMetadataTreeItemType.prototype.parentChildHierarchy;break}var p=$.ig.MetaTreeHelper.prototype.m(b,g,d);var q=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type(o);$ret.caption(g.caption());$ret.item(g);return $ret}();$.ig.MetaTreeHelper.prototype.setMetaItemChildren(q,p);if(h!=null){h.d().add(q)}else{f.add(q)}if(d.c()+1>=a.count()){break}d.c(d.c()+1);g=a.item(d.c())}var s=e.values().getEnumerator();while(s.moveNext()){var r=s.current();var t=r.c();$.ig.MetaTreeHelper.prototype.setMetaItemChildren(t,r.d())}return f},m:function(a,b,c){var $self=this;var d=new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0);if(a==null||a.count()==0){return d}var e=a.item(c.d());while(e.hierarchyUniqueName()!=b.uniqueName()){c.d(c.d()+1);
e=a.item(c.d())}while(e.hierarchyUniqueName()==b.uniqueName()){var f;switch(e.depth()){case 0:case 1:f=$.ig.OlapMetadataTreeItemType.prototype.level1;break;case 2:f=$.ig.OlapMetadataTreeItemType.prototype.level2;break;case 3:f=$.ig.OlapMetadataTreeItemType.prototype.level3;break;case 4:f=$.ig.OlapMetadataTreeItemType.prototype.level4;break;default:f=$.ig.OlapMetadataTreeItemType.prototype.level5;break}var g=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type(f);$ret.caption(e.caption());$ret.item(e);return $ret}();d.add(g);if(c.d()+1>=a.count()){break}c.d(c.d()+1);e=a.item(c.d())}return d},n:function(a,b,c){var $self=this;var d=new $.ig.Dictionary$2(String,$.ig.Tuple$2.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type,$.ig.IList$1.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type)),0);var e=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type($.ig.OlapMetadataTreeItemType.prototype.measure);$ret.caption(b.caption());$ret.item(b);return $ret}();var f=new $.ig.Tuple$2($.ig.OlapMetadataTreeItem.prototype.$type,$.ig.IList$1.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type),e,new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0));var h=a.getEnumerator();while(h.moveNext()){var g=h.current();var i=f;if(!String.isNullOrEmpty(g.measureGroupName())){if(!function(){var $ret=d.tryGetValue(g.measureGroupName(),i);i=$ret.value;return $ret.ret}()){var j=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type($.ig.OlapMetadataTreeItemType.prototype.group);$ret.caption(g.measureGroupName());return $ret}();i=new $.ig.Tuple$2($.ig.OlapMetadataTreeItem.prototype.$type,$.ig.IList$1.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type),j,new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0));d.add(g.measureGroupName(),i);f.d().add(i.c())}}var k=i;if(!String.isNullOrEmpty(g.measureDisplayFolder())){var l=g.measureGroupName();var m=$.ig.MetaTreeHelper.prototype.o(g.measureDisplayFolder());for(var n=0;n<m.length;n++){var o=m[n];l+="\\"+o;var p;if(!function(){var $ret=d.tryGetValue(l,p);p=$ret.value;return $ret.ret}()){var q=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type($.ig.OlapMetadataTreeItemType.prototype.group);$ret.caption(o);return $ret}();p=new $.ig.Tuple$2($.ig.OlapMetadataTreeItem.prototype.$type,$.ig.IList$1.prototype.$type.specialize($.ig.OlapMetadataTreeItem.prototype.$type),q,new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0));d.add(l,p);k.d().add(q)}k=p}}var r=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type($.ig.OlapMetadataTreeItemType.prototype.measure);$ret.caption(g.caption());$ret.item(g);return $ret}();k.d().add(r)}var s=new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0);var w=f.d().where$1($.ig.OlapMetadataTreeItem.prototype.$type,function(t){return t.type()==$.ig.OlapMetadataTreeItemType.prototype.group}).orderBy$2($.ig.OlapMetadataTreeItem.prototype.$type,String,function(u){return u.caption()}).getEnumerator();while(w.moveNext()){var v=w.current();s.add(v)}var aa=f.d().where$1($.ig.OlapMetadataTreeItem.prototype.$type,function(x){return x.type()!=$.ig.OlapMetadataTreeItemType.prototype.group}).orderBy$2($.ig.OlapMetadataTreeItem.prototype.$type,String,function(y){return y.caption()}).getEnumerator();while(aa.moveNext()){var z=aa.current();s.add(z)}$.ig.MetaTreeHelper.prototype.setMetaItemChildren(e,s);var ac=d.values().getEnumerator();while(ac.moveNext()){var ab=ac.current();var ad=ab.d();var ag=ad.where$1($.ig.OlapMetadataTreeItem.prototype.$type,function(ae){return ae.type()==$.ig.OlapMetadataTreeItemType.prototype.group}).orderBy$2($.ig.OlapMetadataTreeItem.prototype.$type,String,function(af){return af.caption()}).toList$1($.ig.OlapMetadataTreeItem.prototype.$type);var aj=ad.where$1($.ig.OlapMetadataTreeItem.prototype.$type,function(ah){return ah.type()!=$.ig.OlapMetadataTreeItemType.prototype.group}).orderBy$2($.ig.OlapMetadataTreeItem.prototype.$type,String,function(ai){return ai.caption()}).toList$1($.ig.OlapMetadataTreeItem.prototype.$type);var ak=new $.ig.List$1($.ig.OlapMetadataTreeItem.prototype.$type,0);for(var al=0;al<ag.count();al++){ak.add(ag.item(al))}for(var am=0;am<aj.count();am++){ak.add(aj.item(am))}var an=ab.c();$.ig.MetaTreeHelper.prototype.setMetaItemChildren(an,ak)}return e},o:function(a){var b=a.split("\\");return b},$type:new $.ig.Type("MetaTreeHelper",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HierarchyItemPosition","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("HierarchyItemPosition",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureGroupMetaItemsCache","Object",{a:null,b:null,c:null,d:null,e:null,init:function(a,b,c){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary$2(String,$.ig.IEnumerable$1.prototype.$type.specialize($.ig.Dimension.prototype.$type),0);this.b=new $.ig.Dictionary$2(String,$.ig.IEnumerable$1.prototype.$type.specialize($.ig.Measure.prototype.$type),0);this.c=c;this.d=a;this.e=b},getMeasureGroupDimensions:function(a){var $self=this;var b;if(!function(){var $ret=$self.a.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){var c=new $.ig.List$1(String,0);var e=this.c.getEnumerator();while(e.moveNext()){var d=e.current();if(d.measureGroupName()==a){c.add(d.dimensionUniqueName())}}var f=new $.ig.List$1($.ig.Dimension.prototype.$type,0);var h=this.d.getEnumerator();while(h.moveNext()){var g=h.current();if(c.contains(g.uniqueName())||g.dimensionType()==$.ig.DimensionType.prototype.measure){f.add(g)}}this.a.add(a,f);b=f}return b},getMeasureGroupMeasures:function(a){var $self=this;var b;if(!function(){var $ret=$self.b.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){var c=new $.ig.List$1($.ig.Measure.prototype.$type,0);var e=this.e.getEnumerator();while(e.moveNext()){var d=e.current();if(d.measureGroupName()==a){c.add(d)}}this.b.add(a,c);b=c}return b},$type:new $.ig.Type("MeasureGroupMetaItemsCache",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DataSourceBaseOptions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_measures:null,measures:function(a){if(arguments.length===1){this._measures=a;return a}else{return this._measures}},_filters:null,filters:function(a){if(arguments.length===1){this._filters=a;return a}else{return this._filters}},_columns:null,columns:function(a){if(arguments.length===1){this._columns=a;return a}else{return this._columns}},_rows:null,rows:function(a){if(arguments.length===1){this._rows=a;return a}else{return this._rows}},$type:new $.ig.Type("DataSourceBaseOptions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CubeMetaItemsCache","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.Dictionary$2(String,$.ig.Tuple$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.Member.prototype.$type),0);this.b=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Member.prototype.$type,0);this.c=new $.ig.Dictionary$2(String,$.ig.IList$1.prototype.$type.specialize($.ig.Member.prototype.$type),0);this.d=new $.ig.Dictionary$2(String,$.ig.IList$1.prototype.$type.specialize($.ig.Member.prototype.$type),0);this.e=new $.ig.Dictionary$2(String,$.ig.Measure.prototype.$type,0);this.f=new $.ig.Dictionary$2(String,$.ig.Boolean.prototype.$type,0);this.g=new $.ig.Dictionary$2(String,$.ig.Boolean.prototype.$type,0)},a:null,b:null,c:null,d:null,e:null,f:null,g:null,_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},af:function(a){var $self=this;var b;if(!function(){var $ret=$self.f.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){return false}return b},ag:function(a){this.f.item(a,true)},ah:function(a){var $self=this;var b;if(!function(){var $ret=$self.g.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){return false}return b},ai:function(a){var $self=this;this.g.item(a,true);var d=this.q().where$1($.ig.Level.prototype.$type,function(b){return b.hierarchyUniqueName()==a}).getEnumerator();while(d.moveNext()){var c=d.current();this.ag(c.uniqueName())}},aj:function(a){return this.d.containsKey(a)},ak:function(a){var $self=this;var b;if(!function(){var $ret=$self.a.tryGetValue(a.uniqueName(),b);b=$ret.value;return $ret.ret}()){var c=this.a.count();b=new $.ig.Tuple$2($.ig.Number.prototype.$type,$.ig.Member.prototype.$type,c,a);this.a.item(a.uniqueName(),b);this.b.item(c,a);var d;if(!function(){var $ret=$self.c.tryGetValue(a.levelUniqueName(),d);d=$ret.value;return $ret.ret}()){d=new $.ig.ArrayListCollection$1($.ig.Member.prototype.$type);this.c.item(a.levelUniqueName(),d)}if(!String.isNullOrEmpty(a.parentUniqueName())){var e;if(!function(){var $ret=$self.d.tryGetValue(a.parentUniqueName(),e);e=$ret.value;return $ret.ret}()){e=new $.ig.List$1($.ig.Member.prototype.$type,0);this.d.item(a.parentUniqueName(),e)}e.add(a)}d.add(a)}return b.c()},al:function(a,b){var $self=this;var c;if(function(){var $ret=$self.a.tryGetValue(a,c);c=$ret.value;return $ret.ret}()){b=c.c();return{ret:true,memberOrdinal:b}}b=-1;return{ret:false,memberOrdinal:b};return{memberOrdinal:b}},am:function(a,b){var $self=this;var c;if(function(){var $ret=$self.a.tryGetValue(a,c);c=$ret.value;return $ret.ret}()){b=c.d();return{ret:true,member:b}}b=null;return{ret:false,member:b};return{member:b}},an:function(a,b){var $self=this;return{ret:function(){var $ret=$self.b.tryGetValue(a,b);b=$ret.value;return $ret.ret}(),member:b};return{member:b}},ao:function(a,b){var $self=this;return{ret:function(){var $ret=$self.d.tryGetValue(a,b);b=$ret.value;return $ret.ret}(),members:b};return{members:b}},ap:function(a,b){var $self=this;return{ret:function(){var $ret=$self.c.tryGetValue(a,b);b=$ret.value;return $ret.ret}(),members:b};return{members:b}},aq:function(a,b){var $self=this;if(!function(){var $ret=$self.e.tryGetValue(a,b);b=$ret.value;return $ret.ret}()){b=this.n().where$1($.ig.Measure.prototype.$type,function(c){return c.uniqueName()==a}).firstOrDefault$1($.ig.Measure.prototype.$type);if(b==null){return{ret:false,measure:b}}this.e.add(a,b)}return{ret:true,measure:b};return{measure:b}},$type:new $.ig.Type("CubeMetaItemsCache",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisDefinitionParser","Object",{init:function(a){$.ig.Object.prototype.init.call(this);this.l(-1);this.m(a)},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},v:function(){if(this.l()==this.m().length-1){return false}var a=-1;var b=-1;var c=false;while(this.l()+1<this.m().length){this.l(this.l()+1);var d=this.m().substr(this.l(),1);switch(d){case $.ig.AxisDefinitionParser.prototype.a:if(a==-1){a=this.l()}break;case $.ig.AxisDefinitionParser.prototype.b:b=this.l();while(this.l()+1<this.m().length){d=this.m().substr(this.l()+1,1);switch(d){case $.ig.AxisDefinitionParser.prototype.b:b=this.l()+1;break;case $.ig.AxisDefinitionParser.prototype.e:if($.ig.AxisDefinitionParser.prototype.b==this.m().substr(this.l(),1)){c=true}break;case $.ig.AxisDefinitionParser.prototype.c:case $.ig.AxisDefinitionParser.prototype.d:c=true;break}if(c){break}this.l(this.l()+1)}c=true;break;case $.ig.AxisDefinitionParser.prototype.e:c=true;break;case $.ig.AxisDefinitionParser.prototype.c:this.j(true);break;case $.ig.AxisDefinitionParser.prototype.d:$.ig.Debug.prototype.c(this.j());c=true;this.j(false);break}if(c){c=false;if(a>-1&&b>-1){break}}}if(this.l()==this.m().length-1){if(b==-1||a==-1){return false}}var e=this.m().substr(a,b-a+1).trim();this.k(e);return true},w:function(){var a=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);var b=null;while(this.v()){if(!this.j()){b=new $.ig.ArrayListCollection$1(String);var c=new $.ig.AxisElement(this.k(),b);a.add(c)}else if(b!=null){b.add(this.k())}}return a},$type:new $.ig.Type("AxisDefinitionParser",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisElement","Object",{init:function(a,b){$.ig.Object.prototype.init.call(this);this.name(a);this.memberNames(b)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_memberNames:null,memberNames:function(a){if(arguments.length===1){this._memberNames=a;return a}else{return this._memberNames}},$type:new $.ig.Type("AxisElement",$.ig.Object.prototype.$type)},true);$.ig.util.defType("KeyValueItem","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("KeyValueItem",$.ig.Object.prototype.$type)},true);$.ig.util.defType("PositionItemInfo$2","Dictionary$2",{$tKey:null,$tSortKey:null,init:function($tKey,$tSortKey,a,b,c,d){this.i=new $.ig.Dictionary$2(this.$tKey,$.ig.Object.prototype.$type,0);this.$tKey=$tKey;this.$tSortKey=$tSortKey;this.$type=this.$type.specialize(this.$tKey,this.$tSortKey);$.ig.Dictionary$2.prototype.init.call(this,this.$tKey,$.ig.PositionItemInfo$2.prototype.$type.specialize(this.$tKey,this.$tSortKey));this.positionItem(a);this.positionIndex(b);this.positionItemIndex(c);this.positionItemDepth(0);this.positionItemDepthMin(-1);this.positionItemDepthMax($.ig.Number.prototype.MAX_VALUE);this.positionSize(d);if(a!=null){this.positionItemDepth(this.positionItem().depth());this.key(this.positionItem().key());this.parentKey(this.positionItem().parentKey());this.hierarchyKey(this.positionItem().hierarchyKey());this.hierarchyLevelKey(this.positionItem().hierarchyLevelKey());this.sortKey(this.positionItem().sortKey());this.caption(this.positionItem().caption())}},y:function(a,b,c,d){return new $.ig.PositionItemInfo$2(this.$tKey,this.$tSortKey,a,b,c,d)},_positionItemDepthMin:null,positionItemDepthMin:function(a){if(arguments.length===1){this._positionItemDepthMin=a;return a}else{return this._positionItemDepthMin}},_positionItemDepthMax:null,positionItemDepthMax:function(a){if(arguments.length===1){this._positionItemDepthMax=a;return a}else{return this._positionItemDepthMax}},_positionItem:null,positionItem:function(a){if(arguments.length===1){this._positionItem=a;return a}else{return this._positionItem}},_positionIndex:null,positionIndex:function(a){if(arguments.length===1){this._positionIndex=a;return a}else{return this._positionIndex}},_positionItemDepth:null,positionItemDepth:function(a){if(arguments.length===1){this._positionItemDepth=a;return a}else{return this._positionItemDepth}},_positionItemIndex:null,positionItemIndex:function(a){if(arguments.length===1){this._positionItemIndex=a;return a}else{return this._positionItemIndex}},_positionSize:null,positionSize:function(a){if(arguments.length===1){this._positionSize=a;return a}else{return this._positionSize}},_key:null,key:function(a){if(arguments.length===1){this._key=a;return a}else{return this._key}},_parentKey:null,parentKey:function(a){if(arguments.length===1){this._parentKey=a;return a}else{return this._parentKey}},_hierarchyKey:null,hierarchyKey:function(a){if(arguments.length===1){this._hierarchyKey=a;return a}else{return this._hierarchyKey}},_hierarchyLevelKey:null,hierarchyLevelKey:function(a){if(arguments.length===1){this._hierarchyLevelKey=a;return a}else{return this._hierarchyLevelKey}},_caption:null,caption:function(a){if(arguments.length===1){this._caption=a;return a}else{return this._caption}},_sortKey:null,sortKey:function(a){if(arguments.length===1){this._sortKey=a;return a}else{return this._sortKey}},_isExpandable:null,isExpandable:function(a){if(arguments.length===1){this._isExpandable=a;return a}else{return this._isExpandable}},_isExpanded:null,isExpanded:function(a){if(arguments.length===1){this._isExpanded=a;return a}else{return this._isExpanded}},am:function(a,b,c){var d=false;if(this.positionItemIndex()==-1){d=true}else{if(c!=null){if(a.item(this.positionItemIndex()).key()!=null){var e=c.item(this.positionItemIndex());d=a.item(this.positionItemIndex()).key().equals(e.key())}}}if(this.positionItemIndex()+1==this.positionSize()){return d}var f=this.ao(a,b,this.positionItemIndex()+1,c);return d&&f},an:function(a,b){},i:null,ao:function(a,b,c,d){var $self=this;var e;var f=a.item(c);if(!this.containsKey(f.key())){var g=this.y(f,b,c,this.positionSize());g.isExpandable(f.isExpandable());if(this.i.containsKey(g.key())){this.i.remove(g.key());g.isExpanded(true)}if(f.parentKey()!=null){var h=null;if(function(){var $ret=$self.tryGetValue(f.parentKey(),h);h=$ret.value;return $ret.ret}()){h.isExpanded(true)}else{if(!this.i.containsKey(f.parentKey())){this.i.add(f.parentKey(),null)}}}e=g.am(a,b,d);this.add(f.key(),g);if(this.positionItemDepthMin()==-1){this.positionItemDepthMin(f.depth())}else{this.positionItemDepthMin(Math.min(this.positionItemDepthMin(),f.depth()))}if(this.positionItemDepthMax()==$.ig.Number.prototype.MAX_VALUE){this.positionItemDepthMax(f.depth())}else{this.positionItemDepthMax(Math.max(this.positionItemDepthMax(),f.depth()))}this.an(a,g)}else{var i=this.item(f.key());e=i.am(a,b,d)}return e},getIndex:function(a){var b=new Array(a.count());for(var c=0;c<b.length;c++){b[c]=a.item(c).key()}return this.getIndex1(b)},getIndex1:function(a){return this.ap(a,a.length)},ap:function(a,b){var $self=this;if(this.positionItemIndex()==b-1){return this.positionIndex()}var c;if(!function(){var $ret=$self.tryGetValue(a[$self.positionItemIndex()+1],c);c=$ret.value;return $ret.ret}()){return-1}if(c.count()==0){return c.positionIndex()}return c.ap(a,b)},$type:new $.ig.Type("PositionItemInfo$2",$.ig.Dictionary$2.prototype.$type.specialize(0,$.ig.PositionItemInfo$2.prototype.$type.specialize(0,1)))},true);$.ig.util.defType("PositionResolver$2","Object",{$tKey:null,$tSortKey:null,a:null,b:null,c:null,d:null,init:function($tKey,$tSortKey,a,b){this.a=0;this.$tKey=$tKey;this.$tSortKey=$tSortKey;this.$type=this.$type.specialize(this.$tKey,this.$tSortKey);$.ig.Object.prototype.init.call(this);this.positions(a.toList$1($.ig.IPosition$2.prototype.$type));this.positionSize(b)},getPositionIndexCompleted:null,_positions:null,positions:function(a){if(arguments.length===1){this._positions=a;return a}else{return this._positions}},_positionSize:null,positionSize:function(a){if(arguments.length===1){this._positionSize=a;return a}else{return this._positionSize}},rootPositionInfo:function(){if(this.b==null){this.b=this.m(this.positionSize())}return this.b},m:function(a){return new $.ig.PositionItemInfo$2(this.$tKey,this.$tSortKey,null,-1,-1,a)},hasUnregisterdPositions:function(){return this.a<this.positions().count()},completeRegisterPositions:function(){if(this.hasUnregisterdPositions()){this.r(null)}},resolveParentPositionItem:function(a,b){b=-1;var c=$.ig.util.cast($.ig.IHierarchicalPositionItem$2.prototype.$type.specialize(this.$tKey,this.$tSortKey),a);if(c==null||c.parentKey()==null){return{ret:null,parentPositionIndex:b}}var d=c.position().indexOf(c);var e=new Array(c.position().itemsCount());for(var f=0;f<c.position().itemsCount();f++){e[f]=c.position().item(f).key()}e[d]=c.parentKey();b=this.rootPositionInfo().getIndex1(e);if(b==-1){return{ret:null,parentPositionIndex:b}}var g=this.positions().__inner[b];var h=g.item(d);return{ret:h,parentPositionIndex:b};return{parentPositionIndex:b}},getHostPositionItemInfo:function(a,b){var $self=this;var c=this.rootPositionInfo();var d=a.item(b);for(var e=0;e<b;e++){var f;if(function(){var $ret=c.tryGetValue(a.item(e).key(),f);f=$ret.value;return $ret.ret}()){c=f}else{c=null;break}}if(c==null){return null}if(!c.containsKey(d.key())){return null}return c},n:function(a,b){var $self=this;if(this.rootPositionInfo().count()==0){return null}var c=this.rootPositionInfo();var d=a.position().indexOf(a);for(var e=0;e<d;e++){var f;if(function(){var $ret=c.tryGetValue(a.position().item(e).key(),f);f=$ret.value;return $ret.ret}()){c=f}else{c=null;break}}if(c==null){return null}if(!c.containsKey(a.key())){return null}var g=new $.ig.List$1($.ig.Number.prototype.$type,0);this.o(a.key(),c,g);if(b==$.ig.ListSortDirection.prototype.descending){g.t(function(h,i){if(h==i){return 0}if(h>i){return-1}return 1});return g}g.t(function(j,k){if(j==k){return 0}if(j>k){return 1}return-1});return g},o:function(a,b,c){var $self=this;var f=b.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(d){return a.equals(d.parentKey())}).getEnumerator();while(f.moveNext()){var e=f.current();if(e.count()==0){c.add(e.positionIndex())}else{this.p(e,c)}if(!e.isExpanded()){continue}if(e.positionItemDepth()<b.positionItemDepthMax()){this.o(e.key(),b,c)}}},p:function(a,b){var $self=this;var e=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(c){return c.parentKey()==null}).getEnumerator();while(e.moveNext()){var d=e.current();if(d.count()==0){b.add(d.positionIndex())}else{this.p(d,b)}if(!d.isExpanded()){continue}if(d.positionItemDepth()<a.positionItemDepthMax()){this.o(d.key(),a,b)}}},getChildren:function(a,b){var $self=this;if(this.hasUnregisterdPositions()){this.completeRegisterPositions()}var c=this.getHostPositionItemInfo(a,b);var d=a.item(b);return c.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(e){return d.key().equals(e.parentKey())})},isMemberExpanded:function(a){var $self=this;if(this.hasUnregisterdPositions()){this.completeRegisterPositions()}var b=this.getPositionIndex(a.position());if(b==-1||this.rootPositionInfo().count()==0){return null}var c=a.position().indexOf(a);var d=this.rootPositionInfo();for(var e=0;e<c;e++){var f;if(function(){var $ret=d.tryGetValue(a.position().item(e).key(),f);f=$ret.value;return $ret.ret}()){d=f}else{d=null;break}}if(d==null){return null}if(!d.containsKey(a.key())){return null}var g=null;var h=d.values().getEnumerator();while(h.moveNext()){if(a.key().equals(h.current().parentKey())){g=h.current();break}}return g!=null},getPositionIndex:function(a){if(a==null){return-1}if(a.itemsCount()!=this.positionSize()){return-1}if(a.isEmpty()&&this.positions().count()==1&&this.positions().__inner[0].isEmpty()){return 0}if(this.a>0){var b=this.q(a);if(b>-1){return b}if(this.a==this.positions().count()){return-1}}return this.r(a)},q:function(a){if(a.isEmpty()&&this.positions().count()==1&&this.positions().__inner[0].isEmpty()){return 0}return this.rootPositionInfo().getIndex(a.getItems().toList$1($.ig.IPositionItem$2.prototype.$type))},r:function(a){var b=a==null;var c=-1;for(var d=this.a;d<this.positions().count();d++){var e=this.positions().__inner[d];var f=this.rootPositionInfo().am(e,d,a);this.a++;if(c==-1&&f){c=d;if(!b){break}}}return c},$type:new $.ig.Type("PositionResolver$2",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LevelSortDirection","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.sortBehavior($.ig.LevelSortBehavior.prototype.system)},_levelUniqueName:null,levelUniqueName:function(a){if(arguments.length===1){this._levelUniqueName=a;return a}else{return this._levelUniqueName}},_sortDirection:null,sortDirection:function(a){if(arguments.length===1){this._sortDirection=a;return a}else{return this._sortDirection}},_sortBehavior:null,sortBehavior:function(a){if(arguments.length===1){this._sortBehavior=a;return a}else{return this._sortBehavior}},$type:new $.ig.Type("LevelSortDirection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("TaskExtensions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},continueWithTask$1:function($tResult,b){var $self=this;var c=new $.ig.TaskCompletionSource$1($tResult,0);this.t(function(d){var $self=$self;if(d.h()==null){try{b(d).t(function(e){if(e.h()==null){c.i(e.aa());return}c.h(e.h())})}catch(e_){var f;f=e_;c.h(f)}}else{c.h(d.h())}});return c.d()},continueWithTask$21:function($tResult1,$tResult2,b){var $self=this;return this.continueWithTask$1($tResult2,function(c){return b(c)})},$type:new $.ig.Type("TaskExtensions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HierarchyFilterView","Object",{a:null,b:null,c:null,init:function(a){this.c=new $.ig.Dictionary$2(String,$.ig.FilterMember.prototype.$type,0);$.ig.Object.prototype.init.call(this);this.hierarchy(a);this.b=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.IList$1.prototype.$type.specialize($.ig.FilterMember.prototype.$type),0);this.a=new $.ig.Dictionary$2(String,$.ig.FilterMember.prototype.$type,0)},filterMemberExpansionChanged:null,filterMemberSelectionChanged:null,_hierarchy:null,hierarchy:function(a){if(arguments.length===1){this._hierarchy=a;return a}else{return this._hierarchy}},addFiltersForMembers:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this.addFilterForMember(b)}},addFilterForMember:function(a){var $self=this;if(!this.a.containsKey(a.uniqueName())){var b=new $.ig.FilterMember(a);b.propertyChanged=$.ig.Delegate.prototype.combine(b.propertyChanged,this.i.runOn(this));b.selectionChanged=$.ig.Delegate.prototype.combine(b.selectionChanged,this.h.runOn(this));var c;if(!function(){var $ret=$self.b.tryGetValue(a.levelDepth(),c);c=$ret.value;return $ret.ret}()){c=new $.ig.List$1($.ig.FilterMember.prototype.$type,0);this.b.add(a.levelDepth(),c)}this.a.add(a.uniqueName(),b);this.c.add(a.uniqueName(),b);c.add(b);this.l(b);this.k(b)}},tryGetFilterMember:function(a,b){var $self=this;return{ret:function(){var $ret=$self.a.tryGetValue(a,b);b=$ret.value;return $ret.ret}(),filterMember:b};return{filterMember:b}},getRootFilterMembers:function(){var a=-1;var c=this.b.keys().getEnumerator();while(c.moveNext()){var b=c.current();if(a==-1){a=b}else{a=Math.min(b,a)}}if(a==-1){return null}return this.b.item(a)},getSelectedFilterItems:function(){var a=this.getRootFilterMembers();var b=new $.ig.List$1($.ig.FilterMember.prototype.$type,0);var c=0;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if(d.isSelected().hasValue()==true&&d.isSelected().value()==true){c++}}if(c==a.count()){return b}var g=a.getEnumerator();while(g.moveNext()){var f=g.current();if(f.isSelected().hasValue()==false){this.j(f,b)}else if(f.isSelected().hasValue()==true&&f.isSelected().value()==true){b.add(f)}}return b},h:function(a,b){if(this.filterMemberSelectionChanged!=null){this.filterMemberSelectionChanged(this,new $.ig.FilterMemberStateChangedEventArgs(a))}},i:function(a,b){if(b.propertyName()=="IsExpanded"){if(this.filterMemberExpansionChanged!=null){this.filterMemberExpansionChanged(this,new $.ig.FilterMemberStateChangedEventArgs(a))}}},j:function(a,b){if(a.isSelected().hasValue()==true&&a.isSelected().value()==true){b.add(a)}else{if(a.children()==null){return}var d=a.children().getEnumerator();while(d.moveNext()){var c=d.current();this.j(c,b)}}},k:function(a){var $self=this;var b=a.member().parentUniqueName();if(String.isNullOrEmpty(b)){return}var c;if(function(){var $ret=$self.a.tryGetValue(b,c);c=$ret.value;return $ret.ret}()){c.s(a);if(c.isSelected().hasValue()==true&&c.isSelected().value()==false){a.isSelected($.ig.util.toNullable($.ig.Boolean.prototype.$type,false))}}},l:function(a){var $self=this;var b=a.member().levelDepth();var c;if(function(){var $ret=$self.b.tryGetValue(b+1,c);c=$ret.value;return $ret.ret}()){var e=c.getEnumerator();while(e.moveNext()){var d=e.current();if(d.member().parentUniqueName()==a.member().uniqueName()){a.s(d)}}}},$type:new $.ig.Type("HierarchyFilterView",$.ig.Object.prototype.$type)},true);$.ig.util.defType("FilterMember","Object",{a:null,b:null,c:null,d:null,init:function(a){this.c=false;this.d=false;$.ig.Object.prototype.init.call(this);this.a=$.ig.util.toNullable($.ig.Boolean.prototype.$type,true);this.member(a);this.l(0);this.m(0)},selectionChanged:null,propertyChanged:null,_parent:null,parent:function(a){if(arguments.length===1){this._parent=a;return a}else{return this._parent}},_member:null,member:function(a){if(arguments.length===1){this._member=a;return a}else{return this._member}},isExpandable:function(){return this.member().childrenCardinality()>0},isExpanded:function(a){if(arguments.length===1){if(this.b!=a){this.b=a;this.x("IsExpanded")}return a}else{return this.b}},isSelected:function(a){if(arguments.length===1){var b=$.ig.util.toNullable($.ig.Boolean.prototype.$type,a);if($.ig.util.nullableEquals($.ig.util.nullableEquals(this.a,b),false)){var c=$.ig.util.toNullable($.ig.Boolean.prototype.$type,this.a);this.a=$.ig.util.toNullable($.ig.Boolean.prototype.$type,a);if(!this.d){if(this.a.hasValue()==true){if(this.children()!=null){var e=this.children().getEnumerator();while(e.moveNext()){var d=e.current();d.c=true;d.isSelected($.ig.util.toNullable($.ig.Boolean.prototype.$type,this.a));d.c=false}}}}if(this.parent()!=null){if(c.hasValue()==true&&c.value()==false){if(this.a.hasValue()==false){this.q(true)}this.p(false)}else if(c.hasValue()==false){if(this.a.hasValue()==true&&this.a.value()==false){this.p(true)}this.q(false)}else{if(this.a.hasValue()==true&&this.a.value()==false){this.p(true)}else if(this.a.hasValue()==false){this.q(true)}}if(!this.c){this.parent().d=true;var f=this.parent().l();var g=this.parent().m();var h=this.parent().children().count();if(g==0){if(f==0){this.parent().isSelected($.ig.util.toNullable($.ig.Boolean.prototype.$type,true))}else if(f==h){this.parent().isSelected($.ig.util.toNullable($.ig.Boolean.prototype.$type,false))}else{this.parent().isSelected($.ig.util.toNullable($.ig.Boolean.prototype.$type,null))}}else{this.parent().isSelected($.ig.util.toNullable($.ig.Boolean.prototype.$type,null))}this.parent().d=false}}this.x("IsSelected");if(!this.c&&!this.d){if(this.selectionChanged!=null){this.selectionChanged(this,$.ig.EventArgs.prototype.empty)}}}return a}else{return this.a}},p:function(a){if(a){this.parent().l(this.parent().l()+1)}else{this.parent().l(this.parent().l()-1)}},q:function(a){if(a){this.parent().m(this.parent().m()+1)}else{this.parent().m(this.parent().m()-1)}},_children:null,children:function(a){if(arguments.length===1){this._children=a;return a}else{return this._children}},s:function(a){if(this.children()==null){this.children(new $.ig.List$1($.ig.FilterMember.prototype.$type,0))}a.parent(this);this.children().add(a);this.x("Children")},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},x:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,new $.ig.PropertyChangedEventArgs(a))}},$type:new $.ig.Type("FilterMember",$.ig.Object.prototype.$type,[$.ig.INotifyPropertyChanged.prototype.$type])},true);$.ig.util.defType("FilterMemberStateChangedEventArgs","EventArgs",{init:function(a){$.ig.EventArgs.prototype.init.call(this);this.filterMember(a)},_filterMember:null,filterMember:function(a){if(arguments.length===1){this._filterMember=a;return a}else{return this._filterMember}},$type:new $.ig.Type("FilterMemberStateChangedEventArgs",$.ig.EventArgs.prototype.$type)},true);$.ig.util.defType("ResultSorter$1","Object",{$t:null,_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},init:function($t,a,b,c){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);
this.d(a);this.e(b);this.f(c)},m:function(){},n:function(a,b,c){a.i();var d=a.d();var e=new Array(d.count());for(var f=0;f<d.count();f++){var g=d.item(f);c.add(g,f)}for(var h=0;h<d.count();h++){var i=d.item(h);var j=b.tuples().__inner[i];e[h]=j}return new $.ig.List$1($.ig.OlapResultTuple.prototype.$type,1,e)},$type:new $.ig.Type("ResultSorter$1",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ResultHeaderSorter","ResultSorter$1",{o:null,_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},init:function(a,b,c,d){$.ig.ResultSorter$1.prototype.init.call(this,$.ig.AxisHeaderSortingVisitor.prototype.$type,a,b,c);this.o=new $.ig.Dictionary$2(String,$.ig.LevelSortDirection.prototype.$type,1,d.count());var f=d.getEnumerator();while(f.moveNext()){var e=f.current();this.o.item(e.levelUniqueName(),e)}},m:function(){var $self=this;this.r(new $.ig.List$1($.ig.LevelSortDirection.prototype.$type,0));this.s(new $.ig.Dictionary$2(String,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.ListSortDirection.prototype.$type)),0));if(this.d().isEmpty()){return this.d()}var a=new $.ig.List$1($.ig.OlapResultAxis.prototype.$type,0);var b=0;var c=1;var d=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Number.prototype.$type,0);var e=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Number.prototype.$type,0);if(this.f()){var f=this.d().axes().item(b);var g=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.ListSortDirection.prototype.$type),0);var h=new $.ig.AxisHeaderSortingVisitor(f,this.o,this.r(),g);var i=this.n(h,f,d);var j=function(){var $ret=new $.ig.OlapResultAxis(i,f.tupleSize());$ret.name(f.name());return $ret}();a.add(j);this.s().item(f.name(),g);c=f.tuples().count();b++}if(this.e()){var k=this.d().axes().item(b);var l=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.IDictionary$2.prototype.$type.specialize($.ig.Number.prototype.$type,$.ig.ListSortDirection.prototype.$type),0);var m=new $.ig.AxisHeaderSortingVisitor(k,this.o,this.r(),l);var n=this.n(m,k,e);var o=function(){var $ret=new $.ig.OlapResultAxis(n,k.tupleSize());$ret.name(k.name());return $ret}();a.add(o);this.s().item(k.name(),l)}var p=new $.ig.List$1($.ig.OlapResultCell.prototype.$type,2,this.d().cells().count());var r=this.d().cells().getEnumerator();while(r.moveNext()){var q=r.current();var s=q.clone();var t=s.cellOrdinal();if(this.f()){var u=t%c;var v=d.item(u);if(u!=v){var w=$.ig.intDivide(t,c);t=w*c+v}}if(this.e()){var x=$.ig.intDivide(t,c);var y=e.item(x);if(x!=y){var z=t%c;t=y*c+z}}s.cellOrdinal(t);p.add(s)}var aa=function(){var $ret=new $.ig.OlapResult;$ret.isEmpty($self.d().isEmpty());$ret.axes(a);$ret.cells(p);return $ret}();return aa},$type:new $.ig.Type("ResultHeaderSorter",$.ig.ResultSorter$1.prototype.$type.specialize($.ig.AxisHeaderSortingVisitor.prototype.$type))},true);$.ig.util.defType("AxisTupleVisitor","Object",{_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},init:function(a){$.ig.Object.prototype.init.call(this);this.c(a)},i:function(){var $self=this;if(this.c().positionResolver().hasUnregisterdPositions()){this.c().positionResolver().completeRegisterPositions()}this.d(new $.ig.List$1($.ig.Number.prototype.$type,2,this.c().tuples().count()));var a=this.c().positionResolver().rootPositionInfo();var c=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(b){return b.positionItemDepth()==a.positionItemDepthMin()});var e=this.k(a,c).getEnumerator();while(e.moveNext()){var d=e.current();this.l(a,d)}},j:function(a,b){},k:function(a,b){},l:function(a,b){var $self=this;var d=b.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(c){return c.positionItemDepth()==b.positionItemDepthMin()});if(d.count$1($.ig.PositionItemInfo$2.prototype.$type)>0){var f=d.getEnumerator();while(f.moveNext()){var e=f.current();this.l(b,e)}}else{this.d().add(b.positionIndex())}var g=this.j(a,b);var i=g.getEnumerator();while(i.moveNext()){var h=i.current();this.l(a,h)}},$type:new $.ig.Type("AxisTupleVisitor",$.ig.Object.prototype.$type)},true);$.ig.util.defType("AxisHeaderSortingVisitor","AxisTupleVisitor",{m:null,n:null,o:null,init:function(a,b,c,d){$.ig.AxisTupleVisitor.prototype.init.call(this,a);this.m=b;this.n=c;this.o=d},j:function(a,b){var $self=this;var d=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(c){return c.parentKey()==b.key()}).toList$1($.ig.PositionItemInfo$2.prototype.$type);if(d.count()>0){var e=d.item(0);var f;if(function(){var $ret=$self.m.tryGetValue(e.hierarchyLevelKey(),f);f=$ret.value;return $ret.ret}()){if(f.sortBehavior()==$.ig.LevelSortBehavior.prototype.system){d=f.sortDirection()==$.ig.ListSortDirection.prototype.ascending?d.orderBy$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(g){return g.sortKey()}).toList$1($.ig.PositionItemInfo$2.prototype.$type):d.orderByDescending$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(h){return h.sortKey()}).toList$1($.ig.PositionItemInfo$2.prototype.$type)}else{d=f.sortDirection()==$.ig.ListSortDirection.prototype.ascending?d.orderBy$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(i){return i.caption()}).toList$1($.ig.PositionItemInfo$2.prototype.$type):d.orderByDescending$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(j){return j.caption()}).toList$1($.ig.PositionItemInfo$2.prototype.$type)}if(!this.n.select$2($.ig.LevelSortDirection.prototype.$type,String,function(k){return k.levelUniqueName()}).contains$1(String,f.levelUniqueName())){this.n.add(f)}var l;if(!function(){var $ret=$self.o.tryGetValue(e.positionItemIndex(),l);l=$ret.value;return $ret.ret}()){l=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.ListSortDirection.prototype.$type,0);this.o.add(b.positionItemIndex(),l)}l.item(b.positionItemDepth(),f.sortDirection())}}return d},k:function(a,b){var $self=this;var c=b.toList$1($.ig.PositionItemInfo$2.prototype.$type);if(c.count()>0){var d=c.item(0);var e;if(d.hierarchyLevelKey()!=null&&function(){var $ret=$self.m.tryGetValue(d.hierarchyLevelKey(),e);e=$ret.value;return $ret.ret}()){if(e.sortBehavior()==$.ig.LevelSortBehavior.prototype.system){c=e.sortDirection()==$.ig.ListSortDirection.prototype.ascending?c.orderBy$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(f){return f.sortKey()}).toList$1($.ig.PositionItemInfo$2.prototype.$type):c.orderByDescending$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(g){return g.sortKey()}).toList$1($.ig.PositionItemInfo$2.prototype.$type)}else{c=e.sortDirection()==$.ig.ListSortDirection.prototype.ascending?c.orderBy$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(h){return h.caption()}).toList$1($.ig.PositionItemInfo$2.prototype.$type):c.orderByDescending$2($.ig.PositionItemInfo$2.prototype.$type,$.ig.Object.prototype.$type,function(i){return i.caption()}).toList$1($.ig.PositionItemInfo$2.prototype.$type)}this.n.add(e);var j;if(!function(){var $ret=$self.o.tryGetValue(d.positionItemIndex(),j);j=$ret.value;return $ret.ret}()){j=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.ListSortDirection.prototype.$type,0);this.o.add(a.positionItemIndex(),j)}j.item(a.positionItemDepth(),e.sortDirection())}}return c},$type:new $.ig.Type("AxisHeaderSortingVisitor",$.ig.AxisTupleVisitor.prototype.$type)},true);$.ig.util.defType("ResultColumnValueSorter","ResultSorter$1",{o:null,_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},init:function(a,b,c,d){$.ig.ResultSorter$1.prototype.init.call(this,$.ig.AxisValueSortingVisitor.prototype.$type,a,b,c);this.o=d},m:function(){var $self=this;this.q(new $.ig.List$1($.ig.TupleSortDirection.prototype.$type,0));if(!this.e()||this.d().isEmpty()){return this.d()}var a=new $.ig.List$1($.ig.OlapResultAxis.prototype.$type,0);var b=0;var c=null;var d=1;if(this.f()){c=this.d().axes().item(b);d=c.tuples().count();a.add(c.clone());b++}var e=this.d().axes().item(b);var f=this.d().axes().item(b).tuples().count();var g=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Object.prototype.$type,1,this.d().cells().count());var i=this.d().cells().getEnumerator();while(i.moveNext()){var h=i.current();g.item(h.cellOrdinal(),h.properties().item("Value"))}var j=new $.ig.List$1($.ig.KeyValuePair$2.prototype.$type.specialize($.ig.TupleSortDirection.prototype.$type,$.ig.Array.prototype.$type),2,this.o.count());var l=this.o.getEnumerator();while(l.moveNext()){var k=l.current();var m;if(c!=null&&k.memberNames()!=null){if(c.positionResolver().hasUnregisterdPositions()){c.positionResolver().completeRegisterPositions()}m=c.positionResolver().rootPositionInfo().getIndex1(k.memberNames());k.tupleIndex(m)}else{m=k.tupleIndex()}if(m>-1&&m<d){var n=new Array(f);for(var o=0;o<f;o++){var p=null;(function(){var $ret=g.tryGetValue(o*d+m,p);p=$ret.value;return $ret.ret})();n[o]=p}j.add(new $.ig.KeyValuePair$2($.ig.TupleSortDirection.prototype.$type,$.ig.Array.prototype.$type,k,n));this.q().add(k)}}var q=new $.ig.Dictionary$2($.ig.Number.prototype.$type,$.ig.Number.prototype.$type,0);var r=new $.ig.AxisValueSortingVisitor(e,j);var s=this.n(r,e,q);var t=function(){var $ret=new $.ig.OlapResultAxis(s,e.tupleSize());$ret.name(e.name());return $ret}();a.add(t);var u=new $.ig.List$1($.ig.OlapResultCell.prototype.$type,2,this.d().cells().count());var w=this.d().cells().getEnumerator();while(w.moveNext()){var v=w.current();var x=v.clone();var y=x.cellOrdinal();var z=$.ig.intDivide(y,d);var aa=q.item(z);if(z!=aa){var ab=y%d;y=aa*d+ab}x.cellOrdinal(y);u.add(x)}var ac=function(){var $ret=new $.ig.OlapResult;$ret.isEmpty($self.d().isEmpty());$ret.axes(a);$ret.cells(u);return $ret}();return ac},$type:new $.ig.Type("ResultColumnValueSorter",$.ig.ResultSorter$1.prototype.$type.specialize($.ig.AxisValueSortingVisitor.prototype.$type))},true);$.ig.util.defType("AxisValueSortingVisitor","AxisTupleVisitor",{m:null,init:function(a,b){$.ig.AxisTupleVisitor.prototype.init.call(this,a);this.m=b},j:function(a,b){var $self=this;var d=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(c){return c.parentKey()==b.key()});return this.k(a,d)},k:function(a,b){var positionItemInfos_=b.toArray$1($.ig.PositionItemInfo$2.prototype.$type);if(positionItemInfos_.length>0){var tupleSortDirections_=this.m.toArray$1($.ig.PositionItemInfo$2.prototype.$type);var sortFunction=function(tupleSortDirections){var compareCells=function(comparer,cell1,cell2){var result=comparer(cell1,cell2);if(result<0){return-1}if(result>0){return 1}return!isNaN(parseFloat(result))&&isFinite(result)?result:0};return function(o1,o2){var i,length,tupleSortDirection,cells,direction,cell1,cell2,arr1=[],arr2=[];for(i=0;i<tupleSortDirections.length;i++){tupleSortDirection=tupleSortDirections[i].key();cells=tupleSortDirections[i].value();if(tupleSortDirection.sortDirection()===$.ig.ListSortDirection.prototype.ascending){direction=1}else{direction=-1}comparer=tupleSortDirection.comparer();cell1=cells[o1.positionIndex()];cell2=cells[o2.positionIndex()];if(tupleSortDirections.length===1){arr1=direction*compareCells(comparer,cell1,cell2);arr2=direction*compareCells(comparer,cell2,cell1)}else{arr1.push(direction*compareCells(comparer,cell1,cell2));arr2.push(direction*compareCells(comparer,cell2,cell1))}}if(arr1<arr2){return-1}if(arr1>arr2){return 1}return 0}};positionItemInfos_.sort(sortFunction(tupleSortDirections_))}return positionItemInfos_},$type:new $.ig.Type("AxisValueSortingVisitor",$.ig.AxisTupleVisitor.prototype.$type)},true);$.ig.util.defType("TupleSortDirection","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_tupleIndex:null,tupleIndex:function(a){if(arguments.length===1){this._tupleIndex=a;return a}else{return this._tupleIndex}},_memberNames:null,memberNames:function(a){if(arguments.length===1){this._memberNames=a;return a}else{return this._memberNames}},_sortDirection:null,sortDirection:function(a){if(arguments.length===1){this._sortDirection=a;return a}else{return this._sortDirection}},_comparer:null,comparer:function(a){if(arguments.length===1){this._comparer=a;return a}else{return this._comparer}},$type:new $.ig.Type("TupleSortDirection",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DataSourceBase","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_dataSource:null,dataSource:function(a){if(arguments.length===1){this._dataSource=a;return a}else{return this._dataSource}},isInitialized:function(){if(this.dataSource()==null){return false}return this.dataSource().isInitialized()},_isModified:null,isModified:function(a){if(arguments.length===1){this._isModified=a;return a}else{return this._isModified}},_isUpdating:null,isUpdating:function(a){if(arguments.length===1){this._isUpdating=a;return a}else{return this._isUpdating}},initialize:function(){var promise_=this.dataSource().initialize().f();var $this=this;if(!this._isInitializedAttached){this._isInitializedAttached=true;promise_.always(function(result){var args={error:null,metadataTreeRoot:null};if(this.state()==="rejected"){args.error=result}else{args.metadataTreeRoot=result}$($this).trigger("initialized",args);$this._isInitializedAttached=false})}return promise_},cubes:function(){return this.dataSource().cubes().inner()},cube:function(){return this.dataSource().cube()},setCube:function(a){var $self=this;return this.dataSource().setCube(a).ae($.ig.OlapMetadataTreeItem.prototype.$type,function(b){return b.aa()}).f()},metadataTree:function(){return this.dataSource().metadataTree()},addRowItem:function(a){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,a)!==null){this.dataSource().rowAxis().add(a);this.isModified(true)}},insertRowItem:function(a,b){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,b)!==null){this.dataSource().rowAxis().insert(a,b);this.isModified(true)}},removeRowItem:function(a){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,a)!==null||$.ig.util.cast($.ig.MeasureList.prototype.$type,a)!==null){this.dataSource().rowAxis().remove(a);this.isModified(true)}},addColumnItem:function(a){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,a)!==null){this.dataSource().columnAxis().add(a);this.isModified(true)}},insertColumnItem:function(a,b){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,b)!==null){this.dataSource().columnAxis().insert(a,b);this.isModified(true)}},removeColumnItem:function(a){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,a)!==null||$.ig.util.cast($.ig.MeasureList.prototype.$type,a)!==null){this.dataSource().columnAxis().remove(a);this.isModified(true)}},addFilterItem:function(a){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,a)!==null){this.dataSource().filters().add(a);this.isModified(true)}},insertFilterItem:function(a,b){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,b)!==null){this.dataSource().filters().insert(a,b);this.isModified(true)}},removeFilterItem:function(a){if($.ig.util.cast($.ig.Hierarchy.prototype.$type,a)!==null){this.dataSource().filters().remove(a);this.isModified(true)}},addMeasureItem:function(a){if($.ig.util.cast($.ig.Measure.prototype.$type,a)!==null){this.dataSource().measures().add(a);this.isModified(true)}},insertMeasureItem:function(a,b){if($.ig.util.cast($.ig.Measure.prototype.$type,b)!==null){this.dataSource().measures().insert(a,b);this.isModified(true)}},removeMeasureItem:function(a){if($.ig.util.cast($.ig.Measure.prototype.$type,a)!==null){this.dataSource().measures().remove(a);this.isModified(true)}},setMeasureListIndex:function(a){this.dataSource().measureListIndex(a);this.isModified(true)},setMeasureListLocation:function(a){switch(a){case"rows":this.dataSource().measureListLocation($.ig.MeasureListLocation.prototype.rows);break;case"columns":this.dataSource().measureListLocation($.ig.MeasureListLocation.prototype.columns);break;default:break}this.isModified(true)},expandTupleMember:function(a,b,c){this.dataSource().expandTupleMember(a,b,c)},collapseTupleMember:function(a,b,c){this.dataSource().collapseTupleMember(a,b,c)},rowAxis:function(){return this.dataSource().rowAxis().inner()},columnAxis:function(){return this.dataSource().columnAxis().inner()},filters:function(){return this.dataSource().filters().inner()},measures:function(){return this.dataSource().measures().inner()},result:function(){return this.dataSource().result()},bindCollectionChanged:function(a){var options_=a;var ds_=this.dataSource();var attachCollectionChanged=function(collection,handler){collection.collectionChanged=$.ig.Delegate.prototype.combine(collection.collectionChanged,handler)};if($.isFunction(options_["filters"])){attachCollectionChanged(ds_._filters,options_["filters"])}if($.isFunction(options_["rowAxis"])){attachCollectionChanged(ds_._rowAxis,options_["rowAxis"])}if($.isFunction(options_["columnAxis"])){attachCollectionChanged(ds_._columnAxis,options_["columnAxis"])}if($.isFunction(options_["measures"])){attachCollectionChanged(ds_._measures,options_["measures"])}},unbindCollectionChanged:function(a){var options_=a;var ds_=this.dataSource();unbindCollectionChanged=function(collection,handler){collection.collectionChanged=$.ig.Delegate.prototype.remove(collection.collectionChanged,handler)};if($.isFunction(options_["filters"])){unbindCollectionChanged(ds_._filters,options_["filters"])}if($.isFunction(options_["rowAxis"])){unbindCollectionChanged(ds_._rowAxis,options_["rowAxis"])}if($.isFunction(options_["columnAxis"])){unbindCollectionChanged(ds_._columnAxis,options_["columnAxis"])}if($.isFunction(options_["measures"])){unbindCollectionChanged(ds_._measures,options_["measures"])}},clearPendingChanges:function(){this.dataSource().clearPendingChanges()},update:function(){var promise_=this.dataSource().update().f();var $this=this;if(!this.isUpdating()){this.isUpdating(true);promise_.always(function(result){var args={error:null,result:null};if(this.state()==="rejected"){args.error=result}else{args.result=result}$this.isUpdating(false);$this.isModified(false);$($this).trigger("updated",args)})}return promise_},getCoreElement:function(a,b){return this.dataSource().getCoreElement(a,b)},getCoreElements:function(a,b){return this.dataSource().getCoreElements(a,b).inner()},getMembersOfHierarchy:function(a){return this.dataSource().getMembersOfHierarchy(a).f()},getMembersOfLevel:function(a){return this.dataSource().getMembersOfLevel(a).f()},tryGetMember:function(a){var $self=this;var b;if(function(){var $ret=$self.dataSource().tryGetMember(a,b);b=$ret.member;return $ret.ret}()){return b}return null},tryGetMembersForLevel:function(a){var $self=this;var b=new $.ig.ArrayListCollection$1($.ig.Member.prototype.$type);var c=function(){var $ret=$self.dataSource().tryGetMembersForLevel(a,b);b=$ret.members;return $ret.ret}();return c?b.inner():new $.ig.ArrayListCollection$1($.ig.Member.prototype.$type).inner()},getMembersOfMember:function(a){return this.dataSource().getMembersOfMember(a).f()},addFilterMember:function(a,b){this.dataSource().addFilterMember(a,b);this.isModified(true)},removeAllFilterMembers:function(a){this.dataSource().removeAllFilterMembers(a);this.isModified(true)},getFilterMemberNames:function(a){return this.dataSource().getFilterMemberNames(a).inner()},getDimension:function(a){var $self=this;return this.dataSource().getCoreElement(function(b){return b.uniqueName()==a},$.ig.Dimension.prototype.$type)},getHierarchy:function(a){var $self=this;return this.dataSource().getCoreElement(function(b){return b.uniqueName()==a},$.ig.Hierarchy.prototype.$type)},getLevel:function(a){var $self=this;return this.dataSource().getCoreElement(function(b){return b.uniqueName()==a},$.ig.Level.prototype.$type)},getMeasure:function(a){var $self=this;return this.dataSource().getCoreElement(function(b){return b.uniqueName()==a},$.ig.Measure.prototype.$type)},getMeasureList:function(){return this.dataSource().getCoreElement(null,$.ig.MeasureList.prototype.$type)},$type:new $.ig.Type("DataSourceBase",$.ig.Object.prototype.$type)},true);$.ig.util.defType("jQueryUtils","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:function($t,a){if(a==null){return null}var jsObject_=a;var dict_=new $.ig.Dictionary$2(String,$t,0);(function(obj,dict){var tempDict=$.ig.Dictionary.prototype.getDictionary(obj);var keys=tempDict.keys();while(keys.moveNext()){var key=keys.current();var value=tempDict.item(key);dict.add(key,value)}})(jsObject_,dict_);return dict_},d:function($t,a){if(a==null){return null}var dict_=a;return dict_.__inner.proxy},convertToObjectDictionary:function(a){return $.ig.jQueryUtils.prototype.b($.ig.Object.prototype.$type,a)},convertToStringDictionary:function(a){return $.ig.jQueryUtils.prototype.b(String,a)},convertFromObjectDictionary:function(a){return $.ig.jQueryUtils.prototype.d($.ig.Object.prototype.$type,a)},convertFromStringDictionary:function(a){return $.ig.jQueryUtils.prototype.d(String,a)},createJavascriptObject:function(){return{}},getJavascriptObjectProperty:function(a,b){var jsObject_=a;var property_=b;return jsObject_[property_]},setJavascriptObjectProperty:function(a,b,c){var jsObject_=a;var property_=b;var value_=c;jsObject_[property_]=value_},getJavascriptObjectMethodResult:function(a,b,c){var jsObject_=a;var method_=b;var args_=c;return jsObject_[method_].call(jsObject_,args_)},$type:new $.ig.Type("jQueryUtils",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapUtilities","Object",{init:function(){$.ig.Object.prototype.init.call(this)},dateMemberProvider:function(a,b,c,d){if(String.isNullOrEmpty(a)||String.isNullOrEmpty(b)){return null}var propName_=b;var datePartFormat_=d;var format_=c;var yearProvider_;var semesterProvider_;var quarterProvider_;var monthProvider_;a=a.toLowerCase();switch(a){case"year":if(datePartFormat_==null){datePartFormat_="yyyy"}if(format_==null){return function(item){return $.ig.formatter(new Date(item[propName_]),"date",datePartFormat_)}}return function(item){return format_.replace("{0}",$.ig.formatter(new Date(item[propName_]),"date",datePartFormat_))};case"semester":if(format_==null){format_="H{0}"}yearProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("year",b,null,null);return function(item){var year=yearProvider_(item);return format_.replace("{0}",Math.floor(new Date(item[propName_]).getMonth()/6)+1).replace("{1}",year)};case"quarter":if(format_==null){format_="Q{0}"}yearProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("year",b,null,null);semesterProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("semester",b,null,null);return function(item){var year=yearProvider_(item);var semester=semesterProvider_(item);return format_.replace("{0}",Math.floor(new Date(item[propName_]).getMonth()/3)+1).replace("{1}",semester).replace("{2}",year)};case"month":if(datePartFormat_==null){datePartFormat_="MMMM"}if(format_==null){return function(item){return $.ig.formatter(new Date(item[propName_]),"date",datePartFormat_)}}yearProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("year",b,null,null);semesterProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("semester",b,null,null);quarterProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("quarter",b,null,null);return function(item){var year=yearProvider_(item);var semester=semesterProvider_(item);var quarter=quarterProvider_(item);return format_.replace("{0}",$.ig.formatter(new Date(item[propName_]),"date",datePartFormat_)).replace("{1}",quarter).replace("{2}",semester).replace("{3}",year)};case"date":if(datePartFormat_==null){datePartFormat_="MM/dd/yyyy"}if(format_==null){return function(item){return $.ig.formatter(new Date(item[propName_]),"date",datePartFormat_)}}yearProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("year",b,null,null);semesterProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("semester",b,null,null);quarterProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("quarter",b,null,null);monthProvider_=$.ig.OlapUtilities.prototype.dateMemberProvider("month",b,null,null);return function(item){var year=yearProvider_(item);var semester=semesterProvider_(item);var quarter=quarterProvider_(item);var month=monthProvider_(item);return format_.replace("{0}",$.ig.formatter(new Date(item[propName_]),"date",datePartFormat_)).replace("{1}",month).replace("{2}",quarter).replace("{3}",semester).replace("{4}",year)}}return null},getDateHierarchy:function(a,b,c,d,e,f){var $self=this;if(String.isNullOrEmpty(a)){return null}if(b==null||b.length==0){b=function(){var $ret=new Array;$ret.add("year");$ret.add("quarter");$ret.add("month");$ret.add("date");return $ret}()}else{for(var g=0;g<b.length;g++){b[g]=b[g].toLowerCase()}}if(c==null){c="Dates"}if(d==null){d=c}var res_=null;var name_=c;var caption_=d;var rootCaption_=f;var dateParts_=b;if(e==null){e=new Array(b.length);for(var h=0;h<e.length;h++){var i=b[h];e[h]=i.substr(0,1).toUpperCase()+i.substr(1,i.length)+"s"}}var captions_=e;var memberProviders_=new Array(b.length);for(var j=0;j<b.length;j++){var k=b[j];memberProviders_[j]=$.ig.OlapUtilities.prototype.dateMemberProvider(k,a,null,null)}var levelsMetadata=[];var levelOffset=0;if(rootCaption_!=null&&rootCaption_!=""){levelOffset=1;levelsMetadata[0]={name:rootCaption_,caption:rootCaption_,memberProvider:function(item){return rootCaption_}}}for(var i=0;i<memberProviders_.length;i++){levelsMetadata[i+levelOffset]={name:dateParts_[i],caption:captions_[i],memberProvider:memberProviders_[i]}}res_={name:name_,caption:caption_,levels:levelsMetadata};return res_},sumAggregator:function(a,b){var propName_=a;var precision_=b;return function(items,cellMetadata){var sum=0,areAllNullOrUndefined=true,value;for(var i=0;i<items.length;i++){value=items[i][propName_];if(value!==null&&value!==undefined){areAllNullOrUndefined=false;sum+=value}}if(areAllNullOrUndefined)return null;if(precision_!=null){return sum.toFixed(precision_)}return sum}},avgAggregator:function(a,b){var propName_=a;var precision_=b;return function(items,cellMetadata){if(precision_==null){precision_=2}var sum=0,count=0,areAllNullOrUndefined=true,value;for(var i=0;i<items.length;i++){value=items[i][propName_];if(value!==null&&value!==undefined){areAllNullOrUndefined=false;sum+=value;count++}}if(areAllNullOrUndefined)return null;return(sum/count).toFixed(precision_)}},minAggregator:function(a){var propName_=a;return function(items,cellMetadata){var result=items[0][propName_];for(var i=1;i<items.length;i++){result=Math.min(result,items[i][propName_])}return result}},maxAggregator:function(a){var propName_=a;return function(items,cellMetadata){var result=items[0][propName_];for(var i=1;i<items.length;i++){result=Math.max(result,items[i][propName_])}return result}},countAggregator:function(){return function(items,cellMetadata){return items.length}},$type:new $.ig.Type("OlapUtilities",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapTableView","Object",{a:null,init:function(a,b,c,d){$.ig.Object.prototype.init.call(this);var e=this.b(d);this.a=new $.ig.TableViewImpl(a,b,c,e)},rowHeaders:function(){if(this.a.rowHeaders()==null){return null}return this.a.rowHeaders().inner()},columnHeaders:function(){if(this.a.columnHeaders()==null){return null}return this.a.columnHeaders().inner()},resultCells:function(){if(this.a.resultCells()==null){return null}return this.a.resultCells().inner()},columnSortDirections:function(a){if(arguments.length===1){this.a.columnSortDirections().clear();var c=a.getEnumerator();while(c.moveNext()){var b=c.current();var d=this.c(b);this.a.columnSortDirections().add(d)}return a}else{var e=new $.ig.Array;var g=this.a.columnSortDirections().getEnumerator();while(g.moveNext()){var f=g.current();e.add(this.d(f))}return e}},appliedColumnSortDirections:function(){var b=new $.ig.Array;var d=this.a.appliedColumnSortDirections().getEnumerator();while(d.moveNext()){var c=d.current();b.add(this.d(c))}return b},levelSortDirections:function(a){if(arguments.length===1){this.a.levelSortDirections().clear();var c=a.getEnumerator();while(c.moveNext()){var b=c.current();var d=this.e(b);this.a.levelSortDirections().add(d)}return a}else{var e=new $.ig.Array;var g=this.a.levelSortDirections().getEnumerator();while(g.moveNext()){var f=g.current();e.add(this.f(f))}return e}},appliedLevelSortDirections:function(){var b=new $.ig.Array;var d=this.a.appliedLevelSortDirections().getEnumerator();while(d.moveNext()){var c=d.current();b.add(this.f(c))}return b},appliedSortDirectionsMap:function(){var resultMap_=$.ig.jQueryUtils.prototype.createJavascriptObject();var b=this.a.appliedSortDirectionsMap().getEnumerator();while(b.moveNext()){var i_=b.current();var axisMap_=$.ig.jQueryUtils.prototype.createJavascriptObject();var c=i_.value().getEnumerator();while(c.moveNext()){var j_=c.current();var hierarchyMap_=$.ig.jQueryUtils.prototype.createJavascriptObject();var d=j_.value().getEnumerator();while(d.moveNext()){var k_=d.current();var sortDirection_=k_.value()==$.ig.ListSortDirection.prototype.ascending?"ascending":"descending";hierarchyMap_[k_.key()]=sortDirection_}axisMap_[j_.key()]=hierarchyMap_}resultMap_[i_.key()]=axisMap_}return resultMap_},initialize:function(){this.a.initialize()},b:function(a){var $self=this;var b=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"isParentInFrontForColumns");var c=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"isParentInFrontForRows");var d=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"compactColumnHeaders");var e=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"compactRowHeaders");return function(){var $ret=new $.ig.TableViewSettings;$ret.e(b);$ret.f(c);$ret.h(d);$ret.g(e);return $ret}()},c:function(o_){var $self=this;var a=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(o_,"memberNames");var b=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(o_,"tupleIndex");var c=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(o_,"sortDirection");var d=$.ig.ListSortDirection.prototype.ascending;if(!String.isNullOrEmpty(c)){c=c.toLowerCase();if(c=="descending"){d=$.ig.ListSortDirection.prototype.descending}}var comparer_=null;if($.isFunction(o_.comparer)){comparer_=o_.comparer}else{comparer_=function(o1,o2){return parseFloat(o1||-Infinity)-parseFloat(o2||-Infinity)}}return function(){var $ret=new $.ig.TupleSortDirection;$ret.memberNames(a);$ret.tupleIndex(b);$ret.sortDirection(d);$ret.comparer(comparer_);return $ret}()},d:function(a){var b=$.ig.jQueryUtils.prototype.createJavascriptObject();$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(b,"memberNames",a.memberNames());$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(b,"tupleIndex",a.tupleIndex());$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(b,"sortDirection",a.sortDirection()==$.ig.ListSortDirection.prototype.ascending?"ascending":"descending");if(a.comparer()!=null){$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(b,"comparer",a.comparer())}return b},e:function(a){var b=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"levelUniqueName");var c=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"sortDirection");var d=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"sortBehavior");if(!String.isNullOrEmpty(b)){var e=new $.ig.LevelSortDirection;e.sortDirection($.ig.ListSortDirection.prototype.ascending);e.sortBehavior($.ig.LevelSortBehavior.prototype.system);e.levelUniqueName(b);if(!String.isNullOrEmpty(c)){c=c.toLowerCase();if(c=="descending"){e.sortDirection($.ig.ListSortDirection.prototype.descending)}}if(!String.isNullOrEmpty(d)){d=d.toLowerCase();if(d=="alphabetical"){e.sortBehavior($.ig.LevelSortBehavior.prototype.alphabetical)}}return e}else{return null
}},f:function(a){var b=$.ig.jQueryUtils.prototype.createJavascriptObject();$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(b,"levelUniqueName",a.levelUniqueName());$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(b,"sortDirection",a.sortDirection()==$.ig.ListSortDirection.prototype.ascending?"ascending":"descending");return b},$type:new $.ig.Type("OlapTableView",$.ig.Object.prototype.$type)},true);$.ig.LevelSortBehavior.prototype.alphabetical=0;$.ig.LevelSortBehavior.prototype.system=1;$.ig.OlapMetadataTreeItemType.prototype.cube=0;$.ig.OlapMetadataTreeItemType.prototype.dimension=1;$.ig.OlapMetadataTreeItemType.prototype.group=2;$.ig.OlapMetadataTreeItemType.prototype.userDefinedHierarchy=3;$.ig.OlapMetadataTreeItemType.prototype.systemEnabledHierarchy=4;$.ig.OlapMetadataTreeItemType.prototype.parentChildHierarchy=5;$.ig.OlapMetadataTreeItemType.prototype.measure=6;$.ig.OlapMetadataTreeItemType.prototype.level1=7;$.ig.OlapMetadataTreeItemType.prototype.level2=8;$.ig.OlapMetadataTreeItemType.prototype.level3=9;$.ig.OlapMetadataTreeItemType.prototype.level4=10;$.ig.OlapMetadataTreeItemType.prototype.level5=11;$.ig.MeasureListLocation.prototype.rows=0;$.ig.MeasureListLocation.prototype.columns=1;$.ig.HeaderCellsLayoutOrientation.prototype.horizontal=0;$.ig.HeaderCellsLayoutOrientation.prototype.vertical=1;$.ig.MemberType.prototype.unknown=0;$.ig.MemberType.prototype.regular=0;$.ig.MemberType.prototype.all=1;$.ig.MemberType.prototype.measure=2;$.ig.MemberType.prototype.formula=3;$.ig.CardinalityType.prototype.one=0;$.ig.CardinalityType.prototype.many=1;$.ig.AggregatorType.prototype.unknown=0;$.ig.AggregatorType.prototype.sum=1;$.ig.AggregatorType.prototype.count=2;$.ig.AggregatorType.prototype.min=3;$.ig.AggregatorType.prototype.max=4;$.ig.AggregatorType.prototype.average=5;$.ig.AggregatorType.prototype.variance=6;$.ig.AggregatorType.prototype.std=7;$.ig.AggregatorType.prototype.distinctCount=8;$.ig.AggregatorType.prototype.none=9;$.ig.AggregatorType.prototype.averageOfChildren=10;$.ig.AggregatorType.prototype.firstNonEmpty=13;$.ig.AggregatorType.prototype.lastNonEmpty=14;$.ig.AggregatorType.prototype.byAccount=15;$.ig.AggregatorType.prototype.calculated=127;$.ig.HierarchyOrigin.prototype.userDefined=1;$.ig.HierarchyOrigin.prototype.systemEnabled=2;$.ig.HierarchyOrigin.prototype.systemInternal=4;$.ig.DimensionType.prototype.unknown=0;$.ig.DimensionType.prototype.time=1;$.ig.DimensionType.prototype.measure=2;$.ig.DimensionType.prototype.other=3;$.ig.DimensionType.prototype.quantitative=5;$.ig.DimensionType.prototype.accounts=6;$.ig.DimensionType.prototype.customers=7;$.ig.DimensionType.prototype.products=8;$.ig.DimensionType.prototype.scenario=9;$.ig.DimensionType.prototype.utility=10;$.ig.DimensionType.prototype.currency=11;$.ig.DimensionType.prototype.rates=12;$.ig.DimensionType.prototype.channel=13;$.ig.DimensionType.prototype.promotion=14;$.ig.DimensionType.prototype.organization=15;$.ig.DimensionType.prototype.billOfMaterials=16;$.ig.DimensionType.prototype.geography=17;$.ig.CubeType.prototype.cube=0;$.ig.CubeType.prototype.dimension=1;$.ig.CubeType.prototype.unknown=2;$.ig.AxisDefinitionParser.prototype.a="[";$.ig.AxisDefinitionParser.prototype.b="]";$.ig.AxisDefinitionParser.prototype.c="{";$.ig.AxisDefinitionParser.prototype.d="}";$.ig.AxisDefinitionParser.prototype.e=",";$.ig.util.extCopy($.ig.TaskExtensions,[[[$.ig.Task],["continueWithTask$1"]],[[$.ig.Task$1],["continueWithTask$21"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.ArrayListCollection$1],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.ArrayListCollection$1],["ofType$1","cast$1"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.ArrayListCollection$1],["asQueryable"]]]);$.ig=$.ig||{};$.ig.util.bulkDefine(["IConnection","IXmlaDataProvider","XmlaDataProvider","CatalogConstants","ColumnsConstants","ProviderTypeConstants","TableConstants","DbSchemaConstants","CatalogRestrictions","ColumnsRestrictions","ProviderTypeRestrictions","TableRestrictions","CubeConstants","DimensionConstants","HierarchyConstants","InstanceConstants","LevelConstants","MeasureConstants","MeasureGroupConstants","MeasureGroupDimensionConstants","MemberConstants","OlapSchemaConstants","CubeRestrictions","DimensionRestrictions","HierarchyRestrictions","LevelRestrictions","MeasureRestrictions","MeasureGroupRestrictions","MeasureGroupDimensionRestrictions","MemberRestrictions","ICoreXmlaConnection","ArraySerializer","IXmlTypeSerializer$1","AxisXmlTypeSerializer","TupleXmlTypeSerializer","AxisMemberXmlTypeSerializer","CellXmlTypeSerializer","CubeXmlTypeSerializer","DatabaseXmlTypeSerializer","DimensionXmlTypeSerializer","ErrorXmlTypeSerializer","HierarchyXmlTypeSerializer","LevelXmlTypeSerializer","MeasureGroupDimensionXmlTypeSerializer","MeasureGroupXmlTypeSerializer","MeasureXmlTypeSerializer","MemberXmlTypeSerializer","ResultXmlTypeSerializer","SerializerUtils","XmlaConstants","XmlaSoapFaultXmlTypeSerializer","IXmlaMethodResult","XmlaSoapMethodResult","DiscoverResponseResult","XmlaSoapMessageHeader","FaultError","RequestCompletedEventArgs$1","ExecuteResponseResult","FaultDetail","IXmlaSoapMethod","XmlaNamespace","XmlaPropertiesCollection","XmlaQueryProperty","XmlaSoapFault","XmlaSoapMessageBuilder","XmlaSoapMethod","XmlaSoapMethodDiscover","XmlaSoapMethodExecute","XmlaSoapWebClient","XmlaSoapWebClient$1","Session","IMdxExpression","IMdxElement","IAxisFilterElement","IMdxAxis","IMdxAxisProvider","IMdxCalculatedMembersCacheProvider","IMdxCollectionElement","IMdxDimensionAxisProvider","IMdxFilterInfo","IMdxExtendedFilterInfo","IMdxItemElement","IMdxQuery","IMdxSet","MdxAxis","MdxAxisFilterElement","MdxCalculatedMembersCache","MdxElement","MdxSingleElement","MdxDimensionMember","MdxChildrenCollectionElement","MdxConstantElement","MdxElementCollectionElement","MdxElementType","MdxLevelMembersElement","MdxQueryBuilder","MdxSet","MdxSettings","MdxAxisSettings","MdxSlicerAxisSettings","MdxDimensionAxisSettings","MdxSetSettings","IMdxSlicerAxis","MdxSlicerAxis","MdxSlicerSet","MdxDimensionAxisCreateMode","MdxDimensionAxisProvider","MdxSlicerAxisProvider","MdxSlicerAxisBuilder","IXmlaDataProviderFactory","DefaultXmlaDataProviderFactory","RemoteXmlaDataProviderFactory","IRemoteXmlaRequestSerializer","IRemoteXmlaResponseSerializer","JsonRemoteXmlaRequestSerializer","JsonRemoteXmlaResponseSerializer","ArrayJsonSerializer","IJsonTypeSerializer$1","JsonTypeSeriazlierBase$1","AxisJsonTypeSeriazlier","AxisMemberJsonTypeSeriazlier","CatalogJsonTypeSeriazlier","CellJsonTypeSeriazlier","CubeJsonTypeSeriazlier","DimensionJsonTypeSeriazlier","HierarchyJsonTypeSeriazlier","JsonSerializerUtils","LevelJsonTypeSeriazlier","MeasureGroupDimensionJsonTypeSeriazlier","MeasureGroupJsonTypeSeriazlier","MeasureJsonTypeSeriazlier","MemberJsonTypeSeriazlier","RemoteXmlaRequestJsonTypeSeriazlier","ResultJsonTypeSeriazlier","TupleJsonTypeSeriazlier","RemoteXmlaDataProvder","RemoteXmlaRequest","RemoteXmlaRequestType","XmlaConnection","XmlaDataSourceImpl","PositionInfo","XmlaDiscoverProperties","XmlaDataSourceOptions","RequestOptions","CustomRemoteXmlaRequestSerializer","CustomRemoteXmlaResponseSerializer","OlapXmlaDataSource","Object","MulticastDelegate","Action","Action$1","Action$2","Action$3","Action$4","Action$5","Action$6","Action$7","Action$8","IEqualityComparer$1","IEnumerable","ICollection","IDictionary","IList","Array","Array","Comparison$1","Attribute","BrowsableAttribute","EventArgs","CancelEventArgs","DesignTimeVisibleAttribute","EditorBrowsableAttribute","ValueType","Enum","EditorBrowsableState","ISupportInitialize","ITypeDescriptorContext","TypeConverter","TypeConverterAttribute","WinMDTypeAttribute","WinMDPropertyToObjectTypeAttribute","Error","IFormatProvider","NotSupportedException","ObsoleteAttribute","MemberInfo","MethodBase","ConstructorInfo","IComparable","Date","Number","SuppressMessageAttribute","EventHandler$1","PlaceholderSystemCollectionsObjectModel","PlaceholderSystemCollectionsSpecialized","PlaceholderSystemWindows","PlaceholderSystemWindowsControls","PlaceholderSystemWindowsData","PlaceholderSystemWindowsInput","PlaceholderSystemWindowsMarkup","PlaceholderSystemWindowsMediaImaging","PlaceholderSystemWindowsShapes","PlaceholderSystemWindowsControlsPrimitives","PlaceholderSystemWindowsAutomation","PlaceholderSystemWindowsAutomationPeers","PlaceholderSystemText","PlaceholderSystemGlobalization","PlaceholderSystemWindowsDocuments","PlaceholderSystemWindowsInk","PlaceholderSystemWindowsMediaAnimation","PlaceholderSystemWindowsMediaEffects","PlaceholderSystemWindowsThreading","PlaceholderInfragisticsControlerChartsAutomationPeers","FlagsAttribute","Func$1","Func$2","Func$3","Func$4","Func$5","Func$6","Func$7","Func$8","Func$9","Math","XMLHttpRequest","Nullable$1","Number","ParamArrayAttribute","Array","AttributeTargets","AttributeUsageAttribute","Boolean","Number","String","Array","CompareCallback","Dictionary","DictionaryEntry","IEnumerator","INotifyPropertyChanged","PropertyChangedEventArgs","PropertyChangedEventHandler","CultureInfo","Delegate","Number","IDisposable","Number","Number","Number","IntPtr","ReflectionUtil","AssemblyTitleAttribute","AssemblyCompanyAttribute","AssemblyConfigurationAttribute","AssemblyCopyrightAttribute","AssemblyCultureAttribute","AssemblyDescriptionAttribute","AssemblyFileVersionAttribute","AssemblyProductAttribute","AssemblyTrademarkAttribute","AssemblyVersionAttribute","DefaultMemberAttribute","MethodInfo","ParameterInfo","PropertyInfo","RuntimeFieldHandle","RuntimeTypeHandle","ClientScriptAttribute","ClientNameAttribute","DontObfuscateAttribute","EmitIgnoreTypeAttribute","ExtensionAttribute","GlobalMemberAttribute","IgnoreAttribute","InlineItemAccessAttribute","InlinePropertyAttribute","InternalsVisibleToAttribute","KeepOriginalNameAttribute","LiteralStringAttribute","NativeMethodAttribute","NativePropertyAttribute","NativeTypeAttribute","RuntimeHelpers","WeakAttribute","WidgetAttribute","MainWidgetAttribute","SuppressWidgetMemberAttribute","SuppressWidgetMemberCopyAttribute","WidgetDefaultStringAttribute","WidgetDefaultNumberAttribute","WidgetDefaultBooleanAttribute","MvcEnumSetStringEnumAttribute","WidgetModuleAttribute","WidgetModuleParentAttribute","WidgetIgnoreDependsAttribute","ComVisibleAttribute","GuidAttribute","OutAttribute","DataContractAttribute","DataMemberAttribute","WaitHandle","EventWaitHandle","Monitor","TypeCode","TargetFrameworkAttribute","Number","Script","Single","String","ManualResetEvent","Thread","Date","Type","Number","Number","Number","UIntPtr","XmlAttributeAttribute","XmlElementAttribute","XmlEnumAttribute","XmlIgnoreAttribute","XmlRootAttribute","XmlTypeAttribute","XmlNode","XmlAttribute","XmlDocument","XmlDocumentParser","XmlLinkedNode","XmlElement","Void","XmlNodeList","XmlNamedNodeMap","XmlNodeType","XmlSchemaForm","ICoreOlapElement","Cube","Catalog","Dimension","CubeType","ScopeType","DimensionType","LevelType","HierarchyOrigin","AggregatorType","CardinalityType","MemberType","Hierarchy","Level","Measure","MeasureGroup","MeasureGroupDimension","Member","OlapResult","OlapResultAxis","IPosition$2","OlapResultTuple","IPositionItem$2","IHierarchicalPositionItem$2","OlapResultAxisMember","OlapResultCell","HeaderCellsLayoutOrientation","LevelSpanManager","SpanSource","ITableViewHeadersFactory","TableViewHeadersFactory","TableCompactViewHeadersFactory","TableViewHeaderCellSource","TableViewImpl","TableViewSettings","OlapResultView","ResultViewHelper","OlapTableViewHeaderCell","OlapTableViewResultCell","ArrayListCollection$1","IOlapDataSource","MeasureList","MeasureListLocation","OlapMetadataTreeItemType","OlapMetadataTreeItem","MetaTreeHelper","HierarchyItemPosition","MeasureGroupMetaItemsCache","DataSourceBaseOptions","CubeMetaItemsCache","SourceInitHelper","AxisDefinitionParser","CoreOlapElementType","CoreOlapElementParseResult","CoreOlapElementParser","AxisElement","PivotActionStatus","PivotAction","AxisItemsChangeType","AxisChangedAction","AxisItemsChangedAction","ExpansionStateChangeType","ExpansionStateChangedAction","PivotActionManager","KeyValueItem","PositionItemInfo$2","PositionResolver$2","LevelSortDirection","LevelSortBehavior","TaskExtensions","HierarchyFilterView","FilterMember","FilterMemberStateChangedEventArgs","ResultSorter$1","ResultHeaderSorter","AxisTupleVisitor","AxisHeaderSortingVisitor","ResultColumnValueSorter","AxisValueSortingVisitor","TupleSortDirection","DataSourceBase","jQueryUtils","OlapUtilities","OlapTableView","AbstractEnumerable","AbstractEnumerator","IEnumerable$1","ICollection$1","IList$1","IArrayList","List$1","Collection$1","IDictionary$2","Dictionary$2","GenericEnumerable$1","IEnumerator$1","GenericEnumerator$1","INotifyCollectionChanged","NotifyCollectionChangedEventHandler","NotifyCollectionChangedEventArgs","NotifyCollectionChangedAction","KeyValuePair$2","LinkedList$1","LinkedListNode$1","ObservableCollection$1","Queue$1","ReadOnlyCollection$1","ReadOnlyObservableCollection$1","NameValueCollection","Stack$1","IComparer$1","Expression","MemberExpression","ParameterExpression","LambdaExpression","MethodCallExpression","IOrderedEnumerable$1","Queryable","Enumerable","SortedList$1","IGrouping$2","IArray","DependencyObject","Test","IQueryable","IQueryable$1","IQueryProvider","Activator","AggregateException","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","AsyncCompletedEventArgs","AsyncCompletedEventHandler","ListSortDirection","Convert","Environment","InvalidOperationException","Debug","IEquatable$1","BinaryReader","ICredentials","NetworkCredential","UploadStringCompletedEventHandler","UploadStringCompletedEventArgs","WebClient","WebHeaderCollection","FaultCode","FaultException","FaultException$1","FaultReason","StringBuilder","BinaryFileDownloader","NotImplementedException","Random","Encoding","UTF8Encoding","Task","Task$1","TaskCompletionSource$1","TaskFactory","TaskStatus","Tuple$2","Uri","JavaScriptSerializer","UIElement","UIElementCollection","FrameworkElement","Control","ContentControl","Panel","Canvas","Image","TextBlock","DataTemplate","DataTemplatePassInfo","DataTemplateMeasureInfo","DataTemplateRenderInfo","DataTemplateRenderHandler","DataTemplateMeasureHandler","DataTemplatePassHandler","Binding","DependencyProperty","UnsetValue","DependencyPropertiesCollection","DependencyPropertyChangedEventArgs","Key","ModifierKeys","MouseEventArgs","MouseButtonEventArgs","Brush","Color","DoubleCollection","FillRule","GeometryType","Geometry","GeometryCollection","GeometryGroup","LineGeometry","RectangleGeometry","EllipseGeometry","PathGeometry","PathFigure","PathFigureCollection","PathSegmentType","PathSegment","PathSegmentCollection","LineSegment","BezierSegment","PolyBezierSegment","PolyLineSegment","ArcSegment","SweepDirection","HorizontalAlignment","PenLineCap","Stretch","Transform","RotateTransform","TranslateTransform","TransformGroup","TransformCollection","VerticalAlignment","Point","PointCollection","PropertyChangedCallback","CoerceValueCallback","PropertyMetadata","PropertyPath","Rect","Shape","Line","Path","Polygon","Polyline","Rectangle","Size","Style","StyleTypedPropertyAttribute","TemplatePartAttribute","TemplateVisualStateAttribute","Visibility","XObject","XAttribute","XNode","XContainer","XDocument","XElement","XmlUtils","XName","XNamespace","Element","CanvasElement","console","DivElement","Document","ElementAttribute","ElementAttributeCollection","ElementCollection","ElementEventHandler","ElementNodeType","EventListener","IElementEventHandler","ImageElement","CanvasContext","CanvasContext2D","ImageData","Gradient","TextMetrics","MSGesture","WebStyle","window","Callback","JQuery","JQueryDeferred","JQueryEvent","JQueryObject","JQueryCallback","JQueryUICallback","JQueryPosition","JQueryPromise"]);$.ig.util.defType("RemoteXmlaRequestType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("RemoteXmlaRequestType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MdxElementType","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("MdxElementType",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaSoapMessageHeader","Enum",{init:function(){$.ig.Enum.prototype.init.call(this)},$type:new $.ig.Type("XmlaSoapMessageHeader",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IXmlaDataProvider","Object",{$type:new $.ig.Type("IXmlaDataProvider",null)},true);$.ig.util.defType("XmlaDataProvider","Object",{a:null,b:null,init:function(a,b){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b},discoverCatalogsAsync:function(a,b){return this.d($.ig.Catalog.prototype.$type,new $.ig.DatabaseXmlTypeSerializer,$.ig.DbSchemaConstants.prototype.a,a,b)},discoverCubesAsync:function(a,b){return this.d($.ig.Cube.prototype.$type,new $.ig.CubeXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.a,a,b)},discoverDimensionsAsync:function(a,b){return this.d($.ig.Dimension.prototype.$type,new $.ig.DimensionXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.b,a,b)},discoverHierarchiesAsync:function(a,b){return this.d($.ig.Hierarchy.prototype.$type,new $.ig.HierarchyXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.f,a,b)},discoverLevelsAsync:function(a,b){return this.d($.ig.Level.prototype.$type,new $.ig.LevelXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.g,a,b)},discoverMeasuresAsync:function(a,b){return this.d($.ig.Measure.prototype.$type,new $.ig.MeasureXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.e,a,b)},discoverMeasureGroupsAsync:function(a,b){return this.d($.ig.MeasureGroup.prototype.$type,new $.ig.MeasureGroupXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.c,a,b)},discoverMeasureGroupDimensionsAsync:function(a,b){return this.d($.ig.MeasureGroupDimension.prototype.$type,new $.ig.MeasureGroupDimensionXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.d,a,b)},discoverMembersAsync:function(a,b){return this.d($.ig.Member.prototype.$type,new $.ig.MemberXmlTypeSerializer,$.ig.OlapSchemaConstants.prototype.h,a,b)},executeStatementAsync:function(a,b,c){var $self=this;var d=new $.ig.TaskCompletionSource$1($.ig.OlapResult.prototype.$type,0);var e=this.a.getXmlaSoapWebClient$1($.ig.ExecuteResponseResult.prototype.$type);var f=new $.ig.ResultXmlTypeSerializer;e.requestCompleted=$.ig.Delegate.prototype.combine(e.requestCompleted,function(g,h){return $self.j($.ig.OlapResult.prototype.$type,f,h,d)});var i=new $.ig.XmlaSoapMethodExecute(a);this.f(i,b,c);e.q(i);return d.d()},d:function($t,a,b,c,d){var $self=this;var e=new $.ig.TaskCompletionSource$1($.ig.IEnumerable$1.prototype.$type.specialize($t),0);var f=this.a.getXmlaSoapWebClient$1($.ig.DiscoverResponseResult.prototype.$type);f.requestCompleted=$.ig.Delegate.prototype.combine(f.requestCompleted,function(g,h){return $self.h($t,a,h,e)});var i=new $.ig.XmlaSoapMethodDiscover(b);this.e(i,c,d);f.q(i);return e.d()},e:function(a,b,c){if(c!=null){var e=c.getEnumerator();while(e.moveNext()){var d=e.current();a.u().add(d.c(),d.d())}}if(b!=null){var g=b.getEnumerator();while(g.moveNext()){var f=g.current();a.properties().add(new $.ig.XmlaQueryProperty(1,f.c(),f.d()))}}if(this.b!=null){this.b(a)}},f:function(a,b,c){if(c!=null){var e=c.getEnumerator();while(e.moveNext()){var d=e.current()}}if(b!=null){var g=b.getEnumerator();while(g.moveNext()){var f=g.current();a.properties().add(new $.ig.XmlaQueryProperty(1,f.c(),f.d()))}}if(this.b!=null){this.b(a)}},h:function($t,a,b,c){if(b.error()!=null){c.h(b.error())}else if(b.cancelled()){c.g()}else{var d=b.result();if(d!=null){var e=new $.ig.ArraySerializer;var f=e.b($t,b.result().returnElement(),$.ig.XName.prototype.i("row",$.ig.XmlaNamespace.prototype.d),a);c.i(f)}}},j:function($t,a,b,c){if(b.error()!=null){c.h(b.error())}else if(b.cancelled()){c.g()}else{var d=b.result();if(d!=null){var e=a.deserialize(b.result().returnElement());c.i(e)}}},$type:new $.ig.Type("XmlaDataProvider",$.ig.Object.prototype.$type,[$.ig.IXmlaDataProvider.prototype.$type])},true);$.ig.util.defType("CatalogConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("CatalogConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DbSchemaConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("DbSchemaConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CubeConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("CubeConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DimensionConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("DimensionConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HierarchyConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("HierarchyConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("InstanceConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("InstanceConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LevelConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("LevelConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MeasureConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureGroupConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MeasureGroupConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureGroupDimensionConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MeasureGroupDimensionConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MemberConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MemberConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("OlapSchemaConstants","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("OlapSchemaConstants",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CubeRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("CubeRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("DimensionRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("DimensionRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("HierarchyRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("HierarchyRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LevelRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("LevelRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MeasureRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureGroupRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MeasureGroupRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MeasureGroupDimensionRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MeasureGroupDimensionRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MemberRestrictions","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MemberRestrictions",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ICoreXmlaConnection","Object",{$type:new $.ig.Type("ICoreXmlaConnection",null,[$.ig.IConnection.prototype.$type])},true);$.ig.util.defType("ArraySerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:function($t,a,b,c){var d=new $.ig.List$1($t,0);var f=a.h(b).getEnumerator();while(f.moveNext()){var e=f.current();d.add(c.deserialize(e))}return d},$type:new $.ig.Type("ArraySerializer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IXmlTypeSerializer$1","Object",{$type:new $.ig.Type("IXmlTypeSerializer$1",null)},true);$.ig.util.defType("AxisXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.AxisXmlTypeSerializer.prototype.a!=null){return}$.ig.AxisXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.AxisXmlTypeSerializer.prototype.a.item("0",$.ig.XName.prototype.i("Tuple",$.ig.XmlaNamespace.prototype.c));$.ig.AxisXmlTypeSerializer.prototype.a.item("1",$.ig.XName.prototype.i("Tuples",$.ig.XmlaNamespace.prototype.c))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.b(b.p($.ig.XName.prototype.i("name","")));var d=b.f($.ig.AxisXmlTypeSerializer.prototype.a.item("1"));var e=new $.ig.ArraySerializer;var f=e.b($.ig.OlapResultTuple.prototype.$type,d,$.ig.AxisXmlTypeSerializer.prototype.a.item("0"),new $.ig.TupleXmlTypeSerializer);var g=0;if(f.count()>0){g=f.__inner[0].members().count()}return function(){var $ret=new $.ig.OlapResultAxis(f,g);$ret.name(c);return $ret}()},$type:new $.ig.Type("AxisXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.OlapResultAxis.prototype.$type)])},true);$.ig.util.defType("TupleXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.TupleXmlTypeSerializer.prototype.a!=null){return}$.ig.TupleXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.TupleXmlTypeSerializer.prototype.a.item("0",$.ig.XName.prototype.i("Member",$.ig.XmlaNamespace.prototype.c))},deserialize:function(a){if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=new $.ig.ArraySerializer;var d=c.b($.ig.OlapResultAxisMember.prototype.$type,b,$.ig.TupleXmlTypeSerializer.prototype.a.item("0"),new $.ig.AxisMemberXmlTypeSerializer);var e=new $.ig.OlapResultTuple(d);var g=d.getEnumerator();while(g.moveNext()){var f=g.current();f.position(e)}return e},$type:new $.ig.Type("TupleXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.OlapResultTuple.prototype.$type)])},true);$.ig.util.defType("AxisMemberXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.AxisMemberXmlTypeSerializer.prototype.a!=null){return}$.ig.AxisMemberXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.AxisMemberXmlTypeSerializer.prototype.a.item("0",$.ig.XName.prototype.i("UName",$.ig.XmlaNamespace.prototype.c));$.ig.AxisMemberXmlTypeSerializer.prototype.a.item("1",$.ig.XName.prototype.i("LName",$.ig.XmlaNamespace.prototype.c));$.ig.AxisMemberXmlTypeSerializer.prototype.a.item("2",$.ig.XName.prototype.i("Caption",$.ig.XmlaNamespace.prototype.c));$.ig.AxisMemberXmlTypeSerializer.prototype.a.item("3",$.ig.XName.prototype.i("LNum",$.ig.XmlaNamespace.prototype.c));$.ig.AxisMemberXmlTypeSerializer.prototype.a.item("4",$.ig.XName.prototype.i("DisplayInfo",$.ig.XmlaNamespace.prototype.c))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.AxisMemberXmlTypeSerializer.prototype.a.item("0")));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.AxisMemberXmlTypeSerializer.prototype.a.item("1")));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.AxisMemberXmlTypeSerializer.prototype.a.item("2")));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.AxisMemberXmlTypeSerializer.prototype.a.item("3")));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.AxisMemberXmlTypeSerializer.prototype.a.item("4")));var h=b.p($.ig.XName.prototype.i("Hierarchy","")).f();var i=function(){var $ret=new $.ig.OlapResultAxisMember;$ret.hierarchyUniqueName(h);$ret.levelUniqueName(d);$ret.levelNumber($.ig.Number.prototype.parseInt(f));$ret.uniqueName(c);$ret.caption(e);$ret.displayInfo(String.isNullOrEmpty(g)?0:$.ig.Number.prototype.parseInt(g));return $ret}();var k=b.g().getEnumerator();while(k.moveNext()){var j=k.current();switch(j.l().c()){case"UName":case"LName":case"Caption":case"LNum":case"DisplayInfo":continue;default:i.properties().add(j.l().c(),j.k());break}}return i},$type:new $.ig.Type("AxisMemberXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.OlapResultAxisMember.prototype.$type)])},true);$.ig.util.defType("CellXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=b.p($.ig.XName.prototype.i("CellOrdinal","")).f();var d=function(){var $ret=new $.ig.OlapResultCell;$ret.cellOrdinal($.ig.Number.prototype.parseInt(c));return $ret}();var f=b.g().getEnumerator();while(f.moveNext()){var e=f.current();d.properties().add(e.l().c(),e.k())}return d},$type:new $.ig.Type("CellXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.OlapResultCell.prototype.$type)])},true);$.ig.util.defType("CubeXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.CubeConstants.prototype.c,$.ig.XmlaNamespace.prototype.d)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.CubeConstants.prototype.l,$.ig.XmlaNamespace.prototype.d)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.CubeConstants.prototype.g,$.ig.XmlaNamespace.prototype.d)));var f;var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.CubeConstants.prototype.d,$.ig.XmlaNamespace.prototype.d)));switch(g){case $.ig.XmlaConstants.prototype.j:f=$.ig.CubeType.prototype.cube;break;case $.ig.XmlaConstants.prototype.k:f=$.ig.CubeType.prototype.dimension;break;default:f=$.ig.CubeType.prototype.unknown;break}var h=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.CubeConstants.prototype.a,$.ig.XmlaNamespace.prototype.d)));var i=$.ig.SerializerUtils.prototype.d(b.f($.ig.XName.prototype.i($.ig.CubeConstants.prototype.f,$.ig.XmlaNamespace.prototype.d)));var j=$.ig.SerializerUtils.prototype.d(b.f($.ig.XName.prototype.i($.ig.CubeConstants.prototype.e,$.ig.XmlaNamespace.prototype.d)));return function(){var $ret=new $.ig.Cube;$ret.name(c);$ret.caption(d);$ret.description(e);$ret.cubeType(f);$ret.catalogName(h);$ret.lastProcessed(i);$ret.lastUpdated(j);return $ret}()},$type:new $.ig.Type("CubeXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.Cube.prototype.$type)])},true);$.ig.util.defType("DatabaseXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.CatalogConstants.prototype.a,$.ig.XmlaNamespace.prototype.d)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.CatalogConstants.prototype.b,$.ig.XmlaNamespace.prototype.d)));return function(){var $ret=new $.ig.Catalog;$ret.name(c);$ret.caption(c);$ret.uniqueName(c);$ret.description(d);return $ret}()},$type:new $.ig.Type("DatabaseXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.Catalog.prototype.$type)])},true);$.ig.util.defType("DimensionXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);
if($.ig.DimensionXmlTypeSerializer.prototype.a!=null){return}$.ig.DimensionXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.d,$.ig.XName.prototype.i($.ig.DimensionConstants.prototype.d,$.ig.XmlaNamespace.prototype.d));$.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.e,$.ig.XName.prototype.i($.ig.DimensionConstants.prototype.e,$.ig.XmlaNamespace.prototype.d));$.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.f,$.ig.XName.prototype.i($.ig.DimensionConstants.prototype.f,$.ig.XmlaNamespace.prototype.d));$.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.k,$.ig.XName.prototype.i($.ig.DimensionConstants.prototype.k,$.ig.XmlaNamespace.prototype.d));$.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.h,$.ig.XName.prototype.i($.ig.DimensionConstants.prototype.h,$.ig.XmlaNamespace.prototype.d));$.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.j,$.ig.XName.prototype.i($.ig.DimensionConstants.prototype.j,$.ig.XmlaNamespace.prototype.d))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.d)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.e)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.f)));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.k)));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.h)));var h=$.ig.Number.prototype.parseInt(g);var i=$.ig.SerializerUtils.prototype.a(b.f($.ig.DimensionXmlTypeSerializer.prototype.a.item($.ig.DimensionConstants.prototype.j)));return function(){var $ret=new $.ig.Dimension;$ret.name(c);$ret.uniqueName(d);$ret.caption(e);$ret.description(f);$ret.dimensionType(h);$ret.defaultHierarchy(i);return $ret}()},$type:new $.ig.Type("DimensionXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.Dimension.prototype.$type)])},true);$.ig.util.defType("FaultError","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_errorCode:null,errorCode:function(a){if(arguments.length===1){this._errorCode=a;return a}else{return this._errorCode}},_description:null,description:function(a){if(arguments.length===1){this._description=a;return a}else{return this._description}},_source:null,source:function(a){if(arguments.length===1){this._source=a;return a}else{return this._source}},_helpFile:null,helpFile:function(a){if(arguments.length===1){this._helpFile=a;return a}else{return this._helpFile}},_severity:null,severity:function(a){if(arguments.length===1){this._severity=a;return a}else{return this._severity}},$type:new $.ig.Type("FaultError",$.ig.Object.prototype.$type)},true);$.ig.util.defType("ErrorXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},deserialize:function(a){var b=new $.ig.FaultError;var c=a;b.errorCode($.ig.SerializerUtils.prototype.b(c.p($.ig.XName.prototype.i("ErrorCode",""))));b.description($.ig.SerializerUtils.prototype.b(c.p($.ig.XName.prototype.i("Description",""))));b.source($.ig.SerializerUtils.prototype.b(c.p($.ig.XName.prototype.i("Source",""))));b.helpFile($.ig.SerializerUtils.prototype.b(c.p($.ig.XName.prototype.i("HelpFile",""))));b.severity($.ig.SerializerUtils.prototype.b(c.p($.ig.XName.prototype.i("Severity",""))));return b},$type:new $.ig.Type("ErrorXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.FaultError.prototype.$type)])},true);$.ig.util.defType("HierarchyXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.HierarchyXmlTypeSerializer.prototype.a!=null){return}$.ig.HierarchyXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.d,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.d,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.e,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.e,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.f,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.f,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.k,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.k,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.i,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.i,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.j,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.j,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.c,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.c,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.u,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.u,$.ig.XmlaNamespace.prototype.d));$.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.t,$.ig.XName.prototype.i($.ig.HierarchyConstants.prototype.t,$.ig.XmlaNamespace.prototype.d))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.d)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.e)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.f)));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.k)));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.i)));var h=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.j)));var i=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.c)));var j=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.u)));var k=$.ig.SerializerUtils.prototype.a(b.f($.ig.HierarchyXmlTypeSerializer.prototype.a.item($.ig.HierarchyConstants.prototype.t)));var l=k==null?1:$.ig.Number.prototype.parseInt(k);return function(){var $ret=new $.ig.Hierarchy;$ret.name(c);$ret.uniqueName(d);$ret.caption(e);$ret.description(f);$ret.defaultMember(g);$ret.allMember(h);$ret.dimensionUniqueName(i);$ret.hierarchyDisplayFolder(j);$ret.hierarchyOrigin(l);return $ret}()},$type:new $.ig.Type("HierarchyXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.Hierarchy.prototype.$type)])},true);$.ig.util.defType("LevelXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.e,$.ig.XmlaNamespace.prototype.d)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.f,$.ig.XmlaNamespace.prototype.d)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.g,$.ig.XmlaNamespace.prototype.d)));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.k,$.ig.XmlaNamespace.prototype.d)));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.c,$.ig.XmlaNamespace.prototype.d)));var h=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.d,$.ig.XmlaNamespace.prototype.d)));var i=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.h,$.ig.XmlaNamespace.prototype.d)));var j=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.i,$.ig.XmlaNamespace.prototype.d)));var k=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.r,$.ig.XmlaNamespace.prototype.d)));var l=$.ig.SerializerUtils.prototype.a(b.f($.ig.XName.prototype.i($.ig.LevelConstants.prototype.o,$.ig.XmlaNamespace.prototype.d)));return function(){var $ret=new $.ig.Level;$ret.name(c);$ret.uniqueName(d);$ret.caption(e);$ret.description(f);$ret.dimensionUniqueName(g);$ret.hierarchyUniqueName(h);$ret.depth($.ig.Number.prototype.parseInt(i));$ret.membersCount($.ig.Number.prototype.parseInt(j));$ret.levelOrigin(String.isNullOrEmpty(k)?0:$.ig.Number.prototype.parseInt(k));$ret.levelOrderingProperty(l);return $ret}()},$type:new $.ig.Type("LevelXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.Level.prototype.$type)])},true);$.ig.util.defType("MeasureGroupDimensionXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a!=null){return}$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.a,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.a,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.c,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.c,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.d,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.d,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.f,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.f,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.e,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.e,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.g,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.g,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.h,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.h,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.i,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.i,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.j,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.j,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.k,$.ig.XName.prototype.i($.ig.MeasureGroupDimensionConstants.prototype.k,$.ig.XmlaNamespace.prototype.d))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.a)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.c)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.d)));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.f)));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.e)));var h=g=="ONE"?$.ig.CardinalityType.prototype.one:$.ig.CardinalityType.prototype.many;var i=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.g)));var j=i=="ONE"?$.ig.CardinalityType.prototype.one:$.ig.CardinalityType.prototype.many;var k=$.ig.SerializerUtils.prototype.c(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.h)));var l=$.ig.SerializerUtils.prototype.c(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.i)));var m=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.j)));var n=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupDimensionConstants.prototype.k)));return function(){var $ret=new $.ig.MeasureGroupDimension;$ret.catalogName(c);$ret.cubeName(d);$ret.measureGroupName(e);$ret.dimensionUniqueName(f);$ret.measureGroupCardinality(h);$ret.dimensionCardinality(j);$ret.isDimensionVisible(k);$ret.isFactDimension(l);$ret.dimensionPath(m);$ret.dimensionGranularity(n);return $ret}()},$type:new $.ig.Type("MeasureGroupDimensionXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.MeasureGroupDimension.prototype.$type)])},true);$.ig.util.defType("MeasureGroupXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.MeasureGroupXmlTypeSerializer.prototype.a!=null){return}$.ig.MeasureGroupXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.a,$.ig.XName.prototype.i($.ig.MeasureGroupConstants.prototype.a,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.c,$.ig.XName.prototype.i($.ig.MeasureGroupConstants.prototype.c,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.d,$.ig.XName.prototype.i($.ig.MeasureGroupConstants.prototype.d,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.f,$.ig.XName.prototype.i($.ig.MeasureGroupConstants.prototype.f,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.e,$.ig.XName.prototype.i($.ig.MeasureGroupConstants.prototype.e,$.ig.XmlaNamespace.prototype.d))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.a)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.c)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.d)));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.f)));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureGroupXmlTypeSerializer.prototype.a.item($.ig.MeasureGroupConstants.prototype.e)));return function(){var $ret=new $.ig.MeasureGroup;$ret.catalogName(c);$ret.cubeName(d);$ret.name(e);$ret.caption(f);$ret.description(g);return $ret}()},$type:new $.ig.Type("MeasureGroupXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.MeasureGroup.prototype.$type)])},true);$.ig.util.defType("MeasureXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.MeasureXmlTypeSerializer.prototype.a!=null){return}$.ig.MeasureXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.d,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.d,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.e,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.e,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.f,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.f,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.l,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.l,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.r,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.r,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.p,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.p,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.g,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.g,$.ig.XmlaNamespace.prototype.d));$.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.q,$.ig.XName.prototype.i($.ig.MeasureConstants.prototype.q,$.ig.XmlaNamespace.prototype.d))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.d)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.e)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.f)));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.l)));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.r)));var h=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.p)));var i=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.g)));var j=$.ig.Number.prototype.parseInt(i);var k=$.ig.SerializerUtils.prototype.a(b.f($.ig.MeasureXmlTypeSerializer.prototype.a.item($.ig.MeasureConstants.prototype.q)));return function(){var $ret=new $.ig.Measure;$ret.name(c);$ret.uniqueName(d);$ret.caption(e);$ret.description(f);$ret.defaultFormatString(g);$ret.measureGroupName(h);$ret.aggregatorType(j);$ret.measureDisplayFolder(k);return $ret}()},$type:new $.ig.Type("MeasureXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.Measure.prototype.$type)])},true);$.ig.util.defType("MemberXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this);if($.ig.MemberXmlTypeSerializer.prototype.a!=null){return}$.ig.MemberXmlTypeSerializer.prototype.a=new $.ig.Dictionary$2(String,$.ig.XName.prototype.$type,0);$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.a,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.a,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.c,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.c,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.h,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.h,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.i,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.i,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.j,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.j,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.d,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.d,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.e,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.e,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.f,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.f,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.l,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.l,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.q,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.q,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.g,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.g,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.m,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.m,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.o,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.o,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.v,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.v,$.ig.XmlaNamespace.prototype.d));$.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.n,$.ig.XName.prototype.i($.ig.MemberConstants.prototype.n,$.ig.XmlaNamespace.prototype.d))},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.a)));var d=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.c)));var e=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.h)));var f=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.i)));var g=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.j)));var h=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.d)));var i=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.e)));var j=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.f)));var k=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.l)));var l=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.q)));var m=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.g)));var n=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.m)));var o=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.o)));var p=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.v)));var q=$.ig.SerializerUtils.prototype.a(b.f($.ig.MemberXmlTypeSerializer.prototype.a.item($.ig.MemberConstants.prototype.n)));return function(){var $ret=new $.ig.Member;$ret.catalogName(c);$ret.cubeName(d);$ret.dimensionUniqueName(h);$ret.hierarchyUniqueName(i);$ret.levelUniqueName(j);$ret.levelDepth($.ig.Number.prototype.parseInt(m));$ret.name(e);$ret.uniqueName(f);$ret.memberType($.ig.Number.prototype.parseInt(g));$ret.caption(k);$ret.childrenCardinality($.ig.Number.prototype.parseInt(n));$ret.description(l);$ret.parentUniqueName(o);$ret.scope($.ig.util.toNullable($.ig.Number.prototype.$type,p==null?null:$.ig.Number.prototype.parseInt(p)));$ret.parentLevel(String.isNullOrEmpty(q)?0:$.ig.Number.prototype.parseInt(q));return $ret}()},$type:new $.ig.Type("MemberXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.Member.prototype.$type)])},true);$.ig.util.defType("ResultXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},deserialize:function(a){var $self=this;if(a.b()!=$.ig.XmlNodeType.prototype.element){return null}var b=a;var c=b.l().d();switch(c){case $.ig.XmlaNamespace.prototype.e:return function(){var $ret=new $.ig.OlapResult;$ret.isEmpty(true);return $ret}();case $.ig.XmlaNamespace.prototype.c:var d=b.f($.ig.XName.prototype.i("OlapInfo",$.ig.XmlaNamespace.prototype.c));var e=b.f($.ig.XName.prototype.i("Axes",$.ig.XmlaNamespace.prototype.c));var f=new $.ig.ArraySerializer;var g=f.b($.ig.OlapResultAxis.prototype.$type,e,$.ig.XName.prototype.i("Axis",$.ig.XmlaNamespace.prototype.c),new $.ig.AxisXmlTypeSerializer);var h=b.f($.ig.XName.prototype.i("CellData",$.ig.XmlaNamespace.prototype.c));var i=f.b($.ig.OlapResultAxis.prototype.$type,h,$.ig.XName.prototype.i("Cell",$.ig.XmlaNamespace.prototype.c),new $.ig.CellXmlTypeSerializer);return function(){var $ret=new $.ig.OlapResult;$ret.axes(g);$ret.cells(i);return $ret}()}return null},$type:new $.ig.Type("ResultXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.OlapResult.prototype.$type)])},true);$.ig.util.defType("SerializerUtils","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a){if(a!=null){return a.k()}else{return null}},b:function(a){if(a!=null){return a.f()}else{return null}},c:function(a){var b=$.ig.SerializerUtils.prototype.a(a).toLowerCase();return b=="true"},d:function(a){if(a!=null&&!String.isNullOrEmpty(a.k())){return $.ig.SerializerUtils.prototype.e(a.k())}else{return $.ig.SerializerUtils.prototype.f()}},e:function(a){var dateString_=a;var b;b=function(text){var match=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(.*)$/.exec(text);if(!match){throw"Invalid textual date representation."}var year=parseInt(match[1],10);var month=parseInt(match[2],10)-1;var day=parseInt(match[3],10);var hours=parseInt(match[4],10);var minutes=parseInt(match[5],10);var seconds=parseInt(match[6],10);return new Date(year,month,day,hours,minutes,seconds)}(dateString_);return b},f:function(){var a;a=new Date(2e3,0,1);return a},$type:new $.ig.Type("SerializerUtils",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaSoapFault","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("XmlaSoapFault",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaSoapFaultXmlTypeSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},deserialize:function(a){var $self=this;var b=a;var c=new $.ig.XmlaSoapFault;var e=b.g().getEnumerator();while(e.moveNext()){var d=e.current();switch(d.l().c()){case"faultcode":c.e($.ig.SerializerUtils.prototype.a(d));break;case"faultstring":c.f($.ig.SerializerUtils.prototype.a(d));break;case"faultactor":c.g($.ig.SerializerUtils.prototype.a(d));break}}var f=b.f($.ig.XName.prototype.i("detail",""));if(f!=null){var g=f.h($.ig.XName.prototype.i("Error",""));var h=new $.ig.List$1($.ig.FaultError.prototype.$type,0);var i=new $.ig.ErrorXmlTypeSerializer;var k=g.getEnumerator();while(k.moveNext()){var j=k.current();var l=i.deserialize(j);h.add(l)}c.h(function(){var $ret=new $.ig.FaultDetail;$ret.b(h.x());return $ret}())}return c},$type:new $.ig.Type("XmlaSoapFaultXmlTypeSerializer",$.ig.Object.prototype.$type,[$.ig.IXmlTypeSerializer$1.prototype.$type.specialize($.ig.XmlaSoapFault.prototype.$type)])},true);$.ig.util.defType("XmlaSoapMethodResult","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:null,returnElement:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},_sessionId:null,sessionId:function(a){if(arguments.length===1){this._sessionId=a;return a}else{return this._sessionId}},$type:new $.ig.Type("XmlaSoapMethodResult",$.ig.Object.prototype.$type,[$.ig.IXmlaMethodResult.prototype.$type])},true);$.ig.util.defType("DiscoverResponseResult","XmlaSoapMethodResult",{init:function(){$.ig.XmlaSoapMethodResult.prototype.init.call(this)},$type:new $.ig.Type("DiscoverResponseResult",$.ig.XmlaSoapMethodResult.prototype.$type)},true);$.ig.util.defType("RequestCompletedEventArgs$1","AsyncCompletedEventArgs",{$t:null,e:null,init:function($t,a,b,c,d){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.AsyncCompletedEventArgs.prototype.init.call(this,b,c,d);this.e=a},result:function(){$.ig.AsyncCompletedEventArgs.prototype.d.call(this);return this.e},$type:new $.ig.Type("RequestCompletedEventArgs$1",$.ig.AsyncCompletedEventArgs.prototype.$type)},true);$.ig.util.defType("ExecuteResponseResult","XmlaSoapMethodResult",{init:function(){$.ig.XmlaSoapMethodResult.prototype.init.call(this)},$type:new $.ig.Type("ExecuteResponseResult",$.ig.XmlaSoapMethodResult.prototype.$type)},true);$.ig.util.defType("FaultDetail","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("FaultDetail",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IXmlaSoapMethod","Object",{$type:new $.ig.Type("IXmlaSoapMethod",null)},true);$.ig.util.defType("XmlaNamespace","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("XmlaNamespace",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaQueryProperty","Object",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this)},init1:function(initNumber,a,b){$.ig.Object.prototype.init.call(this);this.c(a);this.d(b)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},toString:function(){return String.concat5(this.c()," = ",this.d())},$type:new $.ig.Type("XmlaQueryProperty",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaPropertiesCollection","Object",{a:null,b:null,c:null,init:function(){$.ig.Object.prototype.init.call(this);
this.a=new $.ig.Dictionary$2(String,$.ig.XmlaQueryProperty.prototype.$type,0);this.b=new $.ig.Dictionary$2(String,$.ig.Number.prototype.$type,0);this.c=new $.ig.List$1($.ig.XmlaQueryProperty.prototype.$type,0)},d:function(a,b){var $self=this;return{ret:function(){var $ret=$self.a.tryGetValue(a,b);b=$ret.value;return $ret.ret}(),value:b};return{value:b}},contains:function(a){return this.a.containsKey(a)},indexOf:function(a){return this.c.indexOf(a)},insert:function(a,b){this.a.add(b.c(),b);this.c.insert(a,b)},removeAt:function(a){if(a<this.c.count()){var b=this.c.item(a);if(this.a.remove(b.c())){this.c.removeAt(a)}}},item:function(b,a){if(arguments.length===2){var c=this.c.item(b);this.a.remove(c.c());this.a.add(a.c(),a);this.c.item(b,a);return a}else{return this.c.item(b)}},add:function(a){this.a.add(a.c(),a);this.c.add(a)},clear:function(){this.c.clear();this.a.clear()},contains1:function(a){return this.c.contains(a)},e:function(a,b){this.c.copyTo(a,b)},count:function(){return this.c.count()},isReadOnly:function(){return this.c.isReadOnly()},remove:function(a){if(this.c.remove(a)){return this.a.remove(a.c())}return false},getEnumerator:function(){return this.c.getEnumerator()},isFixedSize:function(){return false},isSynchronized:function(){return this.c.isSynchronized()},syncRoot:function(){return this.c.syncRoot()},$type:new $.ig.Type("XmlaPropertiesCollection",$.ig.Object.prototype.$type,[$.ig.IList$1.prototype.$type.specialize($.ig.XmlaQueryProperty.prototype.$type),$.ig.IList.prototype.$type])},true);$.ig.util.defType("XmlaSoapMessageBuilder","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},j:function(){if(this.g()==null){throw new $.ig.InvalidOperationException(1,"XmlaMethod is not specified.")}var a=$.ig.XNamespace.prototype.d($.ig.XmlaSoapMessageBuilder.prototype.e);this.g().construct(a);var b=this.k();return b.toString()},k:function(){var a=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMessageBuilder.prototype.a,$.ig.XmlaSoapMessageBuilder.prototype.e));this.l(a);this.m(a);return a},l:function(a){var b=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMessageBuilder.prototype.b,a.l().e().c()));a.j(b);var d=this.g().headers().getEnumerator();while(d.moveNext()){var c=d.current();b.j(c)}},m:function(a){var b=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMessageBuilder.prototype.c,a.l().e().c()));a.j(b);var c=new $.ig.XElement(1,$.ig.XName.prototype.i(this.g().name(),$.ig.XmlaNamespace.prototype.b));b.j(c);var e=this.g().parameters().getEnumerator();while(e.moveNext()){var d=e.current();c.j(d)}},$type:new $.ig.Type("XmlaSoapMessageBuilder",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaSoapMethod","Object",{c:null,d:null,e:null,f:null,g:null,init:function(){$.ig.Object.prototype.init.call(this);this.e=new $.ig.List$1($.ig.XElement.prototype.$type,0);this.f=new $.ig.List$1($.ig.XElement.prototype.$type,0);this.c=new $.ig.ReadOnlyCollection$1($.ig.XElement.prototype.$type,1,this.e);this.d=new $.ig.ReadOnlyCollection$1($.ig.XElement.prototype.$type,1,this.f);this.g=new $.ig.XmlaPropertiesCollection},properties:function(){return this.g},_name:null,name:function(){return this._name},parameters:function(){return this.c},headers:function(){return this.d},h:function(){return this.e},i:function(){return this.f},construct:function(a){},mergeProperties:function(a){var $self=this;if(a==null){return}var c=a.getEnumerator();while(c.moveNext()){var b=c.current();var d;if(function(){var $ret=$self.properties().d(b.c(),d);d=$ret.value;return $ret.ret}()){d.d(b.d())}else{this.properties().add(b)}}},$type:new $.ig.Type("XmlaSoapMethod",$.ig.Object.prototype.$type,[$.ig.IXmlaSoapMethod.prototype.$type])},true);$.ig.util.defType("XmlaSoapMethodDiscover","XmlaSoapMethod",{q:null,init:function(a){$.ig.XmlaSoapMethod.prototype.init.call(this);this.w($.ig.XmlaSoapMessageHeader.prototype.none);this.v(a);this.q=new $.ig.Dictionary$2(String,$.ig.Object.prototype.$type,0)},u:function(){return this.q},_v:null,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},name:function(){return $.ig.XmlaSoapMethodDiscover.prototype.l},_w:null,w:function(a){if(arguments.length===1){this._w=a;return a}else{return this._w}},_x:null,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},construct:function(a){var b=$.ig.XNamespace.prototype.d($.ig.XmlaNamespace.prototype.b);var c=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodDiscover.prototype.m,b.c()));c.k(this.v());var d=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodDiscover.prototype.a,$.ig.XmlaNamespace.prototype.b));var e=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodDiscover.prototype.b,d.l().e().c()));d.j(e);var f=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodDiscover.prototype.n,$.ig.XmlaNamespace.prototype.b));var g=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodDiscover.prototype.o,f.l().e().c()));f.j(g);var i=this.properties().getEnumerator();while(i.moveNext()){var h=i.current();e.j(new $.ig.XElement(2,$.ig.XName.prototype.i(h.c(),$.ig.XmlaNamespace.prototype.b),h.d()))}var k=this.q.getEnumerator();while(k.moveNext()){var j=k.current();g.j(new $.ig.XElement(2,$.ig.XName.prototype.i(j.key(),""),j.value()))}this.h().add(c);this.h().add(f);this.h().add(d)},$type:new $.ig.Type("XmlaSoapMethodDiscover",$.ig.XmlaSoapMethod.prototype.$type)},true);$.ig.util.defType("XmlaSoapMethodExecute","XmlaSoapMethod",{init:function(a){$.ig.XmlaSoapMethod.prototype.init.call(this);this.p(a)},name:function(){return $.ig.XmlaSoapMethodExecute.prototype.l},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},construct:function(a){var b=$.ig.XNamespace.prototype.d($.ig.XmlaNamespace.prototype.b);var c=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodExecute.prototype.m,b.c()));var d=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodExecute.prototype.n,b.c()));d.k(this.p());c.j(d);var e=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodExecute.prototype.a,$.ig.XmlaNamespace.prototype.b));var f=new $.ig.XElement(1,$.ig.XName.prototype.i($.ig.XmlaSoapMethodExecute.prototype.b,e.l().e().c()));e.j(f);var h=this.properties().getEnumerator();while(h.moveNext()){var g=h.current();f.j(new $.ig.XElement(2,$.ig.XName.prototype.i(g.c(),$.ig.XmlaNamespace.prototype.b),g.d()))}this.h().add(c);this.h().add(e)},$type:new $.ig.Type("XmlaSoapMethodExecute",$.ig.XmlaSoapMethod.prototype.$type)},true);$.ig.util.defType("XmlaSoapWebClient","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:null,staticInit:function(){$.ig.XmlaSoapWebClient.prototype.a=new $.ig.List$1(String,0)},$type:new $.ig.Type("XmlaSoapWebClient",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaSoapWebClient$1","XmlaSoapWebClient",{$t:null,b:null,c:null,init:function($t,a,b){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.XmlaSoapWebClient.prototype.init.call(this);this.b=new $.ig.WebClient;this.b.e(b);this.b.uploadStringCompleted=$.ig.Delegate.prototype.combine(this.b.uploadStringCompleted,this.t.runOn(this));this.h(a)},requestCompleted:null,_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},i:function(){return this.c},q:function(a){this.r(a,null)},r:function(a,b){var c=new $.ig.XmlaSoapMessageBuilder;c.g(a);var d=c.j();if(this.g()!=null){this.b.g(this.g())}else{this.b.g(null)}this.b.f().item("Content-Type","text/xml");this.b.p(this.h(),"POST",d,b)},s:function(a){if(this.requestCompleted!=null){this.requestCompleted(this,a)}},t:function(a,b){this.c=true;this.u(b)},u:function(a){var b=null;var c=null;var d=null;if(!a.cancelled()&&a.error()==null){try{var e=$.ig.XDocument.prototype.k(a.result());var f=e.f($.ig.XName.prototype.i("Envelope","http://schemas.xmlsoap.org/soap/envelope/"));var g=f.f($.ig.XName.prototype.i("Body","http://schemas.xmlsoap.org/soap/envelope/"));var h=g.f($.ig.XName.prototype.i("Fault","http://schemas.xmlsoap.org/soap/envelope/"));if(h!=null){var i=new $.ig.XmlaSoapFaultXmlTypeSerializer;var j=i.deserialize(h);c=new $.ig.FaultException$1($.ig.XmlaSoapFault.prototype.$type,j,new $.ig.FaultReason(j.f()),new $.ig.FaultCode(j.e()),null)}else{if(this.$t==$.ig.DiscoverResponseResult.prototype.$type){var k=g.f($.ig.XName.prototype.i("DiscoverResponse",$.ig.XmlaNamespace.prototype.b));var l=k.f($.ig.XName.prototype.i("return",$.ig.XmlaNamespace.prototype.b));var m=l.f($.ig.XName.prototype.i("root",$.ig.XmlaNamespace.prototype.d));var n=new $.ig.DiscoverResponseResult;n.returnElement(m);b=n}if(this.$t==$.ig.ExecuteResponseResult.prototype.$type){var o=g.f($.ig.XName.prototype.i("ExecuteResponse",$.ig.XmlaNamespace.prototype.b));var p=o.f($.ig.XName.prototype.i("return",$.ig.XmlaNamespace.prototype.b));var q=p.f($.ig.XName.prototype.i("root",$.ig.XmlaNamespace.prototype.c));var r=new $.ig.ExecuteResponseResult;r.returnElement(q);b=r}}}catch(e_){d=e_}}if(d==null){d=a.error()!=null?a.error():c}var s=new $.ig.RequestCompletedEventArgs$1(this.$t,b,d,a.cancelled(),a.userState());this.s(s)},$type:new $.ig.Type("XmlaSoapWebClient$1",$.ig.XmlaSoapWebClient.prototype.$type)},true);$.ig.util.defType("IMdxExpression","Object",{$type:new $.ig.Type("IMdxExpression",null)},true);$.ig.util.defType("IMdxElement","Object",{$type:new $.ig.Type("IMdxElement",null,[$.ig.IMdxExpression.prototype.$type])},true);$.ig.util.defType("IAxisFilterElement","Object",{$type:new $.ig.Type("IAxisFilterElement",null,[$.ig.IMdxElement.prototype.$type])},true);$.ig.util.defType("IMdxAxis","Object",{$type:new $.ig.Type("IMdxAxis",null,[$.ig.IMdxExpression.prototype.$type])},true);$.ig.util.defType("IMdxCollectionElement","Object",{$type:new $.ig.Type("IMdxCollectionElement",null,[$.ig.IMdxElement.prototype.$type])},true);$.ig.util.defType("IMdxFilterInfo","Object",{$type:new $.ig.Type("IMdxFilterInfo",null)},true);$.ig.util.defType("IMdxExtendedFilterInfo","Object",{$type:new $.ig.Type("IMdxExtendedFilterInfo",null,[$.ig.IMdxFilterInfo.prototype.$type])},true);$.ig.util.defType("IMdxSet","Object",{$type:new $.ig.Type("IMdxSet",null,[$.ig.IMdxExpression.prototype.$type])},true);$.ig.util.defType("MdxAxis","Object",{a:null,b:null,c:null,d:null,e:null,f:null,init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.f=function(){var $ret=new Array;$ret.add("COLUMNS");$ret.add("ROWS");$ret.add("PAGES");return $ret}();$.ig.MdxAxis.prototype.init1.call(this,1,a,new $.ig.MdxDimensionAxisSettings)},init1:function(initNumber,a,b){var $self=this;this.f=function(){var $ret=new Array;$ret.add("COLUMNS");$ret.add("ROWS");$ret.add("PAGES");return $ret}();$.ig.Object.prototype.init.call(this);this.axisIndex(a);this.h(b!=null?b:new $.ig.MdxDimensionAxisSettings);this.a=new $.ig.List$1($.ig.IMdxSet.prototype.$type,0);this.b=new $.ig.ReadOnlyCollection$1($.ig.IMdxSet.prototype.$type,1,this.a)},axisIndex:function(a){if(arguments.length===1){if(this.e!=a){this.e=a;this.c=false}return a}else{return this.e}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},i:function(){return $.ig.util.cast($.ig.MdxDimensionAxisSettings.prototype.$type,this.h())},j:function(){return this.b},mdxExpression:function(){if(!this.c){this.d=this.o();this.c=true}return this.d},rebuildExpression:function(){this.d=this.o();this.c=true},getMdxSets:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=this.$this.b.getEnumerator();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=this.$a.current();this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$a.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.IMdxSet.prototype.$type,$iter)},addSet:function(a){this.a.add(a);this.c=false},o:function(){var a=new $.ig.StringBuilder;var b=false;var d=this.j().getEnumerator();while(d.moveNext()){var c=d.current();if(!c.isEnabled()){continue}if(b){a.d(",");a.d($.ig.Environment.prototype.a())}a.d(c.mdxExpression());b=true}if(this.j().count()>1){a.i(0,"{");a.d("}")}this.p(a,this.i());this.q(a,this.i());this.r(a,this.i());this.s(a);return a.toString()},p:function(a,b){if(b.k()){a.i(0,"Distinct(");a.d(")")}},q:function(a,b){if(b.l()){a.i(0,$.ig.Environment.prototype.a());a.i(0,"NON EMPTY")}},r:function(a,b){if(b.m()){a.d($.ig.Environment.prototype.a());a.d("DIMENSION PROPERTIES");var c=b.p();var d=false;var f=c.getEnumerator();while(f.moveNext()){var e=f.current();a.d($.ig.Environment.prototype.a());if(d){a.d(",")}a.d(e);d=true}}},s:function(a){if(this.axisIndex()<2){a.d($.ig.Environment.prototype.a());a.d(String.concat2("ON ",this.f[this.axisIndex()]))}},$type:new $.ig.Type("MdxAxis",$.ig.Object.prototype.$type,[$.ig.IMdxAxis.prototype.$type])},true);$.ig.util.defType("MdxAxisFilterElement","Object",{a:null,b:null,init:function(){$.ig.Object.prototype.init.call(this);this.b=new $.ig.List$1($.ig.IMdxElement.prototype.$type,0);this.singleFilterElements(new $.ig.ReadOnlyCollection$1($.ig.IMdxElement.prototype.$type,1,this.b));this.a=new $.ig.MdxElementCollectionElement},mdxExpression:function(){var $self=this;if(this.a.collectionElements().count()>1){this.a.f(function(){var $ret=new Array;$ret.add("(");$ret.add(")");return $ret}())}return this.a.mdxExpression()},_singleFilterElements:null,singleFilterElements:function(a){if(arguments.length===1){this._singleFilterElements=a;return a}else{return this._singleFilterElements}},filterCollection:function(){return this.a.collectionElements()},rebuildExpression:function(){this.a.rebuildExpression()},addFilterPart:function(a,b){if(a.collectionElements().count()>0){if(a.collectionElements().count()==1&&b){this.b.add(a.collectionElements().item(0));return}this.a.addElement(a)}},elementType:function(){return $.ig.MdxElementType.prototype.filter},$type:new $.ig.Type("MdxAxisFilterElement",$.ig.Object.prototype.$type,[$.ig.IAxisFilterElement.prototype.$type])},true);$.ig.util.defType("MdxCalculatedMembersCache","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.List$1(String,0);this.b=new $.ig.Dictionary$2(String,String,0)},a:null,b:null,c:function(a){var b=new $.ig.StringBuilder;var d=a.e().getEnumerator();while(d.moveNext()){var c=d.current();$.ig.MdxCalculatedMembersCache.prototype.g(b,c.key(),c.value())}return b.toString()},d:function(a,b,c){if(!this.a.contains(a)){this.a.add(a)}if(!this.b.containsKey(b)){this.b.add(b,c)}},e:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=this.$this.b.getEnumerator();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=this.$a.current();this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$a.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.KeyValuePair$2.prototype.$type.specialize(String,String),$iter)},f:function(a){return this.a.contains(a)},g:function(a,b,c){a.d(String.concat7("MEMBER ",b," AS",$.ig.Environment.prototype.a()));a.d(c);a.d($.ig.Environment.prototype.a())},$type:new $.ig.Type("MdxCalculatedMembersCache",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MdxElement","Object",{init:function(){$.ig.Object.prototype.init.call(this);this.elementType($.ig.MdxElementType.prototype.userDefined)},_mdxExpression:null,mdxExpression:function(){return this._mdxExpression},_elementType:null,elementType:function(a){if(arguments.length===1){this._elementType=a;return a}else{return this._elementType}},_sourceItemExpression:null,sourceItemExpression:function(a){if(arguments.length===1){this._sourceItemExpression=a;return a}else{return this._sourceItemExpression}},rebuildExpression:function(){},$type:new $.ig.Type("MdxElement",$.ig.Object.prototype.$type,[$.ig.IMdxItemElement.prototype.$type])},true);$.ig.util.defType("MdxSingleElement","MdxElement",{init:function(initNumber,a,b,c){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.MdxSingleElement.prototype.init1.call(this,1,a,b,c,$.ig.MdxElementType.prototype.member)},init1:function(initNumber,a,b,c,d){$.ig.MdxElement.prototype.init.call(this);this.h(c);switch(d){case $.ig.MdxElementType.prototype.member:case $.ig.MdxElementType.prototype.calculated:this.sourceItemExpression(a);this.g(b);this.elementType(d);break;default:throw new $.ig.ArgumentException(1,"Element type could be MdxElementType.Member or MdxElementType.Calculated","elementType")}},mdxExpression:function(){return this.sourceItemExpression()},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},$type:new $.ig.Type("MdxSingleElement",$.ig.MdxElement.prototype.$type)},true);$.ig.util.defType("MdxDimensionMember","MdxSingleElement",{init:function(a,b,c,d,e){$.ig.MdxSingleElement.prototype.init.call(this,a,b,c);this.o(d);this.p(e)},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},$type:new $.ig.Type("MdxDimensionMember",$.ig.MdxSingleElement.prototype.$type)},true);$.ig.util.defType("MdxChildrenCollectionElement","MdxDimensionMember",{init:function(a,b,c,d,e){$.ig.MdxDimensionMember.prototype.init.call(this,a,b,c,d,e)},mdxExpression:function(){return String.concat2(this.sourceItemExpression(),".Children")},$type:new $.ig.Type("MdxChildrenCollectionElement",$.ig.MdxDimensionMember.prototype.$type)},true);$.ig.util.defType("MdxElementCollectionElement","Object",{a:null,b:null,c:null,d:null,init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.List$1($.ig.IMdxElement.prototype.$type,0);this.collectionElements(new $.ig.ReadOnlyCollection$1($.ig.IMdxElement.prototype.$type,1,this.a))},f:function(a){if(arguments.length===1){if(this.d!=a){this.b=false;this.d=a}return a}else{return this.d}},_collectionElements:null,collectionElements:function(a){if(arguments.length===1){this._collectionElements=a;return a}else{return this._collectionElements}},elementType:function(){return $.ig.MdxElementType.prototype.collection},mdxExpression:function(){if(!this.b){this.c=this.j();this.b=true}return this.c},rebuildExpression:function(){this.c=this.j();this.b=true},addElement:function(a){var $self=this;this.a.add(a);if(this.collectionElements().count()>1){this.f(function(){var $ret=new Array;$ret.add("{");$ret.add("}");return $ret}())}this.b=false},j:function(){if(this.collectionElements().count()==0){return String.empty()}var a=new $.ig.StringBuilder;var b=false;var d=this.collectionElements().getEnumerator();while(d.moveNext()){var c=d.current();if(b){a.d(",");a.d($.ig.Environment.prototype.a())}a.d(c.mdxExpression());b=true}if(this.f()!=null&&this.f().length==2){a.i(0,this.f()[0]);a.d(this.f()[1])}return a.toString()},$type:new $.ig.Type("MdxElementCollectionElement",$.ig.Object.prototype.$type,[$.ig.IMdxCollectionElement.prototype.$type])},true);$.ig.util.defType("MdxLevelMembersElement","MdxSingleElement",{init:function(a,b,c){$.ig.MdxSingleElement.prototype.init.call(this,a,b,c)},mdxExpression:function(){return String.concat2(this.sourceItemExpression(),".MEMBERS")},$type:new $.ig.Type("MdxLevelMembersElement",$.ig.MdxSingleElement.prototype.$type)},true);$.ig.util.defType("MdxQueryBuilder","Object",{a:null,init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.MdxQueryBuilder.prototype.init1.call(this,1,new $.ig.MdxSettings)},init1:function(initNumber,a){$.ig.Object.prototype.init.call(this);this.b(a)},b:function(a){if(arguments.length===1){this.a=a;return a}else{if(this.a==null){this.a=new $.ig.MdxSettings}return this.a}},e:function(a,b,c,d,e){var f=c;var g=this.f(a,b,f,d);var h=this.j(f);var i=this.g(f,e);var j=new $.ig.StringBuilder;if(!String.isNullOrEmpty(g)){j.d(String.concat2("WITH",$.ig.Environment.prototype.a()))}j.d(g);j.d("SELECT");j.d($.ig.Environment.prototype.a());if(a!=null){j.d(a.mdxExpression())}if(b!=null){if(a==null){b.axisIndex(0)}else{j.d(String.concat2(",",$.ig.Environment.prototype.a()))}j.d(b.mdxExpression())}j.d($.ig.Environment.prototype.a());j.d(i);if(!String.isNullOrEmpty(h)){j.d($.ig.Environment.prototype.a());j.d(h)}var k=j.toString();return k},f:function(a,b,c,d){return $.ig.MdxCalculatedMembersCache.prototype.c(d)},g:function(a,b){var c=String.concat7("FROM ","[",b,"]");var d=$.ig.util.cast($.ig.IMdxExtendedFilterInfo.prototype.$type,a);c=this.i(c,a.filtersFilter());if(a.columnsFilter()!=null){c=this.i(c,a.columnsFilter(),a.rowsFilter())}else{c=this.i(c,a.rowsFilter())}if(d!=null){c=this.h(c,d)}return c},h:function(a,b){if(b.filterElements()!=null&&b.filterElements().count()>0){var d=b.filterElements().getEnumerator();while(d.moveNext()){var c=d.current();var e=new $.ig.StringBuilder;e.i(0,String.concat("FROM",$.ig.Environment.prototype.a(),"(",$.ig.Environment.prototype.a(),"SELECT",$.ig.Environment.prototype.a()));e.d(String.concat5(c.mdxExpression()," ON COLUMNS",$.ig.Environment.prototype.a()));e.d(a);e.d(this.j(b));e.d(String.concat2(")",$.ig.Environment.prototype.a()));a=e.toString()}}return a},i:function(a,b,c){if(b==null||b.filterCollection().count()==0){return a}var d=new $.ig.StringBuilder;d.d("FROM");d.d($.ig.Environment.prototype.a());d.d("(");d.d($.ig.Environment.prototype.a());d.d("SELECT");d.d($.ig.Environment.prototype.a());d.d(b.mdxExpression());d.d(" ON COLUMNS");if(c!=null&&c.filterCollection().count()>0){d.d($.ig.Environment.prototype.a());d.d(", ");d.d(c.mdxExpression());d.d(" ON ROWS")}d.d($.ig.Environment.prototype.a());d.d(a);d.d($.ig.Environment.prototype.a());d.d(")");return d.toString()},j:function(a){var $self=this;var b=new $.ig.MdxElementCollectionElement;if(a.measureFilter()!=null&&a.measureFilter().singleFilterElements().count()==1){b.addElement(a.measureFilter().singleFilterElements().item(0))}if(a.filtersFilter()!=null){var d=a.filtersFilter().singleFilterElements().getEnumerator();while(d.moveNext()){var c=d.current();b.addElement(c)}}if(b.collectionElements().count()==0){return String.empty()}b.f(function(){var $ret=new Array;$ret.add("(");$ret.add(")");return $ret}());return String.concat2("WHERE ",b.mdxExpression())},$type:new $.ig.Type("MdxQueryBuilder",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MdxSet","Object",{a:null,b:null,c:null,d:null,init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.MdxSet.prototype.init1.call(this,1,new $.ig.MdxSetSettings);this.a=new $.ig.List$1($.ig.IMdxElement.prototype.$type,0);this.b=new $.ig.ReadOnlyCollection$1($.ig.IMdxElement.prototype.$type,1,this.a);this.isEnabled(true)},init1:function(initNumber,a){$.ig.Object.prototype.init.call(this);this.a=new $.ig.List$1($.ig.IMdxElement.prototype.$type,0);this.b=new $.ig.ReadOnlyCollection$1($.ig.IMdxElement.prototype.$type,1,this.a);this.isEnabled(true);this.g(a!=null?a:new $.ig.MdxSetSettings)},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_isEnabled:null,isEnabled:function(a){if(arguments.length===1){this._isEnabled=a;return a}else{return this._isEnabled}},h:function(){return this.b},mdxExpression:function(){if(!this.c){this.d=this.m();this.c=true}return this.d},rebuildExpression:function(){this.d=this.m();this.c=true},addElement:function(a){if(this.l(a)){this.a.add(a);this.c=false}},getMdxElements:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=this.$this.a.getEnumerator();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=this.$a.current();this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$a.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($.ig.IMdxElement.prototype.$type,$iter)},l:function(a){switch(a.elementType()){case $.ig.MdxElementType.prototype.memberTree:case $.ig.MdxElementType.prototype.member:case $.ig.MdxElementType.prototype.calculated:case $.ig.MdxElementType.prototype.collection:return true}return false},m:function(){$.ig.Debug.prototype.a(this.h().count()>0,"MdxSet.Elements collection is empty.");var a=new $.ig.StringBuilder;var b=this.h().item(0);this.n(a,b);for(var c=1;c<this.h().count();c++){a.i(0,"CrossJoin(");a.i(10,$.ig.Environment.prototype.a());a.d(",");a.d($.ig.Environment.prototype.a());var d=this.h().item(c);this.n(a,d);a.d(")")}return a.toString()},n:function(a,b){var c=new $.ig.StringBuilder;switch(b.elementType()){case $.ig.MdxElementType.prototype.calculated:var d=b;var e=d.g();c.d("{");c.d(e);c.d("}");break;case $.ig.MdxElementType.prototype.member:c.d("{");c.d(b.mdxExpression());c.d("}");break;case $.ig.MdxElementType.prototype.collection:case $.ig.MdxElementType.prototype.memberTree:c.d(b.mdxExpression());break}if($.ig.util.cast($.ig.MdxLevelMembersElement.prototype.$type,b)!==null||$.ig.util.cast($.ig.MdxChildrenCollectionElement.prototype.$type,b)!==null){this.p(c,b)}switch(b.elementType()){case $.ig.MdxElementType.prototype.memberTree:case $.ig.MdxElementType.prototype.member:this.o(c,b);break}a.e(c)},o:function(a,b){},p:function(a,b){if(this.g().d()){a.i(0,"AddCalculatedMembers(");a.d(")")}},clone:function(){var a=new $.ig.MdxSet(1,this.g());var c=this.h().getEnumerator();while(c.moveNext()){var b=c.current();a.addElement(b)}return a},$type:new $.ig.Type("MdxSet",$.ig.Object.prototype.$type,[$.ig.IMdxSet.prototype.$type])},true);$.ig.util.defType("MdxSettings","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,init:function(){$.ig.Object.prototype.init.call(this);this.r(new $.ig.MdxDimensionAxisSettings);this.s(new $.ig.MdxDimensionAxisSettings);this.t(new $.ig.MdxSlicerAxisSettings);this.ac(true);this.ad(true);var a=new $.ig.ObservableCollection$1(String,0);a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,this.ai.runOn(this));this.ag(a);var b=new $.ig.ObservableCollection$1(String,0);b.collectionChanged=$.ig.Delegate.prototype.combine(b.collectionChanged,this.aj.runOn(this));this.ah(b);this.ae(true);this.af(true);this.w(true);this.x(true);this.bj(this.ag());this.bj(this.ah())},ai:function(a,b){this.s().p().clear();var d=this.ag().getEnumerator();while(d.moveNext()){var c=d.current();this.s().p().add(c)}},aj:function(a,b){this.r().p().clear();var d=this.ah().getEnumerator();while(d.moveNext()){var c=d.current();this.r().p().add(c)}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},_s:null,s:function(a){if(arguments.length===1){this._s=a;return a}else{return this._s}},_t:null,t:function(a){if(arguments.length===1){this._t=a;return a}else{return this._t}},u:function(a){if(arguments.length===1){if(this.a!=a){this.a=a;this.s().n(a)}return a}else{return this.a}},v:function(a){if(arguments.length===1){if(this.b!=a){this.b=a;this.r().n(a)}return a}else{return this.b}},w:function(a){if(arguments.length===1){if(this.c!=a){this.c=a;this.s().o(a)}return a}else{return this.c}},x:function(a){if(arguments.length===1){if(this.d!=a){this.d=a;this.r().o(a)}return a}else{return this.d}},y:function(a){if(arguments.length===1){if(this.e!=a){this.e=a;this.s().j(a)}return a}else{return this.e}},z:function(a){if(arguments.length===1){if(this.f!=a){this.f=a;this.r().j(a)}return a}else{return this.f}},aa:function(a){if(arguments.length===1){if(this.g!=a){this.g=a;this.s().k(a)}return a}else{return this.g}},ab:function(a){if(arguments.length===1){if(this.h!=a){this.h=a;this.r().k(a)}return a}else{return this.h}},ac:function(a){if(arguments.length===1){if(this.i!=a){this.i=a;this.s().l(a)}return a}else{return this.i}},ad:function(a){if(arguments.length===1){if(this.j!=a){this.j=a;this.r().l(a)}return a}else{return this.j}},ae:function(a){if(arguments.length===1){if(this.k!=a){this.k=a;this.s().m(a)}return a}else{return this.k}},af:function(a){if(arguments.length===1){if(this.l!=a){this.l=a;this.r().m(a)}return a}else{return this.l}},_ag:null,ag:function(a){if(arguments.length===1){this._ag=a;return a}else{return this._ag}},_ah:null,ah:function(a){if(arguments.length===1){this._ah=a;return a}else{return this._ah}},bi:function(a){this.bj(a)},bj:function(a){a.clear();a.add("CHILDREN_CARDINALITY");a.add("PARENT_UNIQUE_NAME")},$type:new $.ig.Type("MdxSettings",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MdxAxisSettings","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("MdxAxisSettings",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MdxSlicerAxisSettings","MdxAxisSettings",{init:function(){$.ig.MdxAxisSettings.prototype.init.call(this)},$type:new $.ig.Type("MdxSlicerAxisSettings",$.ig.MdxAxisSettings.prototype.$type)},true);$.ig.util.defType("MdxDimensionAxisSettings","MdxAxisSettings",{a:null,b:null,init:function(){$.ig.MdxAxisSettings.prototype.init.call(this);this.p(new $.ig.List$1(String,0));this.i(new $.ig.MdxSetSettings)},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_k:null,k:function(a){if(arguments.length===1){this._k=a;return a}else{return this._k}},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},_m:null,m:function(a){if(arguments.length===1){this._m=a;return a}else{return this._m}},n:function(a){if(arguments.length===1){if(this.a!=a){this.a=a;this.i().c(a)}return a}else{return this.a}},o:function(a){if(arguments.length===1){if(this.b!=a){this.b=a;this.i().d(a)}return a}else{return this.b}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},$type:new $.ig.Type("MdxDimensionAxisSettings",$.ig.MdxAxisSettings.prototype.$type)},true);$.ig.util.defType("MdxSetSettings","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},$type:new $.ig.Type("MdxSetSettings",$.ig.Object.prototype.$type)},true);$.ig.util.defType("MdxSlicerAxis","MdxAxis",{init:function(a){$.ig.MdxAxis.prototype.init1.call(this,1,2,a)},_columnsFilter:null,columnsFilter:function(a){if(arguments.length===1){this._columnsFilter=a;return a}else{return this._columnsFilter}},_rowsFilter:null,rowsFilter:function(a){if(arguments.length===1){this._rowsFilter=a;return a}else{return this._rowsFilter}},_filtersFilter:null,filtersFilter:function(a){if(arguments.length===1){this._filtersFilter=a;return a}else{return this._filtersFilter}},_measureFilter:null,measureFilter:function(a){if(arguments.length===1){this._measureFilter=a;return a}else{return this._measureFilter}},_filterElements:null,filterElements:function(a){if(arguments.length===1){this._filterElements=a;
return a}else{return this._filterElements}},$type:new $.ig.Type("MdxSlicerAxis",$.ig.MdxAxis.prototype.$type,[$.ig.IMdxSlicerAxis.prototype.$type])},true);$.ig.util.defType("MdxSlicerSet","MdxSet",{init:function(){$.ig.MdxSet.prototype.init.call(this)},l:function(a){return $.ig.util.cast($.ig.IAxisFilterElement.prototype.$type,a)!==null},$type:new $.ig.Type("MdxSlicerSet",$.ig.MdxSet.prototype.$type)},true);$.ig.util.defType("MdxDimensionAxisProvider","Object",{a:null,b:null,c:null,init:function(initNumber,a,b,c,d){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.a=new $.ig.Dictionary$2(String,$.ig.MdxElementCollectionElement.prototype.$type,0);this.b=new $.ig.List$1(String,0);this.c=-1;$.ig.Object.prototype.init.call(this);if(a==null){throw new $.ig.ArgumentNullException("xmlaDataSource")}this.o(a);this.n(b);this.p(c);this.m(d)},init1:function(initNumber,a,b,c){this.a=new $.ig.Dictionary$2(String,$.ig.MdxElementCollectionElement.prototype.$type,0);this.b=new $.ig.List$1(String,0);this.c=-1;$.ig.Object.prototype.init.call(this);this.n(b);this.r(a);this.q(c)},_l:null,l:function(a){if(arguments.length===1){this._l=a;return a}else{return this._l}},d:null,m:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},_n:null,n:function(a){if(arguments.length===1){this._n=a;return a}else{return this._n}},_o:null,o:function(a){if(arguments.length===1){this._o=a;return a}else{return this._o}},_p:null,p:function(a){if(arguments.length===1){this._p=a;return a}else{return this._p}},_q:null,q:function(a){if(arguments.length===1){this._q=a;return a}else{return this._q}},_r:null,r:function(a){if(arguments.length===1){this._r=a;return a}else{return this._r}},ag:function(){this.l(null)},extendAxis:function(a,b){var $self=this;var c=a;var d=this.q();var e=this.r().positionResolver();var f=new $.ig.MdxAxis(1,a.axisIndex(),this.n());var h=d.getEnumerator();while(h.moveNext()){var g=h.current();var i=new $.ig.MdxSet(1,c.h().i());var j=new $.ig.List$1($.ig.IMdxSet.prototype.$type,0);var k=e.getHostPositionItemInfo(g.position(),g.position().indexOf(g));var m=g.position().getItems().getEnumerator();while(m.moveNext()){var l=m.current();var n;if(l==g){n=new $.ig.MdxChildrenCollectionElement(l.key(),l.key(),-1,null,null);i.addElement(n);break}n=new $.ig.MdxSingleElement(0,l.key(),l.key(),l.depth());i.addElement(n)}var p=k.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(o){return o.key()==g.key()}).firstOrDefault$1($.ig.PositionItemInfo$2.prototype.$type);if(p!=null){if(p.count()==0){j.add(i)}else{this.ap(p,i,j,false,true,false)}var r=j.getEnumerator();while(r.moveNext()){var q=r.current();a.addSet(q);f.addSet(q)}}}return f},ah:function(a,b){if(this.c!=0){var c=new $.ig.MdxSet(1,this.n().i());if(this.c==-1){b.add(c)}this.ai(a,c,b);this.ap(a,new $.ig.MdxSet(1,this.n().i()),b,true,false,true)}else{this.ap(a,new $.ig.MdxSet(1,this.n().i()),b,false,false,true)}},ai:function(a,b,c){var $self=this;var e=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(d){return d.positionItemDepth()==a.positionItemDepthMin()}).toList$1($.ig.PositionItemInfo$2.prototype.$type);if(e.count()==0){return}if(this.c==a.positionItemIndex()+1){var h=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(f){return f.positionItemDepth()==0}).getEnumerator();while(h.moveNext()){var g=h.current();var i=b.clone();var j=new $.ig.MdxSingleElement(0,g.positionItem().key(),g.positionItem().key(),0);i.addElement(j);c.add(i);this.ak(g);if(g.count()==0){this.am(this.p(),g.positionItemIndex()+1,i)}else{this.ai(g,i,c)}}}else{var k=e.item(0);var l=new $.ig.MdxLevelMembersElement(k.hierarchyLevelKey(),k.hierarchyLevelKey(),a.positionItemDepthMin());b.addElement(l);this.ak(k);if(k.count()==0){if(this.c!=-1){c.add(b)}this.am(this.p(),k.positionItemIndex()+1,b)}else{this.ai(k,b,c)}}},createAxis:function(a){if(this.l()!=null){return this.l()}if(this.m()==null){this.l(this.al(a,this.p()));return this.l()}this.aj(a);this.ak(this.m());if(this.m().count()==0){this.l(this.al(a,this.p()));return this.l()}var b=new $.ig.List$1($.ig.IMdxSet.prototype.$type,0);this.ah(this.m(),b);var c=new $.ig.MdxAxis(1,a,this.n());var e=b.getEnumerator();while(e.moveNext()){var d=e.current();c.addSet(d)}this.l(c);return c},aj:function(a){var b=this.o().columnAxis().count()>0;var c=this.o().rowAxis().count()>0;var d=this.o().measures().count()>1;if(d){if(a==0){if(b){if(this.o().measureListLocation()==$.ig.MeasureListLocation.prototype.columns){this.c=this.o().measureListIndex()}}else if(c&&this.o().measureListLocation()==$.ig.MeasureListLocation.prototype.rows){this.c=this.o().measureListIndex()}}else if(a==1&&c&&this.o().measureListLocation()==$.ig.MeasureListLocation.prototype.rows){this.c=this.o().measureListIndex()}}var f=this.o().measures().getEnumerator();while(f.moveNext()){var e=f.current();this.b.add(e.uniqueName())}},ak:function(a){if(this.p()!=null){var b=a.positionItemIndex()+1;if(b<this.p().count()){var c=this.p().item(b);var d=$.ig.util.cast($.ig.MeasureList.prototype.$type,c);if(d!=null){var e=a.values().toList$1($.ig.PositionItemInfo$2.prototype.$type);var g=e.getEnumerator();while(g.moveNext()){var f=g.current();if(!this.b.contains(f.key())){a.remove(f.key())}}}var h=$.ig.util.cast($.ig.Hierarchy.prototype.$type,c);if(h!=null){var i=a.values().firstOrDefault$1($.ig.PositionItemInfo$2.prototype.$type);if(i!=null){if(i.hierarchyKey()!=h.uniqueName()){a.clear()}}}}else{a.clear()}}},al:function(a,b){var c=new $.ig.MdxSet(1,this.n().i());this.am(b,0,c);var d=new $.ig.MdxAxis(1,a,this.n());d.addSet(c);return d},am:function(a,b,c){var $self=this;if(a==null){return}for(var d=b;d<a.count();d++){var e=a.item(d);var f=$.ig.util.cast($.ig.Hierarchy.prototype.$type,e);if(f!=null){if(f.allMember()==null){var h=this.o().getCoreElements(function(g){return g.hierarchyUniqueName()==f.uniqueName()},$.ig.Level.prototype.$type).toList$1($.ig.ICoreOlapElement.prototype.$type);var i=h.item(0);c.addElement(new $.ig.MdxLevelMembersElement(i.uniqueName(),i.uniqueName(),0))}else{c.addElement(new $.ig.MdxSingleElement(0,f.defaultMember(),f.defaultMember(),0))}continue}var j=$.ig.util.cast($.ig.Level.prototype.$type,e);if(j!=null){var k;if(!function(){var $ret=$self.a.tryGetValue(j.hierarchyUniqueName(),k);k=$ret.value;return $ret.ret}()){k=new $.ig.MdxElementCollectionElement;c.addElement(k);this.a.add(j.hierarchyUniqueName(),k)}k.addElement(new $.ig.MdxLevelMembersElement(j.uniqueName(),j.uniqueName(),j.depth()));continue}var l=$.ig.util.cast($.ig.MeasureList.prototype.$type,e);if(l!=null){var m=new $.ig.MdxElementCollectionElement;var o=l.measures().getEnumerator();while(o.moveNext()){var n=o.current();m.addElement(new $.ig.MdxSingleElement(0,n.uniqueName(),n.uniqueName(),0))}c.addElement(m)}}},an:function(a,b,c,d,e,f,g){var h=c.clone();h.addElement(new $.ig.MdxSingleElement(0,b.key(),b.key(),b.positionItemDepth()));this.ak(b);if(b.count()==0){if(e){if(f){d.add(h);this.am(this.p(),b.positionItemIndex()+1,h)}}else{d.add(h);this.am(this.p(),b.positionItemIndex()+1,h)}}else{this.ap(b,h,d,e,f,g)}if(g&&b.isExpanded()){this.ao(b,d,a,c)}},ao:function(a,b,c,d){var $self=this;var f=c.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(e){return e.parentKey()==a.key()}).toList$1($.ig.PositionItemInfo$2.prototype.$type);if(f.count()>0){var g=d.clone();g.addElement(new $.ig.MdxChildrenCollectionElement(a.key(),a.key(),a.positionItemDepth(),null,null));this.ak(a);if(a.count()==0){b.add(g);this.am(this.p(),a.positionItemIndex()+1,g)}else{this.ap(a,g,b,true,true,false)}}var i=f.getEnumerator();while(i.moveNext()){var h=i.current();var j=d.clone();j.addElement(new $.ig.MdxSingleElement(0,h.key(),h.key(),h.positionItemDepth()));this.ak(h);if(h.isExpanded()){this.ao(h,b,c,d)}this.ap(h,j,b,true,false,true)}},ap:function(a,b,c,d,e,f){var $self=this;var h=a.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(g){return g.positionItemDepth()==a.positionItemDepthMin()}).toList$1($.ig.PositionItemInfo$2.prototype.$type);if(h.count()==0){return}var j=h.getEnumerator();while(j.moveNext()){var i=j.current();this.an(a,i,b,c,d,e,f)}},$type:new $.ig.Type("MdxDimensionAxisProvider",$.ig.Object.prototype.$type,[$.ig.IMdxDimensionAxisProvider.prototype.$type])},true);$.ig.util.defType("MdxSlicerAxisProvider","Object",{a:null,b:null,c:null,init:function(a,b,c,d,e){this.a=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);this.b=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);this.c=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);$.ig.Object.prototype.init.call(this);this.f(a);this.g(e);this.a=b;this.b=c;this.c=d},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},createAxis:function(a){var b=new $.ig.MdxSlicerAxis(this.g().t());b.axisIndex(a);b.columnsFilter($.ig.MdxSlicerAxisBuilder.prototype.b(this.a,b));b.rowsFilter($.ig.MdxSlicerAxisBuilder.prototype.b(this.b,b));b.filtersFilter($.ig.MdxSlicerAxisBuilder.prototype.b(this.c,b));b.measureFilter($.ig.MdxSlicerAxisBuilder.prototype.a(this.f().measures(),b));return b},$type:new $.ig.Type("MdxSlicerAxisProvider",$.ig.Object.prototype.$type,[$.ig.IMdxAxisProvider.prototype.$type])},true);$.ig.util.defType("MdxSlicerAxisBuilder","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(a,b){if(a.count$1($.ig.Measure.prototype.$type)==0){return null}var c=new $.ig.MdxAxisFilterElement;var d=new $.ig.MdxElementCollectionElement;var f=a.getEnumerator();while(f.moveNext()){var e=f.current();var g=new $.ig.MdxSingleElement(0,e.uniqueName(),e.uniqueName(),0);d.addElement(g)}var h=new $.ig.MdxSlicerSet;h.addElement(c);b.addSet(h);c.addFilterPart(d,true);return c},b:function(a,b){var $self=this;var c=new $.ig.MdxAxisFilterElement;for(var d=0;d<a.count();d++){var e=a.item(d);var f=new $.ig.MdxElementCollectionElement;var g=new $.ig.Dictionary$2(String,$.ig.MdxSingleElement.prototype.$type,0);var i=e.memberNames().getEnumerator();while(i.moveNext()){var h=i.current();var j;if(!function(){var $ret=g.tryGetValue(h,j);j=$ret.value;return $ret.ret}()){j=new $.ig.MdxSingleElement(0,h,h,-1);g.add(h,j)}f.addElement(j)}c.addFilterPart(f,false)}if(c.filterCollection().count()==0&&c.singleFilterElements().count()==0){return null}var k=new $.ig.MdxSlicerSet;k.addElement(c);b.addSet(k);return c},$type:new $.ig.Type("MdxSlicerAxisBuilder",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IXmlaDataProviderFactory","Object",{$type:new $.ig.Type("IXmlaDataProviderFactory",null)},true);$.ig.util.defType("DefaultXmlaDataProviderFactory","Object",{init:function(){$.ig.Object.prototype.init.call(this)},createDataProvider:function(a,b){return new $.ig.XmlaDataProvider(new $.ig.XmlaConnection(new $.ig.Uri(a),b),null)},$type:new $.ig.Type("DefaultXmlaDataProviderFactory",$.ig.Object.prototype.$type,[$.ig.IXmlaDataProviderFactory.prototype.$type])},true);$.ig.util.defType("RemoteXmlaDataProviderFactory","Object",{a:null,b:null,init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.Object.prototype.init.call(this);this.a=new $.ig.JsonRemoteXmlaRequestSerializer;this.b=new $.ig.JsonRemoteXmlaResponseSerializer},init1:function(initNumber,a,b){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b},createDataProvider:function(a,b){return new $.ig.RemoteXmlaDataProvder(a,b,this.a,this.b)},$type:new $.ig.Type("RemoteXmlaDataProviderFactory",$.ig.Object.prototype.$type,[$.ig.IXmlaDataProviderFactory.prototype.$type])},true);$.ig.util.defType("IRemoteXmlaRequestSerializer","Object",{$type:new $.ig.Type("IRemoteXmlaRequestSerializer",null)},true);$.ig.util.defType("IRemoteXmlaResponseSerializer","Object",{$type:new $.ig.Type("IRemoteXmlaResponseSerializer",null)},true);$.ig.util.defType("JsonRemoteXmlaRequestSerializer","Object",{a:null,init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.JavaScriptSerializer},serializeRequest:function(a){return $.ig.RemoteXmlaRequestJsonTypeSeriazlier.prototype.b().serialize(a,this.a)},deserializeRequest:function(a){return $.ig.RemoteXmlaRequestJsonTypeSeriazlier.prototype.b().deserialize(a,this.a)},$type:new $.ig.Type("JsonRemoteXmlaRequestSerializer",$.ig.Object.prototype.$type,[$.ig.IRemoteXmlaRequestSerializer.prototype.$type])},true);$.ig.util.defType("JsonRemoteXmlaResponseSerializer","Object",{a:null,init:function(){$.ig.Object.prototype.init.call(this);this.a=new $.ig.JavaScriptSerializer},serializeResponse:function(a,b){switch(b){case $.ig.RemoteXmlaRequestType.prototype.discoverCatalogs:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.Catalog.prototype.$type,a,$.ig.CatalogJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverCubes:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.Cube.prototype.$type,a,$.ig.CubeJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverDimensions:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.Dimension.prototype.$type,a,$.ig.DimensionJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverHierarchies:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.Hierarchy.prototype.$type,a,$.ig.HierarchyJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverLevels:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.Level.prototype.$type,a,$.ig.LevelJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMeasures:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.Measure.prototype.$type,a,$.ig.MeasureJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroups:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.MeasureGroup.prototype.$type,a,$.ig.MeasureGroupJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroupDimensions:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.MeasureGroupDimension.prototype.$type,a,$.ig.MeasureGroupDimensionJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMembers:return $.ig.ArrayJsonSerializer.prototype.b().g($.ig.Member.prototype.$type,a,$.ig.MemberJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.executeStatement:return $.ig.ResultJsonTypeSeriazlier.prototype.b().serialize(a,this.a);default:throw new $.ig.Error(1,"Unknown RemoteXmlaRequestType.")}},deserializeResponse:function(a,b){switch(b){case $.ig.RemoteXmlaRequestType.prototype.discoverCatalogs:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.Catalog.prototype.$type,a,$.ig.CatalogJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverCubes:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.Cube.prototype.$type,a,$.ig.CubeJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverDimensions:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.Dimension.prototype.$type,a,$.ig.DimensionJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverHierarchies:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.Hierarchy.prototype.$type,a,$.ig.HierarchyJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverLevels:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.Level.prototype.$type,a,$.ig.LevelJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMeasures:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.Measure.prototype.$type,a,$.ig.MeasureJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroups:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.MeasureGroup.prototype.$type,a,$.ig.MeasureGroupJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroupDimensions:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.MeasureGroupDimension.prototype.$type,a,$.ig.MeasureGroupDimensionJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.discoverMembers:return $.ig.ArrayJsonSerializer.prototype.b().e($.ig.Member.prototype.$type,a,$.ig.MemberJsonTypeSeriazlier.prototype.b(),this.a);case $.ig.RemoteXmlaRequestType.prototype.executeStatement:return $.ig.ResultJsonTypeSeriazlier.prototype.b().deserialize(a,this.a);default:throw new $.ig.Error(1,"Unknown RemoteXmlaRequestType.")}},$type:new $.ig.Type("JsonRemoteXmlaResponseSerializer",$.ig.Object.prototype.$type,[$.ig.IRemoteXmlaResponseSerializer.prototype.$type])},true);$.ig.util.defType("ArrayJsonSerializer","Object",{init:function(){$.ig.Object.prototype.init.call(this)},b:function(){return $.ig.ArrayJsonSerializer.prototype.a},e:function($t,a,b,c){var d=c.a(a);return this.i($t,d,b)},g:function($t,a,b,c){var d=this.k($t,a,b);return c.b(d)},i:function($t,a,b){var c=new $.ig.List$1($t,0);for(var d=0;d<a.length;d++){var e=a[d];c.add(b.fromJsonObject(e))}return c},k:function($t,a,b){var c=a.toArray$1($t);var d=new Array(c.length);for(var e=0;e<c.length;e++){d[e]=b.toJsonObject(c[e])}return d},$type:new $.ig.Type("ArrayJsonSerializer",$.ig.Object.prototype.$type)},true);$.ig.util.defType("IJsonTypeSerializer$1","Object",{$type:new $.ig.Type("IJsonTypeSerializer$1",null)},true);$.ig.util.defType("JsonTypeSeriazlierBase$1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this)},deserialize:function(a,b){return this.fromJsonObject(b.a(a))},serialize:function(a,b){return b.b(this.toJsonObject(a))},fromJsonObject:function(a){},toJsonObject:function(a){},$type:new $.ig.Type("JsonTypeSeriazlierBase$1",$.ig.Object.prototype.$type,[$.ig.IJsonTypeSerializer$1.prototype.$type.specialize(0)])},true);$.ig.util.defType("AxisJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.OlapResultAxis.prototype.$type)},b:function(){return $.ig.AxisJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;var b=$.ig.JsonSerializerUtils.prototype.b(a,"n");var c=$.ig.ArrayJsonSerializer.prototype.b().i($.ig.OlapResultTuple.prototype.$type,$.ig.JsonSerializerUtils.prototype.b(a,"t"),$.ig.TupleJsonTypeSeriazlier.prototype.b());var d=0;if(c.count()>0){d=c.item(0).members().count()}return function(){var $ret=new $.ig.OlapResultAxis(c,d);$ret.name(b);return $ret}()},toJsonObject:function(a){var b=$.ig.ArrayJsonSerializer.prototype.b().k($.ig.OlapResultTuple.prototype.$type,a.tuples(),$.ig.TupleJsonTypeSeriazlier.prototype.b());var c=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(c,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(c,"t",b);return c},$type:new $.ig.Type("AxisJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.OlapResultAxis.prototype.$type))},true);$.ig.util.defType("AxisMemberJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.OlapResultAxisMember.prototype.$type)},b:function(){return $.ig.AxisMemberJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.OlapResultAxisMember;$ret.hierarchyUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"hun"));$ret.uniqueName($.ig.JsonSerializerUtils.prototype.b(a,"un"));$ret.levelUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"lun"));$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.levelNumber($.ig.JsonSerializerUtils.prototype.b(a,"ln"));$ret.displayInfo($.ig.JsonSerializerUtils.prototype.b(a,"di"));$ret.properties($.ig.JsonSerializerUtils.prototype.f(a,"p"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"hun",a.hierarchyUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"un",a.uniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"lun",a.levelUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"ln",a.levelNumber());$.ig.JsonSerializerUtils.prototype.c(b,"di",a.displayInfo());$.ig.JsonSerializerUtils.prototype.g(b,"p",a.properties());return b},$type:new $.ig.Type("AxisMemberJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.OlapResultAxisMember.prototype.$type))},true);$.ig.util.defType("CatalogJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.Catalog.prototype.$type)},b:function(){return $.ig.CatalogJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.Catalog;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));$ret.uniqueName($.ig.JsonSerializerUtils.prototype.b(a,"un"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"un",a.uniqueName());return b},$type:new $.ig.Type("CatalogJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.Catalog.prototype.$type))},true);$.ig.util.defType("CellJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.OlapResultCell.prototype.$type)},b:function(){return $.ig.CellJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.OlapResultCell;$ret.cellOrdinal($.ig.JsonSerializerUtils.prototype.b(a,"co"));$ret.properties($.ig.JsonSerializerUtils.prototype.d(a,"p"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"co",a.cellOrdinal());$.ig.JsonSerializerUtils.prototype.e(b,"p",a.properties());return b},$type:new $.ig.Type("CellJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.OlapResultCell.prototype.$type))},true);$.ig.util.defType("CubeJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.Cube.prototype.$type)},b:function(){return $.ig.CubeJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.Cube;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));$ret.catalogName($.ig.JsonSerializerUtils.prototype.b(a,"cn"));$ret.cubeType($.ig.JsonSerializerUtils.prototype.b(a,"ct"));$ret.lastProcessed($.ig.JsonSerializerUtils.prototype.b(a,"lp"));$ret.lastUpdated($.ig.JsonSerializerUtils.prototype.b(a,"lu"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"cn",a.catalogName());$.ig.JsonSerializerUtils.prototype.c(b,"ct",a.cubeType());$.ig.JsonSerializerUtils.prototype.c(b,"lp",a.lastProcessed());$.ig.JsonSerializerUtils.prototype.c(b,"lu",a.lastUpdated());return b},$type:new $.ig.Type("CubeJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.Cube.prototype.$type))},true);$.ig.util.defType("DimensionJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.Dimension.prototype.$type)},b:function(){return $.ig.DimensionJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.Dimension;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));$ret.uniqueName($.ig.JsonSerializerUtils.prototype.b(a,"un"));$ret.dimensionType($.ig.JsonSerializerUtils.prototype.b(a,"dt"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"un",a.uniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"dt",a.dimensionType());return b},$type:new $.ig.Type("DimensionJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.Dimension.prototype.$type))},true);$.ig.util.defType("HierarchyJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.Hierarchy.prototype.$type)},b:function(){return $.ig.HierarchyJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.Hierarchy;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));$ret.uniqueName($.ig.JsonSerializerUtils.prototype.b(a,"un"));$ret.allMember($.ig.JsonSerializerUtils.prototype.b(a,"am"));$ret.defaultMember($.ig.JsonSerializerUtils.prototype.b(a,"dm"));$ret.dimensionUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"dun"));$ret.hierarchyDisplayFolder($.ig.JsonSerializerUtils.prototype.b(a,"hdf"));$ret.hierarchyOrigin($.ig.JsonSerializerUtils.prototype.b(a,"ho"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"un",a.uniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"am",a.allMember());$.ig.JsonSerializerUtils.prototype.c(b,"dm",a.defaultMember());$.ig.JsonSerializerUtils.prototype.c(b,"dun",a.dimensionUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"hdf",a.hierarchyDisplayFolder());$.ig.JsonSerializerUtils.prototype.c(b,"ho",a.hierarchyOrigin());return b},$type:new $.ig.Type("HierarchyJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.Hierarchy.prototype.$type))},true);$.ig.util.defType("JsonSerializerUtils","Object",{init:function(){$.ig.Object.prototype.init.call(this)},a:function(){return $.ig.jQueryUtils.prototype.createJavascriptObject()},b:function(a,b){return $.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,b)},c:function(a,b,c){$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(a,b,c)},d:function(a,b){return $.ig.jQueryUtils.prototype.convertToObjectDictionary($.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,b))},e:function(a,b,c){var d=$.ig.jQueryUtils.prototype.convertFromObjectDictionary(c);$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(a,b,d)},f:function(a,b){return $.ig.jQueryUtils.prototype.convertToStringDictionary($.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,b))},g:function(a,b,c){var d=$.ig.jQueryUtils.prototype.convertFromStringDictionary(c);$.ig.jQueryUtils.prototype.setJavascriptObjectProperty(a,b,d)},$type:new $.ig.Type("JsonSerializerUtils",$.ig.Object.prototype.$type)},true);$.ig.util.defType("LevelJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.Level.prototype.$type)},b:function(){return $.ig.LevelJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.Level;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));$ret.uniqueName($.ig.JsonSerializerUtils.prototype.b(a,"un"));$ret.depth($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.dimensionUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"dun"));$ret.hierarchyUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"hun"));$ret.levelOrderingProperty($.ig.JsonSerializerUtils.prototype.b(a,"lop"));$ret.levelOrigin($.ig.JsonSerializerUtils.prototype.b(a,"lo"));$ret.membersCount($.ig.JsonSerializerUtils.prototype.b(a,"mc"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"un",a.uniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.depth());$.ig.JsonSerializerUtils.prototype.c(b,"dun",a.dimensionUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"hun",a.hierarchyUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"lop",a.levelOrderingProperty());$.ig.JsonSerializerUtils.prototype.c(b,"lo",a.levelOrigin());$.ig.JsonSerializerUtils.prototype.c(b,"mc",a.membersCount());return b},$type:new $.ig.Type("LevelJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.Level.prototype.$type))},true);$.ig.util.defType("MeasureGroupDimensionJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.MeasureGroupDimension.prototype.$type)},b:function(){return $.ig.MeasureGroupDimensionJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.MeasureGroupDimension;$ret.catalogName($.ig.JsonSerializerUtils.prototype.b(a,"cn"));$ret.cubeName($.ig.JsonSerializerUtils.prototype.b(a,"cbn"));$ret.dimensionCardinality($.ig.JsonSerializerUtils.prototype.b(a,"dc"));$ret.dimensionGranularity($.ig.JsonSerializerUtils.prototype.b(a,"dg"));$ret.dimensionPath($.ig.JsonSerializerUtils.prototype.b(a,"dap"));$ret.dimensionUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"dun"));$ret.isDimensionVisible($.ig.JsonSerializerUtils.prototype.b(a,"idv"));$ret.isFactDimension($.ig.JsonSerializerUtils.prototype.b(a,"iafd"));$ret.measureGroupCardinality($.ig.JsonSerializerUtils.prototype.b(a,"mgc"));$ret.measureGroupName($.ig.JsonSerializerUtils.prototype.b(a,"mgn"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"cn",a.catalogName());$.ig.JsonSerializerUtils.prototype.c(b,"cbn",a.cubeName());$.ig.JsonSerializerUtils.prototype.c(b,"dc",a.dimensionCardinality());$.ig.JsonSerializerUtils.prototype.c(b,"dg",a.dimensionGranularity());$.ig.JsonSerializerUtils.prototype.c(b,"dap",a.dimensionPath());$.ig.JsonSerializerUtils.prototype.c(b,"dun",a.dimensionUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"idv",a.isDimensionVisible());$.ig.JsonSerializerUtils.prototype.c(b,"iafd",a.isFactDimension());$.ig.JsonSerializerUtils.prototype.c(b,"mgc",a.measureGroupCardinality());$.ig.JsonSerializerUtils.prototype.c(b,"mgn",a.measureGroupName());return b},$type:new $.ig.Type("MeasureGroupDimensionJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.MeasureGroupDimension.prototype.$type))},true);$.ig.util.defType("MeasureGroupJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.MeasureGroup.prototype.$type)},b:function(){return $.ig.MeasureGroupJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.MeasureGroup;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));
$ret.catalogName($.ig.JsonSerializerUtils.prototype.b(a,"cn"));$ret.cubeName($.ig.JsonSerializerUtils.prototype.b(a,"cbn"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"cn",a.catalogName());$.ig.JsonSerializerUtils.prototype.c(b,"cbn",a.cubeName());return b},$type:new $.ig.Type("MeasureGroupJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.MeasureGroup.prototype.$type))},true);$.ig.util.defType("MeasureJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.Measure.prototype.$type)},b:function(){return $.ig.MeasureJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.Measure;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));$ret.uniqueName($.ig.JsonSerializerUtils.prototype.b(a,"un"));$ret.aggregatorType($.ig.JsonSerializerUtils.prototype.b(a,"at"));$ret.defaultFormatString($.ig.JsonSerializerUtils.prototype.b(a,"dfs"));$ret.measureDisplayFolder($.ig.JsonSerializerUtils.prototype.b(a,"mdf"));$ret.measureGroupName($.ig.JsonSerializerUtils.prototype.b(a,"mgn"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"un",a.uniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"at",a.aggregatorType());$.ig.JsonSerializerUtils.prototype.c(b,"dfs",a.defaultFormatString());$.ig.JsonSerializerUtils.prototype.c(b,"mdf",a.measureDisplayFolder());$.ig.JsonSerializerUtils.prototype.c(b,"mgn",a.measureGroupName());return b},$type:new $.ig.Type("MeasureJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.Measure.prototype.$type))},true);$.ig.util.defType("MemberJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.Member.prototype.$type)},b:function(){return $.ig.MemberJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.Member;$ret.caption($.ig.JsonSerializerUtils.prototype.b(a,"c"));$ret.description($.ig.JsonSerializerUtils.prototype.b(a,"d"));$ret.name($.ig.JsonSerializerUtils.prototype.b(a,"n"));$ret.uniqueName($.ig.JsonSerializerUtils.prototype.b(a,"un"));$ret.catalogName($.ig.JsonSerializerUtils.prototype.b(a,"cn"));$ret.childrenCardinality($.ig.JsonSerializerUtils.prototype.b(a,"cc"));$ret.cubeName($.ig.JsonSerializerUtils.prototype.b(a,"cbn"));$ret.dimensionUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"dun"));$ret.hierarchyUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"hun"));$ret.levelDepth($.ig.JsonSerializerUtils.prototype.b(a,"ld"));$ret.levelUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"lun"));$ret.memberType($.ig.JsonSerializerUtils.prototype.b(a,"mt"));$ret.parentLevel($.ig.JsonSerializerUtils.prototype.b(a,"pl"));$ret.parentUniqueName($.ig.JsonSerializerUtils.prototype.b(a,"pun"));$ret.scope($.ig.util.toNullable($.ig.Number.prototype.$type,$.ig.JsonSerializerUtils.prototype.b(a,"s")));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"c",a.caption());$.ig.JsonSerializerUtils.prototype.c(b,"d",a.description());$.ig.JsonSerializerUtils.prototype.c(b,"n",a.name());$.ig.JsonSerializerUtils.prototype.c(b,"un",a.uniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"cn",a.catalogName());$.ig.JsonSerializerUtils.prototype.c(b,"cc",a.childrenCardinality());$.ig.JsonSerializerUtils.prototype.c(b,"cbn",a.cubeName());$.ig.JsonSerializerUtils.prototype.c(b,"dun",a.dimensionUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"hun",a.hierarchyUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"ld",a.levelDepth());$.ig.JsonSerializerUtils.prototype.c(b,"lun",a.levelUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"mt",a.memberType());$.ig.JsonSerializerUtils.prototype.c(b,"pl",a.parentLevel());$.ig.JsonSerializerUtils.prototype.c(b,"pun",a.parentUniqueName());$.ig.JsonSerializerUtils.prototype.c(b,"s",a.scope());return b},$type:new $.ig.Type("MemberJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.Member.prototype.$type))},true);$.ig.util.defType("RemoteXmlaRequestJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.RemoteXmlaRequest.prototype.$type)},b:function(){return $.ig.RemoteXmlaRequestJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;return function(){var $ret=new $.ig.RemoteXmlaRequest;$ret.f($.ig.JsonSerializerUtils.prototype.b(a,"t"));$ret.g($.ig.JsonSerializerUtils.prototype.f(a,"p"));$ret.h($.ig.JsonSerializerUtils.prototype.f(a,"r"));$ret.i($.ig.JsonSerializerUtils.prototype.f(a,"par"));$ret.j($.ig.JsonSerializerUtils.prototype.b(a,"s"));return $ret}()},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"t",a.f());$.ig.JsonSerializerUtils.prototype.g(b,"p",a.g());$.ig.JsonSerializerUtils.prototype.g(b,"r",a.h());$.ig.JsonSerializerUtils.prototype.g(b,"par",a.i());$.ig.JsonSerializerUtils.prototype.c(b,"s",a.j());return b},$type:new $.ig.Type("RemoteXmlaRequestJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.RemoteXmlaRequest.prototype.$type))},true);$.ig.util.defType("ResultJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.OlapResult.prototype.$type)},b:function(){return $.ig.ResultJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var $self=this;var b=$.ig.JsonSerializerUtils.prototype.b(a,"ie");if(b){return function(){var $ret=new $.ig.OlapResult;$ret.isEmpty(true);return $ret}()}else{var c=$.ig.ArrayJsonSerializer.prototype.b().i($.ig.OlapResultAxis.prototype.$type,$.ig.JsonSerializerUtils.prototype.b(a,"a"),$.ig.AxisJsonTypeSeriazlier.prototype.b());var d=$.ig.ArrayJsonSerializer.prototype.b().i($.ig.OlapResultAxis.prototype.$type,$.ig.JsonSerializerUtils.prototype.b(a,"c"),$.ig.CellJsonTypeSeriazlier.prototype.b());return function(){var $ret=new $.ig.OlapResult;$ret.axes(c);$ret.cells(d);return $ret}()}},toJsonObject:function(a){var b=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(b,"ie",a.isEmpty());if(!a.isEmpty()){var c=$.ig.ArrayJsonSerializer.prototype.b().k($.ig.OlapResultAxis.prototype.$type,a.axes(),$.ig.AxisJsonTypeSeriazlier.prototype.b());var d=$.ig.ArrayJsonSerializer.prototype.b().k($.ig.OlapResultAxis.prototype.$type,a.cells(),$.ig.CellJsonTypeSeriazlier.prototype.b());$.ig.JsonSerializerUtils.prototype.c(b,"a",c);$.ig.JsonSerializerUtils.prototype.c(b,"c",d)}return b},$type:new $.ig.Type("ResultJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.OlapResult.prototype.$type))},true);$.ig.util.defType("TupleJsonTypeSeriazlier","JsonTypeSeriazlierBase$1",{init:function(){$.ig.JsonTypeSeriazlierBase$1.prototype.init.call(this,$.ig.OlapResultTuple.prototype.$type)},b:function(){return $.ig.TupleJsonTypeSeriazlier.prototype.a},fromJsonObject:function(a){var b=$.ig.ArrayJsonSerializer.prototype.b().i($.ig.OlapResultAxisMember.prototype.$type,$.ig.JsonSerializerUtils.prototype.b(a,"m"),$.ig.AxisMemberJsonTypeSeriazlier.prototype.b());var c=new $.ig.OlapResultTuple(b);var e=b.getEnumerator();while(e.moveNext()){var d=e.current();d.position(c)}return c},toJsonObject:function(a){var b=$.ig.ArrayJsonSerializer.prototype.b().k($.ig.OlapResultAxisMember.prototype.$type,a.members(),$.ig.AxisMemberJsonTypeSeriazlier.prototype.b());var c=$.ig.JsonSerializerUtils.prototype.a();$.ig.JsonSerializerUtils.prototype.c(c,"m",b);return c},$type:new $.ig.Type("TupleJsonTypeSeriazlier",$.ig.JsonTypeSeriazlierBase$1.prototype.$type.specialize($.ig.OlapResultTuple.prototype.$type))},true);$.ig.util.defType("RemoteXmlaDataProvder","Object",{a:null,b:null,c:null,d:null,init:function(a,b,c,d){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b;this.c=c;this.d=d},discoverCatalogsAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverCatalogs,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverCatalogs)})},discoverCubesAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverCubes,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverCubes)})},discoverDimensionsAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverDimensions,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverDimensions)})},discoverHierarchiesAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverHierarchies,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverHierarchies)})},discoverLevelsAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverLevels,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverLevels)})},discoverMeasuresAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverMeasures,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverMeasures)})},discoverMeasureGroupsAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroups,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroups)})},discoverMeasureGroupDimensionsAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroupDimensions,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroupDimensions)})},discoverMembersAsync:function(a,b){var $self=this;var c=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.discoverMembers,a,b,null,null).ae($.ig.IEnumerable$1.prototype.$type,function(d){return c.deserializeResponse(d.aa(),$.ig.RemoteXmlaRequestType.prototype.discoverMembers)})},executeStatementAsync:function(a,b,c){var $self=this;var d=this.d;return this.e($.ig.RemoteXmlaRequestType.prototype.executeStatement,b,null,c,a).ae($.ig.OlapResult.prototype.$type,function(e){return d.deserializeResponse(e.aa(),$.ig.RemoteXmlaRequestType.prototype.executeStatement)})},e:function(a,b,c,d,e){var $self=this;var f=function(){var $ret=new $.ig.WebClient;$ret.g($self.b);return $ret}();var g=this.c.serializeRequest(function(){var $ret=new $.ig.RemoteXmlaRequest;$ret.f(a);$ret.g($self.g(b));$ret.h($self.g(c));$ret.i($self.g(d));$ret.j(e);return $ret}());var h=new $.ig.TaskCompletionSource$1(String,0);f.uploadStringCompleted=$.ig.Delegate.prototype.combine(f.uploadStringCompleted,this.f.runOn(this));f.p(new $.ig.Uri(this.a),"POST",g,h);return h.d()},f:function(a,b){var c=b.userState();if(b.cancelled()){c.g()}else if(b.error()!=null){c.h(b.error())}else{c.i(b.result())}},g:function(a){if(a==null){return null}var b=new $.ig.Dictionary$2(String,String,0);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c.c(),c.d())}return b},$type:new $.ig.Type("RemoteXmlaDataProvder",$.ig.Object.prototype.$type,[$.ig.IXmlaDataProvider.prototype.$type])},true);$.ig.util.defType("RemoteXmlaRequest","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},$type:new $.ig.Type("RemoteXmlaRequest",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaConnection","Object",{a:null,b:null,init:function(a,b){$.ig.Object.prototype.init.call(this);this.a=a;this.b=b},getXmlaSoapWebClient$1:function($t){var a=new $.ig.XmlaSoapWebClient$1($t,this.a,$.ig.Encoding.prototype.uTF8());a.g(this.b);return a},$type:new $.ig.Type("XmlaConnection",$.ig.Object.prototype.$type,[$.ig.ICoreXmlaConnection.prototype.$type])},true);$.ig.util.defType("XmlaDataSourceImpl","Object",{a:null,b:null,c:null,d:null,e:null,f:null,g:null,h:null,i:null,j:null,k:null,l:null,m:null,n:null,o:null,p:null,q:null,r:null,s:null,t:null,u:null,init:function(a){var $self=this;this.b=new $.ig.List$1($.ig.MdxDimensionAxisProvider.prototype.$type,0);this.c=new $.ig.List$1($.ig.PositionInfo.prototype.$type,0);this.d=new $.ig.List$1($.ig.PositionInfo.prototype.$type,0);this.e=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);this.f=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);this.g=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);this.h=new $.ig.List$1(String,0);$.ig.Object.prototype.init.call(this);this.i=false;this.j=null;this.k=false;this.l=null;this.isInitialized(false);this.mdxSettings(a.mdxSettings());this.sourceOptions(a);if(a.dataProviderFactory()==null){this.dataProviderFactory(new $.ig.DefaultXmlaDataProviderFactory)}else{this.dataProviderFactory(a.dataProviderFactory())}this.catalogs(new $.ig.ArrayListCollection$1($.ig.Catalog.prototype.$type));this.cubes(new $.ig.ArrayListCollection$1($.ig.Cube.prototype.$type));this.measureGroups(new $.ig.ArrayListCollection$1($.ig.MeasureGroup.prototype.$type));this.rowAxis(new $.ig.ArrayListCollection$1($.ig.ICoreOlapElement.prototype.$type));this.columnAxis(new $.ig.ArrayListCollection$1($.ig.ICoreOlapElement.prototype.$type));this.filters(new $.ig.ArrayListCollection$1($.ig.Hierarchy.prototype.$type));this.measures(new $.ig.ArrayListCollection$1($.ig.Measure.prototype.$type));this.measureListLocation($.ig.MeasureListLocation.prototype.columns);this.measureListIndex(-1);this.u=true;if(this.sourceOptions()!=null){this.u=this.sourceOptions().enableResultCache()==true}this.result(function(){var $ret=new $.ig.OlapResult;$ret.isEmpty(true);return $ret}())},_isInitialized:null,isInitialized:function(a){if(arguments.length===1){this._isInitialized=a;return a}else{return this._isInitialized}},_catalogs:null,catalogs:function(a){if(arguments.length===1){this._catalogs=a;return a}else{return this._catalogs}},_catalog:null,catalog:function(a){if(arguments.length===1){this._catalog=a;return a}else{return this._catalog}},_cubes:null,cubes:function(a){if(arguments.length===1){this._cubes=a;return a}else{return this._cubes}},_cube:null,cube:function(a){if(arguments.length===1){this._cube=a;return a}else{return this._cube}},_measureGroup:null,measureGroup:function(a){if(arguments.length===1){this._measureGroup=a;return a}else{return this._measureGroup}},_measureGroups:null,measureGroups:function(a){if(arguments.length===1){this._measureGroups=a;return a}else{return this._measureGroups}},_sourceOptions:null,sourceOptions:function(a){if(arguments.length===1){this._sourceOptions=a;return a}else{return this._sourceOptions}},_dataProviderFactory:null,dataProviderFactory:function(a){if(arguments.length===1){this._dataProviderFactory=a;return a}else{return this._dataProviderFactory}},_metadataTree:null,metadataTree:function(a){if(arguments.length===1){this._metadataTree=a;return a}else{return this._metadataTree}},_rowAxis:null,rowAxis:function(a){if(arguments.length===1){this._rowAxis=a;return a}else{return this._rowAxis}},_columnAxis:null,columnAxis:function(a){if(arguments.length===1){this._columnAxis=a;return a}else{return this._columnAxis}},_filters:null,filters:function(a){if(arguments.length===1){this._filters=a;return a}else{return this._filters}},_measures:null,measures:function(a){if(arguments.length===1){this._measures=a;return a}else{return this._measures}},measureListIndex:function(a){if(arguments.length===1){if(this.s!=a){this.r=true;this.s=a;this.b1();this.r=false}return a}else{return this.s}},measureListLocation:function(a){if(arguments.length===1){if(this.t!=a){this.bk();this.t=a;this.b1()}return a}else{return this.t}},_mdxSettings:null,mdxSettings:function(a){if(arguments.length===1){this._mdxSettings=a;return a}else{return this._mdxSettings}},_result:null,result:function(a){if(arguments.length===1){this._result=a;return a}else{return this._result}},_aq:null,aq:function(a){if(arguments.length===1){this._aq=a;return a}else{return this._aq}},getCoreElement:function(a,b){if(b==$.ig.MeasureList.prototype.$type){var c;if(this.measureListLocation()==$.ig.MeasureListLocation.prototype.columns){c=this.columnAxis()}else{c=this.rowAxis()}var d=null;var f=c.getEnumerator();while(f.moveNext()){var e=f.current();d=$.ig.util.cast($.ig.MeasureList.prototype.$type,e);if(d!=null){break}}return d}else{return this.getCoreElements(a,b).firstOrDefault$1($.ig.ICoreOlapElement.prototype.$type)}},getCoreElements:function(a,b){var $self=this;if(b==$.ig.Dimension.prototype.$type){return this.bs($.ig.Dimension.prototype.$type,this.a.o().where$1($.ig.Dimension.prototype.$type,function(c){return a(c)}))}if(b==$.ig.Hierarchy.prototype.$type){return this.bs($.ig.Dimension.prototype.$type,this.a.p().where$1($.ig.Dimension.prototype.$type,function(d){return a(d)}))}if(b==$.ig.Level.prototype.$type){return this.bs($.ig.Dimension.prototype.$type,this.a.q().where$1($.ig.Dimension.prototype.$type,function(e){return a(e)}))}if(b==$.ig.Measure.prototype.$type){return this.bs($.ig.Dimension.prototype.$type,this.a.n().where$1($.ig.Dimension.prototype.$type,function(f){return a(f)}))}throw new $.ig.NotSupportedException(0,"Supported types are Dimension, Hierarchy, Level and Measure")},expandTupleMember:function(a,b,c){var $self=this;var d=this.ce(a);if(d==null){throw new $.ig.InvalidOperationException(1,"No axis found for the specified index.")}var f=this.c.where$1($.ig.PositionInfo.prototype.$type,function(e){return e.d()==a&&e.e()==b&&e.f()==c}).firstOrDefault$1($.ig.PositionInfo.prototype.$type);if(f==null){f=function(){var $ret=new $.ig.PositionInfo;$ret.d(a);$ret.f(c);$ret.e(b);return $ret}();this.c.add(f)}else{this.c.remove(f)}},collapseTupleMember:function(a,b,c){var $self=this;var d=this.ce(a);if(d==null){throw new $.ig.InvalidOperationException(1,"No axis found for the specified index.")}var f=this.c.where$1($.ig.PositionInfo.prototype.$type,function(e){return e.d()==a&&e.e()==b&&e.f()==c}).firstOrDefault$1($.ig.PositionInfo.prototype.$type);if(f==null){f=function(){var $ret=new $.ig.PositionInfo;$ret.d(a);$ret.f(c);$ret.e(b);return $ret}();this.d.add(f)}else{this.c.remove(f)}},clearPendingChanges:function(){this.d.clear();this.c.clear()},update:function(){var $self=this;if(this.k){return this.l}this.k=true;var a=this.bb(this.c);this.l=a.continueWithTask$1($.ig.OlapResult.prototype.$type,function(b){return $self.ba()});var c=this.l;this.l.ac(function(d){$self.k=false;$self.l=null});return c},a8:function(a,b){if(a.positionItemIndex()==b){a.clear()}else{var d=a.values().getEnumerator();while(d.moveNext()){var c=d.current();this.a8(c,b)}}},a9:function(a,b,c,d){var $self=this;var e=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);var g=c.getEnumerator();while(g.moveNext()){var f=g.current();var h=new $.ig.AxisElement(f.name(),new $.ig.List$1(String,0));for(var i=0;i<f.memberNames().count();i++){var j=f.memberNames().item(i);var k;if(function(){var $ret=$self.a.am(j,k);k=$ret.member;return $ret.ret}()){if(k.scope().hasValue()==false){h.memberNames().add(j)}}}e.add(h)}var l=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);var n=b.getEnumerator();while(n.moveNext()){var m=n.current();var o=new $.ig.AxisElement(m.name(),new $.ig.List$1(String,0));for(var p=0;p<m.memberNames().count();p++){var q=m.memberNames().item(p);var r;if(function(){var $ret=$self.a.am(q,r);r=$ret.member;return $ret.ret}()){if(r.scope().hasValue()==false){o.memberNames().add(q)}}}l.add(o)}var s=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);var u=a.getEnumerator();while(u.moveNext()){var t=u.current();var v=new $.ig.AxisElement(t.name(),new $.ig.List$1(String,0));for(var w=0;w<t.memberNames().count();w++){var x=t.memberNames().item(w);var y;if(function(){var $ret=$self.a.am(x,y);y=$ret.member;return $ret.ret}()){if(y.scope().hasValue()==false){v.memberNames().add(x)}}}s.add(v)}return new $.ig.MdxSlicerAxisProvider(this,s,l,e,d)},ba:function(){var $self=this;var a=this.m;var b=this.n;var c=this.p;var d=this.o;var e=this.c.count()>0;var f=this.d.count()>0;var g=this.h.count()>0;if(!a&&!b&&!c&&!d&&!e&&!f&&!g){var h=new $.ig.TaskCompletionSource$1($.ig.OlapResult.prototype.$type,0);h.i(this.result());return h.d()}var i=this.columnAxis().count()>0;var j=this.rowAxis().count()>0;if(this.rowAxis().count()==0&&this.columnAxis().count()==0&&this.measures().count()==0){var k=function(){var $ret=new $.ig.OlapResult;$ret.isEmpty(true);return $ret}();var l=new $.ig.TaskCompletionSource$1($.ig.OlapResult.prototype.$type,0);l.i(k);this.aq(new $.ig.OlapResultView(k,k,false,false));this.result(k);this.bc(k);this.be(this.aq().visibleResult(),j,i);this.clearPendingChanges();return l.d()}if(this.p){this.bd(i,j)}this.p=false;this.o=false;this.q=false;var m=false;if(this.u&&!this.m&&!this.n){m=true}var n=null;var o=null;var p=0;n=this.bg(this.columnAxis(),this.m,p);this.m=false;if(n!=null){p++}o=this.bg(this.rowAxis(),this.n,p);this.n=false;if(o!=null){o.axisIndex(p);p++}var q;var r=function(){var $ret=$self.bf(i,j,m,q);q=$ret.axisPositionsMap;return $ret.ret}();var s=this.a9(this.e,this.f,this.g,this.mdxSettings());var t=s.createAxis(p);var u=new $.ig.MdxQueryBuilder(1,this.mdxSettings());var v=this.getProviderDefaultProperties();var w=this.getProviderDefaultRestrictions();var x=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());if(m&&!g&&(e||f)){var y=null;if(n!=null){var aa=r.where$1($.ig.IMdxAxis.prototype.$type,function(z){return z.axisIndex()==n.axisIndex()}).firstOrDefault$1($.ig.IMdxAxis.prototype.$type);var ab;(function(){var $ret=q.tryGetValue("Axis0",ab);ab=$ret.value;return $ret.ret})();if(aa!=null){var ac=u.e(aa,o,t,new $.ig.MdxCalculatedMembersCache,this.cube().name());y=x.executeStatementAsync(ac,v,w);y=y.continueWithTask$21($.ig.OlapResult.prototype.$type,$.ig.OlapResult.prototype.$type,function(ad){if($self.aq()==null){$self.aq(new $.ig.OlapResultView($self.result(),$self.result(),i,j))}var ae=$self.aq();$self.aq($self.aq().extend(ad.aa(),"Axis0"));$self.result($self.aq().visibleResult());$self.bc($self.result());$.ig.ResultViewHelper.prototype.b("Axis0",ae,$self.aq());var ag=ab.getEnumerator();while(ag.moveNext()){var af=ag.current();$.ig.ResultViewHelper.prototype.a(af.d(),af.e(),af.f(),true,$self.aq())}var ah=j;var ai=i;$self.be($self.aq().visibleResult(),ah,ai);var aj=new $.ig.TaskCompletionSource$1($.ig.OlapResult.prototype.$type,0);aj.i($self.aq().visibleResult());return aj.d()})}}if(o!=null){var al=r.where$1($.ig.IMdxAxis.prototype.$type,function(ak){return ak.axisIndex()==o.axisIndex()}).firstOrDefault$1($.ig.IMdxAxis.prototype.$type);var am=this.aq().hasColumns()?"Axis1":"Axis0";var an;(function(){var $ret=q.tryGetValue(am,an);an=$ret.value;return $ret.ret})();if(al!=null){if(y!=null){y=y.continueWithTask$21($.ig.OlapResult.prototype.$type,$.ig.OlapResult.prototype.$type,function(ao){n=$self.bg($self.columnAxis(),false,0);var ap=u.e(n,al,t,new $.ig.MdxCalculatedMembersCache,$self.cube().name());return x.executeStatementAsync(ap,v,w)})}else{var aq=u.e(n,al,t,new $.ig.MdxCalculatedMembersCache,this.cube().name());y=x.executeStatementAsync(aq,v,w)}y=y.continueWithTask$21($.ig.OlapResult.prototype.$type,$.ig.OlapResult.prototype.$type,function(ar){if($self.aq()==null){$self.aq(new $.ig.OlapResultView($self.result(),$self.result(),i,j))}var as=$self.aq();$self.aq($self.aq().extend(ar.aa(),am));$self.result($self.aq().visibleResult());$self.bc($self.result());$.ig.ResultViewHelper.prototype.b(am,as,$self.aq());var au=an.getEnumerator();while(au.moveNext()){var at=au.current();$.ig.ResultViewHelper.prototype.a(at.d(),at.e(),at.f(),true,$self.aq())}var av=j;var aw=i;$self.be($self.aq().visibleResult(),av,aw);var ax=new $.ig.TaskCompletionSource$1($.ig.OlapResult.prototype.$type,0);ax.i($self.aq().visibleResult());return ax.d()})}}if(y!=null){return y}var ay=new $.ig.TaskCompletionSource$1($.ig.OlapResult.prototype.$type,0);ay.i(this.result());return ay.d()}else{if(g){this.h.clear()}p=0;n=this.bg(this.columnAxis(),this.m,p);if(n!=null){p++}o=this.bg(this.rowAxis(),this.n,p);var az=u.e(n,o,t,new $.ig.MdxCalculatedMembersCache,this.cube().name());return x.executeStatementAsync(az,v,w).ae($.ig.OlapResult.prototype.$type,function(a0){$self.aq(new $.ig.OlapResultView(a0.aa(),a0.aa(),i,j));$self.result($self.aq().visibleResult());$self.bc($self.result());var a1=j;var a2=i;$self.be($self.aq().visibleResult(),a1,a2);$self.clearPendingChanges();return $self.result()})}},bb:function(a){var $self=this;var b=new $.ig.List$1(String,0);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=this.ce(c.d()).tuples().__inner[c.e()].members().item(c.f());var g=this.getCoreElement(function(f){return f.hierarchyUniqueName()==e.hierarchyUniqueName()&&f.depth()==e.levelNumber()+1},$.ig.Level.prototype.$type);if(g!=null&&!this.a.af(g.uniqueName())&&!b.contains(g.uniqueName())){b.add(g.uniqueName())}}var h=new Array(b.count());for(var i=0;i<b.count();i++){h[i]=this.getMembersOfLevel(b.item(i))}return(new $.ig.TaskFactory).c($.ig.Array.prototype.$type,h,function(j){return j})},bc:function(a){var $self=this;var c=a.axes().getEnumerator();while(c.moveNext()){var b=c.current();var d=b.tuples();for(var e=0;e<d.count();e++){var f=d.__inner[e].members();for(var g=0;g<f.count();g++){var h=f.item(g);var i;if(function(){var $ret=$self.a.al(h.uniqueName(),i);i=$ret.memberOrdinal;return $ret.ret}()){h.ordinal(i)}}}}},bd:function(a,b){var c=0;var d=this.measureListIndex();if(a){var e=this.cf(c);if(e!=null&&this.measureListLocation()==$.ig.MeasureListLocation.prototype.columns){if(d>-1){var f=e.m();if(f!=null){this.a8(f,d-1)}e.ag()}}c++}if(b){var g=this.cf(c);if(g!=null&&this.measureListLocation()==$.ig.MeasureListLocation.prototype.rows){if(d>-1){var h=g.m();if(h!=null){this.a8(h,d-1)}g.ag()}}}},be:function(a,b,c){var d=0;if(c){var e=a.axes().item(d);var f=this.cf(d);if(f!=null){f.m(e.positionResolver().rootPositionInfo());f.ag()}d++}if(b){var g=a.axes().item(d);var h=this.cf(d);if(h!=null){h.m(g.positionResolver().rootPositionInfo());h.ag()}d++}},bf:function(a,b,c,d){var $self=this;this.bh(a,b,c);var e=new $.ig.Dictionary$2(String,$.ig.Boolean.prototype.$type,0);var f=this.c;d=new $.ig.Dictionary$2(String,$.ig.IList$1.prototype.$type.specialize($.ig.PositionInfo.prototype.$type),0);for(var g=0;g<f.count();g++){var h=f.item(g);var i;if(!function(){var $ret=d.tryGetValue(h.d(),i);i=$ret.value;return $ret.ret}()){i=new $.ig.List$1($.ig.PositionInfo.prototype.$type,0);d.add(h.d(),i)}i.add(h);if(this.aq()==null){this.aq(new $.ig.OlapResultView(this.result(),this.result(),a,b))}var j=this.aq().expandTupleMember(h.d(),h.e(),h.f());if(j==null){e.item(h.d(),true)}else{var k=this.aq();this.aq(j);$.ig.ResultViewHelper.prototype.b(h.d(),k,this.aq());$.ig.ResultViewHelper.prototype.a(h.d(),h.e(),h.f(),true,this.aq());this.result(this.aq().visibleResult());this.bc(this.result());this.be(this.aq().visibleResult(),b,a)}}var l=new $.ig.List$1($.ig.IMdxAxis.prototype.$type,0);var n=d.getEnumerator();while(n.moveNext()){var m=n.current();var o=this.ce(m.key());if(o==null){continue}if(o.positionResolver().hasUnregisterdPositions()){o.positionResolver().completeRegisterPositions()}var p=new $.ig.List$1($.ig.IPositionItem$2.prototype.$type.specialize(String,$.ig.Object.prototype.$type),0);var r=m.value().getEnumerator();while(r.moveNext()){var q=r.current();if(q.e()<o.tuples().count()){var s=o.tuples().__inner[q.e()];var t=s.item(q.f());p.add(t)}}if(p.count()>0){var u=this.result().axes().indexOf(o);var v=this.cf(u);var w=v.createAxis(u);var x=false;if(function(){var $ret=e.tryGetValue(o.name(),x);x=$ret.value;return $ret.ret}()&&x){v=new $.ig.MdxDimensionAxisProvider(1,o,v.n(),p);var y=v.extendAxis(w,w.axisIndex());l.add(y)}}}this.c.clear();return{ret:l,axisPositionsMap:d};return{axisPositionsMap:d}},bg:function(a,b,c){var d=null;if(a.count()>0){d=this.cf(c);if(b){var e=null;if(d!=null){e=d.m()}var f=c==0?this.mdxSettings().r():this.mdxSettings().s();d=new $.ig.MdxDimensionAxisProvider(0,this,f,a,e);this.cg(c,d)}}if(d!=null){return d.createAxis(c)}return null},bh:function(a,b,c){var $self=this;if(this.result()!=null){var d=new $.ig.Dictionary$2(String,$.ig.IList$1.prototype.$type.specialize($.ig.PositionInfo.prototype.$type),0);var e=this.d;for(var f=0;f<e.count();f++){var g=e.item(f);var h;if(!function(){var $ret=d.tryGetValue(g.d(),h);h=$ret.value;return $ret.ret}()){h=new $.ig.List$1($.ig.PositionInfo.prototype.$type,0);d.add(g.d(),h)}h.add(g);if(c){if(this.aq()==null){this.aq(new $.ig.OlapResultView(this.result(),this.result(),a,b))}else{this.aq(this.aq().collapseTupleMember(g.d(),g.e(),g.f()));this.result(this.aq().visibleResult());this.bc(this.result());this.be(this.aq().visibleResult(),b,a)}}}var i=new $.ig.List$1($.ig.OlapResultAxis.prototype.$type,0);var k=d.getEnumerator();while(k.moveNext()){var j=k.current();var l=this.ce(j.key());if(l==null){continue}if(l.positionResolver().hasUnregisterdPositions()){l.positionResolver().completeRegisterPositions()}if(!i.contains(l)){i.add(l)}if(!c){var n=j.value().getEnumerator();while(n.moveNext()){var m=n.current();if(m.e()<l.tuples().count()){var o=l.tuples().__inner[m.e()];var p=o.item(m.f());var q=l.positionResolver().getHostPositionItemInfo(o,m.f());var s=q.values().where$1($.ig.PositionItemInfo$2.prototype.$type,function(r){return r.key()==p.key()}).firstOrDefault$1($.ig.PositionItemInfo$2.prototype.$type);if(s!=null){s.isExpanded(false)}}}}}if(i.count()>0){if(!c&&!this.result().isEmpty()){this.be(this.result(),b,a)}var u=i.getEnumerator();while(u.moveNext()){var t=u.current();var v=b&&t.name()=="Axis1"?1:0;var w=this.cf(v);w.ag()}}this.d.clear()}},setCatalog:function(a){if(!this.isInitialized()){throw new $.ig.InvalidOperationException(1,"Data source is not initialized.")}return this.b5(a)},setCube:function(a){if(!this.isInitialized()){throw new $.ig.InvalidOperationException(1,"Data source is not initialized.")}return this.b9(a,null)},setMeasureGroup:function(a){if(!this.isInitialized()){throw new $.ig.InvalidOperationException(1,"Data source is not initialized.")}return this.ca(a)},initialize:function(){var $self=this;if(this.i){return this.j}this.i=true;this.j=this.bi();var a=this.j;this.j.ac(function(b){$self.i=false;$self.j=null});return a},bi:function(){var $self=this;var a=new $.ig.TaskCompletionSource$1($.ig.OlapMetadataTreeItem.prototype.$type,0);if(this.isInitialized()){a.i(this.metadataTree());
return a.d()}var b=this.sourceOptions().catalog();var c=this.sourceOptions().cube();var d=this.sourceOptions().measureGroup();this.columnAxis().collectionChanged=$.ig.Delegate.prototype.combine(this.columnAxis().collectionChanged,this.bv.runOn(this));this.rowAxis().collectionChanged=$.ig.Delegate.prototype.combine(this.rowAxis().collectionChanged,this.bw.runOn(this));this.filters().collectionChanged=$.ig.Delegate.prototype.combine(this.filters().collectionChanged,this.bz.runOn(this));this.measures().collectionChanged=$.ig.Delegate.prototype.combine(this.measures().collectionChanged,this.b0.runOn(this));var e=this.b2();if(String.isNullOrEmpty(b)){e.ac(function(f){if(f.h()==null){$self.bq();var g=function(){var $ret=new $.ig.OlapResult;$ret.isEmpty(true);return $ret}();$self.aq(new $.ig.OlapResultView(g,g,false,false));$self.result(g);a.i(null);return}a.h(f.h())});return a.d()}var j=e.continueWithTask$21($.ig.IEnumerable$1.prototype.$type,$.ig.IList$1.prototype.$type,function(h){if(h.h()==null){return $self.b5(b)}var i=new $.ig.TaskCompletionSource$1($.ig.IList$1.prototype.$type.specialize($.ig.Cube.prototype.$type),0);i.h(h.h());return i.d()});if(String.isNullOrEmpty(c)){j.ac(function(k){if(k.h()==null){$self.bq();var l=function(){var $ret=new $.ig.OlapResult;$ret.isEmpty(true);return $ret}();$self.aq(new $.ig.OlapResultView(l,l,false,false));$self.result(l);a.i(null);return}a.h(k.h())});return a.d()}var n=j.continueWithTask$21($.ig.IEnumerable$1.prototype.$type,$.ig.IList$1.prototype.$type,function(m){return $self.b9(c,d)});return n.continueWithTask$21($.ig.IEnumerable$1.prototype.$type,$.ig.IList$1.prototype.$type,function(o){return $self.bl()})},addFilterMember:function(a,b){var $self=this;var c;var d=function(){var $ret=$self.ch(a,c);c=$ret.filtersCollection;return $ret.ret}();if(d==null){d=new $.ig.AxisElement(a,function(){var $ret=new $.ig.ArrayListCollection$1(String);$ret.add(b);return $ret}());c.add(d)}else{if(!d.memberNames().contains(b)){d.memberNames().add(b);if(this.h.contains(b)){this.h.remove(b)}else{this.h.add(b)}}}},getFilterMemberNames:function(a){var $self=this;var b;var c=function(){var $ret=$self.ch(a,b);b=$ret.filtersCollection;return $ret.ret}();if(c!=null){return this.bs(String,c.memberNames())}return new $.ig.ArrayListCollection$1(String)},removeFilterMember:function(a,b){var $self=this;var c;var d=function(){var $ret=$self.ch(a,c);c=$ret.filtersCollection;return $ret.ret}();if(d==null){return}if(d.memberNames().remove(b)){if(this.h.contains(b)){this.h.remove(b)}else{this.h.add(b)}}},removeAllFilterMembers:function(a){var $self=this;var b;var c=function(){var $ret=$self.ch(a,b);b=$ret.filtersCollection;return $ret.ret}();if(c==null){return}for(var d=c.memberNames().count()-1;d>=0;d--){var e=c.memberNames().item(d);c.memberNames().removeAt(d);if(this.h.contains(e)){this.h.remove(e)}else{this.h.add(e)}}},getProviderDefaultProperties:function(){var $self=this;var a=new $.ig.List$1($.ig.KeyValueItem.prototype.$type,0);if(this.sourceOptions().discoverProperties()!=null){var c=this.sourceOptions().discoverProperties().getEnumerator();while(c.moveNext()){var b=c.current();var d=new $.ig.XmlaQueryProperty(1,b.key(),b.value());a.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c(d.c());$ret.d(d.d());return $ret}())}}if(this.catalog()!=null){this.cd(a,$.ig.XmlaDiscoverProperties.prototype.a,this.catalog().name())}return a},getProviderDefaultRestrictions:function(){var $self=this;var a=new $.ig.List$1($.ig.KeyValueItem.prototype.$type,0);if(this.catalog()!=null){a.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MeasureGroupRestrictions.prototype.a);$ret.d($self.catalog().name());return $ret}());if(this.cube()!=null){a.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MeasureGroupRestrictions.prototype.c);$ret.d($self.cube().name());return $ret}())}}return a},getMembersOfLevel:function(a){var $self=this;var b=a;var c=this.getProviderDefaultProperties();var d=this.getProviderDefaultRestrictions();if(d!=null){d.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MemberRestrictions.prototype.f);$ret.d(a);return $ret}())}var e=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());var f=e.discoverMembersAsync(c,d);f.ac(function(g){var i=g.aa().getEnumerator();while(i.moveNext()){var h=i.current();$self.a.ak(h)}$self.a.ag(b)});return f},getMembersOfHierarchy:function(a){var $self=this;var b=a;var c=this.getProviderDefaultProperties();var d=this.getProviderDefaultRestrictions();if(d!=null){d.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MemberRestrictions.prototype.e);$ret.d(a);return $ret}())}var e=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());var f=e.discoverMembersAsync(c,d);f.ac(function(g){var i=g.aa().getEnumerator();while(i.moveNext()){var h=i.current();$self.a.ak(h)}$self.a.ai(b)});return f},getMembersOfMember:function(a){var $self=this;var b=this.getProviderDefaultProperties();var c=this.getProviderDefaultRestrictions();if(c!=null){c.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MemberRestrictions.prototype.i);$ret.d(a);return $ret}());c.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MemberRestrictions.prototype.k);$ret.d("1");return $ret}())}var d=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());var e=d.discoverMembersAsync(b,c);e.continueWithTask$21($.ig.IEnumerable$1.prototype.$type,$.ig.IEnumerable$1.prototype.$type,function(f){return $self.bj(f.aa())});return e},bj:function(a){var $self=this;var b=new $.ig.List$1($.ig.Member.prototype.$type,0);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c);break}if(b.count()>0){var e=b.item(0).levelUniqueName();if(!this.a.af(e)){return this.getMembersOfLevel(e).ae($.ig.IEnumerable$1.prototype.$type,function(f){return a})}}var g=new $.ig.TaskCompletionSource$1($.ig.IEnumerable$1.prototype.$type.specialize($.ig.Member.prototype.$type),0);g.i(a);return g.d()},tryGetMember:function(a,b){var $self=this;return{ret:function(){var $ret=$self.a.am(a,b);b=$ret.member;return $ret.ret}(),member:b};return{member:b}},tryGetMembersForLevel:function(a,b){var $self=this;return{ret:function(){var $ret=$self.a.ap(a,b);b=$ret.members;return $ret.ret}(),members:b};return{members:b}},bk:function(){var a;if(this.measureListLocation()==$.ig.MeasureListLocation.prototype.columns){a=this.columnAxis()}else{a=this.rowAxis()}if(a==null){return}var b=null;var c=0;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();b=$.ig.util.cast($.ig.MeasureList.prototype.$type,d);if(b!=null){break}c++}if(b!=null){this.q=true;a.removeAt(c)}},bl:function(){var $self=this;var a=new $.ig.Dictionary$2(String,$.ig.Number.prototype.$type,0);var b=null;var c=null;var d=null;var e=new $.ig.List$1($.ig.AxisElement.prototype.$type,0);if(!String.isNullOrEmpty(this.sourceOptions().columns())){var f=new $.ig.AxisDefinitionParser(this.sourceOptions().columns());b=f.w();var h=b.getEnumerator();while(h.moveNext()){var g=h.current();if(a.containsKey(g.name())){throw new $.ig.ArgumentException(0,"the hierarchy is used more than once")}else{a.add(g.name(),1)}}}if(!String.isNullOrEmpty(this.sourceOptions().rows())){var i=new $.ig.AxisDefinitionParser(this.sourceOptions().rows());c=i.w();var k=c.getEnumerator();while(k.moveNext()){var j=k.current();if(a.containsKey(j.name())){throw new $.ig.ArgumentException(0,"the hierarchy is used more than once")}else{a.add(j.name(),1)}}}if(!String.isNullOrEmpty(this.sourceOptions().filters())){var l=new $.ig.AxisDefinitionParser(this.sourceOptions().filters());d=l.w();var n=d.getEnumerator();while(n.moveNext()){var m=n.current();if(a.containsKey(m.name())){throw new $.ig.ArgumentException(0,"the hierarchy is used more than once")}else{a.add(m.name(),1)}}}if(b!=null&&b.count()>0){var p=b.getEnumerator();while(p.moveNext()){var o=p.current();this.bp($.ig.ICoreOlapElement.prototype.$type,o.name(),this.columnAxis(),$.ig.Hierarchy.prototype.$type);this.e.add(o);if(o.memberNames().count()>0){e.add(o)}}}if(c!=null&&c.count()>0){var r=c.getEnumerator();while(r.moveNext()){var q=r.current();this.bp($.ig.ICoreOlapElement.prototype.$type,q.name(),this.rowAxis(),$.ig.Hierarchy.prototype.$type);this.f.add(q);if(q.memberNames().count()>0){e.add(q)}}}if(d!=null&&d.count()>0){var t=d.getEnumerator();while(t.moveNext()){var s=t.current();this.bp($.ig.Hierarchy.prototype.$type,s.name(),this.filters(),$.ig.Hierarchy.prototype.$type);this.g.add(s);if(s.memberNames().count()>0){e.add(s)}}}var u=null;if(!String.isNullOrEmpty(this.sourceOptions().measures())){var v=new $.ig.AxisDefinitionParser(this.sourceOptions().measures());u=v.w();var x=u.getEnumerator();while(x.moveNext()){var w=x.current();if(a.containsKey(w.name())){throw new $.ig.ArgumentException(0,"the measure is used more than once")}else{a.add(w.name(),1)}}}if(u!=null&&u.count()>0){var z=u.getEnumerator();while(z.moveNext()){var y=z.current();this.bp($.ig.Measure.prototype.$type,y.name(),this.measures(),$.ig.Measure.prototype.$type)}}if(this.m||this.n||this.o||this.p||this.q){if(e.count()>0){var aa=new Array(e.count());for(var ab=0;ab<e.count();ab++){var ac=e.item(ab).name();aa[ab]=this.getMembersOfHierarchy(ac)}var ad=new $.ig.TaskFactory;var af=ad.c($.ig.Task$1.prototype.$type,aa,function(ae){return $self.ba()});return af.continueWithTask$21($.ig.Task$1.prototype.$type,$.ig.OlapResult.prototype.$type,function(ag){return ag.aa()}).continueWithTask$21($.ig.Task$1.prototype.$type,$.ig.OlapResult.prototype.$type,function(ah){$self.bq();var ai=new $.ig.TaskCompletionSource$1($.ig.OlapMetadataTreeItem.prototype.$type,0);ai.i($self.metadataTree());return ai.d()})}return this.ba().continueWithTask$21($.ig.Task$1.prototype.$type,$.ig.OlapResult.prototype.$type,function(aj){$self.bq();var ak=new $.ig.TaskCompletionSource$1($.ig.OlapMetadataTreeItem.prototype.$type,0);ak.i($self.metadataTree());return ak.d()})}this.bq();var al=new $.ig.TaskCompletionSource$1($.ig.OlapMetadataTreeItem.prototype.$type,0);al.i(this.metadataTree());return al.d()},bn:function($t,a,b){a.i(b)},bp:function($tItem,a,b,c){var $self=this;var e=function(d){return d.uniqueName()==a};var f=this.getCoreElement(e,c);if(f!=null&&!b.contains$1($.ig.Object.prototype.$type,f)){b.add(f)}},bq:function(){this.isInitialized(true)},bs:function($t,a){var b=new $.ig.ArrayListCollection$1($t);var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b.add(c)}return b},bt:function(a,b){var $self=this;switch(a.action()){case $.ig.NotifyCollectionChangedAction.prototype.add:var d=a.newItems().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($.ig.Hierarchy.prototype.$type,c);if(e!=null){if(this.isInitialized()){b.add(new $.ig.AxisElement(e.uniqueName(),new $.ig.ArrayListCollection$1(String)))}}}break;case $.ig.NotifyCollectionChangedAction.prototype.remove:var g=a.oldItems().getEnumerator();while(g.moveNext()){var f=g.current();var h=$.ig.util.cast($.ig.Hierarchy.prototype.$type,f);if(h!=null){var j=b.where$1($.ig.AxisElement.prototype.$type,function(i){return i.name()==h.uniqueName()}).firstOrDefault$1($.ig.AxisElement.prototype.$type);if(j!=null){b.remove(j)}}else{var k=$.ig.util.cast($.ig.MeasureList.prototype.$type,f);if(k!=null){if(!this.p&&!this.q&&!this.r){this.measures().clear()}}}}break}},bu:function(a,b){var $self=this;switch(a.action()){case $.ig.NotifyCollectionChangedAction.prototype.add:var d=a.newItems().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($.ig.Hierarchy.prototype.$type,c);if(e!=null){var g=$.ig.util.cast($.ig.MeasureList.prototype.$type,b.where$1($.ig.ICoreOlapElement.prototype.$type,function(f){return $.ig.util.cast($.ig.MeasureList.prototype.$type,f)!==null}).firstOrDefault$1($.ig.ICoreOlapElement.prototype.$type));if(g!=null&&this.measureListIndex()>=a.newStartingIndex()){this.measureListIndex(this.measureListIndex()+1)}}}break;case $.ig.NotifyCollectionChangedAction.prototype.remove:var i=a.oldItems().getEnumerator();while(i.moveNext()){var h=i.current();var j=$.ig.util.cast($.ig.Hierarchy.prototype.$type,h);if(j!=null){var l=$.ig.util.cast($.ig.MeasureList.prototype.$type,b.where$1($.ig.ICoreOlapElement.prototype.$type,function(k){return $.ig.util.cast($.ig.MeasureList.prototype.$type,k)!==null}).firstOrDefault$1($.ig.ICoreOlapElement.prototype.$type));if(l!=null&&this.measureListIndex()>a.oldStartingIndex()){this.measureListIndex(this.measureListIndex()-1)}}}break}},bv:function(a,b){this.m=true;this.by(0,this.columnAxis(),this.rowAxis());this.bt(b,this.e);this.bu(b,this.columnAxis());if(b.action()!=$.ig.NotifyCollectionChangedAction.prototype.reset&&this.columnAxis()!=null){var c=Math.max(b.newStartingIndex(),b.oldStartingIndex());this.bx("Axis0",c)}},bw:function(a,b){this.n=true;this.by(1,this.rowAxis(),this.columnAxis());this.bt(b,this.f);this.bu(b,this.rowAxis());if(b.action()!=$.ig.NotifyCollectionChangedAction.prototype.reset&&this.rowAxis()!=null){var c=this.columnAxis()==null?"Axis0":"Axis1";var d=Math.max(b.newStartingIndex(),b.oldStartingIndex());this.bx(c,d)}},bx:function(a,b){for(var c=this.d.count()-1;c>=0;c--){var d=this.d.item(c);if(d.d()==a&&d.f()>=b){this.d.removeAt(c)}}for(var e=this.c.count()-1;e>=0;e--){var f=this.c.item(e);if(f.d()==a&&f.f()>=b){this.c.removeAt(e)}}},by:function(a,b,c){if(b.count()>0){if(c.count()>0){if(this.b.count()<2){this.b.insert(a,null)}}else{if(this.b.count()==0){this.b.insert(0,null)}}}else{if(this.b.count()>0){if(this.b.count()>1){this.b.removeAt(a)}else{this.b.removeAt(0)}}}},bz:function(a,b){this.o=true;this.bt(b,this.g)},b0:function(a,b){this.p=true;this.b1()},b1:function(){var $self=this;var a;if(this.measureListLocation()==$.ig.MeasureListLocation.prototype.columns){a=this.columnAxis()}else{a=this.rowAxis()}var b=null;var c=0;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();b=$.ig.util.cast($.ig.MeasureList.prototype.$type,d);if(b!=null){break}c++}if(this.measures().count()>1){if(b==null){b=function(){var $ret=new $.ig.MeasureList;$ret.measures($self.measures());return $ret}();if(this.measureListIndex()<0||this.measureListIndex()>a.count()){this.s=a.count();a.add(b)}else{a.insert(this.measureListIndex(),b)}}else{if(c!=this.measureListIndex()){a.removeAt(c);if(this.measureListIndex()>a.count()){this.s=a.count();a.add(b)}else{a.insert(this.measureListIndex(),b)}}}}else{if(b!=null){a.removeAt(c)}}},b2:function(){var $self=this;var a=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());var b=this.getProviderDefaultProperties();var d=a.discoverCatalogsAsync(b,null).continueWithTask$21($.ig.IEnumerable$1.prototype.$type,$.ig.IEnumerable$1.prototype.$type,function(c){$self.catalogs($self.bs($.ig.Catalog.prototype.$type,c.aa()));return c});return d},b3:function(a){var $self=this;var b=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());var c=function(){var $ret=new $.ig.List$1($.ig.KeyValueItem.prototype.$type,0);$ret.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.CubeRestrictions.prototype.a);$ret.d(a);return $ret}());return $ret}();var d=new $.ig.List$1($.ig.KeyValueItem.prototype.$type,0);if(this.sourceOptions().discoverProperties()!=null){var f=this.sourceOptions().discoverProperties().getEnumerator();while(f.moveNext()){var e=f.current();var g=new $.ig.XmlaQueryProperty(1,e.key(),e.value());d.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c(g.c());$ret.d(g.d());return $ret}())}}this.cd(d,$.ig.XmlaDiscoverProperties.prototype.a,a);var i=b.discoverCubesAsync(d,c).ae($.ig.IList$1.prototype.$type,function(h){$self.cubes($self.bs($.ig.Cube.prototype.$type,h.aa()));return $self.cubes()});return i},b4:function(a,b){var $self=this;var c=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());var d=new $.ig.List$1($.ig.KeyValueItem.prototype.$type,0);d.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MeasureGroupRestrictions.prototype.a);$ret.d(a);return $ret}());d.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c($.ig.MeasureGroupRestrictions.prototype.c);$ret.d(b);return $ret}());var e=new $.ig.List$1($.ig.KeyValueItem.prototype.$type,0);if(this.sourceOptions().discoverProperties()!=null){var g=this.sourceOptions().discoverProperties().getEnumerator();while(g.moveNext()){var f=g.current();var h=new $.ig.XmlaQueryProperty(1,f.key(),f.value());e.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c(h.c());$ret.d(h.d());return $ret}())}}this.cd(e,$.ig.XmlaDiscoverProperties.prototype.a,a);var j=c.discoverMeasureGroupsAsync(e,d).ae($.ig.IList$1.prototype.$type,function(i){$self.measureGroups($self.bs($.ig.MeasureGroup.prototype.$type,i.aa()));return $self.measureGroups()});return j},b5:function(a){var $self=this;if(String.isNullOrEmpty(a)){if(a==null){throw new $.ig.ArgumentNullException("catalogName")}throw new $.ig.InvalidOperationException(1,"catalogName cannot be empty.")}var b=new $.ig.TaskCompletionSource$1($.ig.IList$1.prototype.$type.specialize($.ig.Cube.prototype.$type),0);if(this.catalog()!=null){if(this.catalog().name()==a){b.i(this.cubes());return b.d()}this.b6()}var d=this.catalogs().getEnumerator();while(d.moveNext()){var c=d.current();if(c.name()==a){this.catalog(c);break}}if(this.cubes()==null||this.cubes().count()==0){this.b3(a).ac(function(e){if(e.h()==null){b.i(e.aa());return}b.h(e.h())})}else{b.i(this.cubes())}return b.d()},b6:function(){this.catalog(null);this.cubes(new $.ig.ArrayListCollection$1($.ig.Cube.prototype.$type));this.b7()},b7:function(){this.cube(null);this.measureGroups(new $.ig.ArrayListCollection$1($.ig.MeasureGroup.prototype.$type));this.filters().clear();this.rowAxis().clear();this.columnAxis().clear();this.measures().clear();this.a=null;this.b8()},b8:function(){this.measureGroup(null);this.metadataTree(null)},b9:function(a,b){var $self=this;if(this.catalog()==null){throw new $.ig.InvalidOperationException(1,"Data source has no Catalog set.")}if(String.isNullOrEmpty(a)){if(a==null){throw new $.ig.ArgumentNullException("cubeName")}throw new $.ig.InvalidOperationException(1,"cubeName cannot be empty.")}var c=new $.ig.TaskCompletionSource$1($.ig.OlapMetadataTreeItem.prototype.$type,0);if(this.cube()!=null){if(this.cube().name()==a){c.i(this.metadataTree());return c.d()}this.b7()}var d=new $.ig.List$1($.ig.Task.prototype.$type,0);var f=this.cubes().getEnumerator();while(f.moveNext()){var e=f.current();if(e.name()==a){this.cube(e);break}}var g=this.getProviderDefaultProperties();var h=this.getProviderDefaultRestrictions();this.cd(h,$.ig.DimensionRestrictions.prototype.c,a);var i=this.dataProviderFactory().createDataProvider(this.sourceOptions().serverUrl(),this.sourceOptions().requestOptions());d.add(i.discoverMeasuresAsync(g,h));d.add(i.discoverDimensionsAsync(g,h));d.add(i.discoverHierarchiesAsync(g,h));d.add(i.discoverLevelsAsync(g,h));d.add(i.discoverMeasureGroupDimensionsAsync(g,h));d.add(this.b4(this.catalog().name(),a));var j=new Array(d.count());d.copyTo(j,0);var k=new $.ig.TaskFactory;var n=k.a(j,function(l){return $self.cc(l)}).continueWithTask$1($.ig.OlapMetadataTreeItem.prototype.$type,function(m){return $self.ca(b)});return n},ca:function(a){var $self=this;if(this.catalog()==null){throw new $.ig.InvalidOperationException(1,"Data source has no Catalog set.")}if(this.cube()==null){throw new $.ig.InvalidOperationException(1,"Data source has no Cube set.")}var b=new $.ig.TaskCompletionSource$1($.ig.OlapMetadataTreeItem.prototype.$type,0);if(this.measureGroup()!=null){if(this.measureGroup().name()==a){b.i(this.metadataTree());return b.d()}this.b8()}if(this.measureGroups()==null||this.measureGroups().count()==0){var d=this.b4(this.catalog().name(),this.cube().name()).continueWithTask$21($.ig.IList$1.prototype.$type,$.ig.OlapMetadataTreeItem.prototype.$type,function(c){return $self.ca(a)});return d}var f=this.measureGroups().getEnumerator();while(f.moveNext()){var e=f.current();if(e.name()==a){this.measureGroup(e);break}}this.metadataTree(this.cb(a));b.i(this.metadataTree());return b.d()},cb:function(a){var $self=this;var b=function(){var $ret=new $.ig.OlapMetadataTreeItem;$ret.type($.ig.OlapMetadataTreeItemType.prototype.cube);$ret.caption($self.cube().caption());$ret.item($self.cube());return $ret}();var c;var d;var e=true;if(String.isNullOrEmpty(a)||this.measureGroups()==null){c=this.a.o();d=this.a.n()}else{e=false;c=this.a.s().getMeasureGroupDimensions(a);d=this.a.s().getMeasureGroupMeasures(a)}var f=$.ig.MetaTreeHelper.prototype.getDimensionMetaItems(c,d,this.a.p(),this.a.q(),e);$.ig.MetaTreeHelper.prototype.setMetaItemChildren(b,f);return b},cc:function(a){this.a=new $.ig.CubeMetaItemsCache;var b=a[0];var c=a[1];var d=a[2];var e=a[3];var f=a[4];this.a.n(b.aa());this.a.o(c.aa());this.a.p(d.aa());this.a.q(e.aa());if(this.measureGroups()!=null){this.a.r(f.aa());this.a.s(new $.ig.MeasureGroupMetaItemsCache(this.a.o(),this.a.n(),this.a.r()))}},cd:function(a,b,c){var $self=this;var d=null;var f=a.getEnumerator();while(f.moveNext()){var e=f.current();if(e.c()==b){d=e;break}}if(d==null){a.add(function(){var $ret=new $.ig.KeyValueItem;$ret.c(b);$ret.d(c);return $ret}())}},ce:function(a){var $self=this;if(this.result()!=null&&this.result().axes().count()>0){return this.result().axes().where$1($.ig.OlapResultAxis.prototype.$type,function(b){return b.name()==a}).firstOrDefault$1($.ig.OlapResultAxis.prototype.$type)}return null},cf:function(a){if(a<this.b.count()){return this.b.item(a)}return null},cg:function(a,b){this.b.item(a,b)},ch:function(a,b){var $self=this;var d=this.e.where$1($.ig.AxisElement.prototype.$type,function(c){return c.name()==a}).firstOrDefault$1($.ig.AxisElement.prototype.$type);if(d!=null){b=this.e;return{ret:d,filtersCollection:b}}d=this.f.where$1($.ig.AxisElement.prototype.$type,function(e){return e.name()==a}).firstOrDefault$1($.ig.AxisElement.prototype.$type);if(d!=null){b=this.f;return{ret:d,filtersCollection:b}}d=this.g.where$1($.ig.AxisElement.prototype.$type,function(f){return f.name()==a}).firstOrDefault$1($.ig.AxisElement.prototype.$type);if(d!=null){b=this.g;return{ret:d,filtersCollection:b}}b=null;return{ret:null,filtersCollection:b};return{filtersCollection:b}},$type:new $.ig.Type("XmlaDataSourceImpl",$.ig.Object.prototype.$type,[$.ig.IOlapDataSource.prototype.$type])},true);$.ig.util.defType("PositionInfo","Object",{init:function(){$.ig.Object.prototype.init.call(this)},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_e:null,e:function(a){if(arguments.length===1){this._e=a;return a}else{return this._e}},_f:null,f:function(a){if(arguments.length===1){this._f=a;return a}else{return this._f}},$type:new $.ig.Type("PositionInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaDiscoverProperties","Object",{init:function(){$.ig.Object.prototype.init.call(this)},$type:new $.ig.Type("XmlaDiscoverProperties",$.ig.Object.prototype.$type)},true);$.ig.util.defType("XmlaDataSourceOptions","DataSourceBaseOptions",{init:function(){$.ig.DataSourceBaseOptions.prototype.init.call(this)},_serverUrl:null,serverUrl:function(a){if(arguments.length===1){this._serverUrl=a;return a}else{return this._serverUrl}},_requestOptions:null,requestOptions:function(a){if(arguments.length===1){this._requestOptions=a;return a}else{return this._requestOptions}},_catalog:null,catalog:function(a){if(arguments.length===1){this._catalog=a;return a}else{return this._catalog}},_cube:null,cube:function(a){if(arguments.length===1){this._cube=a;return a}else{return this._cube}},_measureGroup:null,measureGroup:function(a){if(arguments.length===1){this._measureGroup=a;return a}else{return this._measureGroup}},_discoverProperties:null,discoverProperties:function(a){if(arguments.length===1){this._discoverProperties=a;return a}else{return this._discoverProperties}},_executeProperties:null,executeProperties:function(a){if(arguments.length===1){this._executeProperties=a;return a}else{return this._executeProperties}},_dataProviderFactory:null,dataProviderFactory:function(a){if(arguments.length===1){this._dataProviderFactory=a;return a}else{return this._dataProviderFactory}},_enableResultCache:null,enableResultCache:function(a){if(arguments.length===1){this._enableResultCache=a;return a}else{return this._enableResultCache}},_mdxSettings:null,mdxSettings:function(a){if(arguments.length===1){this._mdxSettings=a;return a}else{return this._mdxSettings}},$type:new $.ig.Type("XmlaDataSourceOptions",$.ig.DataSourceBaseOptions.prototype.$type)},true);$.ig.util.defType("RequestOptions","NetworkCredential",{init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.RequestOptions.prototype.init1.call(this,1,a,b,String.empty())},init1:function(initNumber,a,b,c){$.ig.NetworkCredential.prototype.init1.call(this,1,a,b,c)},$type:new $.ig.Type("RequestOptions",$.ig.NetworkCredential.prototype.$type)},true);$.ig.util.defType("CustomRemoteXmlaRequestSerializer","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},serializeRequest:function(a){return this.a(a)},deserializeRequest:function(a){throw new $.ig.NotSupportedException(1)},$type:new $.ig.Type("CustomRemoteXmlaRequestSerializer",$.ig.Object.prototype.$type,[$.ig.IRemoteXmlaRequestSerializer.prototype.$type])},true);$.ig.util.defType("CustomRemoteXmlaResponseSerializer","Object",{a:null,init:function(a){$.ig.Object.prototype.init.call(this);this.a=a},serializeResponse:function(a,b){throw new $.ig.NotSupportedException(1)},deserializeResponse:function(a,b){return this.a(a,b)},$type:new $.ig.Type("CustomRemoteXmlaResponseSerializer",$.ig.Object.prototype.$type,[$.ig.IRemoteXmlaResponseSerializer.prototype.$type])},true);$.ig.util.defType("OlapXmlaDataSource","DataSourceBase",{staticInit:function(){$.ig.OlapXmlaDataSource.prototype.m()},init:function(a){var $self=this;$.ig.DataSourceBase.prototype.init.call(this);var b=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"serverUrl");var c=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"catalog");var d=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"cube");var e=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"measures");var f=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"measureGroup");var g=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"filters");var h=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"columns");var i=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"rows");var j=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"requestOptions");var k=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"enableResultCache");var l=true;if(k!=null){l=k}var m=$.ig.jQueryUtils.prototype.convertToStringDictionary($.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"discoverProperties"));var n=$.ig.jQueryUtils.prototype.convertToStringDictionary($.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"executeProperties"));var o=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"isRemote");if(o){if(j==null){j={}}var ro_=j;ro_.isCrossDomain=false}var p=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"serializeRequest");var q=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"deserializeResponse");var r=new $.ig.CustomRemoteXmlaRequestSerializer(p);var s=new $.ig.CustomRemoteXmlaResponseSerializer(q);var t=new $.ig.RemoteXmlaDataProviderFactory(1,r,s);var u=this.l(a);var v=function(){var $ret=new $.ig.XmlaDataSourceOptions;$ret.serverUrl(b);$ret.requestOptions(j);$ret.catalog(c);$ret.cube(d);$ret.measures(e);$ret.measureGroup(f);$ret.filters(g);$ret.columns(h);$ret.rows(i);$ret.discoverProperties(m);$ret.executeProperties(n);$ret.enableResultCache(l);$ret.mdxSettings(u);return $ret}();if(o){v.dataProviderFactory(new $.ig.RemoteXmlaDataProviderFactory(0))}this.dataSource(new $.ig.XmlaDataSourceImpl(v))},catalogs:function(){return this.dataSource().catalogs().inner()},catalog:function(){return this.dataSource().catalog()},setCatalog:function(a){var $self=this;return this.dataSource().setCatalog(a).ae($.ig.Array.prototype.$type,function(b){return b.aa().inner()}).f()},measureGroups:function(){return this.dataSource().measureGroups().inner()},measureGroup:function(){return this.dataSource().measureGroup()},setMeasureGroup:function(a){var $self=this;return this.dataSource().setMeasureGroup(a).ae($.ig.OlapMetadataTreeItem.prototype.$type,function(b){return b.aa()}).f()},l:function(a){var b=new $.ig.MdxSettings;var c=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(a,"mdxSettings");if(c==null){return b}var d=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(c,"nonEmptyOnRows");if(d!=null){b.ac(d)}var e=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(c,"nonEmptyOnColumns");if(e!=null){b.ad(e)}var f=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(c,"addCalculatedMembersOnRows");if(f!=null){b.w(f)}var g=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(c,"addCalculatedMembersOnColumns");if(g!=null){b.x(g)}var h=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(c,"dimensionPropertiesOnRows");if(h!=null){for(var i=0;i<h.count();i++){b.ag().add(h.item(i))}}var j=$.ig.jQueryUtils.prototype.getJavascriptObjectProperty(c,"dimensionPropertiesOnColumns");if(j!=null){for(var k=0;k<j.count();k++){b.ah().add(j.item(k))}}return b},m:function(){$.ig.StringBuilder.prototype.toString=function(){return this._internal.join("")};$.ig.XObject.prototype.toString=function(){if(this.backingNode()!=null){return $.ig.XmlUtils.prototype.xmlNodeToString(this.backingNode())}else{return""}}},$type:new $.ig.Type("OlapXmlaDataSource",$.ig.DataSourceBase.prototype.$type)},true);$.ig.RemoteXmlaRequestType.prototype.discoverCatalogs=0;$.ig.RemoteXmlaRequestType.prototype.discoverCubes=1;$.ig.RemoteXmlaRequestType.prototype.discoverDimensions=2;$.ig.RemoteXmlaRequestType.prototype.discoverHierarchies=3;$.ig.RemoteXmlaRequestType.prototype.discoverLevels=4;$.ig.RemoteXmlaRequestType.prototype.discoverMeasures=5;$.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroups=6;$.ig.RemoteXmlaRequestType.prototype.discoverMeasureGroupDimensions=7;$.ig.RemoteXmlaRequestType.prototype.discoverMembers=8;$.ig.RemoteXmlaRequestType.prototype.executeStatement=9;$.ig.MdxElementType.prototype.member=0;$.ig.MdxElementType.prototype.memberTree=1;$.ig.MdxElementType.prototype.calculated=2;$.ig.MdxElementType.prototype.filter=3;$.ig.MdxElementType.prototype.collection=4;$.ig.MdxElementType.prototype.userDefined=5;$.ig.XmlaSoapMessageHeader.prototype.none=0;$.ig.XmlaSoapMessageHeader.prototype.session=1;$.ig.XmlaSoapMessageHeader.prototype.beginSession=2;$.ig.XmlaSoapMessageHeader.prototype.endSession=3;$.ig.CatalogConstants.prototype.a="CATALOG_NAME";$.ig.CatalogConstants.prototype.b="DESCRIPTION";$.ig.CatalogConstants.prototype.c="ROLES";$.ig.CatalogConstants.prototype.d="DATE_MODIFIED";$.ig.DbSchemaConstants.prototype.a="DBSCHEMA_CATALOGS";$.ig.DbSchemaConstants.prototype.b="DBSCHEMA_COLUMNS";$.ig.DbSchemaConstants.prototype.c="DBSCHEMA_TABLES";$.ig.DbSchemaConstants.prototype.d="DBSCHEMA_PROVIDER_TYPES";$.ig.CubeConstants.prototype.a="CATALOG_NAME";$.ig.CubeConstants.prototype.b="SCHEMA_NAME";$.ig.CubeConstants.prototype.c="CUBE_NAME";$.ig.CubeConstants.prototype.d="CUBE_TYPE";$.ig.CubeConstants.prototype.e="LAST_SCHEMA_UPDATE";$.ig.CubeConstants.prototype.f="LAST_DATA_UPDATE";$.ig.CubeConstants.prototype.g="DESCRIPTION";$.ig.CubeConstants.prototype.h="IS_DRILLTHROUGH_ENABLED";$.ig.CubeConstants.prototype.i="IS_LINKABLE";$.ig.CubeConstants.prototype.j="IS_WRITE_ENABLED";$.ig.CubeConstants.prototype.k="IS_SQL_ENABLED";$.ig.CubeConstants.prototype.l="CUBE_CAPTION";$.ig.CubeConstants.prototype.m="BASE_CUBE_NAME";
$.ig.CubeConstants.prototype.n="ANNOTATIONS";$.ig.DimensionConstants.prototype.a="CATALOG_NAME";$.ig.DimensionConstants.prototype.b="SCHEMA_NAME";$.ig.DimensionConstants.prototype.c="CUBE_NAME";$.ig.DimensionConstants.prototype.d="DIMENSION_NAME";$.ig.DimensionConstants.prototype.e="DIMENSION_UNIQUE_NAME";$.ig.DimensionConstants.prototype.f="DIMENSION_CAPTION";$.ig.DimensionConstants.prototype.g="DIMENSION_ORDINAL";$.ig.DimensionConstants.prototype.h="DIMENSION_TYPE";$.ig.DimensionConstants.prototype.i="DIMENSION_CARDINALITY";$.ig.DimensionConstants.prototype.j="DEFAULT_HIERARCHY";$.ig.DimensionConstants.prototype.k="DESCRIPTION";$.ig.DimensionConstants.prototype.l="IS_VIRTUAL";$.ig.DimensionConstants.prototype.m="IS_READWRITE";$.ig.DimensionConstants.prototype.n="DIMENSION_UNIQUE_SETTINGS";$.ig.DimensionConstants.prototype.o="DIMENSION_MASTER_NAME";$.ig.DimensionConstants.prototype.p="DIMENSION_IS_VISIBLE";$.ig.HierarchyConstants.prototype.a="CATALOG_NAME";$.ig.HierarchyConstants.prototype.b="CUBE_NAME";$.ig.HierarchyConstants.prototype.c="DIMENSION_UNIQUE_NAME";$.ig.HierarchyConstants.prototype.d="HIERARCHY_NAME";$.ig.HierarchyConstants.prototype.e="HIERARCHY_UNIQUE_NAME";$.ig.HierarchyConstants.prototype.f="HIERARCHY_CAPTION";$.ig.HierarchyConstants.prototype.g="DIMENSION_TYPE";$.ig.HierarchyConstants.prototype.h="HIERARCHY_CARDINALITY";$.ig.HierarchyConstants.prototype.i="DEFAULT_MEMBER";$.ig.HierarchyConstants.prototype.j="ALL_MEMBER";$.ig.HierarchyConstants.prototype.k="DESCRIPTION";$.ig.HierarchyConstants.prototype.l="IS_VIRTUAL";$.ig.HierarchyConstants.prototype.m="IS_READWRITE";$.ig.HierarchyConstants.prototype.n="DIMENSION_UNIQUE_SETTINGS";$.ig.HierarchyConstants.prototype.o="DIMENSION_IS_VISIBLE";$.ig.HierarchyConstants.prototype.p="DIMENSION_MASTER_UNIQUE_NAME";$.ig.HierarchyConstants.prototype.q="HIERARCHY_ORDINAL";$.ig.HierarchyConstants.prototype.r="DIMENSION_IS_SHARED";$.ig.HierarchyConstants.prototype.s="HIERARCHY_IS_VISIBLE";$.ig.HierarchyConstants.prototype.t="HIERARCHY_ORIGIN";$.ig.HierarchyConstants.prototype.u="HIERARCHY_DISPLAY_FOLDER";$.ig.HierarchyConstants.prototype.v="INSTANCE_SELECTION";$.ig.HierarchyConstants.prototype.w="GROUPING_BEHAVIOR";$.ig.HierarchyConstants.prototype.x="STRUCTURE_TYPE";$.ig.InstanceConstants.prototype.a="INSTANCE_NAME";$.ig.InstanceConstants.prototype.b="INSTANCE_PORT_NUMBER";$.ig.InstanceConstants.prototype.c="INSTANCE_STATE";$.ig.LevelConstants.prototype.a="CATALOG_NAME";$.ig.LevelConstants.prototype.b="CUBE_NAME";$.ig.LevelConstants.prototype.c="DIMENSION_UNIQUE_NAME";$.ig.LevelConstants.prototype.d="HIERARCHY_UNIQUE_NAME";$.ig.LevelConstants.prototype.e="LEVEL_NAME";$.ig.LevelConstants.prototype.f="LEVEL_UNIQUE_NAME";$.ig.LevelConstants.prototype.g="LEVEL_CAPTION";$.ig.LevelConstants.prototype.h="LEVEL_NUMBER";$.ig.LevelConstants.prototype.i="LEVEL_CARDINALITY";$.ig.LevelConstants.prototype.j="LEVEL_TYPE";$.ig.LevelConstants.prototype.k="DESCRIPTION";$.ig.LevelConstants.prototype.l="CUSTOM_ROLLUP_SETTINGS";$.ig.LevelConstants.prototype.m="LEVEL_UNIQUE_SETTINGS";$.ig.LevelConstants.prototype.n="LEVEL_IS_VISIBLE";$.ig.LevelConstants.prototype.o="LEVEL_ORDERING_PROPERTY";$.ig.LevelConstants.prototype.p="LEVEL_DBTYPE";$.ig.LevelConstants.prototype.q="LEVEL_KEY_CARDINALITY";$.ig.LevelConstants.prototype.r="LEVEL_ORIGIN";$.ig.MeasureConstants.prototype.a="CATALOG_NAME";$.ig.MeasureConstants.prototype.b="SCHEMA_NAME";$.ig.MeasureConstants.prototype.c="CUBE_NAME";$.ig.MeasureConstants.prototype.d="MEASURE_NAME";$.ig.MeasureConstants.prototype.e="MEASURE_UNIQUE_NAME";$.ig.MeasureConstants.prototype.f="MEASURE_CAPTION";$.ig.MeasureConstants.prototype.g="MEASURE_AGGREGATOR";$.ig.MeasureConstants.prototype.h="DATA_TYPE";$.ig.MeasureConstants.prototype.i="NUMERIC_PRECISION";$.ig.MeasureConstants.prototype.j="NUMERIC_SCALE";$.ig.MeasureConstants.prototype.k="EXPRESSION";$.ig.MeasureConstants.prototype.l="DESCRIPTION";$.ig.MeasureConstants.prototype.m="MEASURE_IS_VISIBLE";$.ig.MeasureConstants.prototype.n="MEASURE_NAME_SQL_COLUMN_NAME";$.ig.MeasureConstants.prototype.o="MEASURE_UNQUALIFIED_CAPTION";$.ig.MeasureConstants.prototype.p="MEASUREGROUP_NAME";$.ig.MeasureConstants.prototype.q="MEASURE_DISPLAY_FOLDER";$.ig.MeasureConstants.prototype.r="DEFAULT_FORMAT_STRING";$.ig.MeasureGroupConstants.prototype.a="CATALOG_NAME";$.ig.MeasureGroupConstants.prototype.b="SCHEMA_NAME";$.ig.MeasureGroupConstants.prototype.c="CUBE_NAME";$.ig.MeasureGroupConstants.prototype.d="MEASUREGROUP_NAME";$.ig.MeasureGroupConstants.prototype.e="DESCRIPTION";$.ig.MeasureGroupConstants.prototype.f="MEASUREGROUP_CAPTION";$.ig.MeasureGroupDimensionConstants.prototype.a="CATALOG_NAME";$.ig.MeasureGroupDimensionConstants.prototype.b="SCHEMA_NAME";$.ig.MeasureGroupDimensionConstants.prototype.c="CUBE_NAME";$.ig.MeasureGroupDimensionConstants.prototype.d="MEASUREGROUP_NAME";$.ig.MeasureGroupDimensionConstants.prototype.e="MEASUREGROUP_CARDINALITY";$.ig.MeasureGroupDimensionConstants.prototype.f="DIMENSION_UNIQUE_NAME";$.ig.MeasureGroupDimensionConstants.prototype.g="DIMENSION_CARDINALITY";$.ig.MeasureGroupDimensionConstants.prototype.h="DIMENSION_IS_VISIBLE";$.ig.MeasureGroupDimensionConstants.prototype.i="DIMENSION_IS_FACT_DIMENSION";$.ig.MeasureGroupDimensionConstants.prototype.j="DIMENSION_PATH";$.ig.MeasureGroupDimensionConstants.prototype.k="DIMENSION_GRANULARITY";$.ig.MemberConstants.prototype.a="CATALOG_NAME";$.ig.MemberConstants.prototype.b="SCHEMA_NAME";$.ig.MemberConstants.prototype.c="CUBE_NAME";$.ig.MemberConstants.prototype.d="DIMENSION_UNIQUE_NAME";$.ig.MemberConstants.prototype.e="HIERARCHY_UNIQUE_NAME";$.ig.MemberConstants.prototype.f="LEVEL_UNIQUE_NAME";$.ig.MemberConstants.prototype.g="LEVEL_NUMBER";$.ig.MemberConstants.prototype.h="MEMBER_NAME";$.ig.MemberConstants.prototype.i="MEMBER_UNIQUE_NAME";$.ig.MemberConstants.prototype.j="MEMBER_TYPE";$.ig.MemberConstants.prototype.k="MEMBER_GUID";$.ig.MemberConstants.prototype.l="MEMBER_CAPTION";$.ig.MemberConstants.prototype.m="CHILDREN_CARDINALITY";$.ig.MemberConstants.prototype.n="PARENT_LEVEL";$.ig.MemberConstants.prototype.o="PARENT_UNIQUE_NAME";$.ig.MemberConstants.prototype.p="PARENT_COUNT";$.ig.MemberConstants.prototype.q="DESCRIPTION";$.ig.MemberConstants.prototype.r="EXPRESSION";$.ig.MemberConstants.prototype.s="MEMBER_KEY";$.ig.MemberConstants.prototype.t="IS_PLACEHOLDERMEMBER";$.ig.MemberConstants.prototype.u="IS_DATAMEMBER";$.ig.MemberConstants.prototype.v="SCOPE";$.ig.OlapSchemaConstants.prototype.a="MDSCHEMA_CUBES";$.ig.OlapSchemaConstants.prototype.b="MDSCHEMA_DIMENSIONS";$.ig.OlapSchemaConstants.prototype.c="MDSCHEMA_MEASUREGROUPS";$.ig.OlapSchemaConstants.prototype.d="MDSCHEMA_MEASUREGROUP_DIMENSIONS";$.ig.OlapSchemaConstants.prototype.e="MDSCHEMA_MEASURES";$.ig.OlapSchemaConstants.prototype.f="MDSCHEMA_HIERARCHIES";$.ig.OlapSchemaConstants.prototype.g="MDSCHEMA_LEVELS";$.ig.OlapSchemaConstants.prototype.h="MDSCHEMA_MEMBERS";$.ig.CubeRestrictions.prototype.a="CATALOG_NAME";$.ig.CubeRestrictions.prototype.b="SCHEMA_NAME";$.ig.CubeRestrictions.prototype.c="CUBE_NAME";$.ig.CubeRestrictions.prototype.d="CUBE_SOURCE";$.ig.DimensionRestrictions.prototype.a="CATALOG_NAME";$.ig.DimensionRestrictions.prototype.b="SCHEMA_NAME";$.ig.DimensionRestrictions.prototype.c="CUBE_NAME";$.ig.DimensionRestrictions.prototype.d="DIMENSION_NAME";$.ig.DimensionRestrictions.prototype.e="DIMENSION_UNIQUE_NAME";$.ig.DimensionRestrictions.prototype.f="CUBE_SOURCE";$.ig.DimensionRestrictions.prototype.g="DIMENSION_VISIBILITY";$.ig.HierarchyRestrictions.prototype.a="CATALOG_NAME";$.ig.HierarchyRestrictions.prototype.b="SCHEMA_NAME";$.ig.HierarchyRestrictions.prototype.c="CUBE_NAME";$.ig.HierarchyRestrictions.prototype.d="DIMENSION_UNIQUE_NAME";$.ig.HierarchyRestrictions.prototype.e="HIERARCHY_NAME";$.ig.HierarchyRestrictions.prototype.f="HIERARCHY_UNIQUE_NAME";$.ig.HierarchyRestrictions.prototype.g="HIERARCHY_ORIGIN";$.ig.HierarchyRestrictions.prototype.h="CUBE_SOURCE";$.ig.HierarchyRestrictions.prototype.i="HIERARCHY_VISIBILITY";$.ig.LevelRestrictions.prototype.a="CATALOG_NAME";$.ig.LevelRestrictions.prototype.b="SCHEMA_NAME";$.ig.LevelRestrictions.prototype.c="CUBE_NAME";$.ig.LevelRestrictions.prototype.d="DIMENSION_UNIQUE_NAME";$.ig.LevelRestrictions.prototype.e="HIERARCHY_UNIQUE_NAME";$.ig.LevelRestrictions.prototype.f="LEVEL_NAME";$.ig.LevelRestrictions.prototype.g="LEVEL_UNIQUE_NAME";$.ig.LevelRestrictions.prototype.h="LEVEL_ORIGIN";$.ig.LevelRestrictions.prototype.i="CUBE_SOURCE";$.ig.LevelRestrictions.prototype.j="LEVEL_VISIBILITY";$.ig.MeasureRestrictions.prototype.a="CATALOG_NAME";$.ig.MeasureRestrictions.prototype.b="SCHEMA_NAME";$.ig.MeasureRestrictions.prototype.c="CUBE_NAME";$.ig.MeasureRestrictions.prototype.d="MEASURE_NAME";$.ig.MeasureRestrictions.prototype.e="MEASURE_UNIQUE_NAME";$.ig.MeasureRestrictions.prototype.f="MEASUREGROUP_NAME";$.ig.MeasureRestrictions.prototype.g="CUBE_SOURCE";$.ig.MeasureRestrictions.prototype.h="MEASURE_VISIBILITY";$.ig.MeasureGroupRestrictions.prototype.a="CATALOG_NAME";$.ig.MeasureGroupRestrictions.prototype.b="SCHEMA_NAME";$.ig.MeasureGroupRestrictions.prototype.c="CUBE_NAME";$.ig.MeasureGroupRestrictions.prototype.d="MEASUREGROUP_NAME";$.ig.MeasureGroupDimensionRestrictions.prototype.a="CATALOG_NAME";$.ig.MeasureGroupDimensionRestrictions.prototype.b="SCHEMA_NAME";$.ig.MeasureGroupDimensionRestrictions.prototype.c="CUBE_NAME";$.ig.MeasureGroupDimensionRestrictions.prototype.d="MEASUREGROUP_NAME";$.ig.MeasureGroupDimensionRestrictions.prototype.e="DIMENSION_UNIQUE_NAME";$.ig.MeasureGroupDimensionRestrictions.prototype.f="DIMENSION_VISIBILITY";$.ig.MemberRestrictions.prototype.a="CATALOG_NAME";$.ig.MemberRestrictions.prototype.b="SCHEMA_NAME";$.ig.MemberRestrictions.prototype.c="CUBE_NAME";$.ig.MemberRestrictions.prototype.d="DIMENSION_UNIQUE_NAME";$.ig.MemberRestrictions.prototype.e="HIERARCHY_UNIQUE_NAME";$.ig.MemberRestrictions.prototype.f="LEVEL_UNIQUE_NAME";$.ig.MemberRestrictions.prototype.g="LEVEL_NUMBER";$.ig.MemberRestrictions.prototype.h="MEMBER_NAME";$.ig.MemberRestrictions.prototype.i="MEMBER_UNIQUE_NAME";$.ig.MemberRestrictions.prototype.j="MEMBER_TYPE";$.ig.MemberRestrictions.prototype.k="TREE_OP";$.ig.MemberRestrictions.prototype.l="CUBE_SOURCE";$.ig.AxisXmlTypeSerializer.prototype.a=null;$.ig.TupleXmlTypeSerializer.prototype.a=null;$.ig.AxisMemberXmlTypeSerializer.prototype.a=null;$.ig.DimensionXmlTypeSerializer.prototype.a=null;$.ig.HierarchyXmlTypeSerializer.prototype.a=null;$.ig.MeasureGroupDimensionXmlTypeSerializer.prototype.a=null;$.ig.MeasureGroupXmlTypeSerializer.prototype.a=null;$.ig.MeasureXmlTypeSerializer.prototype.a=null;$.ig.MemberXmlTypeSerializer.prototype.a=null;$.ig.XmlaSoapMethodResult.prototype.a="return";$.ig.XmlaNamespace.prototype.a="urn:schemas-microsoft-com:xml-sql";$.ig.XmlaNamespace.prototype.b="urn:schemas-microsoft-com:xml-analysis";$.ig.XmlaNamespace.prototype.c="urn:schemas-microsoft-com:xml-analysis:mddataset";$.ig.XmlaNamespace.prototype.d="urn:schemas-microsoft-com:xml-analysis:rowset";$.ig.XmlaNamespace.prototype.e="urn:schemas-microsoft-com:xml-analysis:empty";$.ig.XmlaNamespace.prototype.f="urn:schemas-microsoft-com:xml-analysis:exception";$.ig.XmlaSoapMessageBuilder.prototype.a="Envelope";$.ig.XmlaSoapMessageBuilder.prototype.b="Header";$.ig.XmlaSoapMessageBuilder.prototype.c="Body";$.ig.XmlaSoapMessageBuilder.prototype.d="soap";$.ig.XmlaSoapMessageBuilder.prototype.e="http://schemas.xmlsoap.org/soap/envelope/";$.ig.XmlaSoapMethod.prototype.a="Properties";$.ig.XmlaSoapMethod.prototype.b="PropertyList";$.ig.XmlaSoapMethodDiscover.prototype.l="Discover";$.ig.XmlaSoapMethodDiscover.prototype.m="RequestType";$.ig.XmlaSoapMethodDiscover.prototype.n="Restrictions";$.ig.XmlaSoapMethodDiscover.prototype.o="RestrictionList";$.ig.XmlaSoapMethodDiscover.prototype.p="SessionId";$.ig.XmlaSoapMethodExecute.prototype.l="Execute";$.ig.XmlaSoapMethodExecute.prototype.m="Command";$.ig.XmlaSoapMethodExecute.prototype.n="Statement";$.ig.ArrayJsonSerializer.prototype.a=new $.ig.ArrayJsonSerializer;$.ig.AxisJsonTypeSeriazlier.prototype.a=new $.ig.AxisJsonTypeSeriazlier;$.ig.AxisMemberJsonTypeSeriazlier.prototype.a=new $.ig.AxisMemberJsonTypeSeriazlier;$.ig.CatalogJsonTypeSeriazlier.prototype.a=new $.ig.CatalogJsonTypeSeriazlier;$.ig.CellJsonTypeSeriazlier.prototype.a=new $.ig.CellJsonTypeSeriazlier;$.ig.CubeJsonTypeSeriazlier.prototype.a=new $.ig.CubeJsonTypeSeriazlier;$.ig.DimensionJsonTypeSeriazlier.prototype.a=new $.ig.DimensionJsonTypeSeriazlier;$.ig.HierarchyJsonTypeSeriazlier.prototype.a=new $.ig.HierarchyJsonTypeSeriazlier;$.ig.LevelJsonTypeSeriazlier.prototype.a=new $.ig.LevelJsonTypeSeriazlier;$.ig.MeasureGroupDimensionJsonTypeSeriazlier.prototype.a=new $.ig.MeasureGroupDimensionJsonTypeSeriazlier;$.ig.MeasureGroupJsonTypeSeriazlier.prototype.a=new $.ig.MeasureGroupJsonTypeSeriazlier;$.ig.MeasureJsonTypeSeriazlier.prototype.a=new $.ig.MeasureJsonTypeSeriazlier;$.ig.MemberJsonTypeSeriazlier.prototype.a=new $.ig.MemberJsonTypeSeriazlier;$.ig.RemoteXmlaRequestJsonTypeSeriazlier.prototype.a=new $.ig.RemoteXmlaRequestJsonTypeSeriazlier;$.ig.ResultJsonTypeSeriazlier.prototype.a=new $.ig.ResultJsonTypeSeriazlier;$.ig.TupleJsonTypeSeriazlier.prototype.a=new $.ig.TupleJsonTypeSeriazlier;$.ig.XmlaDiscoverProperties.prototype.a="Catalog";$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.XmlaPropertiesCollection],["where$1","where$11111","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$111","min","min$111","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1"]],[[$.ig.XmlaPropertiesCollection],["ofType$1","cast$1"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.XmlaPropertiesCollection],["asQueryable"]]]);if($.ig.XmlaSoapWebClient.prototype.staticInit&&!$.ig.XmlaSoapWebClient.prototype.staticInitCalled){$.ig.XmlaSoapWebClient.prototype.staticInit();$.ig.XmlaSoapWebClient.prototype.staticInitCalled=true}if($.ig.OlapXmlaDataSource.prototype.staticInit&&!$.ig.OlapXmlaDataSource.prototype.staticInitCalled){$.ig.OlapXmlaDataSource.prototype.staticInit();$.ig.OlapXmlaDataSource.prototype.staticInitCalled=true}