/*!@license
* Infragistics.Web.ClientUI infragistics.radialmenu_core.js 15.2.20152.1027
*
* Copyright (c) 2011-2015 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||{};(function($){var $$t={};$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["AbstractEnumerable:a","Object:b","Type:c","Boolean:d","ValueType:e","Void:f","IConvertible:g","IFormatProvider:h","Number:i","String:j","IComparable:k","Number:l","Number:m","Number:n","Number:o","NumberStyles:p","Enum:q","Array:r","IList:s","ICollection:t","IEnumerable:u","IEnumerator:v","NotSupportedException:w","Error:x","Number:y","String:z","StringComparison:aa","RegExp:ab","CultureInfo:ac","DateTimeFormatInfo:ad","Calendar:ae","Date:af","Number:ag","DayOfWeek:ah","DateTimeKind:ai","CalendarWeekRule:aj","NumberFormatInfo:ak","CompareInfo:al","CompareOptions:am","IEnumerable$1:an","IEnumerator$1:ao","IDisposable:ap","StringSplitOptions:aq","Number:ar","Number:as","Number:at","Number:au","Number:av","Number:aw","Assembly:ax","Stream:ay","SeekOrigin:az","RuntimeTypeHandle:a0","MethodInfo:a1","MethodBase:a2","MemberInfo:a3","ParameterInfo:a4","TypeCode:a5","ConstructorInfo:a6","PropertyInfo:a7","Func$1:a8","MulticastDelegate:a9","IntPtr:ba","AbstractEnumerator:bb","ArgumentOutOfRangeException:bd","ArgumentException:be","IArray:bg","List$1:bh","IList$1:bi","ICollection$1:bj","Script:bk","IArrayList:bl","Array:bm","CompareCallback:bn","Func$3:bo","Action$1:bp","Comparer$1:bq","IComparer:br","IComparer$1:bs","DefaultComparer$1:bt","IComparable$1:bu","Comparison$1:bv","ReadOnlyCollection$1:bw","Predicate$1:bx","NotImplementedException:by","Dictionary_EnumerableCollection$3:cg","GenericEnumerable$1:ci","GenericEnumerator$1:cj","INotifyCollectionChanged:cl","NotifyCollectionChangedEventHandler:cm","NotifyCollectionChangedEventArgs:cn","EventArgs:co","NotifyCollectionChangedAction:cp","ObservableCollection$1:cs","INotifyPropertyChanged:ct","PropertyChangedEventHandler:cu","PropertyChangedEventArgs:cv","Delegate:cw","Interlocked:cx","Stack$1:c1","ReverseArrayEnumerator$1:c2","DependencyObject:dd","Dictionary:de","DependencyProperty:df","PropertyMetadata:dg","PropertyChangedCallback:dh","DependencyPropertyChangedEventArgs:di","DependencyPropertiesCollection:dj","UnsetValue:dk","Binding:dl","PropertyPath:dm","Point:ds","Environment:d3","StringBuilder:et","Element:fb","ElementAttributeCollection:fc","ElementCollection:fd","WebStyle:fe","ElementNodeType:ff","Document:fg","EventListener:fh","IElementEventHandler:fi","ElementEventHandler:fj","ElementAttribute:fk","UIElement:f9","Transform:ga","UIElementCollection:gb","FrameworkElement:gc","Visibility:gd","Style:ge","Panel:gr","Image:gt","Key:gx","ModifierKeys:gy","MouseEventArgs:gz"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.getBoxIfEnum,$e=$.ig.util.getDefaultValue,$f=$.ig.util.getEnumValue,$g=$.ig.util.getValue,$h=$.ig.util.intSToU,$i=$.ig.util.nullableEquals,$j=$.ig.util.nullableIsNull,$k=$.ig.util.nullableNotEquals,$l=$.ig.util.toNullable,$m=$.ig.util.toString$1,$n=$.ig.util.u32BitwiseAnd,$o=$.ig.util.u32BitwiseOr,$p=$.ig.util.u32BitwiseXor,$q=$.ig.util.u32LS,$r=$.ig.util.unwrapNullable,$s=$.ig.util.wrapNullable,$t=String.fromCharCode,$u=$.ig.util.castObjTo$t,$v=$.ig.util.compareSimple,$w=$.ig.util.tryParseNumber,$x=$.ig.util.tryParseNumber1,$y=$.ig.util.numberToString,$z=$.ig.util.numberToString1,$0=$.ig.util.parseNumber,$1=$.ig.util.tryParseInt32_1,$2=$.ig.util.tryParseInt32_2,$3=$.ig.util.intToString1,$4=$.ig.util.parseInt32_1,$5=$.ig.util.parseInt32_2,$6=$.ig.util.compare,$7=$.ig.util.replace,$8=$.ig.util.stringFormat,$9=$.ig.util.stringFormat1,$aa=$.ig.util.stringFormat2,$ab=$.ig.util.stringCompare1,$ac=$.ig.util.stringCompare2,$ad=$.ig.util.stringCompare3,$ae=$.ig.util.isDigit,$af=$.ig.util.isDigit1,$ag=$.ig.util.isLetter,$ah=$.ig.util.isNumber,$ai=$.ig.util.isLetterOrDigit,$aj=$.ig.util.isLower,$ak=$.ig.util.toLowerCase,$al=$.ig.util.toUpperCase;$c("ModifierKeys:gy","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"None";case 1:return"Alt";case 2:return"Control";case 4:return"Shift";case 8:return"Windows";case 8:return"Apple";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("ModifierKeys",$.ig.$ep.$type)},true);$c("Key:gx","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"None";case 1:return"Back";case 2:return"Tab";case 3:return"Enter";case 4:return"Shift";case 5:return"Ctrl";case 6:return"Alt";case 7:return"CapsLock";case 8:return"Escape";case 9:return"Space";case 10:return"PageUp";case 11:return"PageDown";case 12:return"End";case 13:return"Home";case 14:return"Left";case 15:return"Up";case 16:return"Right";case 17:return"Down";case 18:return"Insert";case 19:return"Delete";case 20:return"D0";case 21:return"D1";case 22:return"D2";case 23:return"D3";case 24:return"D4";case 25:return"D5";case 26:return"D6";case 27:return"D7";case 28:return"D8";case 29:return"D9";case 30:return"A";case 31:return"B";case 32:return"C";case 33:return"D";case 34:return"E";case 35:return"F";case 36:return"G";case 37:return"H";case 38:return"I";case 39:return"J";case 40:return"K";case 41:return"L";case 42:return"M";case 43:return"N";case 44:return"O";case 45:return"P";case 46:return"Q";case 47:return"R";case 48:return"S";case 49:return"T";case 50:return"U";case 51:return"V";case 52:return"W";case 53:return"X";case 54:return"Y";case 55:return"Z";case 56:return"F1";case 57:return"F2";case 58:return"F3";case 59:return"F4";case 60:return"F5";case 61:return"F6";case 62:return"F7";case 63:return"F8";case 64:return"F9";case 65:return"F10";case 66:return"F11";case 67:return"F12";case 68:return"NumPad0";case 69:return"NumPad1";case 70:return"NumPad2";case 71:return"NumPad3";case 72:return"NumPad4";case 73:return"NumPad5";case 74:return"NumPad6";case 75:return"NumPad7";case 76:return"NumPad8";case 77:return"NumPad9";case 78:return"Multiply";case 79:return"Add";case 80:return"Subtract";case 81:return"Decimal";case 82:return"Divide";case 255:return"Unknown";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("Key",$.ig.$ep.$type)},true);$c("INotifyCollectionChanged:cl","Object",{$type:new $.ig.Type("INotifyCollectionChanged",null)},true);$c("ObservableCollection$1:cs","List$1",{$t:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$bh.init.call(this,this.$t,0)},init1:function($t,a,b){this.$t=$t;this.$type=this.$type.specialize(this.$t);$$t.$bh.init1.call(this,this.$t,1,b)},init2:function($t,a,b){this.$t=$t;this.$type=this.$type.specialize(this.$t);$$t.$bh.init2.call(this,this.$t,2,b)},w:function(a,b){var c=this.__inner[a];$$t.$bh.w.call(this,a,b);if(this.propertyChanged!=null){this.ac(new $$t.cv("Item[]"))}if(this.collectionChanged!=null){var d=new $$t.cn(2,2,$d(this.$t,b),$d(this.$t,c),a);this.ab(d)}},o:function(){$$t.$bh.o.call(this);if(this.propertyChanged!=null){this.ac(new $$t.cv("Count"));this.ac(new $$t.cv("Item[]"))}if(this.collectionChanged!=null){var a=new $$t.cn(0,4);this.ab(a)}},q:function(a,b){$$t.$bh.q.call(this,a,b);if(this.propertyChanged!=null){this.ac(new $$t.cv("Count"));this.ac(new $$t.cv("Item[]"))}if(this.collectionChanged!=null){var c=new $$t.cn(1,0,$d(this.$t,b),a);this.ab(c)}},m:function(a){$$t.$bh.m.call(this,a);if(this.propertyChanged!=null){this.ac(new $$t.cv("Count"));this.ac(new $$t.cv("Item[]"))}if(this.collectionChanged!=null){var b=new $$t.cn(1,0,$d(this.$t,a),this.count()-1);this.ab(b)}},t:function(a){var b=this.__inner[a];$$t.$bh.t.call(this,a);if(this.propertyChanged!=null){this.ac(new $$t.cv("Count"));this.ac(new $$t.cv("Item[]"))}if(this.collectionChanged!=null){var c=new $$t.cn(1,1,$d(this.$t,b),a);this.ab(c)}},collectionChanged:null,propertyChanged:null,ac:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,a)}},ab:function(a){if(this.collectionChanged!=null){this.collectionChanged(this,a)}},$type:new $.ig.Type("ObservableCollection$1",$$t.$bh.$type.specialize(0),[$$t.$cl.$type,$$t.$ct.$type])},true);$c("Stack$1:c1","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);this.b=new $.ig.Array;$.ig.$op.init.call(this)},b:null,push:function(a){this.b.add($d(this.$t,a))},peek:function(){if(this.b.length<1){return $e(this.$t)}return $u(this.$t,this.b[this.b.length-1])},pop:function(){var a=this.b[this.b.length-1];this.b.removeAt(this.b.length-1);return $u(this.$t,a)},count:function(){return this.b.length},clear:function(){this.b.clear()},contains:function(a){return this.b.contains($d(this.$t,a))},getEnumerator:function(){return new $$t.c2(this.$t,this.b)},getEnumerator:function(){return new $$t.c2(this.$t,this.b)},$type:new $.ig.Type("Stack$1",$.ig.$ot,[$$t.$an.$type.specialize(0)])},true);$c("ReverseArrayEnumerator$1:c2","Object",{$t:null,b:0,a:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.$op.init.call(this);this.a=a;this.b=a.length},current:function(){return $u(this.$t,this.a[this.b])},current:function(){return this.a[this.b]},moveNext:function(){this.b--;return this.b>=0},reset:function(){this.b=this.a.length},dispose:function(){throw new $$t.by(0)},$type:new $.ig.Type("ReverseArrayEnumerator$1",$.ig.$ot,[$$t.$ao.$type.specialize(0)])},true);$c("ArgumentOutOfRangeException:bd","ArgumentException",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break;case 4:this.init4.apply(this,arguments);break}return}$$t.$be.init.call(this,0)},init1:function(a,b){$$t.$be.init1.call(this,1,b+" is out of range.")},init2:function(a,b,c){$$t.$be.init1.call(this,1,c)},init3:function(a,b,c,d){$$t.$bd.init2.call(this,2,d,b)},init4:function(a,b,c){$$t.$be.init3.call(this,3,b,c)},$type:new $.ig.Type("ArgumentOutOfRangeException",$$t.$be.$type)},true);$c("Environment:d3","Object",{init:function(){$.ig.$op.init.call(this)},newLine:function(){return"\n"},$type:new $.ig.Type("Environment",$.ig.$ot)},true);$c("StringBuilder:et","Object",{_internal:null,internal:function(a){if(arguments.length===1){this._internal=a;return a}else{return this._internal}},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.internal("")},init1:function(a,b){$$t.$et.init.call(this,0)},init2:function(a,b){$.ig.$op.init.call(this);this.internal(b)},j:function(a){if(a!=null){this.k(a.toString())}return this},k:function(str_){if(str_!=null){this._internal=this._internal.concat(str_)}return this},m:function(a){var str_=a.toString();this._internal=this._internal.concat(str_);return this},h:function(chr_){this._internal=this._internal.concat(chr_);return this},i:function(value_){this._internal=this._internal.concat(value_);return this},l:function(value_,startIndex_,count_){this._internal=this._internal.concat(value_.substr(startIndex_,count_));return this},g:function(value_,startIndex_,charCount_){this._internal=this._internal.concat(value_.slice(startIndex_,startIndex_+charCount_).join(""));return this},s:function(){return this.t("")},t:function(str_){if(str_!=null){this._internal=this._internal.concat(str_)}this._internal=this._internal.concat($.ig.Environment.prototype.newLine());return this},u:function(){this.internal("");return this},v:function(index_,chr_){if(index_==this.c()){this.h(chr_)}else{this._internal=this._internal.substring(0,index_).concat(chr_).concat(this._internal.substring(index_,this._internal.length))}return this},w:function(index_,str_){if(index_==this.c()){this.k(str_)}else{this._internal=this._internal.substring(0,index_).concat(str_).concat(this._internal.substring(index_,this._internal.length))}return this},x:function(startIndex_,length_){this._internal=this._internal.substring(0,startIndex_).concat(this._internal.substring(startIndex_+length_,this._internal.length));return this},toString:function(){return this.internal()},f:function(a,b){return this.internal().substr(a,b)},c:function(a){if(arguments.length===1){if(a<=this.c()){this._internal=this._internal.substring(0,a)}else{throw new $$t.by(0)}return a}else{return this.internal().length}},item:function(index_,a){if(arguments.length===2){this._internal=this._internal.substring(0,index_).concat(a).concat(this._internal.substring(index_+1,this._internal.length));return a}else{return this.internal().charAt(index_)}},p:function(a,b){return this.k($8(a,b))},o:function(a,b){return this.k($9(a,b))},n:function(a,b,c){return this.k($aa(a,b,c))},q:function(a,b,c){return this.k($8(a,b,c))},r:function(a,b,c,d){return this.k($8(a,b,c,d))},_b:0,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},$type:new $.ig.Type("StringBuilder",$.ig.$ot)},true);$c("UIElementCollection:gb","ObservableCollection$1",{ad:null,init:function(a){$$t.$cs.init.call(this,$$t.$f9.$type,0);this.ad=a},ab:function(a){$$t.$cs.ab.call(this,a);if(a.oldItems()!=null){var c=a.oldItems().getEnumerator();while(c.moveNext()){var b=c.current();b.u(null)}}if(a.newItems()!=null){var e=a.newItems().getEnumerator();while(e.moveNext()){var d=e.current();d.u(this.ad)}}},o:function(){var b=this.getEnumerator();while(b.moveNext()){var a=b.current();a.u(null)}$$t.$cs.o.call(this)},$type:new $.ig.Type("UIElementCollection",$$t.$cs.$type.specialize($$t.$f9.$type))},true);$c("Panel:gr","FrameworkElement",{init:function(){$$t.$gc.init.call(this);this.y(new $$t.gb(this))},_y:null,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},$type:new $.ig.Type("Panel",$$t.$gc.$type)},true);$c("Image:gt","FrameworkElement",{init:function(){$$t.$gc.init.call(this)},_z:null,z:function(a){if(arguments.length===1){this._z=a;return a}else{return this._z}},_y:false,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},$type:new $.ig.Type("Image",$$t.$gc.$type)},true);$c("MouseEventArgs:gz","EventArgs",{init:function(){$$t.$co.init.call(this)},_position:null,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_originalSource:null,originalSource:function(a){if(arguments.length===1){this._originalSource=a;return a}else{return this._originalSource}},getPosition:function(a){return this.position()},$type:new $.ig.Type("MouseEventArgs",$$t.$co.$type)},true);$$t.$gy.none=0;$$t.$gy.alt=1;$$t.$gy.control=2;$$t.$gy.shift=4;$$t.$gy.windows=8;$$t.$gy.apple=8;$$t.$gx.none=0;$$t.$gx.back=1;$$t.$gx.tab=2;$$t.$gx.enter=3;$$t.$gx.shift=4;$$t.$gx.ctrl=5;$$t.$gx.alt=6;$$t.$gx.capsLock=7;$$t.$gx.escape=8;$$t.$gx.space=9;$$t.$gx.pageUp=10;$$t.$gx.pageDown=11;$$t.$gx.end=12;$$t.$gx.home=13;$$t.$gx.left=14;$$t.$gx.up=15;$$t.$gx.right=16;$$t.$gx.down=17;$$t.$gx.insert=18;$$t.$gx.del=19;$$t.$gx.d0=20;$$t.$gx.d1=21;$$t.$gx.d2=22;$$t.$gx.d3=23;$$t.$gx.d4=24;$$t.$gx.d5=25;$$t.$gx.d6=26;$$t.$gx.d7=27;$$t.$gx.d8=28;$$t.$gx.d9=29;$$t.$gx.a=30;$$t.$gx.b=31;$$t.$gx.c=32;$$t.$gx.d=33;$$t.$gx.e=34;$$t.$gx.f=35;$$t.$gx.g=36;$$t.$gx.h=37;$$t.$gx.i=38;$$t.$gx.j=39;$$t.$gx.k=40;$$t.$gx.l=41;$$t.$gx.m=42;$$t.$gx.n=43;$$t.$gx.o=44;$$t.$gx.p=45;$$t.$gx.q=46;$$t.$gx.r=47;$$t.$gx.s=48;$$t.$gx.t=49;$$t.$gx.u=50;$$t.$gx.v=51;$$t.$gx.w=52;$$t.$gx.x=53;$$t.$gx.y=54;$$t.$gx.z=55;$$t.$gx.f1=56;$$t.$gx.f2=57;$$t.$gx.f3=58;$$t.$gx.f4=59;$$t.$gx.f5=60;$$t.$gx.f6=61;$$t.$gx.f7=62;$$t.$gx.f8=63;$$t.$gx.f9=64;$$t.$gx.f10=65;$$t.$gx.f11=66;$$t.$gx.f12=67;$$t.$gx.numPad0=68;$$t.$gx.numPad1=69;$$t.$gx.numPad2=70;$$t.$gx.numPad3=71;$$t.$gx.numPad4=72;$$t.$gx.numPad5=73;$$t.$gx.numPad6=74;$$t.$gx.numPad7=75;$$t.$gx.numPad8=76;$$t.$gx.numPad9=77;$$t.$gx.multiply=78;$$t.$gx.add=79;$$t.$gx.subtract=80;$$t.$gx.decimal=81;$$t.$gx.divide=82;$$t.$gx.unknown=255})(jQuery);$.ig=$.ig||{};(function($){var $$t={};$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["BrushCollection:a","ObservableCollection$1:b","List$1:c","Object:d","Type:e","Boolean:f","ValueType:g","Void:h","IConvertible:i","IFormatProvider:j","Number:k","String:l","IComparable:m","Number:n","Number:o","Number:p","Number:q","NumberStyles:r","Enum:s","Array:t","IList:u","ICollection:v","IEnumerable:w","IEnumerator:x","NotSupportedException:y","Error:z","Number:aa","String:ab","StringComparison:ac","RegExp:ad","CultureInfo:ae","DateTimeFormatInfo:af","Calendar:ag","Date:ah","Number:ai","DayOfWeek:aj","DateTimeKind:ak","CalendarWeekRule:al","NumberFormatInfo:am","CompareInfo:an","CompareOptions:ao","IEnumerable$1:ap","IEnumerator$1:aq","IDisposable:ar","StringSplitOptions:as","Number:at","Number:au","Number:av","Number:aw","Number:ax","Number:ay","Assembly:az","Stream:a0","SeekOrigin:a1","RuntimeTypeHandle:a2","MethodInfo:a3","MethodBase:a4","MemberInfo:a5","ParameterInfo:a6","TypeCode:a7","ConstructorInfo:a8","PropertyInfo:a9","IList$1:ba","ICollection$1:bb","IArray:bc","Script:bd","IArrayList:be","Array:bf","CompareCallback:bg","MulticastDelegate:bh","IntPtr:bi","Func$3:bj","Action$1:bk","Comparer$1:bl","IComparer:bm","IComparer$1:bn","DefaultComparer$1:bo","IComparable$1:bp","Comparison$1:bq","ReadOnlyCollection$1:br","Predicate$1:bs","NotImplementedException:bt","INotifyCollectionChanged:bu","NotifyCollectionChangedEventHandler:bv","NotifyCollectionChangedEventArgs:bw","EventArgs:bx","NotifyCollectionChangedAction:by","INotifyPropertyChanged:bz","PropertyChangedEventHandler:b0","PropertyChangedEventArgs:b1","Delegate:b2","Interlocked:b3","InterpolationMode:b4","Brush:b5","Color:b6","Math:b7","ArgumentException:b8","Random:b9","MathUtil:ca","RuntimeHelpers:cb","RuntimeFieldHandle:cc","ColorUtil:cd","EventProxy:ce","Rect:cf","Size:cg","Point:ch","ModifierKeys:ci","Func$2:cj","MouseWheelHandler:ck","GestureHandler:cl","ContactHandler:cm","TouchHandler:cn","MouseOverHandler:co","MouseHandler:cp","KeyHandler:cq","Key:cr","DOMEventProxy:cs","JQueryObject:ct","Element:cu","ElementAttributeCollection:cv","ElementCollection:cw","WebStyle:cx","ElementNodeType:cy","Document:cz","EventListener:c0","IElementEventHandler:c1","ElementEventHandler:c2","ElementAttribute:c3","JQueryPosition:c4","JQueryCallback:c5","JQueryEvent:c6","JQueryUICallback:c7","MSGesture:c8","JQuery:c9","JQueryDeferred:da","JQueryPromise:db","Action:dc","Callback:dd","window:de","MouseEventArgs:df","UIElement:dg","DependencyObject:dh","Dictionary:di","DependencyProperty:dj","PropertyMetadata:dk","PropertyChangedCallback:dl","DependencyPropertyChangedEventArgs:dm","DependencyPropertiesCollection:dn","UnsetValue:dp","Binding:dq","PropertyPath:dr","Transform:ds","Thread:du","ThreadStart:dv","EventHandler$1:d3","Dictionary$2:ef","IDictionary$2:eg","IDictionary:eh","KeyValuePair$2:ei","Enumerable:ej","IOrderedEnumerable$1:ek","SortedList$1:el","ArgumentNullException:em","IEqualityComparer$1:en","EqualityComparer$1:eo","IEqualityComparer:ep","DefaultEqualityComparer$1:eq","InvalidOperationException:er","Shape:ex","FrameworkElement:ey","Visibility:ez","Style:e0","DoubleCollection:e1","Path:e2","Geometry:e3","GeometryType:e4","TextBlock:e5","PointCollection:e7","Line:fl","FontInfo:fm","LinearGradientBrush:fz","GradientStop:f0","GeometryGroup:f1","GeometryCollection:f2","FillRule:f3","PathGeometry:f4","PathFigureCollection:f5","LineGeometry:f6","RectangleGeometry:f7","EllipseGeometry:f8","ArcSegment:f9","PathSegment:ga","PathSegmentType:gb","SweepDirection:gc","PathFigure:gd","PathSegmentCollection:ge","LineSegment:gf","PolyLineSegment:gg","BezierSegment:gh","PolyBezierSegment:gi","GeometryUtil:gj","Tuple$2:gk","TransformGroup:gl","TransformCollection:gm","RotateTransform:go","DivElement:g0","DoubleAnimator:g1","EasingFunctionHandler:g2","ImageElement:g3","Image:ha","StackPool$1:hc","Stack$1:hd","ReverseArrayEnumerator$1:he","Func$1:hf","StringBuilder:hn","Environment:ho","BrushUtil:hs","CssHelper:ht","CssGradientUtil:hu","Panel:h4","UIElementCollection:h5","IVisualData:iu","PrimitiveVisualDataList:iv","PrimitiveVisualData:iw","PrimitiveAppearanceData:ix","BrushAppearanceData:iy","AppearanceHelper:iz","LinearGradientBrushAppearanceData:i0","GradientStopAppearanceData:i1","SolidBrushAppearanceData:i2","GeometryData:i3","GetPointsSettings:i4","EllipseGeometryData:i5","RectangleGeometryData:i6","LineGeometryData:i7","PathGeometryData:i8","PathFigureData:i9","SegmentData:ja","LineSegmentData:jb","PolylineSegmentData:jc","ArcSegmentData:jd","PolyBezierSegmentData:je","BezierSegmentData:jf","LabelAppearanceData:jg","ShapeTags:jh","PathVisualData:jo","AbstractEnumerable:jp","AbstractEnumerator:jq","GenericEnumerable$1:jr","GenericEnumerator$1:js"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.getBoxIfEnum,$e=$.ig.util.getDefaultValue,$f=$.ig.util.getEnumValue,$g=$.ig.util.getValue,$h=$.ig.util.intSToU,$i=$.ig.util.nullableEquals,$j=$.ig.util.nullableIsNull,$k=$.ig.util.nullableNotEquals,$l=$.ig.util.toNullable,$m=$.ig.util.toString$1,$n=$.ig.util.u32BitwiseAnd,$o=$.ig.util.u32BitwiseOr,$p=$.ig.util.u32BitwiseXor,$q=$.ig.util.u32LS,$r=$.ig.util.unwrapNullable,$s=$.ig.util.wrapNullable,$t=String.fromCharCode,$u=$.ig.util.castObjTo$t,$v=$.ig.util.compareSimple,$w=$.ig.util.tryParseNumber,$x=$.ig.util.tryParseNumber1,$y=$.ig.util.numberToString,$z=$.ig.util.numberToString1,$0=$.ig.util.parseNumber,$1=$.ig.util.compare,$2=$.ig.util.replace,$3=$.ig.util.stringFormat,$4=$.ig.util.stringFormat1,$5=$.ig.util.stringFormat2,$6=$.ig.util.stringCompare1,$7=$.ig.util.stringCompare2,$8=$.ig.util.stringCompare3,$9=$.ig.util.tryParseInt32_1,$aa=$.ig.util.tryParseInt32_2,$ab=$.ig.util.intToString1,$ac=$.ig.util.parseInt32_1,$ad=$.ig.util.parseInt32_2;$c("InterpolationMode:b4","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"RGB";case 1:return"HSV";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("InterpolationMode",$.ig.$ep.$type)},true);$c("BrushCollection:a","ObservableCollection$1",{init:function(){this.ad=0;$$t.$b.init.call(this,$$t.$b5.$type,0)},selectRandom:function(){return this.item($$t.$a.af.c(this.count()))},interpolateRandom:function(){return this.getInterpolatedBrush($$t.$a.af.a()*(this.count()-1))},interpolationMode:function(a){if(arguments.length===1){if(this.ad!=a){this.ad=a;this.ab(new $$t.bw(0,4))}return a}else{return this.ad}},ad:0,item:function(a,b){if(arguments.length===2){$$t.$b.item.call(this,a,b);return b}else{if(a<0||a>=this.count()){return null}return $$t.$b.item.call(this,a)}},getInterpolatedBrush:function(a){if($.ig.util.isNaN(a)){return null}a=$$t.$ca.c(a,0,this.count()-1);var b=$.ig.truncate(Math.floor(a));if(b==a){return this.item(b)}return this.ah(a-b,this.item(b),this.item(b+1),this.interpolationMode())},ah:function(a,b,c,d){var e=b.color();var f=c.color();var g=$$t.$cd.m(e,a,f,d);var h=new $$t.b5;h.color(g);return h},equals:function(a){if(a==null){return false}var b=a;if(b.count()!=this.count()){return false}for(var c=0;c<b.count();c++){if(!b.item(c).equals(this.item(c))){return false}}return true},$type:new $.ig.Type("BrushCollection",$$t.$b.$type.specialize($$t.$b5.$type))},true);$c("EventProxy:ce","Object",{init:function(){this.u=false;$.ig.$op.init.call(this)},onMouseWheel:null,onPinchStarted:null,onPinchDelta:null,onGestureCompleted:null,onContactStarted:null,onDragStarted:null,onContactMoved:null,onDragDelta:null,onContactCompleted:null,onDragCompleted:null,onMouseLeave:null,onMouseOver:null,onMouseEnter:null,onMouseDown:null,onMouseUp:null,onDoubleTap:null,onHold:null,onKeyDown:null,onKeyUp:null,_az:null,az:function(a){if(arguments.length===1){this._az=a;return a}else{return this._az}},_ax:0,ax:function(a){if(arguments.length===1){this._ax=a;return a}else{return this._ax}},_aa:false,aa:function(a){if(arguments.length===1){this._aa=a;return a}else{return this._aa}},_ab:null,ab:function(a){if(arguments.length===1){this._ab=a;return a}else{return this._ab}},d:function(){},ae:function(){},z:function(a,b){if(this.onMouseWheel!=null&&!this.w()){return this.onMouseWheel(a,b)}return false},av:function(a,b){if(this.onPinchStarted!=null&&!this.w()){this.onPinchStarted(a,b)}},au:function(a,b){if(this.onPinchDelta!=null&&!this.w()){this.onPinchDelta(a,b)}},an:function(a,b){if(this.onGestureCompleted!=null&&!this.w()){this.onGestureCompleted(a,b)}},ai:function(a,b){if(this.onContactStarted!=null&&!this.w()){this.onContactStarted(a,b)}},am:function(a){if(this.onDragStarted!=null&&!this.w()){this.onDragStarted(a)}},ah:function(a,b){if(this.onContactMoved!=null&&!this.w()){this.onContactMoved(a,b)}},al:function(a){if(this.onDragDelta!=null&&!this.w()){this.onDragDelta(a)}},ag:function(a,b){if(this.onContactCompleted!=null&&!this.w()){this.onContactCompleted(a,b)}},ak:function(a){if(this.onDragCompleted!=null&&!this.w()){this.onDragCompleted(a)}},ar:function(a){if(this.onMouseLeave!=null&&!this.w()){this.onMouseLeave(a)}},as:function(a,b,c){if(this.onMouseOver!=null&&!this.w()){this.onMouseOver(a,b,c)}},aq:function(a){if(this.onMouseEnter!=null&&!this.w()){this.onMouseEnter(a)}},ap:function(a){if(this.onMouseDown!=null&&!this.w()){this.onMouseDown(a)}},at:function(a){if(this.onMouseUp!=null&&!this.w()){this.onMouseUp(a)}},x:function(a){if(this.onKeyDown!=null&&!this.w()){return this.onKeyDown(a)}return false},y:function(a){if(this.onKeyUp!=null&&!this.w()){return this.onKeyUp(a)}return false},aj:function(a){if(this.onDoubleTap!=null&&!this.w()){this.onDoubleTap(a)}},ao:function(a){if(this.onHold!=null&&!this.w()){this.onHold(a)}},ay:function(){},u:false,w:function(a){if(arguments.length===1){this.u=a;this.af();return a}else{return this.u}},_v:false,v:function(a){if(arguments.length===1){this._v=a;return a}else{return this._v}},_ac:null,ac:function(a){if(arguments.length===1){this._ac=a;return a}else{return this._ac}},af:function(){},ad:function(a,b){},aw:function(a,b){},$type:new $.ig.Type("EventProxy",$.ig.$ot)},true);$c("DOMEventProxy:cs","EventProxy",{_bq:null,bq:function(a){if(arguments.length===1){this._bq=a;return a}else{return this._bq}},d:function(){var a=new $$t.cs(this.bq());a.v(this.v());return a},co:function(a){if(!this.w()){a.preventDefault()}},bn:0,bt:null,a2:false,_bj:null,bj:function(a){if(arguments.length===1){this._bj=a;return a}else{return this._bj}},init:function(a){this.bn=0;this.bt="";this.a2=false;this.a4=false;this.bh=0;this.bi=0;this.bb=0;this.bc=0;this.bl=0;this.bg=1;this.a5=false;this.bk=-1;this.bo=-1;this.c2=null;this.be=0;this.bf=0;this.bd=5;this.a0=false;this.cy=null;this.a3=false;this.a1=false;$$t.$ce.init.call(this);this.ac(function(b){return true});this.v(false);$$t.$cs.bm++;this.bn=$$t.$cs.bm;this.bt=".DOMProxy"+this.bn.toString();this.ax(0);this.bq(a);$$t.$cs.a8=false;try{$$t.$cs.a8=window.navigator.msPointerEnabled&&MSGesture!==undefined}catch(b){}$$t.$cs.a9=false;try{$$t.$cs.a9=window.navigator.pointerEnabled}catch(c){}$$t.$cs.bs=this.br();this.ad(this.bq(),"");this.ab(function(d){return true})},ad:function(a,b){var c=a;var d=this.bt+b;if(!$$t.$cs.a8){c.bind("mousemove"+d,this.b3.runOn(this));c.bind("mouseleave"+d,this.b2.runOn(this));c.bind("mousedown"+d,this.b1.runOn(this));c.bind("mouseup"+d,this.b5.runOn(this));$(window).bind("mouseup"+d,this.cw.runOn(this))}c.bind("keydown"+d,this.by.runOn(this));c.bind("keyup"+d,this.b0.runOn(this));if($$t.$cs.a8){var source_=this.bq()[0];$$t.$cs.cm(source_);var e=this.bq()[0];var f=new MSGesture;f.target=e;this.bj(f);c.bind("MSGestureStart"+d,this.bx.runOn(this));c.bind("MSGestureChange"+d,this.bv.runOn(this));c.bind("MSGestureEnd"+d,this.bw.runOn(this));if($$t.$cs.a9){c.bind("pointerdown"+d,this.b8.runOn(this));c.bind("pointerup"+d,this.cb.runOn(this));c.bind("pointercancel"+d,this.b7.runOn(this));c.bind("pointermove"+d,this.b9.runOn(this));c.bind("pointerout"+d,this.ca.runOn(this));c.bind("lostpointercapture"+d,this.b6.runOn(this))}else{c.bind("MSPointerDown"+d,this.b8.runOn(this));c.bind("MSPointerUp"+d,this.cb.runOn(this));c.bind("MSPointerCancel"+d,this.b7.runOn(this));c.bind("MSPointerMove"+d,this.b9.runOn(this));c.bind("MSPointerOut"+d,this.ca.runOn(this));c.bind("MSLostPointerCapture"+d,this.b6.runOn(this))}}c.bind("DOMMouseScroll"+d,this.b4.runOn(this));c.bind("mousewheel"+d,this.b4.runOn(this));c.bind("gesturestart"+d,this.bx.runOn(this));c.bind("gesturechange"+d,this.bv.runOn(this));c.bind("gestureend"+d,this.bw.runOn(this));c.bind("touchstart"+d,this.ce.runOn(this));c.bind("touchmove"+d,this.cd.runOn(this));c.bind("touchend"+d,this.cc.runOn(this))},a4:false,cj:function(){if($$t.$cs.a8&&!this.a4){var source_=this.bq()[0];$$t.$cs.cm(source_)}},cm:function(source_){if($$t.$cs.a9){source_.style.touchAction="none"}else{source_.style.msTouchAction="none"}source_.style.msUserSelect="none"},cf:function(source_){if($$t.$cs.a9){source_.style.touchAction="auto"}else{source_.style.msTouchAction="auto"}source_.style.msUserSelect="auto"},cg:function(){if($$t.$cs.a8&&this.a4){var source_=this.bq()[0];$$t.$cs.cf(source_)}},af:function(){$$t.$ce.af.call(this);if(!this.w()){this.cj()}else{this.cg()}},br:function(){var ver_=-1;var matchIE_=/Trident\/([\d.]+)/;if(matchIE_.exec(navigator.userAgent)!=null){ver_=parseFloat(RegExp.$1)}return ver_},bh:0,bi:0,bb:0,bc:0,bl:0,_c1:null,c1:function(a){if(arguments.length===1){this._c1=a;return a}else{return this._c1}},_c0:null,c0:function(a){if(arguments.length===1){this._c0=a;return a}else{return this._c0}},cl:function(e_){var a=$$t.$cs.bs>=6;var oe_=e_.originalEvent;if((typeof e_.pageX=="undefined"||a)&&oe_.clientX!=null){var od_=e_.target.ownerDocument;var ed_=od_?od_:document;var doc_=ed_.documentElement;var body_=ed_.body;var clientX_=oe_.clientX;var clientY_=oe_.clientY;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;e_.pageX=clientX_+(scrollLeft_-clientLeft_);e_.pageY=clientY_+(scrollTop_-clientTop_)}},c3:function(a){var b=$$t.$cs.bs>=6;var source_=a[0];var d_=source_.ownerDocument;var doc_=d_?d_.documentElement:null;var z_=doc_?doc_.msContentZoomFactor:null;var body_=doc_.body;if(z_&&z_>1||b){var rect_=source_.getBoundingClientRect();var x_=rect_.left;var y_=rect_.top;var scrollLeft_=doc_&&doc_.scrollLeft||body_&&body_.scrollLeft||0;var scrollTop_=doc_&&doc_.scrollTop||body_&&body_.scrollTop||0;var clientLeft_=doc_&&doc_.clientLeft||body_&&body_.clientLeft||0;var clientTop_=doc_&&doc_.clientTop||body_&&body_.clientTop||0;var c=x_+scrollLeft_-clientLeft_;var d=y_+scrollTop_-clientTop_;return new $$t.cf(0,c,d,0,0)}else{var e=a.offset();return new $$t.cf(0,e.left,e.top,0,0)}},cu:function(a){$$t.$cs.cl(a);var b=$$t.$cs.c3(this.bq());this.bh=a.pageX-b.left();this.bi=a.pageY-b.top();this.bb=this.bh-this.az().left();this.bc=this.bi-this.az().top();this.c1({__x:this.bh,__y:this.bi,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.c0({__x:this.bb,__y:this.bc,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},cv:function(e_){$$t.$cs.cl(e_);if($$t.$cs.a8){var a=e_.pageX;var b=e_.pageY;var c=$$t.$cs.c3(this.bq());this.bh=a-c.left();this.bi=b-c.top()}else{this.bl=0;if(!e_.originalEvent.targetTouches||e_.originalEvent.targetTouches.length<1){return}this.bl=e_.originalEvent.targetTouches.length;var d=e_.originalEvent.targetTouches[0].pageX;var e=e_.originalEvent.targetTouches[0].pageY;var f=$$t.$cs.c3(this.bq());this.bh=d-f.left();this.bi=e-f.top()}this.bb=this.bh-this.az().left();this.bc=this.bi-this.az().top();this.c1({__x:this.bh,__y:this.bi,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.c0({__x:this.bb,__y:this.bc,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})
},b4:function(e_){this.ct(e_);if(this.ab()(this.c1())){var delta_=0;if(e_.wheelDelta){delta_=e_.wheelDelta/120}if(e_.originalEvent&&e_.originalEvent.wheelDelta){delta_=e_.originalEvent.wheelDelta/120}if(e_.detail){delta_=-e_.detail/3}if(e_.originalEvent&&e_.originalEvent.detail){delta_=-e_.originalEvent.detail/3}delta_=delta_/10;var a=this.z(this.c0(),delta_);if(a){this.co(e_)}}},bg:0,cb:function(e_){var a=this.a6(e_);if(a){this.bl--;if(this.bl<0){this.bl=0}}if(this.bl<2&&this.a2&&a){this.a2=false;var b=e_.originalEvent.scale;this.an(this.c0(),b)}else{if(a){this.cc(e_)}else{this.b5(e_)}}},b6:function(e_){var a=this.a6(e_);if(a){this.bl--;if(this.bl<0){this.bl=0}}if(this.bl<2&&this.a2&&a){this.a2=false;var b=e_.originalEvent.scale;this.an(this.c0(),b)}},b7:function(e_){var a=this.a6(e_);if(a){this.bl--;if(this.bl<0){this.bl=0}}if(this.bl<2&&this.a2&&a){this.a2=false;var b=e_.originalEvent.scale;this.an(this.c0(),b)}},b8:function(e_){var a=this.a6(e_);if(this.bj()!=null&&a){this.bl++;this.bj().addPointer(e_.originalEvent.pointerId)}var eventSource_=this.bq()[0];if($$t.$cs.a9){eventSource_.setPointerCapture(e_.originalEvent.pointerId)}else{eventSource_.msSetPointerCapture(e_.originalEvent.pointerId)}if(this.bl>1&&!this.a2&&a){this.a2=true;this.cv(e_);var b=e_.originalEvent.scale;this.av(this.c0(),b)}else{if(a){this.ce(e_)}else{this.b1(e_)}}},a6:function(e_){var pointerEvent_=e_.originalEvent;var a=false;if($$t.$cs.a9){a=pointerEvent_.pointerType=="touch"}else{a=pointerEvent_.pointerType==pointerEvent_.MSPOINTER_TYPE_TOUCH}return a},b9:function(e_){var a=this.a6(e_);if(this.a2){return}if(a){this.cd(e_)}else{this.b3(e_)}},ca:function(e_){var a=this.a6(e_);if(this.a2){return}if(a){}else{this.b2(e_)}},bx:function(e_){this.a7(true);this.ct(e_);this.cv(e_);this.ci();if(this.ab()(this.c1())){this.co(e_);if($$t.$cs.a8){this.bg=1}if($$t.$cs.a8&&this.bl<2){return}var a=e_.originalEvent.scale;this.av(this.c0(),a)}},bv:function(e_){this.a7(true);this.ct(e_);this.cv(e_);if(this.ab()(this.c1())){this.co(e_);if($$t.$cs.a8&&this.bl<2){return}var a=e_.originalEvent.scale;this.au(this.c0(),a)}},bw:function(e_){this.co(e_);var a=e_.originalEvent.scale;this.a7(false);this.ct(e_);this.cv(e_);if(!$$t.$cs.a8||this.a2){this.an(this.c0(),a)}},a5:false,cz:null,ce:function(e_){this.a7(true);this.ct(e_);this.cv(e_);this.cz=this.c0();if(this.ab()(this.c1())){if(!this.v()){this.co(e_)}else{this.a5=true}this.as(this.c1(),false,true);this.ap(this.c1());this.ai(this.c0(),true);this.cq()}},bk:0,bo:0,c2:null,be:0,bf:0,bd:0,cq:function(){if(this.bk==-1){this.be=this.c1().__x;this.bf=this.c1().__y;this.bk=window.setTimeout(this.cn.runOn(this),1500)}},ci:function(){if(Math.abs(this.be-this.c1().__x)>this.bd||Math.abs(this.bf-this.c1().__y)>this.bd){this.cr()}},cr:function(){if(this.bk!=-1){window.clearTimeout(this.bk);this.bk=-1}},cn:function(){this.bk=-1;if(this.a5){this.a5=false;this.bu()}this.ao(this.c0())},a0:false,cy:null,a3:false,cd:function(a){this.a7(true);this.ct(a);this.cv(a);if(this.a5){if(this.ab()(this.c1())&&this.ba()){this.a5=false;this.bu()}}this.ci();this.cs();if(this.ab()(this.c1())&&this.bl==1&&!this.a5){this.co(a);if(!this.a0){this.a0=true;this.cy=this.c0();this.am(this.cy)}else{this.as(this.c1(),true,true);this.ah(this.c0(),true);this.al(this.c0())}}},ba:function(){var a={__x:this.cz.__x-this.c0().__x,__y:this.cz.__y-this.c0().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};if(Math.abs(a.__x)<2&&Math.abs(a.__y)<2){return false}if(Math.abs(a.__x)>Math.abs(a.__y)){a.__y=0}if(Math.abs(a.__y)>Math.abs(a.__x)){a.__x=0}return this.ac()(a)},cc:function(a){this.a7(false);this.ct(a);this.cv(a);this.cr();if(this.a5){this.a5=false;this.bu()}this.co(a);this.as(this.c1(),false,true);this.at(this.c1());if(this.bl==0){this.cp(this.c1());this.ck()}if(this.a0&&this.bl==0){this.a0=false;this.cy=null;this.ak(this.c0());this.ck()}this.ag(this.c0(),true)},ck:function(){if(this.a3){if(this.bo==-1){this.bo=window.setTimeout(this.ch.runOn(this),500)}else{window.clearTimeout(this.bo);this.bo=-1;this.bo=window.setTimeout(this.ch.runOn(this),500)}}},bu:function(){this.a3=true;if(this.bo!=-1){window.clearTimeout(this.bo);this.bo=-1}},ch:function(){this.a3=false},cp:function(a){if($$t.$cf.l_op_Equality(this.c2,null)){this.c2=new $$t.cf(0,a.__x-50,a.__y-50,100,100);window.setTimeout(this.cs.runOn(this),500)}else{if(a.__x>=this.c2.x()&&a.__x<=this.c2.right()&&a.__y>=this.c2.y()&&a.__y<=this.c2.bottom()){this.cs();this.aj(a)}}},cs:function(){this.c2=null},_a7:false,a7:function(a){if(arguments.length===1){this._a7=a;return a}else{return this._a7}},b2:function(a){if(this.a5||this.a3){return}this.cu(a);if(this.a7()){this.a7(false);this.ar(this.c0())}},b3:function(a){if(this.a5||this.a3){return}this.cu(a);this.ct(a);var b=new $$t.df;b.position(this.c1());if(this.ab()(this.c1())){if(!this.a7()){this.a7(true);this.aq(this.c1())}this.as(this.c1(),true,false);this.ah(this.c0(),false)}else if(this.a7()){this.b2(a)}},a1:false,b1:function(a){if(this.a5||this.a3){return}this.bq().focus();this.cu(a);this.ct(a);if(this.ab()(this.c1())){this.a1=true;this.ap(this.c1());this.ai(this.c0(),false);this.co(a)}},cw:function(a){if(this.a5||this.a3){return}if(this.a1){this.b5(a)}},b5:function(a){if(this.a5||this.a3){return}this.ct(a);this.a1=false;this.at(this.c1());this.ag(this.c0(),false);this.co(a)},by:function(a){this.bz(a,true)},b0:function(a){this.bz(a,false)},cx:function(a){var b=0;switch(a.which){case 33:b=10;break;case 34:b=11;break;case 36:b=13;break;case 37:b=14;break;case 38:b=15;break;case 39:b=16;break;case 40:b=17;break;case 9:b=2;break;case 32:b=9;break;case 13:b=3;break;case 27:b=8;break;case 16:b=4;break;case 17:b=5;break;case 18:b=6;break;default:if(112<=a.which&&a.which<=123){b=56+a.which-112}break}return b},bz:function(a,b){var c=$$t.$cs.cx(a);var d=c!=0;this.ct(a);if(d&&this.ab()(this.c1())){var e=false;if(b){e=this.x(c)}else{e=this.y(c)}if(e){this.co(a)}}},ct:function(a){this.ax(0);if(a.shiftKey){this.ax(this.ax()|4)}if(a.altKey){this.ax(this.ax()|1)}if(a.ctrlKey){this.ax(this.ax()|2)}this.aa(a.button==2)},ay:function(){var a=$$t.$cs.c3(this.bq());var b=a.left();var c=a.top();return{__x:b,__y:c,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},aw:function(a,b){var c=a;var d=this.bt+b;c.unbind(d);if(!$$t.$cs.a8){$(window).unbind(d)}},ae:function(){if(this.bq()==null){return}this.bq().unbind(this.bt);if(!$$t.$cs.a8){$(window).unbind(this.bt)}this.bq(null)},$type:new $.ig.Type("DOMEventProxy",$$t.$ce.$type)},true);$c("BrushUtil:hs","Object",{init:function(){$.ig.$op.init.call(this)},h:function(a,b){if(a==null){return a}if(a._isGradient){var c=a.clone();for(var d=0;d<c._gradientStops.length;d++){var e=c._gradientStops[d];e.color($$t.$cd.n(e.color(),b))}return c}else{var f=$$t.$cd.n(a.color(),b);return function(){var $ret=new $$t.b5;$ret.color(f);return $ret}()}},g:function(a,b,c,d){var e=new $$t.b5;if(a==null&&c==null){e.__fill="transparent";return e}var f=null,g=null;var h=null,i=null;if(a==null){var j=c._isGradient?function(){var $ret=new $$t.b6;$ret.l(0);$ret.o(255);$ret.n(255);$ret.m(255);return $ret}():function(){var $ret=new $$t.b6;$ret.l(0);$ret.o(c.color().o());$ret.n(c.color().n());$ret.m(c.color().m());return $ret}();f=function(){var $ret=new $$t.b5;$ret.color(j);return $ret}()}else{if(a._isGradient){h=a}else{f=a}}if(c==null){var k=a._isGradient?function(){var $ret=new $$t.b6;$ret.l(0);$ret.o(255);$ret.n(255);$ret.m(255);return $ret}():function(){var $ret=new $$t.b6;$ret.l(0);$ret.o(a.color().o());$ret.n(a.color().n());$ret.m(a.color().m());return $ret}();g=function(){var $ret=new $$t.b5;$ret.color(k);return $ret}()}else{if(c._isGradient){i=c}else{g=c}}if(f!=null&&g!=null){return $$t.$hs.k(f,b,g,d)}if(f!=null&&i!=null){return $$t.$hs.j(f,b,i,d)}if(h!=null&&g!=null){return $$t.$hs.j(g,1-b,h,d)}if(h!=null&&i!=null){return $$t.$hs.i(h,b,i,d)}return e},k:function(a,b,c,d){var e=new $$t.b5;e.color($$t.$cd.m(a.color(),b,c.color(),d));return e},j:function(a,b,c,d){var e=new $$t.fz;e._gradientStops=$$t.$hs.c(a.color(),b,c._gradientStops,d);if(c._useCustomDirection){e._useCustomDirection=true;e._startX=c._startX;e._startY=c._startY;e._endX=c._endX;e._endY=c._endY}return e},i:function(a,b,c,d){var e=new $$t.fz;e._gradientStops=$$t.$hs.b(a._gradientStops,b,c._gradientStops,d);if(a._useCustomDirection||c._useCustomDirection){e._useCustomDirection=true;e._startX=a._startX+b*(c._startX-a._startX);e._startY=a._startY+b*(c._startY-a._startY);e._endX=(1-b)*a._endX+b*c._endX;e._endY=(1-b)*a._endY+b*c._endY}return e},c:function(a,b,c,d){var e=new Array(c.length);for(var f=0;f<c.length;++f){e[f]=function(){var $ret=new $$t.f0;$ret._offset=c[f]._offset;$ret.color($$t.$cd.m(a,b,c[f].color(),d));return $ret}()}return e},b:function(a,b,c,d){var e=Math.min(a.length,c.length);var f=Math.max(a.length,c.length);var g=new Array(f);var h=0;for(;h<e;++h){g[h]=function(){var $ret=new $$t.f0;$ret._offset=(1-b)*a[h]._offset+b*c[h]._offset;$ret.color($$t.$cd.m(a[h].color(),b,c[h].color(),d));return $ret}()}for(;h<a.length;++h){g[h]=function(){var $ret=new $$t.f0;$ret._offset=(1-b)*a[h]._offset+b*c[c.length-1]._offset;$ret.color($$t.$cd.m(a[h].color(),b,c[c.length-1].color(),d));return $ret}()}for(;h<c.length;++h){g[h]=function(){var $ret=new $$t.f0;$ret._offset=(1-b)*a[a.length-1]._offset+b*c[h]._offset;$ret.color($$t.$cd.m(a[a.length-1].color(),b,c[h].color(),d));return $ret}()}return g},a:function(a,b){var c=new Array(2);b.addClass(a);var d=new $$t.b5;d.__fill=b.css("background-color");var e=new $$t.b5;e.__fill=b.css("border-top-color");b.removeClass(a);c[0]=d;c[1]=e;return c},d:function(palleteName_,container_,a,b,c){a=new $$t.a;b=new $$t.a;var d;var e=new $$t.c(String,0);e.add("background-color");e.add("border-top-color");var f=$$t.$ht.g();var g=false;if(container_!=null){container_.append(f);g=!jQuery.contains(document.documentElement,container_[0]);if(g){$("body").append(container_)}}else{$("body").append(f)}var h=$$t.$ht.d(f,"ui-"+palleteName_+"-palette-",e);var i=h.count();if(i==0){if(c==null){c=["#B1BFC9","#50a8be","#798995","#fc6754","#4F606C","#fec33c","#374650","#3c6399","#162C3B","#91af49"]}for(var j=0;j<c.length-1;j+=2){d=new $$t.b5;d.__fill=c[j];b.add(d);d=new $$t.b5;d.__fill=c[j+1];a.add(d)}}for(var k=0;k<i;k++){var l=new $$t.b5;l.__fill=h.__inner[k].__inner[0];var m=new $$t.b5;m.__fill=h.__inner[k].__inner[1];a.add(l);b.add(m)}f.remove();if(g){container_.remove()}return{p2:a,p3:b}},e:function(a,b,c,container_,d,e,f){d=new $$t.a;e=new $$t.a;if(f==null){f=["#B1BFC9","#50a8be","#798995","#fc6754","#4F606C","#fec33c","#374650","#3c6399","#162C3B","#91af49"]}var g=$$t.$ht.g();var h=false;if(container_!=null){container_.append(g);h=!jQuery.contains(document.documentElement,container_[0]);if(h){$("body").append(container_)}}else{$("body").append(g)}var i=new $$t.c(String,0);i.add("background-image");var j=$$t.$ht.d(g,a,i);var k=j.count();var l=$$t.$ht.d(g,b,i);var m=l.count();for(var n=0;n<k;n++){d.add($$t.$hu.brushFromGradientString(j.__inner[n].__inner[0]))}for(var o=0;o<m;o++){e.add($$t.$hu.brushFromGradientString(l.__inner[o].__inner[0]))}i.clear();var p=0;var q=0;var r=Math.min(k,m);var s=null;if(k==0){i.add("background-color")}if(m==0){i.add("border-top-color");q=k==0?1:0}if(i.count()>0){s=$$t.$ht.d(g,c,i);r=s.count()}if(k==0){if(r>0){for(var t=0;t<r;t++){var u=new $$t.b5;u.__fill=s.__inner[t].__inner[p];d.add(u)}}else{for(var v=0;v<f.length-1;v+=2){var w=new $$t.b5;w=new $$t.b5;w.__fill=f[v+1];d.add(w)}}}if(m==0){if(r>0){for(var x=0;x<r;x++){var y=new $$t.b5;y.__fill=s.__inner[x].__inner[q];e.add(y)}}else{for(var z=0;z<f.length-1;z+=2){var aa=new $$t.b5;aa.__fill=f[z];e.add(aa)}}}g.remove();if(h){container_.remove()}return{p4:d,p5:e}},f:function(a,b,c,container_,d){var e=null;var f=$$t.$ht.g();var g=false;if(container_!=null){container_.append(f);g=!jQuery.contains(document.documentElement,container_[0]);if(g){$("body").append(container_)}}else{$("body").append(f)}var h=$$t.$ht.q(f,a,"background-image");if(h!=null){e=$$t.$hu.brushFromGradientString(h)}if(e==null){e=new $$t.b5;var i=$$t.$ht.q(f,b,c);e.__fill=i!=null?i:d}f.remove();if(g){container_.remove()}return e},$type:new $.ig.Type("BrushUtil",$.ig.$ot)},true);$c("ColorUtil:cd","Object",{init:function(){$.ig.$op.init.call(this)},p:function(a){return $$t.$b6.u(a,$$t.$cd.h.d(0,255),$$t.$cd.h.d(0,255),$$t.$cd.h.d(0,255))},q:function(a){var b=$$t.$cd.c(a);return $$t.$cd.j(b[0],$$t.$cd.h.d(0,359),b[2],b[3])},m:function(a,interpolation_,maximum_,b){var min_=a;switch(b){case 1:{var c=$$t.$cd.c(a);var d=$$t.$cd.c(maximum_);var e=c[1]>=0?c[1]:d[1];var f=d[1]>=0?d[1]:c[1];if(e>=0&&f>=0&&Math.abs(f-e)>180){if(f>e){e+=360}else{f+=360}}interpolation_=Math.max(0,Math.min(1,interpolation_));return $$t.$cd.j(c[0]+interpolation_*(d[0]-c[0]),e+interpolation_*(f-e),c[2]+interpolation_*(d[2]-c[2]),c[3]+interpolation_*(d[3]-c[3]))}case 0:return $$t.$b6.u(min_.__a+interpolation_*(maximum_.__a-min_.__a),min_.__r+interpolation_*(maximum_.__r-min_.__r),min_.__g+interpolation_*(maximum_.__g-min_.__g),min_.__b+interpolation_*(maximum_.__b-min_.__b))}return a},k:function(a,b,c){var d=a[1]>=0?a[1]:c[1];var e=c[1]>=0?c[1]:a[1];if(d>=0&&e>=0&&Math.abs(e-d)>180){if(e>d){d+=360}else{e+=360}}b=Math.max(0,Math.min(1,b));return $$t.$cd.j(a[0]+b*(c[0]-a[0]),d+b*(e-d),a[2]+b*(c[2]-a[2]),a[3]+b*(c[3]-a[3]))},n:function(a,b){var c=$$t.$cd.b(a);if(b<0){return $$t.$cd.i(c[0],c[1],c[2],c[3]*(1-$$t.$ca.c(-b,0,1)))}else{return $$t.$cd.i(c[0],c[1],c[2],c[3]+$$t.$ca.c(b,0,1)*(1-c[3]))}},b:function(a){var b=new Array(4);var c=a.o()/255;var d=a.n()/255;var e=a.m()/255;var f=Math.min(Math.min(c,d),e);var g=Math.max(Math.max(c,d),e);var h=g-f;b[0]=a.l()/255;b[3]=(g+f)/2;if(h==0){b[1]=-1;b[2]=0}else{b[1]=$$t.$cd.f(g,h,c,d,e);b[2]=b[3]<.5?h/(g+f):h/(2-g-f)}return b},c:function(a){var b=a.l()/255;var c=a.o()/255;var d=a.n()/255;var e=a.m()/255;var f=Math.min(c,Math.min(d,e));var g=Math.max(c,Math.max(d,e));var h=g-f;var i=new Array(4);i[0]=b;i[3]=g;if(h==0){i[1]=-1;i[2]=0}else{i[1]=$$t.$cd.f(g,h,c,d,e);i[2]=h/g}return i},i:function(a,b,c,d){var e;var f;var g;if(c==0){e=d;f=d;g=d}else{var h=d<.5?d*(1+c):d+c-d*c;var i=2*d-h;var j=b/360;e=$$t.$cd.e(i,h,j+1/3);f=$$t.$cd.e(i,h,j);g=$$t.$cd.e(i,h,j-1/3)}return $$t.$b6.u($.ig.truncate(a*255),$.ig.truncate(e*255),$.ig.truncate(f*255),$.ig.truncate(g*255))},j:function(a,b,c,d){var e;var f;var g;while(b>=360){b-=360}if(c==0){e=d;f=d;g=d}else{b/=60;var h=Math.floor(b);var i=b-h;var j=d*(1-c);var k=d*(1-c*i);var l=d*(1-c*(1-i));switch($.ig.truncate(h)){case 0:e=d;f=l;g=j;break;case 1:e=k;f=d;g=j;break;case 2:e=j;f=d;g=l;break;case 3:e=j;f=k;g=d;break;case 4:e=l;f=j;g=d;break;default:e=d;f=j;g=k;break}}return $$t.$b6.u($.ig.truncate(a*255),$.ig.truncate(e*255),$.ig.truncate(f*255),$.ig.truncate(g*255))},f:function(a,b,c,d,e){var f=c==a?(d-e)/b:d==a?2+(e-c)/b:4+(c-d)/b;f*=60;if(f<0){f+=360}return f},e:function(a,b,c){c=c<0?c+1:c>1?c-1:c;if(c<1/6){return a+(b-a)*6*c}if(c<1/2){return b}if(c<2/3){return a+(b-a)*6*(2/3-c)}return a},d:function(){if($$t.$cd.a==null){$$t.$cd.a=new Array(100);$$t.$cd.a[0]=$$t.$b6.u(255,70,130,180);$$t.$cd.a[1]=$$t.$b6.u(255,65,105,225);$$t.$cd.a[2]=$$t.$b6.u(255,100,149,237);$$t.$cd.a[3]=$$t.$b6.u(255,176,196,222);$$t.$cd.a[4]=$$t.$b6.u(255,123,104,238);$$t.$cd.a[5]=$$t.$b6.u(255,106,90,205);$$t.$cd.a[6]=$$t.$b6.u(255,72,61,139);$$t.$cd.a[7]=$$t.$b6.u(255,25,25,112);for(var a=8;a<100;a++){$$t.$cd.a[a]=$$t.$b6.u(255,$$t.$cd.h.c(255),$$t.$cd.h.c(255),$$t.$cd.h.c(255))}}return $$t.$cd.a},o:function(a){a%=100;return $$t.$cd.d()[a]},g:function(a){var b=a.l()/255;var c=$.ig.truncate(a.o()*b);var d=$.ig.truncate(a.n()*b);var e=$.ig.truncate(a.m()*b);return a.l()<<24|c<<16|d<<8|e},l:function(a){return a.color()},$type:new $.ig.Type("ColorUtil",$.ig.$ot)},true);$c("CssHelper:ht","Object",{init:function(){$.ig.$op.init.call(this)},g:function(){var a=$("#fakediscoveryelementstyle");if(a.length==0){var b="fakediscoveryelement\n"+"{\n"+"	display: block;\n"+"   position: absolute;\n"+"   box-sizing: content-box;\n"+"   -moz-box-sizing: content-box;\n"+"	margin: "+"-4321px"+";\n"+"	color: "+"rgb(3, 2, 1)"+";\n"+"   border-style: solid;\n"+"   border-color: "+"rgb(3, 2, 1)"+";\n"+"   background-color: "+"rgb(3, 2, 1)"+";\n"+"   background-image: "+"none"+";\n"+"   border-width: "+"4321px"+";\n"+"   border-radius: "+"4321px"+";\n"+"   vertical-align: "+"baseline"+";\n"+"   text-align: "+"justify"+";\n"+"   opacity: "+"0.888"+";\n"+"   visibility: "+"hidden"+";\n"+"   width: "+"4321px"+";\n"+"   height: "+"4321px"+";\n"+"}\n";a=$("<style id='fakediscoveryelementstyle'></style>");a.html(b);$("head").append(a)}return $("<fakediscoveryelement></fakediscoveryelement>")},p:function(a){if(a=="color"||a=="border-color"||a=="border-top-color"||a=="border-left-color"||a=="border-right-color"||a=="border-bottom-color"||a=="background-color"){return"rgb(3, 2, 1)"}else if(a=="margin-left"||a=="margin-top"||a=="margin-right"||a=="margin-bottom"){return"-4321px"}else if(a=="vertical-align"){return"baseline"}else if(a=="opacity"){return"0.888"}else if(a=="background-image"){return"none"}else if(a=="text-align"){return"justify"}else if(a=="visibility"){return"hidden"}else if($$t.$ht.c(a)){return"4321px"}return"DEFAULT"},f:function(a,b,c){var d=$$t.$ht.p(c);var e=1;var f=false;while(!f&&e<500){var g=b+e.toString();a.addClass(g);var h=a.css(c);if(h==d){break}e++}return e},q:function(a,b,c){a.addClass(b);var ret_=a.css(c);a.removeClass(b);if(c=="opacity"){ret_=Math.round(1e3*ret_)/1e3}if($$t.$ht.a(ret_,$$t.$ht.p(c),c)){return null}return ret_},a:function(a,b,c){if(a==b){return true}if($$t.$ht.c(c)&&a!=null&&a.contains("px")){var d=$2(a,"px","");var e=parseFloat(d);if(Math.abs(Math.round(e)-4321)<2){return true}return false}else if($$t.$ht.b(c)&&a!=null&&a.contains("px")){var f=$2(a,"px","");var g=parseFloat(f);if(Math.abs(Math.round(g)+4321)<2){return true}return false}else{return a==b}},c:function(a){return a=="width"||a=="height"||a=="border-top-width"||a=="border-left-width"||a=="border-right-width"||a=="border-bottom-width"||a=="border-top-left-radius"},b:function(a){return a=="margin-top"||a=="margin-left"||a=="margin-right"||a=="margin-bottom"},d:function(a,b,c){var d=new $$t.c($$t.$c.$type.specialize(String),0);var e=1;var f=false;while(!f&&e<500){var g=b+e.toString();a.addClass(g);var h=new $$t.c(String,0);for(var i=0;i<c.count();i++){var j=c.__inner[i];var k=$$t.$ht.p(j);var l=a.css(j);if($$t.$ht.a(l,k,j)){f=true;break}h.add(l)}a.removeClass(g);if(!f){d.add(h)}e++}return d},$type:new $.ig.Type("CssHelper",$.ig.$ot)},true);$c("DoubleAnimator:g1","Object",{needsFlush:function(){return this.transitionProgress()==0},flush:function(){this.x(true)},k:0,transitionProgress:function(a){if(arguments.length===1){this.k=a;if(this.propertyChanged!=null){this.propertyChanged(this,new $$t.b1("TransitionProgress"))}return a}else{return this.k}},q:0,intervalMilliseconds:function(a){if(arguments.length===1){this.q=a;return a}else{return this.q}},a:null,easingFunction:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},i:0,j:0,l:function(a){if(arguments.length===1){this.i=a;return a}else{return this.i}},n:function(a){if(arguments.length===1){this.j=a;return a}else{return this.j}},init:function(a,b,c){this.a=null;this.i=0;this.j=0;this.d=false;this.p=-1;this.r=0;$.ig.$op.init.call(this);this.i=a;this.j=b;this.q=c;this.c(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1e3/60)})},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},d:false,e:function(a){if(arguments.length===1){this.d=a;return a}else{return this.d}},start:function(){this.k=0;this.r=0;this.h=$$t.$ah.now();if(!this.d){this.d=true;this.c()(this.tick.runOn(this))}},stop:function(){this.d=false;this.k=0;this.r=0},h:new Date,p:0,r:0,tick:function(){this.x(false)},x:function(a){if(!this.d){this.stop();return}var b=$$t.$ah.now();var c=b.getTime()-this.h.getTime();if(c>this.q){c=this.q}if(c-this.r<16&&c!=this.q&&!a){this.c()(this.tick.runOn(this));return}this.r=c;var d=c/this.q;if(this.a!=null){d=this.a(d)}var e=this.i+(this.j-this.i)*d;if(!a){if(c==this.q){this.stop()}else{this.c()(this.tick.runOn(this))}}this.transitionProgress(e)},getElapsedMilliseconds:function(){return this.d?$$t.$ah.now().getTime()-this.h.getTime():0},animationActive:function(){return this.d},propertyChanged:null,$type:new $.ig.Type("DoubleAnimator",$.ig.$ot,[$$t.$bz.$type])},true);$c("StackPool$1:hc","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);this.e=false;this.g=new $$t.ef(this.$t,$.ig.$op.$type,0);this.i=new $$t.hd(this.$t);this.h=new $$t.hd(this.$t);$.ig.$op.init.call(this)},a:function(){var a;if(this.i.count()!=0){a=this.i.pop()}else{a=this.h.count()!=0?this.h.pop():this.j()();this.b()(a)}this.g.add(a,null);return a},n:function(a){this.g.remove(a);if(this.f()){this.i.push(a)}else{this.c()(a);var b=$$t.$hc.m(this.$t,this.g.count());if(this.h.count()<b){this.d()(a)}else{this.h.push(a)}}},f:function(a){if(arguments.length===1){if(this.e!=a){this.e=a;if(!this.e){var b=$$t.$hc.m(this.$t,this.g.count());while(this.i.count()>0&&this.h.count()<=b){var c=this.i.pop();this.c()(c);this.h.push(c)}while(this.i.count()>0){var d=this.i.pop();this.c()(d);this.d()(d)}while(this.h.count()>b){this.d()(this.h.pop())}}}return a}else{return this.e}},e:false,k:function(){return this.g.count()},l:function(){return this.h.count()},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},_b:null,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},m:function($t,a){var b=2;while(a>b){b=b<<1}return b},g:null,i:null,h:null,$type:new $.ig.Type("StackPool$1",$.ig.$ot)},true);$c("IVisualData:iu","Object",{$type:new $.ig.Type("IVisualData",null)},true);$c("PrimitiveVisualData:iw","Object",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this)},init1:function(a,b){$.ig.$op.init.call(this);this.name(b);this.tags(new $$t.jh);this.appearance(new $$t.ix)},_appearance:null,appearance:function(a){if(arguments.length===1){this._appearance=a;return a}else{return this._appearance}},_tags:null,tags:function(a){if(arguments.length===1){this._tags=a;return a}else{return this._tags}},type:function(){},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},scaleByViewport:function(a){this.appearance().j(a)},getPoints:function(a){var b=new $$t.c($$t.$c.$type.specialize($$t.$ch.$type),0);this.getPointsOverride(b,a);return b},getPointsOverride:function(a,b){},serialize:function(){var a=new $$t.hn(0);a.t("{");a.t("appearance: "+(this.appearance()!=null?this.appearance().serialize():"null")+", ");a.t("tags: [");for(var b=0;b<this.tags().count();b++){if(b!=0){a.k(", ")}a.k('"'+this.tags().__inner[b]+'"')}a.t("],");a.t('type: "'+this.type()+'", ');a.t('name: "'+this.name()+'", ');a.t(this.e());a.t("}");return a.toString()},e:function(){return""},$type:new $.ig.Type("PrimitiveVisualData",$.ig.$ot,[$$t.$iu.$type])},true);$c("PrimitiveVisualDataList:iv","List$1",{init:function(){$$t.$c.init.call(this,$$t.$iw.$type,0)},containingTag:function(a){var b=new $$t.iv;for(var c=0;c<this.count();c++){var d=this.__inner[c];for(var e=0;e<d.tags().count();e++){if(d.tags().__inner[e]==a){b.add(d);break}}}return b},serialize:function(){var a=new $$t.hn(0);a.k("{ items: [");for(var b=0;b<this.count();b++){if(b!=0){a.k(", ")}a.k(this.__inner[b].serialize())}return a.toString()},$type:new $.ig.Type("PrimitiveVisualDataList",$$t.$c.$type.specialize($$t.$iw.$type),[$$t.$iu.$type])},true);$c("LabelAppearanceData:jg","Object",{init:function(){this._labelBrush=new $$t.b6;$.ig.$op.init.call(this)},_text:null,text:function(a){if(arguments.length===1){this._text=a;return a}else{return this._text}},_horizontalAlignment:null,horizontalAlignment:function(a){if(arguments.length===1){this._horizontalAlignment=a;return a}else{return this._horizontalAlignment}},_verticalAlignment:null,verticalAlignment:function(a){if(arguments.length===1){this._verticalAlignment=a;return a}else{return this._verticalAlignment}},_textAlignment:null,textAlignment:function(a){if(arguments.length===1){this._textAlignment=a;return a}else{return this._textAlignment}},_textWrapping:null,textWrapping:function(a){if(arguments.length===1){this._textWrapping=a;return a}else{return this._textWrapping}},_textPosition:null,textPosition:function(a){if(arguments.length===1){this._textPosition=a;return a}else{return this._textPosition}},_labelBrush:null,labelBrush:function(a){if(arguments.length===1){this._labelBrush=a;return a}else{return this._labelBrush}},_labelBrushExtended:null,labelBrushExtended:function(a){if(arguments.length===1){this._labelBrushExtended=a;return a}else{return this._labelBrushExtended}},_angle:0,angle:function(a){if(arguments.length===1){this._angle=a;return a}else{return this._angle}},_opacity:0,opacity:function(a){if(arguments.length===1){this._opacity=a;return a}else{return this._opacity}},_visibility:false,visibility:function(a){if(arguments.length===1){this._visibility=a;return a}else{return this._visibility}},_font:null,font:function(a){if(arguments.length===1){this._font=a;return a}else{return this._font}},_fontFamily:null,fontFamily:function(a){if(arguments.length===1){this._fontFamily=a;return a}else{return this._fontFamily}},_fontSize:0,fontSize:function(a){if(arguments.length===1){this._fontSize=a;return a}else{return this._fontSize}},_fontWeight:null,fontWeight:function(a){if(arguments.length===1){this._fontWeight=a;return a}else{return this._fontWeight}},_fontStyle:null,fontStyle:function(a){if(arguments.length===1){this._fontStyle=a;return a}else{return this._fontStyle}},_fontStretch:null,fontStretch:function(a){if(arguments.length===1){this._fontStretch=a;return a}else{return this._fontStretch}},_marginLeft:0,marginLeft:function(a){if(arguments.length===1){this._marginLeft=a;return a}else{return this._marginLeft}},_marginRight:0,marginRight:function(a){if(arguments.length===1){this._marginRight=a;return a}else{return this._marginRight}},_marginTop:0,marginTop:function(a){if(arguments.length===1){this._marginTop=a;return a}else{return this._marginTop}},_marginBottom:0,marginBottom:function(a){if(arguments.length===1){this._marginBottom=a;return a}else{return this._marginBottom}},serialize:function(){var a=new $$t.hn(0);a.t("{");a.t('text: "'+(this.text()!=null?this.text():"")+'", ');if(this.textAlignment()!=null){a.t('textAlignment: "'+this.textAlignment()+'", ')}if(this.textWrapping()!=null){a.t('textWrapping: "'+this.textWrapping()+'", ')}a.t("labelBrush: "+($$t.$b6.e($l($$t.$b6.$type,this.labelBrush()),$l($$t.$b6.$type,null))?$$t.$iz.serializeColor(this.labelBrush()):"null")+", ");a.t("labelBrushExtended: "+(this.labelBrushExtended()!=null?this.labelBrushExtended().serialize():"null")+", ");a.t("angle: "+this.angle()+", ");a.t("marginLeft: "+this.marginLeft()+", ");a.t("marginRight: "+this.marginRight()+", ");a.t("marginTop: "+this.marginTop()+", ");a.t("marginBottom: "+this.marginBottom()+", ");a.t("opacity: "+this.opacity()+", ");a.t("visibility: "+(this.visibility()?"true":"false")+", ");if(this.horizontalAlignment()!=null){a.t('horizontalAlignment: "'+this.horizontalAlignment()+'", ')}if(this.verticalAlignment()!=null){a.t('verticalAlignment: "'+this.verticalAlignment()+'", ')}if(this.font()!=null){a.t('font: "'+this.font()+'",')}if(this.fontFamily()!=null){a.t('fontFamily: "'+this.fontFamily()+'",')}if(this.fontWeight()!=null){a.t('fontWeight: "'+this.fontWeight()+'",')}if(this.fontStyle()!=null){a.t('fontStyle: "'+this.fontStyle()+'",')}if(this.fontStretch()!=null){a.t('fontStretch: "'+this.fontStretch()+'",')}a.t("fontSize: "+this.fontSize());a.t("}");return a.toString()},$type:new $.ig.Type("LabelAppearanceData",$.ig.$ot,[$$t.$iu.$type])},true);$c("BrushAppearanceData:iy","Object",{init:function(){$.ig.$op.init.call(this)},type:function(){},serialize:function(){return'{ type: "'+this.type()+'", '+this.a()+" }"},a:function(){return""},$type:new $.ig.Type("BrushAppearanceData",$.ig.$ot,[$$t.$iu.$type])},true);$c("SolidBrushAppearanceData:i2","BrushAppearanceData",{init:function(){this._colorValue=new $$t.b6;$$t.$iy.init.call(this)},type:function(){return"solid"},_colorValue:null,colorValue:function(a){if(arguments.length===1){this._colorValue=a;return a}else{return this._colorValue}},a:function(){return"colorValue: "+($$t.$b6.e($l($$t.$b6.$type,this.colorValue()),$l($$t.$b6.$type,null))?$$t.$iz.serializeColor(this.colorValue()):"null")},$type:new $.ig.Type("SolidBrushAppearanceData",$$t.$iy.$type)},true);$c("LinearGradientBrushAppearanceData:i0","BrushAppearanceData",{init:function(){$$t.$iy.init.call(this);this.stops(new $$t.c($$t.$i1.$type,0))},type:function(){return"linear"},_startX:0,startX:function(a){if(arguments.length===1){this._startX=a;return a}else{return this._startX}},_startY:0,startY:function(a){if(arguments.length===1){this._startY=a;return a}else{return this._startY}},_endX:0,endX:function(a){if(arguments.length===1){this._endX=a;return a}else{return this._endX}},_endY:0,endY:function(a){if(arguments.length===1){this._endY=a;return a}else{return this._endY}},_stops:null,stops:function(a){if(arguments.length===1){this._stops=a;return a}else{return this._stops}},a:function(){var a=new $$t.hn(0);a.k("startX: "+this.startX()+", endX: "+this.endX()+", startY: "+this.startY()+", endY: "+this.endY());a.k(", stops: [");for(var b=0;b<this.stops().count();b++){if(b>0){a.k(", ")}a.k(this.stops().__inner[b].serialize())}a.k("]");return a.toString()},$type:new $.ig.Type("LinearGradientBrushAppearanceData",$$t.$iy.$type)},true);$c("GradientStopAppearanceData:i1","Object",{init:function(){this._colorValue=new $$t.b6;$.ig.$op.init.call(this)},_colorValue:null,colorValue:function(a){if(arguments.length===1){this._colorValue=a;return a}else{return this._colorValue}},_offset:0,offset:function(a){if(arguments.length===1){this._offset=a;return a}else{return this._offset}},serialize:function(){return"{ "+"colorValue: "+($$t.$b6.e($l($$t.$b6.$type,this.colorValue()),$l($$t.$b6.$type,null))?$$t.$iz.serializeColor(this.colorValue()):"null")+", offset: "+this.offset()+" }"},$type:new $.ig.Type("GradientStopAppearanceData",$.ig.$ot,[$$t.$iu.$type])},true);$c("PrimitiveAppearanceData:ix","Object",{init:function(){this._stroke=new $$t.b6;this._fill=new $$t.b6;$.ig.$op.init.call(this)},_stroke:null,stroke:function(a){if(arguments.length===1){this._stroke=a;return a}else{return this._stroke}},_strokeExtended:null,strokeExtended:function(a){if(arguments.length===1){this._strokeExtended=a;return a}else{return this._strokeExtended}},_fill:null,fill:function(a){if(arguments.length===1){this._fill=a;return a}else{return this._fill}},_fillExtended:null,fillExtended:function(a){if(arguments.length===1){this._fillExtended=a;return a}else{return this._fillExtended}},_strokeThickness:0,strokeThickness:function(a){if(arguments.length===1){this._strokeThickness=a;return a}else{return this._strokeThickness}},_visibility:0,visibility:function(a){if(arguments.length===1){this._visibility=a;return a}else{return this._visibility}},_opacity:0,opacity:function(a){if(arguments.length===1){this._opacity=a;return a}else{return this._opacity}},_canvasLeft:0,canvasLeft:function(a){if(arguments.length===1){this._canvasLeft=a;return a}else{return this._canvasLeft}},_canvasTop:0,canvasTop:function(a){if(arguments.length===1){this._canvasTop=a;
return a}else{return this._canvasTop}},_canvaZIndex:0,canvaZIndex:function(a){if(arguments.length===1){this._canvaZIndex=a;return a}else{return this._canvaZIndex}},_dashArray:null,dashArray:function(a){if(arguments.length===1){this._dashArray=a;return a}else{return this._dashArray}},_dashCap:0,dashCap:function(a){if(arguments.length===1){this._dashCap=a;return a}else{return this._dashCap}},j:function(a){this.canvasLeft((this.canvasLeft()-a.left())/a.width());this.canvasTop((this.canvasTop()-a.top())/a.height())},serialize:function(){var a=new $$t.hn(0);a.t("{");a.t("stroke: "+($$t.$b6.e($l($$t.$b6.$type,this.stroke()),$l($$t.$b6.$type,null))?$$t.$iz.serializeColor(this.stroke()):"null")+", ");a.t("fill: "+($$t.$b6.e($l($$t.$b6.$type,this.fill()),$l($$t.$b6.$type,null))?$$t.$iz.serializeColor(this.fill()):"null")+", ");a.t("strokeExtended: "+(this.strokeExtended()!=null?this.strokeExtended().serialize():"null")+", ");a.t("fillExtended: "+(this.fillExtended()!=null?this.fillExtended().serialize():"null")+", ");a.t("strokeThickness: "+this.strokeThickness()+", ");a.t("visibility: "+(this.visibility()==0?"true":"false")+", ");a.t("opacity: "+this.opacity()+", ");a.t("canvasLeft: "+this.canvasLeft()+", ");a.t("canvasTop: "+this.canvasTop()+", ");a.t("canvasZIndex: "+this.canvaZIndex()+", ");a.t("dashArray: null, ");a.t("dashCap: "+this.dashCap());a.t("}");return a.toString()},$type:new $.ig.Type("PrimitiveAppearanceData",$.ig.$ot,[$$t.$iu.$type])},true);$c("GetPointsSettings:i4","Object",{init:function(){$.ig.$op.init.call(this)},_ignoreFigureStartPoint:false,ignoreFigureStartPoint:function(a){if(arguments.length===1){this._ignoreFigureStartPoint=a;return a}else{return this._ignoreFigureStartPoint}},$type:new $.ig.Type("GetPointsSettings",$.ig.$ot)},true);$c("ShapeTags:jh","List$1",{init:function(){$$t.$c.init.call(this,String,0)},$type:new $.ig.Type("ShapeTags",$$t.$c.$type.specialize(String))},true);$c("PathVisualData:jo","PrimitiveVisualData",{type:function(){return"Path"},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$iw.init1.call(this,1,"path1");this.data(new $$t.c($$t.$i3.$type,0))},init1:function(a,b,c){$$t.$iw.init1.call(this,1,b);this.data($$t.$iz.fromGeometry(c.ak()));$$t.$iz.getShapeAppearance(this.appearance(),c)},init2:function(a,b,c){$$t.$iw.init1.call(this,1,b);this.data($$t.$iz.fromLineData(c));$$t.$iz.getShapeAppearance(this.appearance(),c)},_data:null,data:function(a){if(arguments.length===1){this._data=a;return a}else{return this._data}},e:function(){var a=new $$t.hn(0);a.t("data: [");for(var b=0;b<this.data().count();b++){if(b!=0){a.k(", ")}a.k(this.data().__inner[b]!=null?this.data().__inner[b].serialize():"null")}a.t("]");return a.toString()},scaleByViewport:function(a){$$t.$iw.scaleByViewport.call(this,a);var c=this.data().getEnumerator();while(c.moveNext()){var b=c.current();b.scaleByViewport(a)}},getPointsOverride:function(a,b){for(var c=0;c<this.data().count();c++){var d=this.data().__inner[c];d.getPointsOverride(a,b)}},$type:new $.ig.Type("PathVisualData",$$t.$iw.$type)},true);$c("GeometryData:i3","Object",{init:function(){$.ig.$op.init.call(this)},type:function(){},scaleByViewport:function(a){},getPointsOverride:function(a,b){},serialize:function(){return'{ type: "'+this.type()+'", '+this.a()+"}"},a:function(){return""},$type:new $.ig.Type("GeometryData",$.ig.$ot,[$$t.$iu.$type])},true);$c("PathGeometryData:i8","GeometryData",{init:function(){$$t.$i3.init.call(this);this.figures(new $$t.c($$t.$i9.$type,0))},type:function(){return"Path"},_figures:null,figures:function(a){if(arguments.length===1){this._figures=a;return a}else{return this._figures}},a:function(){var a=new $$t.hn(0);a.t("figures: [");for(var b=0;b<this.figures().count();b++){if(b!=0){a.k(", ")}a.k(this.figures().__inner[b].serialize())}a.t("]");return a.toString()},scaleByViewport:function(a){var c=this.figures().getEnumerator();while(c.moveNext()){var b=c.current();b.c(a)}},getPointsOverride:function(a,b){for(var c=0;c<this.figures().count();c++){var d=this.figures().__inner[c];d.getPointsOverride(a,b)}},$type:new $.ig.Type("PathGeometryData",$$t.$i3.$type)},true);$c("LineGeometryData:i7","GeometryData",{init:function(){$$t.$i3.init.call(this)},type:function(){return"Line"},_x1:0,x1:function(a){if(arguments.length===1){this._x1=a;return a}else{return this._x1}},_y1:0,y1:function(a){if(arguments.length===1){this._y1=a;return a}else{return this._y1}},_x2:0,x2:function(a){if(arguments.length===1){this._x2=a;return a}else{return this._x2}},_y2:0,y2:function(a){if(arguments.length===1){this._y2=a;return a}else{return this._y2}},a:function(){return"x1: "+this.x1()+", y1: "+this.y1()+", x2: "+this.x2()+", y2:"+this.y2()},scaleByViewport:function(a){this.x1((this.x1()-a.left())/a.width());this.y1((this.y1()-a.top())/a.height());this.x2((this.x2()-a.left())/a.width());this.y2((this.y2()-a.top())/a.height())},getPointsOverride:function(a,b){var c=new $$t.c($$t.$ch.$type,0);a.add(c);c.add({__x:this.x1(),__y:this.y1(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x2(),__y:this.y2(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("LineGeometryData",$$t.$i3.$type)},true);$c("RectangleGeometryData:i6","GeometryData",{init:function(){$$t.$i3.init.call(this)},type:function(){return"Rectangle"},_x:0,x:function(a){if(arguments.length===1){this._x=a;return a}else{return this._x}},_y:0,y:function(a){if(arguments.length===1){this._y=a;return a}else{return this._y}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},a:function(){return"x: "+this.x()+", y: "+this.y()+", width: "+this.width()+", height: "+this.height()},scaleByViewport:function(a){this.x((this.x()-a.left())/a.width());this.y((this.y()-a.top())/a.height());this.width(this.width()/a.width());this.height(this.height()/a.height())},getPointsOverride:function(a,b){var c=new $$t.c($$t.$ch.$type,0);a.add(c);c.add({__x:this.x(),__y:this.y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x()+this.width(),__y:this.y(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x()+this.width(),__y:this.y()+this.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});c.add({__x:this.x(),__y:this.y()+this.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("RectangleGeometryData",$$t.$i3.$type)},true);$c("EllipseGeometryData:i5","GeometryData",{init:function(){$$t.$i3.init.call(this)},type:function(){return"Ellipse"},_centerX:0,centerX:function(a){if(arguments.length===1){this._centerX=a;return a}else{return this._centerX}},_centerY:0,centerY:function(a){if(arguments.length===1){this._centerY=a;return a}else{return this._centerY}},_radiusX:0,radiusX:function(a){if(arguments.length===1){this._radiusX=a;return a}else{return this._radiusX}},_radiusY:0,radiusY:function(a){if(arguments.length===1){this._radiusY=a;return a}else{return this._radiusY}},a:function(){return"centerX: "+this.centerX()+", centerY: "+this.centerY()+", radiusX: "+this.radiusX()+", radiusY: "+this.radiusY()},scaleByViewport:function(a){this.centerX((this.centerX()-a.left())/a.width());this.centerX((this.centerY()-a.top())/a.height());this.radiusX(this.radiusX()/a.width());this.radiusY(this.radiusY()/a.height())},getPointsOverride:function(a,b){var c=new $$t.c($$t.$ch.$type,0);a.add(c);c.add({__x:this.centerX(),__y:this.centerY(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("EllipseGeometryData",$$t.$i3.$type)},true);$c("PathFigureData:i9","Object",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.segments(new $$t.c($$t.$ja.$type,0));this.startPoint(new $$t.ch(0))},init1:function(a,b){$.ig.$op.init.call(this);this.segments(new $$t.c($$t.$ja.$type,0));this.startPoint(b.__startPoint);for(var c=0;c<b.__segments.count();c++){var d=b.__segments.__inner[c];var e=null;switch(d.a()){case 0:e=new $$t.jb(1,d);break;case 3:e=new $$t.jc(1,d);break;case 4:e=new $$t.jd(1,d);break;case 2:e=new $$t.je(1,d);break;case 1:e=new $$t.jf(1,d);break}this.segments().add(e)}},_startPoint:null,startPoint:function(a){if(arguments.length===1){this._startPoint=a;return a}else{return this._startPoint}},_segments:null,segments:function(a){if(arguments.length===1){this._segments=a;return a}else{return this._segments}},serialize:function(){var a=new $$t.hn(0);a.t("{");if($$t.$ch.l_op_Inequality(this.startPoint(),null)){a.t("startPoint: { x: "+this.startPoint().__x+", y: "+this.startPoint().__y+"}, ")}a.t("segments: [");for(var b=0;b<this.segments().count();b++){if(b!=0){a.k(", ")}a.k(this.segments().__inner[b].serialize())}a.t("]");a.t("}");return a.toString()},c:function(a){if($$t.$ch.l_op_Inequality(this.startPoint(),null)){this.startPoint({__x:(this.startPoint().__x-a.left())/a.width(),__y:(this.startPoint().__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}for(var b=0;b<this.segments().count();b++){this.segments().__inner[b].scaleByViewport(a)}},getPointsOverride:function(a,b){var c=new $$t.c($$t.$ch.$type,0);a.add(c);if(!b.ignoreFigureStartPoint()){c.add({__x:this.startPoint().__x,__y:this.startPoint().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}for(var d=0;d<this.segments().count();d++){this.segments().__inner[d].getPointsOverride(c,b)}},$type:new $.ig.Type("PathFigureData",$.ig.$ot,[$$t.$iu.$type])},true);$c("SegmentData:ja","Object",{init:function(){$.ig.$op.init.call(this)},type:function(){},scaleByViewport:function(a){},getPointsOverride:function(a,b){},serialize:function(){var a=new $$t.hn(0);a.t("{");a.t('type: "'+this.type()+'", ');a.t(this.a());a.t("}");return a.toString()},a:function(){return""},$type:new $.ig.Type("SegmentData",$.ig.$ot,[$$t.$iu.$type])},true);$c("LineSegmentData:jb","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ja.init.call(this);this.point(new $$t.ch(0))},init1:function(a,b){$$t.$ja.init.call(this);this.point(b.c())},type:function(){return"Line"},_point:null,point:function(a){if(arguments.length===1){this._point=a;return a}else{return this._point}},a:function(){return"point: { x: "+this.point().__x+", y: "+this.point().__y+"}"},scaleByViewport:function(a){this.point({__x:(this.point().__x-a.left())/a.width(),__y:(this.point().__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},getPointsOverride:function(a,b){a.add({__x:this.point().__x,__y:this.point().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("LineSegmentData",$$t.$ja.$type)},true);$c("PolylineSegmentData:jc","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ja.init.call(this);this.points(new $$t.c($$t.$ch.$type,0))},init1:function(a,b){$$t.$ja.init.call(this);this.points(new $$t.c($$t.$ch.$type,0));for(var c=0;c<b.__points.count();c++){this.points().add(b.__points.__inner[c])}},type:function(){return"Polyline"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $$t.hn(0);a.t("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.k(", ")}a.k("{ x: "+this.points().__inner[b].__x+", y: "+this.points().__inner[b].__y+"}")}a.t("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){this.points().__inner[b]={__x:(this.points().__inner[b].__x-a.left())/a.width(),__y:(this.points().__inner[b].__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add({__x:this.points().__inner[c].__x,__y:this.points().__inner[c].__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},$type:new $.ig.Type("PolylineSegmentData",$$t.$ja.$type)},true);$c("BezierSegmentData:jf","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ja.init.call(this);this.points(new $$t.c($$t.$ch.$type,0))},init1:function(a,b){$$t.$ja.init.call(this);this.points(new $$t.c($$t.$ch.$type,0));this.points().add(b.e());this.points().add(b.f());this.points().add(b.g())},type:function(){return"Bezier"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $$t.hn(0);a.t("points: [");for(var b=0;b<this.points().count();b++){if($$t.$ch.l_op_Equality(this.points().__inner[b],null)){break}if(b!=0){a.k(", ")}a.k("{ x: "+this.points().__inner[b].__x+", y: "+this.points().__inner[b].__y+"}")}a.t("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){if($$t.$ch.l_op_Equality(this.points().__inner[b],null)){break}this.points().__inner[b]={__x:(this.points().__inner[b].__x-a.left())/a.width(),__y:(this.points().__inner[b].__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add({__x:this.points().__inner[c].__x,__y:this.points().__inner[c].__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},$type:new $.ig.Type("BezierSegmentData",$$t.$ja.$type)},true);$c("PolyBezierSegmentData:je","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ja.init.call(this);this.points(new $$t.c($$t.$ch.$type,0))},init1:function(a,b){$$t.$ja.init.call(this);this.points(new $$t.c($$t.$ch.$type,0));for(var c=0;c<b.b().count();c++){this.points().add(b.b().__inner[c])}},type:function(){return"PolyBezierSpline"},_points:null,points:function(a){if(arguments.length===1){this._points=a;return a}else{return this._points}},a:function(){var a=new $$t.hn(0);a.t("points: [");for(var b=0;b<this.points().count();b++){if(b!=0){a.k(", ")}a.k("{ x: "+this.points().__inner[b].__x+", y: "+this.points().__inner[b].__y+"}")}a.t("]");return a.toString()},scaleByViewport:function(a){for(var b=0;b<this.points().count();b++){this.points().__inner[b]={__x:(this.points().__inner[b].__x-a.left())/a.width(),__y:(this.points().__inner[b].__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},getPointsOverride:function(a,b){for(var c=0;c<this.points().count();c++){a.add({__x:this.points().__inner[c].__x,__y:this.points().__inner[c].__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}},$type:new $.ig.Type("PolyBezierSegmentData",$$t.$ja.$type)},true);$c("ArcSegmentData:jd","SegmentData",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$ja.init.call(this);this.point(new $$t.ch(0));this.isLargeArc(false);this.isCounterClockwise(true);this.rotationAngle(0)},init1:function(a,b){$$t.$ja.init.call(this);this.point(b.e());this.isLargeArc(b.b());this.isCounterClockwise(b.d()==0);this.sizeX(b.f().k());this.sizeY(b.f().j());this.rotationAngle(b.c())},type:function(){return"Arc"},_point:null,point:function(a){if(arguments.length===1){this._point=a;return a}else{return this._point}},_isLargeArc:false,isLargeArc:function(a){if(arguments.length===1){this._isLargeArc=a;return a}else{return this._isLargeArc}},_isCounterClockwise:false,isCounterClockwise:function(a){if(arguments.length===1){this._isCounterClockwise=a;return a}else{return this._isCounterClockwise}},_sizeX:0,sizeX:function(a){if(arguments.length===1){this._sizeX=a;return a}else{return this._sizeX}},_sizeY:0,sizeY:function(a){if(arguments.length===1){this._sizeY=a;return a}else{return this._sizeY}},_rotationAngle:0,rotationAngle:function(a){if(arguments.length===1){this._rotationAngle=a;return a}else{return this._rotationAngle}},a:function(){return"point: { x: "+this.point().__x+", y: "+this.point().__y+" }, isLargeArc: "+(this.isLargeArc()?"true":"false")+", isCounterClockwise: "+(this.isCounterClockwise()?"true":"false")+", sizeX: "+this.sizeX()+", sizeY: "+this.sizeY()+", rotationAngle: "+this.rotationAngle()},scaleByViewport:function(a){this.point({__x:(this.point().__x-a.left())/a.width(),__y:(this.point().__y-a.top())/a.height(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.sizeX(this.sizeX()/a.width());this.sizeY(this.sizeY()/a.height())},getPointsOverride:function(a,b){a.add({__x:this.point().__x,__y:this.point().__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})},$type:new $.ig.Type("ArcSegmentData",$$t.$ja.$type)},true);$c("AppearanceHelper:iz","Object",{init:function(){$.ig.$op.init.call(this)},fromBrush:function(a){if(a==null){return $$t.$b6.u(0,0,0,0)}if($$t.$b6.c($l($$t.$b6.$type,a.color()),$l($$t.$b6.$type,null))){return $$t.$b6.u(0,0,0,0)}return a.color()},fromBrushExtended:function(a){if(a==null){return null}if(a._isGradient){var b=new $$t.i0;var c=a;b.startX(c._startX);b.startY(c._startY);b.endX(c._endX);b.endY(c._endY);var f=c._gradientStops;for(var e=0;e<f.length;e++){var d=f[e];var g=new $$t.i1;g.colorValue(d.color());g.offset(d._offset);b.stops().add(g)}return b}else if(a._isRadialGradient){return null}else{var h=new $$t.i2;h.colorValue(a.color());return h}return null},getCanvasLeft:function(a){return a.l()},getCanvasTop:function(a){return a.m()},getCanvasZIndex:function(a){return a.q()},fromPathData:function(a){return $$t.$iz.fromGeometry(a.ak())},fromLineData:function(a){var b=new $$t.f6;b.b({__x:a.ah(),__y:a.aj(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});b.c({__x:a.ag(),__y:a.ai(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $$t.$iz.fromGeometry(b)},fromGeometry:function(a){if(a==null){return new $$t.c($$t.$i3.$type,0)}if($b($$t.$f1.$type,a)!==null){var b=new $$t.c($$t.$i3.$type,0);var c=a;for(var d=0;d<c.c().count();d++){var e=$$t.$iz.fromGeometry(c.c().__inner[d]);for(var f=0;f<e.count();f++){b.add(e.__inner[f])}}return b}else if($b($$t.$f4.$type,a)!==null){return $$t.$iz.j(a)}else if($b($$t.$f6.$type,a)!==null){return $$t.$iz.h(a)}else if($b($$t.$f7.$type,a)!==null){return $$t.$iz.k(a)}else if($b($$t.$f8.$type,a)!==null){return $$t.$iz.e(a)}else{throw new $$t.z(1,"not supported")}},e:function(a){var b=new $$t.c($$t.$i3.$type,0);var c=new $$t.i5;b.add(c);c.centerX(a.d().__x);c.centerY(a.d().__y);c.radiusX(a.b());c.radiusY(a.c());return b},k:function(a){var b=new $$t.c($$t.$i3.$type,0);var c=new $$t.i6;b.add(c);c.x(a.d().x());c.y(a.d().y());c.width(a.d().width());c.height(a.d().height());return b},h:function(a){var b=new $$t.c($$t.$i3.$type,0);var c=new $$t.i7;b.add(c);c.x1(a.c().__x);c.y1(a.c().__y);c.x2(a.b().__x);c.y2(a.b().__y);return b},j:function(a){var b=new $$t.c($$t.$i3.$type,0);var c=new $$t.i8;b.add(c);for(var d=0;d<a.b().count();d++){var e=a.b().__inner[d];var f=new $$t.i9(1,e);c.figures().add(f)}return b},getShapeAppearance:function(a,b){a.stroke($$t.$iz.fromBrush(b.__stroke));a.fill($$t.$iz.fromBrush(b.__fill));a.strokeExtended($$t.$iz.fromBrushExtended(b.__stroke));a.fillExtended($$t.$iz.fromBrushExtended(b.__fill));a.strokeThickness(b.z());a.dashArray(null);if(b.af()!=null){a.dashArray(b.af().asArray())}a.dashCap(b.aa());a.visibility(b.__visibility);a.opacity(b.__opacity);a.canvasLeft($$t.$iz.getCanvasLeft(b));a.canvasTop($$t.$iz.getCanvasTop(b));a.canvaZIndex($$t.$iz.getCanvasZIndex(b))},fromTextElement:function(a,b){var c=new $$t.jg;var d=a;c.text(d.aa());c.labelBrush($$t.$iz.fromBrush(d.ab()));c.labelBrushExtended($$t.$iz.fromBrushExtended(d.ab()));c.visibility(d.__visibility==0?true:false);c.opacity(d.__opacity);if(b!=null){if(b.d()!=null){c.fontFamily(b.d())}if(!$.ig.util.isNaN(b.b())){c.fontSize(b.b())}if(b.i()!=null){c.fontWeight(b.i())}if(b.g()!=null){c.fontStyle(b.g())}if(b.e()!=null){c.fontStretch(b.g())}}var e=0;var f=d.h();if($b($$t.$go.$type,f)!==null){var g=$b($$t.$go.$type,f);e=g.h()}else if($b($$t.$gl.$type,f)!==null){var h=$b($$t.$gl.$type,f);var j=h.h().getEnumerator();while(j.moveNext()){var i=j.current();if($b($$t.$go.$type,i)!==null){var k=$b($$t.$go.$type,i);e=k.h();break}}}c.angle(e);return c},serializeColor:function(a){return"{ r: "+a.o()+", g: "+a.n()+", b: "+a.m()+", a: "+a.l()+"}"},serializeItems:function(a,b,c,d){if(c!=null){if(!d){a.k(", ")}a.k(b);a.k(": [");var e=false;var g=c.getEnumerator();while(g.moveNext()){var f=g.current();if(e){a.t(", ")}else{e=true}a.k(f.serialize())}a.t("]");return true}return false},serializeItem:function(a,b,c,d){if(c!=null){if(!d){a.k(", ")}a.k(b);a.k(": ");a.t(c.serialize());return true}return false},$type:new $.ig.Type("AppearanceHelper",$.ig.$ot)},true);$$t.$b4.rGB=0;$$t.$b4.hSV=1;$$t.$a.af=new $$t.b9(0);$$t.$cs.bp=-1;$$t.$cs.bm=0;$$t.$cs.a8=false;$$t.$cs.a9=false;$$t.$cs.bs=0;$$t.$cd.h=new $$t.b9(0);$$t.$cd.a=null;$$t.$ht.j="-4321px";$$t.$ht.i="rgb(3, 2, 1)";$$t.$ht.h="none";$$t.$ht.l="justify";$$t.$ht.m="baseline";$$t.$ht.k="0.888";$$t.$ht.n="hidden";$$t.$ht.o="4321px";$$t.$ht.e=500})(jQuery);$.ig=$.ig||{};(function($){var $$t={};$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["DeferredOperation:a","Object:b","Type:c","Boolean:d","ValueType:e","Void:f","IConvertible:g","IFormatProvider:h","Number:i","String:j","IComparable:k","Number:l","Number:m","Number:n","Number:o","NumberStyles:p","Enum:q","Array:r","IList:s","ICollection:t","IEnumerable:u","IEnumerator:v","NotSupportedException:w","Error:x","Number:y","String:z","StringComparison:aa","RegExp:ab","CultureInfo:ac","DateTimeFormatInfo:ad","Calendar:ae","Date:af","Number:ag","DayOfWeek:ah","DateTimeKind:ai","CalendarWeekRule:aj","NumberFormatInfo:ak","CompareInfo:al","CompareOptions:am","IEnumerable$1:an","IEnumerator$1:ao","IDisposable:ap","StringSplitOptions:aq","Number:ar","Number:as","Number:at","Number:au","Number:av","Number:aw","Assembly:ax","Stream:ay","SeekOrigin:az","RuntimeTypeHandle:a0","MethodInfo:a1","MethodBase:a2","MemberInfo:a3","ParameterInfo:a4","TypeCode:a5","ConstructorInfo:a6","PropertyInfo:a7","Action:a8","MulticastDelegate:a9","IntPtr:ba","Callback:bb","window:bc","RadialMenuUpdateVisualResult:bd","RadialMenuInvalidation:be","RadialMenuWedgePart:bf","RadialMenuPart:bg","RadialMenuPointerArea:bh","RadialMenuAnimation:bi","OuterRingButtonType:bj","RadialMenuChildItemPlacement:bk","RadialMenuCheckBehavior:bl","RadialMenuValueChangedEventArgs$1:bm","EventArgs:bn","RadialMenuNumericValueChangedEventArgs:bo","RadialMenuColorChangedEventArgs:bp","Color:bq","Math:br","ArgumentException:bs","Script:bt","RadialMenuItemBase:bu","Control:bv","FrameworkElement:bw","UIElement:bx","DependencyObject:by","Dictionary:bz","DependencyProperty:b0","PropertyMetadata:b1","PropertyChangedCallback:b2","DependencyPropertyChangedEventArgs:b3","DependencyPropertiesCollection:b4","UnsetValue:b5","Binding:b6","PropertyPath:b7","Transform:b8","Visibility:b9","Style:ca","Thickness:cb","HorizontalAlignment:cc","VerticalAlignment:cd","INotifyPropertyChanged:ce","PropertyChangedEventHandler:cf","PropertyChangedEventArgs:cg","Brush:ch","XamRadialMenu:ci","ObservableCollection$1:cj","List$1:ck","IList$1:cl","ICollection$1:cm","IArray:cn","IArrayList:co","Array:cp","CompareCallback:cq","Func$3:cr","Action$1:cs","Comparer$1:ct","IComparer:cu","IComparer$1:cv","DefaultComparer$1:cw","IComparable$1:cx","Comparison$1:cy","ReadOnlyCollection$1:cz","Predicate$1:c0","NotImplementedException:c1","INotifyCollectionChanged:c2","NotifyCollectionChangedEventHandler:c3","NotifyCollectionChangedEventArgs:c4","NotifyCollectionChangedAction:c5","Delegate:c6","Interlocked:c7","DataTemplate:c8","DataTemplateRenderHandler:c9","DataTemplateRenderInfo:da","DataTemplatePassInfo:db","DataTemplateMeasureHandler:dc","DataTemplateMeasureInfo:dd","DataTemplatePassHandler:de","EasingFunctionHandler:df","Panel:dg","UIElementCollection:dh","RadialMenuFrame:di","Ellipse:dj","ShapeDefinition:dk","Geometry:dl","GeometryType:dm","Point:dn","ShapeUtilities:dp","AnnularSector:dq","Annulus:dr","PathBuilder:ds","PathGeometry:dt","PathFigureCollection:du","LiteRect:dv","LiteRectExtensions:dw","Rect:dx","Size:dy","PathSegmentCollection:dz","ArcSegment:d0","PathSegment:d1","PathSegmentType:d2","SweepDirection:d3","PolyBezierSegment:d4","PointCollection:d5","LineSegment:d6","PathFigure:d7","RadialMenuItemPosition:d8","TriangleShape:d9","Dictionary$2:ea","IDictionary$2:eb","IDictionary:ec","Func$2:ed","KeyValuePair$2:ee","Enumerable:ef","Thread:eg","ThreadStart:eh","IOrderedEnumerable$1:ei","SortedList$1:ej","ArgumentNullException:ek","IEqualityComparer$1:el","EqualityComparer$1:em","IEqualityComparer:en","DefaultEqualityComparer$1:eo","InvalidOperationException:ep","RadialMenuItemFrame:eq","TextDefinition:er","RadialMenuItemVisualData:es","IVisualData:et","PrimitiveVisualData:eu","PrimitiveAppearanceData:ev","BrushAppearanceData:ew","StringBuilder:ex","Environment:ey","AppearanceHelper:ez","LinearGradientBrushAppearanceData:e0","GradientStopAppearanceData:e1","LinearGradientBrush:e2","GradientStop:e3","SolidBrushAppearanceData:e4","GeometryData:e5","GetPointsSettings:e6","Path:e7","Shape:e8","DoubleCollection:e9","Line:fa","LineGeometry:fb","GeometryGroup:fc","GeometryCollection:fd","FillRule:fe","RectangleGeometry:ff","EllipseGeometry:fg","EllipseGeometryData:fh","RectangleGeometryData:fi","LineGeometryData:fj","PathGeometryData:fk","PathFigureData:fl","SegmentData:fm","LineSegmentData:fn","PolyLineSegment:fo","PolylineSegmentData:fp","ArcSegmentData:fq","PolyBezierSegmentData:fr","BezierSegment:fs","BezierSegmentData:ft","LabelAppearanceData:fu","FontInfo:fv","TextBlock:fw","RotateTransform:fx","TransformGroup:fy","TransformCollection:fz","ShapeTags:f0","PathVisualData:f1","Stack$1:f2","ReverseArrayEnumerator$1:f3","RadialMenuItemLevel:f4","RadialMenuItem:f5","Action$2:f6","RadialMenuItemBaseCollection:f7","XamRadialMenuView:f8","Element:f9","ElementAttributeCollection:ga","ElementCollection:gb","WebStyle:gc","ElementNodeType:gd","Document:ge","EventListener:gf","IElementEventHandler:gg","ElementEventHandler:gh","ElementAttribute:gi","EventProxy:gj","ModifierKeys:gk","MouseWheelHandler:gl","GestureHandler:gm","ContactHandler:gn","TouchHandler:go","MouseOverHandler:gp","MouseHandler:gq","KeyHandler:gr","Key:gs","JQuery:gt","JQueryObject:gu","JQueryPosition:gv","JQueryCallback:gw","JQueryEvent:gx","JQueryUICallback:gy","JQueryDeferred:gz","JQueryPromise:g0","CssClassChain$1:g1","Tuple$2:g2","CssProperty:g3","RadialMenuNumericGauge:g4","RadialMenuNumericGaugeFrame:g5","LineSegmentShape:g6","RadialMenuNumericGaugeVisualData:g7","RadialMenuNumericGaugeTickmarkDataList:g8","RadialMenuNumericGaugeNeedleData:g9","PrimitiveVisualDataList:ha","FontUtil:hb","RenderingContext:hc","IRenderer:hd","Rectangle:he","Polygon:hf","Polyline:hg","ContentControl:hh","RadialMenuNumericGaugeTickmarkData:hi","ColorUtil:hj","Random:hk","InterpolationMode:hl","MathUtil:hm","RuntimeHelpers:hn","RuntimeFieldHandle:ho","KeyTipInfo:hp","RadialMenuNumericItem:hq","RadialMenuItemOverlayTemplates:hr","CanvasViewRenderer:hs","CanvasContext2D:ht","CanvasContext:hu","TextMetrics:hv","ImageData:hw","CanvasElement:hx","Gradient:hy","GeometryUtil:hz","TranslateTransform:h0","ScaleTransform:h1","EventHandler$1:h2","RadialMenuUtilities:h3","ColorNameCalculator:h4","DoubleAnimator:h5","RadialMenuItemView:h6","TextContainer:h7","ImageElement:h8","ImageManager:h9","RadialMenuItemToolTipVisualData:ia","CssDpCache:ib","CssPropCacheBase$2:ic","CssHelper:id","CssPropCache$1:ie","DivElement:ig","RadialMenuDOMEventProxy:ih","DOMEventProxy:ii","MSGesture:ij","MouseEventArgs:ik","Image:il","RadialMenuColorWell:im","RadialMenuColorItemBase:io","RadialMenuColorItem:ip","EventHandler:iq","RadialMenuVisualData:ir","RadialMenuItemVisualDataList:is","ColorWellPreviewDataList:it","KeyTipManager:iu","StackPool$1:iv","Func$1:iw","RadialMenuPointerAnimationInfo:ix","ColorWellPreviewData:iy","TimedOperation:iz","BrushUtil:i0","BrushCollection:i1","CssGradientUtil:i2","Nullable:i3","ArgumentOutOfRangeException:i4","BindingExpression:i7","PropertyStep:i8","AbstractEnumerable:i9","AbstractEnumerator:ja","GenericEnumerable$1:jb","GenericEnumerator$1:jc"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.getBoxIfEnum,$e=$.ig.util.getDefaultValue,$f=$.ig.util.getEnumValue,$g=$.ig.util.getValue,$h=$.ig.util.intSToU,$i=$.ig.util.nullableEquals,$j=$.ig.util.nullableIsNull,$k=$.ig.util.nullableNotEquals,$l=$.ig.util.toNullable,$m=$.ig.util.toString$1,$n=$.ig.util.u32BitwiseAnd,$o=$.ig.util.u32BitwiseOr,$p=$.ig.util.u32BitwiseXor,$q=$.ig.util.u32LS,$r=$.ig.util.unwrapNullable,$s=$.ig.util.wrapNullable,$t=String.fromCharCode,$u=$.ig.util.castObjTo$t,$v=$.ig.util.compareSimple,$w=$.ig.util.tryParseNumber,$x=$.ig.util.tryParseNumber1,$y=$.ig.util.numberToString,$z=$.ig.util.numberToString1,$0=$.ig.util.parseNumber,$1=$.ig.util.compare,$2=$.ig.util.replace,$3=$.ig.util.stringFormat,$4=$.ig.util.stringFormat1,$5=$.ig.util.stringFormat2,$6=$.ig.util.stringCompare1,$7=$.ig.util.stringCompare2,$8=$.ig.util.stringCompare3,$9=$.ig.util.tryParseInt32_1,$aa=$.ig.util.tryParseInt32_2,$ab=$.ig.util.intToString1,$ac=$.ig.util.parseInt32_1,$ad=$.ig.util.parseInt32_2,$ae=$.ig.util.isDigit,$af=$.ig.util.isDigit1,$ag=$.ig.util.isLetter,$ah=$.ig.util.isNumber,$ai=$.ig.util.isLetterOrDigit,$aj=$.ig.util.isLower,$ak=$.ig.util.toLowerCase,$al=$.ig.util.toUpperCase;$c("CssProperty:g3","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"BackgroundColor";case 1:return"BorderTopColor";case 2:return"BorderTopStyle";case 3:return"BorderTopWidth";case 4:return"BorderTopLeftRadius";case 5:return"PaddingTop";case 6:return"Color";
default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("CssProperty",$.ig.$ep.$type)},true);$c("RadialMenuCheckBehavior:bl","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"None";case 1:return"CheckBox";case 2:return"RadioButton";case 3:return"RadioButtonAllowAllUp";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("RadialMenuCheckBehavior",$.ig.$ep.$type)},true);$c("RadialMenuChildItemPlacement:bk","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"AsChildren";case 1:return"AsSiblingsWhenChecked";case 2:return"None";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("RadialMenuChildItemPlacement",$.ig.$ep.$type)},true);$c("OuterRingButtonType:bj","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"None";case 1:return"ToolAreaClick";case 2:return"NavigateToChildren";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("OuterRingButtonType",$.ig.$ep.$type)},true);$c("RadialMenuAnimation:bi","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"None";case 1:return"ExpandCollapse";case 2:return"NavigateMenu";case 3:return"NavigateToChildColor";case 4:return"NavigateToParentColor";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("RadialMenuAnimation",$.ig.$ep.$type)},true);$c("RadialMenuPointerArea:bh","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"None";case 1:return"OuterRingButton";case 2:return"ToolArea";case 3:return"CenterButton";case 4:return"DisabledMenu";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("RadialMenuPointerArea",$.ig.$ep.$type)},true);$c("RadialMenuPart:bg","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"Menu";case 1:return"OuterRing";case 2:return"InnerRingFocus";case 3:return"InnerRing";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("RadialMenuPart",$.ig.$ep.$type)},true);$c("RadialMenuWedgePart:bf","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"OuterRing";case 1:return"ToolArea";case 2:return"ToolCheckmark";case 3:return"ToolHighlight";case 4:return"OuterRingArrow";case 5:return"ColorWellPreview";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("RadialMenuWedgePart",$.ig.$ep.$type)},true);$c("RadialMenuInvalidation:be","Enum",{init:function(v){this._v=v},$getName:function(v){switch(v){case 0:return"None";case 1:return"InvalidateCustomVisuals";case 2:return"RenderFrame";case 3:return"PrepareFrame";default:return v.toString()}},$value:function(){return this._v},$type:new $.ig.Type("RadialMenuInvalidation",$.ig.$ep.$type)},true);$c("RadialMenuUpdateVisualResult:bd","Enum",{init:function(v){this._v=v},$getName:function(){function getNameSingle(v){switch(v){case 0:return"NoChange";case 1:return"UpdateShapes";case 2:return"UpdateTextElements";default:return v.toString()}}return function(v){return this.getFlaggedName(v,getNameSingle)}}(),$value:function(){return this._v},$type:new $.ig.Type("RadialMenuUpdateVisualResult",$.ig.$ep.$type)},true);$c("DeferredOperation:a","Object",{e:null,a:null,b:false,init:function(a){$.ig.$op.init.call(this);this.a=a},c:function(){return this.e!=null},d:function(){return this.b},g:function(){if(this.e==null){return}this.e=null;var a=this.b;this.b=true;try{this.a()}finally{this.b=a}},f:function(){this.e=null},i:function(){var $self=this;if(this.e!=null){return}var a={};this.e=a;window.setTimeout(function(){$self.h(a)},0)},h:function(a){if(a!=this.e){return}this.g()},$type:new $.ig.Type("DeferredOperation",$.ig.$ot)},true);$c("RadialMenuValueChangedEventArgs$1:bm","EventArgs",{$t:null,c:null,b:null,init:function($t,a,b){this.$t=$t;this.$type=this.$type.specialize(this.$t);$$t.$bn.init.call(this);this.c=a;this.b=b},oldValue:function(){return this.c},newValue:function(){return this.b},$type:new $.ig.Type("RadialMenuValueChangedEventArgs$1",$$t.$bn.$type)},true);$c("RadialMenuNumericValueChangedEventArgs:bo","RadialMenuValueChangedEventArgs$1",{init:function(a,b){$$t.$bm.init.call(this,Number,a,b)},$type:new $.ig.Type("RadialMenuNumericValueChangedEventArgs",$$t.$bm.$type.specialize(Number))},true);$c("RadialMenuColorChangedEventArgs:bp","RadialMenuValueChangedEventArgs$1",{init:function(a,b){$$t.$bm.init.call(this,$$t.$bq.$type,a,b)},$type:new $.ig.Type("RadialMenuColorChangedEventArgs",$$t.$bm.$type.specialize($$t.$bq.$type))},true);$c("RadialMenuItemBase:bu","Control",{_dataItem:null,staticInit:function(){},init:function(){var $self=this;this._dataItem=null;this.am=true;$$t.$bv.init.call(this);this.f($$t.$bu.cz,function(){var $ret=new $$t.b6(0);$ret.f(new $$t.b7("Visibility"));$ret.d($self);return $ret}())},autoRotateChildren:function(a){if(arguments.length===1){this.g($$t.$bu.autoRotateChildrenProperty,a);return a}else{return this.c($$t.$bu.autoRotateChildrenProperty)}},checkedHighlightBrush:function(a){if(arguments.length===1){this.g($$t.$bu.checkedHighlightBrushProperty,a);return a}else{return this.c($$t.$bu.checkedHighlightBrushProperty)}},c3:function(){return this.bb($$t.$bu.checkedHighlightBrushProperty)},foreground:function(a){if(arguments.length===1){this.g($$t.$bu.foregroundProperty,a);return a}else{return this.c($$t.$bu.foregroundProperty)}},highlightBrush:function(a){if(arguments.length===1){this.g($$t.$bu.highlightBrushProperty,a);return a}else{return this.c($$t.$bu.highlightBrushProperty)}},c6:function(){return this.bb($$t.$bu.highlightBrushProperty)},innerAreaFill:function(a){if(arguments.length===1){this.g($$t.$bu.innerAreaFillProperty,a);return a}else{return this.c($$t.$bu.innerAreaFillProperty)}},c8:function(){return this.bb($$t.$bu.innerAreaFillProperty)},innerAreaHotTrackFill:function(a){if(arguments.length===1){this.g($$t.$bu.innerAreaHotTrackFillProperty,a);return a}else{return this.c($$t.$bu.innerAreaHotTrackFillProperty)}},innerAreaHotTrackStroke:function(a){if(arguments.length===1){this.g($$t.$bu.innerAreaHotTrackStrokeProperty,a);return a}else{return this.c($$t.$bu.innerAreaHotTrackStrokeProperty)}},innerAreaStroke:function(a){if(arguments.length===1){this.g($$t.$bu.innerAreaStrokeProperty,a);return a}else{return this.c($$t.$bu.innerAreaStrokeProperty)}},de:function(){return this.bb($$t.$bu.innerAreaStrokeProperty)},innerAreaStrokeThickness:function(a){if(arguments.length===1){this.g($$t.$bu.innerAreaStrokeThicknessProperty,a);return a}else{return this.c($$t.$bu.innerAreaStrokeThicknessProperty)}},a3:function(){return this.bb($$t.$bu.innerAreaStrokeThicknessProperty)},am:false,isEnabled:function(a){if(arguments.length===1){if(a!=this.am){this.am=a;this.cb("IsEnabled",!a,a)}return a}else{return this.am}},isToolTipEnabled:function(a){if(arguments.length===1){this.g($$t.$bu.isToolTipEnabledProperty,a);return a}else{return this.c($$t.$bu.isToolTipEnabledProperty)}},menu:function(){return this.c($$t.$bu.menuProperty)},outerRingButtonHotTrackFill:function(a){if(arguments.length===1){this.g($$t.$bu.outerRingButtonHotTrackFillProperty,a);return a}else{return this.c($$t.$bu.outerRingButtonHotTrackFillProperty)}},dk:function(){return this.bb($$t.$bu.outerRingButtonHotTrackFillProperty)},outerRingButtonHotTrackForeground:function(a){if(arguments.length===1){this.g($$t.$bu.outerRingButtonHotTrackForegroundProperty,a);return a}else{return this.c($$t.$bu.outerRingButtonHotTrackForegroundProperty)}},dm:function(){return this.bb($$t.$bu.outerRingButtonHotTrackForegroundProperty)},outerRingButtonHotTrackStroke:function(a){if(arguments.length===1){this.g($$t.$bu.outerRingButtonHotTrackStrokeProperty,a);return a}else{return this.c($$t.$bu.outerRingButtonHotTrackStrokeProperty)}},dp:function(){return this.bb($$t.$bu.outerRingButtonHotTrackStrokeProperty)},outerRingButtonFill:function(a){if(arguments.length===1){this.g($$t.$bu.outerRingButtonFillProperty,a);return a}else{return this.c($$t.$bu.outerRingButtonFillProperty)}},dg:function(){return this.bb($$t.$bu.outerRingButtonFillProperty)},outerRingButtonForeground:function(a){if(arguments.length===1){this.g($$t.$bu.outerRingButtonForegroundProperty,a);return a}else{return this.c($$t.$bu.outerRingButtonForegroundProperty)}},di:function(){return this.bb($$t.$bu.outerRingButtonForegroundProperty)},outerRingButtonStroke:function(a){if(arguments.length===1){this.g($$t.$bu.outerRingButtonStrokeProperty,a);return a}else{return this.c($$t.$bu.outerRingButtonStrokeProperty)}},dr:function(){return this.bb($$t.$bu.outerRingButtonStrokeProperty)},outerRingButtonStrokeThickness:function(a){if(arguments.length===1){this.g($$t.$bu.outerRingButtonStrokeThicknessProperty,a);return a}else{return this.c($$t.$bu.outerRingButtonStrokeThicknessProperty)}},a5:function(){return this.bb($$t.$bu.outerRingButtonStrokeThicknessProperty)},parentItem:function(a){if(arguments.length===1){this.g($$t.$bu.parentItemProperty,a);return a}else{return this.c($$t.$bu.parentItemProperty)}},toolTip:function(a){if(arguments.length===1){this.g($$t.$bu.toolTipProperty,a);return a}else{return this.c($$t.$bu.toolTipProperty)}},wedgeIndex:function(a){if(arguments.length===1){this.g($$t.$bu.wedgeIndexProperty,a);return a}else{return $g(this.c($$t.$bu.wedgeIndexProperty))}},wedgeSpan:function(a){if(arguments.length===1){this.g($$t.$bu.wedgeSpanProperty,a);return a}else{return $g(this.c($$t.$bu.wedgeSpanProperty))}},a8:function(){return null},ba:function(){var a=this._dataItem;if(a==null){a=this}return a},ao:function(){return false},ap:function(){return false},da:function(){var a=this.bb($$t.$bu.innerAreaHotTrackFillProperty);if(a==null){a=this.c8()}return a},dc:function(){var a=this.bb($$t.$bu.innerAreaHotTrackStrokeProperty);if(a==null){a=this.de()}return a},_as:false,as:function(a){if(arguments.length===1){this._as=a;return a}else{return this._as}},_at:false,at:function(a){if(arguments.length===1){this._at=a;return a}else{return this._at}},a0:function(){return null},ad:function(){return 0},bd:function(){var a=this.toolTip();if(a!=null){return a}return null},a1:function(a,b){return NaN},ag:function(a,b){return null},ah:function(){return new $$t.es},az:function(a){return null},bb:function(a){var b=this.d(a);if(b==$$t.$b0.c){if(this.menu()!=null){b=this.menu().al().am(a)}else{b=this.c(a)}}return b},ae:function(a){if(a!=null&&a==this.ba()){return this}return null},aq:function(a){while(a!=null){a=a.parentItem();if(a==this){return true}}return false},av:function(a){return false},b7:function(){if(this.menu()!=null){this.menu().ds(this)}},b8:function(){var a=this.closed;if(null!=a){a(this,$$t.$bn.empty)}},b9:function(){var a=this.opened;if(null!=a){a(this,$$t.$bn.empty)}},aw:function(){return true},ca:function(a,b,c,d){},cc:function(a,b,c){if(b==c){return}this.cb(a,b,c)},cb:function(a,b,c){var d=this.propertyChanged;if(null!=d){d(this,new $$t.cg(a))}},ax:function(a,b){return false},ay:function(a){return false},cd:function(a){this.g($$t.$bu.menuProperty,a)},ai:function(a,b,c){return 0},closed:null,opened:null,propertyChanged:null,$type:new $.ig.Type("RadialMenuItemBase",$$t.$bv.$type,[$$t.$ce.$type])},true);$c("RadialMenuItem:f5","RadialMenuItemBase",{d3:null,staticInit:function(){},init:function(){var $self=this;$$t.$bu.init.call(this);this.d3=new $$t.f7(function(a,b){a.cd(b?$self.menu():null);a.parentItem(b?$self:null)});var a=this.d3;a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.eq.runOn(this))},a1:function(a,b){var c=this.recentItem();if(null!=c){var e=b.getEnumerator();while(e.moveNext()){var d=e.current();var f=d.item();if(f.parentItem()==this&&this.d5(f)==c){var g=d.e+(d.d-d.e)/2;var h=a.e+(a.d-a.e)/2;return h-g}}}return $$t.$bu.a1.call(this,a,b)},ao:function(){return this.isChecked()},ae:function(a){var b=$$t.$bu.ae.call(this,a);if(null==b){var d=this.items().getEnumerator();while(d.moveNext()){var c=d.current();b=c.ae(a);if(b!=null){break}}}return b},a0:function(){return this.d3},b7:function(){var a=this.checkBehavior();if(a!=0){var b=!this.isChecked();if(b||a!=2){this.eu(b)}}var c=$b($$t.$f5.$type,this.parentItem());if(null!=c&&c.autoUpdateRecentItem()){var d=c.d5(this);c.recentItem(d)}this.ep($$t.$bn.empty);$$t.$bu.b7.call(this)},cb:function(a,b,c){switch(a){case"IsChecked":if(true==c){this.ev();this.eo($$t.$bn.empty)}else{this.es($$t.$bn.empty)}this.cb("DisplayAsChecked",b,c);break;case"RecentItem":this.recentItemContainer(this.dw(c));break}$$t.$bu.cb.call(this,a,b,c)},ad:function(){var a=$$t.$bu.ad.call(this);if(a==0&&this.items().count()>0&&this.du()==0){a=2}return a},cd:function(a){$$t.$bu.cd.call(this,a);var c=this.a0().getEnumerator();while(c.moveNext()){var b=c.current();if(b!=null){b.cd(a)}}},bd:function(){var a=$$t.$bu.bd.call(this);if(a!=null){return a}var b=this.header();if(b!=null&&!($b($$t.$bx.$type,b)!==null)){return b}return null},autoUpdateRecentItem:function(a){if(arguments.length===1){this.g($$t.$f5.autoUpdateRecentItemProperty,a);return a}else{return this.c($$t.$f5.autoUpdateRecentItemProperty)}},childItemPlacement:function(a){if(arguments.length===1){this.g($$t.$f5.childItemPlacementProperty,$$t.$bk.getBox(a));return a}else{return $f(this.c($$t.$f5.childItemPlacementProperty))}},checkBehavior:function(a){if(arguments.length===1){this.g($$t.$f5.checkBehaviorProperty,$$t.$bl.getBox(a));return a}else{return $f(this.c($$t.$f5.checkBehaviorProperty))}},isChecked:function(a){if(arguments.length===1){this.g($$t.$f5.isCheckedProperty,a);return a}else{return this.c($$t.$f5.isCheckedProperty)}},groupName:function(a){if(arguments.length===1){this.g($$t.$f5.groupNameProperty,a);return a}else{return this.c($$t.$f5.groupNameProperty)}},header:function(a){if(arguments.length===1){this.g($$t.$f5.headerProperty,a);return a}else{return this.c($$t.$f5.headerProperty)}},iconUri:function(a){if(arguments.length===1){this.g($$t.$f5.iconUriProperty,a);return a}else{return this.c($$t.$f5.iconUriProperty)}},iconOverlay:function(a){if(arguments.length===1){this.g($$t.$f5.iconOverlayProperty,a);return a}else{return this.c($$t.$f5.iconOverlayProperty)}},iconOverlayValue:function(a){if(arguments.length===1){this.g($$t.$f5.iconOverlayValueProperty,a);return a}else{return this.c($$t.$f5.iconOverlayValueProperty)}},items:function(){return this.d3},keyTip:function(a){if(arguments.length===1){this.g($$t.$f5.keyTipProperty,a);return a}else{return this.c($$t.$f5.keyTipProperty)}},recentItem:function(a){if(arguments.length===1){this.g($$t.$f5.recentItemProperty,a);return a}else{return this.c($$t.$f5.recentItemProperty)}},er:function(a,b){var c=a;c.cc("RecentItemContainer",b.d(),b.c())},recentItemContainer:function(a){if(arguments.length===1){this.g($$t.$f5.recentItemContainerProperty,a);return a}else{return this.c($$t.$f5.recentItemContainerProperty)}},du:function(){if(this.ap()){return 0}return this.childItemPlacement()},dv:function(){return new $$t.f5},dw:function(a){var c=this.items().getEnumerator();while(c.moveNext()){var b=c.current();if(b._dataItem==a){return b}}return null},d5:function(a){return a._dataItem},eq:function(a,b){switch(b.propertyName()){case"Count":this.cb("OuterRingButtonType",null,null);break}},et:function(a){this.iconOverlayValue(a)},eu:function(a){this.isChecked(a)},ev:function(){var a=null;if(this.parentItem()!=null){a=this.parentItem().a0()}else if(this.menu()!=null){var b=this.menu().al().x();if(b!=null&&b.contains(this)){a=b}}if(a!=null){switch(this.checkBehavior()){case 2:case 3:var c=this.groupName();if(c==null){c=""}var d=new $$t.ck($$t.$f5.$type,0);var f=a.getEnumerator();while(f.moveNext()){var e=f.current();var g=$b($$t.$f5.$type,e);if(g!=null&&g!=this&&g.isChecked()){var h=g.groupName();if(h==null){h=""}if(c==h){d.add(g)}}}var j=d.getEnumerator();while(j.moveNext()){var i=j.current();i.eu(false)}break}}},eo:function(a){var b=this.checked;if(null!=b){b(this,a)}},checked:null,ep:function(a){var b=this.click;if(null!=b){b(this,a)}},click:null,es:function(a){var b=this.unchecked;if(null!=b){b(this,a)}},unchecked:null,$type:new $.ig.Type("RadialMenuItem",$$t.$bu.$type)},true);$c("RadialMenuColorItemBase:io","RadialMenuItem",{init:function(){$$t.$f5.init.call(this)},a1:function(a,b){var c=this.color();var e=b.getEnumerator();while(e.moveNext()){var d=e.current();var f=$b($$t.$io.$type,d.item());if(f!=null&&$$t.$h3.d(f.color(),c)){var g=d.e+(d.d-d.e)/2;var h=a.e+(a.d-a.e)/2;return h-g}}return $$t.$f5.a1.call(this,a,b)},dv:function(){return new $$t.im},cb:function(a,b,c){if(a=="Color"){this.computedColorName($$t.$h3.b().f(this.color()));this.et(c);var d=b!=null&&c!=null&&!$$t.$h3.d(b,c);if(d){var e=this.colorChanged;if(null!=e){e(this,new $$t.bp(b,c))}}}$$t.$f5.cb.call(this,a,b,c)},color:function(a){if(arguments.length===1){this.g($$t.$io.colorProperty,a);return a}else{return this.c($$t.$io.colorProperty)}},computedColorName:function(a){if(arguments.length===1){this.g($$t.$io.computedColorNameProperty,a);return a}else{return this.c($$t.$io.computedColorNameProperty)}},fd:function(a){this.color(a)},colorChanged:null,$type:new $.ig.Type("RadialMenuColorItemBase",$$t.$f5.$type)},true);$c("RadialMenuColorItem:ip","RadialMenuColorItemBase",{staticInit:function(){},init:function(){$$t.$io.init.call(this);this.iconOverlay($$t.$hr.d)},fi:function(a){var b=this.colorWellClick;if(null!=b){b(this,a)}},colorWellClick:null,$type:new $.ig.Type("RadialMenuColorItem",$$t.$io.$type)},true);$c("RadialMenuColorWell:im","RadialMenuColorItemBase",{staticInit:function(){},init:function(){$$t.$io.init.call(this)},ao:function(){var a=this.parentItem();while($b($$t.$io.$type,a)!==null){var b=$b($$t.$ip.$type,a);if(b!=null){return $$t.$h3.d(b.color(),this.color())}a=a.parentItem()}return $$t.$io.ao.call(this)},b7:function(){var a=this.parentItem();var b=this.ao();while($b($$t.$io.$type,a)!==null){var c=$b($$t.$io.$type,a);c.fd(this.color());if($b($$t.$ip.$type,c)!==null){var d=c;d.fi($$t.$bn.empty)}a=a.parentItem()}if(b!=this.ao()){this.cb("DisplayAsChecked",b,!b)}$$t.$io.b7.call(this)},cb:function(a,b,c){if(a=="Color"){var d=c;this.innerAreaHotTrackFill(this.innerAreaFill(this.outerRingButtonFill($$t.$h3.s(d))));this.outerRingButtonForeground($$t.$h3.s($$t.$h3.w(d)));var e=$$t.$hj.b(d);var f=$$t.$h3.u(d,e[3]<.5?+60:-80);this.highlightBrush(this.outerRingButtonHotTrackFill($$t.$h3.s(f)));this.outerRingButtonHotTrackForeground($$t.$h3.s($$t.$h3.w(f)));var g=$$t.$h3.u(d,e[3]<.5?+30:-40);this.checkedHighlightBrush($$t.$h3.s(g));this.fh()}$$t.$io.cb.call(this,a,b,c)},ad:function(){var a=$$t.$io.ad.call(this);if(a==0){a=1}return a},bd:function(){var a=$$t.$io.bd.call(this);if(a==null){return this.computedColorName()}return a},fh:function(){var a=this.menu();var b=$$t.$bq.u(255,255,255,255);var c=a!=null?a.menuBackground():null;if(c!=null){b=c.color()}this.fi(b)},fi:function(a){var b=$$t.$h3.f(this.color());var c=$$t.$h3.f(a);if(Math.abs(c-b)<.1){this.outerRingButtonStroke(this.innerAreaStroke(this.checkedHighlightBrush()))}else{this.outerRingButtonStroke(this.innerAreaStroke(null))}this.outerRingButtonHotTrackStroke(this.innerAreaHotTrackStroke(this.outerRingButtonStroke()))},$type:new $.ig.Type("RadialMenuColorWell",$$t.$io.$type)},true);$c("RadialMenuItemBaseCollection:f7","ObservableCollection$1",{ad:null,init:function(a){$$t.$cj.init.call(this,$$t.$bu.$type,0);this.ad=a},m:function(a){this.ad(a,true);$$t.$cj.m.call(this,a)},o:function(){var b=this.getEnumerator();while(b.moveNext()){var a=b.current();this.ad(a,false)}$$t.$cj.o.call(this)},q:function(a,b){this.ad(b,true);$$t.$cj.q.call(this,a,b)},t:function(a){var b=this.__inner[a];this.ad(b,false);$$t.$cj.t.call(this,a)},w:function(a,b){var c=this.__inner[a];this.ad(c,false);this.ad(b,true);$$t.$cj.w.call(this,a,b)},$type:new $.ig.Type("RadialMenuItemBaseCollection",$$t.$cj.$type.specialize($$t.$bu.$type))},true);$c("RadialMenuNumericGauge:g4","RadialMenuItemBase",{dz:null,d0:0,dw:false,e9:null,dv:false,dt:null,staticInit:function(){},init:function(){this.d0=NaN;$$t.$bu.init.call(this);this.dt=new $$t.a(this.ei.runOn(this));this.dz=new $$t.ck(Number,0);this.pendingValue(this.value(NaN))},ag:function(a,b){this.en();var c=this.dz.count();if(c==0){return null}var d=this.dx();var e=2;var f=4;var g=34;var h=new $$t.g5;var i=a.e;var j=a.d-a.e;var k=j/(d?c:c-1);var l=b.j();var m=b.g();var n=b.h();var o=b.am();var p=Math.min(b.ak,n.i+6);var q=Math.min(b.al,n.j+6);var r=Math.max(b.ak-g,p);var s=Math.max(b.al-g,q);var t=Math.max(r-e,p);var u=Math.max(s-e,q);var v=new $$t.dv(1,o.__x-r,o.__y-s,r*2,s*2);var w=$$t.$dp.d(v,f,f);var x=this.value();var y=!$.ig.util.isNaN(x);var z=y&&x>this.dz.__inner[0]&&x<this.dz.__inner[c-1];var aa=Math.max(t-1,m.i);var ab=Math.max(u-1,m.j);var ac=Math.min(Math.max(m.i-m.b()/2,0),aa);var ad=Math.min(Math.max(m.j-m.b()/2,0),ab);var ae=new $$t.dv(1,o.__x-aa,o.__y-ab,aa*2,ab*2);var af=new $$t.dv(1,o.__x-ac,o.__y-ad,ac*2,ad*2);var ag=Math.max(b.ak-g/2,p);var ah=Math.max(b.al-g/2,q);var ai=new $$t.dv(1,o.__x-ag,o.__y-ah,ag*2,ah*2);var aj=this.e1();var ak=this.e7();var al=this.e5();var am=ak;var an=ak;h.j=af;h.k=ae;for(var ao=0;ao<c;ao++){var ap=this.dz.__inner[ao];if(z&&ap==x){z=false}if(d||ao<c-1){var aq=$$t.$dp.b(l,r,s,t,u,i,i+k);var ar=new $$t.e2;var as=$$t.$dp.q(l,i);var at=$$t.$dp.q(l,i+k);var au=as.__x>at.__x?1:0;var av=as.__y>at.__y?1:0;var aw=as.__x<at.__x?1:0;var ax=as.__y<at.__y?1:0;am=an;an=$$t.$hj.m(ak,(ao+1)/c,al,0);var ay=function(){var $ret=new $$t.e3;$ret.color(am);$ret._offset=0;return $ret}();var az=function(){var $ret=new $$t.e3;$ret.color(an);$ret._offset=1;return $ret}();ar._startX=au;ar._startY=av;ar._endX=aw;ar._endY=ax;ar._gradientStops=[ay,az];aq.d(ar);h.a().add(aq)}var a0=i;if(d){a0+=k}var a1=$$t.$g4.du(l,v,w,aj,a0);h.a().add(a1);var a2=$$t.$g4.ds(l,ai,ap,a0);a2.a=a1;h.b().add(a2);i+=k}var a3=y?this.d1(a,x):0;var a4=h.i();if(y){if(z){var a5=$$t.$g4.du(l,v,w,aj,a3);a5.c=a4;h.a().add(a5);var a6=$$t.$g4.ds(l,ai,x,a3);a6.a=a4;h.b().add(a6)}a4.j=$$t.$dp.q(ae,$$t.$dp.n(l,a3,ae));a4.i=$$t.$dp.q(af,$$t.$dp.n(l,a3,af));a4.b(1);a4.e(this.e3())}var a7=this.foreground();var a9=h.b().getEnumerator();while(a9.moveNext()){var a8=a9.current();a8.d=a7}this.ai(a,b,h);return h},ah:function(){return new $$t.g7},az:function(a){var $self=this;var b=new $$t.ck($$t.$hp.$type,0);this.en();var c=this.value();var d=$.ig.util.isNaN(c);var e=function(f){var g=f.d();$self.value(g.a());var h=$self.menu();if(h!=null){h.ds($self)}};var g=this.dz.getEnumerator();while(g.moveNext()){var f=g.current();if(!d){if(f==c){d=true}else if(f>c){d=true;b.add(function(){var $ret=new $$t.hp;$ret.a(e);$ret.c($self.fa.runOn($self));$ret.d(new $$t.g2(Number,$$t.$d8.$type,c,a));return $ret}())}}b.add(function(){var $ret=new $$t.hp;$ret.a(e);$ret.c($self.fa.runOn($self));$ret.d(new $$t.g2(Number,$$t.$d8.$type,f,a));return $ret}())}return b},bb:function(a){if(a.propertyType()==$$t.$ch.$type&&$$t.$b0.h(a.name(),$$t.$bu.$type)!=null){return this.c(a)}return $$t.$bu.bb.call(this,a)},as:function(a){if(arguments.length===1){if(a!=this.as()){$$t.$bu.as.call(this,a);if(a){this.dt.f();this.el(this.value(),false)}else{this.dt.i()}}return a}else{return $$t.$bu.as.call(this)}},at:function(a){if(arguments.length===1){if(a!=$$t.$bu.at.call(this)){$$t.$bu.at.call(this,a);this.cb("InvalidateCustomVisuals",null,null)}return a}else{return $$t.$bu.at.call(this)}},av:function(a){this.en();if(this.dz.count()==0){return false}this.el(this.dz.__inner[a?0:this.dz.count()-1],false);return true},b7:function(){if(!$.ig.util.isNaN(this.pendingValue())){if(this.as()){this.dw=true}this.em(this.pendingValue());var a=$b($$t.$hq.$type,this.parentItem());if(null!=a&&!$.ig.util.isNaN(this.value())){a.fc(this.value())}}$$t.$bu.b7.call(this)},ca:function(a,b,c,d){$$t.$bu.ca.call(this,a,b,c,d);var e=this.d5(a,c);var f=this.dw;if(this.dw){if($$t.$dn.l_op_Equality(this.e9,null)){this.dw=false}else if(!$$t.$dp.e(e,this.pendingValue())){this.dw=false}else if(Math.abs(d.__x-this.e9.__x)>16||Math.abs(d.__y-this.e9.__y)>16){this.dw=false}}this.d0=a;if(this.dw==false||$$t.$dn.l_op_Equality(this.e9,null)){this.e9=d}this.el(e,true);this.cb("InvalidateCustomVisuals",null,null);if(f&&this.dw==false){this.cb("ToolTipResolved",null,null)}},cb:function(a,b,c){switch(a){case"PendingValueNeedleBrush":this.cb("InvalidateCustomVisuals",null,null);break;case"PendingValue":this.cb("ToolTipResolved",null,null);this.cb("InvalidateCustomVisuals",null,null);break;case"ValueNeedleBrush":case"TickBrush":case"Value":case"ReserveFirstSlice":case"TrackStartColor":case"TrackEndColor":this.cb("DirtyCustomVisuals",null,null);break;case"Ticks":this.dv=false;this.cb("DirtyCustomVisuals",null,null);break}$$t.$bu.cb.call(this,a,b,c)},ax:function(a,b){var c=this.pendingValue();if($.ig.util.isNaN(c)){return this.av(a)}var d=c;this.en();if(this.dz.count()>0){d=d+this.smallIncrement()*(a?1:-1);var e=this.dz.count()-1;if(d<this.dz.__inner[0]){if(b){d=this.dz.__inner[e]}else{return false}}else if(d>this.dz.__inner[e]){if(b){d=this.dz.__inner[0]}else{return false}}this.el(d,false);return true}return false},ay:function(a){var b=this.pendingValue();if($.ig.util.isNaN(b)){this.av(a);return true}var c=b;this.en();var d=a?0:this.dz.count()-1;var e=a?this.dz.count():-1;var f=a?1:-1;for(var g=d;g!=e;g+=f){if(a&&this.dz.__inner[g]<=c){continue}else if(!a&&this.dz.__inner[g]>=c){continue}this.el(this.dz.__inner[g],false);return true}return false},bd:function(){var a=$$t.$bu.bd.call(this);if(a!=null){return a}var b=this.pendingValue();if($.ig.util.isNaN(b)){b=this.value()}if(!$.ig.util.isNaN(b)){return b}return null},ai:function(a,b,c){var d=$$t.$bu.ai.call(this,a,b,c);var e=$b($$t.$g5.$type,c);if(e==null){return d}var f=b.j();var g=this.value();var h=e.k;var i=e.j;var j=this.pendingValue();var k=e.h();if(!$.ig.util.isNaN(j)){var l=!$.ig.util.isNaN(this.d0)?this.d5(this.d0,a):NaN;var m=!$.ig.util.isNaN(l)&&l==j?this.d0:this.d1(a,j);k.j=$$t.$dp.q(h,$$t.$dp.n(f,m,h));k.i=$$t.$dp.q(i,$$t.$dp.n(f,m,i));k.b(1);if(this.at()){k.e(this.e3())}else if(this.dw&&!$.ig.util.isNaN(g)){k.e($$t.$h3.t)}else{k.e(this.ez())}}else{k.b(0)}if(this.at()&&k.b()>0){e.i().e($$t.$h3.t)}else if(e.i().e()==$$t.$h3.t){e.i().e(this.e3())}k.g(null);return 1},pendingValue:function(a){if(arguments.length===1){this.g($$t.$g4.pendingValueProperty,a);return a}else{return this.c($$t.$g4.pendingValueProperty)}},pendingValueNeedleBrush:function(a){if(arguments.length===1){this.g($$t.$g4.pendingValueNeedleBrushProperty,a);return a}else{return this.c($$t.$g4.pendingValueNeedleBrushProperty)}},ez:function(){return this.bb($$t.$g4.pendingValueNeedleBrushProperty)},reserveFirstSlice:function(a){if(arguments.length===1){this.g($$t.$g4.reserveFirstSliceProperty,a);return a}else{return this.c($$t.$g4.reserveFirstSliceProperty)}},smallIncrement:function(a){if(arguments.length===1){this.g($$t.$g4.smallIncrementProperty,a);return a}else{return this.c($$t.$g4.smallIncrementProperty)}},tickBrush:function(a){if(arguments.length===1){this.g($$t.$g4.tickBrushProperty,a);return a}else{return this.c($$t.$g4.tickBrushProperty)}},e1:function(){return this.bb($$t.$g4.tickBrushProperty)},ticks:function(a){if(arguments.length===1){this.g($$t.$g4.ticksProperty,a);return a}else{return this.c($$t.$g4.ticksProperty)}},trackStartColor:function(a){if(arguments.length===1){this.g($$t.$g4.trackStartColorProperty,a);return a}else{return this.c($$t.$g4.trackStartColorProperty)}},e7:function(){return this.bb($$t.$g4.trackStartColorProperty)},trackEndColor:function(a){if(arguments.length===1){this.g($$t.$g4.trackEndColorProperty,a);return a}else{return this.c($$t.$g4.trackEndColorProperty)}},e5:function(){return this.bb($$t.$g4.trackEndColorProperty)},value:function(a){if(arguments.length===1){this.g($$t.$g4.valueProperty,a);return a}else{return this.c($$t.$g4.valueProperty)}},valueNeedleBrush:function(a){if(arguments.length===1){this.g($$t.$g4.valueNeedleBrushProperty,a);return a}else{return this.c($$t.$g4.valueNeedleBrushProperty)}},e3:function(){return this.bb($$t.$g4.valueNeedleBrushProperty)},dx:function(){return this.reserveFirstSlice()},d1:function(a,b){this.en();var c=this.dx();var d=(a.d-a.e)/(c?this.dz.count():this.dz.count()-1);var e=a.e;if(c){e+=d}for(var f=1,g=this.dz.count();f<g;f++){var h=this.dz.__inner[f];if(b<h){var i=this.dz.__inner[f-1];var j=(b-i)/(h-i);e+=d*j;break}e+=d}return e},fa:function(a,b){var c=b.d();var d=c.b();var e=c.a();var f=this.d1(d,e);var g=$$t.$dp.q(this.menu().af().j(),f);return{__x:g.__x-a.k()/2,__y:g.__y-a.j()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},ei:function(){if(!this.as()){this.el(NaN,false)}},du:function(a,b,c,d,e){var f=function(){var $ret=new $$t.g6;$ret.j=$$t.$dp.q(b,$$t.$dp.n(a,e,b));$ret.i=$$t.$dp.q(c,$$t.$dp.n(a,e,c));return $ret}();f.b(1);f.e(d);return f},ds:function(a,b,c,d){var e=new $$t.er;e.c=1;e.g=1;e.b=c.toString();e.e=$$t.$dp.q(b,$$t.$dp.n(a,d,b));return e},ej:function(a,b){switch(b.propertyName()){case"Count":this.dv=false;break}},ek:function(){this.dv=true;this.dz.clear();var a=this.ticks();if(null!=a){this.dz.addRange(a)}this.dz.sort()},el:function(a,b){if(b!=true){this.d0=NaN;this.e9=null;this.dw=false}if(a==this.pendingValue()){return}this.pendingValue(a)},em:function(a){this.value(a)},en:function(){if(!this.dv){this.ek()}},d5:function(a,b){this.en();var c=this.dz.count();if(b==null||c==0){return NaN}var d;if(c==1){d=this.dz.__inner[0]}else{var e=this.dx();var f=(b.d-b.e)/(e?c:c-1);var g=b.e;if(g<-Math.PI){g+=6.283185307179586}if(a<g){a+=6.283185307179586}if(e){g+=f}if(a<g){d=this.dz.__inner[0]}else{d=this.dz.__inner[c-1];for(var h=0;h<c-1;h++){if(a<g+f){var i=1-(g+f-a)/f;var j=this.dz.__inner[h];var k=this.dz.__inner[h+1];var l=(k-j)*i+j;var m=l%this.smallIncrement();l-=m;if(Math.abs(m)>this.smallIncrement()/2){l+=this.smallIncrement()}d=l;break}g+=f}}}return d},pendingValueChanged:null,valueChanged:null,$type:new $.ig.Type("RadialMenuNumericGauge",$$t.$bu.$type)},true);$c("RadialMenuItemFrame:eq","Object",{c:null,d:null,init:function(){$.ig.$op.init.call(this);this.c=new $$t.ck($$t.$dk.$type,0);this.d=new $$t.ck($$t.$er.$type,0)},a:function(){return this.c},b:function(){return this.d},e:function(a,b,c){},$type:new $.ig.Type("RadialMenuItemFrame",$.ig.$ot)},true);$c("RadialMenuNumericGaugeFrame:g5","RadialMenuItemFrame",{f:null,g:null,k:null,j:null,init:function(){this.k=new $$t.dv;this.j=new $$t.dv;$$t.$eq.init.call(this);this.g=new $$t.g6;this.a().add(this.g);this.f=new $$t.g6;this.a().add(this.f)},e:function(a,b,c){var d;var e;var f=$b($$t.$g7.$type,a);if(this.i()!=null){f.valueNeedle(new $$t.g9);f.valueNeedle().needlePath(new $$t.f1(1,"ValueNeedle",b(this.i())));var h=this.b().getEnumerator();while(h.moveNext()){var g=h.current();if(g.a==this.i()){d=c(g);e=$$t.$hb.d(d,null);f.valueNeedle().label($$t.$ez.fromTextElement(d,e));break}}}if(this.h()!=null&&this.h().b()>0){f.editValueNeedle(new $$t.g9);f.editValueNeedle().label(null);f.editValueNeedle().needlePath(new $$t.f1(1,"EditValueNeedle",b(this.h())))}f.tickmarks(new $$t.g8);var j=this.b().getEnumerator();while(j.moveNext()){var i=j.current();var k=$b($$t.$dk.$type,i.a);if(k==this.i()){continue}var l=new $$t.hi;d=c(i);e=$$t.$hb.d(d,null);l.label($$t.$ez.fromTextElement(d,e));l.tickPath(new $$t.f1(1,"tickmark",b(k)));f.tickmarks().add(l)}f.trackArcs(new $$t.ha);var n=this.a().getEnumerator();while(n.moveNext()){var m=n.current();if(m==this.g||m==this.f){continue}if(m.c==this.g){f.valueTickLine(new $$t.f1(1,"valueTickLine",b(m)))}else if($b($$t.$dq.$type,m)!==null){f.trackArcs().add(new $$t.f1(1,"trackArc",b(m)))}}},h:function(){return this.f},i:function(){return this.g},$type:new $.ig.Type("RadialMenuNumericGaugeFrame",$$t.$eq.$type)},true);$c("RadialMenuNumericItem:hq","RadialMenuItem",{staticInit:function(){},init:function(){$$t.$f5.init.call(this);this.iconOverlay($$t.$hr.e);this.value(NaN)},a1:function(a,b){var c=$$t.$f5.a1.call(this,a,b);
if($.ig.util.isNaN(c)){var e=b.getEnumerator();while(e.moveNext()){var d=e.current();var f=$b($$t.$g4.$type,d.item());if(f!=null){var g=f.pendingValue();if($.ig.util.isNaN(g)){g=f.value()}if(!$.ig.util.isNaN(g)){var h=a.e+(a.d-a.e)/2;var i=f.d1(d,g);c=h-i}}}}return c},cb:function(a,b,c){if(a=="Value"){this.et(c)}$$t.$f5.cb.call(this,a,b,c)},value:function(a){if(arguments.length===1){this.g($$t.$hq.valueProperty,a);return a}else{return this.c($$t.$hq.valueProperty)}},fc:function(a){this.value(a)},valueChanged:null,$type:new $.ig.Type("RadialMenuNumericItem",$$t.$f5.$type)},true);$c("RadialMenuFrame:di","Object",{f:null,a:null,e:null,d:null,w:null,t:null,x:null,y:null,z:null,v:null,aa:null,o:null,n:null,u:null,init:function(){this._j=new $$t.dv;this._k=new $$t.dv;$.ig.$op.init.call(this);this.f=new $$t.dj;this.a=new $$t.dr;this.w=new $$t.ck($$t.$dq.$type,0);this.x=new $$t.ck($$t.$dq.$type,0);this.y=new $$t.ck($$t.$dq.$type,0);this.z=new $$t.ck($$t.$dq.$type,0);this.t=new $$t.ck($$t.$dq.$type,0);this.d=new $$t.dj;this.e=new $$t.dj;this.aa=new $$t.ck($$t.$d8.$type,0);this.v=new $$t.ck($$t.$d9.$type,0);this.n=new $$t.ea($$t.$d8.$type,$$t.$eq.$type,0);this.o=new $$t.ea($$t.$dk.$type,$$t.$bu.$type,0);this.u=new $$t.ck($$t.$d8.$type,0)},i:function(){return this.f},b:function(){return this.a},g:function(){return this.d},h:function(){return this.e},ad:function(){return this.w},ab:function(){return this.t},ae:function(){return this.x},af:function(){return this.y},ag:function(){return this.z},ah:function(){return this.aa},ac:function(){return this.v},_am:null,am:function(a){if(arguments.length===1){this._am=a;return a}else{return this._am}},q:function(){return this.o},p:function(){return this.n},r:function(){return this.u},_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}},ak:0,al:0,_ai:0,ai:function(a){if(arguments.length===1){this._ai=a;return a}else{return this._ai}},_aj:0,aj:function(a){if(arguments.length===1){this._aj=a;return a}else{return this._aj}},c:function(a){var c=this.aa.getEnumerator();while(c.moveNext()){var b=c.current();if(b.item()==a){return b}}return null},l:function(a,b){var $self=this;var c=this.s(b);var d;var f=c.getEnumerator();while(f.moveNext()){var e=f.current();if(function(){var g=$self.o.tryGetValue(e,d);d=g.p1;return g.ret}()&&d==a){return e}}return null},s:function(a){var b;switch(a){case 2:b=this.y;break;case 3:b=this.z;break;case 1:b=this.x;break;case 5:b=this.t;break;case 4:b=this.v;break;case 0:b=this.w;break;default:return null}return b},m:function(a){var c=this.n.keys().getEnumerator();while(c.moveNext()){var b=c.current();if(b.item()==a){if(this.u.contains(b)){return true}this.u.add(b);return true}}return false},$type:new $.ig.Type("RadialMenuFrame",$.ig.$ot)},true);$c("TextDefinition:er","Object",{init:function(){$.ig.$op.init.call(this)},b:null,d:null,c:0,g:0,e:null,a:null,f:null,$type:new $.ig.Type("TextDefinition",$.ig.$ot)},true);$c("RadialMenuItemLevel:f4","Object",{i:null,b:null,n:null,m:null,e:null,t:0,o:0,a:null,k:null,j:false,p:0,y:null,init:function(a,b,c,d,e){this.o=NaN;$.ig.$op.init.call(this);this.i=a;this.b=b;this.e=c;this.k=d;this.m=new $$t.ck($$t.$bu.$type,0);this.y=e;this.ac(this.k,true)},z:function(){return this.y},c:function(a){if(arguments.length===1){this.a=a;return a}else{return this.a}},l:function(){if(this.n==null){this.ab()}return this.n},d:function(){return this.b},f:function(){return this.e},s:function(){return this.p},x:function(){if(this.n==null){this.ab()}return this.t},ae:function(){this.j=true;this.ac(this.k,false);this.ah()},g:function(a){var b=this.v(a);return b<0?null:this.l().item(b)},v:function(a){if(a!=null){var b=this.l();for(var c=0,d=b.count();c<d;c++){if(b.item(c).item()==a){return c}}}return-1},w:function(a){var b=this.l();var c=1.7976931348623157e308;var d=-1;a=$$t.$dp.k(a);for(var e=0,f=b.count();e<f;e++){var g=b.item(e);var h=g.e;var i=g.d;while(h<-Math.PI){h+=6.283185307179586;i+=6.283185307179586}while(i>Math.PI){h-=6.283185307179586;i-=6.283185307179586}if(h<=a&&i>=a){return e}var j=h+(i-h)/2;j=$$t.$dp.k(j);var k=Math.abs(j-a);if(k<c){c=k;d=e}}return d},h:function(a,b){var c=this.l();var d;if(a==null){d=this.w(this.s())}else{d=this.v(a);if(d>=0&&b){d=d==c.count()?0:d+1}}if(!b){d=d==0?c.count()-1:d-1}if(d<0){return null}if(d==c.count()){d=0}var e=c.item(d);if(a!=null){if(e==this.h(null,b)){return null}}return e},q:function(a,b){var c=0;var d=(c+this.i.rotationInDegrees())*Math.PI/180;d+=(this.i.rotationAsPercentageOfWedge()+a)*b;d=$$t.$dp.k(d);return d},r:function(){var a=Math.max(this.x(),this.i.minWedgeCount());return 6.283185307179586/a},ai:function(a){var b=this.l();var c=this.i.wedgePaddingInDegrees()*Math.PI/180;var d=c/2;var e=this.r();var f=this.q(a,e);this.p=f;var h=b.getEnumerator();while(h.moveNext()){var g=h.current();var i=f+g.f*e+d;var j=i+e*g.g-c;if(j<i){var k=(j-i)/2;i+=k;j=i}g.e=i;g.d=j}if($.ig.util.isNaN(this.o)){if(this.b!=null&&this.b.autoRotateChildren()){var l=this.e.g(this.b);if(l!=null){this.o=this.b.a1(l,b)}}if($.ig.util.isNaN(this.o)){this.o=0}}if(!$.ig.util.isNaN(this.o)&&this.o!=0){var n=b.getEnumerator();while(n.moveNext()){var m=n.current();m.e=m.e+this.o;m.d=m.d+this.o}}},aa:function(a,b){var c=!this.j;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if(c){d.propertyChanged=$.ig.Delegate.prototype.combine(d.propertyChanged,this.ad.runOn(this))}if(d.__visibility==1){this.m.add(d);continue}var f=d.wedgeSpan();var g=d.wedgeIndex();b.add(new $$t.d8(d,g,f))}var i=a.getEnumerator();while(i.moveNext()){var h=i.current();var j=$b($$t.$f5.$type,h);if(j!=null&&j.ao()&&j.du()==1){if(c){this.ac(j.a0(),true)}this.aa(j.a0(),b)}}},ab:function(){this.m.clear();var a=new $$t.ck($$t.$d8.$type,0);this.n=a;this.aa(this.k,a);a.sort2($$t.$f4.u);var b=new $$t.ck($$t.$d.$type,0);var c=0;var d=0;var f=a.getEnumerator();while(f.moveNext()){var e=f.current();if(e.f<0){d++;e.f=b.count();for(var g=c,h=b.count();g<h;g++){if(!b.__inner[g]){if(g+e.g>=h){break}var i=true;for(var j=1;j<e.g;j++){if(b.__inner[g+j]){g+=j;i=false;break}}if(!i){continue}e.f=g;if(g==c){c=g+e.g}break}else if(g==c){c=g+1}}}for(var k=e.f,l=k+e.g;k<l;k++){while(k>=b.count()){b.add(false)}if(!b.__inner[k]){b.__inner[k]=true}}e.e=0;e.d=0}if(d>0&&d!=a.count()){a.sort2($$t.$f4.u)}this.t=b.count()},u:function(a,b){if(a.f>=0){if(b.f<0){return-1}if(a.f==b.f){return 0}else if(a.f<b.f){return-1}else{return 1}}return b.f<0?0:1},ac:function(a,b){var c=$b($$t.$c2.$type,a);if(null!=c){if(b){c.collectionChanged=$.ig.Delegate.prototype.combine(c.collectionChanged,this.af.runOn(this))}else{c.collectionChanged=$.ig.Delegate.prototype.remove(c.collectionChanged,this.af.runOn(this))}}},ad:function(a,b){var c=false;var d=$b($$t.$f5.$type,a);switch(b.propertyName()){case"CheckedHighlightBrush":case"OuterRingButtonFill":case"OuterRingButtonForeground":case"OuterRingButtonStroke":case"OuterRingButtonStrokeThickness":case"InnerAreaFill":case"InnerAreaStroke":case"InnerAreaStrokeThickness":case"IsEnabled":case"ToolTipResolved":case"DirtyCustomVisuals":case"InvalidateCustomVisuals":c=true;break;case"DisplayAsChecked":c=true;if(d!=null&&d.du()==1){this.ag()}break;case"ChildItemPlacement":case"OuterRingButtonType":case"WedgeIndex":case"WedgeSpan":case"VisibilityProxy":c=true;this.ag();break}if(c){this.i.dt(this,$b($$t.$bu.$type,a),b.propertyName())}},af:function(a,b){this.ag();this.i.dt(this,null,null)},ag:function(){if(this.n!=null){this.ah();this.m.clear();this.n=null}},ah:function(){if(this.n!=null){var b=this.n.getEnumerator();while(b.moveNext()){var a=b.current();var c=a.item();c.propertyChanged=$.ig.Delegate.prototype.remove(c.propertyChanged,this.ad.runOn(this));this.ac(a.item().a0(),false)}var e=this.m.getEnumerator();while(e.moveNext()){var d=e.current();d.propertyChanged=$.ig.Delegate.prototype.remove(d.propertyChanged,this.ad.runOn(this))}}},$type:new $.ig.Type("RadialMenuItemLevel",$.ig.$ot)},true);$c("RadialMenuItemPosition:d8","Object",{a:null,init:function(a,b,c){$.ig.$op.init.call(this);this.a=a;this.f=b;this.g=c},item:function(){return this.a},f:0,g:0,c:0,h:null,e:0,d:0,$type:new $.ig.Type("RadialMenuItemPosition",$.ig.$ot)},true);$c("RadialMenuPointerAnimationInfo:ix","Object",{a:null,c:0,e:0,init:function(a,b){$.ig.$op.init.call(this);this.a=a;this.c=b},item:function(){return this.a},d:function(){return this.c},f:function(a){if(arguments.length===1){this.e=a;return a}else{return this.e}},$type:new $.ig.Type("RadialMenuPointerAnimationInfo",$.ig.$ot)},true);$c("ColorNameCalculator:h4","Object",{b:null,a:null,init:function(){$.ig.$op.init.call(this);this.b=new $$t.ea($$t.$bq.$type,String,0);this.a=new $$t.ea($$t.$bq.$type,String,0)},g:function(a,b){this.b.item(a,b)},f:function(a){var $self=this;var b;if(!function(){var c=$self.a.tryGetValue(a,b);b=c.p1;return c.ret}()){this.a.item(a,b=this.e(a))}return b},e:function(a){var b=1.7976931348623157e308;var c=null;var e=this.b.getEnumerator();while(e.moveNext()){var d=e.current();var f=$$t.$h4.c(d.key(),a);if(f<b){b=f;c=d.value()}}return c},c:function(a,b){var c;var d;var e;var f=$$t.$h4.h(a,c,d,e);c=f.p1;d=f.p2;e=f.p3;var g;var h;var i;var j=$$t.$h4.h(b,g,h,i);g=j.p1;h=j.p2;i=j.p3;return Math.pow(c-g,2)+Math.pow(d-h,2)+Math.pow(e-i,2)},h:function(a,b,c,d){var e=a.o()/255;var f=a.n()/255;var g=a.m()/255;var h=e*.412453+f*.35758+g*.180423;var i=e*.212671+f*.71516+g*.072169;var j=e*.019334+f*.119193+g*.950227;var k=$$t.$h4.d(h/.95047);var l=$$t.$h4.d(i/1);var m=$$t.$h4.d(j/1.08883);b=116*l-16;c=500*(k-l);d=200*(l-m);return{p1:b,p2:c,p3:d}},d:function(a){if(a>.008856){return Math.pow(a,1/3)}else{return 7.787*a+16/116}},$type:new $.ig.Type("ColorNameCalculator",$.ig.$ot)},true);$c("RadialMenuUtilities:h3","Object",{g:function(a,b,c){if(a<b){return b}else if(a>c){return c}return a},staticInit:function(){var a=new $$t.h4;var b=a.g.runOn(a);b($$t.$bq.u(255,240,248,255),"Alice Blue");b($$t.$bq.u(255,250,235,215),"Antique White");b($$t.$bq.u(255,0,255,255),"Aqua");b($$t.$bq.u(255,127,255,212),"Aquamarine");b($$t.$bq.u(255,240,255,255),"Azure");b($$t.$bq.u(255,245,245,220),"Beige");b($$t.$bq.u(255,255,228,196),"Bisque");b($$t.$bq.u(255,0,0,0),"Black");b($$t.$bq.u(255,255,235,205),"Blanched Almond");b($$t.$bq.u(255,0,0,255),"Blue");b($$t.$bq.u(255,138,43,226),"Blue Violet");b($$t.$bq.u(255,165,42,42),"Brown");b($$t.$bq.u(255,222,184,135),"Burly Wood");b($$t.$bq.u(255,95,158,160),"Cadet Blue");b($$t.$bq.u(255,127,255,0),"Chartreuse");b($$t.$bq.u(255,210,105,30),"Chocolate");b($$t.$bq.u(255,255,127,80),"Coral");b($$t.$bq.u(255,100,149,237),"Cornflower Blue");b($$t.$bq.u(255,255,248,220),"Cornsilk");b($$t.$bq.u(255,220,20,60),"Crimson");b($$t.$bq.u(255,0,255,255),"Cyan");b($$t.$bq.u(255,0,0,139),"Dark Blue");b($$t.$bq.u(255,0,139,139),"Dark Cyan");b($$t.$bq.u(255,184,134,11),"Dark Goldenrod");b($$t.$bq.u(255,169,169,169),"Dark Gray");b($$t.$bq.u(255,0,100,0),"Dark Green");b($$t.$bq.u(255,189,183,107),"Dark Khaki");b($$t.$bq.u(255,139,0,139),"Dark Magenta");b($$t.$bq.u(255,85,107,47),"Dark Olive Green");b($$t.$bq.u(255,255,140,0),"Dark Orange");b($$t.$bq.u(255,153,50,204),"Dark Orchid");b($$t.$bq.u(255,139,0,0),"Dark Red");b($$t.$bq.u(255,233,150,122),"Dark Salmon");b($$t.$bq.u(255,143,188,143),"Dark Sea Green");b($$t.$bq.u(255,72,61,139),"Dark Slate Blue");b($$t.$bq.u(255,47,79,79),"Dark Slate Gray");b($$t.$bq.u(255,0,206,209),"Dark Turquoise");b($$t.$bq.u(255,148,0,211),"Dark Violet");b($$t.$bq.u(255,255,20,147),"Deep Pink");b($$t.$bq.u(255,0,191,255),"Deep Sky Blue");b($$t.$bq.u(255,105,105,105),"Dim Gray");b($$t.$bq.u(255,30,144,255),"Dodger Blue");b($$t.$bq.u(255,178,34,34),"Firebrick");b($$t.$bq.u(255,255,250,240),"Floral White");b($$t.$bq.u(255,34,139,34),"Forest Green");b($$t.$bq.u(255,255,0,255),"Fuchsia");b($$t.$bq.u(255,220,220,220),"Gainsboro");b($$t.$bq.u(255,248,248,255),"Ghost White");b($$t.$bq.u(255,255,215,0),"Gold");b($$t.$bq.u(255,218,165,32),"Goldenrod");b($$t.$bq.u(255,128,128,128),"Gray");b($$t.$bq.u(255,0,128,0),"Green");b($$t.$bq.u(255,173,255,47),"Green Yellow");b($$t.$bq.u(255,240,255,240),"Honeydew");b($$t.$bq.u(255,255,105,180),"Hot Pink");b($$t.$bq.u(255,205,92,92),"Indian Red");b($$t.$bq.u(255,75,0,130),"Indigo");b($$t.$bq.u(255,255,255,240),"Ivory");b($$t.$bq.u(255,240,230,140),"Khaki");b($$t.$bq.u(255,230,230,250),"Lavender");b($$t.$bq.u(255,255,240,245),"Lavender Blush");b($$t.$bq.u(255,124,252,0),"Lawn Green");b($$t.$bq.u(255,255,250,205),"Lemon Chiffon");b($$t.$bq.u(255,173,216,230),"Light Blue");b($$t.$bq.u(255,240,128,128),"Light Coral");b($$t.$bq.u(255,224,255,255),"Light Cyan");b($$t.$bq.u(255,250,250,210),"Light Goldenrod Yellow");b($$t.$bq.u(255,211,211,211),"Light Gray");b($$t.$bq.u(255,144,238,144),"Light Green");b($$t.$bq.u(255,255,182,193),"Light Pink");b($$t.$bq.u(255,255,160,122),"Light Salmon");b($$t.$bq.u(255,32,178,170),"Light Sea Green");b($$t.$bq.u(255,135,206,250),"Light Sky Blue");b($$t.$bq.u(255,119,136,153),"Light Slate Gray");b($$t.$bq.u(255,176,196,222),"Light Steel Blue");b($$t.$bq.u(255,255,255,224),"Light Yellow");b($$t.$bq.u(255,0,255,0),"Lime");b($$t.$bq.u(255,50,205,50),"Lime Green");b($$t.$bq.u(255,250,240,230),"Linen");b($$t.$bq.u(255,255,0,255),"Magenta");b($$t.$bq.u(255,128,0,0),"Maroon");b($$t.$bq.u(255,102,205,170),"Medium Aquamarine");b($$t.$bq.u(255,0,0,205),"Medium Blue");b($$t.$bq.u(255,186,85,211),"Medium Orchid");b($$t.$bq.u(255,147,112,219),"Medium Purple");b($$t.$bq.u(255,60,179,113),"Medium Sea Green");b($$t.$bq.u(255,123,104,238),"Medium Slate Blue");b($$t.$bq.u(255,0,250,154),"Medium Spring Green");b($$t.$bq.u(255,72,209,204),"Medium Turquoise");b($$t.$bq.u(255,199,21,133),"Medium Violet Red");b($$t.$bq.u(255,25,25,112),"Midnight Blue");b($$t.$bq.u(255,245,255,250),"Mint Cream");b($$t.$bq.u(255,255,228,225),"Misty Rose");b($$t.$bq.u(255,255,228,181),"Moccasin");b($$t.$bq.u(255,255,222,173),"Navajo White");b($$t.$bq.u(255,0,0,128),"Navy");b($$t.$bq.u(255,253,245,230),"Old Lace");b($$t.$bq.u(255,128,128,0),"Olive");b($$t.$bq.u(255,107,142,35),"Olive Drab");b($$t.$bq.u(255,255,165,0),"Orange");b($$t.$bq.u(255,255,69,0),"Orange Red");b($$t.$bq.u(255,218,112,214),"Orchid");b($$t.$bq.u(255,238,232,170),"Pale Goldenrod");b($$t.$bq.u(255,152,251,152),"Pale Green");b($$t.$bq.u(255,175,238,238),"Pale Turquoise");b($$t.$bq.u(255,219,112,147),"Pale Violet Red");b($$t.$bq.u(255,255,239,213),"Papaya Whip");b($$t.$bq.u(255,255,218,185),"Peach Puff");b($$t.$bq.u(255,205,133,63),"Peru");b($$t.$bq.u(255,255,192,203),"Pink");b($$t.$bq.u(255,221,160,221),"Plum");b($$t.$bq.u(255,176,224,230),"Powder Blue");b($$t.$bq.u(255,128,0,128),"Purple");b($$t.$bq.u(255,255,0,0),"Red");b($$t.$bq.u(255,188,143,143),"Rosy Brown");b($$t.$bq.u(255,65,105,225),"Royal Blue");b($$t.$bq.u(255,139,69,19),"Saddle Brown");b($$t.$bq.u(255,250,128,114),"Salmon");b($$t.$bq.u(255,244,164,96),"Sandy Brown");b($$t.$bq.u(255,46,139,87),"Sea Green");b($$t.$bq.u(255,255,245,238),"Sea Shell");b($$t.$bq.u(255,160,82,45),"Sienna");b($$t.$bq.u(255,192,192,192),"Silver");b($$t.$bq.u(255,135,206,235),"Sky Blue");b($$t.$bq.u(255,106,90,205),"Slate Blue");b($$t.$bq.u(255,112,128,144),"Slate Gray");b($$t.$bq.u(255,255,250,250),"Snow");b($$t.$bq.u(255,0,255,127),"Spring Green");b($$t.$bq.u(255,70,130,180),"Steel Blue");b($$t.$bq.u(255,210,180,140),"Tan");b($$t.$bq.u(255,0,128,128),"Teal");b($$t.$bq.u(255,216,191,216),"Thistle");b($$t.$bq.u(255,255,99,71),"Tomato");b($$t.$bq.u(255,64,224,208),"Turquoise");b($$t.$bq.u(255,238,130,238),"Violet");b($$t.$bq.u(255,245,222,179),"Wheat");b($$t.$bq.u(255,255,255,255),"White");b($$t.$bq.u(255,245,245,245),"White Smoke");b($$t.$bq.u(255,255,255,0),"Yellow");b($$t.$bq.u(255,154,205,50),"Yellow Green");$$t.$h3.a=a},u:function(a,b){return $$t.$bq.u(a.l(),Math.min(Math.max(a.o()+b,0),255),Math.min(Math.max(a.n()+b,0),255),Math.min(Math.max(a.m()+b,0),255))},x:function(a,b){var c=$$t.$h3.f(a);var d=-1;var e=$$t.$h3.y;for(var g=0;g<b.length;g++){var f=b[g];var h=$$t.$h3.f(f);var i=h>c?(h+.05)/(c+.05):(c+.05)/(h+.05);if(i>d){d=i;e=f}}return e},w:function(a){var b=$$t.$h3.f(a);var c=1.05/(b+.05);var d=(b+.05)/.05;return d>c?$$t.$h3.v:$$t.$h3.z},c:function(a,b,c,d){var e=new $$t.dv(1,0,0,b.k(),b.j());switch(c){case 0:case 3:e.x=a.__x;break;case 2:e.x=a.__x-b.k();break;case 1:e.x=a.__x-b.k()/2;break}switch(d){case 0:case 3:e.y=a.__y;break;case 2:e.y=a.__y-b.j();break;case 1:e.y=a.__y-b.j()/2;break}return e},f:function(a){var b=2.2;var c=Math.pow(a.o()/255,b)*.2126+Math.pow(a.n()/255,b)*.7152+Math.pow(a.m()/255,b)*.0722;return c},b:function(){return $$t.$h3.a},s:function(a){return function(){var $ret=new $$t.ch;$ret.fill(a.colorString());return $ret}()},d:function(a,b){return a.l()==b.l()&&a.o()==b.o()&&a.n()==b.n()&&a.m()==b.m()},e:function(a){return a!=null&&a.animationActive()&&a.getElapsedMilliseconds()<a.intervalMilliseconds()},$type:new $.ig.Type("RadialMenuUtilities",$.ig.$ot)},true);$c("RadialMenuVisualData:ir","Object",{init:function(){$.ig.$op.init.call(this)},_viewport:null,viewport:function(a){if(arguments.length===1){this._viewport=a;return a}else{return this._viewport}},_menuArea:null,menuArea:function(a){if(arguments.length===1){this._menuArea=a;return a}else{return this._menuArea}},_outerRing:null,outerRing:function(a){if(arguments.length===1){this._outerRing=a;return a}else{return this._outerRing}},_innerRing:null,innerRing:function(a){if(arguments.length===1){this._innerRing=a;return a}else{return this._innerRing}},_innerRingFocus:null,innerRingFocus:function(a){if(arguments.length===1){this._innerRingFocus=a;return a}else{return this._innerRingFocus}},_items:null,items:function(a){if(arguments.length===1){this._items=a;return a}else{return this._items}},_colorWellPreviews:null,colorWellPreviews:function(a){if(arguments.length===1){this._colorWellPreviews=a;return a}else{return this._colorWellPreviews}},_itemOpacity:0,itemOpacity:function(a){if(arguments.length===1){this._itemOpacity=a;return a}else{return this._itemOpacity}},_outerPathOpacity:0,outerPathOpacity:function(a){if(arguments.length===1){this._outerPathOpacity=a;return a}else{return this._outerPathOpacity}},_itemToolTip:null,itemToolTip:function(a){if(arguments.length===1){this._itemToolTip=a;return a}else{return this._itemToolTip}},serialize:function(){var a=new $$t.ex(0);a.t("{");var b=false;a.t("viewPort: { left: "+this.viewport().left()+", top: "+this.viewport().top()+", width: "+this.viewport().width()+", height: "+this.viewport().height()+"}");a.t(", itemOpacity: "+this.itemOpacity());a.t(", outerPathOpacity: "+this.outerPathOpacity());b=true;b=$$t.$ez.serializeItem(a,"menuArea",this.menuArea(),!b)||b;b=$$t.$ez.serializeItem(a,"outerRing",this.outerRing(),!b)||b;b=$$t.$ez.serializeItem(a,"innerRing",this.innerRing(),!b)||b;b=$$t.$ez.serializeItem(a,"innerRingFocus",this.innerRingFocus(),!b)||b;b=$$t.$ez.serializeItems(a,"items",this.items(),!b)||b;b=$$t.$ez.serializeItems(a,"colorWellPreviews",this.colorWellPreviews(),!b)||b;a.t("}");return a.toString()},$type:new $.ig.Type("RadialMenuVisualData",$.ig.$ot,[$$t.$et.$type])},true);$c("RadialMenuItemVisualData:es","Object",{init:function(){$.ig.$op.init.call(this)},_outerRingPath:null,outerRingPath:function(a){if(arguments.length===1){this._outerRingPath=a;return a}else{return this._outerRingPath}},_outerRingArrowPath:null,outerRingArrowPath:function(a){if(arguments.length===1){this._outerRingArrowPath=a;return a}else{return this._outerRingArrowPath}},_toolAreaPath:null,toolAreaPath:function(a){if(arguments.length===1){this._toolAreaPath=a;return a}else{return this._toolAreaPath}},_checkmarkPath:null,checkmarkPath:function(a){if(arguments.length===1){this._checkmarkPath=a;return a}else{return this._checkmarkPath}},_highlightPath:null,highlightPath:function(a){if(arguments.length===1){this._highlightPath=a;return a}else{return this._highlightPath}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},serialize:function(){var a=new $$t.ex(0);a.t("{");this.f(a,false);a.t("}");return a.toString()},f:function(a,b){if(b){a.t(", ")}a.t("name: '"+this.name()+"'");a.t(", type: '"+this.type()+"'");b=true;b=$$t.$ez.serializeItem(a,"outerRingPath",this.outerRingPath(),!b)||b;b=$$t.$ez.serializeItem(a,"outerRingArrowPath",this.outerRingArrowPath(),!b)||b;b=$$t.$ez.serializeItem(a,"toolAreaPath",this.toolAreaPath(),!b)||b;b=$$t.$ez.serializeItem(a,"checkmarkPath",this.checkmarkPath(),!b)||b;b=$$t.$ez.serializeItem(a,"highlightPath",this.highlightPath(),!b)||b;return b},i:function(a,b){var c=new $$t.f1(1,$$t.$bf.$getName(a),b);switch(a){case 0:this.outerRingPath(c);break;case 4:this.outerRingArrowPath(c);break;case 1:this.toolAreaPath(c);break;case 2:this.checkmarkPath(c);break;case 3:this.highlightPath(c);break}},$type:new $.ig.Type("RadialMenuItemVisualData",$.ig.$ot,[$$t.$et.$type])},true);$c("RadialMenuItemVisualDataList:is","List$1",{init:function(){$$t.$ck.init.call(this,$$t.$es.$type,0)},$type:new $.ig.Type("RadialMenuItemVisualDataList",$$t.$ck.$type.specialize($$t.$es.$type))},true);$c("RadialMenuItemToolTipVisualData:ia","Object",{init:function(){$.ig.$op.init.call(this)},_itemType:null,itemType:function(a){if(arguments.length===1){this._itemType=a;return a}else{return this._itemType}},_itemName:null,itemName:function(a){if(arguments.length===1){this._itemName=a;return a}else{return this._itemName}},_toolTipText:null,toolTipText:function(a){if(arguments.length===1){this._toolTipText=a;return a}else{return this._toolTipText}},_relativeTop:0,relativeTop:function(a){if(arguments.length===1){this._relativeTop=a;return a}else{return this._relativeTop}},_relativeLeft:0,relativeLeft:function(a){if(arguments.length===1){this._relativeLeft=a;return a}else{return this._relativeLeft}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},serialize:function(){var a=new $$t.ex(0);a.t("{");a.t("itemName: '"+this.itemName()+"'");a.t(", itemType: '"+this.itemType()+"'");a.t(", toolTipText: '"+this.toolTipText()+"'");a.t(", relativeTop: "+this.relativeTop());a.t(", relativeLeft: "+this.relativeLeft());a.t(", width: "+this.width());a.t(", height: "+this.height());a.t("}");a.t("}");return a.toString()},$type:new $.ig.Type("RadialMenuItemToolTipVisualData",$.ig.$ot,[$$t.$et.$type])},true);$c("RadialMenuNumericGaugeVisualData:g7","RadialMenuItemVisualData",{init:function(){$$t.$es.init.call(this)},_tickmarks:null,tickmarks:function(a){if(arguments.length===1){this._tickmarks=a;return a}else{return this._tickmarks}},_valueNeedle:null,valueNeedle:function(a){if(arguments.length===1){this._valueNeedle=a;return a}else{return this._valueNeedle}},_editValueNeedle:null,editValueNeedle:function(a){if(arguments.length===1){this._editValueNeedle=a;return a}else{return this._editValueNeedle}},_valueTickLine:null,valueTickLine:function(a){if(arguments.length===1){this._valueTickLine=a;return a}else{return this._valueTickLine}},_trackArcs:null,trackArcs:function(a){if(arguments.length===1){this._trackArcs=a;return a}else{return this._trackArcs}},f:function(a,b){b=$$t.$es.f.call(this,a,b)||b;b=$$t.$ez.serializeItem(a,"valueNeedle",this.valueNeedle(),!b)||b;b=$$t.$ez.serializeItem(a,"valueTickLine",this.valueTickLine(),!b)||b;b=$$t.$ez.serializeItem(a,"editValueNeedle",this.editValueNeedle(),!b)||b;b=$$t.$ez.serializeItems(a,"tickmarks",this.tickmarks(),!b)||b;b=$$t.$ez.serializeItems(a,"trackArcs",this.trackArcs(),!b)||b;return b},$type:new $.ig.Type("RadialMenuNumericGaugeVisualData",$$t.$es.$type)},true);$c("RadialMenuNumericGaugeTickmarkData:hi","Object",{init:function(){$.ig.$op.init.call(this)},_tickPath:null,tickPath:function(a){if(arguments.length===1){this._tickPath=a;return a}else{return this._tickPath}},_label:null,label:function(a){if(arguments.length===1){this._label=a;return a}else{return this._label}},_labelLeft:0,labelLeft:function(a){if(arguments.length===1){this._labelLeft=a;return a}else{return this._labelLeft}},_labelTop:0,labelTop:function(a){if(arguments.length===1){this._labelTop=a;return a}else{return this._labelTop}},_labelWidth:0,labelWidth:function(a){if(arguments.length===1){this._labelWidth=a;return a}else{return this._labelWidth}},_labelHeight:0,labelHeight:function(a){if(arguments.length===1){this._labelHeight=a;return a}else{return this._labelHeight}},serialize:function(){var a=new $$t.ex(0);a.t("{");a.t("labelLeft: "+this.labelLeft());a.t(", labelTop: "+this.labelTop());a.t(", labelWidth: "+this.labelWidth());a.t(", labelHeight: "+this.labelHeight());$$t.$ez.serializeItem(a,"tickPath",this.tickPath(),false);$$t.$ez.serializeItem(a,"label",this.label(),false);a.t("}");return a.toString()},$type:new $.ig.Type("RadialMenuNumericGaugeTickmarkData",$.ig.$ot,[$$t.$et.$type])},true);$c("RadialMenuNumericGaugeTickmarkDataList:g8","List$1",{init:function(){$$t.$ck.init.call(this,$$t.$hi.$type,0)},$type:new $.ig.Type("RadialMenuNumericGaugeTickmarkDataList",$$t.$ck.$type.specialize($$t.$hi.$type))},true);$c("RadialMenuNumericGaugeNeedleData:g9","Object",{init:function(){$.ig.$op.init.call(this)},_needlePath:null,needlePath:function(a){if(arguments.length===1){this._needlePath=a;return a}else{return this._needlePath}},_label:null,label:function(a){if(arguments.length===1){this._label=a;return a}else{return this._label}},serialize:function(){if(this.label()==null){if(this.needlePath()==null){return"{}"}return"{ needlePath: "+this.needlePath().serialize()+"}"}else if(this.needlePath()==null){return"{ label: "+this.label().serialize()+"}"}else{return"{ needlePath: "+this.needlePath().serialize()+", label: "+this.label().serialize()+"}"}},$type:new $.ig.Type("RadialMenuNumericGaugeNeedleData",$.ig.$ot,[$$t.$et.$type])},true);$c("ColorWellPreviewData:iy","Object",{init:function(){this._colorValue=new $$t.bq;$.ig.$op.init.call(this)},_name:null,name:function(a){if(arguments.length===1){this._name=a;return a}else{return this._name}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},_colorValue:null,colorValue:function(a){if(arguments.length===1){this._colorValue=a;return a}else{return this._colorValue}},_previewPath:null,previewPath:function(a){if(arguments.length===1){this._previewPath=a;return a}else{return this._previewPath}},serialize:function(){var a=new $$t.ex(0);a.t("{");a.t("name: '"+this.name()+"'");a.t(", type: '"+this.type()+"'");a.t(", colorValue: "+($$t.$bq.e($l($$t.$bq.$type,this.colorValue()),$l($$t.$bq.$type,null))?$$t.$ez.serializeColor(this.colorValue()):"null"));$$t.$ez.serializeItem(a,"previewPath",this.previewPath(),false);a.t("}");return a.toString()},$type:new $.ig.Type("ColorWellPreviewData",$.ig.$ot,[$$t.$et.$type])},true);$c("ColorWellPreviewDataList:it","List$1",{init:function(){$$t.$ck.init.call(this,$$t.$iy.$type,0)},$type:new $.ig.Type("ColorWellPreviewDataList",$$t.$ck.$type.specialize($$t.$iy.$type))},true);$c("KeyTipInfo:hp","Object",{init:function(){this.e=null;this.b="\0";$.ig.$op.init.call(this)},e:null,b:"\0",h:null,f:null,_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_a:null,a:function(a){if(arguments.length===1){this._a=a;return a}else{return this._a}},_d:null,d:function(a){if(arguments.length===1){this._d=a;return a}else{return this._d}},_c:null,c:function(a){if(arguments.length===1){this._c=a;return a}else{return this._c}},$type:new $.ig.Type("KeyTipInfo",$.ig.$ot)},true);$c("KeyTipManager:iu","Object",{h:null,t:null,d:null,f:null,init:function(a){$.ig.$op.init.call(this);this.t=a;this.d=new $$t.ck($$t.$hp.$type,0)},a:function(){return this.d.count()>0},e:function(){return this.d},c:function(a){var b=false;for(var c=0;c<a.length;c++){var d=a.charAt(c);if(!$$t.$iu.b(d)){continue}var e=this.h+d;var f=e.toLocaleUpperCase(this.f);var g=false;var i=this.d.getEnumerator();while(i.moveNext()){var h=i.current();if(f==h.f){this.h=null;h.a()(h);return true}else if(h.f.startsWith(f)){b=g=true;break}}if(g){this.h=e}}return b},p:function(){this.k();var a=new $$t.ck($$t.$hp.$type,0);var c=this.d.getEnumerator();while(c.moveNext()){var b=c.current();if(String.isNullOrEmpty(b.f)){a.add(b)}}this.n(a);this.l(a);this.m(a);this.o(a);this.q();this.s()},r:function(){this.d.clear();this.h=null},g:function(a,b){return a.f.compareTo(b.f)},i:function(a){if(a<0){return null}var b=a;if(b<=9){return $y(b,this.f)}var c=19;if(b<c){return"0"+$y(c-b,this.f)}b-=c;if(b>25){return null}var d=String.fromCharCode("A".charCodeAt(0)+b);return"0"+d},j:function(a){var b=a.e;var c=String.empty();if(String.isNullOrEmpty(b)){return c}for(var d=0;d<b.length;d++){var e=b.charAt(d);if(c.length==2){break}if($$t.$iu.b(e)){c+=e}}return c},k:function(){var a=$$t.$ac.currentCulture();this.f=a},l:function(a){for(var b=0;b<a.count();b++){var c=a.__inner[b];var d=c.g();if(String.isNullOrEmpty(d)){continue}var e=this.j(c);var f=String.empty();for(var g=0,h=d.length;g<h;g++){var i=d.charAt(g);if($$t.$iu.b(i)==false){continue}var j=(e+i).toLocaleUpperCase(this.f);if(f.length==0){f=j}var k=false;var m=this.d.getEnumerator();while(m.moveNext()){var l=m.current();if(l.f==null){continue}if(l.f.startsWith(j)){k=true;break}}if(k==false){c.f=j;break}}if(String.isNullOrEmpty(c.f)){if(f.length==0){c.f=e}else{c.f=f}}if(!String.isNullOrEmpty(c.f)){a.removeAt(b);b--}}},n:function(a){for(var b=a.count()-1;b>=0;b--){var c=a.__inner[b];if(!String.isNullOrEmpty(c.h)){c.f=c.h;a.removeAt(b)}}},m:function(a){var b=1;for(var c=0;c<a.count();c++){var d=null;do{d=this.i(b++);if(d==null){return}var f=this.d.getEnumerator();while(f.moveNext()){var e=f.current();if(e.f==d){d=null;break}}if(d!=null){a.__inner[c].f=d;a.removeAt(c);c--;break}}while(true)}},o:function(a){for(var b=0;b<a.count();b++){var c=a.__inner[b];c.f=this.j(c);if(String.isNullOrEmpty(c.f)){var d=c.b;if($$t.$iu.b(d)){c.f=d}}if(!String.isNullOrEmpty(c.f)){a.removeAt(b);b--}}},b:function(a){return true},q:function(){for(var a=this.d.count()-1;a>=0;a--){var b=this.d.__inner[a];if(String.isNullOrEmpty(b.f)){this.d.removeAt(a)}}},s:function(){var a=new $$t.ck($$t.$hp.$type,1,this.d);var b=0;var c;do{c=false;a.sort2(this.g.runOn(this));var d=null;for(var e=b;e<a.count()-1;e++){var f=a.__inner[e];var g=a.__inner[e+1];if(f.f==g.f){if(d==null){d=new $$t.ck($$t.$hp.$type,0)}else{d.clear()}d.add(f);d.add(g);for(e+=2;e<a.count();e++){var h=a.__inner[e];if(h.f!=f.f){break}d.add(h)}var i=$.ig.truncate(Math.floor(Math.log10(d.count()-1)))+1;for(var j=0;j<d.count();j++){var k=d.__inner[j];var l=$y(j+1,this.f).padLeft(i,"0");if(l.length>i){l=l.substr(l.length-i)}k.f=String.concat(k.f,l)}c=true;break}else if(g.f.startsWith(f.f)){f.f=String.concat(f.f,f.f=="0"?"0":"1");c=true;break}else{b=e+1}}}while(c)},$type:new $.ig.Type("KeyTipManager",$.ig.$ot)},true);$c("LiteRect:dv","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.ValueType.prototype.init.call(this)},x:0,y:0,width:0,height:0,init1:function(a,b,c,d,e){$.ig.ValueType.prototype.init.call(this);this.x=b;this.y=c;this.width=d;this.height=e},$type:new $.ig.Type("LiteRect",$.ig.ValueType.prototype.$type)},true);$c("LiteRectExtensions:dw","Object",{init:function(){$.ig.$op.init.call(this)},c:function(a){if($$t.$dw.a(a)){return $$t.$dx.empty()}return new $$t.dx(0,a.x,a.y,a.width,a.height)},b:function(a,b){return a.x==b.x&&a.y==b.y&&a.width==b.width&&a.height==b.height},a:function(a){return a.width<0},$type:new $.ig.Type("LiteRectExtensions",$.ig.$ot)},true);$c("PathBuilder:ds","Object",{h:null,g:null,i:null,init:function(){$.ig.$op.init.call(this);this.h=new $$t.dt},b:function(a,b,c){if($$t.$dw.a(a)){return}var d=c<0?0:1;var e=Math.abs(c)>Math.PI;var f=b+c;var g=a.width/2;var h=a.height/2;var i=g*h/Math.sqrt($$t.$ds.a(h*Math.cos(b))+$$t.$ds.a(g*Math.sin(b)));
var j=a.x+i*Math.cos(b)+g;var k=a.y+i*Math.sin(b)+h;var l=g*h/Math.sqrt($$t.$ds.a(h*Math.cos(f))+$$t.$ds.a(g*Math.sin(f)));var m=a.x+l*Math.cos(f)+g;var n=a.y+l*Math.sin(f)+h;var o=$$t.$dp.q(a,b);var p=$$t.$dp.q(a,f);j=o.__x;k=o.__y;m=p.__x;n=p.__y;this.e({__x:j,__y:k,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},false);this.i.add(function(){var $ret=new $$t.d0;$ret.e({__x:m,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.f(new $$t.dy(1,g,h));$ret.c(0);$ret.b(e);$ret.d(d);return $ret}())},c:function(a,b,c,d,e){var f=$$t.$dp.a(a,b,c,d);var g=f.length;if(e){for(var h=0;h<$a(g,2);h++){var i=f[g-h-1];f[g-h-1]=f[h];f[h]=i}}this.e(f[0],true);var j=new $$t.d4;for(var k=1;k<g;k++){j.b().add(f[k])}this.i.add(j)},d:function(a,b){this.e(a,false);this.i.add(function(){var $ret=new $$t.d6(1);$ret.c(b);return $ret}())},f:function(){return this.h},e:function(a,b){if(this.g==null||b){this.g=new $$t.d7;this.i=this.g.__segments;this.g.__startPoint=a;this.h.b().add(this.g)}},a:function(a){return a*a},$type:new $.ig.Type("PathBuilder",$.ig.$ot)},true);$c("ShapeDefinition:dk","Object",{init:function(){$.ig.$op.init.call(this)},c:null,_g:null,g:function(a){if(arguments.length===1){this._g=a;return a}else{return this._g}},_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}},_b:0,b:function(a){if(arguments.length===1){this._b=a;return a}else{return this._b}},_h:null,h:function(a){if(arguments.length===1){this._h=a;return a}else{return this._h}},a:function(a){},f:function(a){},$type:new $.ig.Type("ShapeDefinition",$.ig.$ot)},true);$c("Ellipse:dj","ShapeDefinition",{init:function(){this.k=new $$t.dn(0);$$t.$dk.init.call(this)},k:null,i:0,j:0,a:function(a){return $$t.$dp.h($$t.$dp.j(this.k,this.i,this.j,a),0)},f:function(a){var b=new $$t.ds;var c=a/2;b.c(this.k.__x,this.k.__y,this.i-c,this.j-c,false);return b.f()},$type:new $.ig.Type("Ellipse",$$t.$dk.$type)},true);$c("Annulus:dr","Ellipse",{init:function(){$$t.$dj.init.call(this)},l:0,m:0,a:function(a){if(!$$t.$dj.a.call(this,a)){return false}return $$t.$dp.f($$t.$dp.j(this.k,this.l,this.m,a),0)},f:function(a){var b=new $$t.ds;var c=a/2;b.c(this.k.__x,this.k.__y,this.i-c,this.j-c,false);b.c(this.k.__x,this.k.__y,this.l+c,this.m+c,true);return b.f()},$type:new $.ig.Type("Annulus",$$t.$dj.$type)},true);$c("TriangleShape:d9","ShapeDefinition",{init:function(){this.i=new $$t.dn(0);this.j=new $$t.dn(0);this.k=new $$t.dn(0);$$t.$dk.init.call(this)},i:null,j:null,k:null,a:function(a){return $$t.$dp.p(this.i,this.j,this.k,a)<=0},f:function(a){var $self=this;var b=new $$t.dt;var c=new $$t.d7;c.__startPoint=this.i;c.__isClosed=true;c.__segments.add(function(){var $ret=new $$t.d6(1);$ret.c($self.j);return $ret}());c.__segments.add(function(){var $ret=new $$t.d6(1);$ret.c($self.k);return $ret}());b.b().add(c);return b},$type:new $.ig.Type("TriangleShape",$$t.$dk.$type)},true);$c("AnnularSector:dq","Annulus",{init:function(){$$t.$dr.init.call(this)},p:0,q:0,n:0,o:0,a:function(a){if(!$$t.$dr.a.call(this,a)){return false}return $$t.$dp.f($$t.$dp.j(this.k,this.l,this.m,a),0)&&$$t.$dp.g(this.n,this.o,this.k,this.l,this.m,a)},f:function(a){if($$t.$dp.f(this.q,6.283185307179586)){return $$t.$dr.f.call(this,a)}var b=new $$t.ds;var c=a/2;var d=new $$t.dv(1,this.k.__x-this.i,this.k.__y-this.j,this.i*2,this.j*2);var e=new $$t.dv(1,this.k.__x-this.l,this.k.__y-this.m,this.l*2,this.m*2);var f=this.q;var g=this.o;b.b(d,this.p,f);b.d($$t.$dp.q(d,this.p+f),$$t.$dp.q(e,this.n));b.b(e,this.n,g);b.d($$t.$dp.q(e,this.n+g),$$t.$dp.q(d,this.p));return b.f()},$type:new $.ig.Type("AnnularSector",$$t.$dr.$type)},true);$c("LineSegmentShape:g6","ShapeDefinition",{init:function(){this.j=new $$t.dn(0);this.i=new $$t.dn(0);$$t.$dk.init.call(this)},j:null,i:null,f:function(a){var $self=this;if(a==0){return null}return function(){var $ret=new $$t.fb;$ret.c($self.j);$ret.b($self.i);return $ret}()},a:function(a){var b=this.b()==0?0:this.b()/2;var c=function(d){return d*d};var d=Math.sqrt(c(this.j.__x-this.i.__x)+c(this.j.__y-this.i.__y));var e=Math.sqrt(c(this.j.__x-a.__x)+c(this.j.__y-a.__y));var f=Math.sqrt(c(this.i.__x-a.__x)+c(this.i.__y-a.__y));var g=Math.abs(e+f-d);return g<b},$type:new $.ig.Type("LineSegmentShape",$$t.$dk.$type)},true);$c("ShapeUtilities:dp","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a,b){if(a==b){return true}return Math.abs(a-b)<1e-6},b:function(a,b,c,d,e,f,g){if(b<0){b=0}if(c<0){c=0}if(d<0){d=0}if(e<0){e=0}var h=new $$t.dq;var i=a.x+a.width/2;var j=a.y+a.height/2;h.k={__x:i,__y:j,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};h.i=b;h.j=c;h.l=d;h.m=e;var k=new $$t.dv(1,i-b,j-c,b*2,c*2);h.p=$$t.$dp.n(a,f,k);h.q=$$t.$dp.n(a,g,k)-h.p;var l=new $$t.dv(1,i-d,j-e,d*2,e*2);h.n=$$t.$dp.n(a,g,l);h.o=$$t.$dp.n(a,f,l)-h.n;if(g>f&&$$t.$dp.h(h.q,0)){h.q=h.q+6.283185307179586;h.o=h.o-6.283185307179586}return h},c:function(a){var b=a.width/2*$$t.$dp.m;var c=a.height/2*$$t.$dp.m;var d=a.x+a.width/2;var e=a.y+a.height/2;return new $$t.dv(1,d-b,e-c,b*2,c*2)},a:function(a,b,c,d){var e=.5522847498307936;var f=c*e;var g=d*e;return[{__x:a,__y:b-d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a+f,__y:b-d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a+c,__y:b-g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a+c,__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a+c,__y:b+g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a+f,__y:b+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a,__y:b+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a-f,__y:b+d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a-c,__y:b+g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a-c,__y:b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a-c,__y:b-g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a-f,__y:b-d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},{__x:a,__y:b-d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}]},q:function(a,b){var c=a.width/2;var d=a.height/2;var e=c*Math.cos(b);var f=d*Math.sin(b);return{__x:e+c+a.x,__y:f+d+a.y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},i:function(a,b){a=$$t.$dp.k(a);b=$$t.$dp.k(b);var c=Math.abs(a-b);return Math.min(6.283185307179586-c,c)},f:function(a,b){return a>=b||$$t.$dp.e(a,b)},j:function(a,b,c,d){var e=d.__x-a.__x;var f=d.__y-a.__y;var g=e*e/(b*b)+f*f/(c*c);return g-1},p:function(a,b,c,d){var e=d;var f=(b.__x-a.__x)*(c.__y-a.__y)-(c.__x-a.__x)*(b.__y-a.__y);var g=Math.sign(((b.__x-e.__x)*(c.__y-e.__y)-(c.__x-e.__x)*(b.__y-e.__y))/f);var h=Math.sign(((c.__x-e.__x)*(a.__y-e.__y)-(a.__x-e.__x)*(c.__y-e.__y))/f);var i=Math.sign(((a.__x-e.__x)*(b.__y-e.__y)-(b.__x-e.__x)*(a.__y-e.__y))/f);if(g==h&&h==i){return-1}if(g==0||h==0||i==0){return 0}return 1},d:function(a,b,c){if(!$$t.$dw.a(a)){a=new $$t.dv(1,a.x,a.y,a.width,a.height);a.x-=b;a.y-=c;a.width=a.width+b*2;a.height=a.height+c*2}return a},g:function(a,b,c,d,e,f){var g=$$t.$dp.l(c,d,e,f);g=$$t.$dp.k(g);var h=a+b;if(h<a){var i=a;a=h;h=i}if(a<-Math.PI){return g<h||g>a+6.283185307179586}else if(h>Math.PI){return g>a||g<h+6.283185307179586}return a<=g&&g<=h},h:function(a,b){return a<=b||$$t.$dp.e(a,b)},k:function(a){a%=6.283185307179586;if(a>Math.PI){a-=6.283185307179586}else if(a<-Math.PI){a+=6.283185307179586}return a},l:function(a,b,c,d){return Math.atan2((d.__y-a.__y)*(b/c),d.__x-a.__x)},n:function(a,b,c){var d=$$t.$dp.q(a,b);var e=c.width/2;var f=c.height/2;return $$t.$dp.l({__x:c.x+e,__y:c.y+f,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName},e,f,d)},$type:new $.ig.Type("ShapeUtilities",$.ig.$ot)},true);$c("TimedOperation:iz","Object",{a:null,init:function(a,b){$.ig.$op.init.call(this);this.a=a;window.setTimeout(this.c.runOn(this),b)},b:function(){this.a=null},c:function(){if(this.a!=null){var a=this.a;this.a=null;a()}},$type:new $.ig.Type("TimedOperation",$.ig.$ot)},true);$c("XamRadialMenu:ci","Control",{e1:null,ez:null,ey:null,e0:null,ex:null,ge:null,gf:null,gd:null,gc:null,ae:null,bb:null,bc:null,be:null,ag:0,bg:null,bd:null,av:null,bf:null,aw:null,aj:0,ah:null,f9:null,a0:false,az:false,a1:false,b5:null,ay:null,am:null,ao:null,an:null,ai:null,ad:null,ax:null,bh:null,staticInit:function(){},init:function(){var $self=this;this.ag=3;this.at=new $$t.dv(1,0,0,0,0);$$t.$bv.init.call(this);this.bh=new $$t.f7(function(a,b){a.cd(b?$self:null)});this.e1=new $$t.dg;this.e0=new $$t.dg;this.ey=new $$t.dg;this.ez=new $$t.dg;this.ex=new $$t.dg;this.e1.q(100);this.e0.q(200);this.ey.q(300);this.ez.q(400);this.ex.q(500);this.ad=new $$t.iu(this);this.bb=new $$t.ea($$t.$bf.$type,$$t.$ck.$type.specialize($$t.$e7.$type),0);this.bc=new $$t.ea($$t.$bf.$type,$$t.$iv.$type.specialize($$t.$e7.$type),0);this.be=new $$t.ck($$t.$ix.$type,0);this.ae=new $$t.di;this.bg=new $$t.f2($$t.$f4.$type);var a=new $$t.f8(this);this.bd=new $$t.ck($$t.$e7.$type,0);this.av=function(){var $ret=new $$t.iv($$t.$e7.$type);$ret.b(a.bc.runOn(a));$ret.c(a.bd.runOn(a));$ret.j(function(){return a.b1()});$ret.d(function(b){a.aq(b)});return $ret}();this.bf=new $$t.ck($$t.$fw.$type,0);this.aw=function(){var $ret=new $$t.iv($$t.$fw.$type);$ret.b(a.ay.runOn(a));$ret.c(a.az.runOn(a));$ret.j(a.bv.runOn(a));$ret.d(a.a0.runOn(a));return $ret}();this.al(a);this.ge=a.b2(0);this.gf=a.b2(1);this.gd=a.b2(3);this.gc=a.b2(2);a.a7();this.bg.push(new $$t.f4(this,null,null,a.x(),null));a.bn()},centerButtonContentWidth:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonContentWidthProperty,a);return a}else{return this.c($$t.$ci.centerButtonContentWidthProperty)}},centerButtonContentHeight:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonContentHeightProperty,a);return a}else{return this.c($$t.$ci.centerButtonContentHeightProperty)}},centerButtonClosedFill:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonClosedFillProperty,a);return a}else{return this.c($$t.$ci.centerButtonClosedFillProperty)}},centerButtonClosedStroke:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonClosedStrokeProperty,a);return a}else{return this.c($$t.$ci.centerButtonClosedStrokeProperty)}},centerButtonFill:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonFillProperty,a);return a}else{return this.c($$t.$ci.centerButtonFillProperty)}},centerButtonHotTrackFill:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonHotTrackFillProperty,a);return a}else{return this.c($$t.$ci.centerButtonHotTrackFillProperty)}},centerButtonHotTrackStroke:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonHotTrackStrokeProperty,a);return a}else{return this.c($$t.$ci.centerButtonHotTrackStrokeProperty)}},centerButtonContent:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonContentProperty,a);return a}else{return this.c($$t.$ci.centerButtonContentProperty)}},centerButtonKeyTip:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonKeyTipProperty,a);return a}else{return this.c($$t.$ci.centerButtonKeyTipProperty)}},centerButtonStroke:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonStrokeProperty,a);return a}else{return this.c($$t.$ci.centerButtonStrokeProperty)}},centerButtonStrokeThickness:function(a){if(arguments.length===1){this.g($$t.$ci.centerButtonStrokeThicknessProperty,a);return a}else{return this.c($$t.$ci.centerButtonStrokeThicknessProperty)}},currentOpenMenuItem:function(a){if(arguments.length===1){this.g($$t.$ci.currentOpenMenuItemProperty,a);return a}else{return this.c($$t.$ci.currentOpenMenuItemProperty)}},font:function(a){if(arguments.length===1){this.g($$t.$ci.fontProperty,a);return a}else{return this.c($$t.$ci.fontProperty)}},isOpen:function(a){if(arguments.length===1){this.g($$t.$ci.isOpenProperty,a);return a}else{return this.c($$t.$ci.isOpenProperty)}},items:function(){return this.bh},keyTipTemplate:function(a){if(arguments.length===1){this.g($$t.$ci.keyTipTemplateProperty,a);return a}else{return this.c($$t.$ci.keyTipTemplateProperty)}},menuBackground:function(a){if(arguments.length===1){this.g($$t.$ci.menuBackgroundProperty,a);return a}else{return this.c($$t.$ci.menuBackgroundProperty)}},menuItemOpenCloseAnimationDuration:function(a){if(arguments.length===1){this.g($$t.$ci.menuItemOpenCloseAnimationDurationProperty,a);return a}else{return $g(this.c($$t.$ci.menuItemOpenCloseAnimationDurationProperty))}},menuItemOpenCloseAnimationEasingFunction:function(a){if(arguments.length===1){this.g($$t.$ci.menuItemOpenCloseAnimationEasingFunctionProperty,a);return a}else{return this.c($$t.$ci.menuItemOpenCloseAnimationEasingFunctionProperty)}},menuOpenCloseAnimationDuration:function(a){if(arguments.length===1){this.g($$t.$ci.menuOpenCloseAnimationDurationProperty,a);return a}else{return $g(this.c($$t.$ci.menuOpenCloseAnimationDurationProperty))}},menuOpenCloseAnimationEasingFunction:function(a){if(arguments.length===1){this.g($$t.$ci.menuOpenCloseAnimationEasingFunctionProperty,a);return a}else{return this.c($$t.$ci.menuOpenCloseAnimationEasingFunctionProperty)}},minWedgeCount:function(a){if(arguments.length===1){this.g($$t.$ci.minWedgeCountProperty,a);return a}else{return $g(this.c($$t.$ci.minWedgeCountProperty))}},outerRingFill:function(a){if(arguments.length===1){this.g($$t.$ci.outerRingFillProperty,a);return a}else{return this.c($$t.$ci.outerRingFillProperty)}},outerRingThickness:function(a){if(arguments.length===1){this.g($$t.$ci.outerRingThicknessProperty,a);return a}else{return this.c($$t.$ci.outerRingThicknessProperty)}},outerRingStroke:function(a){if(arguments.length===1){this.g($$t.$ci.outerRingStrokeProperty,a);return a}else{return this.c($$t.$ci.outerRingStrokeProperty)}},outerRingStrokeThickness:function(a){if(arguments.length===1){this.g($$t.$ci.outerRingStrokeThicknessProperty,a);return a}else{return this.c($$t.$ci.outerRingStrokeThicknessProperty)}},rotationInDegrees:function(a){if(arguments.length===1){this.g($$t.$ci.rotationInDegreesProperty,a);return a}else{return this.c($$t.$ci.rotationInDegreesProperty)}},rotationAsPercentageOfWedge:function(a){if(arguments.length===1){this.g($$t.$ci.rotationAsPercentageOfWedgeProperty,a);return a}else{return this.c($$t.$ci.rotationAsPercentageOfWedgeProperty)}},wedgePaddingInDegrees:function(a){if(arguments.length===1){this.g($$t.$ci.wedgePaddingInDegreesProperty,a);return a}else{return this.c($$t.$ci.wedgePaddingInDegreesProperty)}},a2:function(){return true},e2:function(){return this.ex},af:function(){return this.ae},e3:function(){return this.ey},a5:function(){return this.bg.peek().z()!=null},e4:function(){return this.ez},e5:function(){return this.e0},b1:function(){return this.bg.count()},e6:function(){return this.e1},_al:null,al:function(a){if(arguments.length===1){this._al=a;return a}else{return this._al}},at:null,au:function(a){if(arguments.length===1){var b=this.at;this.at=a;if(!$$t.$dw.b(b,this.at)){this.d4(b,this.at)}return a}else{return this.at}},d4:function(a,b){this.dg(3)},a3:function(){return this.ad.a()},ba:function(){return this.aj==3&&!this.a3()&&this.al().r()},exportVisualData:function(){var $self=this;var a=this.ae;var b=new $$t.ir;b.menuArea(new $$t.f1(1,"MenuArea",this.ge));b.outerRing(new $$t.f1(1,"OuterRing",this.gf));b.innerRing(new $$t.f1(1,"InnerRing",this.gd));b.innerRingFocus(new $$t.f1(1,"InnerRingFocus",this.gc));b.itemOpacity(this.ez.__opacity);b.outerPathOpacity(this.e1.__opacity);b.viewport($$t.$dw.c(this.au()));var c;var d=new $$t.ea($$t.$bu.$type,$$t.$es.$type,0);b.items(new $$t.is);var f=a.ah().getEnumerator();while(f.moveNext()){var e=f.current();var g=e.item().ah();g.type(e.item().getType().typeName());g.name(e.item().name());d.item(e.item(),g);if(function(){var h=a.p().tryGetValue(e,c);c=h.p1;return h.ret}()){c.e(g,function(h){for(var i=0,j=$self.bd.count();i<j;i++){if($self.bd.__inner[i].dataContext()==h){return $self.bd.__inner[i]}}return null},function(h){for(var i=0,j=$self.bf.count();i<j;i++){if($self.bf.__inner[i].dataContext()==h){return $self.bf.__inner[i]}}return null})}b.items().add(g)}this.c9(0,a,d);this.c9(4,a,d);this.c9(1,a,d);this.c9(2,a,d);this.c9(3,a,d);var h;if(function(){var i=$self.bb.tryGetValue(5,h);h=i.p1;return i.ret}()){b.colorWellPreviews(new $$t.it);var i;var k=h.getEnumerator();while(k.moveNext()){var j=k.current();var l=$b($$t.$dk.$type,j.dataContext());if(function(){var m=a.q().tryGetValue(l,i);i=m.p1;return m.ret}()){var m=$b($$t.$im.$type,l.c);var n=new $$t.iy;n.type(m.getType().typeName());n.name(m.name());n.colorValue(m.color());n.previewPath(new $$t.f1(1,"ColorWellPreview",j));b.colorWellPreviews().add(n)}}}this.al().ar(b);return b},c9:function(a,b,c){var $self=this;var d;if(!function(){var e=$self.bb.tryGetValue(a,d);d=e.p1;return e.ret}()){return}var e;var f;var h=d.getEnumerator();while(h.moveNext()){var g=h.current();var i=$b($$t.$dk.$type,g.dataContext());if(i!=null){if(function(){var j=b.q().tryGetValue(i,e);e=j.p1;return j.ret}()){if(function(){var j=c.tryGetValue(e,f);f=j.p1;return j.ret}()){f.i(a,g)}}}}},provideContainer:function(a){this.al().a5(a)},containerResized:function(){this.al().a6()},destroy:function(){this.al().a5(null)},styleUpdated:function(){this.al().br()},flush:function(){this.al().as()},c7:function(){this.dg(3)},c8:function(){var $self=this;var a=this.ad.e();a.clear();a.add(function(){var $ret=new $$t.hp;$ret.h=$self.centerButtonKeyTip();$ret.a(function(b){$self.d7()});$ret.c($self.gb.runOn($self));return $ret}());if(this.isOpen()){var b=this.bg.peek();var c=b.h(null,true);while(c!=null){var d=c.item();var e=d.az(c);var f=null;if(e!=null){a.addRange(e)}else if(this.a4(d)){f=function(g){$self.di(g.d().item())}}else if(d.isEnabled()){f=function(g){$self.d9(g.d().item())}}if(f!=null){var g=$b($$t.$f5.$type,d);a.add(function(){var $ret=new $$t.hp;$ret.h=g!=null?g.keyTip():null;$ret.a(f);$ret.d(c);$ret.c($self.ga.runOn($self));return $ret}())}c=b.h(d,true)}}this.ad.p();this.ew();this.al().aw();this.al().bp(a)},db:function(){if(this.a3()){this.ad.r();this.al().av();this.ew();if($$t.$dn.l_op_Inequality(this.f9,null)){var a=this.f9;this.f9=null;this.dz(a)}}},a7:function(a){var b;if(this.isOpen()){b=this.ae.i()}else{b=this.ae.h()}return b.a(a)},dm:function(a){if(this.bg.peek().z()==a){this.dk()}},dp:function(){{switch(this.aj){case 0:case 4:if(!this.a5()){this.ef(null,3,true,false)}break;case 3:this.ew();this.ep();break}}},ds:function(a){if(a!=null){this.db();this.al().bm();if(this.isOpen()){this.al().bq(a)}if(this.ax==null){this.ax=new $$t.iz(this.dq.runOn(this),1e3)}}},a8:function(a){if(this.ad.a()){return this.ad.c(a)}return false},a9:function(a,b){if(this.a3()){switch(a){case 17:case 15:case 14:case 16:case 13:case 12:case 2:this.db();this.ef(null,3,false,false);break}}switch(a){case 8:if(this.bg.count()>1){this.dk()}else{this.db();this.al().bm()}break;case 9:case 3:if(!this.a5()){this.d8(this.aj,this.ah,false)}break;case 2:if(!this.a5()){this.ec(b)}break;case 15:case 17:if(!this.a5()){this.dh(this.ah,a==15)}break;case 14:if(this.isOpen()){this.ef(null,3,false,false);this.d7()}break;case 16:if(this.ah!=null&&this.a4(this.ah)){this.di(this.ah)}break;default:if(this.al().q(a)){if(this.a3()){this.db();this.al().bm()}else if(!this.a5()){this.c8()}break}return false}return true},dv:function(){this.db();this.ew();this.ef(null,0,false,false)},dx:function(a){if(this.am!=null&&this.a3()&&this.al().r()){this.f9=a;return}this.dz(a)},dw:function(a,b){this.dz(a);this.b5=b;if(this.ah!=null&&this.aj==2){this.ah.at(true)}this.a1=this.aj==3;this.eh()},dl:function(a,b){this.eb(a,b,true)},d0:function(a,b){this.eb(a,b,false)},dz:function(a){if(this.a5()){return}if($$t.$dn.l_op_Inequality(this.f9,null)&&a.__x==this.f9.__x&&a.__y==this.f9.__y&&this.al().r()){return}this.db();this.f9=a;var b=this.c2(a,!this.a1);var c=b.a();this.ef(c,b.b(),false,false);if(c!=null&&c.as()){var d=this.ae.am();var e=$$t.$dp.l(d,this.ae.j().width/2,this.ae.j().height/2,a);var f=this.ae.c(c);c.ca(e,this.ae.j(),f,a)}},dy:function(){this.f9=null;this.ef(null,0,false,false)},eg:function(a){this.isOpen(a)},eu:function(){var a=this.ag;this.ag=0;var b=a==2||a==3||this.al().u();if(a==3){if(this.be.count()>0){this.be.clear();this.em();this.ep()}var c=this.bg.peek();var d=0;var e=1;if(this.am!=null){d=1;e=this.am.transitionProgress()}else if(this.ao!=null){e=this.ao.transitionProgress();var f=this.bg.peek();var g=this.ai;if(g!=null&&g.f()==f&&$b($$t.$im.$type,g.d())!==null){d=4}else if(g!=null&&f.f()==g&&$b($$t.$im.$type,f.d())!==null){d=3}else{d=2}}this.d6(this.ae,c,d,e,this.ai)}else{var h=this.ae.r();var i=this.ae.p();var k=h.getEnumerator();while(k.moveNext()){var j=k.current();var l;if(function(){var m=i.tryGetValue(j,l);l=m.p1;return m.ret}()){var m=j.item().ai(j,this.ae,l);if(m!=0){if(a==0){a=1}if((m&2)!=0){this.et(l.b())}}}}h.clear()}if(b){if(a==1){this.dc(this.ae);this.dd(this.ae)}else{this.ee(this.ae)}this.al().ap()}},c3:function(a,b){var c=a.item();var d=$b($$t.$im.$type,c)!==null?3:2;var e=c.c6();var f=b.b();var g=$$t.$dp.b(b.j(),f.l-2,f.m-2,f.l-(2+d),f.m-(2+d),a.e+.008726646259971648,a.d-.008726646259971648);g.d(e);b.ag().add(g);b.q().item(g,c)},ga:function(a,b){var c=$b($$t.$d8.$type,b.d());var d=c.e+(c.d-c.e)/2;var e=$$t.$dp.q(this.ae.j(),d);return{__x:e.__x-a.k()/2,__y:e.__y-a.j()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},gb:function(a,b){var c=this.al().b5();var d=this.ae.am();return{__x:d.__x-a.k()/2,__y:d.__y-c.j()/2-a.j(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},gg:function(a){if(Number.isInfinity(a.k())||Number.isInfinity(a.j())){var b=100;var c=this.al().b5();var d=$$t.$dp.c(new $$t.dv(1,0,0,c.k(),c.j()));if(Number.isInfinity(a.k())){a.k((this.outerRingThickness()+5+b+5)*2+d.width)}if(Number.isInfinity(a.j())){a.j((this.outerRingThickness()+5+b+5)*2+d.height)}}return a},c4:function(){if(this.ax!=null){this.ax.b();this.ax=null}},a4:function(a){return a.ad()==2},bz:function(a,b){for(var c=0,d=this.be.count();c<d;c++){var e=this.be.__inner[c];if(e.item()==a&&e.d()==b){return c}}return-1},c2:function(a,b){var $self=this;var c=null;var d=0;var e=false;if(this.ae.h().a(a)){if(!this.az||!b){d=3}}else if(this.b5!=null||this.isOpen()){var f=this.isOpen()&&this.ae.b().a(a);var g=null;if(this.b5!=null&&!f){var h=this.ae.am();var i=Math.abs(a.__x-h.__x);var j=Math.abs(a.__y-h.__y);var k=Math.sqrt(i*i+j*j);var l=$$t.$dp.l(h,this.ae.j().width/2,this.ae.j().height/2,a);var m=$$t.$dp.q(this.ae.j(),l);i=Math.abs(m.__x-h.__x);j=Math.abs(m.__y-h.__y);var n=Math.sqrt(i*i+j*j);e=k>n*3;var o=this.ae.k();var p=$$t.$dp.l(h,o.width/2,o.height/2,a);a=$$t.$dp.q(o,p)}if(f){var q=this.ae.ad();for(var r=0,s=q.count();r<s;r++){if(q.__inner[r].a(a)){d=1;g=q.__inner[r];break}}}else if(e){d=4}else{var t=this.ae.ae();for(var u=0,v=t.count();u<v;u++){if(t.__inner[u].a(a)){d=2;g=t.__inner[u];break}}}if(g!=null){if(!function(){var w=$self.ae.q().tryGetValue(g,c);c=w.p1;return w.ret}()){d=0}else if(!c.isEnabled()){if(d==2||!this.a4(c)){c=null;d=0}}else if(d==1&&!this.a4(c)){d=2}}}return new $$t.g2($$t.$bu.$type,$$t.$bh.$type,c,d)},dc:function(a){var b=this.bd;var c=this.av;c.f(true);for(var d=b.count()-1;d>=0;d--){c.n(b.__inner[d])}b.clear();var f=a.p().getEnumerator();while(f.moveNext()){var e=f.current();var g=e.key().item().isEnabled()?1:.3;var i=e.value().a().getEnumerator();while(i.moveNext()){var h=i.current();var j=c.a();j.__opacity=g;$$t.$ci.de(h,j);b.add(j)}}c.f(false)},dd:function(a){var b=this.bf;var c=this.aw;c.f(true);for(var d=b.count()-1;d>=0;d--){c.n(b.__inner[d])}b.clear();var f=a.p().getEnumerator();while(f.moveNext()){var e=f.current();var g=e.key().item().isEnabled()?1:.3;var i=e.value().b().getEnumerator();while(i.moveNext()){var h=i.current();var j=c.a();j.__opacity=g;j.aa(h.b);j.dataContext(h);j.ab(h.d);var k=h.f;j.l(k.x());j.m(k.y());b.add(j)}}c.f(false)},de:function(a,b){b.__fill=a.d();b.__stroke=a.b()==0?$$t.$h3.t:a.e();b.z(a.b());b.h(a.h());if(a.g()==null){a.g(a.f(a.b()))}b.ak(a.g());b.dataContext(a)},df:function(a,b,c){var $self=this;var d;var e;if(!function(){var f=$self.bb.tryGetValue(a,d);d=f.p1;return f.ret}()){this.bb.item(a,d=new $$t.ck($$t.$e7.$type,0))}if(!function(){var f=$self.bc.tryGetValue(a,e);e=f.p1;return f.ret}()){this.bc.item(a,e=function(){var $ret=new $$t.iv($$t.$e7.$type);$ret.b($self.al().bc.runOn($self.al()));$ret.c($self.al().bd.runOn($self.al()));$ret.j(function(){return $self.al().b3(a)});$ret.d(function(f){$self.al().bf(a,f)});return $ret}())}e.f(true);for(var f=d.count()-1;f>=0;f--){e.n(d.__inner[f])}d.clear();var h=b.getEnumerator();while(h.moveNext()){var g=h.current();var i=e.a();var j;var k=1;if(c!=null&&function(){var l=c.tryGetValue(g,j);j=l.p1;return l.ret}()&&!j.isEnabled()){k=.3}i.__opacity=k;$$t.$ci.de(g,i);d.add(i)}e.f(false)},dg:function(a){if(a>this.ag){this.ag=a}this.al().bn()},dq:function(){this.al().aw();this.ax=null},dj:function(a){var b=$b($$t.$bu.$type,a);if(b==null&&a!=null){var c=this.bg.peek().d();if(c!=null&&a==c.ba()){b=c}else{var e=this.al().x().getEnumerator();while(e.moveNext()){var d=e.current();b=d.ae(a);if(b!=null){break}}}}this.di(b)},di:function(a){var b=this.bg.peek();var c=b.d();if(c==a){return}while($b($$t.$f5.$type,a)!==null){var d=a;var e=d.du()==0;if(e){break}a=d.parentItem()}if(c==a){this.ev();return}this.en();if(a==null||c!=null&&!c.aq(a)){while(this.bg.count()>1){var f=this.bg.pop();f.ae();f.d().b8();var g=this.bg.peek();if(g.d()==a||g.d()!=null&&g.d().aq(a)){break}}}if(a!=null){var h=this.bg.peek().d();var i=new $$t.f2($$t.$bu.$type);var j=a;while(j!=h){i.push(j);j=j.parentItem()}var l=i.getEnumerator();while(l.moveNext()){var k=l.current();if(k.__visibility==1){break}var m=$b($$t.$f5.$type,k);if(m!=null&&m.du()==1){continue}if(!this.a4(k)){break}if(!k.aw()){break}var n=this.bg.peek();var o=k.ap();var p=o?k.a8():null;var q=o?new Array(0):k.a0();var r=new $$t.f4(this,k,n,q,p);this.bg.push(r);if(n!=b){n.ai(0)}n.c(k);k.b9();if(o){break}}}this.ai=b;this.al().a8();this.ej();this.dg(3);if(b.z()!=null){this.al().au(b.z())}var s=this.bg.peek();if(s.z()!=null){this.db();this.ef(null,0,false,false);this.al().bo(s.z())}else if(this.al().r()&&!this.a3()&&s.f()==b){var t=b.g(s.d());if(t!=null){s.ai(0);var u=t.e+(t.d-t.e)/2;var v=1.7976931348623157e308;var w=null;var y=s.l().getEnumerator();while(y.moveNext()){var x=y.current();var z=x.e+(x.d-x.e)/2;var aa=Math.abs(z-u);if(aa<v&&(x.item().isEnabled()||this.a4(x.item()))){v=aa;w=x}}if(w!=null){this.ef(w.item(),w.item().isEnabled()?2:1,false,false)}else{this.ef(null,3,false,false)}}}this.ev();if(!$$t.$h3.e(this.ao)){if(this.a3()){this.c8()}}},dk:function(){if(this.bg.count()>1){this.di($$t.$ef.ac($$t.$f4.$type,$$t.$ef.q($$t.$f4.$type,this.bg,1)).d())}},dn:function(a,b){if(!$$t.$h3.e(this.am)){this.el()}this.dg(3)},onInitialized:function(){if(this.a0){return}this.a0=true;if(this.currentOpenMenuItem()!=null){this.dj(this.currentOpenMenuItem())}},du:function(a,b){var c=this.an.transitionProgress();this.ea(c)},ea:function(a){var b=this.be;for(var c=b.count()-1;c>=0;c--){var d=b.__inner[c];var e=$$t.$h3.g(d.f()+a,0,1);var f=d.item();switch(d.d()){case 0:case 4:break;case 3:{var g=$$t.$i0.g(this.centerButtonHotTrackFill(),e,this.isOpen()?this.centerButtonFill():this.centerButtonClosedFill(),0);var h=$$t.$i0.g(this.centerButtonHotTrackStroke(),e,this.isOpen()?this.centerButtonStroke():this.centerButtonClosedStroke(),0);this.eq(this.ae.g(),g);this.er(this.ae.g(),h);this.er(this.ae.h(),h);this.al().a4();break}case 1:{var i=this.ae.l(f,0);var j=i!=null?this.ae.l(f,4):null;if(i!=null){i.d($$t.$i0.g(f.dk(),e,f.dg(),0));i.e($$t.$i0.g(f.dp(),e,f.dr(),0))}if(j!=null){j.d($$t.$i0.g(f.dm(),e,f.di(),0))}break}case 2:{var k=this.ae.l(f,3);if(null!=k){k.d($$t.$i0.g(f.c6(),e,null,0))}var l=this.ae.l(f,1);if(null!=l){l.d($$t.$i0.g(f.da(),e,f.c8(),0));l.e($$t.$i0.g(f.dc(),e,f.de(),0))}break}}}this.dg(2)},d1:function(a,b){if(!$$t.$h3.e(this.ao)){this.en()}this.dg(3)},d2:function(a,b,c){if(b==c){return}if(b==null){var d=$$t.$b0.h(a,$$t.$ci.$type);if(d!=null&&$$t.$i3.getUnderlyingType(d.propertyType())==null&&d.k()!=null&&d.k().b()==c){return}}this.al().a9(a,b,c);var e=false;switch(a){case"CenterButtonKeyTip":e=false;break;case"CurrentOpenMenuItem":if(this.a0){this.dj(c)}break;case"MenuOpenCloseAnimationDuration":case"MenuOpenCloseAnimationEasingFunction":case"MenuItemOpenCloseAnimationDuration":case $$t.$ci.cr:case"KeyTipTemplate":break;case"MenuBackground":this.eq(this.ae.i(),c);e=true;break;case"CenterButtonHotTrackFill":case"CenterButtonHotTrackStroke":case"CenterButtonFill":case"CenterButtonStroke":case"CenterButtonClosedFill":case"CenterButtonClosedStroke":this.ep();break;case"CenterButtonStrokeThickness":this.es(this.ae.g(),c);this.ew();break;case"OuterRingFill":this.eq(this.ae.b(),c);break;case"OuterRingStrokeThickness":this.es(this.ae.b(),c);break;case"OuterRingStroke":this.er(this.ae.b(),c);break;case"CenterButtonContentHeight":case"CenterButtonContentWidth":case"CenterButtonContent":case"OuterRingThickness":case"RotationAsPercentageOfWedge":case"RotationInDegrees":case"MinWedgeCount":case"WedgePaddingInDegrees":{e=true;break}case"IsOpen":{e=true;this.el();this.en();var f=c==true;var g=this.e1.__opacity;var h=f?1:0;var i=f?h-g:g-h;if(f){this.al().a2()}if(i!=0){var j=this.menuOpenCloseAnimationDuration();if(j>0&&this.a2()){this.am=new $$t.h5(g,h,$.ig.truncate(Math.ceil(i*j)));this.am.easingFunction(this.menuOpenCloseAnimationEasingFunction());var k=this.am;k.propertyChanged=$.ig.Delegate.prototype.combine(k.propertyChanged,this.dn.runOn(this));this.am.start();this.am.flush()}else if(this.a3()){this.c8();if(!f){this.al().a1()}}}this.ep();var l=f?this.opened:this.closed;if(null!=l){l(this,$$t.$bn.empty)}break}default:break}if(e){this.dg(3)}var m=this.propertyChanged;if(null!=m){switch(a){case"IsOpen":case"CurrentOpenMenuItem":m(this,new $$t.cg(a));
break}}},dt:function(a,b,c){if(a!=this.bg.peek()){}var d=this.ag;if(b!=null){switch(c){case"ToolTipResolved":if(b==this.ah){this.c4();this.al().bq(b)}break;case"InvalidateCustomVisuals":if(this.af().m(b)){d=1}else{d=3}break;case"IsEnabled":d=2;break;default:d=3;break}}else{d=3}if(d!=this.ag){this.dg(d)}},d3:function(a){this.dg(2)},d5:function(){if(!this.isOpen()){this.az=true;this.eg(true)}},dh:function(a,b){if(!this.isOpen()){return}if(a!=null&&a.ax(b,false)){return}var c=this.bg.peek();var d=c.h(a,b);if(d!=null){var e=d.item();do{if(e.isEnabled()){this.ef(e,2,false,false);e.ax(b,true);break}else if(this.a4(e)){this.ef(e,1,false,false);break}else{var f=c.h(e,b);if(f!=null){e=f.item()}else{this.ef(null,3,false,false);break}}}while(e!=d.item())}else{this.ef(null,3,false,false)}},d6:function(a,b,c,d,e){var f=this.au();if($$t.$dw.a(f)){return}var g=b;if(e!=null&&c!=0&&c!=1&&d<.5){b=e}var h={__x:f.x+f.width/2,__y:f.y+f.height/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var i=Math.max(this.outerRingThickness(),0);var j=c==1;var k=j?(1-d)*-1:0;var l=j?(1-d)*i:0;var m=d<=.5?d:1-d;var n=!j?m*i:0;var o=f.width/2-l;var p=f.height/2-l;i-=l;var q=Math.min(i,o);var r=Math.min(i,p);var s=this.al().b5();var t=$$t.$dp.c(new $$t.dv(1,0,0,s.k(),s.j()));var u=Math.min(t.width/2,o-q);var v=Math.min(t.height/2,p-r);var w=o-q-n;var x=p-r-n;a.am(h);var y=!j?1-m*2*.6:1;a.aj(y);a.j(f);a.ak=o-q;a.al=p-r;a.r().clear();var z=a.i();z.k=h;z.i=o;z.j=p;z.g(null);var aa=a.b();aa.k=h;aa.i=o;aa.j=p;aa.l=w;aa.m=x;aa.g(null);var ab=a.g();ab.k=h;ab.i=u;ab.j=v;ab.g(null);var ac=a.h();ac.k=h;ac.i=ab.i+5;ac.j=ab.j+5;ac.g(null);var ad=b.l();var ae=a.q();ae.clear();var af=a.ah();af.clear();af.addRange(ad);b.ai(k);a.ai(k*b.r());var ag=a.ad();ag.clear();var ah=a.ac();ah.clear();var ai=a.ae();ai.clear();var aj=a.ag();aj.clear();var ak=a.af();ak.clear();var al=a.ab();al.clear();var am=a.p();am.clear();var an=Math.max(w-1,0)*y;var ao=Math.max(x-1,0)*y;var ap=Math.min(ac.i+5,an)*y;var aq=Math.min(ac.j+5,ao)*y;var ar=Math.max(an-2,0)*y;var as=Math.max(ao-2,0)*y;var at=(an-(an-ap)*.56)*y;var au=(ao-(ao-aq)*.56)*y;var av=Math.max(at-8,ac.i);var aw=Math.max(au-8,ac.j);var ax=Math.min(ac.i+8,av);var ay=Math.min(ac.j+8,aw);var az=new $$t.dv(1,h.__x-an,h.__y-ao,an*2,ao*2);var a0=new $$t.dv(1,h.__x-ap,h.__y-aq,ap*2,aq*2);var a1=a0.height+(az.height-a0.height)*.6;var a2=a0.width+(az.width-a0.width)*.6;var a3=new $$t.dv(1,h.__x-a2/2,h.__y-a1/2,a2,a1);var a4=aa.i-n*2;var a5=aa.j-n*2;var a6=aa.l;var a7=aa.m;var a8=(a4+a6)/2;var a9=(a5+a7)/2;var ba=new $$t.dv(1,h.__x-a8,h.__y-a9,a8*2,a9*2);a.k(a3);var bc=ad.getEnumerator();while(bc.moveNext()){var bb=bc.current();var bd=bb.item();var be=bb.e;var bf=bb.d;var bg=bd.ag(bb,a);if(bg!=null){am.add(bb,bg);this.et(bg.b())}var bh=$b($$t.$im.$type,bd);var bi=be;var bj=bf;if(bh==null){bi+=.008726646259971648;bj-=.008726646259971648}else{bh.fh()}var bk=be+(bf-be)/2;var bl=$$t.$dp.n(f,bk,a3);if($.ig.util.isNaN(bl)){bl=bk}bb.h=$$t.$dp.q(a3,bl-a.ai());bb.c=bl;var bm=$$t.$dp.b(f,a4,a5,a6,a7,bi,bj);ag.add(bm);ae.item(bm,bd);var bn=this.b5==null&&bd==this.ah&&this.aj==1;var bo=this.a4(bd);if(bo||bh!=null){var bp=null;if(bo){var bq=$$t.$dp.n(f,bk,ba);var br=$$t.$dp.q(ba,bq);var bs=new $$t.dy(1,5.5,11);bp=function(){var $ret=new $$t.d9;$ret.j={__x:bs.k(),__y:bs.j()/2,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};$ret.k={__x:0,__y:bs.j(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};return $ret}();var bt=new $$t.fy;bt.h().add(function(){var $ret=new $$t.fx;$ret.h(bk*180/Math.PI);$ret.i(bs.k()/2);$ret.j(bs.j()/2);return $ret}());bt.h().add(function(){var $ret=new $$t.h0;$ret.h(br.__x-bs.k()/2);$ret.i(br.__y-bs.j()/2);return $ret}());bp.h(bt);ah.add(bp);ae.item(bp,bd)}if(bn){if(bp!=null){bp.d(bd.dm())}bm.d(bd.dk());bm.e(bd.dp())}else{if(bp!=null){bp.d(bd.di())}bm.d(bd.dg());bm.e(bd.dr())}bm.b(bd.a5())}var bu;if(bh!=null){bu=$$t.$dp.b(f,ar,as,at,au,be,bf)}else{bu=$$t.$dp.b(f,an,ao,ap,aq,be,bf)}var bv=bd==this.ah&&this.aj==2;bu.d(bv?bd.da():bd.c8());bu.e(bv?bd.dc():bd.de());bu.b(bd.a3());ai.add(bu);ae.item(bu,bd);if(bd.ao()){var bw=bh!=null?3:1;var bx=bd.c3();var by=$$t.$dp.b(f,aa.l-2,aa.m-2,aa.l-(2+bw),aa.m-(2+bw),bi,bj);by.d(bx);ak.add(by);ae.item(by,bd)}if(bv){this.c3(bb,a)}}var bz=b.f();if(bz!=null){bz.ai(0);var b1=bz.l().getEnumerator();while(b1.moveNext()){var b0=b1.current();var b2=$b($$t.$im.$type,b0.item());if(b2!=null){b2.fh();var b3=$$t.$dp.b(f,av,aw,ax,ay,b0.e,b0.d);b3.d(b2.c8());b3.e(b2.de());b3.b(b2.a3());b3.c=b2;al.add(b3);ae.item(b3,b2)}}}},d7:function(){if(this.bg.count()>1){this.dk()}else{this.eg(!this.isOpen())}},d8:function(a,b,c){if(a==3){if(!c){this.d7()}}else if(b!=null){if(a==1&&this.a4(b)){this.di(b)}else if(b.isEnabled()){this.d9(b)}}},d9:function(a){if(a!=null){a.b7()}},eb:function(a,b,c){this.ek();if(this.b5==null){return}var d=this.az;this.b5=null;this.az=false;this.dg(3);var e=this.aj;var f=this.ah;var g=this.c2(a,true);if(f!=null&&e==2){f.at(false)}var h=c||this.isOpen()||g.a()!=null||f==null||e!=2;this.ef(g.a(),g.b(),true,!h);if(!c){if(this.isOpen()&&e==0&&g.b()==0){var j=this.ae.ab().getEnumerator();while(j.moveNext()){var i=j.current();if(i.a(a)){e=3;break}}}this.d8(e,f,d)}if(!h&&this.ax==null&&this.aj==g.b()&&this.ah==g.a()){this.al().aw()}},ec:function(a){if(!this.isOpen()){return}this.db();var b=this.ah;var c=this.aj;var d=(a&4)==4;var e=this.bg.peek();var f=e.g(b);if(b!=null&&c==2){if(b.ay(!d)){return}}do{switch(c){case 2:if(d){f=e.h(b,false)}c=1;break;case 1:if(!d){f=e.h(b,true)}c=2;break;case 3:case 4:case 0:f=e.h(null,!d);c=d?1:2;break}if(f==null){b=null;c=3;break}b=f.item();if(c==2&&b.isEnabled()){break}if(c==1&&this.a4(b)){break}}while(b!=null);this.ef(b,c,false,false);if(this.ah!=null&&this.aj==2){this.ah.av(!d)}},ee:function(a){var b=this.isOpen()?1:0;var c=b;var d=null;if(this.am!=null){c=b=$$t.$h3.g(this.am.transitionProgress(),0,1)}else if(this.ao!=null){c=$$t.$h3.g(this.ao.transitionProgress(),0,1);c=c<=.5?1-c*2:1-(1-c)*2;var e=a.aj();d=function(){var $ret=new $$t.h1;$ret.j(e);$ret.k(e);$ret.h(a.am().__x);$ret.i(a.am().__y);return $ret}()}this.e1.__opacity=b;this.ey.__opacity=(this.aj==4?.3:1)*c;this.ez.__opacity=this.ey.__opacity;if(!$$t.$dp.e(a.ai(),0)){var f=function(){var $ret=new $$t.fx;$ret.h(a.ai()*180/Math.PI);$ret.i(a.j().width/2);$ret.j(a.j().height/2);return $ret}();if(d==null){d=f}else{var g=new $$t.fy;g.h().add(f);g.h().add(d);d=g}}this.ez.h(d);this.ey.h(this.ez.h());this.e0.__opacity=this.ey.__opacity;$$t.$ci.de(a.i(),this.ge);$$t.$ci.de(a.b(),this.gf);$$t.$ci.de(a.g(),this.gd);$$t.$ci.de(a.h(),this.gc);this.df(0,a.ad(),null);this.df(4,a.ac(),null);this.df(1,a.ae(),a.q());this.df(5,a.ab(),a.q());this.df(2,a.af(),a.q());this.df(3,a.ag(),a.q());this.dc(a);this.dd(a);var h=this.al();h.bb(a.ah());this.ex.__opacity=this.az?.3:1;h.bg(a.am())},ef:function(a,b,c,d){if(b==0||b==4){if(this.al().r()&&!this.a5()){b=3}}if(b!=this.aj||a!=this.ah){var e=this.ah;var f=this.aj;var g=f==3;this.ah=a;this.aj=b;if(b==3&&this.b5!=null&&!this.isOpen()){this.eh()}else if(g){this.ek()}switch(f){case 3:case 1:case 2:{this.em();this.be.add(new $$t.ix(e,f));this.ei();break}}var h=b!=0?this.bz(a,b):-1;if(h>=0){this.be.removeAt(h)}if(g){this.ew()}if(c!=true){this.db()}switch(b){case 4:this.em();break;case 3:this.ew();this.ep();break;case 1:{var i=this.ae.l(a,0);var j=this.ae.l(a,4);if(i!=null){i.d(a.dk());i.e(a.dp())}if(j!=null){j.d(a.dm())}break}case 2:{var k=this.ae.l(a,3);if(k==null){var l=this.ae.c(a);if(l!=null){this.c3(l,this.ae)}}if(null!=k){k.d(a.c6())}var m=this.ae.l(a,1);if(null!=m){m.d(a.da());m.e(a.dc())}}break}if(this.b5!=null&&this.isOpen()){this.az=true;if(g&&this.a1&&a!=null&&this.a4(a)){this.di(a)}}if(g&&this.isOpen()){this.a1=false}if(e!=null&&f==2){e.as(false);e.at(false)}if(a!=null&&b==2){a.as(true);if(this.b5!=null){a.at(true)}}this.c4();if(a!=null&&!this.a3()){this.al().bq(a)}else if(d!=true){this.al().aw()}this.dg(2)}},eh:function(){if(this.isOpen()==false&&this.b5!=null&&this.aj==3){this.ek();this.ay=new $$t.iz(this.d5.runOn(this),2e3)}},ei:function(){if(!this.a2()){if(this.be.count()>0){this.ea(1);this.be.clear()}return}if(this.an==null){this.an=new $$t.h5(0,1,250);var a=this.an;a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.du.runOn(this))}this.an.start();this.an.flush()},ej:function(){this.en();var a=this.menuItemOpenCloseAnimationDuration();if(a>0&&this.a2()){this.ao=new $$t.h5(0,1,a);this.ao.easingFunction(this.menuItemOpenCloseAnimationEasingFunction());var b=this.ao;b.propertyChanged=$.ig.Delegate.prototype.combine(b.propertyChanged,this.d1.runOn(this));this.ao.start();this.ao.flush()}},ek:function(){if(null!=this.ay){this.ay.b();this.ay=null}},el:function(){if(this.am!=null){var a=this.am;a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this.dn.runOn(this));this.am.stop();this.am=null;if(!this.isOpen()){this.al().a1()}if(this.a3()){this.c8()}}},em:function(){if(this.an!=null){var a=this.an.transitionProgress();for(var b=this.be.count()-1;b>=0;b--){var c=this.be.__inner[b];c.f(c.f()+a);if(c.f()>=1){this.be.removeAt(b)}}this.an.stop()}},en:function(){if(this.ao!=null){this.ai=null;var a=this.ao;a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this.d1.runOn(this));this.ao.stop();this.ao=null;var b=this.bg.peek();b.c(null);if(this.a3()){this.c8()}}},ep:function(){var a=this.aj==3&&!this.a3()&&!this.ba();var b=null;var c=null;if(a){b=this.centerButtonHotTrackFill();c=this.centerButtonHotTrackStroke()}else if(!this.isOpen()){b=this.centerButtonClosedFill();c=this.centerButtonClosedStroke()}else{b=this.centerButtonFill();c=this.centerButtonStroke()}this.eq(this.ae.g(),b);this.er(this.ae.g(),c);this.er(this.ae.h(),c);this.al().a4()},eq:function(a,b){a.d(b);this.d3(a)},er:function(a,b){a.e(b);this.d3(a)},es:function(a,b){a.b(b);a.g(null);this.dg(2)},et:function(a){var b=this.al().bu();var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b.aa(c.b);var e=this.al().b6(b);var f=c.e;c.f=$$t.$dw.c($$t.$h3.c(c.e,e,c.c,c.g))}},ev:function(){var a=this.bg.peek().d();var b=null;if(a!=null){b=a.ba()}this.currentOpenMenuItem(b)},ew:function(){this.es(this.ae.h(),this.ba()?this.ae.g().b():0)},closed:null,opened:null,propertyChanged:null,$type:new $.ig.Type("XamRadialMenu",$$t.$bv.$type)},true);$c("CssClassChain$1:g1","Object",{$t:null,f:null,c:null,e:null,d:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.$op.init.call(this);this.f=a;this.e=new $$t.ck($$t.$g1.$type.specialize(this.$t),0);this.d=new $$t.ea(this.$t,$$t.$g2.$type.specialize($$t.$g3.$type,String),0)},a:function(a){var b=new $$t.g1(this.$t,a);b.c=this;this.e.add(b);return b},b:function(a,b,c){this.d.item(a,new $$t.g2($$t.$g3.$type,String,b,c));return this},$type:new $.ig.Type("CssClassChain$1",$.ig.$ot)},true);$c("XamRadialMenuView:f8","Object",{m:false,ag:0,af:0,o:false,_i:null,i:function(a){if(arguments.length===1){this._i=a;return a}else{return this._i}},aj:null,l:null,ak:null,j:null,f:null,w:null,e:null,g:null,a:null,an:null,bz:null,ae:null,b4:null,n:false,k:null,bw:null,staticInit:function(){var a=new $$t.g1($$t.$b0.$type,"ui-radialmenu");a.b($$t.$ci.fontProperty,0,"12px segoe ui,tahoma,arial,sans-serif").a("ui-radialmenu-backing").b($$t.$ci.menuBackgroundProperty,0,"#FFFFFF").c.a("ui-radialmenu-outerring").b($$t.$ci.outerRingFillProperty,0,"#F1DAEA").b($$t.$ci.outerRingStrokeProperty,1,"transparent").b($$t.$ci.outerRingStrokeThicknessProperty,3,"0.0").c.a("ui-radialmenu-centerbutton").b($$t.$ci.centerButtonFillProperty,0,"#FFFFFF").b($$t.$ci.centerButtonStrokeProperty,1,"#80397B").b($$t.$ci.centerButtonStrokeThicknessProperty,3,"1.0").a("ui-radialmenu-centerbutton-hover").b($$t.$ci.centerButtonHotTrackFillProperty,0,"#EFEFEF").b($$t.$ci.centerButtonHotTrackStrokeProperty,1,"#80397B").c.a("ui-radialmenu-centerbutton-closed").b($$t.$ci.centerButtonClosedFillProperty,0,"#FFFFFF").b($$t.$ci.centerButtonClosedStrokeProperty,1,"#80397B");$$t.$f8.c=a;a=new $$t.g1($$t.$b0.$type,null);a.a("ui-radialmenu-item").b($$t.$bu.foregroundProperty,6,"black").a("ui-radialmenu-item-inner").b($$t.$bu.innerAreaFillProperty,0,"transparent").b($$t.$bu.innerAreaStrokeProperty,1,"transparent").b($$t.$bu.innerAreaStrokeThicknessProperty,3,"1.0").a("ui-radialmenu-item-inner-hover").b($$t.$bu.innerAreaHotTrackFillProperty,0,"transparent").b($$t.$bu.innerAreaHotTrackStrokeProperty,1,"transparent").c.c.a("ui-radialmenu-item-outer").b($$t.$bu.outerRingButtonFillProperty,0,"#80397B").b($$t.$bu.outerRingButtonStrokeProperty,1,"transparent").b($$t.$bu.outerRingButtonForegroundProperty,6,"white").b($$t.$bu.outerRingButtonStrokeThicknessProperty,3,"1.0").a("ui-radialmenu-item-outer-hover").b($$t.$bu.outerRingButtonHotTrackFillProperty,0,"#444444").b($$t.$bu.outerRingButtonHotTrackForegroundProperty,6,"white").b($$t.$bu.outerRingButtonHotTrackStrokeProperty,1,"transparent").c.c.a("ui-radialmenu-item-checkarc").b($$t.$bu.checkedHighlightBrushProperty,0,"#A674A2").c.a("ui-radialmenu-item-hoverarc").b($$t.$bu.highlightBrushProperty,0,"#80397B").c.c.a("ui-radialmenu-gauge").a("ui-radialmenu-gauge-pendingneedle").b($$t.$g4.pendingValueNeedleBrushProperty,0,"#D6A9CE").c.a("ui-radialmenu-gauge-valueneedle").b($$t.$g4.valueNeedleBrushProperty,0,"#A26497").c.a("ui-radialmenu-gauge-tick").b($$t.$g4.tickBrushProperty,0,"#AE5A9D").c.a("ui-radialmenu-gauge-track-start").b($$t.$g4.trackStartColorProperty,6,"rgba(200,142,188,0)").c.a("ui-radialmenu-gauge-track-end").b($$t.$g4.trackEndColorProperty,6,"#C88EBC");$$t.$f8.b=a;var b=new $$t.g1($$t.$g3.$type,"ui-radialmenu-tooltip");b.b(1,1,"").b(3,3,"").b(4,4,"").b(2,2,"").b(0,0,"").b(6,6,"").b(5,5,"");$$t.$f8.d=b},init:function(a){this.m=false;this.ag=-1;this.af=-1;this.o=false;this.b4=new $$t.dy;this.k=new $$t.dv(1,0,0,0,0);this.bw=new $$t.dn(0);this.v=new $$t.ea($$t.$bu.$type,$$t.$h6.$type,0);this.y=new $$t.ck($$t.$h6.$type,0);this.h=new $$t.ia;this.z=NaN;$.ig.$op.init.call(this);this.i(a);this.w=new $$t.ea(String,$$t.$d.$type,0);this.f=new $$t.ib($$t.$f8.c);this.e=new $$t.ib($$t.$f8.b);this.g=new $$t.ie($$t.$g3.$type,$$t.$f8.d);$$t.$f8.ah++;this.an="RadialMenuWindow"+$$t.$f8.ah},ao:function(){if(this.o){this.o=false;this.i().eu()}},as:function(){if(this.o){this.ao()}},a7:function(){this.bz=this.b0();this.i().e2().y().add(this.bz);this.ax();this.bs()},bn:function(){if(!this.o){this.o=true;window.setTimeout(this.ao.runOn(this),0)}},ap:function(){this.bh()},bd:function(a){a.__visibility=1},bc:function(a){a.__visibility=0},b1:function(){var a=new $$t.e7;this.i().e3().y().add(a);return a},aq:function(a){var b=$b($$t.$dg.$type,a.u());if(b!=null){b.y().remove(a)}},b3:function(a){var b=new $$t.e7;var c=0;switch(a){case 0:c=200;break;case 4:c=300;break;case 1:c=500;break;case 5:c=600;break;case 2:c=700;break;case 3:c=800;break}this.n=false;b.q(c);this.i().e5().y().add(b);return b},bf:function(a,b){var c=$b($$t.$dg.$type,b.u());if(c!=null){c.y().remove(b)}},b2:function(a){var b=new $$t.e7;var c=this.i().e6();var d=0;switch(a){default:case 0:d=0;break;case 1:d=100;break;case 3:d=900;c=this.i().e2();break;case 2:d=1e3;c=this.i().e2();break}b.q(d);c.y().add(b);return b},be:function(a,b){var c=$b($$t.$dg.$type,b.u());if(c!=null){c.y().remove(b)}},az:function(a){a.__visibility=1},ay:function(a){a.__visibility=0},bv:function(){var a=new $$t.fw;this.i().e3().y().add(a);return a},a0:function(a){var b=$b($$t.$dg.$type,a.u());if(b!=null){b.y().remove(a)}},b0:function(){var a=new $$t.e7;a.z(3);a.k(20);a.j(14);var b=new $$t.dt;var c=new $$t.d7;c.__startPoint={__x:8.5,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};c.__segments.add(new $$t.d6(0,{__x:2,__y:6.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));c.__segments.add(new $$t.d6(0,{__x:8.5,__y:13,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));b.b().add(c);var d=new $$t.d7;d.__startPoint={__x:2,__y:6.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};d.__segments.add(new $$t.d6(0,{__x:20,__y:6.5,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}));b.b().add(d);a.ak(b);a.h(new $$t.h0);return a},u:function(){return true},a8:function(){this.ax()},v:null,y:null,bb:function(a){var $self=this;this.y.clear();for(var b=0,c=a.count();b<c;b++){var d=a.__inner[b];var e=d.item();var f;if(!function(){var g=$self.v.tryGetValue(e,f);f=g.p1;return g.ret}()){f=new $$t.h6(e,this)}else{this.v.remove(e)}f.c=d;this.y.add(f)}var h=this.v.values().getEnumerator();while(h.moveNext()){var g=h.current();g.h()}this.v.clear();var j=this.y.getEnumerator();while(j.moveNext()){var i=j.current();var k=i.item();this.v.item(k,i)}},x:function(){return this.i().items()},bg:function(a){var b=this.bz.h();b.h(a.__x-this.bz.k()/2);b.i(a.__y-this.bz.j()/2)},b5:function(){var a=new $$t.dy(1,this.i().centerButtonContentWidth(),this.i().centerButtonContentHeight());if($.ig.util.isNaN(a.k())){if(!this.b4.a()){a.k(Math.max(28,this.b4.k()))}else{a.k(28)}}if($.ig.util.isNaN(a.j())){if(!this.b4.a()){a.j(Math.max(28,this.b4.j()))}else{a.j(28)}}return a},a9:function(a,b,c){var $self=this;if(!this.m){var d=$$t.$b0.h(a,$$t.$ci.$type);if(null!=d){if(this.f.c().containsKey(d)){var e=this.i().d(d)!=$$t.$b0.c;this.w.item(a,e);if(!e){this.m=true;var f;if(function(){var g=$self.f.c().tryGetValue(d,f);f=g.p1;return g.ret}()){this.i().g(d,f)}this.m=false}}}}switch(a){case"CenterButtonContent":if(this.ae!=null){this.i().e2().y().remove1(this.ae);this.ae=null;this.b4=$$t.$dy.l}if(!String.isNullOrEmpty(c)){this.ae=$$t.$h9.a.d(c,this.a3.runOn(this))}this.ax();break;case"CenterButtonContentHeight":case"CenterButtonContentWidth":this.ax();break}},a3:function(a){var img_=a;this.b4=new $$t.dy(1,img_.width,img_.height);this.i().c7()},ax:function(){var a=this.bz;if(this.i().b1()<2){a.__visibility=1}else{a.__visibility=0}},p:false,ad:null,s:function(a){if(arguments.length===1){if(a!=this.p){this.p=a;if(!a&&this.ad!=null){var b=this.ad;this.ad=null;this.a.aw($(b),this.an)}else if(a&&this.ad==null){this.ad=window;this.a.ad($(this.ad),this.an)}}return a}else{return this.p}},a5:function(a){var $self=this;var b=this.ak;var c=a==null?null:$(a);this.g.g(this.e.g(this.f.g(this.ak=c)));var d=function(e){$self.i().dx($self.bx(e))};var e=function(f){if(!$self.p){$self.i().dy()}};var f=function(g,h,i){$self.i().dz($self.bx(g))};var g=function(h){if(!$self.s()){$self.s(true);$self.i().dw($self.bx(h),$self)}};var h=function(i){if($self.s()){$self.s(false);$self.i().d0($self.bx(i),$self)}};if(this.a!=null){this.s(false);this.a.ae();var i=this.a;i.onMouseEnter=$.ig.Delegate.prototype.remove(i.onMouseEnter,d);var j=this.a;j.onMouseLeave=$.ig.Delegate.prototype.remove(j.onMouseLeave,e);var k=this.a;k.onMouseOver=$.ig.Delegate.prototype.remove(k.onMouseOver,f);var l=this.a;l.onMouseDown=$.ig.Delegate.prototype.remove(l.onMouseDown,g);var m=this.a;m.onMouseUp=$.ig.Delegate.prototype.remove(m.onMouseUp,h)}if(c==null){return}var n=Math.round(c.width());var o=Math.round(c.height());this.ak.css("position","relative");this.ak.css("visibility","hidden");var p=$("<canvas style='position:absolute'></canvas>");this.ak.append(p);this.ag=$.ig.truncate(n);this.af=$.ig.truncate(o);p.attr("width",n.toString());p.attr("height",o.toString());p.css("visibility","visible");this.i().au(new $$t.dv(1,0,0,n,o));this.a=new $$t.ih(p);this.a.ab(this.t.runOn(this));var q=this.a;q.onMouseEnter=$.ig.Delegate.prototype.combine(q.onMouseEnter,d);var r=this.a;r.onMouseLeave=$.ig.Delegate.prototype.combine(r.onMouseLeave,e);var s=this.a;s.onMouseOver=$.ig.Delegate.prototype.combine(s.onMouseOver,f);var t=this.a;t.onMouseDown=$.ig.Delegate.prototype.combine(t.onMouseDown,g);var u=this.a;u.onMouseUp=$.ig.Delegate.prototype.combine(u.onMouseUp,h);this.aj=p;this.a.az($$t.$dw.c(this.i().au()));var v=this.aj[0].getContext("2d");this.l=new $$t.hc(new $$t.hs,v);this.at();this.bt();if(this.i().isOpen()){this.a2()}else{this.a1()}this.bh()},a6:function(){var a=Math.round(this.ak.width());var b=Math.round(this.ak.height());this.i().au(new $$t.dv(1,0,0,a,b))},a2:function(){this.k=this.i().au();this.bw=this.i().af().g().k;this.ba()},a1:function(){var a=this.i().af().g();var b=this.i().centerButtonStrokeThickness()+1;this.bw=a.k;this.k=new $$t.dv(1,Math.floor(this.bw.__x-a.i)-b,Math.floor(this.bw.__y-a.j)-b,Math.ceil((a.i+b)*2),Math.ceil((a.j+b)*2));this.ba()},ba:function(){var a=this.i().au();var b=this.k;if(this.aj!=null){this.aj.attr("width",b.width.toString());this.aj.attr("height",b.height.toString());this.aj.css("left",b.x.toString()+"px");this.aj.css("top",b.y.toString()+"px")}this.a.az(new $$t.dx(0,0,0,b.width,b.height));this.bh()},bh:function(){var a=this.i();var b=this.k;var c=a.af().g();var d=c.k;if((d.__x!=this.bw.__x||d.__y!=this.bw.__y)&&!a.isOpen()){this.a1()}var e=this.l;e.j(0,0,b.width,b.height);if(b.x!=0||b.y!=0){e.y();var f=new $$t.h0;f.h(-b.x);f.i(-b.y);e.i(f)}this.bj(e,a.e6(),true,null,null);if(!this.n){this.n=true;a.e5().y().sort2(this.ai.runOn(this))}this.bj(e,a.e5(),true,null,null);this.bj(e,a.e3(),false,$$t.$h3.s($$t.$bq.u(255,0,0,0)),null);this.bj(e,a.e4(),false,null,this.bk.runOn(this));this.bj(e,a.e2(),false,null,this.bi.runOn(this));if(b.x!=0||b.y!=0){e.x()}},bk:function(a,b){var d=this.y.getEnumerator();while(d.moveNext()){var c=d.current();c.i(a,this.z,b.__opacity)}},bi:function(a,b){if(this.ae!=null&&$$t.$dy.e($l($$t.$dy.$type,this.b4),$l($$t.$dy.$type,null))&&this.bz.__visibility==1){var c=this.i().af().am();var d=this.b4.k();var e=this.b4.j();if(d>0&&e>0){a.l(this.ae,1,c.__x-d/2,c.__y-e/2,d,e)}}},bj:function(a,b,c,d,e){if(b.__opacity>0){if(b.h()!=null){a.y();a.i(b.h())}if(b.__opacity<1){a.ac(b.__opacity)}var g=b.y().getEnumerator();while(g.moveNext()){var f=g.current();if(c||$b($$t.$e7.$type,f)!==null){this.bl(a,f)}else if($b($$t.$il.$type,f)!==null){var h=f;a.l(h,h.__opacity,h.l(),h.m(),h.k(),h.height())}else if($b($$t.$fw.$type,f)!==null){var i=f;if(i.ab()==null){i.ab(d)}a.v(i)}}if(null!=e){e(a,b)}if(b.__opacity<1){a.ac(1)}if(b.h()!=null){a.x()}}},bl:function(a,b){if(b.h()!=null){a.y();a.i(b.h())}a.r(b);if(b.h()!=null){a.x()}},bs:function(){this.m=true;var b=this.f.c().getEnumerator();while(b.moveNext()){var a=b.current();if(!this.w.item(a.key().name())){this.i().g(a.key(),a.value())}}this.m=false},at:function(){this.f.k();this.e.k();this.g.k();this.bs()},br:function(){this.at();this.bt();this.i().c7()},bt:function(){this.j=$$t.$hb.g(this.i().font());if(this.j==null&&this.ak!=null){this.j=$$t.$hb.c(this.ak)}this.z=this.aa(this.j);if(this.l!=null&&this.j!=null){this.l.ab(this.j)}},al:null,bq:function(a){if(!a.isToolTipEnabled()){this.aw();return}var b=this.al;if(b==null){this.al=b=$("<div class='ui-radialmenu-tooltip ui-corner-all'></div>");b.css("position","absolute");b.css("visibility","visible");b.css("white-space","nowrap");b.css("z-index","10000");this.ak.append(b)}b.children().remove();var c=a.bd();if(c!=null){b.append($("<span>"+c.toString()+"</span>"))}this.h.toolTipText(c==null?String.empty():c.toString());this.h.itemName(a.name());this.h.itemType(a.getType().typeName());var d=this.g.c();var e=$b($$t.$im.$type,a);var g=d.getEnumerator();while(g.moveNext()){var f=g.current();if(String.isNullOrEmpty(f.value())){var h=null;var i=null;switch(f.key()){case 0:h="background-color";i=e==null?"white":e.dg().__fill;break;case 5:h="padding";i="8px 11px";break;case 6:h="color";i=e==null?"#666666":e.di().__fill;break;case 1:h="border-color";i="#808080";break;case 3:h="border-width";i="2px";break;case 4:h="border-radius";i="0";break;case 2:h="border-style";i="solid";break}if(h!=null){this.al.css(h,i)}}}var j=this.by(b);b.css("top",j.__y.toString()+"px");b.css("left",j.__x.toString()+"px")},h:null,by:function(a){var container_=this.ak[0];var clientRect_=container_.getBoundingClientRect();var b=new $$t.dv(1,clientRect_.left,clientRect_.top,clientRect_.width,clientRect_.height);var c=new $$t.dv(1,b.x,b.y,b.width,b.height);var docEle_=document.documentElement;var d=new $$t.dv(1,0,0,docEle_.clientWidth,docEle_.clientHeight);if(!this.i().isOpen()){var e=this.b5();b=new $$t.dv(1,b.x+b.width/2-e.k()/2,b.y+b.height/2-e.j()/2,e.k(),e.j());b=$$t.$dp.d(b,this.i().outerRingThickness(),this.i().outerRingThickness())}b=$$t.$dp.d(b,6,6);var f=a.outerWidth();var g=a.outerHeight();var h,i;if(b.y-d.y>=g){i=b.y-c.y-g;h=(b.width-f)/2+b.x-c.x}else if(b.x+b.width+f<=d.x+d.width){h=b.x+b.width-c.x;i=(b.height-g)/2+b.y-c.y}else if(b.x-f>=d.x){h=b.x-c.x-f;i=(b.height-g)/2+b.y-c.y}else{i=b.y+b.height-c.y;h=(b.width-f)/2+b.x-c.x}this.h.relativeLeft(h-c.x);this.h.relativeTop(i-c.y);this.h.width(c.width);this.h.height(c.height);return{__x:h,__y:i,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},aw:function(){if(this.al!=null){var a=this.al;this.al=null;a.remove()}},bm:function(){},r:function(){return false},av:function(){},bp:function(a){},q:function(a){return false},b6:function(a){if($.ig.util.isNaN(this.z)){this.z=this.aa(null)}var b=this.ab(a);var c=this.z;return new $$t.dy(1,b,c)},z:0,aa:function(a){var tempSpan_=$("<span>M</span>");var b=$("body");b.append(tempSpan_);if(a!=null){tempSpan_.css("font",a.f())}var offset_=tempSpan_.attr("offsetHeight");if(isNaN(offset_)){offset_=tempSpan_[0].offsetHeight}tempSpan_.remove();return parseInt(offset_)},ab:function(a){var b=$b($$t.$fw.$type,a);if(b!=null&&b.aa()!=null){return this.l.e(b.aa())+0}return 0},bo:function(a){},au:function(a){},a4:function(){this.bz.__stroke=this.i().af().g().e()},am:function(a){var b=this.e.c();var c;var d=b.tryGetValue(a,c);c=d.p1;return c},bu:function(){return new $$t.fw},ai:function(a,b){var c=a.q();var d=b.q();if(c<d){return-1}else if(c>d){return 1}else{return 0}},ar:function(a){if(this.al!=null){a.itemToolTip(this.h)}},t:function(a){var b=this.i();if(this.s()){return true}return b.a7(this.bx(a))},bx:function(a){if(this.k.x!=0||this.k.y!=0){a={__x:a.__x+this.k.x,__y:a.__y+this.k.y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}return a},$type:new $.ig.Type("XamRadialMenuView",$.ig.$ot)},true);$c("RadialMenuDOMEventProxy:ih","DOMEventProxy",{c5:null,init:function(a){this.c5=null;$$t.$ii.init.call(this,a)},c6:function(){if(this.c5==null){$$t.$ih.c4++;this.c5=".DOMProxyRadialMenu"+$$t.$ih.c4.toString()}return this.c5},c7:function(a,b){a.preventDefault()},ad:function(a,b){if(a==this.bq()){this.bq().bind("contextmenu",this.c7.runOn(this))}$$t.$ii.ad.call(this,a,b)},aw:function(a,b){if(this.bq()!=null&&a==this.bq()){this.bq().unbind("contextmenu")}$$t.$ii.aw.call(this,a,b)},ae:function(){if(this.bq()!=null){this.bq().unbind("contextmenu")}$$t.$ii.ae.call(this)},$type:new $.ig.Type("RadialMenuDOMEventProxy",$$t.$ii.$type)},true);$c("TextContainer:h7","Object",{f:null,a:null,b:null,i:0,init:function(){$.ig.$op.init.call(this)},_j:null,j:function(a){if(arguments.length===1){this._j=a;return a}else{return this._j}},g:function(a){if(arguments.length===1){if(this.f!=a){this.f=a;this.a=null;this.b=null}return a}else{return this.f}},h:function(a,b,c,d){var e=a.f();var f=this.c();if(f!=null){var g=this.e(e.measureText.runOn(e));var h=c;e.fillStyle=this.j().__fill;e.textBaseline="top";for(var i=0,j=f.length;i<j;i++){switch(this.i){case 0:case 3:c=h;break;case 2:c=h-this.b[i];break;case 1:c=h-this.b[i]/2;break}e.fillText(f[i],c,d);d+=b}}},e:function(a){var b=0;var c=this.b;if(c==null){var d=this.c();if(d!=null){this.b=c=new Array(d.length);for(var e=0,f=c.length;e<f;e++){c[e]=a(d[e]).width}}}if(c!=null){for(var g=0,h=c.length;g<h;g++){b+=c[g]}}return b},d:function(a){var b=0;var c=this.c();if(c!=null){b+=c.length*a}return b},c:function(){if(this.a==null){if(this.f!=null){this.a=this.f.split("\n")}}return this.a},$type:new $.ig.Type("TextContainer",$.ig.$ot)},true);$c("ImageManager:h9","Object",{c:null,b:null,init:function(){$.ig.$op.init.call(this);this.c=new $$t.ea(String,$$t.$h8.$type,0);this.b=new $$t.ea($$t.$h8.$type,$$t.$ck.$type.specialize($$t.$cs.$type.specialize($$t.$h8.$type)),0)},d:function(a,b){var $self=this;var c;if(!function(){var d=$self.c.tryGetValue(a,c);c=d.p1;return d.ret}()){var d=$("<img />");c=d[0];c.src=a;if(!c.complete){var self_=this;var ele_=d;ele_.bind("load readystatechange",function(e){if(this.complete||this.readyState=="complete"&&e.type=="readystatechange"){self_.downloadCompleted(this)}})}}if(b!=null){if(c.complete){window.setTimeout(function(){b(c)},0)}else{var e;if(!function(){var f=$self.b.tryGetValue(c,e);e=f.p1;return f.ret}()){this.b.item(c,e=new $$t.ck($$t.$cs.$type.specialize($$t.$h8.$type),0))}e.add(b)}}return c},downloadCompleted:function(a){var $self=this;if(a.complete){var b=$(a);b.unbind("load readystatechange");var c;if(function(){var d=$self.b.tryGetValue(a,c);c=d.p1;return d.ret}()){this.b.remove(a);for(var d=0,e=c.count();d<e;d++){c.__inner[d](a)}}}},$type:new $.ig.Type("ImageManager",$.ig.$ot)},true);$c("RadialMenuItemOverlayTemplates:hr","Object",{staticInit:function(){var a=new $$t.c8;a.measure($$t.$hr.a);a.render($$t.$hr.c);$$t.$hr.e=a;var b=new $$t.c8;b.measure($$t.$hr.a);b.render($$t.$hr.b);$$t.$hr.d=b},a:function(a){if(a.width<20){a.width=20}if(a.height<20){a.height=20}},b:function(a){var b=a.data;var c=b.iconOverlayValue();if($$t.$bq.e($l($$t.$bq.$type,c),$l($$t.$bq.$type,null))&&c.l()>0){var d=new $$t.hc(new $$t.hs,a.context);var e=new $$t.e7;var f=new $$t.ff;f.d(new $$t.dx(0,a.xPosition,a.yPosition+a.availableHeight-5,a.availableWidth,5));e.ak(f);var g=new $$t.ch;g.color(c);e.__fill=g;d.r(e)}},c:function(a){var b=a.data;var c=b.iconOverlayValue();if(c!=null){var d=new $$t.hc(new $$t.hs,a.context);var e=new $$t.fw;e.aa(c.toString());e.ab(b.bb($$t.$bu.foregroundProperty));var f=b.menu().al().b6(e);e.l(a.xPosition+a.availableWidth-f.k()+8);e.m(a.yPosition-8);d.v(e)}},$type:new $.ig.Type("RadialMenuItemOverlayTemplates",$.ig.$ot)},true);$c("RadialMenuItemView:h6","Object",{a:null,d:null,g:null,q:null,e:null,p:null,init:function(a,b){$.ig.$op.init.call(this);this.a=a;this.e=b;if($b($$t.$f5.$type,a)!==null){this.d=new $$t.h7;this.d.i=1;this.d.j(a.bb($$t.$bu.foregroundProperty));this.m();this.n();this.o()}this.f=a.isEnabled();a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.l.runOn(this))},item:function(){return this.a},c:null,f:false,h:function(){var a=this.a;a.propertyChanged=$.ig.Delegate.prototype.remove(a.propertyChanged,this.l.runOn(this))},i:function(a,b,c){var d=this.c.h;var e,f,g;e=f=g=0;if(this.d!=null&&!String.isNullOrEmpty(this.d.g())){e=this.d.d(b)}var h=this.r(a);if($$t.$dy.e($l($$t.$dy.$type,h),$l($$t.$dy.$type,null))){g=h.j()}if($$t.$dx.l_op_Inequality(this.q,null)){f=this.q.height()}var i=e+Math.max(g,f);var j=(g-f)/2;var k=c*(this.f?1:.3);var l=a.f();if(k<1){l.globalAlpha=k}if(f>0){var m=this.q.width();a.m(this.g,1,this.q.x(),this.q.y(),m,f,d.__x-m/2,d.__y-i/2+Math.max(j,0),m,f)}if(g>0){this.j(a,d.__x-h.k()/2,d.__y-i/2-Math.min(j,0),h.k(),h.j())}if(e>0){this.d.h(a,b,d.__x,d.__y-i/2+Math.max(g,f))}if(k<1){l.globalAlpha=1}},j:function(a,b,c,d,e){var f=new $$t.da;f.context=a.f();f.data=this.a;f.xPosition=b;
f.yPosition=c;f.availableWidth=d;f.availableHeight=e;this.p.render()(f)},r:function(a){if(this.p!=null){var b=new $$t.dd;b.context=a.f();b.data=this.a;if($$t.$dx.l_op_Inequality(this.q,null)){b.width=this.q.width();b.height=this.q.height()}if(this.p.measure()!=null){this.p.measure()(b)}return new $$t.dy(1,b.width,b.height)}return $$t.$dy.l},k:function(a){if(a==this.g){var img_=a;this.q=new $$t.dx(0,0,0,img_.width,img_.height);this.e.i().c7()}},l:function(a,b){switch(b.propertyName()){case"Foreground":if(this.d!=null){this.d.j(this.a.bb($$t.$bu.foregroundProperty));this.e.bn()}break;case"IsEnabled":this.f=this.a.isEnabled();this.e.bn();break;case"Header":this.m();break;case"IconUri":this.n();break;case"IconOverlay":this.o();break;case"IconOverlayValue":this.e.bn();break}},m:function(){var a=null;var b=$b($$t.$f5.$type,this.item());if(b!=null){var c=b.header();if(c!=null){a=c.toString()}}this.d.g(a);this.e.bn()},n:function(){var a=this.a.iconUri();if(String.isNullOrEmpty(a)){this.g=null}else{this.g=$$t.$h9.a.d(a,this.k.runOn(this))}this.e.bn()},o:function(){if($b($$t.$f5.$type,this.a)!==null){var a=this.a;if(a.iconOverlay()!=null){this.p=a.iconOverlay()}else{this.p=null}this.e.bn()}},$type:new $.ig.Type("RadialMenuItemView",$.ig.$ot)},true);$c("CssPropCacheBase$2:ic","Object",{$tProp:null,$tValue:null,b:null,e:null,f:null,a:null,d:null,init:function($tProp,$tValue,a,b){this.$tProp=$tProp;this.$tValue=$tValue;this.$type=this.$type.specialize(this.$tProp,this.$tValue);$.ig.$op.init.call(this);this.a=a;this.d=b},g:function(a){if(arguments.length===1){this.e=a;this.b=null;if(null!=this.f){this.f.remove()}return a}else{return this.e}},c:function(){if(this.b==null){this.k()}return this.b},k:function(){if(this.f==null&&this.e!=null){this.f=$$t.$id.g();var a=this.e;a.append(this.f)}var b=new $$t.ea(this.$tProp,String,0);this.j(this.a,b);var c=new $$t.ea(this.$tProp,this.$tValue,0);this.i(this.a,c,b);this.b=c;if(this.f!=null){this.f.remove();this.f=null}},i:function(a,b,c){if(this.f!=null){this.f.addClass(a.f)}var e=a.d.getEnumerator();while(e.moveNext()){var d=e.current();var f=d.key();var g=this.h(this.f,d.value().a());if(g==null||g.length==0||g==c.item(f)){g=d.value().b()}var h=this.d(f,g);b.item(f,h)}for(var i=0,j=a.e.count();i<j;i++){this.i(a.e.__inner[i],b,c)}if(this.f!=null){this.f.removeClass(a.f)}},h:function(a,b){var c=null;var d=null;if(a!=null){switch(b){case 0:c="background-color";break;case 1:c="border-top-color";break;case 2:c="border-top-style";break;case 3:c="border-top-width";break;case 4:c="border-top-left-radius";break;case 6:c="color";break;case 5:c="padding-top";break;default:return null}if(c!=null){d=a.css(c)}}return d},j:function(a,b){var d=a.d.getEnumerator();while(d.moveNext()){var c=d.current();b.item(c.key(),this.h(this.f,c.value().a()))}for(var e=0,f=a.e.count();e<f;e++){this.j(a.e.__inner[e],b)}},$type:new $.ig.Type("CssPropCacheBase$2",$.ig.$ot)},true);$c("CssPropCache$1:ie","CssPropCacheBase$2",{$tPropertyId:null,init:function($tPropertyId,a){this.$tPropertyId=$tPropertyId;this.$type=this.$type.specialize(this.$tPropertyId);$$t.$ic.init.call(this,this.$tPropertyId,String,a,$$t.$ie.l)},l:function($tPropertyId,a,b){return b},$type:new $.ig.Type("CssPropCache$1",$$t.$ic.$type.specialize(0,1))},true);$c("CssDpCache:ib","CssPropCacheBase$2",{init:function(a){$$t.$ic.init.call(this,$$t.$b0.$type,$.ig.$op.$type,a,$$t.$ib.l)},l:function(a,b){var c=null;if(b!=null){var propType_=a.propertyType();if(propType_==$$t.$ch.$type){var d=new $$t.ch;d.__fill=b;c=d}else if(propType_===Number){c=parseInt(b,10)}else if(propType_==$$t.$bq.$type){var e=new $$t.bq;e.colorString(b);c=e}}return c},$type:new $.ig.Type("CssDpCache",$$t.$ic.$type.specialize($$t.$b0.$type,$.ig.$op.$type))},true);$c("BindingExpression:i7","Object",{a:null,c:null,d:null,init:function(a,b,c,d){$.ig.$op.init.call(this);this.c=c;this.d=d;var e=b.split(".");this.a=new Array(e.length);for(var f=0;f<e.length;f++){this.a[f]=new $$t.i8(e[f]);if(f>0){this.a[f-1].childStep(this.a[f])}}var g=this.a[this.a.length-1];g.propertyChanged=$.ig.Delegate.prototype.combine(g.propertyChanged,this.b.runOn(this));this.a[0].source(a)},b:function(a,b){if(b.propertyName()=="Value"){var c=this.a[this.a.length-1].value();if(c==$$t.$b0.c){this.c.e(this.d)}else{this.c.g(this.d,c)}}},$type:new $.ig.Type("BindingExpression",$.ig.$ot)},true);$c("PropertyStep:i8","Object",{g:null,c:null,d:null,a:null,init:function(a){$.ig.$op.init.call(this);this.g=a},childStep:function(a){if(arguments.length===1){if(this.a!=a){if(this.a!=null){this.a.source(null)}this.a=a;if(this.a!=null){this.a.source(this.value())}}return a}else{return this.a}},source:function(a){if(arguments.length===1){if(this.c!=a){if($b($$t.$ce.$type,this.c)!==null){var b=this.c;b.propertyChanged=$.ig.Delegate.prototype.remove(b.propertyChanged,this.i.runOn(this))}this.c=a;if($b($$t.$ce.$type,a)!==null){var c=a;c.propertyChanged=$.ig.Delegate.prototype.combine(c.propertyChanged,this.i.runOn(this))}this.h("Source");this.j()}return a}else{return this.c}},value:function(a){if(arguments.length===1){if(this.d!=a){this.d=a;if(this.a!=null){this.a.source(a)}this.h("Value")}return a}else{return this.d}},h:function(a){var b=this.propertyChanged;if(null!=b){b(this,new $$t.cg(a))}},i:function(a,b){if(String.isNullOrEmpty(b.propertyName())||b.propertyName()==this.g||b.propertyName().length==this.g.length&&b.propertyName().toLowerCase()==this.g.toLowerCase()){this.j()}},j:function(){if(this.c==null){this.value($$t.$b0.c)}else if(String.isNullOrEmpty(this.g)){this.value(this.c)}else{var src_=this.c;var path_=this.g;this.value(src_[path_]())}},propertyChanged:null,$type:new $.ig.Type("PropertyStep",$.ig.$ot,[$$t.$ce.$type])},true);$$t.$g3.backgroundColor=0;$$t.$g3.borderTopColor=1;$$t.$g3.borderTopStyle=2;$$t.$g3.borderTopWidth=3;$$t.$g3.borderTopLeftRadius=4;$$t.$g3.paddingTop=5;$$t.$g3.color=6;$$t.$bl.none=0;$$t.$bl.checkBox=1;$$t.$bl.radioButton=2;$$t.$bl.radioButtonAllowAllUp=3;$$t.$bk.asChildren=0;$$t.$bk.asSiblingsWhenChecked=1;$$t.$bk.none=2;$$t.$bj.none=0;$$t.$bj.toolAreaClick=1;$$t.$bj.navigateToChildren=2;$$t.$bi.none=0;$$t.$bi.expandCollapse=1;$$t.$bi.navigateMenu=2;$$t.$bi.navigateToChildColor=3;$$t.$bi.navigateToParentColor=4;$$t.$bh.none=0;$$t.$bh.outerRingButton=1;$$t.$bh.toolArea=2;$$t.$bh.centerButton=3;$$t.$bh.disabledMenu=4;$$t.$bg.menu=0;$$t.$bg.outerRing=1;$$t.$bg.innerRingFocus=2;$$t.$bg.innerRing=3;$$t.$bf.outerRing=0;$$t.$bf.toolArea=1;$$t.$bf.toolCheckmark=2;$$t.$bf.toolHighlight=3;$$t.$bf.outerRingArrow=4;$$t.$bf.colorWellPreview=5;$$t.$be.none=0;$$t.$be.invalidateCustomVisuals=1;$$t.$be.renderFrame=2;$$t.$be.prepareFrame=3;$$t.$bd.noChange=0;$$t.$bd.updateShapes=1;$$t.$bd.updateTextElements=2;$$t.$bu.bg="DirtyCustomVisuals";$$t.$bu.bp="InvalidateCustomVisuals";$$t.$bu.be="AutoRotateChildren";$$t.$bu.bf="CheckedHighlightBrush";$$t.$bu.bi="Foreground";$$t.$bu.bj="HighlightBrush";$$t.$bu.bk="InnerAreaFill";$$t.$bu.bl="InnerAreaHotTrackFill";$$t.$bu.bm="InnerAreaHotTrackStroke";$$t.$bu.bn="InnerAreaStroke";$$t.$bu.bo="InnerAreaStrokeThickness";$$t.$bu.bq="IsEnabled";$$t.$bu.br="IsToolTipEnabled";$$t.$bu.bs="Menu";$$t.$bu.bv="OuterRingButtonHotTrackFill";$$t.$bu.bw="OuterRingButtonHotTrackForeground";$$t.$bu.bx="OuterRingButtonHotTrackStroke";$$t.$bu.bt="OuterRingButtonFill";$$t.$bu.bu="OuterRingButtonForeground";$$t.$bu.by="OuterRingButtonStroke";$$t.$bu.bz="OuterRingButtonStrokeThickness";$$t.$bu.b1="ParentItem";$$t.$bu.b2="ToolTip";$$t.$bu.b5="WedgeIndex";$$t.$bu.b6="WedgeSpan";$$t.$bu.bh="DisplayAsChecked";$$t.$bu.b0="OuterRingButtonType";$$t.$bu.b3="ToolTipResolved";$$t.$bu.b4="VisibilityProxy";$$t.$bu.autoRotateChildrenProperty=$$t.$b0.i("AutoRotateChildren",$$t.$d.$type,$$t.$bu.$type,new $$t.b1(2,true,function(a,b){a.cc("AutoRotateChildren",b.d(),b.c())}));$$t.$bu.checkedHighlightBrushProperty=$$t.$b0.i("CheckedHighlightBrush",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("CheckedHighlightBrush",b.d(),b.c())}));$$t.$bu.foregroundProperty=$$t.$b0.i("Foreground",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cb("Foreground",b.d(),b.c())}));$$t.$bu.highlightBrushProperty=$$t.$b0.i("HighlightBrush",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("HighlightBrush",b.d(),b.c())}));$$t.$bu.innerAreaFillProperty=$$t.$b0.i("InnerAreaFill",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("InnerAreaFill",b.d(),b.c())}));$$t.$bu.innerAreaHotTrackFillProperty=$$t.$b0.i("InnerAreaHotTrackFill",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("InnerAreaHotTrackFill",b.d(),b.c())}));$$t.$bu.innerAreaHotTrackStrokeProperty=$$t.$b0.i("InnerAreaHotTrackStroke",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("InnerAreaHotTrackStroke",b.d(),b.c())}));$$t.$bu.innerAreaStrokeProperty=$$t.$b0.i("InnerAreaStroke",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("InnerAreaStroke",b.d(),b.c())}));$$t.$bu.innerAreaStrokeThicknessProperty=$$t.$b0.i("InnerAreaStrokeThickness",Number,$$t.$bu.$type,new $$t.b1(2,1,function(a,b){a.cc("InnerAreaStrokeThickness",b.d(),b.c())}));$$t.$bu.isEnabledProperty=$$t.$b0.i("IsEnabled",$$t.$d.$type,$$t.$bu.$type,new $$t.b1(2,true,function(a,b){a.cc("IsEnabled",b.d(),b.c())}));$$t.$bu.isToolTipEnabledProperty=$$t.$b0.i("IsToolTipEnabled",$$t.$d.$type,$$t.$bu.$type,new $$t.b1(2,true,function(a,b){a.cc("IsToolTipEnabled",b.d(),b.c())}));$$t.$bu.menuProperty=$$t.$b0.i("Menu",$$t.$ci.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("Menu",b.d(),b.c())}));$$t.$bu.outerRingButtonHotTrackFillProperty=$$t.$b0.i("OuterRingButtonHotTrackFill",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("OuterRingButtonHotTrackFill",b.d(),b.c())}));$$t.$bu.outerRingButtonHotTrackForegroundProperty=$$t.$b0.i("OuterRingButtonHotTrackForeground",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("OuterRingButtonHotTrackForeground",b.d(),b.c())}));$$t.$bu.outerRingButtonHotTrackStrokeProperty=$$t.$b0.i("OuterRingButtonHotTrackStroke",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("OuterRingButtonHotTrackStroke",b.d(),b.c())}));$$t.$bu.outerRingButtonFillProperty=$$t.$b0.i("OuterRingButtonFill",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("OuterRingButtonFill",b.d(),b.c())}));$$t.$bu.outerRingButtonForegroundProperty=$$t.$b0.i("OuterRingButtonForeground",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("OuterRingButtonForeground",b.d(),b.c())}));$$t.$bu.outerRingButtonStrokeProperty=$$t.$b0.i("OuterRingButtonStroke",$$t.$ch.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("OuterRingButtonStroke",b.d(),b.c())}));$$t.$bu.outerRingButtonStrokeThicknessProperty=$$t.$b0.i("OuterRingButtonStrokeThickness",Number,$$t.$bu.$type,new $$t.b1(2,1,function(a,b){a.cc("OuterRingButtonStrokeThickness",b.d(),b.c())}));$$t.$bu.parentItemProperty=$$t.$b0.i("ParentItem",$$t.$bu.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("ParentItem",b.d(),b.c())}));$$t.$bu.toolTipProperty=$$t.$b0.i("ToolTip",$.ig.$op.$type,$$t.$bu.$type,new $$t.b1(2,null,function(a,b){a.cc("ToolTipResolved",null,null)}));$$t.$bu.wedgeIndexProperty=$$t.$b0.i("WedgeIndex",$.ig.Number.prototype.$type,$$t.$bu.$type,new $$t.b1(2,-1,function(a,b){a.cc("WedgeIndex",b.d(),b.c())}));$$t.$bu.wedgeSpanProperty=$$t.$b0.i("WedgeSpan",$.ig.Number.prototype.$type,$$t.$bu.$type,new $$t.b1(2,1,function(a,b){if($g(b.c())<=0){throw new $$t.i4(1,"WedgeSpan")}a.cc("WedgeSpan",b.d(),b.c())}));$$t.$bu.cz=$$t.$b0.i("VisibilityProxy",$$t.$b9.$type,$$t.$bu.$type,new $$t.b1(2,$$t.$b9.getBox(0),function(a,b){a.cc("VisibilityProxy",b.d(),b.c())}));if($$t.$bu.staticInit&&!$$t.$bu.radialMenuItemBaseStaticInitCalled){$$t.$bu.staticInit();$$t.$bu.radialMenuItemBaseStaticInitCalled=true}$$t.$f5.d9="AutoUpdateRecentItem";$$t.$f5.eb="ChildItemPlacement";$$t.$f5.ea="CheckBehavior";$$t.$f5.ej="IsChecked";$$t.$f5.ed="GroupName";$$t.$f5.ee="Header";$$t.$f5.ei="IconUri";$$t.$f5.ef="IconOverlay";$$t.$f5.eg="IconOverlayValue";$$t.$f5.el="KeyTip";$$t.$f5.en="RecentItem";$$t.$f5.em="RecentItemContainer";$$t.$f5.autoUpdateRecentItemProperty=$$t.$b0.i("AutoUpdateRecentItem",$$t.$d.$type,$$t.$f5.$type,new $$t.b1(2,true,function(a,b){a.cc("AutoUpdateRecentItem",b.d(),b.c())}));$$t.$f5.childItemPlacementProperty=$$t.$b0.i("ChildItemPlacement",$$t.$bk.$type,$$t.$f5.$type,new $$t.b1(2,$$t.$bk.getBox(0),function(a,b){a.cc("ChildItemPlacement",b.d(),b.c())}));$$t.$f5.checkBehaviorProperty=$$t.$b0.i("CheckBehavior",$$t.$bl.$type,$$t.$f5.$type,new $$t.b1(2,$$t.$bl.getBox(0),function(a,b){a.cc("CheckBehavior",b.d(),b.c())}));$$t.$f5.isCheckedProperty=$$t.$b0.i("IsChecked",$$t.$d.$type,$$t.$f5.$type,new $$t.b1(2,false,function(a,b){a.cc("IsChecked",b.d(),b.c())}));$$t.$f5.groupNameProperty=$$t.$b0.i("GroupName",String,$$t.$f5.$type,new $$t.b1(2,null,function(a,b){a.cc("GroupName",b.d(),b.c())}));$$t.$f5.headerProperty=$$t.$b0.i("Header",$.ig.$op.$type,$$t.$f5.$type,new $$t.b1(2,null,function(a,b){a.cc("Header",b.d(),b.c())}));$$t.$f5.iconUriProperty=$$t.$b0.i("IconUri",String,$$t.$f5.$type,new $$t.b1(2,null,function(a,b){a.cb("IconUri",b.d(),b.c())}));$$t.$f5.iconOverlayProperty=$$t.$b0.i("IconOverlay",$$t.$c8.$type,$$t.$f5.$type,new $$t.b1(2,null,function(a,b){a.cc("IconOverlay",b.d(),b.c())}));$$t.$f5.iconOverlayValueProperty=$$t.$b0.i("IconOverlayValue",$.ig.$op.$type,$$t.$f5.$type,new $$t.b1(2,null,function(a,b){a.cc("IconOverlayValue",b.d(),b.c())}));$$t.$f5.keyTipProperty=$$t.$b0.i("KeyTip",String,$$t.$f5.$type,new $$t.b1(2,null,function(a,b){a.cc("KeyTip",b.d(),b.c())}));$$t.$f5.recentItemProperty=$$t.$b0.i("RecentItem",$.ig.$op.$type,$$t.$f5.$type,new $$t.b1(2,null,function(a,b){a.cc("RecentItem",b.d(),b.c())}));$$t.$f5.recentItemContainerProperty=$$t.$b0.i("RecentItemContainer",$.ig.$op.$type,$$t.$f5.$type,new $$t.b1(2,null,$$t.$f5.er));if($$t.$f5.staticInit&&!$$t.$f5.radialMenuItemStaticInitCalled){$$t.$f5.staticInit();$$t.$f5.radialMenuItemStaticInitCalled=true}$$t.$io.fa="Color";$$t.$io.fc="ComputedColorName";$$t.$io.colorProperty=$$t.$b0.i("Color",$$t.$bq.$type,$$t.$io.$type,new $$t.b1(2,$$t.$bq.u(0,0,0,0),function(a,b){a.cc("Color",b.d(),b.c())}));$$t.$io.computedColorNameProperty=$$t.$b0.i("ComputedColorName",String,$$t.$io.$type,new $$t.b1(2,null,function(a,b){a.cc("ComputedColorName",b.d(),b.c())}));$$t.$g4.d9="PendingValue";$$t.$g4.d8="PendingValueNeedleBrush";$$t.$g4.ea="ReserveFirstSlice";$$t.$g4.eb="SmallIncrement";$$t.$g4.ec="TickBrush";$$t.$g4.ed="Ticks";$$t.$g4.ef="TrackStartColor";$$t.$g4.ee="TrackEndColor";$$t.$g4.eh="Value";$$t.$g4.eg="ValueNeedleBrush";$$t.$g4.pendingValueProperty=$$t.$b0.i("PendingValue",Number,$$t.$g4.$type,new $$t.b1(2,NaN,function(a,b){var c=a;c.cc("PendingValue",b.d(),b.c());var d=c.pendingValueChanged;if(null!=d){d(c,new $$t.bo(b.d(),b.c()))}}));$$t.$g4.pendingValueNeedleBrushProperty=$$t.$b0.i("PendingValueNeedleBrush",$$t.$ch.$type,$$t.$g4.$type,new $$t.b1(2,null,function(a,b){a.cc("PendingValueNeedleBrush",b.d(),b.c())}));$$t.$g4.reserveFirstSliceProperty=$$t.$b0.i("ReserveFirstSlice",$$t.$d.$type,$$t.$g4.$type,new $$t.b1(2,true,function(a,b){a.cc("ReserveFirstSlice",b.d(),b.c())}));$$t.$g4.smallIncrementProperty=$$t.$b0.i("SmallIncrement",Number,$$t.$g4.$type,new $$t.b1(2,1,function(a,b){a.cc("SmallIncrement",b.d(),b.c())}));$$t.$g4.tickBrushProperty=$$t.$b0.i("TickBrush",$$t.$ch.$type,$$t.$g4.$type,new $$t.b1(2,null,function(a,b){a.cc("TickBrush",b.d(),b.c())}));$$t.$g4.ticksProperty=$$t.$b0.i("Ticks",$$t.$e9.$type,$$t.$g4.$type,new $$t.b1(2,null,function(a,b){a.cc("Ticks",b.d(),b.c())}));$$t.$g4.trackStartColorProperty=$$t.$b0.i("TrackStartColor",$$t.$bq.$type,$$t.$g4.$type,new $$t.b1(2,$$t.$bq.u(0,0,0,0),function(a,b){a.cc("TrackStartColor",b.d(),b.c())}));$$t.$g4.trackEndColorProperty=$$t.$b0.i("TrackEndColor",$$t.$bq.$type,$$t.$g4.$type,new $$t.b1(2,$$t.$bq.u(255,0,0,0),function(a,b){a.cc("TrackEndColor",b.d(),b.c())}));$$t.$g4.valueProperty=$$t.$b0.i("Value",Number,$$t.$g4.$type,new $$t.b1(2,NaN,function(a,b){var c=a;c.cc("Value",b.d(),b.c());var d=c.valueChanged;if(null!=d){d(c,new $$t.bo(b.d(),b.c()))}}));$$t.$g4.valueNeedleBrushProperty=$$t.$b0.i("ValueNeedleBrush",$$t.$ch.$type,$$t.$g4.$type,new $$t.b1(2,null,function(a,b){a.cc("ValueNeedleBrush",b.d(),b.c())}));if($$t.$g4.staticInit&&!$$t.$g4.radialMenuNumericGaugeStaticInitCalled){$$t.$g4.staticInit();$$t.$g4.radialMenuNumericGaugeStaticInitCalled=true}$$t.$hq.fb="Value";$$t.$hq.valueProperty=$$t.$b0.i("Value",Number,$$t.$hq.$type,new $$t.b1(2,NaN,function(a,b){var c=a;c.cc("Value",b.d(),b.c());var d=c.valueChanged;if(null!=d){d(c,new $$t.bo(b.d(),b.c()))}}));if($$t.$hq.staticInit&&!$$t.$hq.radialMenuNumericItemStaticInitCalled){$$t.$hq.staticInit();$$t.$hq.radialMenuNumericItemStaticInitCalled=true}$$t.$h3.i=0;$$t.$h3.l=100;$$t.$h3.n=200;$$t.$h3.o=300;$$t.$h3.p=500;$$t.$h3.m=600;$$t.$h3.q=700;$$t.$h3.r=800;$$t.$h3.j=900;$$t.$h3.k=1e3;$$t.$h3.h=1100;$$t.$h3.y=function(){var $ret=new $$t.bq;$ret.colorString("transparent");return $ret}();$$t.$h3.v=function(){var $ret=new $$t.bq;$ret.colorString("black");return $ret}();$$t.$h3.z=function(){var $ret=new $$t.bq;$ret.colorString("white");return $ret}();$$t.$h3.t=function(){var $ret=new $$t.ch;$ret.color($$t.$h3.y);return $ret}();$$t.$h3.a=null;if($$t.$h3.staticInit&&!$$t.$h3.radialMenuUtilitiesStaticInitCalled){$$t.$h3.staticInit();$$t.$h3.radialMenuUtilitiesStaticInitCalled=true}$$t.$dp.o=Math.PI*2;$$t.$dp.m=Math.sqrt(2);$$t.$ci.bm=5;$$t.$ci.bw=5;$$t.$ci.bq=2;$$t.$ci.bv=Math.PI/180*.5;$$t.$ci.bp=-1;$$t.$ci.bo=.3;$$t.$ci.b0=250;$$t.$ci.by=1e3;$$t.$ci.cc="CenterButtonContentWidth";$$t.$ci.ca="CenterButtonContentHeight";$$t.$ci.b8="CenterButtonClosedFill";$$t.$ci.b9="CenterButtonClosedStroke";$$t.$ci.cd="CenterButtonFill";$$t.$ci.ce="CenterButtonHotTrackFill";$$t.$ci.cf="CenterButtonHotTrackStroke";$$t.$ci.cb="CenterButtonContent";$$t.$ci.ch="CenterButtonKeyTip";$$t.$ci.ci="CenterButtonStroke";$$t.$ci.cj="CenterButtonStrokeThickness";$$t.$ci.ck="CurrentOpenMenuItem";$$t.$ci.cm="Font";$$t.$ci.cn="IsOpen";$$t.$ci.co="KeyTipTemplate";$$t.$ci.cp="MenuBackground";$$t.$ci.cq="MenuItemOpenCloseAnimationDuration";$$t.$ci.cr="MenuItemOpenCloseAnimationEasingFunction";$$t.$ci.cs="MenuOpenCloseAnimationDuration";$$t.$ci.ct="MenuOpenCloseAnimationEasingFunction";$$t.$ci.cu="MinWedgeCount";$$t.$ci.cv="OuterRingFill";$$t.$ci.cy="OuterRingThickness";$$t.$ci.cw="OuterRingStroke";$$t.$ci.cx="OuterRingStrokeThickness";$$t.$ci.c0="RotationInDegrees";$$t.$ci.cz="RotationAsPercentageOfWedge";$$t.$ci.c1="WedgePaddingInDegrees";$$t.$ci.centerButtonContentWidthProperty=$$t.$b0.i("CenterButtonContentWidth",Number,$$t.$ci.$type,new $$t.b1(2,28,function(a,b){a.d2("CenterButtonContentWidth",b.d(),b.c())}));$$t.$ci.centerButtonContentHeightProperty=$$t.$b0.i("CenterButtonContentHeight",Number,$$t.$ci.$type,new $$t.b1(2,28,function(a,b){a.d2("CenterButtonContentHeight",b.d(),b.c())}));$$t.$ci.centerButtonClosedFillProperty=$$t.$b0.i("CenterButtonClosedFill",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CenterButtonClosedFill",b.d(),b.c())}));$$t.$ci.centerButtonClosedStrokeProperty=$$t.$b0.i("CenterButtonClosedStroke",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CenterButtonClosedStroke",b.d(),b.c())}));$$t.$ci.centerButtonFillProperty=$$t.$b0.i("CenterButtonFill",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CenterButtonFill",b.d(),b.c())}));$$t.$ci.centerButtonHotTrackFillProperty=$$t.$b0.i("CenterButtonHotTrackFill",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CenterButtonHotTrackFill",b.d(),b.c())}));$$t.$ci.centerButtonHotTrackStrokeProperty=$$t.$b0.i("CenterButtonHotTrackStroke",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CenterButtonHotTrackStroke",b.d(),b.c())}));$$t.$ci.centerButtonContentProperty=$$t.$b0.i("CenterButtonContent",$.ig.$op.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CenterButtonContent",b.d(),b.c())}));$$t.$ci.centerButtonKeyTipProperty=$$t.$b0.i("CenterButtonKeyTip",String,$$t.$ci.$type,new $$t.b1(2,"0",function(a,b){a.d2("CenterButtonKeyTip",b.d(),b.c())}));$$t.$ci.centerButtonStrokeProperty=$$t.$b0.i("CenterButtonStroke",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CenterButtonStroke",b.d(),b.c())}));$$t.$ci.centerButtonStrokeThicknessProperty=$$t.$b0.i("CenterButtonStrokeThickness",Number,$$t.$ci.$type,new $$t.b1(2,0,function(a,b){a.d2("CenterButtonStrokeThickness",b.d(),b.c())}));$$t.$ci.currentOpenMenuItemProperty=$$t.$b0.i("CurrentOpenMenuItem",$.ig.$op.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("CurrentOpenMenuItem",b.d(),b.c())}));$$t.$ci.fontProperty=$$t.$b0.i("Font",String,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("Font",b.d(),b.c())}));$$t.$ci.isOpenProperty=$$t.$b0.i("IsOpen",$$t.$d.$type,$$t.$ci.$type,new $$t.b1(2,false,function(a,b){a.d2("IsOpen",b.d(),b.c())}));$$t.$ci.keyTipTemplateProperty=$$t.$b0.i("KeyTipTemplate",$$t.$c8.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("KeyTipTemplate",b.d(),b.c())}));$$t.$ci.menuBackgroundProperty=$$t.$b0.i("MenuBackground",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("MenuBackground",b.d(),b.c())}));$$t.$ci.menuItemOpenCloseAnimationDurationProperty=$$t.$b0.i("MenuItemOpenCloseAnimationDuration",$.ig.Number.prototype.$type,$$t.$ci.$type,new $$t.b1(2,250,function(a,b){a.d2("MenuItemOpenCloseAnimationDuration",b.d(),b.c())}));$$t.$ci.menuItemOpenCloseAnimationEasingFunctionProperty=$$t.$b0.i($$t.$ci.cr,$$t.$ed.$type.specialize(Number,Number),$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2($$t.$ci.cr,b.d(),b.c())}));$$t.$ci.menuOpenCloseAnimationDurationProperty=$$t.$b0.i("MenuOpenCloseAnimationDuration",$.ig.Number.prototype.$type,$$t.$ci.$type,new $$t.b1(2,250,function(a,b){a.d2("MenuOpenCloseAnimationDuration",b.d(),b.c())}));$$t.$ci.menuOpenCloseAnimationEasingFunctionProperty=$$t.$b0.i("MenuOpenCloseAnimationEasingFunction",$$t.$ed.$type.specialize(Number,Number),$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("MenuOpenCloseAnimationEasingFunction",b.d(),b.c())}));$$t.$ci.minWedgeCountProperty=$$t.$b0.i("MinWedgeCount",$.ig.Number.prototype.$type,$$t.$ci.$type,new $$t.b1(2,8,function(a,b){a.d2("MinWedgeCount",b.d(),b.c())}));$$t.$ci.outerRingFillProperty=$$t.$b0.i("OuterRingFill",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("OuterRingFill",b.d(),b.c())}));$$t.$ci.outerRingThicknessProperty=$$t.$b0.i("OuterRingThickness",Number,$$t.$ci.$type,new $$t.b1(2,26,function(a,b){a.d2("OuterRingThickness",b.d(),b.c())}));$$t.$ci.outerRingStrokeProperty=$$t.$b0.i("OuterRingStroke",$$t.$ch.$type,$$t.$ci.$type,new $$t.b1(2,null,function(a,b){a.d2("OuterRingStroke",b.d(),b.c())}));$$t.$ci.outerRingStrokeThicknessProperty=$$t.$b0.i("OuterRingStrokeThickness",Number,$$t.$ci.$type,new $$t.b1(2,0,function(a,b){a.d2("OuterRingStrokeThickness",b.d(),b.c())}));$$t.$ci.rotationInDegreesProperty=$$t.$b0.i("RotationInDegrees",Number,$$t.$ci.$type,new $$t.b1(2,-90,function(a,b){a.d2("RotationInDegrees",b.d(),b.c())}));$$t.$ci.rotationAsPercentageOfWedgeProperty=$$t.$b0.i("RotationAsPercentageOfWedge",Number,$$t.$ci.$type,new $$t.b1(2,-.5,function(a,b){a.d2("RotationAsPercentageOfWedge",b.d(),b.c())}));$$t.$ci.wedgePaddingInDegreesProperty=$$t.$b0.i("WedgePaddingInDegrees",Number,$$t.$ci.$type,new $$t.b1(2,0,function(a,b){a.d2("WedgePaddingInDegrees",b.d(),b.c())}));if($$t.$ci.staticInit&&!$$t.$ci.xamRadialMenuStaticInitCalled){$$t.$ci.staticInit();$$t.$ci.xamRadialMenuStaticInitCalled=true}$$t.$f8.ac=0;$$t.$f8.c=null;$$t.$f8.b=null;$$t.$f8.d=null;$$t.$f8.ah=0;if($$t.$f8.staticInit&&!$$t.$f8.xamRadialMenuViewStaticInitCalled){$$t.$f8.staticInit();$$t.$f8.xamRadialMenuViewStaticInitCalled=true}$$t.$ih.c4=0;$$t.$h9.a=new $$t.h9;$$t.$hr.e=null;$$t.$hr.d=null;if($$t.$hr.staticInit&&!$$t.$hr.radialMenuItemOverlayTemplatesStaticInitCalled){$$t.$hr.staticInit();$$t.$hr.radialMenuItemOverlayTemplatesStaticInitCalled=true}})(jQuery);