igniteui-webcomponents-layouts 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +7393 -6728
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ComboEditorBridge.js +6 -6
- package/esm2015/lib/ComboEditorView_combined.js +32 -32
- package/esm2015/lib/ListPanelContentRebindEventArgs.js +26 -0
- package/esm2015/lib/ListPanelContentRecycledEventArgs.js +26 -0
- package/esm2015/lib/ListPanelScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/ListPanelView_combined.js +1267 -1233
- package/esm2015/lib/NativeUILayoutFactory_combined.js +5036 -4716
- package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm2015/lib/igc-list-panel-component.js +144 -86
- package/esm2015/lib/igc-list-panel-content-rebind-event-args.js +42 -0
- package/esm2015/lib/igc-list-panel-content-recycled-event-args.js +42 -0
- package/esm2015/lib/igc-tool-action-button-component.js +6 -6
- package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
- package/esm2015/lib/igc-tool-action-component.js +162 -165
- package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -37
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
- package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
- package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm2015/lib/igc-tool-panel-component.js +277 -256
- package/esm2015/lib/igc-toolbar-component.js +180 -159
- package/esm2015/public_api.js +4 -0
- package/esm5/lib/ComboEditorBridge.js +6 -6
- package/esm5/lib/ComboEditorView_combined.js +32 -32
- package/esm5/lib/ListPanelContentRebindEventArgs.js +32 -0
- package/esm5/lib/ListPanelContentRecycledEventArgs.js +32 -0
- package/esm5/lib/ListPanelScrollerKeyboardListener.js +15 -15
- package/esm5/lib/ListPanelView_combined.js +1254 -1216
- package/esm5/lib/NativeUILayoutFactory_combined.js +4882 -4534
- package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm5/lib/igc-list-panel-component.js +154 -86
- package/esm5/lib/igc-list-panel-content-rebind-event-args.js +52 -0
- package/esm5/lib/igc-list-panel-content-recycled-event-args.js +52 -0
- package/esm5/lib/igc-tool-action-button-component.js +6 -6
- package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm5/lib/igc-tool-action-combo-component.js +8 -8
- package/esm5/lib/igc-tool-action-component.js +162 -165
- package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm5/lib/igc-tool-action-icon-button-component.js +34 -37
- package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm5/lib/igc-tool-action-radio-component.js +32 -32
- package/esm5/lib/igc-tool-action-separator-component.js +6 -6
- package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm5/lib/igc-tool-panel-component.js +285 -256
- package/esm5/lib/igc-toolbar-component.js +188 -159
- package/esm5/public_api.js +4 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +7526 -6949
- package/fesm5/igniteui-webcomponents-layouts.js +7391 -6730
- package/lib/INativeUIToolPanelBridge.d.ts +1 -0
- package/lib/ListPanelContentRebindEventArgs.d.ts +10 -0
- package/lib/ListPanelContentRecycledEventArgs.d.ts +10 -0
- package/lib/ListPanelView_combined.d.ts +245 -240
- package/lib/NativeUILayoutFactory_combined.d.ts +1167 -1119
- package/lib/igc-list-panel-component.d.ts +16 -0
- package/lib/igc-list-panel-content-rebind-event-args.d.ts +20 -0
- package/lib/igc-list-panel-content-recycled-event-args.d.ts +20 -0
- package/lib/igc-tool-action-component.d.ts +0 -1
- package/lib/igc-tool-action-icon-button-component.d.ts +0 -1
- package/lib/igc-tool-panel-component.d.ts +11 -0
- package/lib/igc-toolbar-component.d.ts +11 -0
- package/package.json +3 -3
- package/public_api.d.ts +4 -0
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,i,n){"use strict";var r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return t.getNativeElement().checked},n.b=function(t,e){t.getNativeElement().checked=e},n.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},n.$t=i.markType(n,"ExpansionPanelUtilities"),n}(i.Base),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnCollapsedEventArgs",i.EventArgs.$),n}(i.EventArgs),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnExpandedEventArgs",i.EventArgs.$),n}(i.EventArgs),a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},n.prototype.y=function(t){this.q=t,this.ab()},n.prototype.z=function(t){this.g=t},n.prototype.aa=function(){},n.prototype.af=function(t){var e=this.k;this.p=t;var n=e.createElement("div");this.p.append(n),this.v(n);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var s=e.createElement("div");r.append(s),this.o=e.createElement("label"),s.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),n.setStyleProperty("display","flex"),n.setStyleProperty("justify-content","center"),n.setStyleProperty("flex-direction","column"),n.setStyleProperty("margin","0px 10px 0px 10px"),n.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",i.runOn(this,this.w)),this.p.listen("keydown",i.runOn(this,this.x))},n.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var i=t.componentRef;e.f=i.i,e.f.fill=n.al,e.ag()}),!1)},n.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},n.prototype.ad=function(t){this.k;this.m=t},n.prototype.w=function(t){t.originalEvent.target;this.h.a2()},n.prototype.x=function(t){var e=i.BaseDOMEventProxy.c0(t),n=r.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==n&&(this.h.au(),t.preventDefault());break;case 15:1==n&&(this.h.ar(),t.preventDefault())}},n.$t=i.markType(n,"ExpansionPanelView"),n.al=i.BrushUtil.h(255,33,150,243),n.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",n.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",n}(i.Base),h=function(t){function n(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.ag=i.stringEmpty(),e.be=null,e.a5=n.bt,e.bc=null,e.bd=null,e.p=-1,e.o=n.r,e.m=!0,e.bf=null,e.a6=n.bu,e.bg=null,e.bh=null,e.a8=n.bw,e.a7=n.bv,e.a3=n.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(n,t),n.prototype.aw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},Object.defineProperty(n.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var i=this.m;this.m=t;var n=this.h(this.m),r=this.i(this.m),a=this.j(this.m),h=this.k(this.m),u=this.l(this.m);n.play(),r.play(),a.play(),h.play(),u.play(),n.finished.f((function(t){return n.commitStyles()})),r.finished.f((function(t){return r.commitStyles()})),a.finished.f((function(t){return a.commitStyles()})),h.finished.f((function(t){return h.commitStyles()})),u.finished.f((function(t){u.commitStyles(),e.aw("Expanded",i,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new s):null!=e.onCollapsed&&e.onCollapsed(e,new o))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.aw("HeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.aw("ActualHeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.aw("HeaderCollapsedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.aw("HeaderExpandedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.aw("ActualUmbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.aw("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.aw("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.f=function(){return new a},n.prototype.ax=function(t,e,i){switch(t){case"CaptionTextColor":case"CaptionExpandedTextColor":case"CaptionCollapsedTextColor":case"DescriptionTextColor":case"DescriptionExpandedTextColor":case"DescriptionCollapsedTextColor":case"HeaderBackgroundColor":case"HeaderCollapsedBackgroundColor":case"HeaderExpandedBackgroundColor":case"Expanded":var r=this.bl,o=this.b4(),s=this.bj,a=this.b0(),h=this.bk,u=this.b2();r!=o||s!=a||h!=u?(this.bl=o,this.bj=a,this.bk=u):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?n.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},n.prototype.h=function(t){var n=this.bj,r=this.b1(t),o=t?this.b():this.a(),s=this.g.a(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.i=function(t){var n=this.bk,r=this.b3(t),o=t?this.b():this.a(),s=this.g.b(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.j=function(t){var n=this.bl,r=this.b5(t),o=t?this.b():this.a(),s=this.g.c(o),a=[new i.AnimationKeyFrameProperty(2,n)],h=[new i.AnimationKeyFrameProperty(2,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.k=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?-n:0,o=t?0:-n,s=t?0:1,a=t?1:0,h=t?this.b():this.a(),u=new i.TranslateTransform;u.k=r;var l=new i.TranslateTransform;l.k=o;var c=this.g.d(h),p=[new i.AnimationKeyFrameProperty(14,u),new i.AnimationKeyFrameProperty(1,s)],f=[new i.AnimationKeyFrameProperty(14,l),new i.AnimationKeyFrameProperty(1,a)];return c.m.apply(c,e.__spreadArray([],e.__read(p),!1)),c.m.apply(c,e.__spreadArray([],e.__read(f),!1)),i.KeyFrameAnimationFactory.f.c(c)},n.prototype.l=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?0:n,o=t?n:0,s=t?this.b():this.a(),a=this.g.e(s),h=[new i.AnimationKeyFrameProperty(10,r)],u=[new i.AnimationKeyFrameProperty(10,o)];return a.m.apply(a,e.__spreadArray([],e.__read(h),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.a=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.b=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.at=function(){this.g.u()},n.prototype.b0=function(){return this.b1(this.n)},n.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:n.bs},n.prototype.b2=function(){return this.b3(this.n)},n.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:n.bt},n.prototype.b4=function(){return this.b5(this.n)},n.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:n.bu},n.prototype.ar=function(){this.n=!1},n.prototype.destroy=function(){this.provideRenderer(null)},n.prototype.au=function(){this.n=!0},n.prototype.notifySizeChanged=function(){},n.prototype.provideHeader=function(t){this.g.af(t)},n.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},n.prototype.provideContentAreaInner=function(t){this.g.ad(t)},n.prototype.provideRenderer=function(t){this.g.ac(t)},n.prototype.a2=function(){this.n=!this.n},n.$t=i.markType(n,"XExpansionPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.bs=i.BrushUtil.h(188,0,0,0),n.bt=i.BrushUtil.h(188,0,0,0),n.r=2,n.bu=i.BrushUtil.h(255,245,245,245),n.bw=i.BrushUtil.h(66,0,0,0),n.bv=i.BrushUtil.h(30,0,0,0),n.br=i.BrushUtil.h(20,0,0,0),n}(i.Base),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new s},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),l=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),c=function(t){function n(){var n=t.call(this)||this;n._implementation=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCollapsed=null,n._onCollapsed_wrapped=null,n._onExpanded=null,n._onExpanded_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._portalManager=new i.PortalManager("iconContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._mainDiv=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._mainDiv);var r=n._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=n._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var s=n._webComponentRenderer.createElement("div");return s.setAttribute("key","expansionPanelContentAreaInner"),o.append(s),n._mainDiv.append(r),n._mainDiv.append(o),new MutationObserver((function(t){var i,a;try{for(var h=e.__values(t),u=h.next();!u.done;u=h.next()){if("childList"==u.value.type)for(var l=0;l<n.childNodes.length;l++){var c=n.childNodes[l];c!=n._mainDiv.getNativeElement()&&c!==r.getNativeElement()&&c!==o.getNativeElement()&&c!==s.getNativeElement()&&(c.remove(),s.append(n._webComponentRenderer.getWrapper(c)))}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n.i.provideRenderer(n._webComponentRenderer),n.i.provideHeader(n._webComponentRenderer.getWrapper(r)),n.i.provideContentAreaOuter(n._webComponentRenderer.getWrapper(o)),n.i.provideContentAreaInner(n._webComponentRenderer.getWrapper(s)),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new h},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},n.prototype.afterContentInit=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXExpansionPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXExpansionPanelComponent=t}return n._observedAttributesIgcXExpansionPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionTextColor",{get:function(){return i.brushToString(this.i.bq)},set:function(t){this.i.bq=i.stringToBrush(t),this._a("captionTextColor",i.brushToString(this.i.bq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCaptionTextColor",{get:function(){return i.brushToString(this.i.bj)},set:function(t){this.i.bj=i.stringToBrush(t),this._a("actualCaptionTextColor",i.brushToString(this.i.bj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bo)},set:function(t){this.i.bo=i.stringToBrush(t),this._a("captionCollapsedTextColor",i.brushToString(this.i.bo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionExpandedTextColor",{get:function(){return i.brushToString(this.i.bp)},set:function(t){this.i.bp=i.stringToBrush(t),this._a("captionExpandedTextColor",i.brushToString(this.i.bp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionTextColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("descriptionTextColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionTextColor",{get:function(){return i.brushToString(this.i.bk)},set:function(t){this.i.bk=i.stringToBrush(t),this._a("actualDescriptionTextColor",i.brushToString(this.i.bk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bx)},set:function(t){this.i.bx=i.stringToBrush(t),this._a("descriptionCollapsedTextColor",i.brushToString(this.i.bx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionExpandedTextColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("descriptionExpandedTextColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerBackgroundColor",{get:function(){return i.brushToString(this.i.b6)},set:function(t){this.i.b6=i.stringToBrush(t),this._a("headerBackgroundColor",i.brushToString(this.i.b6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.bl)},set:function(t){this.i.bl=i.stringToBrush(t),this._a("actualHeaderBackgroundColor",i.brushToString(this.i.bl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerCollapsedBackgroundColor",{get:function(){return i.brushToString(this.i.b7)},set:function(t){this.i.b7=i.stringToBrush(t),this._a("headerCollapsedBackgroundColor",i.brushToString(this.i.b7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerExpandedBackgroundColor",{get:function(){return i.brushToString(this.i.b8)},set:function(t){this.i.b8=i.stringToBrush(t),this._a("headerExpandedBackgroundColor",i.brushToString(this.i.b8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.bn)},set:function(t){this.i.bn=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.bn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.bm)},set:function(t){this.i.bm=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.bm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.bi)},set:function(t){this.i.bi=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.bi))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("XExpansionPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.collapse=function(){this.i.ar()},n.prototype.expand=function(){this.i.au()},n.prototype.toggle=function(){this.i.a2()},Object.defineProperty(n.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=i.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,i){var n=new l;n._provideImplementation(i),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,n),e._onCollapsed&&e._onCollapsed(e,n)},this.i.onCollapsed=i.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=i.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,i){var n=new u;n._provideImplementation(i),e.beforeOnExpanded&&e.beforeOnExpanded(e,n),e._onExpanded&&e._onExpanded(e,n)},this.i.onExpanded=i.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXExpansionPanelComponent=null,n.htmlTagName="igc-x-expansion-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),p=function(){function t(){}return t.register=function(){c.register(),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.register("XExpansionPanel",h.$type)},t}(),f=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldText",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newText",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorTextChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),d=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newValue",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),b=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.i=0,e.b=null,e.n=0,e.as=null,e.ar=null,e.j=0,e._dropDownButtonVisible=!1,e.o=0,e.y=null,e.c=null,e.ab=null,e.ac=null,e.ad=null,e.t=0,e.z=null,e.aa=null,e._actualLabelVisible=!1,e._actualNoMatchesFoundLabel=null,e.d=null,e.e=null,e.ag=null,e.ah=null,e.ai=null,e.u=0,e.ae=null,e.af=null,e.aj=null,e._rowSeparatorsVisible=!1,e.f=null,e.ao=null,e.ap=null,e.aq=null,e.v=0,e.am=null,e.an=null,e.g=null,e.p=0,e.h=null,e.q=0,e.r=0,e.s=0,e.al=null,e.w=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"dropDownButtonVisible",{get:function(){return this._dropDownButtonVisible},set:function(t){this._dropDownButtonVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLabelVisible",{get:function(){return this._actualLabelVisible},set:function(t){this._actualLabelVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualNoMatchesFoundLabel",{get:function(){return this._actualNoMatchesFoundLabel},set:function(t){this._actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowSeparatorsVisible",{get:function(){return this._rowSeparatorsVisible},set:function(t){this._rowSeparatorsVisible=t},enumerable:!1,configurable:!0}),n.prototype.ak=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualBaseTheme : "+this.i+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.n+", "),t.l("actualContentPadding : { left: "+this.as.left+",top: "+this.as.top+",right: "+this.as.right+",bottom: "+this.as.bottom+"},"),t.l("actualDensity : "+this.j+", "),t.l("dropDownButtonVisible : "+this.dropDownButtonVisible+", "),t.l("actualFocusUnderlineOpacity : "+this.o+", "),t.l('label : "'+this.y+'", '),t.l("actualLabelTextColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.ab)||t.l('labelFontStyle : "'+this.ab+'", '),i.stringIsNullOrEmpty(this.ac)||t.l('labelFontVariant : "'+this.ac+'", '),i.stringIsNullOrEmpty(this.ad)||t.l('labelFontWeight : "'+this.ad+'", '),i.stringIsNullOrEmpty(this.z)||t.l('labelFontFamily : "'+this.z+'", '),i.stringIsNullOrEmpty(this.aa)||t.l('labelFontStretch : "'+this.aa+'", '),i.isNaN_(this.t)||t.l("labelFontSize : "+this.t+", "),t.l("actualLabelVisible : "+this.actualLabelVisible+", "),t.l('actualNoMatchesFoundLabel :"'+this.actualNoMatchesFoundLabel+'", '),t.l("actualNoMatchesFoundLabelBackgroundColor : "+this.d.serialize()+", "),t.l("actualNoMatchesFoundLabelTextColor : "+this.e.serialize()+", "),i.stringIsNullOrEmpty(this.ag)||t.l('noMatchesFoundLabelFontStyle : "'+this.ag+'", '),i.stringIsNullOrEmpty(this.ah)||t.l('noMatchesFoundLabelFontVariant : "'+this.ah+'", '),i.stringIsNullOrEmpty(this.ai)||t.l('noMatchesFoundLabelFontWeight : "'+this.ai+'", '),i.stringIsNullOrEmpty(this.ae)||t.l('noMatchesFoundLabelFontFamily : "'+this.ae+'", '),i.stringIsNullOrEmpty(this.af)||t.l('noMatchesFoundLabelFontStretch : "'+this.af+'", '),i.isNaN_(this.u)||t.l("noMatchesFoundLabelFontSize : "+this.u+", "),t.l('placeholder : "'+this.aj+'", '),t.l("rowSeparatorsVisible : "+this.rowSeparatorsVisible+", "),t.l("actualTextColor : "+this.f.serialize()+", "),i.stringIsNullOrEmpty(this.ao)||t.l('textStyleFontStyle : "'+this.ao+'", '),i.stringIsNullOrEmpty(this.ap)||t.l('textStyleFontVariant : "'+this.ap+'", '),i.stringIsNullOrEmpty(this.aq)||t.l('textStyleFontWeight : "'+this.aq+'", '),i.stringIsNullOrEmpty(this.am)||t.l('textStyleFontFamily : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||t.l('textStyleFontStretch : "'+this.an+'", '),i.isNaN_(this.v)||t.l("textStyleFontSize : "+this.v+", "),t.l("actualUnderlineColor : "+this.g.serialize()+", "),t.l("actualUnderlineOpacity : "+this.p+", "),t.l("actualUnderlineRippleColor : "+this.h.serialize()+", "),t.l("actualUnderlineRippleOpacity : "+this.q+", "),t.l("actualUnderlineRippleWidth : "+this.r+", "),t.l("actualUnderlineWidth : "+this.s+", "),t.l('text : "'+this.al+'", '),null!=this.w&&t.l('value : "'+this.w.toString()+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"ComboEditorVisualModelExport"),n}(i.Base),g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorGotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorLostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),m=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,e=null==e?0:e){case 0:break;case 1:var o=i[0];r.b.o(o)}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return null==this.a&&(this.a=new i.List$1(i.IDataSourceUpdateNotifier_$type,0)),this.a},enumerable:!1,configurable:!0}),n.prototype.c=function(t){this.b.add(t)},n.prototype.d=function(t){for(var e=0;e<this.b.count;e++)t(this.b._inner[e])},n.prototype.notifyClearItems=function(){this.d((function(t){return t.notifyClearItems()}))},n.prototype.notifyInsertItem=function(t,e){this.d((function(i){return i.notifyInsertItem(t,e)}))},n.prototype.notifyRemoveItem=function(t,e){this.d((function(i){return i.notifyRemoveItem(t,e)}))},n.prototype.notifySetItem=function(t,e,i){this.d((function(n){return n.notifySetItem(t,e,i)}))},n.prototype.rangeActualized=function(t,e){this.d((function(i){return i.rangeActualized(t,e)}))},n.$t=i.markType(n,"ComboEditorMultipleDataSourceNotifier",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),_=function(t){function r(e){var i=t.call(this)||this;return i.b=!1,i.a=null,i.c=null,i.a=e,i}return e.__extends(r,t),r.prototype.g=function(){},r.prototype.r=function(){var t=this.c.rootWrapper.getNativeElement().getBoundingClientRect();return new i.Rect(0,t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height)},r.prototype.f=function(t,e){this.c.getPortal(t.an,"ListPanel",(function(t){var i=t.componentRef.i;e(i)}),!1)},r.prototype.i=function(){this.b&&(this.b=!1,window.addEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.h=function(){this.b||(this.b=!0,window.removeEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.q=function(t){var e=this.a.bh;if(null!=e&&0!=e.b6){var i=this.r();this.a.bh.cd(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.an);if(null!=u){u.oi=h.k3,u.ks=h.jf,u.no=h.j6,u.eg=h.cx,u.np=h.j7,u.eh=h.cy,u.ei=h.cz,u.nq=h.j8,u.ej=h.c0,u.ek=h.c1,u.n6=h.kd,u.e5=h.c2,u.n7=h.ke,u.e6=h.c3,u.e7=h.c4,u.e8=h.c5;try{for(var l=e.__values(i.fromEnum(u.inputs)),c=l.next();!c.done;c=l.next()){var p=c.value;null!=p&&null!==i.typeCast(n.XInput.$,p)&&(p.cg=h.gb)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u.inputs)),d=f.next();!d.done;d=f.next()){var b=d.value;if(null!=b&&null!==i.typeCast(n.XLabel.$,b)){b.di=h.j9;var g=b;null!=h.av&&(g.y=h.av)}}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},r.prototype.l=function(t){if(null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].e=t)},r.prototype.o=function(){if(this.a.disallowTabFocus){var t=this.a.bb.an;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].be=-1)}else{var o=this.a.bb.an;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.an,a=0;a<s.inputs.count;a++)null!==i.typeCast(n.XInput.$,s.inputs._inner[a])&&s.inputs._inner[a].cu()}},r.prototype.n=function(){null!=this.a.bh&&(this.a.bh.an.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.an.ay=this.a.cb)},r.prototype.j=function(t){var e=this;if(null==t)return this.i(),void(this.c=null);this.c=t,i.NativeUIComponent.au(this.c,7,(function(t){e.c.append(t.an),e.a.id(t)})),this.h()},r.prototype.d=function(){return this.c},r.prototype.m=function(t,e){},r.prototype.e=function(t,e){var i=t.an;i.remove(),i.append(e.view.j.rootWrapper)},r.$t=i.markType(r,"ComboEditorView"),r}(i.Base),v=function(t){function r(){var e=t.call(this)||this;e.d0=null,e.kk=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.kl=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.c8=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k5=n.XInputGroup.m.ai(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.jh=n.XInputGroup.m.y(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.km=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.c9=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.kn=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.da=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.db=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.ko=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.dc=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.dd=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.kp=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.de=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.kq=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.df=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.dg=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.dh=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.bi=null,e.a0=null,e.ab=null,e.bl=!1,e.c=null,e.jt=null,e.ji=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.af=0,e.ae=1,e.ju=null,e.jj=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.cm=NaN,e.cc=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k2=new i.Thickness(1,NaN,NaN,NaN,NaN),e.k1=n.ThemeResolver.ak(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.je=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.jd=n.ThemeResolver.aa(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.b=null,e.al=0,e.ak=0,e.bw=!0,e.jv=null,e.jk=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.cn=NaN,e.cd=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.jw=null,e.jl=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.co=NaN,e.ce=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.cp=NaN,e.cf=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.jx=null,e.jm=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.cq=NaN,e.cg=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.cr=NaN,e.ch=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.du=null,e.f1=null,e.jy=null,e.jn=r.kh,e.as=null,e.ap=null,e.bs=!1,e.f4=null,e.er="No Matches Found",e.jz=null,e.jo=r.ki,e.j0=null,e.jp=r.kj,e.at=null,e.aq=null,e.gc="",e.j1=r.kr,e.jq=r.kr,e.au=null,e.ar=null,e.j2=null,e.jr=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.cs=NaN,e.ci=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.j3=null,e.js=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.ct=NaN,e.cj=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleOpacity"),e.cu=NaN,e.ck=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.cv=NaN,e.cl=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineWidth"),e.bk=!0,e.d6=null,e.d5=null,e.d=null,e.a=null,e.dv=null,e.q=0,e.b2=!1,e.bn=!1,e.bq=!1,e.br=!1,e.gotFocus=null,e.lostFocus=null,e.textValueChanged=null,e.selectedValueChanged=null,e.keyDown=null,e.change=null,e.changing=null,e.propertyChanged=null,e.a6=null,e.a9=null,e.a7=null,e.bd=null,e.bg=null,e.ac=null,e.d7=null,e.ca=!0,e.dt=0,e.b6=!1,e.l=null,e.v=0,e.b5=!1,e.b1=!1,e.b0=!1,e.by=!1,e.ba=null,e.a5=null,e.n=null,e.ds=-1,e.bo=!1,e.b8=!1,e.bp=!1,e.bm=!1,e.a8=null,e.bf=null;var o=e.aa();return e.ab=o,e}return e.__extends(r,t),r.prototype.gy=function(){this.ad.dr=-1},Object.defineProperty(r.prototype,"bj",{get:function(){return null==this.bi&&(this.bi=new i.SRProvider(this.ab.c),this.bi.cb("ComboEditor")),this.bi},enumerable:!1,configurable:!0}),r.prototype.aa=function(){return new _(this)},r.prototype.ip=function(t,e,o){switch(t){case"BackgroundColor":this.j4=null!=this.kf?this.kf:this.kk;break;case"BorderColor":this.j5=null!=this.kg?this.kg:this.kl;break;case"BorderWidth":this.cw=i.isNaN_(this.c6)?this.c8:this.c6;break;case"ContentPadding":this.k3=n.XInputGroup.oh(this.k4,this.k5);break;case"CornerRadius":this.jf=n.XInputGroup.kr(this.jg,this.jh);break;case"FocusBorderColor":this.j6=null!=this.ks?this.ks:this.km;break;case"FocusBorderWidth":this.cx=i.isNaN_(this.di)?this.c9:this.di;break;case"FocusUnderlineColor":this.j7=null!=this.kt?this.kt:this.kn;break;case"FocusUnderlineOpacity":this.cy=i.isNaN_(this.dj)?this.da:this.dj;break;case"FocusUnderlineRippleOpacity":this.cz=i.isNaN_(this.dk)?this.db:this.dk;break;case"HoverUnderlineColor":this.j8=null!=this.ku?this.ku:this.ko;break;case"HoverUnderlineOpacity":this.c0=i.isNaN_(this.dl)?this.dc:this.dl;break;case"HoverUnderlineWidth":this.c1=i.isNaN_(this.dm)?this.dd:this.dm;break;case"ItemsSource":case"ValueField":case"DataSourceDesiredProperties":case"Fields":this.ja();break;case"LabelTextColor":this.j9=null!=this.kv?this.kv:r.kh;break;case"LabelTextStyle":this.av=null!=this.a2?this.a2:r.ay;break;case"NoMatchesFoundLabelTextColor":this.kb=null!=this.kx?this.kx:r.kj;break;case"NoMatchesFoundLabelBackgroundColor":this.ka=null!=this.kw?this.kw:r.ki;break;case"NoMatchesFoundLabelTextStyle":this.aw=null!=this.a3?this.a3:r.az;break;case"UnderlineColor":this.kd=null!=this.kz?this.kz:this.kp;break;case"UnderlineOpacity":this.c2=i.isNaN_(this.dn)?this.de:this.dn;break;case"UnderlineRippleColor":this.ke=null!=this.k0?this.k0:this.kq;break;case"UnderlineRippleOpacity":this.c3=i.isNaN_(this.dp)?this.df:this.dp;break;case"UnderlineRippleWidth":this.c4=i.isNaN_(this.dq)?this.dg:this.dq;break;case"UnderlineWidth":this.c5=i.isNaN_(this.dr)?this.dh:this.dr;break;case"BaseTheme":this.ah=0==this.ai?1:this.ai;break;case"Density":this.am=0==this.density?0:this.density;break;case"TextColor":this.kc=null!=this.ky?this.ky:r.kr;break;case"TextStyle":this.ax=null!=this.a4?this.a4:null;break;case"ActualDensity":case"ActualBaseTheme":case"ActualTextColor":case"ActualTextStyle":case"DisplayType":case"ActualBackgroundColor":case"ActualBorderColor":case"ActualBorderWidth":case"ActualContentPadding":case"ActualCornerRadius":case"ActualFocusBorderColor":case"ActualFocusBorderWidth":case"ActualFocusUnderlineColor":case"ActualFocusUnderlineOpacity":case"ActualFocusUnderlineRippleOpacity":case"ActualHoverUnderlineColor":case"ActualHoverUnderlineOpacity":case"ActualHoverUnderlineWidth":case"ActualLabelTextColor":case"ActualLabelTextStyle":case"ActualUnderlineColor":case"ActualUnderlineOpacity":case"ActualUnderlineRippleColor":case"ActualUnderlineRippleOpacity":case"ActualUnderlineRippleWidth":case"ActualUnderlineWidth":case"DropDownButtonVisible":case"ActualNoMatchesFoundLabel":case"ActualNoMatchesFoundLabelTextColor":case"ActualNoMatchesFoundLabelTextStyle":case r.et:this.i1();break;case"NoMatchesFoundLabel":this.actualNoMatchesFoundLabel=i.stringIsNullOrEmpty(this.f5)?"No Matches Found":this.f5;break;case"Label":case"PlaceholderText":this.i1(),this.actualLabelVisible=!i.stringIsNullOrEmpty(this.f1);break;case"Text":this.i5();var s=null!=e?e.toString():null,a=null!=o?o.toString():null;this.ic(new f(s,a)),this.io(1,a);break;case"Value":this.h9(new d(e,o)),this.io(0,o);break;case"AllowFilter":this.g6(this.bu);break;case"DisallowTabFocus":this.ab.o();break;case"IsFixed":this.ab.n();break;case"UseTopLayer":this.ab.p()}},Object.defineProperty(r.prototype,"a1",{get:function(){return null==this.a0&&(this.a0=new i.FontInfo,this.a0.q="Verdana",this.a0.f=i.DeviceUtils.f(16)),this.a0},enumerable:!1,configurable:!0}),r.prototype.focus=function(t){this.g8(t)},r.prototype.setName=function(t){this.ab.l(t)},Object.defineProperty(r.prototype,"disallowTabFocus",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.h6("DisallowTabFocus",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.h6("Fields",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kf",{get:function(){return this.jt},set:function(t){var e=this.jt;this.jt=t,e!=this.jt&&this.h6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j4",{get:function(){return this.ji},set:function(t){var e=this.ji;this.ji=t,e!=this.ji&&this.h6("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ai",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.h6("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ah",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.h6("ActualBaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kg",{get:function(){return this.ju},set:function(t){var e=this.ju;this.ju=t,e!=this.ju&&this.h6("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j5",{get:function(){return this.jj},set:function(t){var e=this.jj;this.jj=t,e!=this.jj&&this.h6("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c6",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.h6("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cw",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.h6("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k4",{get:function(){return this.k2},set:function(t){var e=this.k2;this.k2=t,e!=this.k2&&this.h6("ContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k3",{get:function(){return this.k1},set:function(t){var e=this.k1;this.k1=t,e!=this.k1&&this.h6("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.je},set:function(t){var e=this.je;this.je=t,e!=this.je&&this.h6("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.jd},set:function(t){var e=this.jd;this.jd=t,e!=this.jd&&this.h6("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.h6("DataSourceDesiredProperties",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.h6("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"am",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.h6("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.h6("DropDownButtonVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ks",{get:function(){return this.jv},set:function(t){var e=this.jv;this.jv=t,e!=this.jv&&this.h6("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j6",{get:function(){return this.jk},set:function(t){var e=this.jk;this.jk=t,e!=this.jk&&this.h6("ActualFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"di",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.h6("FocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cx",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.h6("ActualFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kt",{get:function(){return this.jw},set:function(t){var e=this.jw;this.jw=t,e!=this.jw&&this.h6("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.jl},set:function(t){var e=this.jl;this.jw=t,e!=this.jl&&this.h6("ActualFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dj",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.h6("FocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cy",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.h6("ActualFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dk",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.h6("FocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.h6("ActualFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ku",{get:function(){return this.jx},set:function(t){var e=this.jx;this.jx=t,e!=this.jx&&this.h6("HoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.jm},set:function(t){var e=this.jm;this.jm=t,e!=this.jm&&this.h6("ActualHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dl",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.h6("HoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cg},set:function(t){var e=this.cg;this.cg=t,e!=this.cg&&this.h6("ActualHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dm",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.h6("HoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.ch},set:function(t){var e=this.ch;this.ch=t,e!=this.ch&&this.h6("ActualHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"itemsSource",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.h6("ItemsSource",e,this.du)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.m()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.f1},set:function(t){var e=this.fz;0!=i.StringComparer.b.compare(t,e)&&(this.f1=t,this.h6("Label",e,this.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kv",{get:function(){return this.jy},set:function(t){var e=this.jy;this.jy=t,e!=this.jy&&this.h6("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j9",{get:function(){return this.jn},set:function(t){var e=this.jn;this.jn=t,e!=this.jn&&this.h6("ActualLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.h6("LabelTextStyle",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"av",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,this.ap!=e&&this.h6("ActualLabelTextStyle",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.h6("ActualLabelVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.f4},set:function(t){var e=this.f4;0!=i.StringComparer.b.compare(t,e)&&(this.f4=t,this.h6("NoMatchesFoundLabel",e,this.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.h6("ActualNoMatchesFoundLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kw",{get:function(){return this.jz},set:function(t){var e=this.jz;this.jz=t,e!=this.jz&&this.h6("NoMatchesFoundLabelBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ka",{get:function(){return this.jo},set:function(t){var e=this.jo;this.jo=t,e!=this.jo&&this.h6(r.et,e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kx",{get:function(){return this.j0},set:function(t){var e=this.j0;this.j0=t,e!=this.j0&&this.h6("NoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kb",{get:function(){return this.jp},set:function(t){var e=this.jp;this.jp=t,e!=this.jp&&this.h6("ActualNoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.h6("NoMatchesFoundLabelTextStyle",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,this.aq!=e&&this.h6("ActualNoMatchesFoundLabelTextStyle",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gb",{get:function(){return this.gc},set:function(t){var e=this.gb;0!=i.StringComparer.b.compare(t,e)&&(this.gc=t,this.h6("PlaceholderText",e,this.gc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ky",{get:function(){return this.j1},set:function(t){var e=this.j1;this.j1=t,e!=this.j1&&this.h6("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kc",{get:function(){return this.jq},set:function(t){var e=this.jq;this.jq=t,e!=this.jq&&this.h6("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a4",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.h6("TextStyle",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.ar!=e&&this.h6("ActualTextStyle",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kz",{get:function(){return this.j2},set:function(t){var e=this.j2;this.j2=t,e!=this.j2&&this.h6("UnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kd",{get:function(){return this.jr},set:function(t){var e=this.jr;this.jr=t,e!=this.jr&&this.h6("ActualUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dn",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.h6("UnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.ci},set:function(t){var e=this.ci;this.ci=t,e!=this.ci&&this.h6("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k0",{get:function(){return this.j3},set:function(t){var e=this.j3;this.j3=t,e!=this.j3&&this.h6("UnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ke",{get:function(){return this.js},set:function(t){var e=this.js;this.js=t,e!=this.js&&this.h6("ActualUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dp",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.h6("UnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c3",{get:function(){return this.cj},set:function(t){var e=this.cj;this.cj=t,e!=this.cj&&this.h6("ActualUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dq",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.h6("UnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c4",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.h6("ActualUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dr",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.h6("UnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c5",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.h6("ActualUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.h6("AllowFilter",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gg",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.h6("TextField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.h6("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.h6("ValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.h6("ActualValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.h6("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.h6("DisplayType",i.enumGetBox(n.InputGroupDisplayType_$type,e),i.enumGetBox(n.InputGroupDisplayType_$type,t))},enumerable:!1,configurable:!0}),r.prototype.dx=function(t,e){return new i.FastReflectionHelper(!1,e).getPropertyValue(t)},r.prototype.ft=function(){return this.fs(this.gg)},r.prototype.dy=function(t){var e=this.i();if(null==e||0==e.length)return null;for(var n=new i.List$1(i.Base.$,0),r=0;r<e.length;r++){var o=e[r],s=this.dx(t,o);n.add1(s)}return 1==n.count?n._inner[0]:n.toArray()},r.prototype.fr=function(t){var e,i=this.ft();if(null!=i){var n=this.dx(t,i);e=null!=n?n.toString():null}else e=null;return e},r.prototype.fs=function(t){if(i.stringIsNullOrEmpty(t)){var e=this.actualDataSource;if(null==e)return null;var n=e.actualSchema;if(null==n)return null;var r=n.propertyNames;return 0==r.length?null:r[0]}return t},r.prototype.h=function(t){var e=new i.List$1(i.String_$type,0);if(null==t||0==t.length){var n=this.fs(null);return i.stringIsNullOrEmpty(n)?null:(e.add(n),e.toArray())}for(var r=0;r<t.length;r++){var o=t[r],s=this.fs(o);null!=s&&e.add(s)}return e.count>0?e.toArray():null},r.prototype.i=function(){var t=this.j;return this.h(t)},r.prototype.h8=function(t){this.io(2,t)},r.prototype.io=function(t,e){if(!this.b2){this.b2=!0;try{switch(t){case 2:var n=e,r=void 0,o=void 0;null!=n?(r=this.fr(n),o=this.dy(n)):(r=i.stringEmpty(),o=null),this.text!=r&&(this.text=r),this.value!=o&&(this.value=o);break;case 1:this.i0(e.toString());break;case 0:this.iz(e)}}finally{this.b2=!1}}},r.prototype.iy=function(t){this.text=t},r.prototype.jc=function(){this.ax=null==this.a4?this.a1:this.a4,this.av=null==this.a2?this.a1:this.a2},r.prototype.i3=function(){},r.prototype.closeUp=function(){this.g0()},r.prototype.destroy=function(){this.provideRenderer(null)},r.prototype.dropDown=function(){this.g5()},r.prototype.select=function(){this.iu()},r.prototype.notifySizeChanged=function(){this.ab.g()},r.prototype.provideRenderer=function(t){this.ab.j(t),this.actualNoMatchesFoundLabel=i.stringIsNullOrWhiteSpace(this.bj.b1("NoMatches"))?"No Matches Found":this.bj.b1("NoMatches")},r.prototype.dw=function(){return this.u()},r.prototype.fk=function(){return this.u().ak()},r.prototype.u=function(){var t=new b;if(t.a=i.AppearanceHelper.a(this.j4),t.i=this.ah,t.b=i.AppearanceHelper.a(this.j5),t.n=this.cw,t.as=this.k3,t.ar=this.jf,t.j=this.am,t.dropDownButtonVisible=this.dropDownButtonVisible,t.o=this.cy,t.y=this.fz,t.c=i.AppearanceHelper.a(this.j9),t.actualLabelVisible=this.actualLabelVisible,t.actualNoMatchesFoundLabel=this.actualNoMatchesFoundLabel,t.d=i.AppearanceHelper.a(this.ka),t.e=i.AppearanceHelper.a(this.kb),t.aj=this.gb,t.f=i.AppearanceHelper.a(this.kc),t.g=i.AppearanceHelper.a(this.kd),t.p=this.c2,t.h=i.AppearanceHelper.a(this.ke),t.q=this.c3,t.r=this.c4,t.s=this.c5,t.al=this.text,t.w=this.value,null!=this.av){var e=this.av;if(null!=this.ab&&null==e.q){var n=this.ab.c,r=i.FontUtil.getFontInfoFromString(n,e.fontString);e.q=r.q,e.f=r.f,e.r=r.r,e.t=r.t,e.u=r.u,e.v=r.v}null!=e.q&&(t.z=e.q),i.isNaN_(e.f)||(t.t=e.f),null!=e.v&&(t.ad=e.v),null!=e.t&&(t.ab=e.t),null!=e.r&&(t.aa=e.t)}if(null!=this.aw){var o=this.aw;if(null!=this.ab&&null==o.q){var s=this.ab.c,a=i.FontUtil.getFontInfoFromString(s,o.fontString);o.q=a.q,o.f=a.f,o.r=a.r,o.t=a.t,o.u=a.u,o.v=a.v}null!=o.q&&(t.ae=o.q),i.isNaN_(o.f)||(t.u=o.f),null!=o.v&&(t.ai=o.v),null!=o.t&&(t.ag=o.t),null!=o.r&&(t.af=o.t)}if(null!=this.ax){var h=this.ax;if(null!=this.ab&&null==h.q){var u=this.ab.c,l=i.FontUtil.getFontInfoFromString(u,h.fontString);h.q=l.q,h.f=l.f,h.r=l.r,h.t=l.t,h.u=l.u,h.v=l.v}null!=h.q&&(t.am=h.q),i.isNaN_(h.f)||(t.v=h.f),null!=h.v&&(t.aq=h.v),null!=h.t&&(t.ao=h.t),null!=h.r&&(t.an=h.t)}return t},Object.defineProperty(r.prototype,"b4",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.h6("IsFixed",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.h6("OpenAsChild",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cb",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.h6("UseTopLayer",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.h1=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},r.prototype.h4=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},r.prototype.ic=function(t){null!=this.textValueChanged&&this.textValueChanged(this,t)},r.prototype.h9=function(t){null!=this.selectedValueChanged&&this.selectedValueChanged(this,t)},r.prototype.h6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ip(t,e,n)},r.prototype.h3=function(t){if(null!=this.keyDown){var e=new i.KeyEventArgs(1,t.g,t.a,t.e,t.b,t.h);this.keyDown(this,e)}},r.prototype.hq=function(t){var e=new n.InputChangeEventArgs;e.isCompositionInProgress=t.a,e.value=t.b,null!=this.changing&&this.changing(this,e)},Object.defineProperty(r.prototype,"ad",{get:function(){return this.ac},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b7",{get:function(){return 46==this.dt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.bg},enumerable:!1,configurable:!0}),r.prototype.id=function(t){this.a9=t,this.h5()},r.prototype.h0=function(){this.ab.i()},r.prototype.hp=function(){this.ab.h()},r.prototype.h5=function(){this.g2(),this.i8(),this.g1(),this.bc.bn(this.a7),this.i1(),this.i2(),this.ab.h()},r.prototype.gv=function(t){var e=this.m();null!=this.n&&null!=e&&e.filterExpressions.k.contains(this.n)&&e.filterExpressions.remove(this.n),this.n=t,this.by=!1,null==t||null==e||e.filterExpressions.k.contains(t)?this.dropDown():(e.filterExpressions.add(t),this.by=!0)},r.prototype.gw=function(){var t=this.m();null!=t&&t.filterExpressions.k.contains(this.n)&&t.filterExpressions.remove(this.n),this.n=null},r.prototype.g0=function(){var t=this.bh;null!=t&&t.cb(),this.i2(),this.gw()},Object.defineProperty(r.prototype,"bb",{get:function(){return this.a7},enumerable:!1,configurable:!0}),r.prototype.b3=function(t){if(null==t)return!1;this.a7,this.ac,this.a5;return this.bh.t(t)||this.bc.t(t)},r.prototype.g1=function(){var t=this,e=this.ab.d();i.NativeUIContent.av(e,[7,2],[2,2],(function(e){t.a7=e[0],t.a7.h=3,t.a7.n=i.runOn(t,t.hk),t.a7.o=i.runOn(t,t.hl),t.bd=e[1],t.a7.bn(t.bd),t.bd.b7=t.text,t.bd.bs=i.runOn(t,t.hf),t.bd.bt=i.runOn(t,t.hg),t.bd.bx=i.runOn(t,t.hi),t.bd.n=i.runOn(t,t.hh),t.bd.bz=i.runOn(t,t.hj),t.g6(t.bu),t.bd.b6=r.d2,t.bd.bn=i.runOn(t,t.ib)}))},Object.defineProperty(r.prototype,"be",{get:function(){return this.bd},enumerable:!1,configurable:!0}),r.prototype.g2=function(){var t=this;i.NativeUIContent.av(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.a5=e[2],t.a5.bi=new i.Thickness(0,4),t.ba=e[0],t.ba.bn(t.a5),t.a8=e[4],t.ba.bn(t.a8),t.a9.bn(t.bg),t.bf=e[3],t.bg.bn(t.ba),t.bg.bw=i.runOn(t,t.ig)}))},r.prototype.ig=function(t,e){null!=this.ad&&0==this.a8.bj&&this.ad.notifySizeChanged()},r.prototype.ht=function(t,e){},r.prototype.hw=function(t,e,i){},r.prototype.hs=function(){switch(this.v){case 2:case 1:null==this.l&&(this.v=0)}var t=null;switch(this.v){case 2:var e=this.l.actualCount;if(0==e)this.value=null;else{t=this.l.getItemAtIndex(0);for(var n=this.i(),r=new i.List$1(i.Base.$,0),o=0;o<n.length;o++){var s=n[o],a=this.l.getItemProperty(t,s);r.add1(a)}this.value=1==r.count?r._inner[0]:r.toArray()}break;case 1:var h=this.l.actualCount;if(0==h)this.text=i.stringEmpty();else{var u=this.ft();t=this.l.getItemAtIndex(0);var l=this.l.getItemProperty(t,u).toString();this.text=l}var c=this.m().indexOfItem(t);this.iw(c);break;case 0:default:return}if(null!=t){var p=this.m().indexOfItem(t);this.iw(p)}else this.iw(-1);null!=this.l&&(this.l.updateNotifier=null,this.l=null),this.v=0},r.prototype.hu=function(t,e){},r.prototype.hv=function(t,e){},r.prototype.hz=function(t,e){var i=this.ad;if(null!=i){var n=i.dr;-1!=n&&n>=t&&n<=e&&(this.it(n),this.i9())}},r.prototype.ia=function(t,e,i){},r.prototype.hr=function(){if(this.ii(),this.b5){var t=this.m().actualCount;this.ca&&t>0?this.ik():this.il()}else this.i7()},r.prototype.h2=function(t,e){},r.prototype.h7=function(t,e){},r.prototype.g5=function(){this.jb(),this.hm();var t=this.bh;if(!t.b6){var e=this.ab.r();t.b0=!this.b5,t.ce(e,1,1),this.i2()}},r.prototype.m=function(){var t=this.ad;return null!=t?t.actualDataSource:null},r.prototype.bz=function(t){var e=this.ac.ag,i=e.count;return 0==i?{ret:!0,p0:t=null}:{ret:null!=(t=e._inner[0]),p0:t}},r.prototype.ha=function(t){var e=-1!=t?t:-1;this.it(e)},r.prototype.hc=function(){var t,e,i=this;this.bo||(e=i.bz(t),t=e.p0,e.ret)&&null!=t&&this.h8(t)},r.prototype.hm=function(){this.bh.cc()},r.prototype.ho=function(){if(this.bh.b6){this.closeUp();var t=this.bd;t.az();var e=null!=t.b7?t.b7.length:0;t.ca(e,e)}},r.prototype.hx=function(){this.bd.b1=!0,this.bd.b9();var t=new g;this.h1(t)},r.prototype.hy=function(){this.closeUp(),this.bd.b8();var t=new y;this.h4(t)},r.prototype.il=function(){var t=this.ac;t.selectedItemsChanged=i.delegateRemove(t.selectedItemsChanged,i.runOn(this,this.hd)),this.bo=!0;try{this.iy(this.d7)}finally{this.bo=!1;var e=this.ac;e.selectedItemsChanged=i.delegateCombine(e.selectedItemsChanged,i.runOn(this,this.hd))}this.b5=!1},r.prototype.im=function(){if(this.b5=!0,i.stringIsNullOrEmpty(this.d7))null!=this.n?this.gv(null):this.il();else{var t=i.FilterFactory.instance.property(this.ft()).toLower().startsWith(this.d7.toLowerCase());this.gv(t)}},r.prototype.ir=function(){this.dt=0,this.b6=!1},r.prototype.it=function(t){var e=this.m();if(e.isPlaceholderItem(t));else{var n=this.ad;if(t<0)return this.b1=!1,n.ag.clear(),void(this.b1||this.hc());n.selectedItemsChanged=i.delegateRemove(n.selectedItemsChanged,i.runOn(this,this.hd));try{n.ag.clear()}finally{n.selectedItemsChanged=i.delegateCombine(n.selectedItemsChanged,i.runOn(this,this.hd))}if(t>=0){var r=e.getItemAtIndex(t);this.b1=!1,n.ag.add1(r),this.b1||this.hc()}}},r.prototype.iw=function(t){var e=this.ad;if(-1!=t){var i;e.dr;this.ds=t,i=t,this.b0=!1,e.dr=i,this.b0||this.ha(e.dr),this.i9()}else e.dr=-1},r.prototype.i0=function(t){this.ie(2,t)},r.prototype.iz=function(t){this.ie(1,t)},r.prototype.i1=function(){var t=this;if(null!=this.bd&&(this.bd.bp=t.density,this.bd.c=t.ah,this.bd.bu=t.s,this.bd.a8=t.j4,this.bd.a9=t.j5,this.bd.bg=new i.Thickness(0,t.cw),this.bd.bp=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.ce=t.kc,this.bd.bk=t.ax),null!=this.bd&&(this.bd.b5=t.fz),null!=this.a5){if(this.a5.ba=t.kb,this.a5.a8=t.ka,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bs=this.bf,this.bf.bm=this.actualNoMatchesFoundLabel,this.hm()}this.ad},r.prototype.i5=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b7=t}},r.prototype.i2=function(){var t=this.bh,e=null!=t&&t.b6;this.bd.b6=e?r.d3:r.d4},r.prototype.i4=function(){this.jc();var t=this.ac.h1(),e=Math.min(t.height,320);this.a8.y=e;var i=t.width;i=Math.max(i,150),this.a8.ae=i},r.prototype.i6=function(){this.b5||(this.d7=null,null!=this.n?this.gw():this.i7())},r.prototype.i7=function(){if(null!=this.value){var t=this.value,e=null!==i.typeCast(i.Array_$type,t)?t:[t],n=this.m().indexOfKey(e);-1!=n&&this.iw(n)}},r.prototype.i8=function(){var t=this;null==this.ad&&(this.jc(),this.ab.f(this.a8,(function(e){var n=e;t.ac=n;var r=t.ac;r.rowUpdating=i.delegateCombine(r.rowUpdating,i.runOn(t,t.gt)),t.ja(),t.ad.aq=1,t.ad.al=0,t.ad.r=1,t.a8.a8=i.BrushUtil.h(255,255,255,255),t.ac.hz=i.BrushUtil.h(255,200,200,200),t.ac.ht=i.BrushUtil.h(255,100,100,100),t.ac.ea=32,t.ad.hx=i.BrushUtil.h(0,0,0,0),t.ad.bv=!1,t.ad.bq=!1;var o=t.ad;o.activeRowChanged=i.delegateCombine(o.activeRowChanged,i.runOn(t,t.g9));var s=t.ad;s.selectedItemsChanged=i.delegateCombine(s.selectedItemsChanged,i.runOn(t,t.hd));var a=t.ad;a.itemClicked=i.delegateCombine(a.itemClicked,i.runOn(t,t.hb)),t.ad.a7=i.runOn(t,t.he),t.i1()})))},r.prototype.gt=function(t,e){var n=this;if(null!=e.b){if("comboItem"!=e.b.ao)i.NativeUIComponent.au(this.ab.d(),3,(function(t){var r=t;r.bk=n.ax,e.b.bs=r,e.b.ao="comboItem",r.f=0,r.h=1,r.bh=new i.Thickness(0,5),r.bm=null!=n.ft()?n.actualDataSource.getItemProperty(e.a.x,n.ft()).toString():""}));else e.b.bs.bm=null!=this.ft()?this.actualDataSource.getItemProperty(e.a.x,this.ft()).toString():""}},r.prototype.ie=function(t,e){var n=this.m();if(null!=n){null!=this.l&&(this.v,this.l.updateNotifier=null,this.l=null),this.v=t;var r=new i.FilterFactory,o=null,s=null;switch(t){case 2:var a=this.ft();if(i.stringIsNullOrEmpty(a))return;o=e.toString(),s=r.property(a).isEqualTo(o);break;case 1:var h=this.i();if(null==h||h.length<1)return;var u=null!==i.typeCast(i.Array_$type,e)?e:[e];if(h.length!=u.length)return;for(var l=0;l<h.length;l++){var c=h[l];o=u[l];var p=r.property(c).isEqualTo(o);null==s?s=p:s.and(p)}break;case 0:default:return}this.l=n.clone(),this.l.filterExpressions.clear(),this.l.updateNotifier=new C(this,!0),this.l.filterExpressions.add(s),this.l.isVirtual||this.l.flushAutoRefresh()}},r.prototype.ih=function(){this.i5();var t=this.text,e=this.d7.length,n=i.stringIsNullOrEmpty(t)?0:t.length;this.b6&&!i.stringIsNullOrEmpty(this.d7)&&e>0&&e--,this.bd.ca(e,n)},r.prototype.ii=function(){this.by&&(this.by=!1,this.dropDown())},r.prototype.ij=function(t){this.d7=t,this.ca=!this.b7,this.im()},r.prototype.ik=function(){i.stringIsNullOrEmpty(this.d7)?this.gx():this.iw(0),this.ih(),this.b5=!1},r.prototype.gx=function(){this.ad.dr=-1},r.prototype.g6=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.i9=function(){if(this.bp){var t=this.ad,e=t.dr;if(-1!=e){var i=this.m();if(null!=i){var n=e<i.actualCount?i.getItemAtIndex(e):0;if(null==n)return;t.ci(n)}}else t.ha(0)}},r.prototype.ja=function(){if(null!=this.ad){var t=this.itemsSource;if(this.ad.ag.clear(),null!=this.ad.actualDataSource){var e=this.ad.actualDataSource;e.schemaChanged=i.delegateRemove(e.schemaChanged,i.runOn(this,this.gu))}this.ad.g=null,this.ad.itemsSource=t,this.ad.f=this.i(),this.ds=-1;var n=this.m();if(null!=n){var r=n.updateNotifier,o=new C(this,!1),s=new m(1,[r,o]);n.updateNotifier=s,n.propertiesRequested=this.f,n.schemaChanged=i.delegateCombine(n.schemaChanged,i.runOn(this,this.gu)),null!=this.value&&this.ie(1,this.value)}this.l=null}},r.prototype.gu=function(t,e){-1!=this.ds&&(this.iw(this.ds),this.ds=-1)},r.prototype.iv=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.jb=function(){if(this.i4(),this.b5){var t=this.m();this.b8=0==t.actualCount}else this.b8=!1;this.a5.bj=this.b8?0:1;this.a8.bj;this.a8.bj=this.b8?1:0},r.prototype.g8=function(t){null!=this.bd&&(t?this.bd.a0():this.bd.az())},r.prototype.iu=function(){null!=this.bd&&this.bd.b9()},Object.defineProperty(r.prototype,"bc",{get:function(){return this.a9},enumerable:!1,configurable:!0}),r.prototype.ib=function(t,e){e.a=!0,this.bh.b6?this.closeUp():this.gv(null),null!=this.bd&&(this.bd.az(),this.bd.b9())},r.prototype.g9=function(t,e){var i=e.newActiveRow;this.ha(i),this.b0=!0},r.prototype.hb=function(t,e){this.ho()},r.prototype.hd=function(t,e){this.hc(),this.b1=!0},r.prototype.he=function(){this.bp=this.ad.aw.a,this.i9()},r.prototype.hf=function(t,e){if(!e.a){this.hq(e);var i=e.b;this.ij(i)}},r.prototype.hg=function(t,e){var i=this.bd.b7;this.ij(i)},r.prototype.hh=function(t,e){this.ir()},r.prototype.hi=function(t,e){if(this.h3(e),!e.c){var n=e.g;switch(this.dt=n,this.b6=!1,n){case 8:var r=this.bd.b4;if(0==r)break;var o=this.bd.b7;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b3,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.i6(),e.d=!0;else{var u=this.ad;if(null==u)return;this.ad.dr;if(-1!=u.dr)this.ad.b1(!1,!1),e.d=!0;else{var l=this.m();if(null!=l)l.actualCount>0&&(this.iw(0),e.d=!0)}}break;case 38:if(e.a)this.closeUp(),e.d=!0;else{var c=this.ad;if(null==c)return;this.ad.dr;if(null!=c.dr)this.ac.ce(!1,!1),e.d=!0;else{var p=this.m();if(null!=p){var f=p.actualCount;f>0&&(this.iw(f-1),e.d=!0)}}}break;case 13:this.bh.b6&&(e.f=!0),this.ho();break;case 27:this.closeUp()}}},r.prototype.hj=function(t,e){},r.prototype.hk=function(t,e){if(!this.bm){this.bm=!0,this.bd.az(),this.bm=!1;var i=e.b;this.b3(i)||this.hx()}},r.prototype.hl=function(t,e){var i=e.b;this.b3(i)||this.hy()},r.$t=i.markType(r,"ComboEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),r.ag=1,r.kh=n.ThemeResolver.ah(r.ag,n.XLabel.dd,n.XLabel.c6),r.kj=n.ThemeResolver.ah(r.ag,n.XLabel.dd,n.XLabel.c6),r.ki=i.BrushUtil.h(255,255,255,255),r.ay=null,r.et="ActualNoMatchesFoundLabelBackgroundColor",r.az=null,r.kr=i.BrushUtil.h(221,0,0,0),r.d2="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",r.d4="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",r.d3="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",r}(i.Base),C=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.b?this.a.ht(t,e):this.a.hz(t,e)},n.prototype.notifySetItem=function(t,e,i){this.b?this.a.hw(t,e,i):this.a.ia(t,e,i)},n.prototype.notifyClearItems=function(){this.b?this.a.hs():this.a.hr()},n.prototype.notifyInsertItem=function(t,e){this.b?this.a.hu(t,e):this.a.h2(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.b?this.a.hv(t,e):this.a.h7(t,e)},n.$t=i.markType(n,"ComboEditorDataSourceNotificationHandler",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),j=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldText",{get:function(){return this.i.oldText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newText",{get:function(){return this.i.newText},enumerable:!1,configurable:!0}),t}(),w=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.oldValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},enumerable:!1,configurable:!0}),t}(),P=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new g},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),x=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),O=function(t){function r(){var e=t.call(this)||this;return e._implementation=null,e._disconnected=!1,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._gotFocus=null,e._gotFocus_wrapped=null,e._lostFocus=null,e._lostFocus_wrapped=null,e._textValueChanged=null,e._textValueChanged_wrapped=null,e._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._keyDown=null,e._keyDown_wrapped=null,e._change=null,e._change_wrapped=null,e._changing=null,e._changing_wrapped=null,e._textChange=null,e._textChange_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._portalManager=new i.PortalManager("ComboEditorContent"),e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{},e._portalManager),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.provideRenderer(e._webComponentRenderer),e.i.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.i.notifySizeChanged()})),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),r.prototype.updateStyle=function(){this._styling(this,this)},r.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},r.prototype.createImplementation=function(){return new v},Object.defineProperty(r.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),r.prototype.disconnectedCallback=function(){this._disconnected=!0},r.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-combo-editor"),this.classList.add("igc-combo-editor");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},r.prototype.afterContentInit=function(){this.i.notifySizeChanged()},r.prototype.attributeSynced=function(t,e){"name"===t&&this.i.setName(e)},r.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},r.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},r.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(r,"observedAttributes",{get:function(){if(null==r._observedAttributesIgcComboEditorComponent){for(var t=i.getAllPropertyNames(r),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);r._observedAttributesIgcComboEditorComponent=t}return r._observedAttributesIgcComboEditorComponent},enumerable:!1,configurable:!0}),r.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},r.register=function(){r._isElementRegistered||(r._isElementRegistered=!0,i.RegisterElementHelper.registerElement(r.htmlTagName,r))},Object.defineProperty(r.prototype,"fields",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baseTheme",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ai))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBaseTheme",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("actualBaseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ah))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderColor",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderWidth",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("borderWidth",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderWidth",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("actualBorderWidth",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingBottom",{get:function(){return this.i.k4?this.i.k4.bottom:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.bottom=+t,this._a("contentPaddingBottom",this.i.k4.bottom),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingLeft",{get:function(){return this.i.k4?this.i.k4.left:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.left=+t,this._a("contentPaddingLeft",this.i.k4.left),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingRight",{get:function(){return this.i.k4?this.i.k4.right:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.right=+t,this._a("contentPaddingRight",this.i.k4.right),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingTop",{get:function(){return this.i.k4?this.i.k4.top:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.top=+t,this._a("contentPaddingTop",this.i.k4.top),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),r.prototype.ensureContentPadding=function(){this.i.k4||(this.i.k4=new i.Thickness(2))},Object.defineProperty(r.prototype,"actualContentPaddingBottom",{get:function(){return this.i.k3?this.i.k3.bottom:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.bottom=+t,this._a("actualContentPaddingBottom",this.i.k3.bottom),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingLeft",{get:function(){return this.i.k3?this.i.k3.left:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.left=+t,this._a("actualContentPaddingLeft",this.i.k3.left),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingRight",{get:function(){return this.i.k3?this.i.k3.right:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.right=+t,this._a("actualContentPaddingRight",this.i.k3.right),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingTop",{get:function(){return this.i.k3?this.i.k3.top:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.top=+t,this._a("actualContentPaddingTop",this.i.k3.top),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),r.prototype.ensureActualContentPadding=function(){this.i.k3||(this.i.k3=new i.Thickness(2))},Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.jg?this.i.jg.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.c=+t,this._a("cornerRadiusBottomRight",this.i.jg.c),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.jg?this.i.jg.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.b=+t,this._a("cornerRadiusBottomLeft",this.i.jg.b),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.jg?this.i.jg.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.d=+t,this._a("cornerRadiusTopLeft",this.i.jg.d),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.i.jg?this.i.jg.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.e=+t,this._a("cornerRadiusTopRight",this.i.jg.e),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),r.prototype.ensureCornerRadius=function(){this.i.jg||(this.i.jg=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.jf?this.i.jf.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.c=+t,this._a("actualCornerRadiusBottomRight",this.i.jf.c),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.jf?this.i.jf.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.jf.b),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.jf?this.i.jf.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.d=+t,this._a("actualCornerRadiusTopLeft",this.i.jf.d),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.jf?this.i.jf.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.e=+t,this._a("actualCornerRadiusTopRight",this.i.jf.e),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),r.prototype.ensureActualCornerRadius=function(){this.i.jf||(this.i.jf=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"dataSourceDesiredProperties",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.i.density},set:function(t){this.i.density=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.density))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDensity",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.am))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.i.dropDownButtonVisible},set:function(t){this.i.dropDownButtonVisible=i.ensureBool(t),this._a("dropDownButtonVisible",this.i.dropDownButtonVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderColor",{get:function(){return i.brushToString(this.i.ks)},set:function(t){this.i.ks=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.ks))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderWidth",{get:function(){return this.i.di},set:function(t){this.i.di=+t,this._a("focusBorderWidth",this.i.di)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderWidth",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("actualFocusBorderWidth",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineColor",{get:function(){return i.brushToString(this.i.kt)},set:function(t){this.i.kt=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.kt))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineOpacity",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("focusUnderlineOpacity",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineOpacity",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("actualFocusUnderlineOpacity",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineRippleOpacity",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("focusUnderlineRippleOpacity",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineRippleOpacity",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("actualFocusUnderlineRippleOpacity",this.i.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineColor",{get:function(){return i.brushToString(this.i.ku)},set:function(t){this.i.ku=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.ku))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineOpacity",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("hoverUnderlineOpacity",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineOpacity",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("actualHoverUnderlineOpacity",this.i.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineWidth",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("hoverUnderlineWidth",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineWidth",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("actualHoverUnderlineWidth",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.i.actualDataSource},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this.i.fz},set:function(t){this.i.fz=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.kv)},set:function(t){this.i.kv=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.kv))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelTextColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("actualLabelTextColor",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextStyle",{get:function(){return null==this.i.a2?null:this.i.a2.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a2=e,this._a("labelTextStyle",null!=this.i.a2?this.i.a2.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.i.actualLabelVisible},set:function(t){this.i.actualLabelVisible=i.ensureBool(t),this._a("actualLabelVisible",this.i.actualLabelVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabel",{get:function(){return this.i.f5},set:function(t){this.i.f5=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.i.actualNoMatchesFoundLabel},set:function(t){this.i.actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.kw)},set:function(t){this.i.kw=i.stringToBrush(t),this._a("noMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kw))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelBackgroundColor",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kx)},set:function(t){this.i.kx=i.stringToBrush(t),this._a("noMatchesFoundLabelTextColor",i.brushToString(this.i.kx))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelTextColor",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextStyle",{get:function(){return null==this.i.a3?null:this.i.a3.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a3=e,this._a("noMatchesFoundLabelTextStyle",null!=this.i.a3?this.i.a3.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"placeholder",{get:function(){return this.i.gb},set:function(t){this.i.gb=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return i.brushToString(this.i.ky)},set:function(t){this.i.ky=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.ky))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textStyle",{get:function(){return null==this.i.a4?null:this.i.a4.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a4=e,this._a("textStyle",null!=this.i.a4?this.i.a4.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineColor",{get:function(){return i.brushToString(this.i.kz)},set:function(t){this.i.kz=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.kz))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineOpacity",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("underlineOpacity",this.i.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineOpacity",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("actualUnderlineOpacity",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleColor",{get:function(){return i.brushToString(this.i.k0)},set:function(t){this.i.k0=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.k0))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleOpacity",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("underlineRippleOpacity",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleOpacity",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("actualUnderlineRippleOpacity",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleWidth",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("underlineRippleWidth",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleWidth",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("actualUnderlineRippleWidth",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineWidth",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("underlineWidth",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineWidth",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t,this._a("actualUnderlineWidth",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"allowFilter",{get:function(){return this.i.bu},set:function(t){this.i.bu=i.ensureBool(t),this._a("allowFilter",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textField",{get:function(){return this.i.gg},set:function(t){this.i.gg=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.i.text},set:function(t){this.i.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueField",{get:function(){return this.i.j},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualValueField",{get:function(){return this.i.e},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isFixed",{get:function(){return this.i.b4},set:function(t){this.i.b4=i.ensureBool(t),this._a("isFixed",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"openAsChild",{get:function(){return this.i.b9},set:function(t){this.i.b9=i.ensureBool(t),this._a("openAsChild",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"useTopLayer",{get:function(){return this.i.cb},set:function(t){this.i.cb=i.ensureBool(t),this._a("useTopLayer",this.i.cb)},enumerable:!1,configurable:!0}),r.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(r.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),r.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},r.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ComboEditorComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},r.prototype.closeUp=function(){this.i.closeUp()},r.prototype.dropDown=function(){this.i.dropDown()},r.prototype.select=function(){this.i.select()},r.prototype.exportVisualModel=function(){return this.i.dw()},r.prototype.exportSerializedVisualModel=function(){return this.i.fk()},r.prototype.selectGridRow=function(t){this.i.it(t)},r.prototype.verifyDisplayText=function(){this.i.i5()},r.prototype.enableDisableFiltering=function(t){this.i.g6(t)},Object.defineProperty(r.prototype,"gotFocus",{get:function(){return this._gotFocus},set:function(t){var e=this;null!==this._gotFocus_wrapped&&(this.i.gotFocus=i.delegateRemove(this.i.gotFocus,this._gotFocus_wrapped),this._gotFocus_wrapped=null,this._gotFocus=null),this._gotFocus=t,this._gotFocus_wrapped=function(t,i){var n=new P;n._provideImplementation(i),e.beforeGotFocus&&e.beforeGotFocus(e,n),e._gotFocus&&e._gotFocus(e,n)},this.i.gotFocus=i.delegateCombine(this.i.gotFocus,this._gotFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lostFocus",{get:function(){return this._lostFocus},set:function(t){var e=this;null!==this._lostFocus_wrapped&&(this.i.lostFocus=i.delegateRemove(this.i.lostFocus,this._lostFocus_wrapped),this._lostFocus_wrapped=null,this._lostFocus=null),this._lostFocus=t,this._lostFocus_wrapped=function(t,i){var n=new x;n._provideImplementation(i),e.beforeLostFocus&&e.beforeLostFocus(e,n),e._lostFocus&&e._lostFocus(e,n)},this.i.lostFocus=i.delegateCombine(this.i.lostFocus,this._lostFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textValueChanged",{get:function(){return this._textValueChanged},set:function(t){var e=this;null!==this._textValueChanged_wrapped&&(this.i.textValueChanged=i.delegateRemove(this.i.textValueChanged,this._textValueChanged_wrapped),this._textValueChanged_wrapped=null,this._textValueChanged=null),this._textValueChanged=t,this._textValueChanged_wrapped=function(t,i){var n=new j;n._provideImplementation(i),e.beforeTextValueChanged&&e.beforeTextValueChanged(e,n),e._textValueChanged&&e._textValueChanged(e,n)},this.i.textValueChanged=i.delegateCombine(this.i.textValueChanged,this._textValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectedValueChanged",{get:function(){return this._selectedValueChanged},set:function(t){var e=this;null!==this._selectedValueChanged_wrapped&&(this.i.selectedValueChanged=i.delegateRemove(this.i.selectedValueChanged,this._selectedValueChanged_wrapped),this._selectedValueChanged_wrapped=null,this._selectedValueChanged=null),this._selectedValueChanged=t,this._selectedValueChanged_wrapped=function(t,i){var n=new w;n._provideImplementation(i),e.beforeSelectedValueChanged&&e.beforeSelectedValueChanged(e,n),e._selectedValueChanged&&e._selectedValueChanged(e,n)},this.i.selectedValueChanged=i.delegateCombine(this.i.selectedValueChanged,this._selectedValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"keyDown",{get:function(){return this._keyDown},set:function(t){var e=this;null!==this._keyDown_wrapped&&(this.i.keyDown=i.delegateRemove(this.i.keyDown,this._keyDown_wrapped),this._keyDown_wrapped=null,this._keyDown=null),this._keyDown=t,this._keyDown_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyDown&&e.beforeKeyDown(e,r),e._keyDown&&e._keyDown(e,r)},this.i.keyDown=i.delegateCombine(this.i.keyDown,this._keyDown_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"change",{get:function(){return this._change},set:function(t){var e=this;null!==this._change_wrapped&&(this.i.change=i.delegateRemove(this.i.change,this._change_wrapped),this._change_wrapped=null,this._change=null),this._change=t,this._change_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChange&&e.beforeChange(e,r),e._change&&e._change(e,r)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"changing",{get:function(){return this._changing},set:function(t){var e=this;null!==this._changing_wrapped&&(this.i.changing=i.delegateRemove(this.i.changing,this._changing_wrapped),this._changing_wrapped=null,this._changing=null),this._changing=t,this._changing_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,r),e._changing&&e._changing(e,r)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textChange",{get:function(){return this._textChange},set:function(t){var e=this;null!==this._textChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._textChange_wrapped),this._textChange_wrapped=null,this._textChange=null),this._textChange=t,this._textChange_wrapped=function(t,i){var n=e.text;"Text"==i.propertyName&&(e.beforeTextChange&&e.beforeTextChange(e,n),e._textChange&&e._textChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._textChange_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueChange",{get:function(){return this._valueChange},set:function(t){var e=this;null!==this._valueChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._valueChange_wrapped),this._valueChange_wrapped=null,this._valueChange=null),this._valueChange=t,this._valueChange_wrapped=function(t,i){var n=e.value;"Value"==i.propertyName&&(e.beforeValueChange&&e.beforeValueChange(e,n),e._valueChange&&e._valueChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._valueChange_wrapped)},enumerable:!1,configurable:!0}),r._observedAttributesIgcComboEditorComponent=null,r.htmlTagName="igc-combo-editor",r._isElementRegistered=!1,r}(i.IgcHTMLElement),T=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.c=0,e.b=0,e.d=i.Rect.empty,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a",{get:function(){return-1!=this.c&&-1!=this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelVisualModel"),n}(i.Base),I=function(t){return t[t.None=0]="None",t[t.SingleRow=1]="SingleRow",t[t.MultipleRow=2]="MultipleRow",t}({}),k=i.markEnum("ListPanelSelectionMode","None,0|SingleRow,1|MultipleRow,2"),S=function(t){return t[t.None=0]="None",t[t.Cell=1]="Cell",t}({}),A=i.markEnum("ListPanelActivationMode","None,0|Cell,1"),N=function(t){return t[t.Toggle=0]="Toggle",t[t.ModifierBased=1]="ModifierBased",t}({}),B=i.markEnum("ListPanelSelectionBehavior","Toggle,0|ModifierBased,1"),E=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.af=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.ag=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.u=function(t){var e=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.af||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,e,t))},n.$t=i.markType(n,"ListPanelSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),R=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=null,n.a=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"ListPanelPrimaryKeyValue"),n}(i.Base),q=function(t){function n(){var e=t.call(this,R.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(R.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,R.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ListPanelSelectedKeysCollection",i.ObservableCollection$1.$.specialize(R.$)),n}(i.ObservableCollection$1),$=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),z=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),D=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=0,e.d=0,e.h=0,e.e=0,e.f=0,e.c=0,e.a=0,e.b=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelViewportChangedEventArgs"),n}(i.Base),V=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentItems=null,e._addedItems=null,e._removedItems=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentItems",{get:function(){return this._currentItems},set:function(t){this._currentItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedItems",{get:function(){return this._addedItems},set:function(t){this._addedItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedItems",{get:function(){return this._removedItems},set:function(t){this._removedItems=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedItemsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentKeys=null,e._addedKeys=null,e._removedKeys=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentKeys",{get:function(){return this._currentKeys},set:function(t){this._currentKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedKeys",{get:function(){return this._addedKeys},set:function(t){this._addedKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedKeys",{get:function(){return this._removedKeys},set:function(t){this._removedKeys=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedKeysChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),L=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),M=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newActiveRow=0,e._oldActiveRow=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newActiveRow",{get:function(){return this._newActiveRow},set:function(t){this._newActiveRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldActiveRow",{get:function(){return this._oldActiveRow},set:function(t){this._oldActiveRow=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelActiveRowChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),F=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelItemPresenter"),n}(i.Base),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateWidthRequestedEventArgs"),n}(i.Base),G=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateHeightRequestedEventArgs"),n}(i.Base),K=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelColumnDefinition"),n}(i.Base),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.l("{ "),t.l("left: "+this.b+", "),t.l("top: "+this.c+", "),t.l("width: "+this.d+", "),t.l("height: "+this.a+" "),t.l("}"),t.toString()},n.$t=i.markType(n,"ListPanelItemVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Q=function(t){function n(){var e=t.call(this)||this;return e.c=0,e.d=0,e.e=0,e.b=0,e.a=null,e.a=new i.List$1(X.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("left: "+this.c+","),t.u("top: "+this.d+","),t.u("width: "+this.e+","),t.u("height: "+this.b+","),t.l("items: ["),this.a.count>0){t.u("");for(var e=0;e<this.a.count;e++){var n=this.a._inner[e].serialize();t=e<this.a.count-1?t.u(n+", "):t.l(n)}t.u("")}return t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ListPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.d=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d-this.f+1},enumerable:!1,configurable:!0}),n.prototype.c=function(t){return t.f>=this.f&&t.f<=this.d||t.d>=this.f&&t.d<=this.d},n.prototype.b=function(t){return t>=this.f&&t<=this.d},n.a=function(t,e){for(var i=0;i<t.count;i++)if(t._inner[i].b(e))return t._inner[i];return null},n.$t=i.markType(n,"ListPanelRowRange"),n}(i.Base),J=function(t){function n(){var e,n=t.call(this)||this;return n.p=null,n.o=null,n.a=null,n.j=null,n.n=null,n.e=null,n.m=null,n.g=new i.List$1(i.Delegate_$type,0),n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ag=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.l=null,n.k=null,n}return e.__extends(n,t),n.prototype.s=function(){return this.j},n.prototype.ab=function(){},n.prototype.z=function(t){var n,r,o=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.j=t,this.n=this.j.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.j.get2DCanvasContext(this.n)),this.m=this.j.createElement("div"),this.ae(),i.NativeUIComponent.au(this.s(),9,(function(t){var e=t;o.a.fx(e),o.k=e.an}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative"),this.g.add(t.rootWrapper.listen("mousedown",i.runOn(this,this.t))),this.g.add(t.rootWrapper.listen("mouseup",i.runOn(this,this.u)))}else{try{for(var s=e.__values(i.fromEnum(this.g)),a=s.next();!a.done;a=s.next()){(0,a.value)()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}this.j=null}},n.prototype.t=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gg(e,0==t.button,t.shiftKey,t.ctrlKey)},n.prototype.u=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gh(e,0==t.button,t.shiftKey,t.ctrlKey)},Object.defineProperty(n.prototype,"contentGrid",{get:function(){return this.k},enumerable:!1,configurable:!0}),n.prototype.ae=function(){},n.prototype.ad=function(){this.j},n.prototype.y=function(){if(null!=this.j){var t=this.j.rootWrapper.width(),e=this.j.rootWrapper.height();this.k.setRawStyleProperty("width",""),this.k.setRawStyleProperty("height","");var n=this.k.outerWidth(),r=this.k.outerHeight();0!=t&&0!=e&&(n=t,r=e),this.ag=new i.Size(1,n,r),this.a.onSizeChanged(this.ag.width,this.ag.height),this.a.aw.d.isEmpty||t==this.a.aw.d.width&&e==this.a.aw.d.height||this.a.setViewport(this.a.aw.d.left,this.a.aw.d.top,this.a.aw.d.left+t,this.a.aw.d.top+e),this.a.aw.d.isEmpty&&t>0&&e>0&&this.a.setViewport(0,0,t,e)}},n.prototype.af=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.h0),i.NativeUI.m(e,this.a.hu))}},n.prototype.d=function(){return this.b},n.prototype.aa=function(){},n.prototype.ac=function(){},n.prototype.x=function(t,e){this.k.setStyleProperty("min-width",t+"px"),this.k.setStyleProperty("min-height",e+"px"),this.a.externalListPanel.onContentSizeChanged()},n.prototype.h=function(){return this.ag.width},n.prototype.i=function(t){return this.c=this.a.a3(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.w=function(t,e){null==this.l&&(this.l=this.j.createElement("div")),e(this.l.getNativeElement())},n.prototype.v=function(){this.a.externalObject.ensureStretch()},n.$t=i.markType(n,"ListPanelView"),n}(i.Base),Z=function(t){function n(){var e=t.call(this)||this;e._view=null,e.a4=null,e.bc=!1,e.a5=null,e.y=null,e.propertyChanged=null,e.eb=null,e.viewportChanged=null,e.aw=null,e.df=-1,e.dg=-1,e.ap=0,e.bf=!0,e.hr=null,e.a8=!0,e.hp=null,e.hn=null,e.c8=i.truncate(i.DeviceUtils.g(1)),e.da=i.truncate(i.DeviceUtils.g(1)),e.c9=i.truncate(i.DeviceUtils.g(1)),e.c7=i.truncate(i.DeviceUtils.g(1)),e.q=0,e.ak=1,e.b=null,e.a=null,e.an=null,e.o=null,e.selectedItemsChanged=null,e.selectedKeysChanged=null,e.selectionChanged=null,e.activeRowChanged=null,e.af=new E,e.ai=new q,e.i=null,e.c=new Array(0),e.bs=!1,e.di=-1,e.cy=i.DeviceUtils.g(42),e.a1=null,e.bb=!0,e.ec=null,e.cz=0,e.cx=NaN,e.cw=0,e.bl=!1,e.be=!1,e.bk=!1,e.dh=-1,e.contentRefreshed=null,e.rowUpdating=null,e.a0=new i.FastIterationDictionary$2(i.Number_$type,nt.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.az=new i.FastIterationDictionary$2(nt.$,nt.$,0),e.cv=new i.Stack$1(nt.$),e.cp=new i.List$1(i.Number_$type,0),e.co=new i.List$1(i.Number_$type,0),e.ct=new i.List$1(i.Number_$type,0),e.cs=new i.List$1(i.Number_$type,0),e.dl=-1,e.cu=null,e.ax=1,e.hq=null,e.bp=!0,e.bi=!0,e.dc=-1,e.dd=-1,e.l=null,e.bw=!1,e.k=null,e.ho=n.hv,e.z=n.aa,e.bg=n.br,e.hs=n.hw,e.dj=-1,e.dk=-1,e.bh=!0,e.db=0,e._viewportManager=null,e.cq=new i.List$1(i.Number_$type,0),e.cr=new i.List$1(i.Number_$type,0),e.ck=new i.List$1(i.Base.$,0),e.cl=new i.List$1(R.$,0),e.cm=new i.List$1(i.Base.$,0),e.cn=new i.List$1(R.$,0),e.ba=!1,e.a9=!1,e.bd=!1,e.bj=!1,e.bn=!1,e.bm=!1,e.cj=!1,e.de=-1,e.bo=!1,e.a7=null,e.v=null,e.itemClicked=null,e.ao=new ot(e),e.p=new st(e),i.NativeUIInputsFactory.n(),e.aw=new T;var r=new J;return r.a=e,e.view=r,e.view.ab(),e.af.ag(i.runOn(e,e.hd)),e.ai.an(i.runOn(e,e.he)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return null==this.a5&&(this.a5=new i.SRProvider(this.view.j),this.a5.cb("Layouts")),this.a5},enumerable:!1,configurable:!0}),n.prototype.fx=function(t){this.y=new it(t)},n.prototype.onSizeChanged=function(t,e){var n=this.cx,r=this.cw;this.cx=this.view.h(),1!=this.ab&&(r==this.cw&&n==(i.isNaN_(this.cx)?0:this.cx)||this.view.x(this.cx,this.cw)),this.g3()},n.prototype.setViewport=function(t,e,n,r){this.df=-1,this.dg=-1;var o,s=new i.Rect(0,t,e,n-t,r-e);if(s.x!=this.aw.d.x||s.y!=this.aw.d.y||s.width!=this.aw.d.width||s.height!=this.aw.d.height){var a=this.aw.d;this.aw.d=s,this.g4(),null!=this.viewportChanged&&this.viewportChanged(this,((o=new D).g=s.x,o.d=a.x,o.h=s.y,o.e=a.y,o.f=s.width,o.c=a.width,o.a=s.height,o.b=a.height,o))}},n.prototype.ad=function(t,e){if(null==this.actualDataSource)return null;if(e<0||e>this.actualDataSource.actualCount-1)return null;var i=this.actualDataSource.getItemAtIndex(e);return null==i?null:this.ac(t,i)},n.prototype.ac=function(t,e){var i=null!=e&&void 0!==e.$$isSpecialRow;if(null==t)return null==e?null:R.createIdentityKey(e);if(i){var n=e;if(this.actualDataSource.isSectionContentVisible||!this.actualDataSource.isSectionHeaderNormalRow||1!=n.rowType)return R.createIdentityKey(e);if(1==n.rowType)for(var r=n.getSectionKeys(),o=0;o<r.length;o++)for(var s=0;s<t.length;s++)if(t[s]!=r[o])return R.createIdentityKey(e)}for(var a=new Array(t.length),h=0;h<t.length;h++)a[h]=this.actualDataSource.getItemProperty(e,t[h]);return new R(t,a)},n.prototype.d6=function(t){return null==this.actualDataSource?-1:null!=this.actualDataSource.actualPrimaryKey&&this.actualDataSource.isKeyIndexLookupSupported?this.actualDataSource.indexOfKey(t.value):-1},n.prototype.ee=function(t){var e=this.d6(t);return-1==e?null!=t.value&&1==t.value.length?t.value[0]:null:this.actualDataSource.getItemAtIndex(e)},n.prototype.e=function(){return null!=this.actualDataSource?this.actualDataSource.actualPrimaryKey:this.d},Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.gi("SelectionMode",i.enumGetBox(k,e),i.enumGetBox(k,this.ap))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,this.bf!=e&&this.gi("IsActiveRowStyleEnabled",e,this.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,this.hr!=e&&this.gi("SelectedBackground",e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.a8},set:function(t){this.a8=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.hp},set:function(t){var e=this.hp;this.hp=t,this.hp!=e&&this.gi("NormalBackground",e,this.hp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.hn},set:function(t){var e=this.hn;this.hn=t,this.hn!=e&&this.gi("ActivationBorder",e,this.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dn",{get:function(){return this.c8},set:function(t){var e=this.c8;this.c8=t,this.c8!=e&&this.gi("ActivationBorderLeftWidth",e,this.c8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dq",{get:function(){return this.da},set:function(t){var e=this.da;this.da=t,this.da!=e&&this.gi("ActivationBorderTopWidth",e,this.da)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.c9},set:function(t){var e=this.c9;this.c9=t,this.c9!=e&&this.gi("ActivationBorderRightWidth",e,this.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.c7},set:function(t){var e=this.c7;this.c7=t,this.c7!=e&&this.gi("ActivationBorderBottomWidth",e,this.c7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.gi("ActivationMode",i.enumGetBox(A,e),i.enumGetBox(A,this.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.gi("SelectionBehavior",i.enumGetBox(B,e),i.enumGetBox(B,this.ak))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.gi("PrimaryKey",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.gi("ActualPrimaryKey",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.an},set:function(t){this.an=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.o},set:function(t){this.o=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ai},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.gi("ItemsSource",e,this.eb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,this.c!=e&&this.gi("SchemaIncludedProperties",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDataSource",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.i!=e&&this.gi("ActualDataSource",e,this.i)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.view.y()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.view.z(t)},Object.defineProperty(n.prototype,"ea",{get:function(){return this.di},set:function(t){var e=this.di;this.di=t,e!=this.di&&this.gi("RowHeight",e,this.di)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c2",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.gi("ActualRowHeight",e,this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.gi("CellTextStyle",e,this.a1)},enumerable:!1,configurable:!0}),n.prototype.a3=function(){return null==this.a2?this.view.d():this.a2},Object.defineProperty(n.prototype,"bt",{get:function(){return 1==this.ab},enumerable:!1,configurable:!0}),n.prototype.gi=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gv(t,e,n)},n.prototype.fj=function(t,e){this.ge()},n.prototype.gy=function(){this.bk||(this.bk=!0,this.k.enqueueAction(i.runOn(this,this.fm)))},n.prototype.fm=function(){this.bk&&(this.bk=!1,this.fu(),this.bp&&this.fh(),this.gz(),this.g2(),null!=this.contentRefreshed&&this.contentRefreshed(this,new F))},n.prototype.fu=function(){this.bi&&(this.fg(),1==this.ab&&this.y.g(new i.Size(1,this.cx,this.cw)))},n.prototype.g2=function(){if(null!=this.actualDataSource){this.dh=this.actualDataSource.actualCount;for(var t=0;t<this.az.o.count;t++)if(!this.az.p._inner[t]){this.az.o._inner[t];var e=this.az.q._inner[t];this.y.f(e)}this.r;for(var i=0;i<this.a0.o.count;i++)if(!this.a0.p._inner[i]){this.a0.o._inner[i];var n=this.a0.q._inner[i];this.fq(n),this.fs(n),this.fo(n),this.y.d(this,n)}}},n.prototype.fs=function(t){t.p&&(t.k?t.b.a.bg=new i.Thickness(1,this.dn,this.dq,this.dp,this.dm):t.b.a.bg=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.a9=this.ht:t.b.a.a9=null,t.n?t.b.a.a8=this.hz:t.b.a.a8=this.hx)},n.prototype.fo=function(t){t.m&&(t.m=!1,this.ft(t))},n.prototype.ft=function(t){if(null!=this.rowUpdating){var e=this.c4(t.v);this.rowUpdating(this,((i=new tt).a=t,i.b=t.b.a.bl(0),i.d=t.b.a.an,i.c=e,i))}var i},n.prototype.fq=function(t){var e=this;null==t.b&&(t.b=new H,i.NativeUIComponent.av(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bn(r),0==e.ab?n.f=3:n.f=0,t.b.a=n,null!=e.hx&&(t.b.a.a8=e.hx)})))},n.prototype.fh=function(){if(this.bp&&(this.bp=!1,this.fw(),this.dc=this.d8(),this.dd=this.d9(),this.aw.c=this.dc,this.aw.b=this.dd,-1!=this.dc&&-1!=this.dd)){for(var t=new i.List$1(i.Number_$type,0),e=0;e<this.a0.o.count;e++)if(!this.a0.p._inner[e]){var n=this.a0.o._inner[e];this.a0.q._inner[e];(n<this.dc||n>this.dd)&&t.add(n)}for(var r=0;r<t.count;r++)this.g5(t._inner[r]);for(var o=this.dc;o<=this.dd;o++){this.fp(o);var s=this.a0.item(o);s.u=this.c6(o),s.s=this.c5(o)}}},n.prototype.c5=function(t){if(0==this.ab)return 0;if(2==this.ab){var e=this.d4(t);return this.ct._inner[e]}return this.ct._inner[t]},n.prototype.d4=function(t){return t%this.cu.count},n.prototype.d5=function(t){var e=Math.floor(t/this.cu.count);return i.truncate(e)},n.prototype.c6=function(t){if(1==this.ab)return 0;if(2==this.ab){var e=this.d5(t);return this.bx?this.cp._inner[e]:e*this.c2}return this.bx?this.cp._inner[t]:t*this.c2},n.prototype.fp=function(t){if(!this.a0.d(t)){var e=this.x(t);e.i&&(this.az.f(e),e.i=!1,e.o=!0),this.a0.s(t,e)}},n.prototype.x=function(t){var e=this.cv.f>0?this.cv.e():new nt;return e.v=t,e.t=this.c2,e},n.prototype.g5=function(t){var e=this.a0.item(t);this.g1(e),this.a0.f(t),e.i=!0,this.az.s(e,e)},n.prototype.g1=function(t){this.cv.h(t)},n.prototype.d9=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.aw.d.isEmpty){if(0==this.ab){if(this.bx){this.fu();var t=this.aw.d.bottom,e=this.dw(t);return this.cp._inner[e]+this.co._inner[e]<t&&(e+=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.aw.d.bottom,r=i.truncate(Math.ceil(n/this.c2));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ab){if(this.bx){this.fu();var o=this.aw.d.bottom,s=this.dw(o);return this.cp._inner[s]+this.co._inner[s]<o&&(s+=1),s*=this.cu.count,s+=this.cu.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.aw.d.bottom,h=i.truncate(Math.floor(a/this.c2));return h*=this.cu.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.fu();var u=this.aw.d.right,l=this.dx(u);return this.ct._inner[l]+this.cs._inner[l]<u&&(l+=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return this.actualDataSource.actualCount-1},n.prototype.dw=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cp,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cp.count-1&&(e=this.cp.count-1),e},n.prototype.dx=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.ct,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.ct.count-1&&(e=this.ct.count-1),e},n.prototype.d8=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.aw.d.isEmpty){if(0==this.ab){if(this.bx){this.fu();var t=this.aw.d.top,e=this.dw(t);return this.cp._inner[e]>t&&(e-=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.aw.d.top,r=i.truncate(Math.floor(n/this.c2));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ab){if(this.bx){this.fu();var o=this.aw.d.top,s=this.dw(o);return this.cp._inner[s]>o&&(s-=1),s*=this.cu.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.aw.d.top,h=i.truncate(Math.floor(a/this.c2));return h*=this.cu.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.fu();var u=this.aw.d.left,l=this.dx(u);return this.ct._inner[l]>u&&(l-=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return 0},n.prototype.c4=function(t){return 2==this.ab&&(t=this.d4(t)),this.cs.count>0&&t<this.cs.count?this.cs._inner[t]:0},n.prototype.c3=function(t){return 2==this.ab&&(t=this.d5(t)),this.co.count>0&&t<this.co.count?this.co._inner[t]:this.c2},n.prototype.fg=function(){var t=this;this.co.clear(),this.cp.clear(),this.cs.clear(),this.ct.clear();var e=0!=this.r,n=this.dq+this.dm,r=this.dn+this.dp;if(null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var o=this.cw,s=i.isNaN_(this.cx)?0:this.cx;if(0==this.ab)if(this.bx){for(var a=0,h=function(i){u.cp.add(a);var r,o=u.c2;if(null!=u.itemHeightRequested){var s=((r=new G).b=i,r.c=t.actualDataSource.getItemAtIndex(i),r.a=o,r);u.itemHeightRequested(u,s),o=s.a,e&&(o+=n),a+=o}u.co.add(o)},u=this,l=0;l<this.actualDataSource.actualCount;l++)h(l);this.cw=a}else this.cw=this.c2*this.actualDataSource.actualCount;else if(2==this.ab){var c=new i.List$1(K.$,0),p=this.ds(c,2147483647);if(this.bx){for(var f=0,d=function(i){b.cp.add(f);for(var r=b.c2,o=0,s=i*c.count,a=function(i){var a,h=i+s;if(h>b.actualDataSource.actualCount-1)return"continue";if(null!=b.itemHeightRequested){var u=((a=new G).b=h,a.c=t.actualDataSource.getItemAtIndex(h),a.a=r,a);b.itemHeightRequested(b,u);var l=u.a;e&&(l+=n),o=Math.max(o,l)}},h=0;h<c.count;h++)a(h);f+=r=o,b.co.add(r)},b=this,g=0;g<p;g++)d(g);this.cw=f}else this.cw=this.c2*p;this.cu=c,this.dl=p;for(var y=0,m=0;m<this.cu.count;m++)this.ct.add(y),this.cs.add(this.cu._inner[m].a),y+=this.cu._inner[m].a}else{this.cw=this.c2;for(var _=0,v=function(i){C.ct.add(_);var n,o=0;if(null!=C.itemWidthRequested){var s=((n=new W).b=i,n.c=t.actualDataSource.getItemAtIndex(i),n.a=o,n);C.itemWidthRequested(C,s),o=s.a,e&&(o+=r),_+=o}C.cs.add(o)},C=this,j=0;j<this.actualDataSource.actualCount;j++)v(j);this.cx=_}o==this.cw&&s==(i.isNaN_(this.cx)?0:this.cx)||this.view.x(this.cx,this.cw)}},n.prototype.ds=function(t,e){for(var i=this,n=0,r=0,o=this.view.h(),s=0,a=o-=5,h=this.actualDataSource.actualCount,u=function(h){var u,c=0;if(null!=l.itemWidthRequested){var p=((u=new W).b=h,u.c=i.actualDataSource.getItemAtIndex(h),u.a=c,u);l.itemWidthRequested(l,p),c=p.a}if(s+c>o&&r>0||r>=e){if(0!=n&&r<e&&e>1)return t._inner[r].a=c,l.g7(o,t),0==t.count?{value:0}:{value:l.ds(t,t.count)};e=Math.max(Math.min(e,r),1),n++;var f=o-s;f<a&&(a=f),s=0,r=0}if(t.count<=r){var d=new K;d.a=c,t.add(d),r++}else{var b=t._inner[r];if(c>b.a){var g=c-b.a;if(b.a=c,g>a&&e>1)return l.g7(o,t),0==t.count?{value:0}:{value:l.ds(t,t.count)};(a-=g)<0&&(a=0),r++}else c=b.a,r++}s+=c},l=this,c=0;c<h;c++){var p=u(c);if("object"==typeof p)return p.value}return n+1},n.prototype.g7=function(t,n){var r,o,s=0;try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){s+=h.value.a}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}for(;s>t;){if(n.count<1)return;s-=n._inner[n.count-1].a,n.removeAt(n.count-1)}},n.prototype.fv=function(){this.bk&&this.fm()},Object.defineProperty(n.prototype,"ay",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.gi("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.ax))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,e!=this.hq&&this.gi("ScrollbarBackground",e,this.hq)},enumerable:!1,configurable:!0}),n.prototype.g3=function(){var t=i.isNaN_(this.cx)?0:this.cx,e=this.cw;this.bl=!0,this.f1(this.cz),t==(i.isNaN_(this.cx)?0:this.cx)&&e==this.cw||this.externalListPanel.onContentSizeChanged(),this.bl=!1,this.f2(),this.gy()},n.prototype.f2=function(){this.bp=!0,this.dc=-1,this.dd=-1},n.prototype.f1=function(t){this.bi=!0,this.cz=t},n.prototype.fw=function(){this.be&&(this.be=!1,this.g3(),this.f0())},n.prototype.g4=function(){this.be?this.fw():(this.f2(),this.gy(),this.fv())},n.prototype.d0=function(){return this.bp&&this.fh(),this.dd},n.prototype.dy=function(){return this.bp&&this.fh(),this.dc},n.prototype.ch=function(){return this.dc>=0&&this.dd>=0},n.prototype.f0=function(){if(this.ch()){var t=this.dy(),e=this.d0();this.fz(t,e)}},n.prototype.fz=function(t,e){var i=this.dy(),n=this.d0();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.gz(),this.g4())},n.prototype.gz=function(){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount)for(var t=0!=this.r,e=0!=this.aq,i=0;i<this.a0.q.count;i++)if(!this.a0.p._inner[i]){var n=this.a0.q._inner[i];n.x=this.actualDataSource.getItemAtIndex(n.v),n.t=this.c2,t&&(this.p.c(n)?n.j=!0:n.j=!1,n.k=!0),e&&(this.ao.j(n)?n.n=!0:n.n=!1,n.k=!1)}},n.prototype.g0=function(t){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount&&this.a0.d(t)){var e=this.a0.item(t);e.x=this.actualDataSource.getItemAtIndex(e.v),e.t=this.c2}},n.prototype.gx=function(){this.be||(this.be=!0,this.f2(),this.gy())},n.prototype.fy=function(t){this.g0(t)},n.prototype.ge=function(){this.be?this.fw():(this.g3(),this.f0())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.l},set:function(t){this.l=t},enumerable:!1,configurable:!0}),n.prototype.cg=function(){return 0!=this.aq||0!=this.r},n.prototype.gv=function(t,e,n){var r=this;switch(t){case"SchemaIncludedProperties":null!=this.i&&(this.i.schemaIncludedProperties=this.g);break;case"ItemsSource":if(null!=this.i){var o=this.i;o.schemaChanged=i.delegateRemove(o.schemaChanged,i.runOn(this,this.fj)),this.i.updateNotifier=null}if(null!==i.typeCast(i.IDataSource_$type,this.itemsSource))this.actualDataSource=this.itemsSource;else{var s=this.externalListPanel.createLocalDataSource(this.itemsSource,this.g);this.actualDataSource=s}if(null!=this.i){var a=this.i;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.fj)),this.i.updateNotifier=new et(this),null!=this.i.actualSchema&&(this.gx(),this.k.enqueueAction((function(){return r.ge()})))}break;case"RowHeight":this.c2=this.ea;break;case"CellTextStyle":case"BackgroundColor":case"TextColor":this.f0();break;case"Orientation":case"ActualRowHeight":this.g3();break;case"ScrollbarStyle":this.externalListPanel.setScrollbarStyle(this.ay);break;case"ScrollbarBackground":this.externalListPanel.setScrollbarColor(this.hy);break;case"ActiveRow":this.de=i.typeGetValue(e),this.bo=!0,-1!=this.dr&&this.dr>=0?this.p.k(this.dr):this.p.o(),this.bo=!1;break;case"SelectedBackground":case"ActivationBorder":case"ActivationBorderLeftWidth":case"ActivationBorderRightWidth":case"ActivationBorderBottomWidth":case"ActivationBorderTopWidth":this.gx();break;case"ActivationMode":this.bw=this.cg();break;case"SelectionMode":switch(this.bw=this.cg(),this.aq){case 1:if(this.aj.count>1){var h=this.aj._inner[this.aj.count-1];this.aj.clear(),this.aj.add(h)}break;case 2:break;case 0:this.aj.count>0&&this.aj.clear()}}},n.prototype.h1=function(){var t=this.cw,e=0;!i.isNaN_(t)&&t>=0&&(e=t);var n=0;if(1==this.ab)for(var r=0;r<this.cs.count;r++){var o=this.cs._inner[r];!i.isNaN_(o)&&o>=0&&(n+=o)}else if(2==this.ab)for(var s=0;s<this.cs.count;s++){var a=this.cs._inner[s];!i.isNaN_(a)&&a>=0&&(n+=a)}else!i.isNaN_(this.cx)&&this.cx>=0&&(n=this.cx);return new i.Size(1,n,e)},n.prototype.gd=function(t,e){if(1==this.r&&-1!=this.dr&&this.dr>=t&&this.dr<=e&&null!=this.activeRowChanged){var i=new M;i.newActiveRow=this.dr,i.oldActiveRow=this.dr,this.activeRowChanged(this,i)}var n=this.dy(),r=this.d0();e<n||t>r||(t<n&&(t=n),e>r&&(e=r),this.ch()&&(this.d2()!=this.dh?this.g3():this.g4(),this.fi()))},n.prototype.fi=function(){if(!this.aw.d.isEmpty){if(1==this.ab){if(this.aw.d.right>this.absoluteWidth||this.aw.d.left>this.absoluteWidth){var t=this.d2()-1;t<0&&(t=0),this.ha(t)}}else if(this.aw.d.bottom>this.absoluteHeight||this.aw.d.top>this.absoluteHeight){var e=this.d2()-1;e<0&&(e=0),this.ha(e)}2==this.ab&&(this.aw.d.right>this.absoluteWidth||this.aw.d.left>this.absoluteWidth)&&this.g9(this.cu.count-1)}},n.prototype.gs=function(t,e,i){if(0==this.ab){if(this.bx){var n=this.c2;if(null!=this.itemHeightRequested){var r=new G;r.c=i,r.b=t,r.a=n,this.itemHeightRequested(this,r),n=r.a}var o=this.co._inner[t];this.co._inner[t]=n;for(var s=n-o,a=t;a<this.actualDataSource.actualCount;a++)this.cp._inner[a]+=s}}else{if(2==this.ab)return void this.g3();var h=0;if(null!=this.itemWidthRequested){var u=new W;u.c=i,u.b=t,u.a=h,this.itemWidthRequested(this,u),h=u.a}var l=this.cs._inner[t];this.cs._inner[t]=h;for(var c=h-l,p=t;p<this.actualDataSource.actualCount;p++)this.ct._inner[p]+=c}this.fy(t)},n.prototype.gc=function(){this.g3()},n.prototype.gf=function(t,e){if(0==this.ab){if(this.bx){var i=this.c2;if(null!=this.itemHeightRequested){var n=new G;n.c=e,n.b=t,n.a=i,this.itemHeightRequested(this,n),i=n.a}this.co.insert(t,i);var r=0;if(t>0)r=this.cp._inner[t-1]+this.co._inner[t-1];this.cp.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.cp._inner[o]+=i}}else{if(2==this.ab)return void this.g3();var s=0;if(null!=this.itemWidthRequested){var a=new W;a.c=e,a.b=t,a.a=s,this.itemWidthRequested(this,a),s=a.a}this.cs.insert(t,s);var h=0;t>0&&(h=this.ct._inner[t-1]+this.cs._inner[t-1]);this.ct.insert(t,h);for(var u=t;u<this.actualDataSource.actualCount;u++)this.ct._inner[u]+=s}this.gx()},n.prototype.gj=function(t,e){if(0==this.ab){for(var i=this.co._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.cp._inner[n]-=i;this.co.removeAt(t),this.cp.removeAt(t)}else{if(2==this.ab)return void this.g3();for(var r=this.cs._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.ct._inner[o]-=r;this.cs.removeAt(t),this.ct.removeAt(t)}this.gx()},n.prototype.f6=function(t,e,i){null!=this.i&&this.i.notifySetItem(t,e,i)},n.prototype.f3=function(){null!=this.i&&this.i.notifyClearItems()},n.prototype.f4=function(t,e){null!=this.i&&this.i.notifyInsertItem(t,e)},n.prototype.f5=function(t,e){null!=this.i&&this.i.notifyRemoveItem(t,e)},n.prototype.dt=function(t){return null==this.i?-1:this.i.indexOfItem(t)},n.prototype.du=function(t){return null==this.i?-1:this.i.indexOfKey(t)},Object.defineProperty(n.prototype,"hu",{get:function(){return this.ho},set:function(t){var e=this.ho;this.ho=t,e!=this.ho&&this.gi("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.gi("Orientation",i.enumGetBox(z,e),i.enumGetBox(z,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.gi("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,e!=this.hs&&this.gi("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteWidth",{get:function(){return this.cx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteHeight",{get:function(){return this.cw},enumerable:!1,configurable:!0}),n.prototype.ed=function(){var t,n,r=this,o=new Q,s=this.y.h();o.c=s.left,o.d=s.top,o.e=s.width,o.b=s.height;try{for(var a=e.__values(i.fromEnum(this.a0.n)),h=a.next();!h.done;h=a.next()){var u=h.value;o.a.add(u.a(this.y))}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o.a.aa((function(t,e){return 0==r.ab?t.c<e.c?-1:t.c==e.c?0:1:2==r.ab?t.c==e.c?t.b<e.b?-1:t.b==e.b?0:1:t.c<e.c?-1:t.c==e.c?0:1:t.b<e.b?-1:t.b==e.b?0:1})),o},n.prototype.ev=function(){return this.ed().serialize()},Object.defineProperty(n.prototype,"by",{get:function(){return this.bh},set:function(t){this.bh=t},enumerable:!1,configurable:!0}),n.prototype.hc=function(){2==this.aq&&this.ao.v()},n.prototype.b7=function(t,e,i){if(this.by)switch(t){case 30:if(i)return this.hc(),!0;break;case 32:return!1}return!1},n.prototype.bz=function(){return-1==this.db},Object.defineProperty(n.prototype,"dr",{get:function(){return this.db},set:function(t){var e=this.db;this.db=t,e!=this.db&&this.gi("ActiveRow",e,this.db)},enumerable:!1,configurable:!0}),n.prototype.ff=function(t,e,i){if(void 0===i&&(i=!1),this.aw.a&&(i||(t<=this.dy()?this.ha(t):t>=this.d0()&&(e?this.ha(t):this.g8(t))),2==this.ab)){var n=this.dz(),r=this.d1(),o=this.d3(t);o<=n?this.hb(o):o>=r&&this.g9(o)}},n.prototype.g9=function(t){var e=i.truncate(this.aw.d.top);if(-1!=this.dg&&(e=this.dg),2==this.ab){var n=0,r=0;for(r=0;r<this.cu.count&&(n+=this.cu._inner[r].a,t!=r);r++);(n-=this.aw.d.width)<0&&(n=0),this.dg=e,this.df=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.hb=function(t){var e=i.truncate(this.aw.d.top);if(-1!=this.dg&&(e=this.dg),2==this.ab){var n=0,r=0;for(r=0;r<this.cu.count&&t!=r;r++)n+=this.cu._inner[r].a;this.dg=e,this.df=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.d3=function(t){return 2==this.ab?this.d4(t):-1},n.prototype.d1=function(){if(2==this.ab){var t=0,e=0;for(e=0;e<this.cu.count;e++)if((t+=this.cu._inner[e].a)>this.aw.d.right)return Math.min(Math.max(e-1,0),this.cu.count-1);return Math.min(e,this.cu.count-1)}return-1},n.prototype.dz=function(){if(2==this.ab){var t=0,e=0;for(e=0;e<this.cu.count;e++)if((t+=this.cu._inner[e].a)>this.aw.d.left)return Math.min(Math.max(e,0),this.cu.count-1);return e}return-1},n.prototype.ha=function(t){if(!this.aw.d.isEmpty){var e=i.truncate(this.aw.d.left);-1!=this.df&&(e=this.df);var n=0;t<0&&(t=0),t>=this.d2()&&(t=this.d2()-1);var r=0;if(r=i.truncate(Math.floor(t)),2==this.ab&&(r=i.truncate(Math.floor(r/this.cu.count))),n=this.cp.count>0?i.truncate(Math.floor(this.cp._inner[r])):i.truncate(Math.floor(this.c2*r)),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.co._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cw>0&&this.aw.d.height>0&&n+this.aw.d.height>this.cw&&(n=i.truncate(Math.round(this.cw-this.aw.d.height))),n<0&&(n=0),this.dg=n,this.df=e,this.viewportManager.moveViewportTo(e,n)}},n.prototype.g8=function(t){var e=i.truncate(this.aw.d.left);-1!=this.df&&(e=this.df);var n=0;t<0&&(t=0),t>=this.d2()&&(t=this.d2()-1);var r=i.truncate(Math.floor(t));if(2==this.ab&&(r=i.truncate(Math.floor(r/this.cu.count))),n=0==this.cp.count?i.truncate(Math.round(this.c2*t+this.c2)):i.truncate(Math.floor(this.cp._inner[r]+this.co._inner[r])),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.co._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cw>0&&this.aw.d.height>0&&(n-=i.truncate(Math.round(this.aw.d.height))),this.cw>0&&this.aw.d.height>0&&n+this.aw.d.height>this.cw&&(n=i.truncate(Math.round(this.cw-this.aw.d.height))),n<0&&(n=0),this.dg=n,this.df=e,this.viewportManager.moveViewportTo(e,n)},Object.defineProperty(n.prototype,"viewportManager",{get:function(){return this._viewportManager},set:function(t){this._viewportManager=t},enumerable:!1,configurable:!0}),n.prototype.b1=function(t,e){if(1==this.ab)return!1;if(0==this.r||this.bz())return!1;var i=this.dr;if(i>this.d2()-1)return!1;var n=i+1;if(2==this.ab&&(n=i+this.cu.count),e&&(n=this.d2()-1),n>this.d2()-1&&(n=this.d2()-1),n==i)return!1;if(this.dr=n,this.aw.a&&this.ff(n,!1),this.bm=!1,2==this.aq&&t){-1==this.dk&&(this.dk=i);var r=Math.min(this.dk,n),o=Math.max(this.dk,n);this.hf(r,o)}else this.dk=-1,this.dj=-1,this.cq.clear(),this.cr.clear();return this.gr(),!0},n.prototype.gr=function(){this.bm&&null!=this.selectionChanged&&(this.selectionChanged(this,new L),this.bm=!1)},n.prototype.hf=function(t,e){for(var i=t;i<=e;i++)if(!this.cq.contains(i)&&!this.cr.contains(i)){var n=this.ad(this.e(),i);if(null!=n){if(this.ao.h(n)){this.cq.add(i);continue}this.cr.add(i),this.aj.add(n),this.ao.z(i)}}for(var r=0;r<this.cr.count;r++)if(this.cr._inner[r]<t||this.cr._inner[r]>e){var o=this.ad(this.e(),this.cr._inner[r]);if(null!=o){this.cr.removeAt(r),r--;var s=this.aj.indexOf(o),a=this.ag._inner[s];this.aj.remove(o),this.cl.remove(o),this.cn.remove(o),this.ck.remove1(a),this.cm.remove1(a)}}},n.prototype.b2=function(t,e){if(0==this.r||this.bz())return!1;var i=this.dr,n=this.dr;if(e){if(n>=this.d2()-1)return!1;n=this.d2()-1}else if(2==this.ab&&this.d3(n)==this.cu.count-1)return!1;if(2==this.ab){var r=n-this.d3(n)+this.cu.count;r>this.d2()-1&&(r=this.d2()-1),n=r}return n!=i&&(this.dr=n,this.ff(n,!1),!0)},n.prototype.b6=function(t,e){var i=this.db,n=this.db;if(e){if(n<=0)return!1;n=0}else if(2==this.ab&&0==this.d3(n))return!1;if(2==this.ab){var r=n-this.d3(n);r<0&&(r=0),n=r}return n!=i&&(this.dr=n,this.ff(n,!1),!0)},n.prototype.b8=function(t,e){if(0==this.ab)return!1;if(0==this.r||this.bz())return!1;var i=this.dr;if(i<=0)return!1;var n=i-1;if(e&&(n=0),e&&2==this.ab&&(n=i-this.d3(i))<0&&(n=0),n<0&&(n=0),n==i)return!1;if(this.dr=n,this.aw.a&&this.ff(n,!1),this.bm=!1,2==this.aq&&t){-1==this.dk&&(this.dk=i);var r=Math.min(this.dk,n),o=Math.max(this.dk,n);this.hf(r,o)}else this.dk=-1,this.dj=-1,this.cq.clear(),this.cr.clear();return this.gr(),!0},n.prototype.b9=function(t,e){if(0==this.r||this.bz())return!1;this.dy();var i=this.d0(),n=Math.min(i+1,this.d2()-1);return this.dr=n,this.ff(n,!0),!0},n.prototype.ca=function(t,e){if(0==this.r||this.bz())return!1;var i=this.dy(),n=this.d0()-i,r=Math.max(i-n-1,0);return this.dr=r,this.ff(r,!1),!0},n.prototype.cb=function(t,e){if(0==this.ab)return!1;if(0==this.r||this.bz())return!1;var i=this.dr;if(i<=0)return!1;var n=i-1;if(e&&(n=this.d2()-1),e&&2==this.ab&&(n=i-this.d3(i)+this.cu.count)>this.d2()-1&&(n=this.d2()-1),n>this.d2()-1&&(n=this.d2()-1),n==i)return!1;if(this.dr=n,this.aw.a&&this.ff(n,!1),this.bm=!1,2==this.aq&&t){-1==this.dk&&(this.dk=i);var r=Math.min(this.dk,n),o=Math.max(this.dk,n);this.hf(r,o)}else this.dk=-1,this.dj=-1,this.cq.clear(),this.cr.clear();return this.gr(),!0},n.prototype.cd=function(t,e){return 0!=this.r&&!this.bz()&&(0==this.ab?this.b1(t,e):this.cb(t,e))},n.prototype.gu=function(){},n.prototype.ce=function(t,e){if(1==this.ab)return!1;if(0==this.r||this.bz())return!1;var i=this.dr;if(i<=0)return!1;var n=i-1;if(2==this.ab&&(n=i-this.cu.count)<0&&(n=0),e&&(n=0),n<=0&&(n=0),n==i)return!1;if(this.dr=n,this.aw.a&&this.ff(n,!1),this.bm=!1,2==this.aq&&t){-1==this.dk&&(this.dk=i);var r=Math.min(this.dk,n),o=Math.max(this.dk,n);this.hf(r,o)}else this.dk=-1,this.dj=-1,this.cq.clear(),this.cr.clear();return this.gr(),!0},n.prototype.b3=function(t,e){return!1},n.prototype.b4=function(){return!1},n.prototype.b5=function(){return!1},n.prototype.cc=function(t,e){return!1},n.prototype.fr=function(){this.view.v()},Object.defineProperty(n.prototype,"bu",{get:function(){return this.bd},set:function(t){this.bd=t},enumerable:!1,configurable:!0}),n.prototype.fe=function(t){void 0===t&&(t=!1),this.ck.clear(),this.cl.clear(),this.cm.clear(),this.cn.clear(),this.a9=!0,this.ba=t},n.prototype.fn=function(){this.a9&&(this.bu=!0,this.hm(this.ck,this.cl,this.cm,this.cn),this.bu=!1),this.a9=!1},Object.defineProperty(n.prototype,"b0",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.gi("NotifyOnAllSelectionChanges",e,this.bj)},enumerable:!1,configurable:!0}),n.prototype.hm=function(t,e,i,n){if(0!=t.count||0!=e.count||0!=i.count||0!=n.count){var r=this.b0;if(this.b0=!1,!this.bn&&!this.ba&&(t.count>0&&(this.ag.o(t),this.aj.o(e),this.bm=!0),i.count>0)){this.aj.ah=!0,this.ag.af=!0;for(var o=i.count-1;o>=0;o--){var s=this.aj.al(n._inner[o]);s>=0&&(this.ag.removeAt(s),this.aj.removeAt(s))}this.ag.af=!1,this.aj.ah=!1,this.bm=!0}this.b0=r,this.gm(i,t),this.gp(n,e)}},n.prototype.hd=function(t,n){var r,o,s,a,h,u,l,c=this;if(this.bm=!0,!this.bu&&null!=this.actualDataSource&&!this.bn){switch(this.bn=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ac(this.e(),n.newItems.item(p));this.aj.ae.insert(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.aj.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.aj.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.ac(this.e(),n.newItems.item(g));this.aj.ae.insert(g+n.newStartingIndex,y)}break;case 4:this.aj.clear();try{for(var m=e.__values(i.fromEnum(this.ag.ae)),_=m.next();!_.done;_=m.next()){var v=_.value,C=this.ac(this.e(),v);this.aj.add(C)}}catch(t){r={error:t}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.ao.af(),this.bn=!1}if(this.b0&&null!=this.selectedItemsChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){j=new E;try{for(var w=e.__values(i.fromEn(n.newItems)),P=w.next();!P.done;P=w.next()){var x=P.value;j.add1(x)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var O=null;if(null!=n.oldItems&&n.oldItems.count>0){O=new E;try{for(var T=e.__values(i.fromEn(n.oldItems)),I=T.next();!I.done;I=T.next()){var k=I.value;O.add1(k)}}catch(t){h={error:t}}finally{try{I&&!I.done&&(u=T.return)&&u.call(T)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new V).addedItems=j,l.removedItems=O,l.currentItems=c.ag,l))}},n.prototype.he=function(t,n){var r,o,s,a,h,u,l,c=this;if(!this.bu&&null!=this.actualDataSource&&!this.bn){switch(this.bn=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ee(n.newItems.item(p));this.ag.ae.insert1(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.ag.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.ag.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.ee(n.newItems.item(g));this.ag.ae.insert1(g+n.newStartingIndex,y)}break;case 4:this.ag.clear();try{for(var m=e.__values(i.fromEnum(this.aj.ae)),_=m.next();!_.done;_=m.next()){var v=_.value,C=this.ee(v);this.ag.add1(C)}}catch(t){r={error:t}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.ao.af(),this.bn=!1}if(this.b0&&null!=this.selectedKeysChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){(j=new q).ag=!1;try{for(var w=e.__values(i.fromEn(n.newItems)),P=w.next();!P.done;P=w.next()){var x=P.value;j.add(x)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var O=null;if(null!=n.oldItems&&n.oldItems.count>0){(O=new q).ag=!1;try{for(var T=e.__values(i.fromEn(n.oldItems)),I=T.next();!I.done;I=T.next()){var k=I.value;O.add(k)}}catch(t){h={error:t}}finally{try{I&&!I.done&&(u=T.return)&&u.call(T)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new U).addedKeys=j,l.removedKeys=O,l.currentKeys=c.aj,l))}},n.prototype.hj=function(t,e){this.gx()},n.prototype.gk=function(t,e){if(null==t){var i=this.aj.ae.indexOf(e);i>-1&&this.ag.ae.count>0&&(t=this.ag.ae._inner[i])}null!=t&&(this.bu=!0,this.a9?(this.ck.add1(t),this.cl.add(e),this.ba&&this.fd(t,e,!1)):this.fd(t,e,!0),this.bu=!1)},n.prototype.hk=function(t,e){this.gx()},n.prototype.gl=function(t,e){if(null==t){var i=this.aj.ae.indexOf(e);i>-1&&this.ag.ae.count>0&&(t=this.ag.ae._inner[i])}null!=t&&(this.bu=!0,this.a9?(this.cm.add1(t),this.cn.add(e),this.ba&&this.g6(t,e,!1)):this.g6(t,e,!0),this.bu=!1)},n.prototype.fd=function(t,e,i){var n=this.b0;this.b0=!1,this.bn||(this.ag.add1(t),this.aj.add(e)),this.b0=n,i&&(this.gn(null,t),this.go(null,e))},n.prototype.hl=function(t,e,i){var n=this.b0;this.b0=!1;this.ag.ae._inner[t];this.bn||(this.ag.ae._inner[t]=e),this.b0=n,this.gn(e,e)},n.prototype.g6=function(t,e,i){var n=this.b0;this.b0=!1,this.bn||(this.ag.remove1(t),this.aj.remove(e)),this.b0=n,i&&(this.gn(t,null),this.go(e,null))},n.prototype.gn=function(t,e){if(!this.cj&&null!=this.selectedItemsChanged){var i=new V;if(i.currentItems=this.ag,null!=t){var n=new E;n.add1(t),i.removedItems=n}if(null!=e){var r=new E;r.add1(e),i.addedItems=r}this.selectedItemsChanged(this,i)}},n.prototype.go=function(t,e){if(!this.cj&&null!=this.selectedKeysChanged){var i=new U;i.currentKeys=this.aj,null!=t&&(i.removedKeys=new q,i.removedKeys.ag=!1,i.removedKeys.add(t)),null!=e&&(i.addedKeys=new q,i.addedKeys.ag=!1,i.addedKeys.add(e)),this.selectedKeysChanged(this,i)}},n.prototype.gm=function(t,e){if(!this.cj&&null!=this.selectedItemsChanged){var i=new V;i.currentItems=this.ag,null!=t&&(i.removedItems=new E,i.removedItems.o(t)),null!=e&&(i.addedItems=new E,i.addedItems.o(e)),this.selectedItemsChanged(this,i)}},n.prototype.gp=function(t,e){if(!this.cj&&null!=this.selectedKeysChanged){var i=new U;i.currentKeys=this.aj,null!=t&&(i.removedKeys=new q,i.removedKeys.ag=!1,i.removedKeys.o(t)),null!=e&&(i.addedKeys=new q,i.addedKeys.ag=!1,i.addedKeys.o(e)),this.selectedKeysChanged(this,i)}},n.prototype.fk=function(){if((1==this.aq||2==this.aq)&&this.ag.ae.count>0){for(var t=new i.List$1(i.Base.$,0),e=new i.List$1(R.$,0),n=0;n<this.ag.ae.count;n++)t.add1(this.ag.ae._inner[n]),e.add(this.aj.ae._inner[n]);this.bu=!0,this.ag.clear(),this.aj.clear(),this.cj=!0,this.ao.af(),this.cj=!1,this.bu=!1,this.gm(t,null),this.gp(e,null),this.ao.z(-1)}},n.prototype.h=function(t){return null==this.actualDataSource||t<0||t>=this.d2()?0:this.actualDataSource.getRowType(t)},n.prototype.d7=function(t,e,n,r){if(null==this.actualDataSource||n<0)return-1;for(var o=n;o<=r&&!(o>this.actualDataSource.actualCount-1);o++){var s=this.actualDataSource.getItemAtIndex(o);if(null!=s){var a=this.ac(t,s);if(null!=a){if(null!=a.value&&1==a.value.length&&null!=a.value[0]&&i.getInstanceType(a.value[0])==i.DataSourceSpecialRow.$&&null!=e.value&&1==e.value.length&&null!=e.value[0]&&i.getInstanceType(e.value[0])==i.DataSourceSpecialRow.$){var h=i.typeCast(i.DataSourceSpecialRow.$,a.value[0]),u=i.typeCast(i.DataSourceSpecialRow.$,e.value[0]);if(h.rowType==u.rowType&&3==h.rowType&&h.targetRow==u.targetRow)return o}if(a.equals(e))return o}}}return-1},n.prototype.eg=function(t){return t<0||t>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(t)},n.prototype.dv=function(t,e,i,n){var r=this.d7(t,e,i,n);return r>=0?r:this.d6(e)},n.prototype.d2=function(){return null==this.actualDataSource?0:this.actualDataSource.actualCount},n.prototype.eh=function(t){var e=t.v;return e<0||e>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(e)},n.prototype.gq=function(t,e,i){this.bu=!0,this.hl(t,e,i),this.bu=!1},n.prototype.hh=function(t,e){this.gx()},n.prototype.f8=function(t){if(this.bo||(this.dr=t),null!=this.activeRowChanged){var e=new M;e.newActiveRow=this.dr,e.oldActiveRow=this.de,this.activeRowChanged(this,e)}this.f9()},n.prototype.hi=function(t,e){this.gx()},n.prototype.gb=function(t){var e=this.dr;if(this.bo||(this.dr=t),null!=this.activeRowChanged){var i=new M;i.newActiveRow=this.dr,i.oldActiveRow=e,this.activeRowChanged(this,i)}this.f9()},n.prototype.f9=function(){},n.prototype.ci=function(t){var e=this.dt(t);return-1!=e&&(this.ha(e),!0)},n.prototype.gg=function(t,e,i,n){if(this.bw){var r=this.w(t);this.v=r}},n.prototype.w=function(t){for(var e=0;e<this.a0.o.count;e++)if(!this.a0.p._inner[e]){this.a0.o._inner[e];var i=this.a0.q._inner[e];if(this.cf(i,t))return i}return null},n.prototype.cf=function(t,e){var i=e.y+this.aw.d.top,n=e.x+this.aw.d.left,r=this.cx,o=this.c2,s=t.v,a=-1;return 2==this.ab&&(s=this.d5(s),a=this.d4(s),r=this.cu._inner[a].a),this.bx&&(o=this.co._inner[s]),1==this.ab&&(r=this.cs._inner[s]),n>=t.s&&n<=t.s+r&&i>=t.u&&i<=t.u+o},n.prototype.gh=function(t,e,i,n){if(this.bw){var r=this.w(t);null!=r&&r==this.v&&this.ga(r,e,i,n)}},n.prototype.ga=function(t,e,i,n){var r,o=this;e&&(this.dk=-1,this.dj=-1,this.cq.clear(),this.cr.clear(),this.bm=!1,this.ao.o(t,i,n,0==this.al),this.gr(),1==this.r&&this.p.n(t)),null!=this.itemClicked&&this.itemClicked(t,((r=new rt).itemInfo=t,r.listPanel=o,r.isLeftButton=e,r.isDoubleClick=!1,r))},n.$t=i.markType(n,"ListPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.hv=null,n.aa=0,n.br=!1,n.hw=i.BrushUtil.h(255,24,29,31),n}(i.Base),tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.d=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateItemUpdatingEventArgs"),n}(i.Base),et=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.a.gd(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.gs(t,e,i)},n.prototype.notifyClearItems=function(){this.a.gc()},n.prototype.notifyInsertItem=function(t,e){this.a.gf(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.gj(t,e)},n.$t=i.markType(n,"ListPanelDataSourceNotificationBridge",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),it=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.g=function(t){this.a.ae=t.width,this.a.y=t.height},n.prototype.h=function(){return this.a.be()},n.prototype.b=function(t){return this.a.bs(t)},n.prototype.c=function(t){return this.a.bt(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bn(e.b.a)),0==t.ab?(i.isNaN_(t.absoluteWidth)||(e.b.a.ae=t.absoluteWidth),e.b.a.y=t.c3(e.v)):2==t.ab?(e.b.a.ae=t.c4(e.v),e.b.a.y=t.c3(e.v)):(e.b.a.ae=t.c4(e.v),e.b.a.y=t.absoluteHeight),e.o&&(e.o=!1,this.a.bu(e.b.a,e.s),this.a.bv(e.b.a,e.u))},n.prototype.e=function(t){this.a.bv(t,-1e3),this.a.bu(t,-1e3)},n.prototype.f=function(t){t.s=-1e3,t.u=-1e3,null!=t.b&&this.e(t.b.a)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=!1,e.v=0,e.t=0,e.w=null,e.b=null,e.e=!1,e.l=!1,e.g=!0,e.h=!0,e.q=0,e.r=0,e.c=!1,e.d=!1,e.f=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){this.w!=t&&(this.m=!0),this.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.e},set:function(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.g},set:function(t){this.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.h},set:function(t){this.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&(this.p=!0)},enumerable:!1,configurable:!0}),n.prototype.a=function(t){var e=new X;e.b=t.b(this.b.a),e.c=t.c(this.b.a);var i=this.b.a.be();return e.d=i.width,e.a=i.height,e},n.$t=i.markType(n,"ListPanelItemModel"),n}(i.Base),rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._itemInfo=null,e._listPanel=null,e._isLeftButton=!1,e._isDoubleClick=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"itemInfo",{get:function(){return this._itemInfo},set:function(t){this._itemInfo=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"listPanel",{get:function(){return this._listPanel},set:function(t){this._listPanel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isLeftButton",{get:function(){return this._isLeftButton},set:function(t){this._isLeftButton=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDoubleClick",{get:function(){return this._isDoubleClick},set:function(t){this._isDoubleClick=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelItemEventArgs",i.EventArgs.$),n}(i.EventArgs),ot=function(t){function n(e){var n=t.call(this)||this;return n.a=null,n.d=new i.FastIterationDictionary$2(R.$,i.Number_$type,0),n.c=new i.FastIterationDictionary$2(R.$,i.FastIterationDictionary$2.$.specialize(i.Number_$type,i.Number_$type),0),n.e=!1,n.m=-1,n.b=null,n.a=e,n}return e.__extends(n,t),n.prototype.ab=function(t){this.f(t)&&(this.j(t)?this.ac(t):this.w(t))},n.prototype.f=function(t){return!0},n.prototype.aa=function(t){this.f(t)&&(this.e=!0,this.w(t),this.e=!1)},n.prototype.n=function(t){return t.v},n.prototype.j=function(t){var e=this.n(t);if(-1==e)return!1;if(this.g(e))return!1;var i=this.a.ad(this.a.e(),e);if(null==i)return!1;var n=this.d.d(i);if(n){if(-1==this.d.item(i))this.d.item(i,e);else if(this.d.item(i)!=e)return!1;var r=this.a.aj.al(i);if(r>=0&&null==this.a.ag.ae._inner[r]){var o=this.a.eh(t);this.a.gq(r,o,i)}}return n},n.prototype.g=function(t){return!1},n.prototype.h=function(t){return this.d.d(t)},n.prototype.i=function(){return 1==this.a.aq||2==this.a.aq},n.prototype.ac=function(t){var e=this.n(t);if(-1!=e&&!this.g(e)){var i=this.a.ad(this.a.e(),e);this.h(i)&&this.ad(i,e,!1)}},n.prototype.w=function(t){if(0!=this.a.aq){var e=!1,n=null,r=this.n(t);if(r>-1&&(this.g(r)||(n=this.a.ad(this.a.e(),r))),1==this.a.aq||this.e){for(var o=this.d.o,s=this.d.p,a=new i.List$1(R.$,0),h=new i.List$1(i.Number_$type,0),u=0;u<o.count;u++)s._inner[u]||(o._inner[u].equals(n)?e=!0:(a.add(o._inner[u]),h.add(this.d.q._inner[u])));this.a.fe(),this.d.g=!0;for(var l=0;l<a.count;l++)this.ad(a._inner[l],h._inner[l],!1);this.d.g=!1,this.a.fn()}null==n||e||this.i()&&this.x(n,r,!1)}},n.prototype.x=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ac(this.a.e(),s.targetRow),h=this.a.d7(this.a.e(),a,this.a.dy(),this.a.d0());this.y(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.eg(e)),this.y(t,e,u,r)},n.prototype.y=function(t,e,i,n){if(!this.d.d(t)&&(this.d.s(t,e),null!=this.a.aw.c&&null!=this.a.aw.b)){var r=e>=this.a.aw.c&&e<=this.a.aw.b;null==i&&(r=!0),r&&this.a.hj(this.a,e)}n&&this.a.gk(i,t)},n.prototype.ae=function(t,e,i,n){if(this.d.d(t)&&(this.d.f(t),-1!=this.a.aw.c&&-1!=this.a.aw.b)){var r=e>=this.a.aw.c&&e<=this.a.aw.b;if(null==i&&(r=!0),r){var o=this.a.ad(this.a.e(),e);null!=o&&o.equals(t)&&e>=0&&this.a.hk(this.a,e)}}n&&this.a.gl(i,t)},n.prototype.ad=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ac(this.a.e(),s.targetRow),h=this.a.d7(this.a.e(),a,this.a.dy(),this.a.d0());this.ae(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.eg(e)),this.ae(t,e,u,r)},n.prototype.af=function(){for(var t=this.l(),e=new i.Dictionary$2(R.$,i.Number_$type,0),n=0;n<t.count;n++){var r=t.item(n),o=-1;this.d.d(r)&&(o=this.d.item(r)),-1==o&&(o=this.a.d7(this.a.e(),r,this.a.dy(),this.a.d0())),e.containsKey(r)||e.addItem(r,o),this.h(r)||this.x(r,o,!0)}for(var s=this.d.o,a=this.d.p,h=new i.List$1(R.$,0),u=new i.List$1(i.Number_$type,0),l=0;l<s.count;l++)if(!a._inner[l]){var c=s._inner[l];e.containsKey(c)||(h.add(c),u.add(this.d.q._inner[l]))}for(var p=0;p<u.count;p++)this.ad(h._inner[p],u._inner[p],!1);for(var f=0;f<this.a.ag.ae.count;f++){var d=this.a.ac(this.a.e(),this.a.ag.ae._inner[f]);if(null!=d&&!e.containsKey(d)){var b=-1;this.d.d(d)&&(b=this.d.item(d)),-1==b&&(b=this.a.dv(this.a.e(),d,this.a.dy(),this.a.d0())),this.ad(d,b,!1)}}},n.prototype.l=function(){return this.a.aj.ae},n.prototype.q=function(){this.p()},n.prototype.r=function(t){for(var e=0;e<this.d.o.count;e++)if(!this.d.p._inner[e]){var i=this.d.o._inner[e],n=this.d.q._inner[e];n>=t&&this.d.item(i,n+1)}for(var r=0;r<this.c.o.count;r++)if(!this.c.p._inner[r])for(var o=this.c.o._inner[r],s=this.c.q._inner[r],a=0;a<s.o.count;a++)if(!this.c.item(o).p._inner[a]){var h=s.o._inner[a],u=this.c.item(o).item(h);u>=t&&this.c.item(o).item(h,u+1)}},n.prototype.u=function(t,e,i){this.ae(t,e,i,!0)},n.prototype.s=function(t,e){for(var n=new i.List$1(R.$,0),r=new i.List$1(i.Number_$type,0),o=0;o<this.d.o.count;o++)if(!this.d.p._inner[o]){var s=this.d.o._inner[o],a=this.d.q._inner[o];a==t&&(n.add(s),r.add(a)),a>t&&this.d.item(s,a-1)}for(var h=0;h<n.count;h++)this.u(n._inner[h],r._inner[h],e);for(var u=0;u<this.c.o.count;u++)if(!this.c.p._inner[u])for(var l=this.c.o._inner[u],c=this.c.q._inner[u],p=0;p<c.o.count;p++)if(!this.c.item(l).p._inner[p]){var f=c.o._inner[p],d=this.c.item(l).item(f);d==t&&this.c.item(l).item(f,-1),d>t&&this.c.item(l).item(f,d-1)}},n.prototype.t=function(t){for(var e=new i.List$1(R.$,0),n=new i.List$1(i.Number_$type,0),r=0;r<this.d.o.count;r++)if(!this.d.p._inner[r]){var o=this.d.o._inner[r],s=this.d.q._inner[r];s==t&&(e.add(o),n.add(s))}for(var a=0;a<e.count;a++)this.ad(e._inner[a],n._inner[a],!0)},n.prototype.p=function(){for(var t=new i.List$1(i.Number_$type,0),e=new i.HashSet$1(i.Number_$type,0),n=0;n<this.d.o.count;n++)if(!this.d.p._inner[n]){var r=this.d.o._inner[n];t.add(this.d.item(r));var o=this.a.d7(this.a.e(),r,this.a.dy(),this.a.d0());e.add_1(o),this.d.item(r,-1)}for(var s=0;s<t.count;s++)e.contains(t._inner[s])||this.a.hk(this.a,t._inner[s])},n.prototype.k=function(t){return 2==this.a.aq},n.prototype.z=function(t){this.m=t},n.prototype.o=function(t,e,i,n){var r,o=this;if(void 0===n&&(n=!1),this.f(t))if((e=!!this.k(this.a.aq)&&e)&&-1!=this.m){var s=((r=new Y).f=Math.min(o.m,t.v),r.d=Math.max(o.m,t.v),r);if(this.a.fe(),null!=this.b)for(var a=this.b.f;a<=this.b.d;a++)if(!s.b(a)){var h=this.a.ad(this.a.e(),a);null!=h&&this.d.d(h)&&this.ad(h,a,!1)}for(var u=s.f;u<=s.d;u++){var l=this.a.ad(this.a.e(),u);null==l||this.d.d(l)||this.x(l,u,!1)}this.a.fn(),this.b=s}else i||n?this.ab(t):this.aa(t),this.b=null,this.j(t)?this.m=t.v:this.m=-1},n.prototype.v=function(){if(null!=this.a.actualDataSource){this.a.fe();for(var t=this.a.d2(),e=0;e<t;e++){var n=this.a.actualDataSource.getItemAtIndex(e);if(null===i.typeCast(i.DataSourceSpecialRow.$,n)){var r=this.a.ad(this.a.e(),e);null==r||this.d.d(r)||this.x(r,e,!1)}}this.a.fn()}},n.$t=i.markType(n,"ListPanelSelectionManager"),n}(i.Base),st=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.b=!1,i.g=-1,i.h=-1,i.j=null,i.a=e,i}return e.__extends(n,t),n.prototype.v=function(t){this.f(t)&&(this.c(t)?this.q(t):this.n(t))},n.prototype.f=function(t){return!0},n.prototype.c=function(t){var e=this.i(t);return-1!=e&&(!(this.g<0)&&(e==this.g&&this.d(e)))},n.prototype.i=function(t){return t.v},n.prototype.d=function(t){return this.g==t},n.prototype.e=function(){return 1==this.a.r},n.prototype.o=function(){this.g>=0&&this.p(this.g,!0)},n.prototype.q=function(t){var e=this.i(t);-1!=e&&this.d(e)&&this.p(e,!0)},n.prototype.n=function(t){this.m(t)},n.prototype.m=function(t){if(this.f(t)&&this.e()){this.g>=0&&this.p(this.g,!1);var e=this.i(t);-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.k=function(t){if(this.e()&&t!=this.g){this.g>=0&&this.p(this.g,!1);var e=t;-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.l=function(t,e){t!=this.g&&(this.g=t,t>=0&&(t>=0&&this.a.d2(),this.a.hh(this.a,t)),e&&this.a.f8(t))},n.prototype.p=function(t,e){this.d(t)&&(this.g=-1,t>=0&&(t>=0&&this.a.d2(),this.a.hi(this.a,t)),e&&this.a.gb(t))},n.prototype.r=function(){this.g=-1},n.prototype.s=function(t){},n.prototype.t=function(t){},n.prototype.u=function(t){},n.$t=i.markType(n,"ListPanelActivationManager"),n}(i.Base),at=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.v},set:function(t){this.i.v=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.t},set:function(t){this.i.t=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.x},set:function(t){this.i.x=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.i.s},set:function(t){this.i.s=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.i.u},set:function(t){this.i.u=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivationSupported",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t)},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),ht=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new tt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new at;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableWidth",{get:function(){return this.i.c},set:function(t){this.i.c=+t},enumerable:!1,configurable:!0}),t}(),ut=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new F},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new W},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),ct=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new G},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),pt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.onDownArrow=function(t,e){return this.a.b1(t,e)},n.prototype.onEnd=function(t,e){return this.a.b2(t,e)},n.prototype.onHome=function(t,e){return this.a.b6(t,e)},n.prototype.onLeftArrow=function(t,e){return this.a.b8(t,e)},n.prototype.onPageDown=function(t,e){return this.a.b9(t,e)},n.prototype.onPageUp=function(t,e){return this.a.ca(t,e)},n.prototype.onRightArrow=function(t,e){return this.a.cb(t,e)},n.prototype.onTab=function(t,e){return this.a.cd(t,e)},n.prototype.onUpArrow=function(t,e){return this.a.ce(t,e)},n.prototype.onWheel=function(){this.a.gu()},n.prototype.onEnter=function(t,e){return this.a.b3(t,e)},n.prototype.onEscape=function(){return this.a.b4()},n.prototype.onF2=function(){return this.a.b5()},n.prototype.onSpace=function(t,e){return this.a.cc(t,e)},n.prototype.onKeyDown=function(t,e,i){return this.a.b7(t,e,i)},n.$t=i.markType(n,"ListPanelScrollerKeyboardListener",i.Base.$,[i.IScrollerKeyboardListener_$type]),n}(i.Base),ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new rt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"itemInfo",{get:function(){var t=this.i.itemInfo;if(null==t)return null;if(!t.externalObject){var e=new at;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.itemInfo=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listPanel",{get:function(){var t=this.i.listPanel;return null==t?null:t.externalObject},set:function(t){this.i.listPanel=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLeftButton",{get:function(){return this.i.isLeftButton},set:function(t){this.i.isLeftButton=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDoubleClick",{get:function(){return this.i.isDoubleClick},set:function(t){this.i.isDoubleClick=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),dt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newActiveRow",{get:function(){return this.i.newActiveRow},set:function(t){this.i.newActiveRow=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldActiveRow",{get:function(){return this.i.oldActiveRow},set:function(t){this.i.oldActiveRow=+t},enumerable:!1,configurable:!0}),t}(),bt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new L},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),gt=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),yt=function(t){function n(e){var n=t.call(this)||this;if(gt.$type||(gt.$type=i.markType(gt,"IgcListPanelPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){gt.$type||(gt.$type=i.markType(gt,"IgcListPanelPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(gt.$type,R.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new gt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),mt=function(){function t(){this._currentKeys=null,this._addedKeys=null,this._removedKeys=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new U},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentKeys",{get:function(){if(null===this._currentKeys){var t=new yt,e=this.i.currentKeys;e||(e=new q),this._currentKeys=t._fromInner(e),this.i.currentKeys=e}return this._currentKeys},set:function(t){null!==this._currentKeys&&(this._currentKeys._setSyncTarget(null),this._currentKeys=null);var e=new yt;this._currentKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(R.$type),r=this.i.currentKeys;r||(r=new q),n._inner=r,n.clear(),this._currentKeys._setSyncTarget(n),this.i.currentKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedKeys",{get:function(){if(null===this._addedKeys){var t=new yt,e=this.i.addedKeys;e||(e=new q),this._addedKeys=t._fromInner(e),this.i.addedKeys=e}return this._addedKeys},set:function(t){null!==this._addedKeys&&(this._addedKeys._setSyncTarget(null),this._addedKeys=null);var e=new yt;this._addedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(R.$type),r=this.i.addedKeys;r||(r=new q),n._inner=r,n.clear(),this._addedKeys._setSyncTarget(n),this.i.addedKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedKeys",{get:function(){if(null===this._removedKeys){var t=new yt,e=this.i.removedKeys;e||(e=new q),this._removedKeys=t._fromInner(e),this.i.removedKeys=e}return this._removedKeys},set:function(t){null!==this._removedKeys&&(this._removedKeys._setSyncTarget(null),this._removedKeys=null);var e=new yt;this._removedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(R.$type),r=this.i.removedKeys;r||(r=new q),n._inner=r,n.clear(),this._removedKeys._setSyncTarget(n),this.i.removedKeys=r},enumerable:!1,configurable:!0}),t}(),_t=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),vt=function(){function t(){this._currentItems=null,this._addedItems=null,this._removedItems=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new V},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentItems",{get:function(){if(null===this._currentItems){var t=new _t,e=this.i.currentItems;e||(e=new E),this._currentItems=t._fromInner(e),this.i.currentItems=e}return this._currentItems},set:function(t){null!==this._currentItems&&(this._currentItems._setSyncTarget(null),this._currentItems=null);var e=new _t;this._currentItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.currentItems;r||(r=new E),n._inner=r,n.clear(),this._currentItems._setSyncTarget(n),this.i.currentItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedItems",{get:function(){if(null===this._addedItems){var t=new _t,e=this.i.addedItems;e||(e=new E),this._addedItems=t._fromInner(e),this.i.addedItems=e}return this._addedItems},set:function(t){null!==this._addedItems&&(this._addedItems._setSyncTarget(null),this._addedItems=null);var e=new _t;this._addedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.addedItems;r||(r=new E),n._inner=r,n.clear(),this._addedItems._setSyncTarget(n),this.i.addedItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedItems",{get:function(){if(null===this._removedItems){var t=new _t,e=this.i.removedItems;e||(e=new E),this._removedItems=t._fromInner(e),this.i.removedItems=e}return this._removedItems},set:function(t){null!==this._removedItems&&(this._removedItems._setSyncTarget(null),this._removedItems=null);var e=new _t;this._removedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.removedItems;r||(r=new E),n._inner=r,n.clear(),this._removedItems._setSyncTarget(n),this.i.removedItems=r},enumerable:!1,configurable:!0}),t}(),Ct=function(t){function n(){var e=t.call(this)||this;e._implementation=null,e._scroller=null,e._disconnected=!1,e._dataSource=null,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._selectedItems=null,e._selectedKeys=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._selectedItemsChanged=null,e._selectedItemsChanged_wrapped=null,e._selectedKeysChanged=null,e._selectedKeysChanged_wrapped=null,e._selectionChanged=null,e._selectionChanged_wrapped=null,e._activeRowChanged=null,e._activeRowChanged_wrapped=null,e._contentRefreshed=null,e._contentRefreshed_wrapped=null,e._rowUpdating=null,e._rowUpdating_wrapped=null,e._itemWidthRequested=null,e._itemWidthRequested_wrapped=null,e._itemHeightRequested=null,e._itemHeightRequested_wrapped=null,e._itemClicked=null,e._itemClicked_wrapped=null,e._actualPrimaryKeyChange=null,e._actualPrimaryKeyChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{}),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.externalListPanel=e,e.i.provideContainer(e._webComponentRenderer),e.i.viewportManager=e;var n=new i.Scroller;return n.scrollbarStyle=e.scrollbarStyle,e._scroller=n,e._scroller.keyboardListener=new pt(e.i),n.provideContainer(e._webComponentRenderer),e._content=e.i.view.contentGrid,n.provideContent(new i.WebComponentWrapper(e._content,e._webComponentRenderer)),n.onScrolling=function(){return e.onScroll()},n.onScrollStart=function(){return e.onScrollStart()},n.onScrollStop=function(){return e.onScrollStop()},n.viewportWidth=e._webComponentRenderer.rootWrapper.width(),n.viewportHeight=e._webComponentRenderer.rootWrapper.height(),e.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.notifySizeChanged()})),e}return e.__extends(n,t),n.prototype.setScrollbarStyle=function(t){this._scroller&&(this._scroller.scrollbarStyle=t)},n.prototype.setScrollbarColor=function(t){this._scroller&&(this._scroller.scrollbarBrush=t)},Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},n.prototype.createLocalDataSource=function(t,e){var n=new i.LocalDataSource;return n.schemaIncludedProperties=e,n.dataSource=t,n},n.prototype.onContentSizeChanged=function(){var t=this.i.absoluteWidth,e=this.i.absoluteHeight;null==this._scroller||isNaN(t)||isNaN(e)||(this._scroller.contentWidth=t,this._scroller.contentHeight=e)},n.prototype.moveViewportTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.onScroll=function(){var t=this._scroller.scrollTop,e=this._scroller.scrollLeft,i=this._scroller.viewportWidth,n=this._scroller.viewportHeight;this.i.setViewport(e,t,e+i,t+n)},n.prototype.onScrollStart=function(){},n.prototype.onScrollStop=function(){},n.prototype._scrollTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new Z},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected||this.i&&this._scroller&&this._scroller.onDetachedFromUI(),this._disconnected=!0},n.prototype.notifySizeChanged=function(){if(this._webComponentRenderer){var t=this._webComponentRenderer.rootWrapper.width(),e=this._webComponentRenderer.rootWrapper.height();this._scroller.viewportWidth=t,this._scroller.viewportHeight=e,this._scroller.onViewportSizeChanged(t,e,!0)}this.i.notifySizeChanged()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this._scroller&&this._scroller.onAttachedToUI());this.classList.add("ig-list-panel"),this.classList.add("igc-list-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.notifySizeChanged()},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t,null!=this._implementation&&(this._implementation.itemsSource=this._dataSource)},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcListPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcListPanelComponent=t}return n._observedAttributesIgcListPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectionMode",{get:function(){return this.i.aq},set:function(t){this.i.aq=i.ensureEnum(k,t),this._a("selectionMode",i.enumToString(k,this.i.aq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isActiveRowStyleEnabled",{get:function(){return this.i.bv},set:function(t){this.i.bv=i.ensureBool(t),this._a("isActiveRowStyleEnabled",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedBackground",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("selectedBackground",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normalBackground",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("normalBackground",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorder",{get:function(){return i.brushToString(this.i.ht)},set:function(t){this.i.ht=i.stringToBrush(t),this._a("activationBorder",i.brushToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderLeftWidth",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("activationBorderLeftWidth",this.i.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderTopWidth",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("activationBorderTopWidth",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderRightWidth",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("activationBorderRightWidth",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderBottomWidth",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("activationBorderBottomWidth",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationMode",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(A,t),this._a("activationMode",i.enumToString(A,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionBehavior",{get:function(){return this.i.al},set:function(t){this.i.al=i.ensureEnum(B,t),this._a("selectionBehavior",i.enumToString(B,this.i.al))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKey",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItems",{get:function(){if(null===this._selectedItems){var t=new _t,e=this.i.ag;e||(e=new E),this._selectedItems=t._fromInner(e)}return this._selectedItems},set:function(t){null!==this._selectedItems&&(this._selectedItems._setSyncTarget(null),this._selectedItems=null);var e=new _t;this._selectedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.ag;r||(r=new E),n._inner=r,n.clear(),this._selectedItems._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new yt,e=this.i.aj;e||(e=new q),this._selectedKeys=t._fromInner(e)}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new yt;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(R.$type),r=this.i.aj;r||(r=new q),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"schemaIncludedProperties",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.ea},set:function(t){this.i.ea=+t,this._a("rowHeight",this.i.ea)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("actualRowHeight",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.a2?null:this.i.a2.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a2=e,this._a("cellTextStyle",null!=this.i.a2?this.i.a2.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasUnevenSizes",{get:function(){return this.i.bt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.ay))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarBackground",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t),this._a("scrollbarBackground",i.brushToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.hu)},set:function(t){this.i.hu=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureEnum(z,t),this._a("orientation",i.enumToString(z,this.i.ab))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.bx},set:function(t){this.i.bx=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRow",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("activeRow",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"notifyOnAllSelectionChanges",{get:function(){return this.i.b0},set:function(t){this.i.b0=i.ensureBool(t),this._a("notifyOnAllSelectionChanges",this.i.b0)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(t)?this.selectedKeys.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ListPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.getRowKey=function(t,e){var i=this.i.ad(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new gt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getItemKey=function(t,e){var i=this.i.ac(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new gt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getLastVisibleIndex=function(){return this.i.d0()},n.prototype.getFirstVisibleIndex=function(){return this.i.dy()},n.prototype.invalidateVisibleItems=function(){this.i.f0()},n.prototype.notifySetItem=function(t,e,i){this.i.f6(t,e,i)},n.prototype.notifyClearItems=function(){this.i.f3()},n.prototype.notifyInsertItem=function(t,e){this.i.f4(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.f5(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.dt(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.du(t)},n.prototype.exportVisualData=function(){return this.i.ed()},n.prototype.exportSerializedVisualData=function(){return this.i.ev()},n.prototype.selectAllRows=function(){this.i.hc()},n.prototype.scrollToRowByIndex=function(t){this.i.ha(t)},n.prototype.scrollToLastRowByIndex=function(t){this.i.g8(t)},n.prototype.deselectAllRows=function(){this.i.fk()},Object.defineProperty(n.prototype,"selectedItemsChanged",{get:function(){return this._selectedItemsChanged},set:function(t){var e=this;null!==this._selectedItemsChanged_wrapped&&(this.i.selectedItemsChanged=i.delegateRemove(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped),this._selectedItemsChanged_wrapped=null,this._selectedItemsChanged=null),this._selectedItemsChanged=t,this._selectedItemsChanged_wrapped=function(t,i){var n=new vt;n._provideImplementation(i),e.beforeSelectedItemsChanged&&e.beforeSelectedItemsChanged(e,n),e._selectedItemsChanged&&e._selectedItemsChanged(e,n)},this.i.selectedItemsChanged=i.delegateCombine(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeysChanged",{get:function(){return this._selectedKeysChanged},set:function(t){var e=this;null!==this._selectedKeysChanged_wrapped&&(this.i.selectedKeysChanged=i.delegateRemove(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped),this._selectedKeysChanged_wrapped=null,this._selectedKeysChanged=null),this._selectedKeysChanged=t,this._selectedKeysChanged_wrapped=function(t,i){var n=new mt;n._provideImplementation(i),e.beforeSelectedKeysChanged&&e.beforeSelectedKeysChanged(e,n),e._selectedKeysChanged&&e._selectedKeysChanged(e,n)},this.i.selectedKeysChanged=i.delegateCombine(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionChanged",{get:function(){return this._selectionChanged},set:function(t){var e=this;null!==this._selectionChanged_wrapped&&(this.i.selectionChanged=i.delegateRemove(this.i.selectionChanged,this._selectionChanged_wrapped),this._selectionChanged_wrapped=null,this._selectionChanged=null),this._selectionChanged=t,this._selectionChanged_wrapped=function(t,i){var n=new bt;n._provideImplementation(i),e.beforeSelectionChanged&&e.beforeSelectionChanged(e,n),e._selectionChanged&&e._selectionChanged(e,n)},this.i.selectionChanged=i.delegateCombine(this.i.selectionChanged,this._selectionChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRowChanged",{get:function(){return this._activeRowChanged},set:function(t){var e=this;null!==this._activeRowChanged_wrapped&&(this.i.activeRowChanged=i.delegateRemove(this.i.activeRowChanged,this._activeRowChanged_wrapped),this._activeRowChanged_wrapped=null,this._activeRowChanged=null),this._activeRowChanged=t,this._activeRowChanged_wrapped=function(t,i){var n=new dt;n._provideImplementation(i),e.beforeActiveRowChanged&&e.beforeActiveRowChanged(e,n),e._activeRowChanged&&e._activeRowChanged(e,n)},this.i.activeRowChanged=i.delegateCombine(this.i.activeRowChanged,this._activeRowChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new ut;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowUpdating",{get:function(){return this._rowUpdating},set:function(t){var e=this;null!==this._rowUpdating_wrapped&&(this.i.rowUpdating=i.delegateRemove(this.i.rowUpdating,this._rowUpdating_wrapped),this._rowUpdating_wrapped=null,this._rowUpdating=null),this._rowUpdating=t,this._rowUpdating_wrapped=function(t,i){var n=new ht;n._provideImplementation(i),e.beforeRowUpdating&&e.beforeRowUpdating(e,n),e._rowUpdating&&e._rowUpdating(e,n)},this.i.rowUpdating=i.delegateCombine(this.i.rowUpdating,this._rowUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemWidthRequested",{get:function(){return this._itemWidthRequested},set:function(t){var e=this;null!==this._itemWidthRequested_wrapped&&(this.i.itemWidthRequested=i.delegateRemove(this.i.itemWidthRequested,this._itemWidthRequested_wrapped),this._itemWidthRequested_wrapped=null,this._itemWidthRequested=null),this._itemWidthRequested=t,this._itemWidthRequested_wrapped=function(t,i){var n=new lt;n._provideImplementation(i),e.beforeItemWidthRequested&&e.beforeItemWidthRequested(e,n),e._itemWidthRequested&&e._itemWidthRequested(e,n)},this.i.itemWidthRequested=i.delegateCombine(this.i.itemWidthRequested,this._itemWidthRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHeightRequested",{get:function(){return this._itemHeightRequested},set:function(t){var e=this;null!==this._itemHeightRequested_wrapped&&(this.i.itemHeightRequested=i.delegateRemove(this.i.itemHeightRequested,this._itemHeightRequested_wrapped),this._itemHeightRequested_wrapped=null,this._itemHeightRequested=null),this._itemHeightRequested=t,this._itemHeightRequested_wrapped=function(t,i){var n=new ct;n._provideImplementation(i),e.beforeItemHeightRequested&&e.beforeItemHeightRequested(e,n),e._itemHeightRequested&&e._itemHeightRequested(e,n)},this.i.itemHeightRequested=i.delegateCombine(this.i.itemHeightRequested,this._itemHeightRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemClicked",{get:function(){return this._itemClicked},set:function(t){var e=this;null!==this._itemClicked_wrapped&&(this.i.itemClicked=i.delegateRemove(this.i.itemClicked,this._itemClicked_wrapped),this._itemClicked_wrapped=null,this._itemClicked=null),this._itemClicked=t,this._itemClicked_wrapped=function(t,i){var n=new ft;n._provideImplementation(i),e.beforeItemClicked&&e.beforeItemClicked(e,n),e._itemClicked&&e._itemClicked(e,n)},this.i.itemClicked=i.delegateCombine(this.i.itemClicked,this._itemClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKeyChange",{get:function(){return this._actualPrimaryKeyChange},set:function(t){var e=this;null!==this._actualPrimaryKeyChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped),this._actualPrimaryKeyChange_wrapped=null,this._actualPrimaryKeyChange=null),this._actualPrimaryKeyChange=t,this._actualPrimaryKeyChange_wrapped=function(t,i){var n=e.actualPrimaryKey;"D"==i.propertyName&&(e.beforeActualPrimaryKeyChange&&e.beforeActualPrimaryKeyChange(e,n),e._actualPrimaryKeyChange&&e._actualPrimaryKeyChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcListPanelComponent=null,n.htmlTagName="igc-list-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),jt=function(){function t(){}return t.register=function(){Ct.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ct),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ct),i.TypeRegistrar.register("ListPanel",Z.$type)},t}(),wt=function(){function t(){}return t.register=function(){n.IgcXInputGroupModule.register(),jt.register(),O.register(),i.TypeRegistrar.registerCons("IgcComboEditorComponent",O),i.TypeRegistrar.registerCons("IgcComboEditorComponent",O),i.TypeRegistrar.register("ComboEditor",v.$type)},t}(),Pt=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t[t.TemplateRef=22]="TemplateRef",t[t.DoubleCollection=23]="DoubleCollection",t[t.Separator=24]="Separator",t[t.Header=25]="Header",t}({}),xt=i.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21|TemplateRef,22|DoubleCollection,23|Separator,24|Header,25"),Ot=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),Tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),It=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",i.EventArgs.$),n}(i.EventArgs),kt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.a=null,e.g=null,e.propertyChanged=null,e.j=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!1,configurable:!0}),n.prototype.p=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.q(t,e,n)},n.prototype.q=function(t,e,i){switch(t){case"DescriptionType":case"Context":this.r()}},n.d=function(t,e,i){var r=new n;return r.j=i,r.b=t,r.n=e,r.j=null,r},n.prototype.f=function(t){var e=new St;return e.a3=t.propertyName,e.w=this.i(t),e.a2=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ay=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ay)?e.e=this.j.item(e.ay):e.e=n.d(this.a,e.ay,this.j)),8==e.w&&(null!=this.j&&this.j.containsKey(e.a2)?e.e=this.j.item(e.a2):e.e=n.d(this.a,e.a2,this.j)),15==e.w&&(e.c=this.a.c(this.n,e.a3),e.d=e.d),e},n.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 23:return 23;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 22:return 22;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},n.prototype.r=function(){var t=new Et;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.b(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!i.stringEndsWith(r[o],"@names")&&!(i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion"))){var s=this.b.getMetadata(this.n,r[o]),a=this.f(s);0!=a.w&&t.add(a)}e&&(this.j=null)}this.h=t},n.prototype.e=function(t,e){if(null==t)return null;for(var n=i.stringSplit(t,[".","["],0),r=new i.List$1(i.String_$type,1,n),o=null,s=null;r.count>0;){var a=r._inner[0];r.removeAt(0);var h=!1;if(i.stringContains(a,"]")){h=!0;var u=(a=i.stringReplace(a,"]","")).split(",");if(a=u[0].trim(),i.stringContains(a,"as")){var l=a.indexOf("as");a.substr(0,l).trim(),s=a.substr(l+2).trim()}if(null!=s&&s!=this.n){var c=this.c();c.n=s,o=c;continue}}if(e&&(h=!0),null!=o&&null!==i.typeCast(St.$,o)){var p=o.aq(a,h);if(null==p)return null;o=p}else if(null!=o){var f=o.e(a,h);if(null==f)return null;o=f}else{if(null==this.h)return null;for(var d=0;d<this.h.count;d++)if(i.Base.equalsStatic(this.h._inner[d].a3,a)){o=this.h._inner[d];break}if(null==o)return null}}return i.typeCast(St.$,o)},n.prototype.c=function(){var t,e=this;return(t=new n).b=e.b,t.n=e.n,t},n.$t=i.markType(n,"PropertyEditorDataSource",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),St=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.au=null,e.aw=null,e.at=null,e.ax=null,e.u=0,e.t=0,e.av=null,e.x=!1,e.as=null,e.a=null,e.b=null,e.aa=!1,e.ao=null,e.an=null,e.ag=NaN,e.ad=NaN,e.ae=NaN,e.af=NaN,e.ah=NaN,e.g=null,e.f=null,e.k=new Bt,e.j=new Bt,e.y=!1,e.q=new Et,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e.coercingValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a0",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.a8("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,this.aw!=e&&this.a8("PropertyPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,this.at!=e&&this.a8("Label",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,this.ax!=e&&this.a8("Subtitle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.a8("ValueType",i.enumGetBox(xt,e),i.enumGetBox(xt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.a8("CoercedValueType",i.enumGetBox(xt,e),i.enumGetBox(xt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,this.av!=e&&this.a8("PropertyDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.a8("ShouldOverrideDefaultEditor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,this.as!=e&&this.a8("ElementDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.a8("DropDownNames",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.a8("DropDownValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,this.ao!=e&&this.a8("PrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,this.ao!=e&&this.a8("CoercedPrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.a8("Min",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,this.ad!=e&&this.a8("EditorWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.ae!=e&&this.a8("LabelWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.af!=e&&this.a8("Max",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.a8("Step",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.g!=e&&this.a8("ComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.a8("CoercedComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.a8("ComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,this.j!=e&&this.a8("CoercedComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,this.y!=e&&this.a8("UseCoercedValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,this.q!=e&&this.a8("Properties",e,t)},enumerable:!1,configurable:!0}),n.prototype.a8=function(t,e,n){"PrimitiveValue"==t&&this.a7(),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.z=function(t){return null!=t&&(null==t.c||null!=this.c&&this.ab||(this.c=t.c),null==t.d||null!=this.d&&this.ab||(this.d=t.d),null==t.ay||null!=this.ay&&this.ab||(this.ay=t.ay),null==t.a2||null!=this.a2&&this.ab||(this.a2=t.a2),0==t.w||0!=this.w&&this.ab||(this.w=t.w,!0),0==t.v||0!=this.v&&this.ab||(this.v=t.v,!0),t.ac&&(this.ac=t.ac),!0)},n.prototype.aq=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},n.prototype.a6=function(){null!=this.buttonClicked&&this.buttonClicked(this,new Ot)},n.prototype.a5=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new Tt).newValue=e.ar,t))},n.prototype.a9=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new It).propertyPath=t,n.target=e,n.value=i,n))},n.prototype.a7=function(){var t,e=this;if(null!=this.coercingValue){var i=((t=new At).value=e.ar,t.complexValue=e.i,t.complexValues=e.m,t);this.coercingValue(this,i),this.ap=i.value,this.h=i.complexValue,this.l=i.complexValues}},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),At=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._complexValue=null,e._complexValues=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){return this._complexValue},set:function(t){this._complexValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){return this._complexValues},set:function(t){this._complexValues=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCoercingValueEventArgs",i.EventArgs.$),n}(i.EventArgs),Nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObject"),n}(i.Base),Bt=function(t){function n(){return t.call(this,Nt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize(Nt.$)),n}(i.ObservableCollection$1),Et=function(t){function n(){return t.call(this,St.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(St.$)),n}(i.ObservableCollection$1),Rt=function(t){function n(e){var n=t.call(this)||this;if(Lt.$type||(Lt.$type=i.markType(Lt,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Lt.$type||(Lt.$type=i.markType(Lt,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(Lt.$type,St.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Lt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),qt=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new Rt,e=this.i.a;e||(e=new Et),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new Rt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(St.$type),r=this.i.a;r||(r=new Et),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.a=r},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),$t=function(t){function n(e){var n=t.call(this)||this;if(qt.$type||(qt.$type=i.markType(qt,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){qt.$type||(qt.$type=i.markType(qt,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(qt.$type,Nt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new qt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),zt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ot},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Dt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Tt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),Vt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new It},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!1,configurable:!0}),t}(),Ut=function(){function t(){this._complexValues=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new At},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValue",{get:function(){var t=this.i.complexValue;if(null==t)return null;if(!t.externalObject){var e=new qt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.complexValue=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new $t,e=this.i.complexValues;e||(e=new Bt),this._complexValues=t._fromInner(e),this.i.complexValues=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new $t;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Nt.$type),r=this.i.complexValues;r||(r=new Bt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.complexValues=r},enumerable:!1,configurable:!0}),t}(),Lt=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e._coercedComplexValues=null,e._properties=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._coercingValue=null,e._coercingValue_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new St},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"name",{get:function(){return this.i.a0},set:function(t){this.i.a0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.az},set:function(t){this.i.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(xt,t),this._a("valueType",i.enumToString(xt,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedValueType",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(xt,t),this._a("coercedValueType",i.enumToString(xt,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ay},set:function(t){this.i.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primitiveValue",{get:function(){return this.i.ar},set:function(t){this.i.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedPrimitiveValue",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("min",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("editorWidth",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("labelWidth",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("max",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("step",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new qt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.i=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValue",{get:function(){var t=this.i.h;if(null==t)return null;if(!t.externalObject){var e=new qt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.h=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new $t,e=this.i.m;e||(e=new Bt),this._complexValues=t._fromInner(e),this.i.m=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new $t;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Nt.$type),r=this.i.m;r||(r=new Bt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.m=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValues",{get:function(){if(null===this._coercedComplexValues){var t=new $t,e=this.i.l;e||(e=new Bt),this._coercedComplexValues=t._fromInner(e),this.i.l=e}return this._coercedComplexValues},set:function(t){null!==this._coercedComplexValues&&(this._coercedComplexValues._setSyncTarget(null),this._coercedComplexValues=null);var e=new $t;this._coercedComplexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Nt.$type),r=this.i.l;r||(r=new Bt),n._inner=r,n.clear(),this._coercedComplexValues._setSyncTarget(n),this.i.l=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useCoercedValue",{get:function(){return this.i.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("useCoercedValue",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new Rt,e=this.i.r;e||(e=new Et),this._properties=t._fromInner(e),this.i.r=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new Rt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(St.$type),r=this.i.r;r||(r=new Et),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.r=r},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:this.coercedComplexValue&&this.coercedComplexValue.name&&this.coercedComplexValue.name==t?this.coercedComplexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null!=this.coercedComplexValues&&this.coercedComplexValues.findByName&&this.coercedComplexValues.findByName(t)?this.coercedComplexValues.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPropertyDescriptionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},Object.defineProperty(n.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=i.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,i){var n=new zt;n._provideImplementation(i),e.beforeButtonClicked&&e.beforeButtonClicked(e,n),e._buttonClicked&&e._buttonClicked(e,n)},this.i.buttonClicked=i.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=i.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,i){var n=new Dt;n._provideImplementation(i),e.beforeChanged&&e.beforeChanged(e,n),e._changed&&e._changed(e,n)},this.i.changed=i.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=i.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,i){var n=new Vt;n._provideImplementation(i),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,n),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,n)},this.i.targetPropertyUpdating=i.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercingValue",{get:function(){return this._coercingValue},set:function(t){var e=this;null!==this._coercingValue_wrapped&&(this.i.coercingValue=i.delegateRemove(this.i.coercingValue,this._coercingValue_wrapped),this._coercingValue_wrapped=null,this._coercingValue=null),this._coercingValue=t,this._coercingValue_wrapped=function(t,i){var n=new Ut;n._provideImplementation(i),e.beforeCoercingValue&&e.beforeCoercingValue(e,n),e._coercingValue&&e._coercingValue(e,n)},this.i.coercingValue=i.delegateCombine(this.i.coercingValue,this._coercingValue_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Mt=function(){function t(){}return t.register=function(){Lt.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",Lt),i.TypeRegistrar.register("PropertyEditorPropertyDescription",St.$type)},t}(),Ft=function(t){function n(){var e=t.call(this)||this;return e.c=1,e.e=null,e.f=null,e.propertyChanged=null,e.propertyUpdated=null,e}return e.__extends(n,t),n.b=function(t){return(e=new n).d=t.bindingMode,e.h=t.contextKey,e.j=t.propertyName,e;var e},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=t&&this.l("BindingMode",i.enumGetBox(i.ToolContextBindingMode_$type,e),i.enumGetBox(i.ToolContextBindingMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=t&&this.l("ContextKey",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=t&&this.l("PropertyName",e,t)},enumerable:!1,configurable:!0}),n.prototype.l=function(t,e,n){this.m(t,e,n),null!=this.propertyUpdated&&this.propertyUpdated(this,new i.PropertyUpdatedEventArgs(t,e,n)),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.m=function(t,e,i){},n.$t=i.markType(n,"ToolContextBinding",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Ht=function(){function t(){this._propertyUpdated=null,this._propertyUpdated_wrapped=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ft},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"bindingMode",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(i.ToolContextBindingMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyName",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"propertyUpdated",{get:function(){return this._propertyUpdated},set:function(t){var e=this;null!==this._propertyUpdated_wrapped&&(this.i.propertyUpdated=i.delegateRemove(this.i.propertyUpdated,this._propertyUpdated_wrapped),this._propertyUpdated_wrapped=null,this._propertyUpdated=null),this._propertyUpdated=t,this._propertyUpdated_wrapped=function(t,n){var r=new i.IgcPropertyUpdatedEventArgs;r._provideImplementation(n),e.beforePropertyUpdated&&e.beforePropertyUpdated(e,r),e._propertyUpdated&&e._propertyUpdated(e,r)},this.i.propertyUpdated=i.delegateCombine(this.i.propertyUpdated,this._propertyUpdated_wrapped)},enumerable:!1,configurable:!0}),t}(),Wt=function(t){function n(e){var n=t.call(this)||this;if(Ht.$type||(Ht.$type=i.markType(Ht,"IgcToolContextBinding")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Ht.$type||(Ht.$type=i.markType(Ht,"IgcToolContextBinding"));var t=new i.SyncableObservableCollection$2(Ht.$type,Ft.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Ht)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Gt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(r,t),r.prototype.addHandler=function(t,e,n,r){switch(n){case 20:var o=t;o.selectedValueChanged=i.delegateCombine(o.selectedValueChanged,i.runOn(this,this.w)),this.u=r,this.v=e}},r.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUIComboSelectedItemsChangedEventArgs;null==t.value?n.a=[]:n.a=[t.value],this.u(this.v,n)}},r.prototype.getValue=function(e,n){switch(n){case 1:var r=1;switch(e.density){case 0:r=0;break;case 1:r=1;break;case 2:r=2;break;case 3:r=3;break;case 4:r=4}return i.enumGetBox(i.NativeUIDisplayDensity_$type,r);case 88:return e.gg;case 87:return e.j;case 8:return e.itemsSource;case 86:return[e.value]}return t.prototype.getValue.call(this,e,n)},r.prototype.removeHandler=function(t,e,n,r){switch(n){case 20:var o=t;o.selectedValueChanged=i.delegateRemove(o.selectedValueChanged,i.runOn(this,this.w)),this.u=null,this.v=null}},r.prototype.setValue=function(e,n,r){switch(n){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,r)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}return void(e.density=o);case 88:return void(e.gg=r);case 87:return void(e.j=[r]);case 8:var s=!1;if(null!=r&&null!==i.typeCast(i.Array_$type,r))for(var a=r,h=0;h<a.length;h++){if("string"==typeof a[h]){s=!0;break}break}if(s){for(var u=r,l=new i.List$1(i.Base.$,0),c=0;c<u.length;c++){var p=u[c],f={};f.label=p,l.add1(f)}e.itemsSource=l.toArray()}else e.itemsSource=r;return;case 86:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.$t=i.markType(r,"ComboEditorBridge",n.XComponentBridge.$),r}(n.XComponentBridge),Kt=new i.Type(null,"INativeUIToolPanelBridge",null,[i.INativeUIElementBridge_$type]),Xt=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolCommandEventArgs"),n}(i.Base),Qt=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),Yt=i.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),Jt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextChangedEventArgs"),n}(i.Base),Zt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=new i.Dictionary$2(i.String_$type,i.Base.$,0),e.onItemChanged=null,e}return e.__extends(n,t),n.prototype.i=function(t,e){if(this.e.containsKey(t)){var n=this.e.item(t);return this.e.item(t,e),void((null==n&&null!=e||!i.Base.equalsStatic(n,e))&&this.h(t,n,e))}this.e.addItem(t,e),this.h(t,null,e)},n.prototype.h=function(t,e,i){var n;null!=this.onItemChanged&&this.onItemChanged(this,((n=new Jt).c=t,n.b=e,n.a=i,n))},n.prototype.g=function(t){return this.e.item(t)},n.prototype.d=function(t,e,n){return null!=e&&this.e.containsKey(e)?{ret:!0,p1:i.typeCastObjTo$t(t,this.e.item(e))}:{ret:!1,p1:i.Type.getDefaultValue(t)}},n.prototype.f=function(){return this.e.getEnumerator()},n.prototype.b=function(t){return this.e.containsKey(t)},n.prototype.c=function(t){return this.e.containsKey(t)},n.$t=i.markType(n,"ToolPanelContext"),n}(i.Base),te=new i.Type(null,"INativeUIToolbarBridge",null,[i.INativeUIElementBridge_$type]),ee=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuOpeningEventArgs"),n}(i.Base),ie=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuOpeningEventArgs"),n}(i.Base),ne=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuClosingEventArgs"),n}(i.Base),re=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuClosingEventArgs"),n}(i.Base),oe=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),se=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),ae=function(t){function n(){var e=t.call(this,Ft.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolContextBindingCollection",i.ObservableCollection$1.$.specialize(Ft.$)),n}(i.ObservableCollection$1),he=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextSwappedEventArgs"),n}(i.Base),ue=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=null,e.a=0,e.c=!1,e.b=!1,e.e=0,e.d=new Date,e.f=null,e.h=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetail"),n}(i.Base),le=function(t){function n(){var e=t.call(this)||this;return e.f=0,e.h=0,e.g=0,e.b=0,e.a=0,e.c=0,e.e=0,e.d=0,e.f=NaN,e.h=NaN,e.g=NaN,e.e=NaN,e.d=NaN,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionMeasurementContext"),n}(i.Base),ce=function(t){function n(){return t.call(this,ue.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(ue.$)),n}(i.ObservableCollection$1),pe=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new ce,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),fe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=null,e.h=null,e.e=0,e.a=null,e.d=null,e.f=null,e.b=null,e.c=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),t.u('id: "'+this.g+'", '),t.u('name: "'+this.h+'", '),t.u("type: "+this.e+", "),t.u("actualBackgroundColor: "+this.a.serialize()+", "),null!=this.d&&t.u("listItem: "+this.d.serialize()+", "),null!=this.f&&t.u("container: "+this.f.serialize()+", "),null!=this.b&&t.u("icon: "+this.b.l()+", "),null!=this.c&&t.u("label: "+this.c.g()+", "),t.u(this.i()),t.u("}"),t.toString()},n.prototype.i=function(){return""},n.$t=i.markType(n,"ToolActionVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),de=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(i.Base.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,i.Base.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf1(t)},n.$t=i.markType(n,"LayoutSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),be=function(t){return t[t.Flat=0]="Flat",t[t.Outlined=1]="Outlined",t}({}),ge=i.markEnum("ToolActionButtonGroupDisplayType","Flat,0|Outlined,1"),ye=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,r.b=null,e=null==e?0:e){case 0:var o=i[0],s=i[1];r.a=o,r.b=s;break;case 1:o=i[0];r.a=null,r.b=o}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(0,null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"LayoutPrimaryKeyValue"),n}(i.Base),me=function(t){function n(){var e=t.call(this,ye.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(ye.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,ye.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.ag&&(this.ai.clear(),this.aj.clear()),t.prototype.p.call(this)},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"LayoutSelectedKeysCollection",i.ObservableCollection$1.$.specialize(ye.$)),n}(i.ObservableCollection$1),_e=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),ve=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),Ce=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),je=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),we=function(t){function n(e){var r=t.call(this)||this;return r.j=null,r.f=null,r.d=null,r.h=i.DeviceUtils.g(42),r.ab=new i.Thickness(1,20,0,20,0),r.w=i.BrushUtil.h(255,237,239,245),r.x=i.BrushUtil.h(255,0,0,0),r.k="",r.a=n.c(),r.g=NaN,r.propertyChanged=null,r.j=e,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.u("Height",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.u("Padding",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.u("Background",e,this.w)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.u("TextColor",e,this.x)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.u("Text",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.u("FontInfo",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var e=this;i.NativeUIComponent.aw(this.j,[7,3],(function(i){e.e=i[0],e.e.bi=e.ac,e.e.y=e.i,e.e.a8=e.y,e.e.ao=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bl=!1,e.f.bm=e.p,e.f.ba=e.z,e.f.bk=e.b,e.e.bn(e.f),null!=t&&t()}))},n.prototype.aa=function(){if(i.isNaN_(this.g)){var t=document.createElement("canvas").getContext("2d");t.font=this.b.fontString;var e=t.measureText(this.p);this.g=e.width}return new i.Size(1,this.ac.left+this.ac.right+this.g,this.ac.top+this.ac.bottom+this.i)},n.c=function(){return(t=new i.FontInfo).q="Verdana",t.f=14,t.t="Normal",t.v="Normal",t.r="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.bi=this.ac,this.e.y=this.i,this.e.a8=this.y),null!=this.f&&(this.f.bm=this.p,this.f.ba=this.z,this.f.bk=this.b)},n.prototype.u=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.v(t,e,n)},n.prototype.v=function(t,e,i){switch(t){case"Background":case"Padding":case"Height":case"FontInfo":case"TextColor":this.s();break;case"Text":this.g=NaN,this.s()}},n.$t=i.markType(n,"TooltipTextPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Pe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e}return e.__extends(n,t),n.prototype.i=function(){new i.StringBuilder(0);return"arrowIcon: "+this.j!=null?this.j.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",fe.$),n}(fe),xe=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.c=null,e.a=null,e.b=new i.List$1(fe.$,0),e.c=new i.List$1(Oe.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("actions: ["),this.b.count>0)for(var e=0;e<this.b.count;e++){var n=this.b._inner[e].serialize();t=e<this.b.count-1?t.u(n+", "):t.l(n)}if(t.u("], "),t.u("dropdowns: ["),this.c.count>0)for(var r=0;r<this.c.count;r++){var o=this.c._inner[r].serialize();t=r<this.c.count-1?t.l(o+", "):t.l(o)}return t.u("], "),t.u("panel: "+this.a.serialize()),t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Oe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),null!=this.a&&t.u("toolPanel: "+this.a.serialize()+", "),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelDropdownMenuVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Te=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),Ie=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=2,e}return e.__extends(n,t),Object.defineProperty(n,"b",{get:function(){return null==n.a&&(n.a=new n),n.a},enumerable:!1,configurable:!0}),n.g=function(){i.NativeUIComponent.as(n.b)},Object.defineProperty(n.prototype,"flavor",{get:function(){return this.c},enumerable:!1,configurable:!0}),n.prototype.createComponent=function(t,e,i){switch(e){case 19:this.d(t,i);break;case 13:this.f(t,i);break;case 18:this.e(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:case 18:case 19:return!0}return!1},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new v;s.provideRenderer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Gt(s),h=new i.NativeUICombo;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new ei;o.provideContainer(r);var s=new ke(o),a=new Be;a.an=n,a.d=s,e(a)},n.prototype.e=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new Je;o.provideContainer(r);var s=new Se(o),a=new Ee;a.an=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),ke=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.y=null,i.v=null,i.z=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.jj()},r.prototype.x=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.updateDensity=function(t,e){t.gy(this.x(e))},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ac)),this.u=r,this.y=e;break;case 12:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ad)),this.v=r,this.z=e;break;case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ab)),this.w=r,this.aa=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ac)),this.u=null,this.y=null;break;case 12:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ad)),this.v=null,this.z=null;break;case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.ab)),this.w=null,this.aa=null}},r.prototype.ac=function(t,e){null!=this.u&&this.u(this.y,e)},r.prototype.ad=function(t,e){null!=this.v&&this.v(this.z,e)},r.prototype.ab=function(t,e){null!=this.w&&this.w(this.aa,e)},r.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 105:return e}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},r.prototype.setValue=function(e,n,r){var o=e;switch(n){case 27:return void(o.actions=r);case 30:return void(o.u=i.EnumUtil.getEnumValue(Yt,r));case 28:return void(o.ct=i.typeGetValue(r));case 18:return void(o.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 33:return void(o.jc=r);case 34:return void(o.ix=r);case 23:return void(o.iu=r);case 50:return void(o.ja=r);case 51:return void(o.i0=r);case 52:return void(o.i3=r);case 53:return void(o.i9=r);case 11:return void(o.ak=r);case 69:return void(o.i8=r);case 65:return void(o.jf=r);case 67:return void(o.jg=r);case 66:return void(o.iv=r);case 68:return void(o.iw=r);case 70:return void(o.i6=r);case 71:return void(o.i7=r);case 80:return void(o.jb=r);case 81:return void(o.i2=r);case 82:return void(o.am=r);case 106:return void(o.ay=r)}t.prototype.setValue.call(this,e,n,r)},r.prototype.getValue=function(e,n){var r=e;switch(n){case 27:return r.actions;case 30:return i.enumGetBox(Yt,r.u);case 28:return r.ct;case 29:return r.bv;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.x);case 33:return r.jc;case 34:return r.ix;case 23:return r.iu;case 50:return r.ja;case 51:return r.i0;case 52:return r.i3;case 53:return r.i9;case 11:return r.ak;case 69:return r.i8;case 65:return r.jf;case 67:return r.jg;case 66:return r.iv;case 68:return r.iw;case 70:return r.i6;case 71:return r.i7;case 80:return r.jb;case 81:return r.i2;case 82:return r.am;case 101:return r.ax;case 106:return r.ay}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.f9()},r.prototype.flushRefresh=function(t){t.fr()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.getContext=function(t){return t.p},r.prototype.setContext=function(t,e){t.p=e},r.prototype.setBrushContextItem=function(t,e,i){t.gi(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.iy(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.gg(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.gq(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.b6(e)},r.prototype.setStringContextItem=function(t,e,i){t.gu(e,i)},r.prototype.getStringContextItem=function(t,e){return t.ef(e)},r.prototype.setBoolContextItem=function(t,e,i){t.ge(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.au(e)},r.prototype.setColorContextItem=function(t,e,i){t.gk(e,i)},r.prototype.getColorContextItem=function(t,e){return t.jh(e)},r.prototype.setDataContextItem=function(t,e,i){t.go(e,i)},r.prototype.getDataContextItem=function(t,e){return t.cx(e)},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Kt]),r}(n.XComponentBridge),Se=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.ac=null,i.v=null,i.ad=null,i.y=null,i.ae=null,i.x=null,i.ab=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.f0()},r.prototype.z=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.af)),this.y=r,this.ae=e;break;case 22:o.subMenuOpening=i.delegateCombine(o.subMenuOpening,i.runOn(this,this.ah)),this.x=r,this.ab=e;break;case 23:o.subMenuClosing=i.delegateCombine(o.subMenuClosing,i.runOn(this,this.ag)),this.w=r,this.aa=e}},r.prototype.ah=function(t,e){if(null!=this.x){var i=new ie;this.x(this.ab,i)}},r.prototype.ag=function(t,e){if(null!=this.x){var i=new re;this.w(this.aa,i)}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.af)),this.y=null,this.ae=null;break;case 22:o.subMenuOpening=i.delegateRemove(o.subMenuOpening,i.runOn(this,this.ah)),this.x=null,this.ab=null}},r.prototype.af=function(t,e){null!=this.y&&this.y(this.ae,e)},r.prototype.setValue=function(t,n,r){var o,s,a=t;switch(n){case 27:a.actions.clear();try{for(var h=e.__values(i.fromEnum(r)),u=h.next();!u.done;u=h.next()){var l=u.value;a.actions.add(l)}}catch(t){o={error:t}}finally{try{u&&!u.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}break;case 30:a.m=i.EnumUtil.getEnumValue(se,r);break;case 28:a.bq=i.typeGetValue(r);break;case 18:a.v=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r);break;case 33:a.fu=r;break;case 34:a.fh=r;break;case 23:a.fe=r;break;case 50:a.fs=r;break;case 51:a.fj=r;break;case 52:a.fl=r;break;case 53:a.fr=r;break;case 11:a.ab=r;break;case 69:a.fq=r;break;case 65:a.fx=r;break;case 67:a.fy=r;break;case 66:a.ff=r;break;case 68:a.fg=r;break;case 70:a.fo=r;break;case 71:a.fp=r;break;case 80:a.ft=r;break;case 81:a.fk=r;break;case 82:a.ad=r;break;case 83:a.target=r;break;case 106:a.ap=r}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(se,n.m);case 28:return n.bq;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.v);case 33:return n.fu;case 34:return n.fh;case 23:return n.fe;case 50:return n.fs;case 51:return n.fj;case 52:return n.fl;case 53:return n.fr;case 11:return n.ab;case 69:return n.fq;case 65:return n.fx;case 67:return n.fy;case 66:return n.ff;case 68:return n.fg;case 70:return n.fo;case 71:return n.fp;case 80:return n.ft;case 81:return n.fk;case 82:return n.ad;case 83:return n.target;case 101:return n.ao;case 106:return n.ap}return null},r.prototype.flushRefresh=function(t){t.dr()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.ed(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.fi(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.ec(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.eh(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.a5(e)},r.prototype.setStringContextItem=function(t,e,i){t.ep(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cj(e)},r.prototype.setBoolContextItem=function(t,e,i){t.eb(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.an(e)},r.prototype.setColorContextItem=function(t,e,i){t.ee(e,i)},r.prototype.getColorContextItem=function(t,e){return t.fz(e)},r.prototype.setDataContextItem=function(t,e,i){t.eg(e,i)},r.prototype.getDataContextItem=function(t,e){return t.bv(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[te]),r}(n.XComponentBridge),Ae=function(t){function n(){var e,n=t.call(this)||this;return n.o=null,n.n=null,n.g=i.DeviceUtils.g(44),n.a=null,n.j=null,n.m=null,n.e=null,n.l=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ab=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.k=null,n}return e.__extends(n,t),n.prototype.q=function(){return this.j},n.prototype.w=function(){},n.prototype.u=function(t){var e=this;if(null!=t){this.a.d=new i.DOMExecutionContext(t),this.j=t,this.m=this.j.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.j.get2DCanvasContext(this.m)),this.l=this.j.createElement("div"),this.z();var n=this.j.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.j.append(n),this.j.getPortal(n,"ToolPanel",(function(t){var i=t.componentRef.i;i.fq(),e.a.ds(i)}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative")}else this.j=null},n.prototype.z=function(){},n.prototype.y=function(){this.j},n.prototype.t=function(){if(null!=this.j){var t=this.j.rootWrapper.width(),e=this.j.rootWrapper.height();this.a.userSetWidth||0!=this.a.m||(this.j.rootWrapper.setStyleProperty("min-width",this.g+"px"),t=this.g),this.ab=new i.Size(1,t,e),this.a.dv(this.ab)}},n.prototype.aa=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.fu),i.NativeUI.m(e,this.a.fe))}},n.prototype.d=function(){return this.b},n.prototype.v=function(){},n.prototype.x=function(){},n.prototype.s=function(){},n.prototype.h=function(){return this.ab.width},n.prototype.i=function(t){return this.c=this.a.ac(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.r=function(t,e){null==this.k&&(this.k=this.j.createElement("div")),e(this.k.getNativeElement())},n.$t=i.markType(n,"ToolbarView"),n}(i.Base),Ne=function(t){function n(){var e,n=t.call(this)||this;return n.u=null,n.t=null,n.c=null,n.p=null,n.s=null,n.i=null,n.r=null,n.d=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.e=function(){var t=new i.FontInfo;return t.q="Verdana",t.f=10,t.t="Normal",t.v="Normal",t.r="Normal",t}(),n.al=new i.Size,n.f=null,n._gridExternal=null,n.j=!1,n.q=null,n}return e.__extends(n,t),n.prototype.x=function(){return this.p},n.prototype.af=function(){},Object.defineProperty(n.prototype,"v",{get:function(){return this.p.rootWrapper},enumerable:!1,configurable:!0}),n.prototype.ad=function(t){var e=this;if(null!=t){this.c.c=new i.DOMExecutionContext(t),this.p=t,this.s=this.p.createElement("canvas"),this.i=new i.RenderingContext(new i.CanvasViewRenderer,this.p.get2DCanvasContext(this.s)),this.r=this.p.createElement("div"),this.ai();var n=this.p.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.p.append(n),this.p.getPortal(n,"ListPanel",(function(t){var i=t.componentRef.i;i.fr(),e.c.fs(i),e.ag()}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.p.rootWrapper.setStyleProperty("position","relative"),this.p.rootWrapper.setStyleProperty("width","100%")}else this.p=null},n.prototype.ai=function(){},n.prototype.ab=function(){if(null!=this.p){var t=this.p.rootWrapper.width(),e=this.p.rootWrapper.height();this.al=new i.Size(1,t,e),this.c.fx(this.al),this.c.an}},n.prototype.m=function(){return this.p.rootWrapper.getNativeElement().offsetWidth},n.prototype.l=function(){return this.p.rootWrapper.getNativeElement().offsetHeight},n.prototype.aj=function(){var t=this.p;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.jc),i.NativeUI.m(e,this.c.iu))}},n.prototype.g=function(){return this.d},n.prototype.h=function(){return this.e},n.prototype.ae=function(){},n.prototype.ah=function(){},n.prototype.ag=function(){null!=this.p&&(this.c.actions.count>0&&0==this.c.u?this.p.rootWrapper.setStyleProperty("min-width",i.DeviceUtils.g(44)+"px"):this.p.rootWrapper.setStyleProperty("min-width","0px"))},n.prototype.ac=function(){this.ag()},n.prototype.aa=function(){},n.prototype.k=function(){return this.al.width},n.prototype.n=function(t){return this.f=this.c.al(),i.FontUtil.measureStringWidth(t,this.f,this.i)},n.prototype.o=function(t,e){return i.FontUtil.measureStringWidth(t,e,this.i)},n.prototype.z=function(t,e){null==this.q&&(this.q=this.p.createElement("div")),e(this.q.getNativeElement())},n.prototype.a=function(){var t=new i.Popup;this.p.getExternal(t,this.p.rootWrapper,this.p.getExternal(this.c,null,null));return t},n.prototype.b=function(t){var e=new ei;this.p.getExternal(e,this.p.rootWrapper,this.p.getExternal(this.c,null,null));return t.an.appendChild(e.v.p.rootWrapper.getNativeElement()),e},n.prototype.ak=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,s=e.height;return new i.Rect(0,n,r,o,s)},n.prototype.y=function(){this.c.externalObject.ensureStretch()},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),Be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bp=null,e.bk=null,e.bl=null,e.br=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bo",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(Yt,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(Yt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(80)},set:function(t){this.a4(80,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(81)},set:function(t){this.a4(81,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(82)},set:function(t){this.a4(82,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(65)},set:function(t){this.a4(65,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bo.getContext(this.am)},set:function(t){this.bo.setContext(this.am,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,null!=this.bp?this.aq(10,this.bp):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,null!=this.bk?this.aq(11,this.bk):this.a2(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(12,this.bl):this.a2(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),n.prototype.b2=function(){this.bo.refresh(this.am)},n.prototype.b3=function(t){this.bo.updateDensity(this.am,t)},n.prototype.b0=function(){this.bo.flushRefresh(this.am)},n.prototype.b1=function(t){this.bo.notifySizeChanged(this.am,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),Ee=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.br=null,e.bo=null,e.bn=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bk",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(106)},set:function(t){this.a4(106,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return i.EnumUtil.getEnumValue(Yt,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(Yt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(80)},set:function(t){this.a4(80,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(81)},set:function(t){this.a4(81,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(82)},set:function(t){this.a4(82,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(65)},set:function(t){this.a4(65,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(101)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(10,this.bl):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,null!=this.bo?this.aq(22,this.bo):this.a2(22,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,null!=this.bo?this.aq(23,this.bn):this.a2(23,e)},enumerable:!1,configurable:!0}),n.prototype.b2=function(){this.bk.flushRefresh(this.am)},n.prototype.b3=function(t){this.bk.notifySizeChanged(this.am,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),Re=function(t){function n(){var e,n=t.call(this)||this;n.q=null,n.bh=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bk=new i.List$1(i.String_$type,0),n.bj=new i.HashSet$1(i.String_$type,0),n.bg=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Ft.$),0),n.bf=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Ft.$),0),n.o=new ae,n.r=null,n.c=null,n.ct=null,n.g=null,n.i=new Ye,n.dh=null,n.de=null,n.eh=null,n.gp=i.BrushUtil.h(0,0,0,0),n.aa=null,n.bq=30,n.bo=NaN,n.bp=NaN,n.bm=24,n.bn=NaN,n.bl=24,n.propertyChanged=null,n.bi=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.ab=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.onCommand=null,n.performed=null,n.y=null,n.an=null,n.ak=null,n.ah=null,n.ap=null,n.am=null,n.aq=null,n.ar=null,n.t=0,n.al=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.fi));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.fj));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.fr));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.fs)),n}return e.__extends(n,t),n.prototype.get_a7=function(){return!1},Object.defineProperty(n.prototype,"a7",{get:function(){return this.get_a7()},enumerable:!1,configurable:!0}),n.prototype.gd=function(t,n){var r,o,s,a;if(this.bh.item(t,n),this.bg.containsKey(t)){var h=this.bg.item(t),u=new i.List$1(Ft.$,0);try{for(var l=e.__values(i.fromEnum(h)),c=l.next();!c.done;c=l.next()){var p=c.value;u.add(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u)),d=f.next();!d.done;d=f.next()){var b=d.value;this.f6(b)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},n.prototype.f6=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gg)),null!=t.h&&this.bf.containsKey(t.h)){var e=this.bf.item(t.h);e.remove(t),0==e.count&&this.bf.removeItem(t.h)}if(null!=t.j&&this.bg.containsKey(t.j)){var n=this.bg.item(t.j);n.remove(t),0==n.count&&(this.bg.removeItem(t.j),this.bj.contains(t.j)&&(this.bj.remove(t.j),this.bk.remove(t.j)))}}},n.prototype.f7=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gg)),null!=e&&this.bf.containsKey(e)){var r=this.bf.item(e);r.remove(t),0==r.count&&this.bf.removeItem(t.h)}if(null!=n)if(this.bg.containsKey(n))this.bg.item(n).remove(t),this.bj.contains(t.j)&&(this.bj.remove(t.j),this.bk.remove(t.j))}},n.prototype.e0=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.gg)),null!=t.h)if(this.bf.containsKey(t.h)){var e=this.bf.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Ft.$,0);n.add(t),this.bf.addItem(t.h,n)}if(null!=t.j)if(this.bg.containsKey(t.j)){var r=this.bg.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Ft.$,0);o.add(t),this.bg.addItem(t.j,o),this.bj.contains(t.j)||(this.bj.add_1(t.j),this.bk.add(t.j))}}},n.prototype.gg=function(t,e){switch(e.propertyName){case"ContextKey":this.f7(t,e.oldValue,t.j),this.e0(t);break;case"PropertyName":this.f7(t,t.h,e.oldValue),this.e0(t)}},n.prototype.cq=function(t,e){if(this.bh.containsKey(t))return this.bh.item(t);if(this.bg.containsKey(t))for(var i=this.bg.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.ay(r))return this.cn(r,e)}return e},n.prototype.h=function(t,e,n){if(this.bh.containsKey(e))return i.typeCastObjTo$t(t,this.bh.item(e));if(this.bg.containsKey(e))for(var r=this.bg.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.ay(s)){var a=this.cn(s,i.getBoxIfEnum(t,n));return"number"==typeof a?i.typeCastObjTo$t(t,i.EnumUtil.toObject(t,i.typeGetValue(a))):i.typeCastObjTo$t(t,a)}}return n},n.prototype.cp=function(t,e){if(this.bh.containsKey(t))return this.bh.item(t);if(this.bg.containsKey(t))for(var i=this.bg.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.ay(r))return this.cn(r,e)}return e},n.prototype.cn=function(t,e){return null==this.q||null==this.q.p?e:this.q.p.c(t.h)?this.q.p.g(t.h):e},n.prototype.ga=function(t,e){null!=this.q&&null!=this.q.p&&null!=t.h&&(this.ge(t.h),this.q.p.i(t.h,e),this.gf(t.h))},Object.defineProperty(n.prototype,"contextBindings",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.fx("ContextBindings",e,this.o)},enumerable:!1,configurable:!0}),n.prototype.av=function(){return this.bk.count>0},n.prototype.fe=function(t){for(var e=0;e<this.bk.count;e++){var i=this.bk._inner[e];if(this.bg.containsKey(i))for(var n=this.bg.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.ay=function(t){return null!=this.q&&null!=this.q.p&&this.q.p.c(t.h)},n.prototype.gb=function(t,e){if(this.ax(t))for(var i=this.bg.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.ga(r,e)}else this.bh.item(t,e)},n.prototype.aw=function(t){return!!this.bf.containsKey(t)},n.prototype.ax=function(t){return!!this.bg.containsKey(t)},n.prototype.gc=function(t){var e=this.q;if(this.q=t,null!=this.q&&null!=this.ag&&null!=this.q.v.p&&this.ag.w(this.q.v.p),this.q!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.ft)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.fu))),null!=this.q){var n=this.q;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.ft));var r=this.q;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.fu))}this.fw(),this.y=null}},n.prototype.co=function(t){return null==t||null==t.j?null:this.bh.containsKey(t.j)?this.bh.item(t.j):null},n.prototype.fw=function(){null!=this.ah&&(this.ah.bm=i.runOn(this,this.fl))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.fx("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cu",{get:function(){return null!=this.ef?this.ef:null!=this.ex?this.eq(this.ex):(null==this.ct&&(this.ct=i.Guid.newGuid().toString()),this.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.cq("Width",NaN)},set:function(t){this.gd("Width",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.cq("Height",NaN)},set:function(t){this.gd("Height",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return i.typeGetValue(this.cq("SubPanelRowHeight",-1))},set:function(t){this.gd("SubPanelRowHeight",t)},enumerable:!1,configurable:!0}),n.prototype.e2=function(){null!=this.ah&&(this.ah.bm=null)},n.prototype.fr=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;this.f6(l)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var c=e.__values(i.fromEn(n.newItems)),p=c.next();!p.done;p=c.next()){var f=p.value;this.e0(f)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}},n.prototype.fs=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.contextBindings)),a=s.next();!a.done;a=s.next()){var h=a.value;this.f6(h)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fi=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;l.e2(),l.g=null;var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.fm))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;d.g=this;var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.fm))}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},n.prototype.fj=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.actions)),a=s.next();!a.done;a=s.next()){var h=a.value;h.e2(),h.g=null}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fm=function(t,e){this.e1(t,e.propertyName)},n.prototype.e1=function(t,e){null!=this.g&&this.g.e1(t,e)},n.prototype.eq=function(t){return i.stringReplace(t," ","_")},n.prototype.k=function(t){var e,i=this;return(e=new ue).g=i.cu,e.a=i.z,e.c=t,e},n.prototype.fg=function(t){var e,n=this;null==this.dj&&null==this.cl||t.add(((e=new i.ToolCommandArgument).argumentName=n.eo(),e.value=n.cr(),e)),this.fh(t)},n.prototype.fh=function(t){},n.prototype.eo=function(){return null!=this.dj?this.dj:null!=this.cu?this.cu:"Unknown"},n.prototype.cr=function(){return null!=this.cl?this.cl:this.cs()},n.prototype.cs=function(){return null},Object.defineProperty(n.prototype,"em",{get:function(){return this.cq("ParentId",null)},set:function(t){var e=this.em;e!=t&&(this.gd("ParentId",t),this.fx("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.ep=function(){return null!=this.dm?this.dm:this.cu},Object.defineProperty(n.prototype,"dm",{get:function(){return this.cq("CommandId",null)},set:function(t){var e=this.dm;e!=t&&(this.gd("CommandId",t),this.fx("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dj",{get:function(){return this.cq("CommandArgument",null)},set:function(t){var e=this.dj;e!=t&&(this.gd("CommandArgument",t),this.fx("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.cq("CommandArgumentValue",null)},set:function(t){var e=this.cl;e!=t&&(this.gd("CommandArgumentValue",t),this.fx("CommandArgumentValue",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.h(i.BaseControlTheme_$type,"BaseTheme",0)},set:function(t){var e=this.s;e!=t&&(this.gd("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.fx("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.cq("PaddingLeft",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("PaddingLeft",t),this.fx("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.cq("ActualPaddingLeft",NaN)},set:function(t){var e=this.bw;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("ActualPaddingLeft",t),this.fx("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.cq("PaddingRight",NaN)},set:function(t){var e=this.cg;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("PaddingRight",t),this.fx("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.cq("ActualPaddingRight",NaN)},set:function(t){var e=this.bx;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("ActualPaddingRight",t),this.fx("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.cq("PaddingBottom",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("PaddingBottom",t),this.fx("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.cp("ActualPaddingBottom",NaN)},set:function(t){var e=this.bv;e!=t&&(this.gd("ActualPaddingBottom",t),this.fx("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.cq("PaddingTop",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("PaddingTop",t),this.fx("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.cq("ActualPaddingTop",NaN)},set:function(t){var e=this.by;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("ActualPaddingTop",t),this.fx("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gt",{get:function(){return this.cq("ActualHoverBackground",null)},set:function(t){var e=this.gt;e!=t&&(this.gd("ActualHoverBackground",t),this.fx("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g1",{get:function(){return this.cq("HoverBackground",null)},set:function(t){var e=this.g1;e!=t&&(this.gd("HoverBackground",t),this.fx("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gq",{get:function(){return this.cq("ActualBackground",null)},set:function(t){var e=this.gq;e!=t&&(this.gd("ActualBackground",t),this.fx("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gy",{get:function(){return this.cp("Background",null)},set:function(t){var e=this.gy;e!=t&&(this.gd("Background",t),this.fx("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gx",{get:function(){return this.cp("ActualTextColor",null)},set:function(t){var e=this.gx;e!=t&&(this.gd("ActualTextColor",t),this.fx("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g5",{get:function(){return this.cq("TextColor",null)},set:function(t){var e=this.g5;e!=t&&(this.gd("TextColor",t),this.fx("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gw",{get:function(){return this.cp("ActualSubtitleTextColor",null)},set:function(t){var e=this.gw;e!=t&&(this.gd("ActualSubtitleTextColor",t),this.fx("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g4",{get:function(){return this.cq("SubtitleTextColor",null)},set:function(t){var e=this.g4;e!=t&&(this.gd("SubtitleTextColor",t),this.fx("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gr",{get:function(){return this.cq("ActualDisabledTextColor",null)},set:function(t){var e=this.gr;e!=t&&(this.gd("ActualDisabledTextColor",t),this.fx("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gz",{get:function(){return this.cq("DisabledTextColor",null)},set:function(t){var e=this.gz;e!=t&&(this.gd("DisabledTextColor",t),this.fx("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.cq("ActualTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gd("ActualTextStyle",t),this.fx("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.cq("TextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gd("TextStyle",t),this.fx("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.cq("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ac;e!=t&&(this.gd("ActualSubtitleTextStyle",t),this.fx("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.cq("SubtitleTextStyle",null)},set:function(t){var e=this.af;e!=t&&(this.gd("SubtitleTextStyle",t),this.fx("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return this.cq("IsDisabled",!1)},set:function(t){var e=this.a5;e!=t&&(this.gd("IsDisabled",t),this.fx("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.cp("IsHighlighted",!1)},set:function(t){var e=this.a6;e!=t&&(this.gd("IsHighlighted",t),this.fx("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.h(i.ControlDisplayDensity_$type,"Density",0)},set:function(t){var e=this.v;e!=t&&(this.gd("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.fx("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.h(i.ControlDisplayDensity_$type,"ActualDensity",0)},set:function(t){var e=this.u;e!=t&&(this.gd("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.fx("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return null!=this.em},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ef",{get:function(){return this.cq("Name",null)},set:function(t){var e=this.ef;e!=t&&(this.gd("Name",t),this.fx("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ex",{get:function(){return this.cq("Title",null)},set:function(t){var e=this.ex;e!=t&&(this.gd("Title",t),this.fx("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"er",{get:function(){return this.cq("Subtitle",null)},set:function(t){var e=this.er;e!=t&&(this.gd("Subtitle",t),this.fx("Subtitle",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_ci=function(){return this.bq},Object.defineProperty(n.prototype,"ci",{get:function(){return this.get_ci()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.cq("IconName",null)},set:function(t){var e=this.d3;e!=t&&(this.gd("IconName",t),this.fx("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dy",{get:function(){return this.cq("IconCollectionName",null)},set:function(t){var e=this.dy;e!=t&&(this.gd("IconCollectionName",t),this.fx("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.cq("IconViewBoxLeft",NaN)},set:function(t){var e=this.ca;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("IconViewBoxLeft",t),this.fx("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.cq("IconViewBoxTop",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("IconViewBoxTop",t),this.fx("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.cq("IconViewBoxWidth",NaN)},set:function(t){var e=this.cc;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("IconViewBoxWidth",t),this.fx("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.cq("IconViewBoxHeight",NaN)},set:function(t){var e=this.b9;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("IconViewBoxHeight",t),this.fx("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g2",{get:function(){return this.cq("IconFill",null)},set:function(t){var e=this.g2;e!=t&&(this.gd("IconFill",t),this.fx("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gu",{get:function(){return this.cq("ActualIconFill",null)},set:function(t){var e=this.gu;e!=t&&(this.gd("ActualIconFill",t),this.fx("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.cq("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gd("IconFillColors",t),this.fx("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g3",{get:function(){return this.cq("IconStroke",null)},set:function(t){var e=this.g3;e!=t&&(this.gd("IconStroke",t),this.fx("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gv",{get:function(){return this.cq("ActualIconStroke",null)},set:function(t){var e=this.gv;e!=t&&(this.gd("ActualIconStroke",t),this.fx("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.cq("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gd("IconStrokeColors",t),this.fx("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.cq("IconStrokeWidth",NaN)},set:function(t){var e=this.b8;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("IconStrokeWidth",t),this.fx("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.fx("IconWidth",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.fx("ActualIconWidth",e,this.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.fx("IconHeight",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.fx("ActualIconHeight",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g6",{get:function(){return this.h(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.g6;e!=t&&(this.gd("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.fx("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.cq("CloseOnExecute",!1)},set:function(t){var e=this.at;e!=t&&(this.gd("CloseOnExecute",t),this.fx("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.cq("HighlightWidth",NaN)},set:function(t){var e=this.b6;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("HighlightWidth",t),this.fx("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.cq("ActualHighlightWidth",NaN)},set:function(t){var e=this.bs;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("ActualHighlightWidth",t),this.fx("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.cq("HighlightRadius",NaN)},set:function(t){var e=this.b5;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("HighlightRadius",t),this.fx("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.cq("ActualHighlightRadius",NaN)},set:function(t){var e=this.br;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("ActualHighlightRadius",t),this.fx("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g0",{get:function(){return this.cq("HighlightColor",null)},set:function(t){var e=this.g0;e!=t&&(this.gd("HighlightColor",t),this.fx("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gs",{get:function(){return this.cq("ActualHighlightColor",null)},set:function(t){var e=this.gs;e!=t&&(this.gd("ActualHighlightColor",t),this.fx("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_a0=function(){return!0},Object.defineProperty(n.prototype,"a0",{get:function(){return this.get_a0()},enumerable:!1,configurable:!0}),n.prototype.get_a1=function(){return!0},Object.defineProperty(n.prototype,"a1",{get:function(){return this.get_a1()},enumerable:!1,configurable:!0}),n.prototype.get_ba=function(){return!0},Object.defineProperty(n.prototype,"ba",{get:function(){return this.get_ba()},enumerable:!1,configurable:!0}),n.prototype.get_bc=function(){return!0},Object.defineProperty(n.prototype,"bc",{get:function(){return this.get_bc()},enumerable:!1,configurable:!0}),n.prototype.get_as=function(){return!0},Object.defineProperty(n.prototype,"as",{get:function(){return this.get_as()},enumerable:!1,configurable:!0}),n.prototype.fn=function(){null!=this.g&&this.g.fn()},n.prototype.fx=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.f5(t,e,n)},n.prototype.get_z=function(){return 0},Object.defineProperty(n.prototype,"z",{get:function(){return this.get_z()},enumerable:!1,configurable:!0}),n.prototype.f5=function(t,e,i){switch(t){case"TextStyle":null!=this.ag&&null!=this.q&&null!=this.q.v.p&&this.ag.w(this.q.v.p),this.gn();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":this.gn();break;case"ActualDensity":this.fk();break;case"Density":0==this.v?this.u=this.x:this.u=this.v;break;case"ActualBackground":null!=this.ao&&(this.ao.a8=this.gq);break;case"ActualTextStyle":case"Subtitle":case"Title":case"ActualSubtitleTextStyle":this.gl(),this.fc();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.gl();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.ap&&(this.ap.bb=this.gu,this.ap.bc=this.gv,this.ap.bk=this.a,this.ap.bl=this.b);break;case"Visibility":null!=this.q&&this.q.ga(),null!=this.an&&(this.an.bj=this.g6);break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.fv();break;case"IsHighlighted":this.gk(this.ao)}},n.prototype.gl=function(){null!=this.ar&&(this.ar.bm=this.er,this.ar.ba=this.a5?this.gr:this.gw,this.ar.bk=this.ac),null!=this.aq&&(this.aq.bm=this.ex,this.aq.ba=this.a5?this.gr:this.gx,this.aq.bk=this.ad,this.aq.h=this.az()?2:1),null!=this.am&&(this.az()?1==this.am.b1&&(this.am.b4(1,2,1),this.am.bn(this.ar),this.am.cc(this.ar,1)):2==this.am.b1&&(this.am.b9(1),this.am.bp(this.ar)))},n.prototype.ge=function(t){this.bi.containsKey(t)?this.bi.item(t,this.bi.item(t)+1):this.bi.item(t,1)},n.prototype.gf=function(t){this.bi.containsKey(t)&&(this.bi.item(t,this.bi.item(t)-1),this.bi.item(t)<=0&&this.bi.removeItem(t))},n.prototype.a9=function(t){return this.bi.containsKey(t)},n.prototype.ft=function(t,e){this.a9(e.c)||this.aw(e.c)&&this.f4(e.c,e.b,e.a)},n.prototype.fu=function(t,e){for(var i=0;i<this.bk.count;i++)for(var n=this.bk._inner[i],r=this.bg.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.a9(s.h)&&this.ay(s)){var a=null;a=this.bh.containsKey(s.j)?this.bh.item(s.j):this.cn(s,null),this.fx(s.j,a,this.cn(s,null))}}},n.prototype.f4=function(t,e,i){if(this.bf.containsKey(t))for(var n=this.bf.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.fx(o.j,e,i)}},n.prototype.ai=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},n.prototype.w=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},Object.defineProperty(n.prototype,"a3",{get:function(){return 0==this.u},enumerable:!1,configurable:!0}),n.prototype.fk=function(){this.gh()},n.prototype.gh=function(){},n.prototype.gk=function(t){null!=t&&(this.a6?(t.bg=new i.Thickness(0,i.DeviceUtils.g(this.bs)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(this.br))):(t.bg=new i.Thickness(0,i.DeviceUtils.g(0)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.a9=this.gs)},n.prototype.a8=function(){return null!=this.q&&null!=this.q.cz&&null!==i.typeCast(Je.$,this.q.cz)},n.prototype.gn=function(){null!=this.q&&(this.s=this.q.x,this.gq=null!=this.gy?this.gy:this.gp,this.gx=null!=this.g5?this.g5:this.q.ip,this.gw=null!=this.g4?this.g4:this.q.io,this.gr=null!=this.gz?this.gz:this.q.ia,this.gt=null!=this.g1?this.g1:this.q.ih,this.gu=null!=this.g2?this.g2:this.q.ii,this.gv=null!=this.g3?this.g3:this.q.ij,null!=this.ap&&(this.ap.bk=this.a,this.ap.bl=this.b),this.ad=null!=this.ag?this.ag:this.q.ai,this.ac=null!=this.af?this.af:this.q.aj,this.bw=i.isNaN_(this.cf)?i.DeviceUtils.g(12):this.cf,this.bx=i.isNaN_(this.cg)?i.DeviceUtils.g(12):this.cg,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(2):this.ch,this.bv=i.isNaN_(this.ce)?i.DeviceUtils.g(2):this.ce,this.bs=i.isNaN_(this.b6)?this.q.bu:this.b6,this.br=i.isNaN_(this.b5)?this.q.bt:this.b5,this.gs=null!=this.g0?this.g0:this.q.ig,this.bu=i.isNaN_(this.cd)?this.b3():this.cd,this.bt=i.isNaN_(this.b7)?this.b3():this.b7,this.go())},n.prototype.b3=function(){switch(this.u){case 0:case 3:case 1:case 2:return i.DeviceUtils.g(24);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(24)},n.prototype.go=function(){},n.prototype.fv=function(){null!=this.ap&&(this.ap.br=this.d3,this.ap.bq=this.dy,this.ap.ae=i.DeviceUtils.g(this.bu),this.ap.y=i.DeviceUtils.g(this.bt))},n.prototype.fz=function(t,e,i,n){var r=this;this.fd(i.b,i,n,(function(t){r.e3(i.b),r.an=t,r.fb(i.b,r.an,n,(function(){i.b.bs=r.an,r.gi(r.ak,r.ap,r.aq,r.ar),r.f1(null==r.ak?r.an:r.ak,i,n)}))}))},n.prototype.f1=function(t,e,i){},n.prototype.f0=function(t,e,i,n){},n.prototype.e7=function(t,e){this.e8(t,e)},n.prototype.e8=function(t,e){if(e.f=this.b0(t,e),e.h=this.b2(t,e),e.g=this.b1(t,e),e.b=this.bz(t,e),i.isNaN_(this.b4)||(e.d=this.b4),1==e.a||2==e.a){var n=0;i.isNaN_(e.f)||(n+=e.f),i.isNaN_(e.h)||(n+=e.h),i.isNaN_(e.g)||(n+=e.g),i.isNaN_(e.b)||(n+=e.b),n+=this.bw+this.bx,e.e=n}else if(i.isNaN_(this.cj)){var r=0;i.isNaN_(e.f)||(r+=e.f),i.isNaN_(e.h)||(r+=e.h),i.isNaN_(e.g)||(r+=e.g),i.isNaN_(e.b)||(r+=e.b),r+=this.bw+this.bx,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.cj},n.prototype.b1=function(t,e){return NaN},n.prototype.b2=function(t,e){var n=NaN;return null!=this.ex&&(n=t.v.o(this.ex,this.ad)),null!=this.er&&(n=Math.max(n,t.v.o(this.er,this.ac))),i.isNaN_(n)?NaN:n+this.ci},n.prototype.b0=function(t,e){return i.stringIsNullOrEmpty(this.d3)?NaN:i.DeviceUtils.g(36)},n.prototype.ae=function(t){return null!=this.ag?this.ag:t.al()},n.prototype.bz=function(t,e){return NaN},n.prototype.fy=function(t,e){if(this.f8(),this.a4){var i=this.q.h(this.em);null!=i&&i.fo(this,this.at)}else if(this.q.aw(this)){if(null!=this.performed){var n=new ce;this.e6(this,n,e),this.performed(this,((r=new pe).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new pe;return e.c=!1,e.a=t,e}());var r},n.prototype.f8=function(){var t=this,e=this.ep();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.e5(this,r),n.argumentsList=r.toArray();var o,s=((o=new Xt).a=n,o.b=t.at,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.q&&this.q.f2(this,s)}},n.prototype.f9=function(t,e){var i,n=((i=new Xt).a=t,i.b=e,i);null!=this.onCommand&&this.onCommand(this,n),null!=this.q&&this.q.f2(this,n)},n.prototype.bd=function(){return null!=this.onCommand},n.prototype.e5=function(t,e){t.fg(e);var i=this.q.a3(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a2()&&this.e5(i._inner[n],e)},n.prototype.a2=function(){return!0},n.prototype.fo=function(t,e){if(this.a4){var i=this.q.h(this.em);null!=i&&i.fo(t,e)}else this.fy(this.k(!1),t),e&&this.e4()},n.prototype.e6=function(t,e,i){var n=t.k(t==i);e.add(n);var r=this.q.a3(t);if(null!=r)for(var o=0;o<r.count;o++)this.e6(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new Le;break;case 2:e=new Xe;break;case 11:e=new De;break;case 13:e=new $e;break;case 12:e=new ze;break;case 1:e=new Ge;break;case 3:e=new We;break;case 4:e=new Me;break;case 5:e=new Qe;break;case 14:e=new Ue;break;case 6:e=new Fe;break;case 7:e=new He;break;case 8:e=new Ke;break;case 10:e=new Ve;break;case 15:e=new qe;break;case 0:return null}return e.y=t,e.ff(),e},n.prototype.ff=function(){if(this.ef=this.y.name,this.ex=this.y.title,this.dj=this.y.commandArgument,this.cl=this.y.commandArgumentValue,this.dm=this.y.commandId,this.d3=this.y.iconName,this.dy=this.y.iconCollectionName,this.ca=this.y.iconViewBoxLeft,this.cb=this.y.iconViewBoxTop,this.cc=this.y.iconViewBoxWidth,this.b9=this.y.iconViewBoxHeight,this.cd=this.y.iconWidth,this.b7=this.y.iconHeight,this.cf=this.y.paddingLeft,this.cg=this.y.paddingRight,this.ch=this.y.paddingTop,this.ce=this.y.paddingBottom,this.em=this.y.parentId,this.a5=this.y.isDisabled,this.at=this.y.closeOnExecute,this.v=this.w(this.y.density),this.ck=this.y.subPanelRowHeight,i.isNaN_(this.y.height)||(this.b4=this.y.height),i.stringIsNullOrEmpty(this.y.textColor)||(this.g5=i.CSSColorUtil.g(this.y.textColor)),i.stringIsNullOrEmpty(this.y.disabledTextColor)||(this.gz=i.CSSColorUtil.g(this.y.disabledTextColor)),this.a6=this.y.isHighlighted,null!=this.y.actions&&this.y.actions.length>0)for(var t=0;t<this.y.actions.length;t++)this.actions.add(n.f(this.y.actions[t]));if(null!=this.y.contextBindings&&this.y.contextBindings.length>0)for(var e=0;e<this.y.contextBindings.length;e++)this.contextBindings.add(this.n(this.y.contextBindings[e]))},n.prototype.n=function(t){return Ft.b(t)},n.prototype.bb=function(){return null!=this.g&&null!=this.g.g&&this.g.actions._inner[0]==this},n.prototype.be=function(){return!0},n.prototype.aj=function(t){switch(t){case 1:case 17:case 6:case 11:case 10:case 2:case 12:case 13:return this.be()?2:0;default:return 0}},Object.defineProperty(n.prototype,"ao",{get:function(){return this.an},enumerable:!1,configurable:!0}),n.prototype.fd=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z)i.NativeUIComponent.au(this.q.v.x(),7,(function(t){var i=t;o.fa(i,n),o.gm(i,e,n),null!=r&&r(i)}));else{var s=t.bs;this.gm(s,e,n),null!=r&&r(s)}},n.prototype.fc=function(){if(null!=this.al){var t=new le;null!=this.q&&this.q.f3(t);var e=this.b2(this.q,t);e=i.isNaN_(e)?0:e-this.ci,this.al.cd(1,1,e)}},n.prototype.fb=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=[this.aj(1),this.aj(7),this.aj(11),this.aj(3),this.aj(3),this.aj(7)];i.NativeUIComponent.av(this.q.v.x(),[1,7,11,3,3,7],s,(function(t){var e=t[0],i=t[1],s=t[2],a=t[3],h=t[4],u=t[5];o.e9(e,i,s,a,h,u,n),null!=r&&r()}))}else{if(null==this.ak&&1==this.an.bm){this.ah=this.an.bl(0),this.ah.bm=i.runOn(this,this.fl),this.ak=this.ah.bo,this.ap=this.ak.bl(0);var a=this.ak.bl(1);this.aq=a.bl(0),a.bm>1&&(this.ar=a.bl(1))}this.gi(this.ak,this.ap,this.aq,this.ar),null!=r&&r()}},n.prototype.fa=function(t,e){t.f=1==e.a?0:3,t.bs=0},n.prototype.gm=function(t,e,n){t.y=e.a.t,i.isNaN_(this.b4)||(t.y=this.b4),2==n.a?t.ae=e.c:t.ae=n.e,t.a8=this.gq,t.bj=this.g6,t.bh=new i.Thickness(1,0,0,0,0),this.gk(t),null!=this.ef&&(t.ap=this.ef)},n.prototype.e9=function(t,e,n,r,o,s,a){if(0==this.an.bm){this.an.b2(0,2,1),this.an.b4(0,2,1),this.an.bn(t),this.an.ca(t,0),this.an.cc(t,0),t.bo=e,e.bs=0;var h=this.b0(this.q,a);h=i.isNaN_(h)?0:h;var u=this.b2(this.q,a);u=i.isNaN_(u)?0:u-this.ci,this.al=e,e.b4(0,2,1),e.b2(0,1,h),e.b2(1,1,u),e.b3(2,2,1,this.ci),s.b4(0,2,1),s.bn(r),s.cc(r,0),e.bn(n),e.bn(s),e.cc(s,0),e.ca(n,0),e.ca(s,1)}t.c=this.s,this.a3?t.bp=1:t.bp=this.ai(this.u),t.bn=1,t.b1=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b0=this.gt,t.bv=!0,t.bt=!this.a0,t.bq=this.as,t.bs=!this.a1,t.bu=!0,t.br=!0,t.bm=i.runOn(this,this.fl),n.h=1,n.f=1,n.br=this.d3,n.bq=this.dy,n.bn=this.ca,n.bo=this.cb,n.bp=this.cc,n.bm=this.b9,n.bb=this.gu,n.bk=this.a,n.bc=this.gv,n.bl=this.b,n.ac=this.b8,n.ae=i.DeviceUtils.g(this.bu),n.y=i.DeviceUtils.g(this.bt),r.bl=!1,r.h=this.az()?2:1,r.f=0,o.bl=!1,o.h=0,o.f=0,this.az()?1==s.b1&&(s.b4(1,2,1),s.bn(o),s.cc(o,1)):2==s.b1&&(s.b9(1),s.bp(o)),this.ak=e,this.ah!=t&&(null!=this.ah&&this.ah.bm==i.runOn(this,this.fl)&&(this.ah.bm=null),this.ah=t),this.ap=n,this.aq=r,this.ar=o,this.am=s},n.prototype.az=function(){return!i.stringIsNullOrEmpty(this.er)},n.prototype.fl=function(t,e){this.fq()},n.prototype.gi=function(t,e,n,r){null!=t&&(t.bi=new i.Thickness(1,this.bw,this.by,this.bx,this.bv)),null!=e&&(e.bh=new i.Thickness(1,0,0,9,0),e.bn=this.ca,e.bo=this.cb,e.bp=this.cc,e.bm=this.b9,e.br=this.d3,e.bq=this.dy,e.bb=this.gu,e.bk=this.a,e.bc=this.gv,e.bl=this.b,e.ac=this.b8),null!=n&&(n.bm=this.ex,n.bk=this.ad,n.ba=this.a5?this.gr:this.gx),null!=r&&(r.bm=this.er,r.bk=this.ac,r.ba=this.a5?this.gr:this.gw)},n.prototype.e3=function(t){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||this.an},n.prototype.fq=function(){},n.prototype.fp=function(t,e){},n.prototype.f2=function(){},n.prototype.e4=function(){},n.prototype.f3=function(t){if(i.stringIsNullOrEmpty(t.ex)||(this.ex=t.ex),i.stringIsNullOrEmpty(t.er)||(this.er=t.er),i.stringIsNullOrEmpty(t.d3)||(this.d3=t.d3),i.stringIsNullOrEmpty(t.dy)||(this.dy=t.dy),i.stringIsNullOrEmpty(t.dm)||(this.dm=t.dm),i.stringIsNullOrEmpty(t.dj)||(this.dj=t.dj),null!=t.cl&&(this.cl=t.cl),null!=t.gy&&(this.gy=t.gy),null!=t.g1&&(this.g1=t.g1),null!=t.g5&&(this.g5=t.g5),null!=t.ag&&(this.ag=t.ag),null!=t.gz&&(this.gz=t.gz),null!=t.g2&&(this.g2=t.g2),null!=t.a&&(this.a=t.a),null!=t.g3&&(this.g3=t.g3),null!=t.b&&(this.b=t.b),i.isNaN_(t.b8)||(this.b8=t.b8),i.isNaN_(t.cc)||(this.cc=t.cc),i.isNaN_(t.b9)||(this.b9=t.b9),i.isNaN_(t.ca)||(this.ca=t.ca),i.isNaN_(t.cb)||(this.cb=t.cb),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.cg)||(this.cg=t.cg),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.cj)||(this.cj=t.cj),i.isNaN_(t.b4)||(this.b4=t.b4),this.g6!=t.g6&&(this.g6=t.g6),null!=t.actions&&t.actions.count>0){this.actions.clear();for(var e=0;e<t.actions.count;e++)this.actions.add(t.actions._inner[e])}},n.au=function(t,e){if(t.z!=e.d)return!1;if(t.ef!=e.name)return!1;if(!(null!=t.actions&&0!=t.actions.count||null!=e.actions&&0!=e.actions.length))return!0;if(t.actions.count!=e.actions.length)return!1;for(var i=0;i<e.actions.length;i++){var r=t.actions._inner[i],o=e.actions[i];if(!n.au(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.cm=function(){var t=new fe;return t.g=this.cu,t.h=this.ef,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.an.an)),null!=this.ah&&0!=this.ah.ae&&0!=this.ah.y&&(t.f=this.ah.af()),null!=this.ap&&(t.b=this.ap.af()),null!=this.aq&&(t.c=this.aq.af()),t},n.prototype.dt=function(){return this.cm().serialize()},Object.defineProperty(n.prototype,"x",{get:function(){return this.t},set:function(t){this.t=t},enumerable:!1,configurable:!0}),n.prototype.gj=function(t){this.x=t,0==this.v&&(this.u=t)},n.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g7=null,e.g8=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 15},Object.defineProperty(n.prototype,"hd",{get:function(){return this.cq("Value",i.BrushUtil.h(255,0,0,255))},set:function(t){var e=this.hd;e!=t&&(this.gd("Value",t),this.fx("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),null!=this.g7&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.g9(),n))},n.prototype.b1=function(t,e){return i.DeviceUtils.g(150)},n.prototype.g9=function(){var t=i.Color.u(255,0,0,255);if(null!=this.g7){var e=i.ColorUtil.p(this.g7.bo);return e.c&&(t=e.d),i.ColorUtil.k(t,!0)}return i.ColorUtil.k(t,!0)},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,e.h=this.g9(),e},n.prototype.hb=function(t,e){if(!this.g8){this.hd=this.g7.bo;var i=this.k(!0);this.fy(i,this)}},n.prototype.hc=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b1(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.f=2,n.h=1}n.c=this.s,n.bn=i.runOn(this,this.hb),this.g7!=n&&(null!=this.g7&&this.g7.bn==i.runOn(this,this.hb)&&(this.g7.bn=null),this.g7=n),null!=this.hd&&(this.g8=!0,n.bo=this.hd,this.g8=!1)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),20,this.aj(20),(function(i){var s=i;r.hc(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hc(o,t,s,e,n)}},n.prototype.gh=function(){t.prototype.gh.call(this),this.g7},n.prototype.go=function(){null!=this.g7&&(this.g7.c=this.s)},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"IsDisabled":this.g7}},n.prototype.fq=function(){null==this.g7||this.a5||this.g7.az()},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.hd=i.CSSColorUtil.g(e.value)},n.$t=i.markType(n,"ToolActionColorEditor",Re.$),n}(Re),$e=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g8=null,e.g9=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 13},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cq("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gd("ItemsSource",t),this.fx("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.cq("DisplayMemberPath",null)},set:function(t){var e=this.hb;e!=t&&(this.gd("DisplayMemberPath",t),this.fx("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.cq("ValueMemberPath",null)},set:function(t){var e=this.hf;e!=t&&(this.gd("ValueMemberPath",t),this.fx("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.cq("SelectedValues",null)},set:function(t){var e=this.g7;e!=t&&(this.gd("SelectedValues",t),this.fx("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.f5=function(e,i,n){if(t.prototype.f5.call(this,e,i,n),null!=this.g8)switch(e){case"ItemsSource":this.g8.bo=this.itemsSource;break;case"SelectedValues":this.g8.bk=this.g7.toArray();break;case"DisplayMemberPath":this.g8.bp=this.hb;break;case"ValueMemberPath":this.g8.bq=this.hf}},n.prototype.b1=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hh=function(t,e){if(!this.g9){this.g9=!0,null==this.g7&&(this.g7=new de),this.g7.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.g7.add1(r)}this.g9=!1;var o=this.k(!0);this.fy(o,this)}},n.prototype.hi=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b1(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bn=3,n.f=2,n.h=1}n.c=this.s,n.bm=i.runOn(this,this.hh),n.bo!=this.itemsSource&&(n.bo=this.itemsSource),n.bp!=this.hb&&(n.bp=this.hb),n.bq!=this.hf&&(n.bq=this.hf),null!=this.g7&&(this.g9=!0,n.bk=this.g7.toArray(),this.g9=!1),this.g8!=n&&(null!=this.g8&&(this.g8.bm=null),this.g8=n)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),19,this.aj(19),(function(i){var s=i;r.hi(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hi(o,t,s,e,n)}},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.g8&&(this.g8.bn=this.ai(this.u))},n.prototype.go=function(){null!=this.g8&&(this.g8.c=this.s)},n.prototype.fq=function(){null==this.g8||this.a5||this.g8.az()},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,null!=this.g8&&(e.f=this.g7.toArray()),e},n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName="SelectedValues",n.value=r.g7.toArray(),n))},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;if(this.hb=e.displayMemberPath,this.hf=e.valueMemberPath,null!=e.selectedValues){this.g7.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.g7.add1(r)}}this.itemsSource=e.itemsSource},n.$t=i.markType(n,"ToolActionCombo",Re.$),n}(Re),ze=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.he=null,e.hf=null,e.hg=null,e.ho=!1,e.hp=!1,e.g7=null,e.hr=!1,e.hk=null,e.hm=null,e.hn=null,e.hl=null,e.hi=null,e.hj=null,e.hq=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 12},Object.defineProperty(n.prototype,"hu",{get:function(){return this.cq("LeftIsSelected",!1)},set:function(t){var e=this.hu;e!=t&&(this.gd("LeftIsSelected",t),this.fx("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cq("RightIsSelected",!1)},set:function(t){var e=this.hx;e!=t&&(this.gd("RightIsSelected",t),this.fx("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.cq("LeftIsDisabled",!1)},set:function(t){var e=this.ht;e!=t&&(this.gd("LeftIsDisabled",t),this.fx("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cq("RightIsDisabled",!1)},set:function(t){var e=this.hw;e!=t&&(this.gd("RightIsDisabled",t),this.fx("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cq("LeftIconName",null)},set:function(t){var e=this.iq;e!=t&&(this.gd("LeftIconName",t),this.fx("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cq("LeftCommandArgument",null)},set:function(t){var e=this.ij;e!=t&&(this.gd("LeftCommandArgument",t),this.fx("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cq("IsToggleDisabled",!1)},set:function(t){var e=this.hs;e!=t&&(this.gd("IsToggleDisabled",t),this.fx("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cq("LeftIconCollectionName",null)},set:function(t){var e=this.il;e!=t&&(this.gd("LeftIconCollectionName",t),this.fx("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.cq("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.h3;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("LeftIconViewBoxLeft",t),this.fx("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.cq("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.h4;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("LeftIconViewBoxTop",t),this.fx("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cq("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.h5;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("LeftIconViewBoxWidth",t),this.fx("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.cq("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.h2;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("LeftIconViewBoxHeight",t),this.fx("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jt",{get:function(){return this.cq("LeftIconFill",null)},set:function(t){var e=this.jt;e!=t&&(this.gd("LeftIconFill",t),this.fx("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jp",{get:function(){return this.cq("ActualLeftIconFill",null)},set:function(t){var e=this.jp;e!=t&&(this.gd("ActualLeftIconFill",t),this.fx("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.cq("LeftIconFillColors",null)},set:function(t){var e=this.g9;e!=t&&(this.gd("LeftIconFillColors",t),this.fx("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ju",{get:function(){return this.cp("LeftIconStroke",null)},set:function(t){var e=this.ju;e!=t&&(this.gd("LeftIconStroke",t),this.fx("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jq",{get:function(){return this.cq("ActualLeftIconStroke",null)},set:function(t){var e=this.jq;e!=t&&(this.gd("ActualLeftIconStroke",t),this.fx("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ha",{get:function(){return this.cq("LeftIconStrokeColors",null)},set:function(t){var e=this.ha;e!=t&&(this.gd("LeftIconStrokeColors",t),this.fx("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.cq("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.h1;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("LeftIconStrokeWidth",t),this.fx("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i1",{get:function(){return this.cq("LeftTitle",null)},set:function(t){var e=this.i1;e!=t&&(this.gd("LeftTitle",t),this.fx("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i9",{get:function(){return this.cq("RightIconName",null)},set:function(t){var e=this.i9;e!=t&&(this.gd("RightIconName",t),this.fx("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i3",{get:function(){return this.cq("RightCommandArgument",null)},set:function(t){var e=this.i3;e!=t&&(this.gd("RightCommandArgument",t),this.fx("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i5",{get:function(){return this.cq("RightIconCollectionName",null)},set:function(t){var e=this.i5;e!=t&&(this.gd("RightIconCollectionName",t),this.fx("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cq("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.h8;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("RightIconViewBoxLeft",t),this.fx("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cq("RightIconViewBoxTop",NaN)},set:function(t){var e=this.h9;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("RightIconViewBoxTop",t),this.fx("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cq("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.ia;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("RightIconViewBoxWidth",t),this.fx("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cq("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.h7;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("RightIconViewBoxHeight",t),this.fx("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jv",{get:function(){return this.cq("RightIconFill",null)},set:function(t){var e=this.jv;e!=t&&(this.gd("RightIconFill",t),this.fx("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jr",{get:function(){return this.cq("ActualRightIconFill",null)},set:function(t){var e=this.jr;e!=t&&(this.gd("ActualRightIconFill",t),this.fx("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.cq("RightIconFillColors",null)},set:function(t){var e=this.hb;e!=t&&(this.gd("RightIconFillColors",t),this.fx("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jw",{get:function(){return this.cp("RightIconStroke",null)},set:function(t){var e=this.jw;e!=t&&(this.gd("RightIconStroke",t),this.fx("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"js",{get:function(){return this.cq("ActualRightIconStroke",null)},set:function(t){var e=this.js;e!=t&&(this.gd("ActualRightIconStroke",t),this.fx("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.cq("RightIconStrokeColors",null)},set:function(t){var e=this.hc;e!=t&&(this.gd("RightIconStrokeColors",t),this.fx("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.cq("RightIconStrokeWidth",NaN)},set:function(t){var e=this.h6;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("RightIconStrokeWidth",t),this.fx("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jk",{get:function(){return this.cq("RightTitle",null)},set:function(t){var e=this.jk;e!=t&&(this.gd("RightTitle",t),this.fx("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.h(ge,"DisplayType",1)},set:function(t){var e=this.hd;t!=e&&(this.gd("DisplayType",i.enumGetBox(ge,t)),this.fx("DisplayType",i.enumGetBox(ge,e),i.enumGetBox(ge,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cq("CornerRadius",NaN)},set:function(t){var e=this.hy;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("CornerRadius",t),this.fx("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.f3=function(e){if(t.prototype.f3.call(this,e),12==e.z){var n=e;i.isNaN_(n.hy)||(this.hy=n.hy),this.hd!=n.hd&&(this.hd=n.hd),i.stringIsNullOrEmpty(n.i1)||(this.i1=n.i1),i.stringIsNullOrEmpty(n.iq)||(this.iq=n.iq),i.stringIsNullOrEmpty(n.il)||(this.il=n.il),i.stringIsNullOrEmpty(n.ij)||(this.ij=n.ij),null!=n.jt&&(this.jt=n.jt),null!=n.g9&&(this.g9=n.g9),null!=n.ju&&(this.ju=n.ju),null!=n.ha&&(this.ha=n.ha),i.isNaN_(n.h1)||(this.h1=n.h1),i.stringIsNullOrEmpty(n.jk)||(this.jk=n.jk),i.stringIsNullOrEmpty(n.i9)||(this.i9=n.i9),i.stringIsNullOrEmpty(n.i5)||(this.i5=n.i5),i.stringIsNullOrEmpty(n.i3)||(this.i3=n.i3),null!=n.jv&&(this.jv=n.jv),null!=n.hb&&(this.hb=n.hb),null!=n.jw&&(this.jw=n.jw),null!=n.hc&&(this.hc=n.hc),i.isNaN_(n.h6)||(this.h6=n.h6)}},n.prototype.hh=function(){switch(this.hd){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.ij=e.leftCommandArgument,this.iq=e.leftIconName,this.il=e.leftIconCollectionName,this.hs=e.isToggleDisabled,this.h3=e.leftIconViewBoxLeft,this.h4=e.leftIconViewBoxTop,this.h5=e.leftIconViewBoxWidth,this.h2=e.leftIconViewBoxHeight,this.i1=e.leftTitle,this.i3=e.rightCommandArgument,this.i9=e.rightIconName,this.i5=e.rightIconCollectionName,this.h8=e.rightIconViewBoxLeft,this.h9=e.rightIconViewBoxTop,this.ia=e.rightIconViewBoxWidth,this.h7=e.rightIconViewBoxHeight,this.jk=e.rightTitle},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,e.e=this.hu!=this.ho?0:1,e.b=this.hu!=this.ho?this.hu:this.hx,e},n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.ij,n.value=r.hu,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.i3,t.value=r.hx,t}())},n.prototype.b1=function(t,e){var n=this.ae(t),r=i.stringIsNullOrEmpty(this.i1)?0:t.v.o(this.i1,n),o=Math.max(r+this.hz(),i.DeviceUtils.g(this.h0()));return r=i.stringIsNullOrEmpty(this.jk)?0:t.v.o(this.jk,n),o+Math.max(r+this.hz(),i.DeviceUtils.g(this.h0()))},n.prototype.h0=function(){return i.DeviceUtils.g(88)},n.prototype.hz=function(){switch(this.u){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.hv=function(t){var e=this.g8(),i=t.bk;if(null==e&&null==i)return!1;if(null==e&&null!=i)return!0;if(null!=e&&null==i)return!0;if(e.length!=i.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!=i[n])return!0;return!1},n.prototype.g8=function(){return this.hu&&this.hx?[0,1]:this.hu?((t=new Array(1)).push(0),t):this.hx?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.jo=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bs&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(2==e.bm&&(e.b2(3,1,this.b1(this.q,f)),e.bn(c),c.bs(n),c.bs(a)),e.cc(c,0),e.ca(c,3),this.a3?c.bq=2:c.bq=this.ai(this.u),c.h=1,c.f=2,n.bu=!0,a.bu=!0),c.bp=i.runOn(this,this.jm),c.c=this.s,this.jn(n),this.jn(a),this.hv(c)&&(c.bk=this.g8()),n.bw=this.ht,a.bw=this.hw,null==this.iq?(n.by=this.i1,n.bo=null):(0==s.bm&&(s.b2(0,0,1),s.b2(1,0,1),s.bn(o),s.bn(r),s.cc(o,0),s.ca(o,0),s.cc(r,0),s.ca(r,1)),n.by=null,n.bo=s,o.bq=this.il,o.br=this.iq,o.bn=this.h3,o.bo=this.h4,o.bp=this.h5,o.bm=this.h2,o.bb=this.jp,o.bc=this.jq,o.bk=this.g9,o.bl=this.ha,o.ac=this.h1,r.bm=this.i1,r.bk=this.ad,r.ba=this.a5?this.gr:this.gx,o.ae=i.DeviceUtils.g(16),o.y=i.DeviceUtils.g(16)),null==this.i9?(a.by=this.jk,a.bo=null):(0==l.bm&&(l.b2(0,0,1),l.b2(1,0,1),l.bn(h),l.bn(u),l.cc(h,0),l.ca(h,0),l.cc(u,0),l.ca(u,1)),a.by=null,a.bo=l,u.bq=this.i5,u.br=this.i9,u.bn=this.h8,u.bo=this.h9,u.bp=this.ia,u.bm=this.h7,u.bb=this.jr,u.bc=this.js,u.bk=this.hb,u.bl=this.hc,u.ac=this.h6,h.bm=this.jk,h.bk=this.ad,h.ba=this.a5?this.gr:this.gx,u.ae=i.DeviceUtils.g(16),u.y=i.DeviceUtils.g(16)),this.hg!=c&&(null!=this.hg&&this.hg.bp==i.runOn(this,this.jm)&&(this.hg.bp=null),this.hg=c),this.he!=n&&(this.he,this.he=n),this.hf!=a&&(this.hf,this.hf=a),this.hk!=o&&(this.hk,this.hk=o),this.hm!=r&&(this.hm,this.hm=r),this.hl!=u&&(this.hl,this.hl=u),this.hn!=h&&(this.hn,this.hn=h),this.hi!=s&&(this.hi,this.hi=s),this.hj!=l&&(this.hj,this.hj=l)},n.prototype.jm=function(t,e){if(!this.hq){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.g7){for(var a=0;a<this.g7.length;a++)0==this.g7[a]&&(n=!0);for(var h=0;h<this.g7.length;h++)1==this.g7[h]&&(r=!0)}if(null!=i){for(var u=0;u<i.length;u++)0==i[u]&&(o=!0);for(var l=0;l<i.length;l++)1==i[l]&&(s=!0)}this.ho=n,this.hp=r,this.hu!=o&&this.gb("LeftIsSelected",o),this.hx!=s&&this.gb("RightIsSelected",s),this.fy(this.k(!0),this),this.hs&&(this.hq=!0,null!=this.hg&&this.hg.bt(),this.hq=!1)}},n.prototype.jn=function(t){t.bk=this.ad},n.prototype.f1=function(t,e,n){var r=this;if(!this.hr){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1),this.aj(3),this.aj(11),this.aj(7),this.aj(1),this.aj(3),this.aj(11),this.aj(7),this.aj(17)];this.hr=!0,i.NativeUIComponent.av(this.q.v.x(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.jo(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.hr=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=this.hg,h=this.he,u=this.hf,l=this.hk,c=this.hm,p=this.hi,f=this.hl,d=this.hn,b=this.hj;this.jo(o,t,h,c,l,p,u,d,f,b,a,e,n,!1)}}},n.prototype.f5=function(e,n,r){switch(t.prototype.f5.call(this,e,n,r),e){case"DisplayType":null!=this.hg&&(this.hg.bn=this.hh());break;case"CornerRadius":null!=this.hg&&(this.hg.bx=new i.CornerRadius(0,this.hy));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.hk&&(this.hk.bb=this.jp,this.hk.bc=this.jq,this.hk.bk=this.g9,this.hk.bl=this.ha);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.hl&&(this.hl.bb=this.jr,this.hl.bc=this.js,this.hl.bk=this.hb,this.hl.bl=this.hc);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.gn();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.hk&&(this.hk.br=this.iq,this.hk.bq=this.il);break;case"LeftIsDisabled":null!=this.he&&(this.he.bw=this.ht);break;case"RightIsDisabled":null!=this.hf&&(this.hf.bw=this.hw);break;case"RightIconName":case"RightIconCollectionName":null!=this.hl&&(this.hl.br=this.i9,this.hl.bq=this.i5);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.hn&&(this.hn.bm=this.jk,this.hn.bk=this.ad,this.hn.ba=this.a5?this.gr:this.gx),null!=this.hm&&(this.hm.bm=this.i1,this.hm.bk=this.ad,this.hm.ba=this.a5?this.gr:this.gx);break;case"LeftIsSelected":case"RightIsSelected":null!=this.hg&&this.hv(this.hg)&&(this.hg.bk=this.g8())}},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.hg&&(this.hg.bq=this.ai(this.u))},n.prototype.go=function(){t.prototype.go.call(this),null!=this.hg&&(this.hg.c=this.s),this.jp=null!=this.jt?this.jt:this.q.ii,this.jq=null!=this.ju?this.ju:this.q.ij,this.jr=null!=this.jv?this.jv:this.q.ii,this.js=null!=this.jw?this.jw:this.q.ij},n.$t=i.markType(n,"ToolActionButtonPair",Re.$),n}(Re),De=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ha=null,e.hf=-1,e.hc=!1,e.hg=null,e.he=NaN,e.hb=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 11},n.prototype.e8=function(e,n){if(t.prototype.e8.call(this,e,n),null!=this.ha&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),o=this.ha.bf(r);n.e=o.width,n.d=o.height,this.he!=o.height&&this.fn(),this.he=o.height}},n.prototype.fb=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cq("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gd("ItemsSource",t),this.fx("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cq("SelectedMemberPath",null)},set:function(t){var e=this.ho;e!=t&&(this.gd("SelectedMemberPath",t),this.fx("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.cq("ShowSelectAll",!1)},set:function(t){var e=this.hd;e!=t&&(this.gd("ShowSelectAll",t),this.fx("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.cq("DataMemberPath",null)},set:function(t){var e=this.hi;e!=t&&(this.gd("DataMemberPath",t),this.fx("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.cq("PrimaryKey",null)},set:function(t){var e=this.g7;e!=t&&(this.gd("PrimaryKey",t),this.fx("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g8",{get:function(){return this.cq("SelectedKeys",null)},set:function(t){var e=this.g8;e!=t&&(this.gd("SelectedKeys",t),this.fx("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.h(ve,"IndexType",1)},set:function(t){var e=this.g9;e!=t&&(this.gd("IndexType",i.enumGetBox(ve,t)),this.fx("IndexType",i.enumGetBox(ve,e),i.enumGetBox(ve,t)))},enumerable:!1,configurable:!0}),n.prototype.f5=function(e,n,r){if(t.prototype.f5.call(this,e,n,r),null!=this.ha)switch(e){case"ItemsSource":this.ha.bz=this.itemsSource,n!=r&&null!=n&&this.fn();break;case"SelectedMemberPath":this.ha.b1=this.ho;break;case"DataMemberPath":this.ha.b0=this.hi;break;case"PrimaryKey":this.ha.bk=this.g7;break;case"ShowSelectAll":this.ha.by=this.hd;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.hx)),n.ao(i.runOn(this,this.hw))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.hx)),n.am(i.runOn(this,this.hw))}this.hy(this.ha);break;case"IndexType":this.ha.bt=this.g9}},n.prototype.hw=function(){this.hb||null!=this.ha&&this.ha.b3()},n.prototype.hy=function(t){var n,r;if(null!=t){this.hb=!0,t.b3();try{for(var o=e.__values(i.fromEnum(this.g8)),s=o.next();!s.done;s=o.next()){var a=s.value;t.b2(a.key,a.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.hb=!1}},n.prototype.hx=function(t,n){var r,o;if(!this.hb)switch(n.action){case 0:if(null!=n.newItems)for(var s=0;s<n.newItems.count;s++){var a=n.newItems.item(s);this.ha.b4(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.ha.b5(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.ha.b5(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.ha.b4(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.ha.b3();try{for(var p=e.__values(i.fromEnum(this.g8)),f=p.next();!f.done;f=p.next()){var d=f.value;this.ha.b2(d.key,d.value)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}},n.prototype.hz=function(t,e,n,r,o){0!=e.bm&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(0==e.bm&&e.bn(n),n.bl=3,n.y=this.he-16),n.bk=this.g7,n.bz=this.itemsSource,n.bt=this.g9,n.b0=this.hi,n.b1=this.ho,this.hd?n.by=!0:n.by=!1,n.c=this.s,n.ca=this.gx,n.b6=this.gq,n.b7=this.gt,n.b8=this.gv,n.b9=this.gx,n.bq=i.runOn(this,this.hr),n.br=i.runOn(this,this.ht),n.bs=i.runOn(this,this.hu),n.bv=i.runOn(this,this.hs),n.bx=i.runOn(this,this.hv),this.ha!=n&&(null!=this.ha&&this.ha.bq==i.runOn(this,this.hr)&&(this.ha.bq=null,this.ha.br=null,this.ha.bs=null),this.ha=n),null==this.g8?this.gb("SelectedKeys",new me):this.hy(n)},n.prototype.hv=function(t,e){this.hb||(this.hb=!0,this.g8.clear(),this.hb=!1)},n.prototype.hs=function(t,e){this.gb("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.hr=function(t,e){this.hb||(this.hf=e.c,this.hc=e.b,this.hg=e.a,this.hb=!0,0==this.g9?e.b?this.g8.remove(new ye(1,e.a)):this.g8.add(new ye(1,e.a)):e.b?this.g8.add(new ye(1,e.a)):this.g8.remove(new ye(1,e.a)),this.hb=!1,this.fy(this.k(!0),this))},n.prototype.ht=function(t,e){if(0==this.g9){if(e.b)return;var i=new ye(1,e.a);if(this.g8.contains(i))return;this.hb=!0,this.g8.add(i),this.hb=!1}else{if(!e.b)return;var n=new ye(1,e.a);if(this.g8.contains(n))return;this.hb=!0,this.g8.add(n),this.hb=!1}},n.prototype.hu=function(t,e){if(0==this.g9){if(e.b)return;var i=new ye(1,e.a);if(!this.g8.contains(i))return;this.hb=!0,this.g8.remove(i),this.hb=!1}else{if(!e.b)return;var n=new ye(1,e.a);if(!this.g8.contains(n))return;this.hb=!0,this.g8.remove(n),this.hb=!1}},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,null!=this.ha&&this.hf>-1&&(e.e=this.hf,e.b=this.hc,e.f=this.hc),e},n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),this.hf>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hc,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.hf,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.hg,t}()))},n.prototype.gm=function(t,e,n){null!=this.ha&&(t.y=this.he-16,t.bh=new i.Thickness(0,8),t.a8=this.gq,t.bj=this.g6,null!=this.ef&&(t.ap=this.ef))},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),16,this.aj(16),(function(i){var s=i;r.hz(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(0);this.hz(o,t,s,e,n)}},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.hi=e.dataMemberPath,this.ho=e.selectedMemberPath,this.g7=e.primaryKey,this.itemsSource=e.itemsSource,this.hd=e.showSelectAll},n.$t=i.markType(n,"ToolActionCheckboxList",Re.$),n}(Re),Ve=function(t){function n(){var e=t.call(this)||this;return e.g7=null,e.g8=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 10},n.prototype.e8=function(e,n){if(t.prototype.e8.call(this,e,n),null!=this.g7&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),o=this.g7.bf(r);n.e=o.width,n.d=o.height,i.isNaN_(this.b4)||(n.d=this.b4),this.g8||(this.g8=!0,this.fn())}},n.prototype.fb=function(t,e,i,n){null!=n&&n()},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)o.ao=i.enumGetBox(i.ToolActionType_$type,this.z),i.NativeUIComponent.at(this.q.v.x(),13,this.be()?2:0,(function(e){return r.ha(o,t,e,n)}));else{var s=t.bl(0);this.ha(o,t,s,n)}},n.prototype.ha=function(t,e,n,r){0==e.bm&&(e.bn(n),n.bv=1,n.f=0),n.c=this.s,n.ch=this.q.jc,n.bu=this.q.p,n.b7=this.q.ix,null==this.g?n.b4=this.q.iu:n.b4=this.q.ja,n.cf=this.q.ja,n.b8=this.q.i0,n.ca=this.q.i3,n.ce=this.q.i9,n.bw=this.q.ai,n.ci=this.q.jf,n.cj=this.q.jg,n.b5=this.q.iv,n.b6=this.q.iw,n.cd=this.q.i8,n.cb=this.q.i6,n.cc=this.q.i7,n.cg=this.q.jb,n.b9=this.q.i2,n.bx=this.q.am,-1!=this.ck?n.bz=this.ck:n.bz=this.q.ct,n.bt=this.actions,n.bs=i.runOn(this,this.g9),this.g7!=n&&(null!=this.g7&&this.g7.bs==i.runOn(this,this.g9)&&(this.g7.bs=null),this.g7=n)},n.prototype.g9=function(t,e){this.f9(e.a,e.b)},n.prototype.e3=function(e){t.prototype.e3.call(this,e),null!=e.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,e.ao)==this.z||null!=this.g7&&this.g7.bs==i.runOn(this,this.g9)&&(this.g7.bs=null)},n.prototype.f5=function(e,i,n){t.prototype.f5.call(this,e,i,n)},n.$t=i.markType(n,"ToolActionSubPanel",Re.$),n}(Re),Ue=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g7=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 14},Object.defineProperty(n.prototype,"g9",{get:function(){return this.cq("Value",null)},set:function(t){var e=this.g9;e!=t&&(this.gd("Value",t),this.fx("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),null!=this.g7&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.g8(),n))},n.prototype.b1=function(t,e){return i.DeviceUtils.g(150)},n.prototype.g8=function(){return this.g7.b7},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,e.h=this.g8(),e},n.prototype.hb=function(t,e){this.g9=this.g8();var i=this.k(!0);this.fy(i,this)},n.prototype.hc=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b1(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=0,n.bo=2,n.b2=!1}n.c=this.s,n.ce=this.a5?this.gr:this.gx,n.bk=this.ad,n.b0=this.a5,n.bs=i.runOn(this,this.hb),n.b7=this.g9,this.g7!=n&&(null!=this.g7&&this.g7.bs==i.runOn(this,this.hb)&&(this.g7.bs=null),this.g7=n)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),2,this.aj(2),(function(i){var s=i;r.hc(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hc(o,t,s,e,n)}},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.g7&&(this.g7.bp=this.ai(this.u))},n.prototype.go=function(){null!=this.g7&&(this.g7.c=this.s)},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"IsDisabled":null!=this.g7&&(this.g7.b0=this.a5,this.g7.ce=this.a5?this.gr:this.gx)}},n.prototype.fq=function(){null==this.g7||this.a5||this.g7.az()},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.g9=e.value},n.$t=i.markType(n,"ToolActionTextInput",Re.$),n}(Re),Le=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g8=null,e.ha=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 9},n.prototype.get_ci=function(){return 0},Object.defineProperty(n.prototype,"g7",{get:function(){return this.h(je,"DisplayType",0)},set:function(t){var e=this.g7;t!=e&&(this.gd("DisplayType",i.enumGetBox(je,t)),this.fx("DisplayType",i.enumGetBox(je,e),i.enumGetBox(je,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.cq("CornerRadius",NaN)},set:function(t){var e=this.hb;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gd("CornerRadius",t),this.fx("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.f3=function(e){if(t.prototype.f3.call(this,e),9==e.z){var n=e;i.isNaN_(n.hb)||(this.hb=n.hb),this.g7!=n.g7&&(this.g7=n.g7)}},n.prototype.g9=function(){switch(this.g7){case 0:return 0;case 1:return 1;case 2:return 2;default:return 0}},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,e},n.prototype.b0=function(t,e){return NaN},n.prototype.b2=function(t,e){return NaN},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.g7=e.displayType},n.prototype.hc=function(){switch(this.u){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.hd=function(){return i.DeviceUtils.g(88)},n.prototype.b1=function(e,n){var r=t.prototype.b2.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.hc(),i.DeviceUtils.g(this.hd()))},n.prototype.fb=function(t,e,i,n){null!=n&&n()},n.prototype.hh=function(t,e,n,r,o){o&&(0==t.bm&&(t.b2(0,2,1),t.bn(e),t.cc(e,0),t.ca(e,0)),this.a3?e.bp=2:e.bp=this.ai(this.u),e.h=1,e.bu=!0),t.bi=new i.Thickness(1,this.bw,this.by,this.bx,this.bv),e.c=this.s,e.bz=new i.CornerRadius(0,this.hb),e.bn=this.g9(),e.by=this.ex,e.bm=i.runOn(this,this.hg),e.bk=this.ad,this.g8!=e&&(null!=this.g8&&this.g8.bm==i.runOn(this,this.hg)&&(this.g8.bm=null),this.g8=e)},n.prototype.hg=function(t,e){this.fy(this.k(!0),this)},n.prototype.f1=function(t,e,n){var r=this;if(!this.ha){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1)];this.ha=!0,i.NativeUIComponent.av(this.q.v.x(),[1],s,(function(i){r.hh(t,i[0],e,n,!0),r.ha=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(0);this.hh(t,a,e,n,!1)}}},n.prototype.f5=function(e,n,r){switch(t.prototype.f5.call(this,e,n,r),e){case"Title":null!=this.g8&&(this.g8.by=this.ex);break;case"DisplayType":null!=this.g8&&(this.g8.bn=this.g9());break;case"CornerRadius":null!=this.g8&&(this.g8.bz=new i.CornerRadius(0,this.hb))}},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.g8&&(this.g8.bp=this.ai(this.u))},n.prototype.go=function(){t.prototype.go.call(this),null!=this.g8&&(this.g8.c=this.s),1==this.q.u||2==this.q.u?(this.bw=i.isNaN_(this.cf)?i.DeviceUtils.g(4):this.cf,this.bx=i.isNaN_(this.cg)?i.DeviceUtils.g(4):this.cg,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(4):this.ch,this.bv=i.isNaN_(this.ce)?i.DeviceUtils.g(4):this.ce):(this.bw=i.isNaN_(this.cf)?i.DeviceUtils.g(10):this.cf,this.bx=i.isNaN_(this.cg)?i.DeviceUtils.g(10):this.cg,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(4):this.ch,this.bv=i.isNaN_(this.ce)?i.DeviceUtils.g(4):this.ce)},n.$t=i.markType(n,"ToolActionButton",Re.$),n}(Re),Me=function(t){function n(){var e=t.call(this)||this;return e.g7=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.g8),e}return e.__extends(n,t),n.prototype.get_a0=function(){return this.bd()||this.actions.count>0},n.prototype.get_z=function(){return 4},n.prototype.b1=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b1.call(this,e,n)},n.prototype.g9=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z)&&2==e.bm){var o=this.b1(this.q,r);e.b2(3,1,i.isNaN_(o)?0:o),e.bn(n),e.ca(n,3),e.cc(n,0),n.br="ToolbarDrillDownIcon",n.bq="IG_Default",n.f=1,n.h=1,n.ae=i.DeviceUtils.g(24),n.y=i.DeviceUtils.g(24)}n.bc=this.gx,n.bb=this.gx},n.prototype.fq=function(){this.actions.count>0?this.q.gb(this):this.fy(this.k(!1),this)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z?(this.actions.count>0&&i.NativeUIComponent.at(this.q.v.x(),11,this.be()?2:0,(function(e){r.g7=e,r.g9(o,t,r.g7,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)):this.actions.count>0&&(this.g7=t.bl(2),this.g9(o,t,this.g7,n))},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"ActualTextColor":null!=this.g7&&(this.g7.ba=this.gx)}},n.$t=i.markType(n,"ToolActionLabel",Re.$),n.g8='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(Re),Fe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g7=null,e.ha=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 6},Object.defineProperty(n.prototype,"hf",{get:function(){return this.ha},set:function(t){this.ha=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g8",{get:function(){return this.cq("IsChecked",!1)},set:function(t){var e=this.g8;e!=t&&(this.gd("IsChecked",t),this.fx("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.cq("IsManual",!1)},set:function(t){var e=this.g9;e!=t&&(this.gd("IsManual",t),this.fx("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.cq("UncheckedBackgroundColor",null)},set:function(t){var e=this.hv;e!=t&&(this.gd("UncheckedBackgroundColor",t),this.fx("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cq("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.hr;e!=t&&(this.gd("ActualUncheckedBackgroundColor",t),this.fx("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.cq("CheckedBackgroundColor",null)},set:function(t){var e=this.ht;e!=t&&(this.gd("CheckedBackgroundColor",t),this.fx("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cq("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hp;e!=t&&(this.gd("ActualCheckedBackgroundColor",t),this.fx("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cq("UncheckedBorderColor",null)},set:function(t){var e=this.hw;e!=t&&(this.gd("UncheckedBorderColor",t),this.fx("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cq("ActualUncheckedBorderColor",null)},set:function(t){var e=this.hs;e!=t&&(this.gd("ActualUncheckedBorderColor",t),this.fx("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cq("CheckedBorderColor",null)},set:function(t){var e=this.hu;e!=t&&(this.gd("CheckedBorderColor",t),this.fx("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cq("ActualCheckedBorderColor",null)},set:function(t){var e=this.hq;e!=t&&(this.gd("ActualCheckedBorderColor",t),this.fx("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,null!=this.g7&&(e.b=this.g7.bn),e},n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),null!=this.g7&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.g7.bn,n))},n.prototype.hm=function(){null!=this.g7&&(this.g7.bn=!1,this.gb("IsChecked",this.g7.bn))},n.prototype.b1=function(t,e){return 30},n.prototype.gh=function(){t.prototype.gh.call(this),this.g7},n.prototype.go=function(){this.hr=null!=this.hv?this.hv:this.q.is,this.hs=null!=this.hw?this.hw:this.q.it,this.hp=null!=this.ht?this.ht:this.q.h8,this.hq=null!=this.hu?this.hu:this.q.h9,null!=this.g7&&(this.g7.c=this.s,this.g7.br=this.hr,this.g7.bs=this.hs,this.g7.bp=this.hp,this.g7.bq=this.hq)},n.prototype.fq=function(){this.g9||(this.g7.bn=!0,this.gb("IsChecked",this.g7.bn)),this.fy(this.k(!0),this)},n.prototype.hn=function(t,e){this.g8?this.g7.bn=!0:(this.g9?this.g7.bn=this.g8:this.gb("IsChecked",this.g7.bn),this.fy(this.k(!0),this))},n.prototype.ho=function(t,e,n,r,o){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(e.b2(3,1,this.b1(this.q,o)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.bm=!0,n.f=1,n.h=1,n.bo=i.DeviceUtils.g(10),n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20),t.ao=i.enumGetBox(i.ToolActionType_$type,this.z)),n.c=this.s,n.bn=this.g8,n.bl=i.runOn(this,this.hn),n.br=this.hr,n.bs=this.hs,n.bp=this.hp,n.bq=this.hq,this.g7!=n&&(null!=this.g7&&this.g7.bl==i.runOn(this,this.hn)&&(this.g7.bl=null),this.g7=n)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),6,this.aj(6),(function(i){var s=i;r.ho(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.ho(o,t,s,e,n)}},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"IsChecked":null!=this.g7&&(this.g7.bn=this.g8);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.gn()}},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.g8=e.isChecked,this.hf=e.channel},n.$t=i.markType(n,"ToolActionRadio",Re.$),n}(Re),He=function(t){function n(){var e=t.call(this)||this;return e.g8=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"g9",{get:function(){return this.g8},set:function(t){var e=this.g8;this.g8=t,e!=this.g8&&this.fx("Size",e,this.g8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.cq("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.g7;e!=t&&(this.gd("IsGroupHeaderSeparator",t),this.fx("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_z=function(){return 7},n.prototype.e8=function(e,i){t.prototype.e8.call(this,e,i),1==i.a||2==i.a?i.e=this.bw+this.g9+this.bx:i.d=this.by+this.g9+this.bv},n.prototype.fb=function(t,e,n,r){t.ao=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fa=function(t,e){1==e.a?(t.f=0,t.h=3):2==e.a?(t.f=3,t.h=3):t.f=3},n.prototype.gm=function(t,e,n){1==n.a||2==n.a?t.ae=this.g9:t.y=this.g9,t.bh=new i.Thickness(1,this.bw,this.by,this.bx,this.bv),t.a8=this.gq,t.bj=this.g6},n.prototype.gh=function(){t.prototype.gh.call(this)},n.prototype.go=function(){t.prototype.go.call(this),this.gq=null!=this.gy?this.gy:this.g7?this.q.ic:this.q.il,1==this.q.u||2==this.q.u?(this.bw=i.isNaN_(this.cf)?this.q.bx:this.cf,this.bx=i.isNaN_(this.cg)?this.q.by:this.cg,this.by=i.isNaN_(this.ch)?this.q.bz:this.ch,this.bv=i.isNaN_(this.ce)?this.q.bw:this.ce):(null==this.g&&this.a8()?(this.bw=i.isNaN_(this.cf)?i.DeviceUtils.g(10):this.cf,this.bx=i.isNaN_(this.cg)?i.DeviceUtils.g(10):this.cg):(this.bw=i.isNaN_(this.cf)?this.q.b1:this.cf,this.bx=i.isNaN_(this.cg)?this.q.b2:this.cg),this.by=i.isNaN_(this.ch)?this.q.b3:this.ch,this.bv=i.isNaN_(this.ce)?this.q.b0:this.ce)},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"Size":null!=this.q&&this.q.ga();break;case"IsGroupHeaderSeparator":this.gn()}},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.g9=e.size,this.g7=e.isGroupHeaderSeparator},n.$t=i.markType(n,"ToolActionSeparator",Re.$),n}(Re),We=function(t){function n(){var e=t.call(this)||this;return e.hc=null,e.g9=null,e.g7=null,e.ia=-1,e.ib=-1,e.h1=-1,e.hj=!1,e.hg=!1,e.hf=!1,e.hk=!1,e.hi=!1,e.ic=-1,e.hl=!1,e.hy=NaN,e.hu=NaN,e.h0=NaN,e.hw=NaN,e.hz=NaN,e.hv=NaN,e.hx=NaN,e.ht=NaN,e.ha=null,e.hb=null,e.hm=!1,e.ho=!1,e.popupOpening=null,e.he=!1,e.hh=!1,e.g7=new i.DelayManager(0),e}return e.__extends(n,t),n.prototype.get_z=function(){return 3},n.prototype.get_bc=function(){return!1},Object.defineProperty(n.prototype,"hd",{get:function(){return this.hc},enumerable:!1,configurable:!0}),n.prototype.get_hs=function(){return null!=this.g9},Object.defineProperty(n.prototype,"hs",{get:function(){return this.get_hs()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.ic},set:function(t){this.ic=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return i.typeGetValue(this.cq("ActualTooltipDelay",500))},set:function(t){var e=this.id;e!=t&&(this.gd("ActualTooltipDelay",t),this.fx("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.fx("ContentPaddingLeft",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.fx("ActualContentPaddingLeft",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.fx("ContentPaddingTop",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.fx("ActualContentPaddingTop",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.fx("ContentPaddingRight",e,this.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.fx("ActualContentPaddingRight",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.fx("ContentPaddingBottom",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.fx("ActualContentPaddingBottom",e,this.ht)},enumerable:!1,configurable:!0}),n.prototype.e2=function(){t.prototype.e2.call(this),i.NativeUIWindow.i(15,i.runOn(this,this.i9)),i.NativeUIWindow.i(9,i.runOn(this,this.i8)),this.hf=!1},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,e},n.prototype.b0=function(t,e){var n=36;4==this.u&&(n=18);var r=0;return i.isNaN_(this.h3)||(r+=this.h3),i.isNaN_(this.h4)||(r+=this.h4),i.DeviceUtils.g(n)+r},n.prototype.b2=function(t,e){return NaN},n.prototype.fb=function(t,e,i,n){null!=n&&n()},n.prototype.e3=function(e){t.prototype.e3.call(this,e)},n.prototype.jd=function(t){this.bu=i.isNaN_(this.cd)?this.b3():this.cd,this.bt=i.isNaN_(this.b7)?this.b3():this.b7},n.prototype.jc=function(t,e,n,r,o){var s=n.bo;this.ho=!0,o&&(e.b8(2),e.b8(1),0==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,0),this.a3?n.bp=3:n.bp=this.ai(this.u),n.bn=4,n.bu=!0,n.f=1,this.jd(s)),e.bv=1,e.bw=!1,e.bi=new i.Thickness(1,this.bw,this.by,this.bx,this.bv),n.b1=new i.Thickness(1,this.h3,this.h5,this.h4,this.h2),s.br=this.d3,s.bq=this.dy,s.bn=this.ca,s.bo=this.cb,s.bp=this.cc,s.bm=this.b9,s.bb=this.gu,s.bk=this.a,s.bc=this.gv,s.bl=this.b,s.ac=this.b8,s.ae=i.DeviceUtils.g(this.bu),s.y=i.DeviceUtils.g(this.bt),n.c=this.s,n.bm=i.runOn(this,this.iy),n.q=i.runOn(this,this.i0),n.s=i.runOn(this,this.i1),n.o=i.runOn(this,this.iz),this.ha!=n&&(null!=this.ha&&this.ha.bm==i.runOn(this,this.iy)&&(this.ha.bm=null,this.ha.q=null,this.ha.s=null,this.ha.o=null),this.ha=n),this.hb!=s&&(this.hb=s),this.ho=!1},n.prototype.je=function(t,e){this.hc!=e&&(null!=this.hc&&this.hc.q==i.runOn(this,this.i6)&&(this.hc.q=null,this.hc.s=null,this.hc.n=null,this.hc.o=null,this.hc.bu=null),this.hc=e,this.hc.b7=this.q.b4,this.hc.bs=1,this.hc.b3=!0,this.hc.b9=100,this.hc.b1=!0,this.hc.ca=i.truncate(this.q.b5),this.hc.b4=!0,2!=t.bm&&t.bn(this.hc),this.hf||(i.NativeUIWindow.h(15,i.runOn(this,this.i9),this.q.v.p),i.NativeUIWindow.h(9,i.runOn(this,this.i8),this.q.v.p),this.hf=!0)),this.hc.q=i.runOn(this,this.i6),this.hc.s=i.runOn(this,this.i7),this.hc.n=i.runOn(this,this.i4),this.hc.o=i.runOn(this,this.i5),this.hc.bu=i.runOn(this,this.i3),0==this.hc.bm&&(this.hk=!1),this.actions.count>0?this.hc.u=!0:this.hc.u=!1},n.prototype.is=function(){this.it(this.hi,this.hj),this.hk=!0},n.prototype.it=function(t,e){var i=this;0==this.hc.bm?(this.g9=new we(this.q.v.x()),this.g9.t((function(){i.hc.bn(i.g9.e),t&&i.d.executeDelayed((function(){return i.ja(e)}),100)}))):this.g9=this.hc.bl(0).ao,this.g9.b=this.q.ai,this.g9.y=this.q.iq,this.g9.z=this.q.ir,this.g9.p=this.ex,this.hc.cg=this.g9.y},n.prototype.iv=function(){},n.prototype.iu=function(){},n.prototype.iw=function(){null!=this.g9&&(this.hc.cg=this.q.iq,this.g9.y=this.q.iq,this.g9.z=this.q.ir,this.hc.b7=this.q.b4,this.hc.ca=i.truncate(this.q.b5))},n.prototype.jf=function(){return null!=this.g9?this.g9.aa():i.Size.empty},n.prototype.i9=function(t){if(null!=this.ha){var e=this.ha.be();this.hc.cd(e)}},n.prototype.i8=function(t){var e=t;!this.hl||this.hc.t(e.b)||this.ha.t(e.b)||this.ir()},n.prototype.f1=function(t,e,n){var r=this;if(!this.hm){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm)this.hm=!0,i.NativeUIComponent.av(this.q.v.x(),[10,12],[this.aj(10),this.aj(12)],(function(e){r.jc(o,t,e[0],n,!0),r.je(t,e[1]),r.hm=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(0),a=t.bl(1);this.jc(o,t,s,n,!1),this.je(t,a)}}},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.ha&&(this.ha.bp=this.ai(this.u)),null!=this.hb&&this.jd(this.hb)},n.prototype.go=function(){switch(t.prototype.go.call(this),this.s){case 6:case 5:case 4:case 3:this.bw=i.isNaN_(this.cf)?0:this.cf,this.bx=i.isNaN_(this.cg)?0:this.cg;break;default:this.bw=i.isNaN_(this.cf)?i.DeviceUtils.g(4):this.cf,this.bx=i.isNaN_(this.cg)?i.DeviceUtils.g(4):this.cg}this.id=-1!=this.ie?this.ie:this.q.co,this.h3=i.isNaN_(this.h7)?NaN:this.h7,this.h4=i.isNaN_(this.h8)?NaN:this.h8,this.h5=i.isNaN_(this.h9)?NaN:this.h9,this.h2=i.isNaN_(this.h6)?NaN:this.h6,null!=this.ha&&(this.ha.c=this.s,null!==i.typeCast(i.NativeUIIconButton.$,this.ha)&&(this.ha.bb=this.gx,this.ha.bc=this.gx)),null!=this.hb&&(this.hb.bb=this.gu,this.hb.bc=this.gv,this.hb.bk=this.a,this.hb.bl=this.b),this.iw()},n.prototype.fv=function(){this.ho||null!=this.hb&&(this.hb.br=this.d3,this.hb.bq=this.dy,this.hb.ae=i.DeviceUtils.g(this.bu),this.hb.y=i.DeviceUtils.g(this.bt))},n.prototype.f2=function(){this.actions.count>0&&(null!=this.hc&&this.hs?(this.ja(),this.hj=!0):this.hi=!0)},n.prototype.e4=function(){this.actions.count>0&&(null!=this.hc&&this.hs?this.ir():this.hi=!1)},n.prototype.get_a7=function(){return this.hl||this.hp},Object.defineProperty(n.prototype,"hp",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].a7)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.ja=function(t){if(void 0===t&&(t=!1),!this.hk)return this.hi=!0,this.hj=t,void this.is();if(!this.hl){if(this.q.fm(),0==this.actions.count&&i.stringIsNullOrEmpty(this.ex))return;if(null!=this.popupOpening){var e=new ti;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.q&&this.q.f1();var n=this.ha.be(),r=new i.Rect(0,n.left,n.top,n.width,n.height);if(r.top=n.top+window.scrollY,r.left=n.left+window.scrollX,1==this.q.u||2==this.q.u){var o=i.NativeUIWindow.d(this.q.v.p),s=this.jf();s.height+=this.hc.b8,n.bottom+s.height>o?n.top-s.height<0?this.hc.ce(r,1,3):this.hc.ce(r,2,3):this.hc.ce(r,1,3)}else{var a=i.NativeUIWindow.f(this.q.v.p),h=this.jf();h.width+=this.hc.b8,n.right+h.width>a?n.left-h.width<0?this.hc.ce(r,4,3):this.hc.ce(r,3,3):this.hc.ce(r,4,3)}this.hl=!0,this.iv()}this.hj=t,this.hi=!1},n.prototype.jb=function(){this.hl&&(this.hj=!0)},n.prototype.ir=function(){var t=this;this.hl&&(this.he||(this.g7.f((function(){t.hc.cb(),t.hj=!1}),100),this.he=!0))},n.prototype.i2=function(){this.ja(),this.ib=-1,this.h1=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.ix=function(){this.ir(),this.ia=-1},n.prototype.hn=function(){return this.q.az&&!i.stringIsNullOrEmpty(this.ex)},n.prototype.i0=function(t,e){if(this.hg=!0,-1!=this.ia&&(this.g7.g(this.ia),this.ia=-1),!this.hl){if(!this.hn())return;this.ib=this.g7.f(i.runOn(this,this.i2),this.id)}},n.prototype.i1=function(t,e){-1!=this.ib&&(this.g7.g(this.ib),this.ib=-1),this.hl&&!this.hj&&(this.ia=this.g7.f(i.runOn(this,this.ix),50)),this.h1=-1,this.hg=!1},n.prototype.iy=function(t,e){if(this.actions.count>0)if(this.hl)if(this.hj||-1==this.h1)this.ir();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.hq(n-this.h1)&&this.ir()}else-1!=this.ib&&(this.g7.g(this.ib),this.ib=-1),this.ja(!0);else this.fy(this.k(!0),this)},n.prototype.hq=function(t){return!0},n.prototype.i6=function(t,e){this.hh=!0,-1!=this.ia&&(this.g7.g(this.ia),this.ia=-1)},n.prototype.i7=function(t,e){this.hj||(this.ia=this.g7.f(i.runOn(this,this.ix),50)),this.hh=!1},n.prototype.i4=function(t,e){this.hj=!0},n.prototype.i5=function(t,e){null==e.b&&this.hr(e)||this.hc.t(e.b)||this.ha.t(e.b)||this.ir()},n.prototype.hr=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.i3=function(t,e){null!=this.q&&this.q.f0(),this.hl=!1,this.he=!1,this.iu()},n.prototype.iz=function(t,e){if(this.hl){if(null==e.b&&this.hr(e))return;this.hc.t(e.b)||this.ha.t(e.b)||this.ir()}},n.prototype.f5=function(e,n,r){switch(t.prototype.f5.call(this,e,n,r),e){case"ExecutionContext":this.g7.b=this.d;break;case"Title":null!=this.g9&&(this.g9.p=this.ex);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.hb&&(this.hb.bb=this.gu,this.hb.bc=this.gv,this.hb.bk=this.a,this.hb.bl=this.b);break;case"TooltipDelay":this.id=-1!=this.ie?this.ie:this.q.co;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.hb&&(this.hb.ae=i.DeviceUtils.g(this.bu),this.hb.y=i.DeviceUtils.g(this.bt))}},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.ie=e.tooltipDelay,e.isMenuOpenOnStart&&this.f2()},n.prototype.cm=function(){var t=new fe;return t.g=this.cu,t.h=this.ef,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ao.an)),null!=this.ha&&(t.f=this.ha.af()),null!=this.hb&&(t.b=this.hb.af()),t},n.$t=i.markType(n,"ToolActionIconButton",Re.$),n}(Re),Ge=function(t){function n(){var e,r=t.call(this)||this;return r.g8=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),r.g9=null,r.g7=null,r.ha=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.hc),r}return e.__extends(n,t),n.prototype.get_z=function(){return 1},n.prototype.get_a0=function(){return!1},n.prototype.get_a1=function(){return!1},n.prototype.get_ba=function(){return!1},Object.defineProperty(n.prototype,"hi",{get:function(){return this.cq("ActualBackIconColor",null)},set:function(t){var e=this.hi;e!=t&&(this.gd("ActualBackIconColor",t),this.fx("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.cq("BackIconColor",null)},set:function(t){var e=this.hj;e!=t&&(this.gd("BackIconColor",t),this.fx("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.ae=function(t){return this.g8},n.prototype.bz=function(t,e){return this.bb()?i.DeviceUtils.g(36):NaN},n.prototype.b1=function(e,n){if(this.actions.count>0){if(null!=this.g7){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.g7.bf(r).width}return 0}return t.prototype.b1.call(this,e,n)},n.prototype.hg=function(t,e,n,r){var o=n.bo;if(!(null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||null!=e.ao&&2!=i.typeGetValue(e.ao))){var s=!1;null==e.ao?e.ao=1:(s=!0,e.ao=3),e.bo(2,n);var a=null;s&&(a=e.bl(3)),e.b6(0,1,this.bz(this.q,r)),e.ca(e.bl(0),1),e.ca(e.bl(1),2),s&&e.ca(a,3),e.ca(n,0),e.cc(n,0),n.h=1,n.f=1,n.bh=new i.Thickness(1,-9,0,9,0),n.bp=this.ai(this.u),o.br="ToolbarBackButton",o.bq="IG_Default",o.ae=i.DeviceUtils.g(24),o.y=i.DeviceUtils.g(24)}o.bc=this.hi,n.c=this.s,n.bm=i.runOn(this,this.he),this.g9!=n&&(null!=this.g9&&this.g9.bm==i.runOn(this,this.he)&&(this.g9.bm=null),this.g9=n)},n.prototype.hh=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z||null==e.ao||i.typeGetValue(e.ao)<2)&&(null==e.ao||1==i.typeGetValue(e.ao))){var o=!1;null==e.ao?e.ao=2:(o=!0,e.ao=3),e.bn(n),o?(e.b6(4,1,this.b1(this.q,r)),e.ca(n,4),e.cc(n,0)):(e.b6(3,1,this.b1(this.q,r)),e.ca(n,3),e.cc(n,0)),n.bu=this.q.p,n.bv=1,n.h=1,n.f=2,n.bt=this.actions,n.bs=i.runOn(this,this.hf),n.b3(this.ai(this.u))}this.g7!=n&&(null!=this.g7&&this.g7.bs==i.runOn(this,this.hf)&&(this.g7.bs=null),this.g7=n)},n.prototype.hf=function(t,e){this.f9(e.a,e.b)},n.prototype.he=function(t,e){this.q.gc(this)},n.prototype.e3=function(e){t.prototype.e3.call(this,e),null!=e.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,e.ao)==this.z||this.bb()&&null!=this.g9&&this.g9.bm==i.runOn(this,this.he)&&(this.g9.bm=null)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)this.bb()&&i.NativeUIComponent.at(this.q.v.x(),10,this.be()?2:0,(function(e){return r.hg(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.at(this.q.v.x(),13,2,(function(e){return r.hh(o,t,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{if(this.bb()){var s=t.bl(2);this.hg(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ao)&&(a=2);var h=t.bl(a);this.hh(o,t,h,n)}}},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.g9&&(this.g9.bp=this.ai(this.u))},n.prototype.go=function(){var e;t.prototype.go.call(this),null!=this.g9&&(this.g9.c=this.s),this.gq=null!=this.gy?this.gy:this.q.ib,this.gx=null!=this.g5?this.g5:this.q.ie,this.gw=null!=this.g4?this.g4:this.q.id,this.hi=null!=this.hj?this.hj:this.gx,null!=this.ag?e=this.ag.a():null!=this.q.ai?(e=this.q.ai.a()).v="Bold":e=this.g8,this.ad=e},n.$t=i.markType(n,"ToolActionGroupHeader",Re.$),n.hc='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(Re),Ke=function(t){function n(){var e=t.call(this)||this;return e.jo=i.DeviceUtils.g(24),e.jn=i.DeviceUtils.g(15),e.jm=0,e.jg=null,e.jj=!1,e.ji=null,e.jk=!1,e.jh=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow",n.jq),e.jm=e.jo-e.jn,e}return e.__extends(n,t),n.prototype.get_z=function(){return 8},Object.defineProperty(n.prototype,"jx",{get:function(){return this.cq("ArrowStroke",null)},set:function(t){var e=this.jx;e!=t&&(this.gd("ArrowStroke",t),this.fx("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jw",{get:function(){return this.cq("ActualArrowStroke",null)},set:function(t){var e=this.jw;e!=t&&(this.gd("ActualArrowStroke",t),this.fx("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jl",{get:function(){return this.cq("ShowArrowIcon",!0)},set:function(t){var e=this.jl;e!=t&&(this.gd("ShowArrowIcon",t),this.fx("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_hs=function(){return null!=this.jg},n.prototype.it=function(t,e){var n=this;if(this.jj=!1,this.hd.bm>0)for(;this.hd.bm>0;)this.hd.bq(0);null!=this.jg&&(this.jg.t=null),this.jg=new ni(this.q.v.x(),this.d),this.jg.o=this.s,this.jg.ak((function(){n.jg.ag(n,(function(r){null!=n.ef&&(r.ap=n.ef+"SubPanel"),n.jg.al(r),n.actions.count>0&&null!=n.actions._inner[0].gq&&!i.BrushUtilCore.a(n.actions._inner[0].gq)?n.hd.cg=n.actions._inner[0].gq:n.hd.cg=n.q.im,t&&n.d.executeDelayed((function(){return n.ja(e)}),100)})),n.jg.s.a7=new i.CornerRadius(0,8),n.jg.s.a8=n.q.im,n.hd.bn(n.jg.s)})),this.jg.t=i.runOn(this,this.jt)},n.prototype.fn=function(){t.prototype.fn.call(this),this.jj=!0},n.prototype.iv=function(){null!=this.jg&&this.jg.ao()},n.prototype.iu=function(){null!=this.jg&&(this.jg.ay(),this.hd.cc())},n.prototype.iw=function(){null!=this.jg&&(this.jg.az(this.s,this.q),this.actions.count>0&&null!=this.actions._inner[0].gq&&!i.BrushUtilCore.a(this.actions._inner[0].gq)?this.hd.cg=this.actions._inner[0].gq:this.hd.cg=this.q.im,this.hd.b7=8,this.hd.ca=4)},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.ha&&(this.ha.bp=this.ai(this.u)),null!=this.hb&&this.jd(this.hb)},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.jl=e.showArrowIcon},n.prototype.go=function(){t.prototype.go.call(this),this.jw=null!=this.jx?this.jx:this.q.ik;var e=this.jl?i.DeviceUtils.g(8):0,n=this.jl?i.DeviceUtils.g(4):0,r=this.jl?i.DeviceUtils.g(5):0,o=this.jl?i.DeviceUtils.g(5):0;switch(this.s){case 6:case 5:case 4:case 3:this.h3=i.isNaN_(this.h7)?e:this.h7,this.h4=i.isNaN_(this.h8)?n:this.h8,this.h5=i.isNaN_(this.h9)?r:this.h9,this.h2=i.isNaN_(this.h6)?o:this.h6;break;default:this.h3=i.isNaN_(this.h7)?0:this.h7,this.h4=i.isNaN_(this.h8)?0:this.h8,this.h5=i.isNaN_(this.h9)?0:this.h9,this.h2=i.isNaN_(this.h6)?0:this.h6}null!=this.ji&&(this.ji.bc=this.jw),null!=this.jh&&this.jh.cd(0,1,this.bu)},n.prototype.jf=function(){return this.jj&&this.is(),this.jg.a4()},n.prototype.ja=function(e){void 0===e&&(e=!1),null!=this.jg&&this.jg.ay(),t.prototype.ja.call(this,e)},n.prototype.b0=function(e,n){if(!this.jl)return t.prototype.b0.call(this,e,n);var r=0;return i.isNaN_(this.h3)||(r+=this.h3),i.isNaN_(this.h4)||(r+=this.h4),Math.max(i.DeviceUtils.g(36),this.bu+this.jm+r)},n.prototype.jv=function(t,e,n,r,o,s,a){if(this.ho=!0,a){t.b8(2),t.b8(1),0==t.bm&&(n.b2(0,1,i.DeviceUtils.g(this.bu)),n.b2(1,1,this.jm),n.bn(r),n.bn(o),n.ca(r,0),n.ca(o,1),this.jh=n,e.bo=n,t.bn(e)),t.cc(e,0),t.ca(e,0),this.a3?e.bp=3:e.bp=this.ai(this.u),n.bi=new i.Thickness(1,this.h3,this.h5,this.h4,this.h2),e.bn=4,e.bu=!0,e.f=1;var h=this.bu+this.h3+this.h4;this.jl&&(h=h+this.jo-this.jn),e.bx=h,e.bz=new i.CornerRadius(0,18),this.jd(r),r.h=1,o.ae=this.jo,o.y=this.jo,o.h=1,o.bh=new i.Thickness(1,-this.jn,0,0,0),o.br="igDropDownArrow",o.bq="IG_Default",o.bb=i.BrushUtil.h(0,0,0,0),o.ac=i.DeviceUtils.g(1)}t.bw=!1,t.bi=new i.Thickness(1,this.bw,this.by,this.bx,this.bv),r.br=this.d3,r.bq=this.dy,r.bn=this.ca,r.bo=this.cb,r.bp=this.cc,r.bm=this.b9,r.bb=this.gu,r.bc=this.gv,r.ae=this.bu,r.y=this.bt,o.bc=this.jw,e.c=this.s,e.bm=i.runOn(this,this.iy),e.q=i.runOn(this,this.i0),e.s=i.runOn(this,this.i1),e.o=i.runOn(this,this.iz),this.ha!=e&&(null!=this.ha&&this.ha.bm==i.runOn(this,this.iy)&&(this.ha.bm=null,this.ha.q=null,this.ha.s=null,this.ha.o=null),this.ha=e),this.hb!=r&&(this.hb=r),this.ji!=o&&(this.ji=o),this.ju(),this.ho=!1},n.prototype.f1=function(t,e,n){var r=this;if(!this.jk){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1),this.aj(7),this.aj(11),this.aj(11),this.aj(12)];this.jk=!0,i.NativeUIComponent.av(this.q.v.x(),[1,7,11,11,12],s,(function(e){r.jv(t,e[0],e[1],e[2],e[3],n,!0),r.je(t,e[4]),r.jk=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(0),h=a.bo,u=h.bl(0),l=h.bl(1),c=t.bl(1);this.jv(t,a,h,u,l,n,!1),this.je(t,c)}}},n.prototype.jt=function(t){this.f9(t.a,t.b),t.b&&this.e4()},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"ShowArrowIcon":this.ju()}},n.prototype.ju=function(){if(null!=this.ha&&null!=this.hb&&null!=this.ji){if(this.jl){var t=this.ha.bo;2==t.bx?(t.cd(0,1,i.DeviceUtils.g(this.bu)),t.cd(1,1,this.jm)):(t.b2(0,1,i.DeviceUtils.g(this.bu)),t.b2(1,1,this.jm)),t.ca(this.hb,0),t.ca(this.ji,1),this.ji.bj=0}else{this.ha.bo.cd(1,1,i.DeviceUtils.g(0)),this.ji.bj=1}this.go()}},n.prototype.e1=function(e,i){switch(t.prototype.e1.call(this,e,i),i){case"Visibility":null!=this.jg&&this.jg.ax()}},n.prototype.f3=function(e){if(t.prototype.f3.call(this,e),8==e.z){var i=e;this.jl!=i.jl&&(this.jl=i.jl),this.jx!=i.jx&&(this.jx=i.jx)}},n.prototype.e=function(){return this.hd.b6?this.jg.k().a:null},n.prototype.cm=function(){var t=new Pe;return t.g=this.cu,t.h=this.ef,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ao.an)),null!=this.ha&&(t.f=this.ha.af()),null!=this.hb&&(t.b=this.hb.af()),null!=this.ji&&(t.j=this.ji.af()),t},n.prototype.hn=function(){return this.q.ay&&this.actions.count>0},n.prototype.hq=function(t){return!(this.q.cp<0||t<this.q.cp)||(this.jb(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",We.$),n.jq='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M20 11.1205L16.2166 14.8795L12.4575 11.1205" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>\r\n',n}(We),Xe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g7=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 2},n.prototype.get_as=function(){return!1},Object.defineProperty(n.prototype,"g8",{get:function(){return this.cq("IsChecked",!1)},set:function(t){var e=this.g8;e!=t&&(this.gd("IsChecked",t),this.fx("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cq("UncheckedBackgroundColor",null)},set:function(t){var e=this.hq;e!=t&&(this.gd("UncheckedBackgroundColor",t),this.fx("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cq("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.hm;e!=t&&(this.gd("ActualUncheckedBackgroundColor",t),this.fx("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cq("CheckedBackgroundColor",null)},set:function(t){var e=this.ho;e!=t&&(this.gd("CheckedBackgroundColor",t),this.fx("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.cq("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hk;e!=t&&(this.gd("ActualCheckedBackgroundColor",t),this.fx("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cq("UncheckedBorderColor",null)},set:function(t){var e=this.hr;e!=t&&(this.gd("UncheckedBorderColor",t),this.fx("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cq("ActualUncheckedBorderColor",null)},set:function(t){var e=this.hn;e!=t&&(this.gd("ActualUncheckedBorderColor",t),this.fx("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cq("CheckedBorderColor",null)},set:function(t){var e=this.hp;e!=t&&(this.gd("CheckedBorderColor",t),this.fx("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.cq("ActualCheckedBorderColor",null)},set:function(t){var e=this.hl;e!=t&&(this.gd("ActualCheckedBorderColor",t),this.fx("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.f3=function(e){if(t.prototype.f3.call(this,e),2==e.z){var i=e;null!=this.hp&&(this.hp=i.hp),null!=this.ho&&(this.ho=i.ho),null!=this.hr&&(this.hr=i.hr),null!=this.hq&&(this.hq=i.hq),this.g8!=i.g8&&(this.g8=i.g8)}},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,null!=this.g7&&(e.b=this.g7.bn),e},n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),null!=this.g7&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.g7.bn,n))},n.prototype.b1=function(t,e){return i.DeviceUtils.g(32)},n.prototype.e3=function(e){t.prototype.e3.call(this,e),null!=e.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,e.ao)==this.z||null!=this.g7&&this.g7.bl==i.runOn(this,this.hi)&&(this.g7.bl=null)},n.prototype.fq=function(){this.g7.bn=!this.g7.bn,this.gb("IsChecked",this.g7.bn),this.fy(this.k(!0),this)},n.prototype.hj=function(t,e,n,r,o){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(e.b2(3,1,this.b1(this.q,o)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.bm=!0,n.f=1,n.h=1,n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20)),n.c=this.s,n.bn=this.g8,n.bl=i.runOn(this,this.hi),n.br=this.hm,n.bs=this.hn,n.bp=this.hk,n.bq=this.hl,this.g7!=n&&(null!=this.g7&&this.g7.bl==i.runOn(this,this.hi)&&(this.g7.bl=null),this.g7=n)},n.prototype.hi=function(t,e){this.gb("IsChecked",this.g7.bn),this.fy(this.k(!0),this)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),6,this.aj(6),(function(i){var s=i;r.hj(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hj(o,t,s,e,n)}},n.prototype.gh=function(){t.prototype.gh.call(this),this.g7},n.prototype.go=function(){this.hm=null!=this.hq?this.hq:this.q.is,this.hn=null!=this.hr?this.hr:this.q.it,this.hk=null!=this.ho?this.ho:this.q.h8,this.hl=null!=this.hp?this.hp:this.q.h9,null!=this.g7&&(this.g7.c=this.s,this.g7.br=this.hm,this.g7.bs=this.hn,this.g7.bp=this.hk,this.g7.bq=this.hl)},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.gn()}},n.prototype.fw=function(){if(t.prototype.fw.call(this),null!=this.y){var e=this.y;e.isChecked&&(this.g8=e.isChecked)}},n.$t=i.markType(n,"ToolActionCheckbox",Re.$),n}(Re),Qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g7=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 5},Object.defineProperty(n.prototype,"g9",{get:function(){return this.cq("Value",0)},set:function(t){var e=this.g9;e!=t&&(this.gd("Value",t),this.fx("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fh=function(e){var n,r=this;t.prototype.fh.call(this,e),null!=this.g7&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.g8(),n))},n.prototype.b1=function(t,e){return i.DeviceUtils.g(150)},n.prototype.g8=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.g7.b7)?NaN:(null!=this.g7&&(e=i.tryParseNumber(n.g7.b7,t),t=e.p1,e.ret),t)},n.prototype.k=function(t){var e=new ue;return e.g=this.cu,e.a=this.z,e.c=t,e.e=this.g8(),e},n.prototype.hb=function(t,e){this.g9=this.g8();var i=this.k(!0);this.fy(i,this)},n.prototype.hc=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b1(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=1,n.bo=2,n.b2=!1}n.c=this.s,n.ce=this.a5?this.gr:this.gx,n.bk=this.ad,n.b0=this.a5,n.bs=i.runOn(this,this.hb),i.isNaN_(this.g9)?n.b7="":n.b7=this.g9.toString(),this.g7!=n&&(null!=this.g7&&this.g7.bs==i.runOn(this,this.hb)&&(this.g7.bs=null),this.g7=n)},n.prototype.f1=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),2,this.aj(2),(function(i){var s=i;r.hc(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hc(o,t,s,e,n)}},n.prototype.gh=function(){t.prototype.gh.call(this),null!=this.g7&&(this.g7.bp=this.ai(this.u))},n.prototype.go=function(){null!=this.g7&&(this.g7.c=this.s)},n.prototype.f5=function(e,i,n){switch(t.prototype.f5.call(this,e,i,n),e){case"IsDisabled":null!=this.g7&&(this.g7.b0=this.a5,this.g7.ce=this.a5?this.gr:this.gx)}},n.prototype.fq=function(){null==this.g7||this.a5||this.g7.az()},n.prototype.ff=function(){t.prototype.ff.call(this);var e=this.y;this.g9=e.value},n.$t=i.markType(n,"ToolActionNumberInput",Re.$),n}(Re),Ye=function(t){function n(){var e=t.call(this,Re.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolActionCollection",i.ObservableCollection$1.$.specialize(Re.$)),n}(i.ObservableCollection$1),Je=function(t){function r(){var e=t.call(this)||this;e.p=null,e.ag=!1,e.ae=null,e.t=new Zt,e.s=null,e.q=null,e.u=0,e.w=0,e.g=new Ye,e.e=new Ye,e.f=new Ye,e.k=r.l,e.y=null,e.br=r.bs,e.eu=null,e.e7=null,e.ey=null,e.e6=null,e.e2=null,e.e9=null,e.ex=null,e.e0=null,e.fb=null,e.fa=null,e.a3=NaN,e.a4=NaN,e.e3=null,e.e4=null,e.z=null,e.aa=null,e.a0=NaN,e.a1=NaN,e.a2=NaN,e.az=NaN,e.aw=NaN,e.ax=NaN,e.ay=NaN,e.av=NaN,e.aj=!0,e.ak=!0,e.bj=-1,e.au=NaN,e.at=NaN,e.e1=null,e.e5=null,e.fc=null,e.ev=null,e.fd=null,e.ew=null,e.bl=-1,e.e8=null,e.ez=null,e.bk=-1,e._userSetWidth=!1,e._userSetHeight=!1,e.ai=!1,e.ah=!1,e.propertyChanged=null,e.c=null,e.onCommand=null,e.subMenuOpening=null,e.subMenuClosing=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.dj));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.dl));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.dm)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new Ae;return h.a=e,e.p=h,e.p.w(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"af",{get:function(){return null==this.ae&&(this.ae=new i.SRProvider(this.p.j),this.ae.cb("Layouts")),this.ae},enumerable:!1,configurable:!0}),r.prototype.ds=function(t){this.s=t,this.s.cz=this,this.s.x=0==this.u?1:this.u;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.di)),this.s.p=this.t,this.eq()},r.prototype.di=function(t,e){var i=!1;null!=this.y&&2==this.y.onToolCommandExecuting(e.a)&&(i=!0,this.q=e),null==this.onCommand||i||this.onCommand(this,e)},r.prototype.d1=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.dz=function(){var t=this.target;this.d0(t,t)},r.prototype.dv=function(t){null!=this.s&&this.s.notifySizeChanged()},Object.defineProperty(r.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.dw("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.dw("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.dw("AutoGeneratedActions",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.dw("Actions",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.dw("ActualActions",e,this.f)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.dw("Orientation",i.enumGetBox(se,e),i.enumGetBox(se,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.dw("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fe",{get:function(){return this.eu},set:function(t){var e=this.eu;this.eu=t,e!=this.eu&&this.dw("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fs",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.dw("SubmenuBackgroundColor",e,this.e7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fj",{get:function(){return this.ey},set:function(t){var e=this.ey;this.ey=t,e!=this.ey&&this.dw("GroupHeaderBackgroundColorPropertyName",e,this.ey)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fr",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.dw("SeparatorBackgroundColor",e,this.e6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fn",{get:function(){return this.e2},set:function(t){var e=this.e2;this.e2=t,e!=this.e2&&this.dw("HoverBackgroundColor",e,this.e2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fu",{get:function(){return this.e9},set:function(t){var e=this.e9;this.e9=t,e!=this.e9&&this.dw("TextColor",e,this.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fh",{get:function(){return this.ex},set:function(t){var e=this.ex;this.ex=t,e!=this.ex&&this.dw("DisabledTextColor",e,this.ex)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fl",{get:function(){return this.e0},set:function(t){var e=this.e0;this.e0=t,e!=this.e0&&this.dw("GroupHeaderTextColor",e,this.e0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fw",{get:function(){return this.fb},set:function(t){var e=this.fb;this.fb=t,e!=this.fb&&this.dw("ToolTipTextColor",e,this.fb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fv",{get:function(){return this.fa},set:function(t){var e=this.fa;this.fa=t,e!=this.fa&&this.dw("ToolTipBackgroundColor",e,this.fa)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.dw("ToolTipCornerRadius",e,this.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bi",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.dw("ToolTipElevation",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fo",{get:function(){return this.e3},set:function(t){var e=this.e3;this.e3=t,e!=this.e3&&this.dw("IconFill",e,this.e3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fp",{get:function(){return this.e4},set:function(t){var e=this.e4;this.e4=t,e!=this.e4&&this.dw("IconStroke",e,this.e4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ab",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.dw("CellTextStyle",e,this.z)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ad",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.dw("SubtitleTextStyle",e,this.aa)},enumerable:!1,configurable:!0}),r.prototype.ac=function(){return null==this.ab?this.p.d():this.ab},Object.defineProperty(r.prototype,"be",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.dw("SeparatorVerticalPaddingLeft",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bf",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.dw("SeparatorVerticalPaddingRight",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bg",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.dw("SeparatorVerticalPaddingTop",e,this.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bd",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.dw("SeparatorVerticalPaddingBottom",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ba",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.dw("SeparatorHorizontalPaddingLeft",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bb",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.dw("SeparatorHorizontalPaddingRight",e,this.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bc",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.dw("SeparatorHorizontalPaddingTop",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a9",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.dw("SeparatorHorizontalPaddingBottom",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ap",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.dw("ShowOnHover",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aq",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.dw("ShowTooltipOnHover",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bm",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.dw("DropdownClickBuffer",e,this.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a8",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.dw("HighlightWidth",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a7",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.dw("HighlightRadius",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fm",{get:function(){return this.e1},set:function(t){var e=this.e1;this.e1=t,e!=this.e1&&this.dw("HighlightColor",e,this.e1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fq",{get:function(){return this.e5},set:function(t){var e=this.e5;this.e5=t,e!=this.e5&&this.dw("MenuArrowStroke",e,this.e5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fx",{get:function(){return this.fc},set:function(t){var e=this.fc;this.fc=t,e!=this.fc&&this.dw("UncheckedBackgroundColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ff",{get:function(){return this.ev},set:function(t){var e=this.ev;this.ev=t,e!=this.ev&&this.dw("CheckedBackgroundColor",e,this.ev)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fy",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.dw("UncheckedBorderColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fg",{get:function(){return this.ew},set:function(t){var e=this.ew;this.ew=t,e!=this.ew&&this.dw("CheckedBorderColor",e,this.ew)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bq",{get:function(){return null!=this.s?this.s.ct:-1},set:function(t){this.bl=t,null!=this.s&&(this.s.ct=this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ft",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.dw("SubtitleTextColor",e,this.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fk",{get:function(){return this.ez},set:function(t){var e=this.ez;this.ez=t,e!=this.ez&&this.dw("GroupHeaderSubtitleTextColor",e,this.ez)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bn",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.dw("DropdownDelay",e,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetWidth",{get:function(){return this._userSetWidth},set:function(t){this._userSetWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetHeight",{get:function(){return this._userSetHeight},set:function(t){this._userSetHeight=t},enumerable:!1,configurable:!0}),r.prototype.dj=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dk))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.dk))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.du()},r.prototype.dl=function(t,e){this.et()},r.prototype.dm=function(t,e){for(var n=0;n<this.actualActions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actualActions._inner[n])){var r=this.actualActions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.dk))}this.actualActions._inner[n].d=null}},r.prototype.et=function(){var t=0==this.v?1:this.v;null!=this.s&&(this.s.x=t);for(var e=0;e<this.actualActions.count;e++)this.actualActions._inner[e].s=t},r.prototype.es=function(){null!=this.s&&this.s.gy(this.x);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].gj(this.x)},r.prototype.dk=function(t,e){},r.prototype.du=function(){this.d4()},r.prototype.d4=function(){this.ah||(null!=this.d?(this.ah=!0,this.d.enqueueAction(i.runOn(this,this.dq))):this.ai=!0)},r.prototype.dq=function(){this.ah&&(this.ah=!1,this.d5(),this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.d5=function(){var t=this;this.actualActions.clear();for(var e=0;e<this.autoGeneratedActions.count;e++)this.actualActions.add(this.autoGeneratedActions._inner[e]);for(var n=null,r=null,o=!1,s=!1,a=-1,h=0,u=function(e){var u,c=l.actions._inner[e];i.stringIsNullOrEmpty(c.eh)?(i.stringIsNullOrEmpty(c.dh)?i.stringIsNullOrEmpty(c.de)||(null!=c.g&&c.g.actions.remove(c),function(){var e=t.al(c.de,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.de,o=!1,s=!0,h=0)):(null!=c.g&&c.g.actions.remove(c),function(){var e=t.al(c.dh,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dh,o=!0,s=!1)),i.stringIsNullOrEmpty(r)?l.actualActions.add(c):o?(n.insert(a,c),a++):s&&(n.insert(a+1+h,c),h++)):(u=t.al(c.eh,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].f3(c))},l=this,c=0;c<this.actions.count;c++)u(c)},r.prototype.al=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];return null!=a.ef&&a.ef==t?{value:{ret:!0,p2:i=e,p3:n=o}}:a.actions.count>0&&(s=r.al(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret)?{value:{ret:!0,p2:i,p3:n}}:void 0},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.am=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];if(null==a.dm){if(null!=a.ef&&a.ef==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.dm&&a.dm==t)return{value:{ret:!0,p2:i=e,p3:n=o}};if(a.actions.count>0&&(s=r.al(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret))return{value:{ret:!0,p2:i,p3:n}}},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.dr=function(){this.ah&&this.dq(),null!=this.s&&this.s.fr()},r.prototype.notifySizeChanged=function(){this.p.t()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.p.u(t),null!=this.ab&&null!=this.p.j&&this.ab.w(this.p.j)},r.prototype.dw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.d2(t,e,n)},r.prototype.d2=function(t,e,i){switch(t){case"CellTextStyle":null!=this.ab&&null!=this.p.j&&this.ab.w(this.p.j),this.eq();break;case"BackgroundColor":case"TextColor":case"SubmenuBackgroundColor":case"GroupHeaderBackgroundColorPropertyName":case"GroupHeaderTextColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"Orientation":case"ShowOnHover":case"ShowTooltipOnHover":case"DropdownClickBuffer":case"HighlightWidth":case"HighlightRadius":case"HighlightColor":case"MenuArrowStroke":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":this.eq();break;case"Target":var n=i,r=e;this.d0(r,n);break;case"BaseTheme":this.et();break;case"Density":this.es();break;case"ExecutionContext":null!=this.d&&this.ai&&(this.d4(),this.ai=!1)}},r.prototype.eq=function(){null!=this.s&&(this.s.ay=this.ap,this.s.az=this.aq,this.s.iu=this.fe,this.s.jc=this.fu,this.s.ix=this.fh,this.s.ja=this.fs,this.s.i0=this.fj,this.s.i3=this.fl,this.s.i9=this.fr,this.s.i5=this.fn,this.s.u=this.m,this.s.je=this.fw,this.s.jd=this.fv,this.s.ci=this.bh,this.s.cj=this.bi,this.s.i6=this.fo,this.s.i7=this.fp,this.s.ak=this.ab,this.s.am=this.ad,this.s.cb=this.ba,this.s.cc=this.bb,this.s.cd=this.bc,this.s.ca=this.a9,this.s.cf=this.be,this.s.cg=this.bf,this.s.ch=this.bg,this.s.ce=this.bd,this.s.i4=this.fm,this.s.b8=this.a7,this.s.b9=this.a8,this.s.i8=this.fq,this.s.jf=this.fx,this.s.jg=this.fy,this.s.iv=this.ff,this.s.iw=this.fg,this.s.jb=this.ft,this.s.i2=this.fk,this.s.cq=this.bn,this.s.cp=this.bm,-1!=this.bl&&(this.s.ct=this.bl))},Object.defineProperty(r.prototype,"ao",{get:function(){return null!=this.s&&this.s.ax},enumerable:!1,configurable:!0}),r.prototype.f0=function(){return null!=this.s?this.s.jj():i.Size.empty},r.prototype.d0=function(t,e){this.dn(),this.y=e,null!=t&&(t.commandCompleted=null,null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.d4()),null!=e&&(e.commandCompleted=i.runOn(this,this.d1),e.invalidateActions=i.runOn(this,this.dz),e.provideContextAccessor(new Ze(this,!1)),this.er(),e.addCommandStateChangedListener(this),this.d4())},r.prototype.er=function(){var t=this.y.getDesiredToolbarActions();if(null!=t){for(var e=null==this.autoGeneratedActions?0:this.autoGeneratedActions.count,i=t.length,n=0;n<e&&n<i;){var r=this.autoGeneratedActions._inner[n],o=t[n];Re.au(r,o)||(this.autoGeneratedActions._inner[n]=Re.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(Re.f(t[s]));else if(n<e)for(var a=0;a<e-n;a++)this.autoGeneratedActions.removeAt(n)}else this.autoGeneratedActions.clear()},Object.defineProperty(r.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.dw("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.dn=function(){null!=this.s&&this.s.fm()},r.prototype.dy=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new ee)},r.prototype.dx=function(){null!=this.subMenuClosing&&this.subMenuClosing(this,new ne)},r.prototype.onCommandStateChanged=function(t,e,n){var r=this,o=null,s=-1;if(function(){var e=r.am(t,r.actualActions,o,s);return o=e.p2,s=e.p3,e.ret}()){var a=o._inner[s];switch(e){case 2:switch(a.z){case 2:a.g8=n;break;case 5:a.g9=n;break;case 6:a.g8=n}break;case 0:a.g6=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a5=n}}},r.prototype.d6=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.d3==e&&(n.d3=null,n.d3=e),null!=n.actions&&n.actions.count>0&&this.d6(n.actions,e)}},r.prototype.d8=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.d6(this.actualActions,e)},r.prototype.ci=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.ea=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.d6(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.d7=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.d6(this.actualActions,e)},r.prototype.ch=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.d9=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.d6(this.actualActions,e)},r.prototype.b0=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.ed=function(t,e){i.stringIsNullOrEmpty(t)||ei.gj(this.t,t,e)},r.prototype.fi=function(t){return i.stringIsNullOrEmpty(t)?null:ei.iz(this.t,t)},r.prototype.ej=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),ei.gj(this.t,t,e))},r.prototype.bx=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=ei.iz(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.ec=function(t,e){i.stringIsNullOrEmpty(t)||ei.gh(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:ei.b(this.t,t)},r.prototype.ei=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),ei.gh(this.t,t,e))},r.prototype.bw=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=ei.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.eh=function(t,e){i.stringIsNullOrEmpty(t)||ei.gr(this.t,t,e)},r.prototype.a5=function(t){return i.stringIsNullOrEmpty(t)?NaN:ei.b7(this.t,t)},r.prototype.eo=function(t,e){i.stringIsNullOrEmpty(t)||ei.gt(this.t,t,e)},r.prototype.a6=function(t){return i.stringIsNullOrEmpty(t)?NaN:ei.b7(this.t,t)},r.prototype.em=function(t,e){i.stringIsNullOrEmpty(t)||ei.gr(this.t,t,e)},r.prototype.bp=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:ei.cs(this.t,t)},r.prototype.en=function(t,e){i.stringIsNullOrEmpty(t)||ei.gt(this.t,t,i.typeGetValue(e))},r.prototype.bo=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:ei.cs(this.t,t)},r.prototype.ep=function(t,e){i.stringIsNullOrEmpty(t)||ei.gv(this.t,t,e)},r.prototype.cj=function(t){return i.stringIsNullOrEmpty(t)?null:ei.eg(this.t,t)},r.prototype.eb=function(t,e){i.stringIsNullOrEmpty(t)||ei.gf(this.t,t,e)},r.prototype.an=function(t){return!i.stringIsNullOrEmpty(t)&&ei.av(this.t,t)},r.prototype.ee=function(t,e){i.stringIsNullOrEmpty(t)||ei.gl(this.t,t,e)},r.prototype.fz=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):ei.ji(this.t,t)},r.prototype.ek=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),ei.gl(this.t,t,e))},r.prototype.by=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=ei.ji(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.eg=function(t,e){i.stringIsNullOrEmpty(t)||ei.gp(this.t,t,e)},r.prototype.bv=function(t){return i.stringIsNullOrEmpty(t)?null:ei.cy(this.t,t)},r.prototype.el=function(t,e){i.stringIsNullOrEmpty(t)||ei.gp(this.t,t,e)},r.prototype.bz=function(t){return i.stringIsNullOrEmpty(t)?null:ei.cy(this.t,t)},r.prototype.ef=function(t,e){i.stringIsNullOrEmpty(t)||ei.gn(this.t,t,e)},r.prototype.bu=function(t){return i.stringIsNullOrEmpty(t)?null:ei.cw(this.t,t)},r.prototype.bt=function(){return null==this.s?null:this.s.cu()},r.prototype.cg=function(){return this.bt().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.bs=null,r}(i.Base),Ze=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.getContextValue=function(t,e){switch(e){case 0:return this.b?this.a.fi(t):this.a.bx(t);case 1:return this.b?this.a.b(t):this.a.bw(t);case 2:return this.b?this.a.fz(t):this.a.by(t);case 3:return this.b,this.a.cj(t);case 4:return this.b?this.a.a5(t):this.a.a6(t);case 6:return this.b?this.a.bp(t):this.a.bo(t);case 7:return this.b?this.a.bv(t):this.a.bz(t);case 5:return this.b,this.a.an(t)}return null},n.prototype.getInternalAccessor=function(){return new n(this.a,!0)},n.prototype.setContextValue=function(t,e,n){switch(e){case 0:this.b?this.a.ed(t,n):this.a.ej(t,n);break;case 1:this.b?this.a.ec(t,n):this.a.ei(t,n);break;case 2:this.b?this.a.ee(t,n):this.a.ek(t,n);break;case 3:this.b,this.a.ep(t,n);break;case 4:this.b?this.a.eh(t,n):this.a.em(t,n);break;case 6:this.b?this.a.eo(t,i.typeGetValue(n)):this.a.en(t,n);break;case 7:this.b?this.a.eg(t,n):this.a.el(t,n);break;case 5:this.b,this.a.eb(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),ti=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPopupOpeningEventArgs"),n}(i.Base),ei=function(t){function r(){var e=t.call(this)||this;e.v=null,e.an=null,e.cz=null,e.o=null,e.aq=!1,e.ao=null,e.k=new le,e.propertyChanged=null,e.i=new Ye,e.contentRefreshed=null,e.as=!0,e.at=!0,e.cl=-1,e.ar=!1,e.a1=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Re.$),0),e.a2=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Re.$),0),e.a0=new i.Dictionary$2(i.String_$type,Re.$,0),e.ag=null,e.ae=null,e.af=null,e.ah=null,e.c=null,e.w=0,e.z=0,e.y=0,e.hm=null,e.g1=null,e.h0=null,e.hf=null,e.hq=null,e.g5=null,e.hz=null,e.he=null,e.hr=null,e.g6=null,e.hv=null,e.ha=null,e.f=null,e.bi=Number.POSITIVE_INFINITY,e.h2=null,e.hh=null,e.hg=null,e.h1=null,e.hp=null,e.g4=null,e.ht=null,e.g8=null,e.hs=null,e.g7=null,e.h4=null,e.hj=null,e.h3=null,e.hi=null,e.br=NaN,e.be=NaN,e.bs=NaN,e.bf=NaN,e.hw=null,e.hb=null,e.hx=null,e.hc=null,e.bo=NaN,e.bb=NaN,e.bp=NaN,e.bc=NaN,e.bq=NaN,e.bd=NaN,e.bn=NaN,e.ba=NaN,e.bk=NaN,e.a7=NaN,e.bl=NaN,e.a8=NaN,e.bm=NaN,e.a9=NaN,e.bj=NaN,e.a6=NaN,e.s=r.t,e.onCommand=null,e.cn=-1,e.bh=NaN,e.a5=NaN,e.bg=NaN,e.a4=NaN,e.hu=null,e.g9=null,e.hy=null,e.hd=null,e.h5=null,e.hk=null,e.hn=null,e.g2=null,e.h6=null,e.hl=null,e.ho=null,e.g3=null,e.cm=-1,e.ck=500,e.g=0,e.onContextChanged=null,e.onContextSwapped=null,e.drillDownRequested=null,e.drillUpRequested=null,e.aa=0;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.fi)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),Ie.g();var s=new Ne;return s.c=e,e.v=s,e.v.af(),e.g0(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"p",{get:function(){return this.o},set:function(t){if(t!=this.o){if(null!=this.o){var e=this.o;e.onItemChanged=i.delegateRemove(e.onItemChanged,i.runOn(this,this.fy))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.fy))}null!=this.onContextSwapped&&this.onContextSwapped(this,new he)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ap",{get:function(){return null==this.ao&&(this.ao=new i.SRProvider(this.v.p),this.ao.cb("Layouts")),this.ao},enumerable:!1,configurable:!0}),r.prototype.fs=function(t){this.f=t,-1!=this.cn&&(this.f.ea=this.cn);var e=this.f;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.fh));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.fe)),this.f.ab=this.u,this.f.bx=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.ff));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.fg))},r.prototype.f1=function(){null!=this.cz&&(null!==i.typeCast(r.$,this.cz)&&this.cz.f1(),null!==i.typeCast(Je.$,this.cz)&&this.cz.dy())},r.prototype.f0=function(){null!=this.cz&&(null!==i.typeCast(r.$,this.cz)&&this.cz.f0(),null!==i.typeCast(Je.$,this.cz)&&this.cz.dx())},r.prototype.fe=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new Te)},r.prototype.ff=function(t,e){var n=e.c,r=new le;this.f3(r),n.e7(this,r),0==n.g6?i.isNaN_(r.d)?e.a=this.f.c2:e.a=r.d:e.a=0},r.prototype.fg=function(t,e){var n=e.c,r=new le;this.f3(r),n.e7(this,r),0==n.g6?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.fh=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new le;this.f3(r),i.e7(this,r),i.fz(n,this,e,r)}else i.fz(n,this,e,this.k)},r.prototype.fx=function(t){this.bi=t.width,this.f7(),null!=this.f&&this.f.notifySizeChanged()},Object.defineProperty(r.prototype,"actions",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.fz("Actions",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ay",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.fz("ShowOnHover",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"az",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.fz("ShowTooltipOnHover",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cp",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.fz("DropdownClickBuffer",e,this.cl)},enumerable:!1,configurable:!0}),r.prototype.fi=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.ft))}l.e2(),l.d=null,l.gc(null)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.ft))}d.d=this.c,d.gc(this)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.gz(this.actions),this.fw()},r.prototype.fj=function(t,e){for(var n=0;n<this.actions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[n])){var r=this.actions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.ft))}this.actions._inner[n].e2(),this.actions._inner[n].d=null,this.actions._inner[n].gc(null)}},r.prototype.fw=function(){this.f7(),this.v.ac()},r.prototype.f7=function(){this.ar||(this.ar=!0,this.c.enqueueAction(i.runOn(this,this.fo)))},r.prototype.f9=function(){this.ar=!0,this.fo()},r.prototype.fo=function(){if(this.ar){this.ar=!1,this.fk(),this.gd();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.fp()}},r.prototype.fk=function(){this.a1.clear(),this.a2.clear(),this.a0.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].gc(this),null!=this.i._inner[t].cu&&this.a0.item(this.i._inner[t].cu,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].em)if(this.a0.containsKey(this.i._inner[e].em))this.a1.containsKey(this.i._inner[e].em)||this.a1.item(this.i._inner[e].em,new i.List$1(Re.$,0)),this.a1.item(this.i._inner[e].em).add(this.i._inner[e])}for(var n=0;n<this.i.count;n++)if(6==this.i._inner[n].z){var r=this.i._inner[n].hf;null==r&&(r="null"),this.a2.containsKey(r)||this.a2.item(r,new i.List$1(Re.$,0)),this.a2.item(r).add(this.i._inner[n])}},r.prototype.aw=function(t){return null!=t.cu&&this.a1.containsKey(t.cu)},r.prototype.h=function(t){return this.a0.containsKey(t)?this.a0.item(t):null},r.prototype.a3=function(t){return null==t.cu?null:this.a1.containsKey(t.cu)?this.a1.item(t.cu):null},r.prototype.l=function(t){var e=new le;return this.f3(e),t.e7(this,e),this.fu(this.k,e),e},r.prototype.f3=function(t){t.a=this.u,t.c=this.bi},r.prototype.fu=function(t,e){i.isNaN_(e.f)||(i.isNaN_(t.f)?t.f=e.f:t.f=Math.max(t.f,e.f)),i.isNaN_(e.h)||(i.isNaN_(t.h)?t.h=e.h:t.h=Math.max(t.h,e.h))},r.prototype.gd=function(){this.k=new le,this.k.a=this.u,this.k.c=this.bi},r.prototype.jj=function(){this.bi;var t=0,e=0;if(0==this.u)for(var n=0;n<this.actions.count;n++){var r=this.l(this.actions._inner[n]);t=Math.max(r.e,t),0==this.actions._inner[n].g6&&(i.isNaN_(r.d)?e+=this.bv:e+=r.d)}else{if(2==this.u)return this.f.h1();if(1==this.u)for(var o=0;o<this.actions.count;o++){var s=this.l(this.actions._inner[o]);0==this.actions._inner[o].g6&&(i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].g6&&(e=i.isNaN_(s.d)?this.bv:s.d)}}return new i.Size(1,t,e)},r.prototype.fp=function(){this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.fr=function(){this.ar&&this.fo(),null!=this.f&&this.f.fv()},r.prototype.ga=function(){null!=this.f&&this.f.g3()},r.prototype.f8=function(t){var e=t.hf;null==e&&(e="null");var i=t.cu;if(null!=this.a2&&this.a2.containsKey(e))for(var n=0;n<this.a2.item(e).count;n++)this.a2.item(e)._inner[n].cu!=i&&this.a2.item(e)._inner[n].hm()},r.prototype.ft=function(t,e){"ExecutionContext"!=e.propertyName&&this.fw()},r.prototype.fl=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].e2()},r.prototype.f4=function(){for(var t=0;t<this.actions.count;t++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[t])){var e=this.actions._inner[t];e.propertyChanged=i.delegateRemove(e.propertyChanged,i.runOn(this,this.ft))}this.actions._inner[t].d=null}},r.prototype.notifySizeChanged=function(){this.v.ab()},r.prototype.destroy=function(){this.provideContainer(null),this.fl()},r.prototype.provideContainer=function(t){this.v.ad(t),null!=this.ak&&null!=this.v.p&&this.ak.w(this.v.p)},Object.defineProperty(r.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.fz("CellTextStyle",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ai",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.fz("ActualCellTextStyle",e,this.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aj",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.fz("ActualSubtitleTextStyle",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"am",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.fz("SubtitleTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),r.prototype.al=function(){return null==this.ak?this.v.g():this.ak},r.prototype.fz=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.f5(t,e,n)},r.prototype.f5=function(t,n,r){var o,s,a,h;switch(t){case"BaseTheme":case"TextColor":case"BackgroundColor":case"SubmenuBackgroundColor":case"GroupHeaderTextColor":case"GroupHeaderBackgroundColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"SeparatorHorizontalPaddingLeft":case"SeparatorHorizontalPaddingRight":case"SeparatorHorizontalPaddingTop":case"SeparatorHorizontalPaddingBottom":case"SeparatorVerticalPaddingLeft":case"SeparatorVerticalPaddingRight":case"SeparatorVerticalPaddingTop":case"SeparatorVerticalPaddingBottom":case"CellTextStyle":case"HighlightRadius":case"HighlightWidth":case"HighlightColor":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":this.g0();break;case"ActualTextColor":case"ActualIconFill":case"ActualIconStroke":case"ActualSubmenuBackgroundColor":case"ActualGroupHeaderTextColor":case"ActualGroupHeaderBackgroundColor":case"ActualSeparatorBackgroundColor":case"ActualHoverBackgroundColor":case"ActualToolTipTextColor":case"ActualToolTipBackgroundColor":case"ActualToolTipCornerRadius":case"ActualToolTipElevation":case"ActualSeparatorHorizontalPaddingLeft":case"ActualSeparatorHorizontalPaddingRight":case"ActualSeparatorHorizontalPaddingTop":case"ActualSeparatorHorizontalPaddingBottom":case"ActualSeparatorVerticalPaddingLeft":case"ActualSeparatorVerticalPaddingRight":case"ActualSeparatorVerticalPaddingTop":case"ActualSeparatorVerticalPaddingBottom":case"ActualCellTextStyle":case"ActualHighlightRadius":case"ActualHighlightWidth":case"ActualHighlightColor":case"ActualUncheckedBackgroundColor":case"ActualUncheckedBorderColor":case"ActualCheckedBackgroundColor":case"ActualCheckedBorderColor":case"ActualSubtitleTextColor":case"ActualGroupHeaderSubtitleTextColor":case"ActualSubtitleTextStyle":case"ActualDropdownDelay":this.gz(this.actions);break;case"ActualBackgroundColor":this.gx();break;case"ActualDensity":this.gw(this.actions);break;case"Density":0==this.ac?this.ab=this.ad:this.ab=this.ac;break;case"Orientation":null!=this.f&&(this.f.ab=this.u,this.v.ag());break;case"Actions":if(null!=n){var u=n;u.collectionChanged=i.delegateRemove(u.collectionChanged,i.runOn(this,this.fi)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.fj));try{for(var l=e.__values(i.fromEnum(u)),c=l.next();!c.done;c=l.next()){var p=c.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,p)){var f=p;f.propertyChanged=i.delegateRemove(f.propertyChanged,i.runOn(this,this.ft))}p.d=null,p.gc(null)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}}if(null!=r){var d=r;d.collectionChanged=i.delegateCombine(d.collectionChanged,i.runOn(this,this.fi)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.fj));try{for(var b=e.__values(i.fromEnum(d)),g=b.next();!g.done;g=b.next()){var y=g.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,y)){var m=y;m.propertyChanged=i.delegateCombine(m.propertyChanged,i.runOn(this,this.ft))}y.d=this.c,y.gc(this)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=b.return)&&h.call(b)}finally{if(a)throw a.error}}}this.gz(this.actions),this.f7()}},r.prototype.g0=function(){switch(this.x){case 0:case 1:case 2:this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,24,29,31),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,24,29,31),this.ia=null!=this.ix?this.ix:i.BrushUtil.h(102,0,0,0),this.h7=null!=this.iu?this.iu:i.BrushUtil.h(255,255,255,255),this.im=null!=this.ja?this.ja:i.BrushUtil.h(255,255,255,255),this.ib=null!=this.i0?this.i0:i.BrushUtil.h(255,237,239,245),this.ie=null!=this.i3?this.i3:i.BrushUtil.h(255,142,143,147),this.id=null!=this.i2?this.i2:i.BrushUtil.h(102,142,143,147),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,237,239,245),this.ic=null!=this.i1?this.i1:i.BrushUtil.h(25,0,0,0),this.ih=null!=this.i5?this.i5:i.BrushUtil.h(51,178,191,220),this.ir=null!=this.je?this.je:i.BrushUtil.h(255,0,0,0),this.ii=null!=this.i6?this.i6:i.BrushUtil.h(255,0,0,0),this.ij=null!=this.i7?this.i7:i.BrushUtil.h(255,0,0,0),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,237,239,245),this.b4=i.isNaN_(this.ci)?8:this.ci,this.b5=i.isNaN_(this.cj)?4:this.cj,this.b1=i.isNaN_(this.cf)?0:this.cf,this.b2=i.isNaN_(this.cg)?0:this.cg,this.b3=i.isNaN_(this.ch)?0:this.ch,this.b0=i.isNaN_(this.ce)?0:this.ce,this.bx=i.isNaN_(this.cb)?0:this.cb,this.by=i.isNaN_(this.cc)?0:this.cc,this.bz=i.isNaN_(this.cd)?i.DeviceUtils.g(10):this.cd,this.bw=i.isNaN_(this.ca)?i.DeviceUtils.g(10):this.ca,this.ai=null!=this.ak?this.ak:this.v.g(),this.aj=null!=this.am?this.am:this.v.h(),this.ig=null!=this.i4?this.i4:i.BrushUtil.h(255,110,137,247),this.bt=i.isNaN_(this.b8)?6:this.b8,this.bu=i.isNaN_(this.b9)?1:this.b9,this.ik=null!=this.i8?this.i8:i.BrushUtil.h(255,0,0,0),this.is=this.jf,this.it=this.jg,this.h8=this.iv,this.h9=this.iw,this.co=-1!=this.cq?this.cq:500;break;case 5:case 3:this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,24,29,31),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,24,29,31),this.ia=null!=this.ix?this.ix:i.BrushUtil.h(102,0,0,0),this.h7=null!=this.iu?this.iu:i.BrushUtil.h(255,255,255,255),this.im=null!=this.ja?this.ja:i.BrushUtil.h(255,255,255,255),this.ib=null!=this.i0?this.i0:i.BrushUtil.h(255,237,239,245),this.ie=null!=this.i3?this.i3:i.BrushUtil.h(255,142,143,147),this.id=null!=this.i2?this.i2:i.BrushUtil.h(102,142,143,147),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,237,239,245),this.ic=null!=this.i1?this.i1:i.BrushUtil.h(25,0,0,0),this.ih=null!=this.i5?this.i5:i.BrushUtil.h(51,178,191,220),this.ir=null!=this.je?this.je:i.BrushUtil.h(255,0,0,0),this.ii=null!=this.i6?this.i6:i.BrushUtil.h(255,0,0,0),this.ij=null!=this.i7?this.i7:i.BrushUtil.h(255,0,0,0),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,237,239,245),this.b4=i.isNaN_(this.ci)?8:this.ci,this.b5=i.isNaN_(this.cj)?4:this.cj,this.b1=i.isNaN_(this.cf)?0:this.cf,this.b2=i.isNaN_(this.cg)?0:this.cg,this.b3=i.isNaN_(this.ch)?0:this.ch,this.b0=i.isNaN_(this.ce)?0:this.ce,this.bx=i.isNaN_(this.cb)?i.DeviceUtils.g(5):this.cb,this.by=i.isNaN_(this.cc)?i.DeviceUtils.g(5):this.cc,this.bz=i.isNaN_(this.cd)?i.DeviceUtils.g(10):this.cd,this.bw=i.isNaN_(this.ca)?i.DeviceUtils.g(10):this.ca,this.ai=null!=this.ak?this.ak:this.v.g(),this.aj=null!=this.am?this.am:this.v.h(),this.ig=null!=this.i4?this.i4:i.BrushUtil.h(255,110,137,247),this.bt=i.isNaN_(this.b8)?6:this.b8,this.bu=i.isNaN_(this.b9)?1:this.b9,this.ik=null!=this.i8?this.i8:i.BrushUtil.h(255,0,0,0),this.is=this.jf,this.it=this.jg,this.h8=this.iv,this.h9=this.iw,this.co=-1!=this.cq?this.cq:500;break;case 6:case 4:this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,255,255,255),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,255,255,255),this.ia=null!=this.ix?this.ix:i.BrushUtil.h(102,255,255,255),this.h7=null!=this.iu?this.iu:i.BrushUtil.h(255,55,63,86),this.im=null!=this.ja?this.ja:i.BrushUtil.h(255,55,63,86),this.ib=null!=this.i0?this.i0:i.BrushUtil.h(255,44,50,70),this.ie=null!=this.i3?this.i3:i.BrushUtil.h(255,255,255,255),this.id=null!=this.i2?this.i2:i.BrushUtil.h(102,255,255,255),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,44,50,70),this.ic=null!=this.i1?this.i1:i.BrushUtil.h(25,0,0,0),this.ih=null!=this.i5?this.i5:i.BrushUtil.h(25,105,136,255),this.ir=null!=this.je?this.je:i.BrushUtil.h(255,255,255,255),this.ii=null!=this.i6?this.i6:i.BrushUtil.h(255,255,255,255),this.ij=null!=this.i7?this.i7:i.BrushUtil.h(255,255,255,255),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,44,50,70),this.b4=i.isNaN_(this.ci)?8:this.ci,this.b5=i.isNaN_(this.cj)?4:this.cj,this.b1=i.isNaN_(this.cf)?0:this.cf,this.b2=i.isNaN_(this.cg)?0:this.cg,this.b3=i.isNaN_(this.ch)?0:this.ch,this.b0=i.isNaN_(this.ce)?0:this.ce,this.bx=i.isNaN_(this.cb)?i.DeviceUtils.g(5):this.cb,this.by=i.isNaN_(this.cc)?i.DeviceUtils.g(5):this.cc,this.bz=i.isNaN_(this.cd)?i.DeviceUtils.g(10):this.cd,this.bw=i.isNaN_(this.ca)?i.DeviceUtils.g(10):this.ca,this.ai=null!=this.ak?this.ak:this.v.g(),this.aj=null!=this.am?this.am:this.v.h(),this.ig=null!=this.i4?this.i4:i.BrushUtil.h(255,110,137,247),this.bt=i.isNaN_(this.b8)?6:this.b8,this.bu=i.isNaN_(this.b9)?1:this.b9,this.ik=null!=this.i8?this.i8:i.BrushUtil.h(255,255,255,255),this.is=this.jf,this.it=this.jg,this.h8=this.iv,this.h9=this.iw,this.co=-1!=this.cq?this.cq:500}},r.prototype.gz=function(t){for(var e=0;e<t.count;e++)t._inner[e].gn(),this.gz(t._inner[e].actions)},r.prototype.gw=function(t){for(var e=0;e<t.count;e++)t._inner[e].gj(this.ab),this.gw(t._inner[e].actions)},r.prototype.gx=function(){null!=this.v.p&&i.NativeUI.m(this.v.v,this.h7)},Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.fz("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ac",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.fz("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ab",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.fz("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iu",{get:function(){return this.hm},set:function(t){var e=this.hm;this.hm=t,e!=this.hm&&this.fz("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"h7",{get:function(){return this.g1},set:function(t){var e=this.g1;this.g1=t,e!=this.g1&&this.fz("ActualBackgroundColor",e,this.g1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ja",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.fz("SubmenuBackgroundColor",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"im",{get:function(){return this.hf},set:function(t){var e=this.hf;this.hf=t,e!=this.hf&&this.fz("ActualSubmenuBackgroundColor",e,this.hf)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i0",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,e!=this.hq&&this.fz("GroupHeaderBackgroundColor",e,this.hq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ib",{get:function(){return this.g5},set:function(t){var e=this.g5;this.g5=t,e!=this.g5&&this.fz("ActualGroupHeaderBackgroundColor",e,this.g5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i9",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.fz("SeparatorBackgroundColor",e,this.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"il",{get:function(){return this.he},set:function(t){var e=this.he;this.he=t,e!=this.he&&this.fz("ActualSeparatorBackgroundColor",e,this.he)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i1",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.fz("GroupHeaderSeparatorBackgroundColor",e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ic",{get:function(){return this.g6},set:function(t){var e=this.g6;this.g6=t,e!=this.g6&&this.fz(r.c9,e,this.g6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i5",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.fz("HoverBackgroundColor",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ih",{get:function(){return this.ha},set:function(t){var e=this.ha;this.ha=t,e!=this.ha&&this.fz("ActualHoverBackgroundColor",e,this.ha)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jc",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.fz("TextColor",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ip",{get:function(){return this.hh},set:function(t){var e=this.hh;this.hh=t,e!=this.hh&&this.fz("ActualTextColor",e,this.hh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"io",{get:function(){return this.hg},set:function(t){var e=this.hg;this.hg=t,e!=this.hg&&this.fz("ActualSubtitleTextColor",e,this.hg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jb",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.fz("SubtitleTextColor",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ix",{get:function(){return this.hp},set:function(t){var e=this.hp;this.hp=t,e!=this.hp&&this.fz("DisabledTextColor",e,this.hp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ia",{get:function(){return this.g4},set:function(t){var e=this.g4;this.g4=t,e!=this.g4&&this.fz("ActualDisabledTextColor",e,this.g4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i3",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.fz("GroupHeaderTextColor",e,this.ht)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ie",{get:function(){return this.g8},set:function(t){var e=this.g8;this.g8=t,e!=this.g8&&this.fz("ActualGroupHeaderTextColor",e,this.g8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i2",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,e!=this.hs&&this.fz("GroupHeaderSubtitleTextColor",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"id",{get:function(){return this.g7},set:function(t){var e=this.g7;this.g7=t,e!=this.g7&&this.fz("ActualGroupHeaderSubtitleTextColor",e,this.g7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"je",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.fz("ToolTipTextColor",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ir",{get:function(){return this.hj},set:function(t){var e=this.hj;this.hj=t,e!=this.hj&&this.fz("ActualToolTipTextColor",e,this.hj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jd",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.fz("ToolTipBackgroundColor",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iq",{get:function(){return this.hi},set:function(t){var e=this.hi;this.hi=t,e!=this.hi&&this.fz("ActualToolTipBackgroundColor",e,this.hi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ci",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.fz("ToolTipCornerRadius",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b4",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.fz("ActualToolTipCornerRadius",e,this.be)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cj",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.fz("ToolTipElevation",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b5",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.fz("ActualToolTipElevation",e,this.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i6",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.fz("IconFill",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ii",{get:function(){return this.hb},set:function(t){var e=this.hb;this.hb=t,e!=this.hb&&this.fz("ActualIconFill",e,this.hb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i7",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.fz("IconStroke",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ij",{get:function(){return this.hc},set:function(t){var e=this.hc;this.hc=t,e!=this.hc&&this.fz("ActualIconStroke",e,this.hc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cf",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.fz("SeparatorVerticalPaddingLeft",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b1",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.fz("ActualSeparatorVerticalPaddingLeft",e,this.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cg",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.fz("SeparatorVerticalPaddingRight",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b2",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.fz("ActualSeparatorVerticalPaddingRight",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ch",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.fz("SeparatorVerticalPaddingTop",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b3",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.fz("ActualSeparatorVerticalPaddingTop",e,this.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ce",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.fz("SeparatorVerticalPaddingBottom",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b0",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.fz("ActualSeparatorVerticalPaddingBottom",e,this.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cb",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.fz("SeparatorHorizontalPaddingLeft",e,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bx",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.fz("ActualSeparatorHorizontalPaddingLeft",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cc",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.fz("SeparatorHorizontalPaddingRight",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"by",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.fz("ActualSeparatorHorizontalPaddingRight",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cd",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.fz("SeparatorHorizontalPaddingTop",e,this.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bz",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.fz("ActualSeparatorHorizontalPaddingTop",e,this.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ca",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.fz("SeparatorHorizontalPaddingBottom",e,this.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bw",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.fz("ActualSeparatorHorizontalPaddingBottom",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"u",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.fz("Orientation",i.enumGetBox(Yt,e),i.enumGetBox(Yt,t))},enumerable:!1,configurable:!0}),r.prototype.f2=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.z&&this.f8(t)},Object.defineProperty(r.prototype,"ct",{get:function(){return null!=this.f?this.f.ea:this.cn},set:function(t){this.cn=t,null!=this.f&&(this.f.ea=this.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bv",{get:function(){return null!=this.f?this.f.c2:42},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.fz("HighlightWidth",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.fz("ActualHighlightWidth",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b8",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.fz("HighlightRadius",e,this.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bt",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.fz("ActualHighlightRadius",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i4",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.fz("HighlightColor",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ig",{get:function(){return this.g9},set:function(t){var e=this.g9;this.g9=t,e!=this.g9&&this.fz("ActualHighlightColor",e,this.g9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i8",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.fz("MenuArrowStroke",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ik",{get:function(){return this.hd},set:function(t){var e=this.hd;this.hd=t,e!=this.hd&&this.fz("ActualMenuArrowStroke",e,this.hd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.fz("UncheckedBackgroundColor",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"is",{get:function(){return this.hk},set:function(t){var e=this.hk;this.hk=t,e!=this.hk&&this.fz("ActualUncheckedBackgroundColor",e,this.hk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iv",{get:function(){return this.hn},set:function(t){var e=this.hn;this.hn=t,e!=this.hn&&this.fz("CheckedBackgroundColor",e,this.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"h8",{get:function(){return this.g2},set:function(t){var e=this.g2;this.g2=t,e!=this.g2&&this.fz("ActualCheckedBackgroundColor",e,this.g2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.fz("UncheckedBorderColor",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"it",{get:function(){return this.hl},set:function(t){var e=this.hl;this.hl=t,e!=this.hl&&this.fz("ActualUncheckedBorderColor",e,this.hl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iw",{get:function(){return this.ho},set:function(t){var e=this.ho;this.ho=t,e!=this.ho&&this.fz("CheckedBorderColor",e,this.ho)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"h9",{get:function(){return this.g3},set:function(t){var e=this.g3;this.g3=t,e!=this.g3&&this.fz("ActualCheckedBorderColor",e,this.g3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cq",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.fz("DropdownDelay",e,this.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"co",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.fz("ActualDropdownDelay",e,this.ck)},enumerable:!1,configurable:!0}),r.prototype.fy=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.gb=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new ii).a=t,e))},r.prototype.gc=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new ii).a=t,e))},r.prototype.fm=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].e4()},Object.defineProperty(r.prototype,"ax",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].a7)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ad",{get:function(){return this.aa},set:function(t){this.aa=t},enumerable:!1,configurable:!0}),r.prototype.gy=function(t){this.ad=t,0==this.ac&&(this.ab=t)},r.prototype.cu=function(){var t=new xe;t.a=this.f.ed();for(var e=function(e){var n,r=i.actions._inner[e],o=r.e();if(t.b.add1(r.cm()),null!=o){var s=((n=new Oe).a=o.af(),n);t.c.add(s)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.ee=function(){return this.cu().serialize()},r.prototype.gi=function(t,e){r.gj(this.p,t,e)},r.gj=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.iy=function(t){return r.iz(this.p,t)},r.iz=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.cw(t,e)},r.prototype.gg=function(t,e){r.gh(this.p,t,e)},r.gh=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.a=function(t){return r.b(this.p,t)},r.b=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.cw(t,e)},r.prototype.gq=function(t,e){r.gr(this.p,t,e)},r.gr=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.b6=function(t){return r.b7(this.p,t)},r.b7=function(t,e){return i.stringIsNullOrEmpty(e)?NaN:r.cw(t,e)},r.prototype.gs=function(t,e){r.gt(this.p,t,e)},r.gt=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.cr=function(t){return r.cs(this.p,t)},r.cs=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.cw(t,e))},r.prototype.gu=function(t,e){r.gv(this.p,t,e)},r.gv=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.ef=function(t){return r.eg(this.p,t)},r.eg=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.cw(t,e)},r.prototype.ge=function(t,e){r.gf(this.p,t,e)},r.gf=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.au=function(t){return r.av(this.p,t)},r.av=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.cw(t,e)},r.prototype.gk=function(t,e){r.gl(this.p,t,e)},r.gl=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.jh=function(t){return r.ji(this.p,t)},r.ji=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.cw(t,e)},r.prototype.go=function(t,e){r.gp(this.p,t,e)},r.gp=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gn(t,e,n)},r.prototype.cx=function(t){return r.cy(this.p,t)},r.cy=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.cw(t,e)},r.prototype.gm=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.gn=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.cv=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.cw=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.fq=function(){this.v.y()},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.c9="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),ii=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"DrillDownRequestedEventArgs"),n}(i.Base),ni=function(t){function n(e,n){var r=t.call(this)||this;return r.ad=null,r.i=null,r.j=null,r.aa=0,r.p=null,r.a=null,r.d=null,r.g=null,r.a0=null,r.a1=null,r.q=null,r.b=null,r.e=null,r.h=null,r.c=null,r.f=null,r.y=new i.Queue$1(oi.$),r.u=!1,r.s=null,r.r=null,r.w=new i.List$1(ri.$,0),r.n=1,r.z=200,r.t=null,r.ac=0,r.v=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ad=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a2",{get:function(){return this.a0},set:function(t){this.d.d=this.a0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a1},set:function(t){this.g.d=this.a1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.au("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.z},set:function(t){this.z=t},enumerable:!1,configurable:!0}),n.prototype.ak=function(t){var e=this;i.NativeUIComponent.aw(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bn(e.r),e.r.bd=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a4=function(){return null!=this.j?this.j.f():this.s.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.k=function(){return this.j},n.prototype.ag=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.x.count;r++)if(this.x._inner[r].b==t)return void(null!=e&&e(this.x._inner[r].a));i.NativeUIComponent.au(this.ad,13,(function(r){var o=r;o.c=n.o,o.ch=t.q.jc,o.bu=t.q.p,o.b7=t.q.ix,o.b4=t.q.ja,o.cf=t.q.ja,o.b8=t.q.i0,o.ca=t.q.i3,o.ce=t.q.i9,o.bw=t.q.ai,o.ci=t.q.jf,o.cj=t.q.jg,o.b5=t.q.iv,o.b6=t.q.iw,o.cd=t.q.i8,o.cb=t.q.i6,o.cc=t.q.i7,o.cg=t.q.jb,o.b9=t.q.i2,o.bx=t.q.am,-1!=t.ck&&(o.bz=t.ck),o.bt=t.actions,o.bm=i.runOn(n,n.as),o.bn=i.runOn(n,n.at),o.bs=i.runOn(n,n.aq),n.r.bn(o),n.aa=0;for(var s=0;s<n.x.count;s++){var a=n.x._inner[s].f();n.aa+=a.width,n.x._inner[s].a.ae=a.width}n.r.bu(o,n.aa),n.r.bv(o,0),n.x.add(new ri(t,o,n.aa)),n.ax(),null!=e&&e(o)}))},n.prototype.al=function(t){for(var e=0;e<this.x.count;e++)this.x._inner[e].a==t&&this.an(e)},n.prototype.an=function(t){this.am(this.x._inner[t])},n.prototype.am=function(t,e){void 0===e&&(e=null),this.ah(t,-Math.floor(t.c),e),this.j=t},n.prototype.as=function(t,e){var i=this;if(this.ac++,this.x.count>1&&this.ac<this.x.count){for(var n=this.x.count-1;n>this.ac;n--)this.x._inner[n].a.bm=null,this.x._inner[n].a.bn=null,this.r.bp(this.x._inner[n].a),this.aa-=this.x._inner[n].a.ae,this.x.removeAt(n);if(this.x._inner[this.ac].b==e.a)return void this.al(this.x._inner[this.ac].a);this.x._inner[this.ac].a.bm=null,this.x._inner[this.ac].a.bn=null,this.r.bp(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.ae,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.ef&&(t.ap=e.a.ef+"SubMenu"),i.i.executeDelayed((function(){return i.al(t)}),0)}))},n.prototype.at=function(t,e){this.ac=Math.max(0,this.ac-1),this.am(this.x._inner[this.ac],(function(){}))},n.prototype.aq=function(t,e){null!=this.t&&this.t(e)},n.prototype.ah=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.aj(),null==this.r.bd){var s=t.f();return this.s.ae=Math.floor(s.width),void(this.s.y=Math.floor(s.height))}if(1==this.p.playState)this.p.playbackRate>0&&this.a2.j==e||this.p.playbackRate<0&&this.a3.j==e?(this.p.reverse(),this.q.reverse()):this.y.g(((r=new oi).a=t,r.c=e,r.b=n,r));else{this.a2=function(){var t=new i.TranslateTransform;return t.j=o.a3.j,t}(),this.a3=function(){var t=new i.TranslateTransform;return t.j=e,t}();var a=t.f();this.e.d=this.s.ae,this.c.d=this.s.y,this.h.d=Math.floor(a.width),this.f.d=Math.floor(a.height),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){return o.ap(n)})),this.q.updatePlaybackRate(1),this.q.play(),this.q.finished.f((function(t){null!=o.q&&o.q.commitStyles()}))}},n.prototype.aj=function(){if(null==this.p){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.ab,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.r.an,0,null,t),this.a0=((e=new i.TranslateTransform).j=0,e),this.a1=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.a0),this.g=new i.AnimationKeyFrameProperty(14,this.a1),this.p=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.s.an,0,null,t),this.e=new i.AnimationKeyFrameProperty(9,0),this.c=new i.AnimationKeyFrameProperty(10,0),this.h=new i.AnimationKeyFrameProperty(9,0),this.f=new i.AnimationKeyFrameProperty(10,0),this.q=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.ap=function(t){var e,n=this;if(null!=this.p&&this.p.commitStyles(),null!=t&&t(),this.p.playbackRate<0){var r=this.a3.j;this.a3=((e=new i.TranslateTransform).j=n.a2.j,e),this.a2=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.y.count>0){var o=this.y.b();this.am(o.a,o.b)}},n.prototype.ax=function(){this.v||(this.v=!0,this.i.enqueueAction(i.runOn(this,this.ai)))},n.prototype.ai=function(){if(this.v){this.v=!1;for(var t=0;t<this.x.count;t++){this.x._inner[t].e();var e=this.x._inner[t].f();this.x._inner[t].a.ae=e.width,this.x._inner[t].a.y=e.height,this.x._inner[t].a.b1(e),this.u||1==this.p.playState||this.ac==t&&(this.s.ae=e.width,this.s.y=e.height)}this.u=!1}},n.prototype.ay=function(){this.ac=0,this.r.bd=new i.MatrixTransform;var t,e=this.x._inner[0].f();this.s.ae=Math.floor(e.width),this.s.y=Math.floor(e.height),this.a0=((t=new i.TranslateTransform).j=0,t),this.a1=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.az=function(t,e){this.n=t;for(var i=0;i<this.x.count;i++){var n=this.x._inner[i].a;n.c=t,n.ch=e.jc,n.b7=e.ix,n.b4=e.ja,n.cf=e.ja,n.b8=e.i0,n.ca=e.i3,n.ce=e.i9}},n.prototype.ao=function(){var t=this.x._inner[0].f();this.x._inner[0].a.ae=t.width,this.x._inner[0].a.y=t.height,this.x._inner[0].d(t)},n.prototype.ar=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.av=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.au=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.aw(t,e,n)},n.prototype.aw=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.x.count;n++)this.x._inner[n].a.c=this.o}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),ri=function(t){function n(e,i,n){var r=t.call(this)||this;return r.c=0,r.a=null,r.b=null,r.b=e,r.a=i,r.c=n,r}return e.__extends(n,t),n.prototype.f=function(){return this.a.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.b2()},n.prototype.d=function(t){this.a.b1(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),oi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PanelAnimationRequest"),n}(i.Base),si=function(t){function n(e){var n=t.call(this)||this;if(ci.$type||(ci.$type=i.markType(ci,"IgcToolActionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){ci.$type||(ci.$type=i.markType(ci,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(ci.$type,Re.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=ci._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),ai=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Xt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeOnExecute",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),hi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ue},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"actionId",{get:function(){return this.i.g},set:function(t){this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionType",{get:function(){return this.i.a},set:function(t){this.i.a=i.ensureEnum(i.ToolActionType_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModified",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"boolValue",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numberValue",{get:function(){return this.i.e},set:function(t){this.i.e=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dateTimeValue",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"untypedValue",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stringValue",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),ui=function(t){function n(e){var n=t.call(this)||this;if(hi.$type||(hi.$type=i.markType(hi,"IgcToolActionEventDetail")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){hi.$type||(hi.$type=i.markType(hi,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(hi.$type,ue.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new hi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),li=function(){function t(){this._detailCollection=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new pe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"isAggregate",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detail",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new hi;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detailCollection",{get:function(){if(null===this._detailCollection){var t=new ui,e=this.i.b;e||(e=new ce),this._detailCollection=t._fromInner(e),this.i.b=e}return this._detailCollection},set:function(t){null!==this._detailCollection&&(this._detailCollection._setSyncTarget(null),this._detailCollection=null);var e=new ui;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ue.$type),r=this.i.b;r||(r=new ce),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),ci=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._contextBindings=null,e._actions=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return null},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._initializeAdapters=function(){var n=this;this.__observingChildren||(this.__observingChildren=!0,new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&(n.updateContentChildren?n.updateContentChildren():n._initializeAdapters&&n.initializeAdapters())}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(this,{childList:!0}));this._actionsAdapter=new i.CollectionAdapter(this.contentActions,this.i.actions,this.actualActions,(function(t){return t.i}),(function(t){n._initializeElement&&n._initializeElement(t)}),(function(t){n._destroyElement&&n._destroyElement(t)})),t.prototype._initializeAdapters&&t.prototype._initializeAdapters.call(this)},n.prototype._updateAdapters=function(){t.prototype._updateAdapters&&t.prototype._updateAdapters.call(this),this.contentActions.length=0;for(var e=0;e<this.children.length;e++)this.children[e]instanceof n&&this.contentActions.push(this.children[e]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComponent=t}return n._observedAttributesIgcToolActionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a7},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contextBindings",{get:function(){if(null===this._contextBindings){var t=new Wt,e=this.i.contextBindings;e||(e=new ae),this._contextBindings=t._fromInner(e),this.i.contextBindings=e}return this._contextBindings},set:function(t){null!==this._contextBindings&&(this._contextBindings._setSyncTarget(null),this._contextBindings=null);var e=new Wt;this._contextBindings=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ft.$type),r=this.i.contextBindings;r||(r=new ae),n._inner=r,n.clear(),this._contextBindings._setSyncTarget(n),this.i.contextBindings=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actionId",{get:function(){return this.i.cu},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){return this._actualActions||(this._actualActions=[]),this._actualActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentActions",{get:function(){return this._contentActions||(this._contentActions=[]),this._contentActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new si,n=e._innerColl;this._actions=e,n.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}}))}return this._actions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("width",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("height",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("subPanelRowHeight",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.em},set:function(t){this.i.em=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.dh},set:function(t){this.i.dh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.de},set:function(t){this.i.de=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.eh},set:function(t){this.i.eh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.dm},set:function(t){this.i.dm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.dj},set:function(t){this.i.dj=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.cl},set:function(t){this.i.cl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("paddingLeft",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("actualPaddingLeft",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("paddingRight",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualPaddingRight",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("paddingBottom",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("actualPaddingBottom",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("paddingTop",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualPaddingTop",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.gt)},set:function(t){this.i.gt=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.gt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.g1)},set:function(t){this.i.g1=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.g1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.gq)},set:function(t){this.i.gq=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.gq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.gy)},set:function(t){this.i.gy=i.stringToBrush(t),this._a("background",i.brushToString(this.i.gy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.gx)},set:function(t){this.i.gx=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.gx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.g5)},set:function(t){this.i.g5=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.g5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.gw)},set:function(t){this.i.gw=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.gw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.g4)},set:function(t){this.i.g4=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.g4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.gr)},set:function(t){this.i.gr=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.gr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.gz)},set:function(t){this.i.gz=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.gz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.ag?null:this.i.ag.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ag=e,this._a("textStyle",null!=this.i.ag?this.i.ag.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextStyle",{get:function(){return this.i.ac},set:function(t){this.i.ac=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("subtitleTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.a5},set:function(t){this.i.a5=i.ensureBool(t),this._a("isDisabled",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.a6},set:function(t){this.i.a6=i.ensureBool(t),this._a("isHighlighted",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.ef},set:function(t){this.i.ef=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.ex},set:function(t){this.i.ex=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.er},set:function(t){this.i.er=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.d3},set:function(t){this.i.d3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.dy},set:function(t){this.i.dy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("iconViewBoxLeft",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("iconViewBoxTop",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("iconViewBoxWidth",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("iconViewBoxHeight",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.g2)},set:function(t){this.i.g2=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.g2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.gu)},set:function(t){this.i.gu=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.gu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFillColors",{get:function(){return i.fromBrushCollection(this.i.a)},set:function(t){this.i.a=i.toBrushCollection(t),this._a("iconFillColors",i.brushCollectionToString(this.i.a))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.g3)},set:function(t){this.i.g3=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.g3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.gv)},set:function(t){this.i.gv=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.gv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.b)},set:function(t){this.i.b=i.toBrushCollection(t),this._a("iconStrokeColors",i.brushCollectionToString(this.i.b))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeWidth",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("iconStrokeWidth",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconWidth",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("actualIconWidth",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("iconHeight",this.i.b7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.bt},set:function(t){this.i.bt=+t,this._a("actualIconHeight",this.i.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.g6},set:function(t){this.i.g6=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.g6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.at},set:function(t){this.i.at=i.ensureBool(t),this._a("closeOnExecute",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t,this._a("highlightWidth",this.i.b6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.bs},set:function(t){this.i.bs=+t,this._a("actualHighlightWidth",this.i.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t,this._a("highlightRadius",this.i.b5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.br},set:function(t){this.i.br=+t,this._a("actualHighlightRadius",this.i.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.g0)},set:function(t){this.i.g0=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.g0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.gs)},set:function(t){this.i.gs=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.gs))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.contextBindings&&this.contextBindings.findByName&&this.contextBindings.findByName(t)?this.contextBindings.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolActionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.cleanUp=function(){this.i.e2()},n.prototype.openSubMenu=function(){this.i.f2()},n.prototype.closeSubmenu=function(){this.i.e4()},n.prototype.exportVisualData=function(){return this.i.cm()},n.prototype.exportSerializedVisualData=function(){return this.i.dt()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ai;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"performed",{get:function(){return this._performed},set:function(t){var e=this;null!==this._performed_wrapped&&(this.i.performed=i.delegateRemove(this.i.performed,this._performed_wrapped),this._performed_wrapped=null,this._performed=null),this._performed=t,this._performed_wrapped=function(t,i){var n=new li;n._provideImplementation(i),e.beforePerformed&&e.beforePerformed(e,n),e._performed&&e._performed(e,n)},this.i.performed=i.delegateCombine(this.i.performed,this._performed_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComponent=null,n}(i.IgcHTMLElement),pi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Me},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionLabelComponent=t}return n._observedAttributesIgcToolActionLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(ci),fi=function(){function t(){}return t.register=function(){pi.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",pi),i.TypeRegistrar.register("ToolActionLabel",Me.$type)},t}(),di=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Xe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxComponent=t}return n._observedAttributesIgcToolActionCheckboxComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.g8},set:function(t){this.i.g8=i.ensureBool(t),this._a("isChecked",this.i.g8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hm)},set:function(t){this.i.hm=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.hm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hk)},set:function(t){this.i.hk=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.hn)},set:function(t){this.i.hn=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.hn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.hl)},set:function(t){this.i.hl=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.hl))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(ci),bi=function(){function t(){}return t.register=function(){di.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",di),i.TypeRegistrar.register("ToolActionCheckbox",Xe.$type)},t}(),gi=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),yi=function(t){function n(e){var n=t.call(this)||this;if(gi.$type||(gi.$type=i.markType(gi,"IgcLayoutPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){gi.$type||(gi.$type=i.markType(gi,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(gi.$type,ye.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new gi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),mi=function(t){function n(){var e=t.call(this)||this;return e._selectedKeys=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new De},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxListComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxListComponent=t}return n._observedAttributesIgcToolActionCheckboxListComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedMemberPath",{get:function(){return this.i.ho},set:function(t){this.i.ho=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.hd},set:function(t){this.i.hd=i.ensureBool(t),this._a("showSelectAll",this.i.hd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.hi},set:function(t){this.i.hi=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.g7},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new yi,e=this.i.g8;e||(e=new me),this._selectedKeys=t._fromInner(e),this.i.g8=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new yi;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ye.$type),r=this.i.g8;r||(r=new me),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.g8=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.g9},set:function(t){this.i.g9=i.ensureEnum(ve,t),this._a("indexType",i.enumToString(ve,this.i.g9))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(e){var i=t.prototype.findByName.call(this,e);return i||(null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(e)?this.selectedKeys.findByName(e):null)},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(ci),_i=function(){function t(){}return t.register=function(){mi.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",mi),i.TypeRegistrar.register("ToolActionCheckboxList",De.$type)},t}(),vi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ge},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionGroupHeaderComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionGroupHeaderComponent=t}return n._observedAttributesIgcToolActionGroupHeaderComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualBackIconColor",{get:function(){return i.brushToString(this.i.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(ci),Ci=function(){function t(){}return t.register=function(){vi.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",vi),i.TypeRegistrar.register("ToolActionGroupHeader",Ge.$type)},t}(),ji=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Qe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionNumberInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionNumberInputComponent=t}return n._observedAttributesIgcToolActionNumberInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.g9},set:function(t){this.i.g9=+t,this._a("value",this.i.g9)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(ci),wi=function(){function t(){}return t.register=function(){ji.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",ji),i.TypeRegistrar.register("ToolActionNumberInput",Qe.$type)},t}(),Pi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ti},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"sourceAction",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=ci._createFromInternal(t);e&&(e._implementation=t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cancel",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),xi=function(t){function n(){var e=t.call(this)||this;return e._popupOpening=null,e._popupOpening_wrapped=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new We},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconButtonComponent=t}return n._observedAttributesIgcToolActionIconButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"tooltipDelay",{get:function(){return this.i.ie},set:function(t){this.i.ie=+t,this._a("tooltipDelay",this.i.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("actualTooltipDelay",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.h7},set:function(t){this.i.h7=+t,this._a("contentPaddingLeft",this.i.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.h3},set:function(t){this.i.h3=+t,this._a("actualContentPaddingLeft",this.i.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.h9},set:function(t){this.i.h9=+t,this._a("contentPaddingTop",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.h5},set:function(t){this.i.h5=+t,this._a("actualContentPaddingTop",this.i.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.h8},set:function(t){this.i.h8=+t,this._a("contentPaddingRight",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.h4},set:function(t){this.i.h4=+t,this._a("actualContentPaddingRight",this.i.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.h6},set:function(t){this.i.h6=+t,this._a("contentPaddingBottom",this.i.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.h2},set:function(t){this.i.h2=+t,this._a("actualContentPaddingBottom",this.i.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a7},enumerable:!1,configurable:!0}),n.prototype.cleanUp=function(){this.i.e2()},n.prototype.openSubMenu=function(){this.i.f2()},n.prototype.closeSubmenu=function(){this.i.e4()},n.prototype.exportVisualData=function(){return this.i.cm()},Object.defineProperty(n.prototype,"popupOpening",{get:function(){return this._popupOpening},set:function(t){var e=this;null!==this._popupOpening_wrapped&&(this.i.popupOpening=i.delegateRemove(this.i.popupOpening,this._popupOpening_wrapped),this._popupOpening_wrapped=null,this._popupOpening=null),this._popupOpening=t,this._popupOpening_wrapped=function(t,i){var n=new Pi;n._provideImplementation(i),e.beforePopupOpening&&e.beforePopupOpening(e,n),e._popupOpening&&e._popupOpening(e,n)},this.i.popupOpening=i.delegateCombine(this.i.popupOpening,this._popupOpening_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionIconButtonComponent=null,n.htmlTagName="igc-tool-action-icon-button",n._isElementRegistered=!1,n}(ci),Oi=function(){function t(){}return t.register=function(){xi.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",xi),i.TypeRegistrar.register("ToolActionIconButton",We.$type)},t}(),Ti=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ke},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconMenuComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconMenuComponent=t}return n._observedAttributesIgcToolActionIconMenuComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"arrowStroke",{get:function(){return i.brushToString(this.i.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.jl},set:function(t){this.i.jl=i.ensureBool(t),this._a("showArrowIcon",this.i.jl)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cm()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(xi),Ii=function(){function t(){}return t.register=function(){Ti.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",Ti),i.TypeRegistrar.register("ToolActionIconMenu",Ke.$type)},t}(),ki=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new He},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSeparatorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSeparatorComponent=t}return n._observedAttributesIgcToolActionSeparatorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"size",{get:function(){return this.i.g9},set:function(t){this.i.g9=+t,this._a("size",this.i.g9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.g7},set:function(t){this.i.g7=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.g7)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(ci),Si=function(){function t(){}return t.register=function(){ki.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",ki),i.TypeRegistrar.register("ToolActionSeparator",He.$type)},t}(),Ai=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ve},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSubPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSubPanelComponent=t}return n._observedAttributesIgcToolActionSubPanelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(ci),Ni=function(){function t(){}return t.register=function(){Ai.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",Ai),i.TypeRegistrar.register("ToolActionSubPanel",Ve.$type)},t}(),Bi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Fe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionRadioComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionRadioComponent=t}return n._observedAttributesIgcToolActionRadioComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"channel",{get:function(){return this.i.hf},set:function(t){this.i.hf=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.g8},set:function(t){this.i.g8=i.ensureBool(t),this._a("isChecked",this.i.g8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.g9},set:function(t){this.i.g9=i.ensureBool(t),this._a("isManual",this.i.g9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hv)},set:function(t){this.i.hv=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.ht)},set:function(t){this.i.ht=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.hu)},set:function(t){this.i.hu=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(ci),Ei=function(){function t(){}return t.register=function(){Bi.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",Bi),i.TypeRegistrar.register("ToolActionRadio",Fe.$type)},t}(),Ri=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Le},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonComponent=t}return n._observedAttributesIgcToolActionButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.g7},set:function(t){this.i.g7=i.ensureEnum(je,t),this._a("displayType",i.enumToString(je,this.i.g7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hb},set:function(t){this.i.hb=+t,this._a("cornerRadius",this.i.hb)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(ci),qi=function(){function t(){}return t.register=function(){Ri.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",Ri),i.TypeRegistrar.register("ToolActionButton",Le.$type)},t}(),$i=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Te},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),zi=function(t){return t[t.Replace=0]="Replace",t}({}),Di=i.markEnum("NestedActionMode","Replace,0"),Vi=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.actualActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._contentRefreshed=null,n._contentRefreshed_wrapped=null,n._onCommand=null,n._onCommand_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolPanelContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.actualActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new si;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof ci&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new ei},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-tool-panel"),this.classList.add("igc-tool-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualActions.length;e++){this.actualActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolPanelComponent=t}return n._observedAttributesIgcToolPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("showOnHover",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.az},set:function(t){this.i.az=i.ensureBool(t),this._a("showTooltipOnHover",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("dropdownClickBuffer",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.ak?null:this.i.ak.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ak=e,this._a("cellTextStyle",null!=this.i.ak?this.i.ak.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.am?null:this.i.am.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.am=e,this._a("subtitleTextStyle",null!=this.i.am?this.i.am.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.ac},set:function(t){this.i.ac=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.ac))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.ab))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.iu)},set:function(t){this.i.iu=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.iu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.im)},set:function(t){this.i.im=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.im))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.ib)},set:function(t){this.i.ib=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.ib))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.il)},set:function(t){this.i.il=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.il))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.ic)},set:function(t){this.i.ic=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.ic))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.i5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.ih)},set:function(t){this.i.ih=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.ih))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.ip)},set:function(t){this.i.ip=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.ip))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.io)},set:function(t){this.i.io=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.io))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.jb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.ix)},set:function(t){this.i.ix=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.ix))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.ie)},set:function(t){this.i.ie=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.ie))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.id)},set:function(t){this.i.id=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.id))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.ir)},set:function(t){this.i.ir=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.ir))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.iq)},set:function(t){this.i.iq=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.iq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("toolTipCornerRadius",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("actualToolTipCornerRadius",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("toolTipElevation",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t,this._a("actualToolTipElevation",this.i.b5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.ii)},set:function(t){this.i.ii=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.ii))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.i7)},set:function(t){this.i.i7=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.i7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.ij)},set:function(t){this.i.ij=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.ij))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("separatorVerticalPaddingLeft",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("separatorVerticalPaddingRight",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("separatorVerticalPaddingTop",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("separatorVerticalPaddingBottom",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("separatorHorizontalPaddingLeft",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("separatorHorizontalPaddingRight",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("separatorHorizontalPaddingTop",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("separatorHorizontalPaddingBottom",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(Yt,t),this._a("orientation",i.enumToString(Yt,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("rowHeight",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.bv},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("highlightWidth",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("actualHighlightWidth",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("highlightRadius",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bt},set:function(t){this.i.bt=+t,this._a("actualHighlightRadius",this.i.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.ig)},set:function(t){this.i.ig=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.ig))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.i8)},set:function(t){this.i.i8=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.i8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.ik)},set:function(t){this.i.ik=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.ik))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.is)},set:function(t){this.i.is=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.is))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.iv)},set:function(t){this.i.iv=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.iv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.jg)},set:function(t){this.i.jg=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.jg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.it)},set:function(t){this.i.it=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.it))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.iw)},set:function(t){this.i.iw=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.iw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("dropdownDelay",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("actualDropdownDelay",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(Di,t),this._a("nestedActionMode",i.enumToString(Di,this.i.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ax},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.refresh=function(){this.i.f9()},n.prototype.getDesiredSize=function(){var t=this.i.jj();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.fr()},n.prototype.closeSubmenus=function(){this.i.fm()},n.prototype.exportVisualData=function(){return this.i.cu()},n.prototype.exportSerializedVisualData=function(){return this.i.ee()},n.prototype.setBrushContextItem=function(t,e){this.i.gi(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.iy(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.gg(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.a(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.gq(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.b6(t)},n.prototype.setIntContextItem=function(t,e){this.i.gs(t,e)},n.prototype.getIntContextItem=function(t){return this.i.cr(t)},n.prototype.setStringContextItem=function(t,e){this.i.gu(t,e)},n.prototype.getStringContextItem=function(t){return this.i.ef(t)},n.prototype.setBoolContextItem=function(t,e){this.i.ge(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.au(t)},n.prototype.setColorContextItem=function(t,e){this.i.gk(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.jh(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.go(t,e)},n.prototype.getDataContextItem=function(t){return this.i.cx(t)},Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new $i;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ai;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolPanelComponent=null,n.htmlTagName="igc-tool-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Ui=function(){function t(){}return t.register=function(){jt.register(),fi.register(),bi.register(),_i.register(),Ci.register(),wi.register(),Oi.register(),Ii.register(),Si.register(),Ni.register(),Ei.register(),qi.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),Vi.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Vi),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Vi),i.TypeRegistrar.register("ToolPanel",ei.$type)},t}(),Li=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ee},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Mi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ne},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Fi=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.combinedActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._autoGeneratedActions=null,n._actualActions=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCommand=null,n._onCommand_wrapped=null,n._subMenuOpening=null,n._subMenuOpening_wrapped=null,n._subMenuClosing=null,n._subMenuClosing_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolbarContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.combinedActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new si;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof ci&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Je},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-toolbar"),this.classList.add("igc-toolbar");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.combinedActions.length;e++){this.combinedActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},Object.defineProperty(n.prototype,"target",{get:function(){var t=this.i.target;return t?(null!=t.externalObject&&(t=t.externalObject),t):t},set:function(t){t&&t._implementation&&(t=t._implementation),this.i.target=t},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolbarComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolbarComponent=t}return n._observedAttributesIgcToolbarComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new si,e=this.i.autoGeneratedActions;e||(e=new Ye),this._autoGeneratedActions=t._fromInner(e),this.i.autoGeneratedActions=e}return this._autoGeneratedActions},set:function(t){null!==this._autoGeneratedActions&&(this._autoGeneratedActions._setSyncTarget(null),this._autoGeneratedActions=null);var e=new si;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Re.$type),r=this.i.autoGeneratedActions;r||(r=new Ye),n._inner=r,n.clear(),this._autoGeneratedActions._setSyncTarget(n),this.i.autoGeneratedActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){if(null===this._actualActions){var t=new si,e=this.i.actualActions;e||(e=new Ye),this._actualActions=t._fromInner(e),this.i.actualActions=e}return this._actualActions},set:function(t){null!==this._actualActions&&(this._actualActions._setSyncTarget(null),this._actualActions=null);var e=new si;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Re.$type),r=this.i.actualActions;r||(r=new Ye),n._inner=r,n.clear(),this._actualActions._setSyncTarget(n),this.i.actualActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureEnum(se,t),this._a("orientation",i.enumToString(se,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.fe)},set:function(t){this.i.fe=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.fe))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.fs)},set:function(t){this.i.fs=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.fs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fj)},set:function(t){this.i.fj=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.fr)},set:function(t){this.i.fr=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.fr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.fn)},set:function(t){this.i.fn=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.fn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.fu)},set:function(t){this.i.fu=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.fu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.fh)},set:function(t){this.i.fh=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.fh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fl)},set:function(t){this.i.fl=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.fw)},set:function(t){this.i.fw=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.fw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.fv)},set:function(t){this.i.fv=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.fv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("toolTipCornerRadius",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("toolTipElevation",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.fo)},set:function(t){this.i.fo=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.fo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.fp)},set:function(t){this.i.fp=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.fp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.ab?null:this.i.ab.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ab=e,this._a("cellTextStyle",null!=this.i.ab?this.i.ab.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.ad?null:this.i.ad.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ad=e,this._a("subtitleTextStyle",null!=this.i.ad?this.i.ad.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("separatorVerticalPaddingLeft",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("separatorVerticalPaddingRight",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("separatorVerticalPaddingTop",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("separatorVerticalPaddingBottom",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.ba},set:function(t){this.i.ba=+t,this._a("separatorHorizontalPaddingLeft",this.i.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("separatorHorizontalPaddingRight",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("separatorHorizontalPaddingTop",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.a9},set:function(t){this.i.a9=+t,this._a("separatorHorizontalPaddingBottom",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.ap},set:function(t){this.i.ap=i.ensureBool(t),this._a("showOnHover",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.aq},set:function(t){this.i.aq=i.ensureBool(t),this._a("showTooltipOnHover",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("dropdownClickBuffer",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.a8},set:function(t){this.i.a8=+t,this._a("highlightWidth",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("highlightRadius",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.fm)},set:function(t){this.i.fm=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.fm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.fq)},set:function(t){this.i.fq=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.fq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.fx)},set:function(t){this.i.fx=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.fx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.ff)},set:function(t){this.i.ff=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.ff))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.fy)},set:function(t){this.i.fy=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.fy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.fg)},set:function(t){this.i.fg=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.fg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("rowHeight",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.ft)},set:function(t){this.i.ft=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.ft))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.fk)},set:function(t){this.i.fk=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.fk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("dropdownDelay",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ao},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.autoGeneratedActions&&this.autoGeneratedActions.findByName&&this.autoGeneratedActions.findByName(t)?this.autoGeneratedActions.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null!=this.actualActions&&this.actualActions.findByName&&this.actualActions.findByName(t)?this.actualActions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolbarComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.flushRefresh=function(){this.i.dr()},n.prototype.getDesiredSize=function(){var t=this.i.f0();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.dn()},n.prototype.onCommandStateChanged=function(t,e,i){this.i.onCommandStateChanged(t,null==e?null:e,i)},n.prototype.registerIconFromText=function(t,e,i){this.i.d8(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.ci(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.ea(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.d7(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.ch(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.d9(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.b0(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.ed(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.fi(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.ec(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.b(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.eh(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.a5(t)},n.prototype.setIntContextItem=function(t,e){this.i.eo(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.a6(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.em(t,e)},n.prototype.getIntContextItem=function(t){return this.i.bp(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.en(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bo(t)},n.prototype.setStringContextItem=function(t,e){this.i.ep(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cj(t)},n.prototype.setBoolContextItem=function(t,e){this.i.eb(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.an(t)},n.prototype.setColorContextItem=function(t,e){this.i.ee(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.fz(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.eg(t,e)},n.prototype.getDataContextItem=function(t){return this.i.bv(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.el(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.bz(t)},n.prototype.exportVisualData=function(){return this.i.bt()},n.prototype.exportSerializedVisualData=function(){return this.i.cg()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ai;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuOpening",{get:function(){return this._subMenuOpening},set:function(t){var e=this;null!==this._subMenuOpening_wrapped&&(this.i.subMenuOpening=i.delegateRemove(this.i.subMenuOpening,this._subMenuOpening_wrapped),this._subMenuOpening_wrapped=null,this._subMenuOpening=null),this._subMenuOpening=t,this._subMenuOpening_wrapped=function(t,i){var n=new Li;n._provideImplementation(i),e.beforeSubMenuOpening&&e.beforeSubMenuOpening(e,n),e._subMenuOpening&&e._subMenuOpening(e,n)},this.i.subMenuOpening=i.delegateCombine(this.i.subMenuOpening,this._subMenuOpening_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuClosing",{get:function(){return this._subMenuClosing},set:function(t){var e=this;null!==this._subMenuClosing_wrapped&&(this.i.subMenuClosing=i.delegateRemove(this.i.subMenuClosing,this._subMenuClosing_wrapped),this._subMenuClosing_wrapped=null,this._subMenuClosing=null),this._subMenuClosing=t,this._subMenuClosing_wrapped=function(t,i){var n=new Mi;n._provideImplementation(i),e.beforeSubMenuClosing&&e.beforeSubMenuClosing(e,n),e._subMenuClosing&&e._subMenuClosing(e,n)},this.i.subMenuClosing=i.delegateCombine(this.i.subMenuClosing,this._subMenuClosing_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolbarComponent=null,n.htmlTagName="igc-toolbar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Hi=function(){function t(){}return t.register=function(){Ui.register(),Fi.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Fi),i.TypeRegistrar.registerCons("IgcToolbarComponent",Fi),i.TypeRegistrar.register("Toolbar",Je.$type)},t}(),Wi=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),Gi=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),Ki=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),n}(i.Base),Xi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDataBindingEventArgs"),n}(i.Base),Qi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.f=0,e.g=0,e.a=0,e.h=0,e.j=null,e.cellUpdating=null,e.dataBinding=null,e}return e.__extends(n,t),n.prototype.i=function(t,e,i){if(null!=this.dataBinding){var n=new Xi;return n.b=t,n.a=e,n.c=i,this.dataBinding(this,n),n.b}return t},n.prototype.e=function(t,e,i){if(null!=this.cellUpdating){var n=new Ki;return n.a=t,n.b=e,n.c=i,this.cellUpdating(this,n),n.a}return t},n.$t=i.markType(n,"PropertyEditorPanelColumnDefinition"),n}(i.Base),Yi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._label=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"label",{get:function(){return this._label},set:function(t){this._label=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPanelComboBoxBridgeItem"),n}(i.Base),Ji=function(t){function n(e,n,r){var o=t.call(this)||this;o.b=new i.DescriptionTreeNode,o.e=new i.List$1(i.DataSeriesToDescriptionCustomization.$,0),o.c=null,o.d=!1,o.c=e,o.b=new i.DescriptionTreeNode,o.b.i=n,o.d=r;new i.JsonDictionaryObject;return o}return e.__extends(n,t),n.prototype.a=function(){return this.e.toArray()},n.prototype.k=function(t,e,i){null!=t&&this.f(t,-1,e,this.b,i,null)},n.prototype.f=function(t,n,r,o,s,a){if(null==t)return null;var h=i.stringSplit(t,[".","["],0),u=h[0],l=h.length>1,c=!1,p=new i.List$1(i.Number_$type,0),f=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){c=!0;for(var d=(u=i.stringReplace(u,"]","")).split(","),b=0;b<d.length;b++){var g=d[b];if(i.stringContains(g,"as")){var y=g.indexOf("as"),m=g.substr(0,y).trim(),_=g.substr(y+2).trim();"*"==m.trim()?(p.add(-1),f.add(_)):(p.add(parseInt(m)),f.add(_)),s=_,u=m}}}var v=null;if(v=c?a:this.c.getMetadata(s,u),l)if(c)for(var C=o.b,j=0;j<p.count;j++){u=p._inner[j].toString();var w=f._inner[j],P=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),x=!1;-1==P&&(x=!0,P=0);for(var O=new i.List$1(i.Base.$,0),T=0;T<=P;T++)if(null!=C&&T<C.length){var I=C[T];null!==i.typeCast(i.DescriptionTreeNode.$,I)&&T==P&&(I.i=w),O.add1(I)}else{var k=this.g(a,!0,w);null!=k&&O.add1(k)}var S=(C=O.toArray())[P],A=new i.List$1(i.String_$type,1,h);A.removeAt(0);var N=v.collectionElementType;null!=w&&(N=w);var B=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(A.toArray()),!1)),x?-1:P,r,S,N,v);null!=B&&(C[P]=B),o.b=C}else{var E=o;E.c(u)||E.o(u,this.g(v,!1,null),v);var R=E.a(u),q=new i.List$1(i.String_$type,1,h);q.removeAt(0);var $=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(q.toArray()),!1)),-1,r,R,v.specificExternalType,v);null!=$&&E.o(u,$,v)}else{null!==i.typeCast(i.DescriptionPropertyValue.$,o)&&(o=o.b);var z=o,D=this.h(r,v);if(this.d){var V=new i.DataSeriesToDescriptionCustomization;V.matchType=s,V.propertyName=u,-1!=n&&(V.matchParentIndex=n),V.propertyValue=D,this.e.add(V)}z.o(u,D,v)}return null},n.prototype.i=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.h=function(t,e){if(null==e)return null;if(null==t)return 1==e.knownType&&"double"==e.specificExternalType?NaN:null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 23:case 9:return t;case 5:return t.toString();case 16:case 20:case 22:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},n.prototype.g=function(t,e,n){if(e||10!=t.knownType&&9!=t.knownType){var r=new i.DescriptionTreeNode;return r.i=null!=n?n:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},n.prototype.j=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.t(this.c,this.b,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),Zi=function(t){function n(){var e,n=t.call(this)||this;return n.n=null,n.m=null,n.a=null,n.i=null,n.l=null,n.e=null,n.k=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.aa=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.j=null,n}return e.__extends(n,t),n.prototype.p=function(){return this.i},n.prototype.v=function(){},n.prototype.t=function(t){var e=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),i.NativeUIComponent.au(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.an.setStyleProperty("width","100%"),i.an.setStyleProperty("height","100%"),e.i.append(i.an)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},n.prototype.y=function(){},n.prototype.x=function(){this.i},n.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new i.Size(1,t,e),null!=this.a.l&&(this.a.cj(),this.a.l.b3(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cr),i.NativeUI.m(e,this.a.co))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.y(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},n.$t=i.markType(n,"PropertyEditorPanelView"),n}(i.Base),tn=function(t){function n(){var e=t.call(this)||this;e.p=null,e.l=null,e.v=null,e.ac=!1,e.ad=!1,e.z=null,e.propertyChanged=null,e.aj=!1,e.q=null,e.r=new Et,e.aw=-1,e.n=0,e.au=i.DeviceUtils.g(38),e.w=null,e.a1=null,e.d=null,e.ar=null,e.k=null,e.ai=!1,e.aq=new i.Dictionary$2(i.String_$type,St.$,0),e.at=null,e.a5=null,e.ah=!0,e.ab=!1,e.g=null,e.h=null,e.e=null,e.a0=null,e.a6=null,e.ae=!1,e.ag=!1,e.af=!1,e.cm=n.cp,e.cn=n.cq,e.ay=0,e.ax=-1,e.m=null,i.NativeUIInputsFactory.n(),Ie.g(),e.at=new i.ObservableCollection$1(Qi.$,0);var r=new Zi;r.a=e,e.p=r,e.p.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.ca)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"aa",{get:function(){return null==this.z&&(this.z=new i.SRProvider(this.p.i),this.z.cb("Layouts")),this.z},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.bx))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.bx))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.an(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),null!=this.d&&this.d.notifyClearItems(),this.b5()},n.prototype.b5=function(){this.aj||null!=this.l&&this.cj()},n.prototype.bx=function(t,e){this.aj||(this.an(),null!=this.l&&this.cj())},n.prototype.notifySizeChanged=function(){this.p.s()},n.prototype.bw=function(t,e){if(this.l=t,null!=this.l){if(this.l.bs=i.runOn(this,this.b9),this.cl(),null!=this.actualProperties){this.a1=this.actualProperties;var n=this.actualProperties;n=this.actualProperties.toArray();var r=new i.LocalDataSource;r.dataSource=n,this.d=r,this.br()}null!=this.actualProperties&&this.cj()}},n.prototype.b9=function(t,e){if(this.aj=!0,this.aq.containsKey(e.a.commandId)){var i=this.aq.item(e.a.commandId);this.b3(i,e)}this.aj=!1},n.prototype.b3=function(t,e){switch(t.w){case 0:break;case 19:case 1:this.ch(t,e),this.b7(t);break;case 11:case 12:case 13:case 14:case 2:case 3:case 4:case 5:case 6:case 23:this.ci(t,e),this.b7(t);break;case 7:this.ce(t,e),this.b7(t);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:break;case 15:this.cg(t,e),this.b7(t);break;case 20:this.cf(t,e);break;default:return}},n.prototype.cf=function(t,e){t.a6()},n.prototype.cg=function(t,e){var i=e.a.argumentsList[0].value;if(null!=i&&i.length>0){var n=i[0];t.ar=n,t.aa=!0,t.a5()}else t.ar=null,t.aa=!0,t.a5()},n.prototype.ce=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ci=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ch=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.cl=function(){null!=this.l&&(this.ak&&this.am?this.l.bu=2:this.ak?this.l.bu=1:this.l.bu=0)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.p.t(t)},n.prototype.b4=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.b6("ActualProperties",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.b6("Properties",e,this.r)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.b6("RowHeight",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b6("UpdateMode",i.enumGetBox(Gi,e),i.enumGetBox(Gi,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.au},set:function(t){this.au=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.b6("CellTextStyle",e,this.w)},enumerable:!1,configurable:!0}),n.prototype.y=function(){return null==this.x?this.p.d():this.x},n.prototype.b6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cb(t,e,n)},n.prototype.cb=function(t,e,n){switch(t){case"DescriptionType":null==this.be&&null==this.properties&&(this.actualProperties=null),null!=this.be&&(null==this.m&&(this.m=new kt),this.m.n=this.be),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"ComponentRenderer":null!=e&&this.ab&&(this.ab=!1,e.removeTargetPropertyUpdatingListener(i.runOn(this,this.ap))),e!=n&&(this.ah=!0),null==this.f?this.i=this.j:this.i=this.f.context;break;case"Target":null!=i.ComponentRenderer.defaultInstance&&null==this.f&&(this.f=i.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.f&&(this.i=n);break;case"ActualContext":null==this.i&&null==this.properties&&(this.actualProperties=null),null!=this.i&&(null==this.m&&(this.m=new kt),this.m.b=this.i),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.cl(),this.cj();break;case"IsHorizontal":this.cl();break;case"ActualProperties":if(null!=this.l){var r=this.a1!=this.actualProperties;this.a1=this.actualProperties;var o=this.actualProperties;o=this.actualProperties.toArray();var s=new i.LocalDataSource;if(s.dataSource=o,this.d=s,this.br(),null!=this.d){var a=this.d;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.b8))}r&&this.cj()}break;case"RowHeight":null!=this.l&&(this.av=this.az);break;case"CellTextStyle":this.cd();break;case"BackgroundColor":case"TextColor":this.cd()}},n.prototype.an=function(){var t,n,r=this.aj;this.aj=!0;var o=!1;try{for(var s=e.__values(i.fromEnum(this.properties)),a=s.next();!a.done;a=s.next()){var h=a.value,u=h.a3;if(null!=this.m){var l=this.m.e(u,!1);null!=l&&h.z(l)&&(o=!0)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return o?this.cj():null!=this.l&&this.cd(),this.aj=r,o},n.prototype.cd=function(){this.ai||null==this.k||(this.ai=!0,this.k.enqueueAction(i.runOn(this,this.bt)))},n.prototype.bt=function(){if(this.aq.clear(),this.ai=!1,null==this.ar&&(this.ar=new i.List$1(i.List$1.$.specialize(i.NativeUIComponent.$),0)),null!=this.d){for(var t=this.d.actualCount,e=new Ye,n=0;n<t;n++){var r=this.d.getItemAtIndex(n),o=this.u(r);null!=o&&e.add(o)}this.ck(e)}},n.prototype.ck=function(t){this.l.bt=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(Yi.$,0),n=function(i){var n;e.add(((n=new Yi).label=t[i],n))},r=0;r<t.length;r++)n(r);return e},n.prototype.c=function(t){return t.c},n.prototype.bm=function(t){return null!=t.az?t.az:null!=t.a3?t.a3:t.az},n.prototype.u=function(t){var e=t,n=null;switch(e.w){case 0:break;case 19:case 1:var r=new Qe;r.g9=null!=e.ar?e.ar:NaN,r.ex=this.bm(e),n=r,null!=e.a4&&(n.er=e.a4);break;case 4:case 5:var o=new qe;o.hd=i.CSSColorUtil.g(e.ar),o.ex=this.bm(e),n=o,null!=e.a4&&(n.er=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new Ue;s.g9=e.ar,s.ex=this.bm(e),n=s,null!=e.a4&&(n.er=e.a4);break;case 7:var a=new Xe;a.g8=null!=e.ar&&e.ar,a.ex=this.bm(e),n=a,null!=e.a4&&(n.er=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new $e;h.itemsSource=this.a4(this.c(e)),h.ex=this.bm(e),n=h,null!=e.a4&&(n.er=e.a4),null!=e.ar&&(h.g7=new de,h.g7.add1(e.ar));break;case 20:var u=new Le;u.ex=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.ex=e.ar),n=u,null!=e.a4&&(n.er=e.a4);break;case 24:var l=new He;l.g9=5,n=l;break;case 25:(n=new Ge).ex=this.bm(e),null!=e.a4&&(n.er=e.a4);break;default:return null}var c=this.bl(e.a3);if(null==c&&(c=e.a0),null==c){var p=this.aj;this.aj=!0,e.a0=i.Guid.newGuid().toString(),c=e.a0,this.aj=p}return null==n?null:(n.ef=this.be+"_"+c,this.aq.item(n.ef,e),n)},n.prototype.bl=function(t){return null==t?null:i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(t,".","__dot__"),"[","__ob__"),"]","__cb__")," ","__sp__"),"*","__star__")},n.prototype.b8=function(t,e){this.ad=!0,this.br(),this.ad=!1},n.prototype.cj=function(){null!=this.l&&(this.cd(),this.p.r())},n.prototype.cs=function(){return null!=this.l?this.l.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)):new i.Size(1,0,0)},n.prototype.a2=function(t){return t.i},n.prototype.b7=function(t){var e=this;if(null!=this.a3&&null!=this.f)if(2==this.o){var n=this.a(),r=this.a2(this.a3);null!==i.typeCast(i.IAcceptsDataSeriesToDescriptionCustomizations_$type,r)&&r.onCustomizationsChanged(n)}else{this.ah&&(this.ab=!0,this.ah=!1,this.f.addTargetPropertyUpdatingListener(i.runOn(this,this.ap)));var o=null==this.a5;this.a5=this.bg(),o?this.p.q(this.a3,(function(t){return e.f.loadJsonOverlay(e.a5,(function(e){return t}),(function(t){return e.a3}))})):this.p.q(this.a3,(function(t){return e.f.loadJsonDelta(e.a5,(function(e){return t}),!1)}))}},n.prototype.a=function(){var t=this.actualProperties,e=new Ji(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new Ji(t,e,!0);return n.bv(i,"",r,e),r.a()},n.prototype.ap=function(t,e,i){for(var n=this.actualProperties,r=0;r<n.count;r++){var o=n._inner[r].a3;this.ao(o,t)&&n._inner[r].a9(t,e,i)}return!!this.al},n.prototype.ao=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var n=i.stringSplit(t,[".","["],0),r=i.stringSplit(e,[".","["],0);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var s=n[o],a=r[o];if(i.stringContains(s,"]")){if(!i.stringContains(a,"]"))return!1;if(a=i.stringReplace(a,"]",""),!this.as(s).contains(a))return!1}else if(!i.Base.equalsStatic(s,a))return!1}return!0},n.prototype.as=function(t){var e=new i.List$1(i.String_$type,0);if(i.stringContains(t,"]")){for(var n=(t=i.stringReplace(t,"]","")).split(","),r=0;r<n.length;r++){var o=n[r];if(i.stringContains(o,"as")){var s=o.indexOf("as"),a=o.substr(0,s).trim();e.add(a)}}return e}return e.add(t),e},n.prototype.bg=function(){if(null==this.actualProperties)return null;var t=this.actualProperties,e=new Ji(this.i,this.be,!1);return this.bu(t,"",e,this.be),e.j()},n.prototype.bu=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r],s=o.ac,a=o.w,h=o.m,u=o.i,l=o.ar;if(s&&(a=o.v,h=o.l,u=o.h,l=o.ap),20!=a&&25!=a&&24!=a)if(null!=h&&h.count>0)for(var c=0;c<h.count;c++){var p=h._inner[c],f=e+o.a3+"["+c+"]";this.bu(p.a,f,i,p.b)}else if(null!=u){var d=e+o.a3;this.bu(u.a,d,i,u.b)}else{if(15==a&&null==l)continue;i.k(e+o.a3,l,n)}}},n.bv=function(t,e,r,o){for(var s=0;s<t.length;s++){var a=t[s],h=a.useCoercedValue,u=a.valueType,l=a.complexValues,c=a.complexValue,p=a.primitiveValue;h&&(u=a.coercedValueType,l=a.coercedComplexValues,c=a.coercedComplexValue,p=a.coercedPrimitiveValue);var f=0;if(20!=(f=i.EnumUtil.tryParse$1(xt,u,!0,f).p2)&&25!=f&&24!=f)if(null!=l&&l.length>0)for(var d=0;d<l.length;d++){var b=l[d],g=e+a.propertyPath+"["+d+"]";n.bv(b.properties,g,r,b.descriptionType)}else if(null!=c){var y=e+a.propertyPath;n.bv(c.properties,y,r,c.descriptionType)}else r.k(e+a.propertyPath,p,o)}},n.prototype.b1=function(t,e,i){null!=this.l&&this.cd()},n.prototype.by=function(){null!=this.l&&this.cd()},n.prototype.bz=function(t,e){null!=this.l&&this.cd()},n.prototype.b0=function(t,e){null!=this.l&&this.cd()},Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.b6("ActualContext",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.b6("DescriptionContext",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,this.b6("ComponentRenderer",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,this.b6("Target",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,this.b6("DescriptionType",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.b6("IsHorizontal",e,this.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.b6("IsWrappingEnabled",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.b6("IsIndirectModeEnabled",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.b6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.b6("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.br=function(){var t=this.d;if(null!=t){if(null==t.actualSchema)return void(this.ax=-1);var e=t.actualCount;this.ax=e}else this.ax=-1},n.$t=i.markType(n,"PropertyEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.cp=i.BrushUtil.h(255,248,248,248),n.cq=i.BrushUtil.h(255,24,29,31),n}(i.Base),en=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentProperties=[],n.actualProperties=[],n._properties=null,n._propertiesAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._actualDataSource=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("propertyEditorContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._propertiesAdapter=new i.CollectionAdapter(n.contentProperties,n.i.properties,n.actualProperties,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new Rt;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex),t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof Lt&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new tn},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPanelComponent=t}return n._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new Rt,e=this.i.actualProperties;e||(e=new Et),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new Rt;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(St.$type),r=this.i.actualProperties;r||(r=new Et),n._inner=r,n.clear(),this._actualDataSource._setSyncTarget(n),this.i.actualProperties=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("rowHeight",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateMode",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(Gi,t),this._a("updateMode",i.enumToString(Gi,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("actualRowHeight",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.x?null:this.i.x.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.x=e,this._a("cellTextStyle",null!=this.i.x?this.i.x.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionContext",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderer",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"target",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionType",{get:function(){return this.i.be},set:function(t){this.i.be=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHorizontal",{get:function(){return this.i.ak},set:function(t){this.i.ak=i.ensureBool(t),this._a("isHorizontal",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isWrappingEnabled",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureBool(t),this._a("isWrappingEnabled",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndirectModeEnabled",{get:function(){return this.i.al},set:function(t){this.i.al=i.ensureBool(t),this._a("isIndirectModeEnabled",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.co)},set:function(t){this.i.co=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.co))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.cr)},set:function(t){this.i.cr=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.cr))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actualDataSource&&this.actualDataSource.findByName&&this.actualDataSource.findByName(t)?this.actualDataSource.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.notifySetItem=function(t,e,i){this.i.b1(t,e,i)},n.prototype.notifyClearItems=function(){this.i.by()},n.prototype.notifyInsertItem=function(t,e){this.i.bz(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.b0(t,e)},n._observedAttributesIgcPropertyEditorPanelComponent=null,n.htmlTagName="igc-property-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),nn=function(){function t(){}return t.register=function(){Mt.register(),Hi.register(),en.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",en),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",en),i.TypeRegistrar.register("PropertyEditorPanel",tn.$type)},t}(),rn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),on=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),sn=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),an=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),hn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",gt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",R.$type)},t}(),un=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIContentRefreshedEventArgs"),n}(i.Base),ln=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",gi),i.TypeRegistrar.register("LayoutPrimaryKeyValue",ye.$type)},t}(),cn=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),pn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new qe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionColorEditorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionColorEditorComponent=t}return n._observedAttributesIgcToolActionColorEditorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("value",i.brushToString(this.i.hd))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(ci),fn=function(){function t(){}return t.register=function(){pn.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",pn),i.TypeRegistrar.register("ToolActionColorEditor",qe.$type)},t}(),dn=function(t){function n(){var e=t.call(this)||this;return e._selectedValues=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new $e},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComboComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComboComponent=t}return n._observedAttributesIgcToolActionComboComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayMemberPath",{get:function(){return this.i.hb},set:function(t){this.i.hb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.hf},set:function(t){this.i.hf=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new cn,e=this.i.g7;e||(e=new de),this._selectedValues=t._fromInner(e),this.i.g7=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new cn;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.g7;r||(r=new de),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.g7=r},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(ci),bn=function(){function t(){}return t.register=function(){dn.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",dn),i.TypeRegistrar.register("ToolActionCombo",$e.$type)},t}(),gn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ze},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonPairComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonPairComponent=t}return n._observedAttributesIgcToolActionButtonPairComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"leftIsSelected",{get:function(){return this.i.hu},set:function(t){this.i.hu=i.ensureBool(t),this._a("leftIsSelected",this.i.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.hx},set:function(t){this.i.hx=i.ensureBool(t),this._a("rightIsSelected",this.i.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.ht},set:function(t){this.i.ht=i.ensureBool(t),this._a("leftIsDisabled",this.i.ht)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.hw},set:function(t){this.i.hw=i.ensureBool(t),this._a("rightIsDisabled",this.i.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.iq},set:function(t){this.i.iq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.ij},set:function(t){this.i.ij=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.hs},set:function(t){this.i.hs=i.ensureBool(t),this._a("isToggleDisabled",this.i.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.il},set:function(t){this.i.il=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.h3},set:function(t){this.i.h3=+t,this._a("leftIconViewBoxLeft",this.i.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.h4},set:function(t){this.i.h4=+t,this._a("leftIconViewBoxTop",this.i.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.h5},set:function(t){this.i.h5=+t,this._a("leftIconViewBoxWidth",this.i.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.h2},set:function(t){this.i.h2=+t,this._a("leftIconViewBoxHeight",this.i.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.jt)},set:function(t){this.i.jt=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.jt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.jp)},set:function(t){this.i.jp=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.jp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.g9)},set:function(t){this.i.g9=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.g9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.ju)},set:function(t){this.i.ju=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.ju))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.jq)},set:function(t){this.i.jq=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.jq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.ha)},set:function(t){this.i.ha=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.ha))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.h1},set:function(t){this.i.h1=+t,this._a("leftIconStrokeWidth",this.i.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.i1},set:function(t){this.i.i1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.i9},set:function(t){this.i.i9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.i3},set:function(t){this.i.i3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.i5},set:function(t){this.i.i5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.h8},set:function(t){this.i.h8=+t,this._a("rightIconViewBoxLeft",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.h9},set:function(t){this.i.h9=+t,this._a("rightIconViewBoxTop",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.ia},set:function(t){this.i.ia=+t,this._a("rightIconViewBoxWidth",this.i.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.h7},set:function(t){this.i.h7=+t,this._a("rightIconViewBoxHeight",this.i.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.jr)},set:function(t){this.i.jr=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.jr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hb)},set:function(t){this.i.hb=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.hb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.js)},set:function(t){this.i.js=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.js))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hc)},set:function(t){this.i.hc=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.h6},set:function(t){this.i.h6=+t,this._a("rightIconStrokeWidth",this.i.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.jk},set:function(t){this.i.jk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hd},set:function(t){this.i.hd=i.ensureEnum(ge,t),this._a("displayType",i.enumToString(ge,this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hy},set:function(t){this.i.hy=+t,this._a("cornerRadius",this.i.hy)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(ci),yn=function(){function t(){}return t.register=function(){gn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",gn),i.TypeRegistrar.register("ToolActionButtonPair",ze.$type)},t}(),mn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ue},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionTextInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionTextInputComponent=t}return n._observedAttributesIgcToolActionTextInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.g9},set:function(t){this.i.g9=t},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(ci),_n=function(){function t(){}return t.register=function(){mn.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",mn),i.TypeRegistrar.register("ToolActionTextInput",Ue.$type)},t}(),vn=new i.Type(null,"IExternalToolbar"),Cn=new i.Type(null,"IToolbarView"),jn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.c=function(){n.a||(n.a=!0,n.b("Search","m22.241 24-7.414-7.414c-1.559 1.169-3.523 1.875-5.652 1.885h-.002c-.032 0-.07.001-.108.001-5.006 0-9.065-4.058-9.065-9.065 0-.038 0-.076.001-.114v.006c0-5.135 4.163-9.298 9.298-9.298s9.298 4.163 9.298 9.298c-.031 2.129-.733 4.088-1.904 5.682l.019-.027 7.414 7.414zm-12.942-21.487c-3.72.016-6.73 3.035-6.73 6.758 0 3.732 3.025 6.758 6.758 6.758s6.758-3.025 6.758-6.758c0-1.866-.756-3.555-1.979-4.778-1.227-1.223-2.92-1.979-4.79-1.979-.006 0-.012 0-.017 0h.001z"),n.b("ZoomIn","M 19.4758 12.1587 H 14.6339 V 7.3169 c 0 -0.6834 -0.5539 -1.2375 -1.2375 -1.2375 s -1.2375 0.5541 -1.2375 1.2375 v 4.8419 H 7.3171 c -0.6836 0 -1.2375 0.5541 -1.2375 1.2375 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 H 12.1589 v 4.8421 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 s 1.2375 -0.5541 1.2375 -1.2375 V 14.6337 h 4.8419 c 0.6836 0 1.2375 -0.5541 1.2375 -1.2375 C 20.7133 12.7128 20.1594 12.1587 19.4758 12.1587 z"),n.b("ZoomOut","M 26.5087 10.4222 H 8.0865 c -1.0355 0 -1.875 0.8395 -1.875 1.875 c 0 1.0355 0.8395 1.875 1.875 1.875 h 18.4222 c 1.0355 0 1.875 -0.8395 1.875 -1.875 C 28.3837 11.2617 27.5443 10.4222 26.5087 10.4222 z"),n.b("Reset","M 13.5 21 A 9 9 90 1 0 4.5 12 v 4.65 L 1.8 13.95 L 0.75 15 l 4.5 4.5 l 4.5 -4.5 l -1.05 -1.05 L 6 16.65 V 12 H 6 A 7.5 7.5 90 1 1 13.5 19.5 Z"),n.b("CursorPointer","M 6.8243 23.7538 l -6.765 -22.44 c -0.26 -0.75 0.365 -1.545 1.3 -1.25 l 22.435 6.77 c 0.865 0.26 0.975 1.575 0.105 1.925 l -10.67 4.48 l -4.475 10.675 C 8.4192 24.7638 7.1193 24.6688 6.8243 23.7538 z M 2.5543 2.5638 l 5.415 17.91 l 3.54 -8.435 c 0.105 -0.26 0.31 -0.47 0.52 -0.52 l 8.43 -3.54 L 2.5543 2.5638 z"),n.b("CursorHand","M 17.0635 6.0452 c -0.0739 0 -0.1351 0.0044 -0.2088 0.0129 c -0.3164 0.0368 -0.6158 0.1516 -0.8408 0.3239 v -0.3899 c 0 -0.9837 -0.7223 -1.8096 -1.6807 -1.9211 c -0.0737 -0.0086 -0.1484 -0.013 -0.2225 -0.013 c -0.3922 -0.0001 -0.7664 0.1184 -1.0826 0.3386 c -0.0692 -0.9163 -0.7661 -1.6623 -1.6753 -1.7681 c -0.0737 -0.0086 -0.1478 -0.0103 -0.2218 -0.0103 h -0.0004 h -0.0003 c -0.5074 0 -0.9852 0.1955 -1.3454 0.5557 c -0.3318 0.3318 -0.5263 0.7622 -0.5547 1.2249 c -0.2483 -0.1739 -0.5402 -0.2902 -0.8582 -0.3272 c -0.0737 -0.0086 -0.1487 -0.0133 -0.2226 -0.0133 c -0.5074 -0.0001 -1.0137 0.1981 -1.3739 0.5582 c -0.3601 0.3601 -0.587 0.8377 -0.587 1.3451 v 6.453 l -0.4143 -0.4183 c -0.3557 -0.3503 -0.8125 -0.5429 -1.3141 -0.5429 c -0.5066 0 -0.9748 0.1966 -1.3318 0.5534 c -0.7214 0.7214 -0.7343 1.885 -0.0458 2.6266 l 4.0409 5.3272 l 0.087 1.1449 c 0.0515 0.6854 0.6307 1.2223 1.318 1.2223 l 7.3853 -0.0059 c 0.6604 -0.0008 1.223 -0.4949 1.3089 -1.1492 l 0.1791 -1.3637 c 0.5668 -0.9173 0.9584 -2.1335 1.2204 -3.6171 c 0.2288 -1.2955 0.3166 -2.8331 0.3166 -4.5701 v -3.6732 C 18.9389 6.8991 18.1132 6.0452 17.0635 6.0452 z M 16.3305 21.0554 c -0.0275 0.2095 -0.2059 0.374 -0.4172 0.3742 l -7.3838 0.0137 c -0.0002 0 -0.0004 0 -0.0006 0 c -0.2203 0 -0.4035 -0.1777 -0.4201 -0.3975 l -0.1058 -1.4123 c -0.0001 -0.0008 -0.0003 -0.0034 -0.0008 -0.004 l -4.2301 -5.5802 c -0.3864 -0.3864 -0.3864 -1.0192 0 -1.4056 c 0.1932 -0.1932 0.4479 -0.2901 0.7025 -0.2901 c 0.2547 0 0.5094 0.0965 0.7026 0.2897 l 1.1905 1.1241 c 0.0928 0.0876 0.1758 0.1268 0.2852 0.1268 c 0.2375 0 0.4358 -0.1853 0.4358 -0.4624 V 5.9616 c 0 -0.5519 0.4802 -1.0036 1.0322 -1.0036 c 0.0391 0 0.0733 0.0023 0.1133 0.0069 c 0.5108 0.0595 0.8796 0.5129 0.8796 1.0271 v 5.1461 c 0 0.2671 0.2173 0.4837 0.4845 0.4837 c 0.2705 0 0.4905 -0.2193 0.4905 -0.4898 V 4.5165 c 0 -0.552 0.4706 -1.0036 1.0225 -1.0036 c 0.039 0 0.0782 0.0023 0.1181 0.007 c 0.5108 0.0594 0.8845 0.5129 0.8845 1.0271 v 6.5847 c 0 0.2707 0.2203 0.4904 0.4911 0.4904 c 0.2669 0 0.4839 -0.2164 0.4839 -0.4832 V 5.9616 c 0 -0.5519 0.4609 -1.0036 1.0129 -1.0036 c 0.039 0 0.0829 0.0023 0.1228 0.0069 c 0.5108 0.0595 0.8893 0.5129 0.8893 1.0271 v 5.1282 c 0 0.2771 0.2254 0.498 0.5024 0.498 h 0.0083 c 0.256 0 0.4643 -0.2039 0.4643 -0.4599 v -3.1792 c 0 -0.5142 0.3739 -0.9676 0.8846 -1.0271 c 0.0399 -0.0047 0.0511 -0.0069 0.0902 -0.0069 c 0.5519 0 0.9752 0.4516 0.9752 1.0036 v 3.6732 c 0 3.1371 -0.3524 6.0358 -1.4787 7.79 c -0.0342 0.0533 -0.0427 0.113 -0.051 0.1758 L 16.3305 21.0554 z"),n.b("OptionDots","M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0-6a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0z"),n.b("OptionCog","M 21.7966 14.096 c -0.0701 -0.3878 -0.5044 -0.7946 -0.8726 -0.9345 l -0.9919 -0.3765 c -0.3682 -0.1399 -0.6371 -0.4639 -0.6191 -0.7256 c 0.0109 -0.1564 0.0173 -0.3142 0.0173 -0.4736 c 0 -0.1065 -0.003 -0.2122 -0.0079 -0.3172 c -0.0086 -0.1751 0.2696 -0.4474 0.6289 -0.609 l 0.8962 -0.4028 c 0.3592 -0.162 0.7954 -0.5869 0.8227 -0.9799 c 0.024 -0.3484 -0.0176 -0.8235 -0.243 -1.4119 c -0.2621 -0.6866 -0.6878 -1.1269 -1.0421 -1.3942 c -0.3146 -0.2374 -0.9086 -0.2231 -1.2679 -0.0611 l -0.78 0.351 c -0.3592 0.1616 -0.8528 0.0446 -1.1344 -0.231 c -0.0664 -0.0653 -0.1335 -0.1286 -0.2025 -0.1909 c -0.2918 -0.2644 -0.4387 -0.75 -0.2985 -1.1186 l 0.3071 -0.8107 c 0.1399 -0.3682 0.138 -0.9728 -0.1207 -1.2694 c -0.2381 -0.273 -0.6161 -0.5921 -1.2056 -0.8554 c -0.6615 -0.2955 -1.2548 -0.3041 -1.6811 -0.2396 c -0.3896 0.0592 -0.7954 0.4991 -0.9353 0.867 l -0.3548 0.9341 c -0.1399 0.3682 -0.2993 0.6656 -0.3559 0.6641 c -0.0345 -0.0015 -0.0686 -0.0019 -0.1028 -0.0019 c -0.2333 0 -0.4642 0.0112 -0.6923 0.0338 c -0.381 0.0375 -0.816 -0.1901 -0.9776 -0.5494 l -0.4215 -0.9375 c -0.1616 -0.3596 -0.5767 -0.8287 -0.9709 -0.8351 c -0.3435 -0.006 -0.8276 0.0784 -1.476 0.3855 c -0.7027 0.3334 -1.1141 0.6532 -1.3541 0.9139 c -0.267 0.2891 -0.2078 0.906 -0.0457 1.2652 l 0.5554 1.236 c 0.1616 0.3592 0.096 0.8498 -0.1215 1.1171 c -0.2171 0.2677 -0.6698 0.3874 -1.038 0.2479 l -1.3493 -0.5119 c -0.3682 -0.1399 -0.9937 -0.1785 -1.2772 0.096 c -0.2468 0.2389 -0.5295 0.6409 -0.771 1.3162 c -0.261 0.7328 -0.3251 1.2495 -0.3112 1.6035 c 0.0158 0.3938 0.4939 0.7879 0.8625 0.9278 l 1.647 0.6251 c 0.3682 0.1399 0.6683 0.4665 0.6896 0.7279 c 0.0206 0.2621 -0.2381 0.6038 -0.5974 0.7657 l -1.6432 0.7388 c -0.3592 0.1616 -0.8291 0.5771 -0.8351 0.9709 c -0.0056 0.3435 0.0788 0.828 0.3855 1.4756 c 0.3337 0.7027 0.6532 1.1141 0.9139 1.3541 c 0.2899 0.2674 0.9064 0.2078 1.2656 0.0461 l 1.7618 -0.792 c 0.3592 -0.162 0.7785 -0.1545 0.9469 0.0049 s 0.2006 0.5779 0.0607 0.9465 L 6.7786 19.475 c -0.1399 0.3682 -0.1785 0.9937 0.096 1.2765 c 0.2393 0.2471 0.6409 0.5302 1.3162 0.7714 c 0.7328 0.2614 1.2499 0.3255 1.6039 0.3116 c 0.3938 -0.0158 0.7875 -0.4943 0.9274 -0.8625 l 0.6349 -1.6725 c 0.1399 -0.3682 0.3968 -0.6532 0.5741 -0.6446 c 0.1065 0.0053 0.2137 0.0079 0.3214 0.0079 c 0.0503 0 0.0998 -0.0004 0.1492 -0.0019 c 0.0821 -0.0026 0.2801 0.2858 0.4417 0.6454 l 0.7361 1.6365 c 0.1616 0.3592 0.6019 0.7448 0.9949 0.7642 c 0.4204 0.021 1.0009 -0.0232 1.6612 -0.2752 c 0.6319 -0.2419 0.9971 -0.6015 1.2071 -0.9158 c 0.219 -0.3274 0.1455 -0.9439 -0.0165 -1.3031 l -0.6023 -1.3399 c -0.1616 -0.3592 -0.0634 -0.8216 0.1976 -1.059 c 0.2599 -0.2374 0.75 -0.3375 1.1179 -0.1973 l 1.287 0.4886 c 0.3682 0.1399 0.99 0.1834 1.3043 -0.0544 c 0.2767 -0.21 0.5966 -0.5587 0.8554 -1.1378 C 21.8964 15.218 21.8806 14.5614 21.7966 14.096 z M 11.9244 16.9213 c -2.9415 0 -5.3254 -2.3839 -5.3254 -5.325 s 2.3839 -5.325 5.3254 -5.325 c 2.9407 0 5.325 2.3839 5.325 5.325 C 17.2497 14.5374 14.8651 16.9213 11.9244 16.9213 z"),n.b("CheveronDown","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronLeft","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronRight","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronUp","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("Close","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"))},n.b=function(t,e){i.SvgIconRegistry.instance.addSvgPathString("default",t,e)},n.$t=i.markType(n,"ToolbarIconManager"),n.a=!1,n}(i.Base),wn=new i.Type(null,"IExternalToolPanel"),Pn=new i.Type(null,"IToolPanelView"),xn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Jt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),t}(),On=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new he},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Tn=new i.Type(null,"IExternalListPanel"),In=new i.Type(null,"IListPanelView"),kn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=null,e.c=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelDataBindingEventArgs"),n}(i.Base),Sn=new i.Type(null,"IListPanelViewportManager"),An=new i.Type(null,"IPropertyEditorPanelView"),Nn=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),Bn=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),En=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDropDownDataListItem"),n}(i.Base),Rn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new kt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ComboEditor=v,t.ComboEditorBridge=Gt,t.ComboEditorCloneDataSourceFilterOperation=rn,t.ComboEditorCloneDataSourceFilterOperation_$type=on,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=g,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=sn,t.ComboEditorSelectedItemChangeType_$type=an,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=_,t.ComboEditorVisualModelExport=b,t.DrillDownRequestedEventArgs=ii,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.IExternalListPanel_$type=Tn,t.IExternalToolPanel_$type=wn,t.IExternalToolbar_$type=vn,t.IListPanelView_$type=In,t.IListPanelViewportManager_$type=Sn,t.INativeUIToolPanelBridge_$type=Kt,t.INativeUIToolbarBridge_$type=te,t.IPropertyEditorPanelView_$type=An,t.IToolPanelView_$type=Pn,t.IToolbarView_$type=Cn,t.IgcComboEditorComponent=O,t.IgcComboEditorGotFocusEventArgs=P,t.IgcComboEditorLostFocusEventArgs=x,t.IgcComboEditorModule=wt,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=w,t.IgcLayoutPrimaryKeyValue=gi,t.IgcLayoutPrimaryKeyValueModule=ln,t.IgcLayoutSelectedItemsCollection=cn,t.IgcLayoutSelectedKeysCollection=yi,t.IgcListPanelActiveRowChangedEventArgs=dt,t.IgcListPanelComponent=Ct,t.IgcListPanelContentRefreshedEventArgs=ut,t.IgcListPanelItemEventArgs=ft,t.IgcListPanelItemModel=at,t.IgcListPanelModule=jt,t.IgcListPanelPrimaryKeyValue=gt,t.IgcListPanelPrimaryKeyValueModule=hn,t.IgcListPanelSelectedItemsChangedEventArgs=vt,t.IgcListPanelSelectedItemsCollection=_t,t.IgcListPanelSelectedKeysChangedEventArgs=mt,t.IgcListPanelSelectedKeysCollection=yt,t.IgcListPanelSelectionChangedEventArgs=bt,t.IgcListPanelTemplateHeightRequestedEventArgs=ct,t.IgcListPanelTemplateItemUpdatingEventArgs=ht,t.IgcListPanelTemplateWidthRequestedEventArgs=lt,t.IgcOnCollapsedEventArgs=l,t.IgcOnExpandedEventArgs=u,t.IgcPropertyEditorDataSource=Rn,t.IgcPropertyEditorDescriptionObject=qt,t.IgcPropertyEditorDescriptionObjectCollection=$t,t.IgcPropertyEditorPanelComponent=en,t.IgcPropertyEditorPanelModule=nn,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=zt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Dt,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Ut,t.IgcPropertyEditorPropertyDescriptionCollection=Rt,t.IgcPropertyEditorPropertyDescriptionComponent=Lt,t.IgcPropertyEditorPropertyDescriptionModule=Mt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Vt,t.IgcToolActionButtonComponent=Ri,t.IgcToolActionButtonModule=qi,t.IgcToolActionButtonPairComponent=gn,t.IgcToolActionButtonPairModule=yn,t.IgcToolActionCheckboxComponent=di,t.IgcToolActionCheckboxListComponent=mi,t.IgcToolActionCheckboxListModule=_i,t.IgcToolActionCheckboxModule=bi,t.IgcToolActionCollection=si,t.IgcToolActionColorEditorComponent=pn,t.IgcToolActionColorEditorModule=fn,t.IgcToolActionComboComponent=dn,t.IgcToolActionComboModule=bn,t.IgcToolActionComponent=ci,t.IgcToolActionEventDetail=hi,t.IgcToolActionEventDetailCollection=ui,t.IgcToolActionGroupHeaderComponent=vi,t.IgcToolActionGroupHeaderModule=Ci,t.IgcToolActionIconButtonComponent=xi,t.IgcToolActionIconButtonModule=Oi,t.IgcToolActionIconMenuComponent=Ti,t.IgcToolActionIconMenuModule=Ii,t.IgcToolActionLabelComponent=pi,t.IgcToolActionLabelModule=fi,t.IgcToolActionNumberInputComponent=ji,t.IgcToolActionNumberInputModule=wi,t.IgcToolActionPerformedEventArgs=li,t.IgcToolActionPopupOpeningEventArgs=Pi,t.IgcToolActionRadioComponent=Bi,t.IgcToolActionRadioModule=Ei,t.IgcToolActionSeparatorComponent=ki,t.IgcToolActionSeparatorModule=Si,t.IgcToolActionSubPanelComponent=Ai,t.IgcToolActionSubPanelModule=Ni,t.IgcToolActionTextInputComponent=mn,t.IgcToolActionTextInputModule=_n,t.IgcToolCommandEventArgs=ai,t.IgcToolContextBinding=Ht,t.IgcToolContextBindingCollection=Wt,t.IgcToolPanelComponent=Vi,t.IgcToolPanelContentRefreshedEventArgs=$i,t.IgcToolPanelContextChangedEventArgs=xn,t.IgcToolPanelContextSwappedEventArgs=On,t.IgcToolPanelModule=Ui,t.IgcToolbarComponent=Fi,t.IgcToolbarModule=Hi,t.IgcToolbarSubMenuClosingEventArgs=Mi,t.IgcToolbarSubMenuOpeningEventArgs=Li,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=ye,t.LayoutSelectedItemsCollection=de,t.LayoutSelectedKeysCollection=me,t.ListPanel=Z,t.ListPanelActivationManager=st,t.ListPanelActivationMode=S,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=M,t.ListPanelColumnDefinition=K,t.ListPanelContentRefreshedEventArgs=F,t.ListPanelDataBindingEventArgs=kn,t.ListPanelDataSourceNotificationBridge=et,t.ListPanelItemEventArgs=rt,t.ListPanelItemModel=nt,t.ListPanelItemPresenter=H,t.ListPanelItemVisualData=X,t.ListPanelLayoutPanel=it,t.ListPanelOrientation=$,t.ListPanelOrientation_$type=z,t.ListPanelPrimaryKeyValue=R,t.ListPanelRowRange=Y,t.ListPanelScrollerKeyboardListener=pt,t.ListPanelSelectedItemsChangedEventArgs=V,t.ListPanelSelectedItemsCollection=E,t.ListPanelSelectedKeysChangedEventArgs=U,t.ListPanelSelectedKeysCollection=q,t.ListPanelSelectionBehavior=N,t.ListPanelSelectionBehavior_$type=B,t.ListPanelSelectionChangedEventArgs=L,t.ListPanelSelectionManager=ot,t.ListPanelSelectionMode=I,t.ListPanelSelectionMode_$type=k,t.ListPanelTemplateHeightRequestedEventArgs=G,t.ListPanelTemplateItemUpdatingEventArgs=tt,t.ListPanelTemplateWidthRequestedEventArgs=W,t.ListPanelView=J,t.ListPanelViewportChangedEventArgs=D,t.ListPanelVisualData=Q,t.ListPanelVisualModel=T,t.NativeUIContentRefreshedEventArgs=un,t.NativeUILayoutFactory=Ie,t.NativeUIToolPanel=Be,t.NativeUIToolbar=Ee,t.NativeUIToolbarSubMenuClosingEventArgs=re,t.NativeUIToolbarSubMenuOpeningEventArgs=ie,t.NestedActionMode=zi,t.NestedActionMode_$type=Di,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=oi,t.PanelInfo=ri,t.PropertyEditorDataSource=kt,t.PropertyEditorDescriptionObject=Nt,t.PropertyEditorDescriptionObjectCollection=Bt,t.PropertyEditorPanel=tn,t.PropertyEditorPanelColumnDefinition=Qi,t.PropertyEditorPanelColumnFieldType_$type=Bn,t.PropertyEditorPanelColumnType_$type=Nn,t.PropertyEditorPanelComboBoxBridgeItem=Yi,t.PropertyEditorPanelDataBindingEventArgs=Xi,t.PropertyEditorPanelDropDownDataListItem=En,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=Ki,t.PropertyEditorPanelUpdateMode=Wi,t.PropertyEditorPanelUpdateMode_$type=Gi,t.PropertyEditorPanelView=Zi,t.PropertyEditorPropertyDescription=St,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=Ot,t.PropertyEditorPropertyDescriptionChangedEventArgs=Tt,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=At,t.PropertyEditorPropertyDescriptionCollection=Et,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=It,t.PropertyEditorTreeTransformer=Ji,t.PropertyEditorValueType=Pt,t.PropertyEditorValueType_$type=xt,t.ToolAction=Re,t.ToolActionButton=Le,t.ToolActionButtonDisplayType=Ce,t.ToolActionButtonDisplayType_$type=je,t.ToolActionButtonGroupDisplayType=be,t.ToolActionButtonGroupDisplayType_$type=ge,t.ToolActionButtonPair=ze,t.ToolActionCheckbox=Xe,t.ToolActionCheckboxList=De,t.ToolActionCheckboxListIndexType=_e,t.ToolActionCheckboxListIndexType_$type=ve,t.ToolActionCollection=Ye,t.ToolActionColorEditor=qe,t.ToolActionCombo=$e,t.ToolActionEventDetail=ue,t.ToolActionEventDetailCollection=ce,t.ToolActionGroupHeader=Ge,t.ToolActionIconButton=We,t.ToolActionIconMenu=Ke,t.ToolActionIconMenuVisualData=Pe,t.ToolActionLabel=Me,t.ToolActionMeasurementContext=le,t.ToolActionNumberInput=Qe,t.ToolActionPerformedEventArgs=pe,t.ToolActionPopupOpeningEventArgs=ti,t.ToolActionRadio=Fe,t.ToolActionSeparator=He,t.ToolActionSubPanel=Ve,t.ToolActionTextInput=Ue,t.ToolActionVisualData=fe,t.ToolCommandEventArgs=Xt,t.ToolContextBinding=Ft,t.ToolContextBindingCollection=ae,t.ToolPanel=ei,t.ToolPanelContentRefreshedEventArgs=Te,t.ToolPanelContext=Zt,t.ToolPanelContextChangedEventArgs=Jt,t.ToolPanelContextSwappedEventArgs=he,t.ToolPanelDropdownMenuVisualData=Oe,t.ToolPanelOrientation=Qt,t.ToolPanelOrientation_$type=Yt,t.ToolPanelView=Ne,t.ToolPanelVisualData=xe,t.ToolPanelsPresenter=ni,t.Toolbar=Je,t.ToolbarContextAccessor=Ze,t.ToolbarIconManager=jn,t.ToolbarOrientation=oe,t.ToolbarOrientation_$type=se,t.ToolbarSubMenuClosingEventArgs=ne,t.ToolbarSubMenuOpeningEventArgs=ee,t.ToolbarView=Ae,t.TooltipTextPresenter=we,t.XExpansionPanel=h,t.XToolPanelBridge=ke,t.XToolbarBridge=Se,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
7
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,i,n){"use strict";var r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return t.getNativeElement().checked},n.b=function(t,e){t.getNativeElement().checked=e},n.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},n.$t=i.markType(n,"ExpansionPanelUtilities"),n}(i.Base),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnCollapsedEventArgs",i.EventArgs.$),n}(i.EventArgs),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnExpandedEventArgs",i.EventArgs.$),n}(i.EventArgs),a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},n.prototype.y=function(t){this.q=t,this.ab()},n.prototype.z=function(t){this.g=t},n.prototype.aa=function(){},n.prototype.af=function(t){var e=this.k;this.p=t;var n=e.createElement("div");this.p.append(n),this.v(n);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var s=e.createElement("div");r.append(s),this.o=e.createElement("label"),s.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),n.setStyleProperty("display","flex"),n.setStyleProperty("justify-content","center"),n.setStyleProperty("flex-direction","column"),n.setStyleProperty("margin","0px 10px 0px 10px"),n.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",i.runOn(this,this.w)),this.p.listen("keydown",i.runOn(this,this.x))},n.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var i=t.componentRef;e.f=i.i,e.f.fill=n.al,e.ag()}),!1)},n.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},n.prototype.ad=function(t){this.k;this.m=t},n.prototype.w=function(t){t.originalEvent.target;this.h.a2()},n.prototype.x=function(t){var e=i.BaseDOMEventProxy.c0(t),n=r.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==n&&(this.h.au(),t.preventDefault());break;case 15:1==n&&(this.h.ar(),t.preventDefault())}},n.$t=i.markType(n,"ExpansionPanelView"),n.al=i.BrushUtil.h(255,33,150,243),n.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",n.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",n}(i.Base),h=function(t){function n(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.ag=i.stringEmpty(),e.be=null,e.a5=n.bt,e.bc=null,e.bd=null,e.p=-1,e.o=n.r,e.m=!0,e.bf=null,e.a6=n.bu,e.bg=null,e.bh=null,e.a8=n.bw,e.a7=n.bv,e.a3=n.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(n,t),n.prototype.aw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},Object.defineProperty(n.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var i=this.m;this.m=t;var n=this.h(this.m),r=this.i(this.m),a=this.j(this.m),h=this.k(this.m),u=this.l(this.m);n.play(),r.play(),a.play(),h.play(),u.play(),n.finished.f((function(t){return n.commitStyles()})),r.finished.f((function(t){return r.commitStyles()})),a.finished.f((function(t){return a.commitStyles()})),h.finished.f((function(t){return h.commitStyles()})),u.finished.f((function(t){u.commitStyles(),e.aw("Expanded",i,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new s):null!=e.onCollapsed&&e.onCollapsed(e,new o))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.aw("HeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.aw("ActualHeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.aw("HeaderCollapsedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.aw("HeaderExpandedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.aw("ActualUmbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.aw("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.aw("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.f=function(){return new a},n.prototype.ax=function(t,e,i){switch(t){case"CaptionTextColor":case"CaptionExpandedTextColor":case"CaptionCollapsedTextColor":case"DescriptionTextColor":case"DescriptionExpandedTextColor":case"DescriptionCollapsedTextColor":case"HeaderBackgroundColor":case"HeaderCollapsedBackgroundColor":case"HeaderExpandedBackgroundColor":case"Expanded":var r=this.bl,o=this.b4(),s=this.bj,a=this.b0(),h=this.bk,u=this.b2();r!=o||s!=a||h!=u?(this.bl=o,this.bj=a,this.bk=u):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?n.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},n.prototype.h=function(t){var n=this.bj,r=this.b1(t),o=t?this.b():this.a(),s=this.g.a(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.i=function(t){var n=this.bk,r=this.b3(t),o=t?this.b():this.a(),s=this.g.b(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.j=function(t){var n=this.bl,r=this.b5(t),o=t?this.b():this.a(),s=this.g.c(o),a=[new i.AnimationKeyFrameProperty(2,n)],h=[new i.AnimationKeyFrameProperty(2,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.k=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?-n:0,o=t?0:-n,s=t?0:1,a=t?1:0,h=t?this.b():this.a(),u=new i.TranslateTransform;u.k=r;var l=new i.TranslateTransform;l.k=o;var c=this.g.d(h),p=[new i.AnimationKeyFrameProperty(14,u),new i.AnimationKeyFrameProperty(1,s)],f=[new i.AnimationKeyFrameProperty(14,l),new i.AnimationKeyFrameProperty(1,a)];return c.m.apply(c,e.__spreadArray([],e.__read(p),!1)),c.m.apply(c,e.__spreadArray([],e.__read(f),!1)),i.KeyFrameAnimationFactory.f.c(c)},n.prototype.l=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?0:n,o=t?n:0,s=t?this.b():this.a(),a=this.g.e(s),h=[new i.AnimationKeyFrameProperty(10,r)],u=[new i.AnimationKeyFrameProperty(10,o)];return a.m.apply(a,e.__spreadArray([],e.__read(h),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.a=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.b=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.at=function(){this.g.u()},n.prototype.b0=function(){return this.b1(this.n)},n.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:n.bs},n.prototype.b2=function(){return this.b3(this.n)},n.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:n.bt},n.prototype.b4=function(){return this.b5(this.n)},n.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:n.bu},n.prototype.ar=function(){this.n=!1},n.prototype.destroy=function(){this.provideRenderer(null)},n.prototype.au=function(){this.n=!0},n.prototype.notifySizeChanged=function(){},n.prototype.provideHeader=function(t){this.g.af(t)},n.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},n.prototype.provideContentAreaInner=function(t){this.g.ad(t)},n.prototype.provideRenderer=function(t){this.g.ac(t)},n.prototype.a2=function(){this.n=!this.n},n.$t=i.markType(n,"XExpansionPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.bs=i.BrushUtil.h(188,0,0,0),n.bt=i.BrushUtil.h(188,0,0,0),n.r=2,n.bu=i.BrushUtil.h(255,245,245,245),n.bw=i.BrushUtil.h(66,0,0,0),n.bv=i.BrushUtil.h(30,0,0,0),n.br=i.BrushUtil.h(20,0,0,0),n}(i.Base),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new s},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),l=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),c=function(t){function n(){var n=t.call(this)||this;n._implementation=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCollapsed=null,n._onCollapsed_wrapped=null,n._onExpanded=null,n._onExpanded_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._portalManager=new i.PortalManager("iconContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._mainDiv=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._mainDiv);var r=n._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=n._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var s=n._webComponentRenderer.createElement("div");return s.setAttribute("key","expansionPanelContentAreaInner"),o.append(s),n._mainDiv.append(r),n._mainDiv.append(o),new MutationObserver((function(t){var i,a;try{for(var h=e.__values(t),u=h.next();!u.done;u=h.next()){if("childList"==u.value.type)for(var l=0;l<n.childNodes.length;l++){var c=n.childNodes[l];c!=n._mainDiv.getNativeElement()&&c!==r.getNativeElement()&&c!==o.getNativeElement()&&c!==s.getNativeElement()&&(c.remove(),s.append(n._webComponentRenderer.getWrapper(c)))}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n.i.provideRenderer(n._webComponentRenderer),n.i.provideHeader(n._webComponentRenderer.getWrapper(r)),n.i.provideContentAreaOuter(n._webComponentRenderer.getWrapper(o)),n.i.provideContentAreaInner(n._webComponentRenderer.getWrapper(s)),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new h},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},n.prototype.afterContentInit=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXExpansionPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXExpansionPanelComponent=t}return n._observedAttributesIgcXExpansionPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionTextColor",{get:function(){return i.brushToString(this.i.bq)},set:function(t){this.i.bq=i.stringToBrush(t),this._a("captionTextColor",i.brushToString(this.i.bq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCaptionTextColor",{get:function(){return i.brushToString(this.i.bj)},set:function(t){this.i.bj=i.stringToBrush(t),this._a("actualCaptionTextColor",i.brushToString(this.i.bj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bo)},set:function(t){this.i.bo=i.stringToBrush(t),this._a("captionCollapsedTextColor",i.brushToString(this.i.bo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionExpandedTextColor",{get:function(){return i.brushToString(this.i.bp)},set:function(t){this.i.bp=i.stringToBrush(t),this._a("captionExpandedTextColor",i.brushToString(this.i.bp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionTextColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("descriptionTextColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionTextColor",{get:function(){return i.brushToString(this.i.bk)},set:function(t){this.i.bk=i.stringToBrush(t),this._a("actualDescriptionTextColor",i.brushToString(this.i.bk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bx)},set:function(t){this.i.bx=i.stringToBrush(t),this._a("descriptionCollapsedTextColor",i.brushToString(this.i.bx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionExpandedTextColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("descriptionExpandedTextColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerBackgroundColor",{get:function(){return i.brushToString(this.i.b6)},set:function(t){this.i.b6=i.stringToBrush(t),this._a("headerBackgroundColor",i.brushToString(this.i.b6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.bl)},set:function(t){this.i.bl=i.stringToBrush(t),this._a("actualHeaderBackgroundColor",i.brushToString(this.i.bl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerCollapsedBackgroundColor",{get:function(){return i.brushToString(this.i.b7)},set:function(t){this.i.b7=i.stringToBrush(t),this._a("headerCollapsedBackgroundColor",i.brushToString(this.i.b7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerExpandedBackgroundColor",{get:function(){return i.brushToString(this.i.b8)},set:function(t){this.i.b8=i.stringToBrush(t),this._a("headerExpandedBackgroundColor",i.brushToString(this.i.b8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.bn)},set:function(t){this.i.bn=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.bn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.bm)},set:function(t){this.i.bm=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.bm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.bi)},set:function(t){this.i.bi=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.bi))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("XExpansionPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.collapse=function(){this.i.ar()},n.prototype.expand=function(){this.i.au()},n.prototype.toggle=function(){this.i.a2()},Object.defineProperty(n.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=i.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,i){var n=new l;n._provideImplementation(i),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,n),e._onCollapsed&&e._onCollapsed(e,n)},this.i.onCollapsed=i.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=i.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,i){var n=new u;n._provideImplementation(i),e.beforeOnExpanded&&e.beforeOnExpanded(e,n),e._onExpanded&&e._onExpanded(e,n)},this.i.onExpanded=i.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXExpansionPanelComponent=null,n.htmlTagName="igc-x-expansion-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),p=function(){function t(){}return t.register=function(){c.register(),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.register("XExpansionPanel",h.$type)},t}(),f=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldText",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newText",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorTextChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),d=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newValue",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),b=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.i=0,e.b=null,e.n=0,e.as=null,e.ar=null,e.j=0,e._dropDownButtonVisible=!1,e.o=0,e.y=null,e.c=null,e.ab=null,e.ac=null,e.ad=null,e.t=0,e.z=null,e.aa=null,e._actualLabelVisible=!1,e._actualNoMatchesFoundLabel=null,e.d=null,e.e=null,e.ag=null,e.ah=null,e.ai=null,e.u=0,e.ae=null,e.af=null,e.aj=null,e._rowSeparatorsVisible=!1,e.f=null,e.ao=null,e.ap=null,e.aq=null,e.v=0,e.am=null,e.an=null,e.g=null,e.p=0,e.h=null,e.q=0,e.r=0,e.s=0,e.al=null,e.w=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"dropDownButtonVisible",{get:function(){return this._dropDownButtonVisible},set:function(t){this._dropDownButtonVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLabelVisible",{get:function(){return this._actualLabelVisible},set:function(t){this._actualLabelVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualNoMatchesFoundLabel",{get:function(){return this._actualNoMatchesFoundLabel},set:function(t){this._actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowSeparatorsVisible",{get:function(){return this._rowSeparatorsVisible},set:function(t){this._rowSeparatorsVisible=t},enumerable:!1,configurable:!0}),n.prototype.ak=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualBaseTheme : "+this.i+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.n+", "),t.l("actualContentPadding : { left: "+this.as.left+",top: "+this.as.top+",right: "+this.as.right+",bottom: "+this.as.bottom+"},"),t.l("actualDensity : "+this.j+", "),t.l("dropDownButtonVisible : "+this.dropDownButtonVisible+", "),t.l("actualFocusUnderlineOpacity : "+this.o+", "),t.l('label : "'+this.y+'", '),t.l("actualLabelTextColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.ab)||t.l('labelFontStyle : "'+this.ab+'", '),i.stringIsNullOrEmpty(this.ac)||t.l('labelFontVariant : "'+this.ac+'", '),i.stringIsNullOrEmpty(this.ad)||t.l('labelFontWeight : "'+this.ad+'", '),i.stringIsNullOrEmpty(this.z)||t.l('labelFontFamily : "'+this.z+'", '),i.stringIsNullOrEmpty(this.aa)||t.l('labelFontStretch : "'+this.aa+'", '),i.isNaN_(this.t)||t.l("labelFontSize : "+this.t+", "),t.l("actualLabelVisible : "+this.actualLabelVisible+", "),t.l('actualNoMatchesFoundLabel :"'+this.actualNoMatchesFoundLabel+'", '),t.l("actualNoMatchesFoundLabelBackgroundColor : "+this.d.serialize()+", "),t.l("actualNoMatchesFoundLabelTextColor : "+this.e.serialize()+", "),i.stringIsNullOrEmpty(this.ag)||t.l('noMatchesFoundLabelFontStyle : "'+this.ag+'", '),i.stringIsNullOrEmpty(this.ah)||t.l('noMatchesFoundLabelFontVariant : "'+this.ah+'", '),i.stringIsNullOrEmpty(this.ai)||t.l('noMatchesFoundLabelFontWeight : "'+this.ai+'", '),i.stringIsNullOrEmpty(this.ae)||t.l('noMatchesFoundLabelFontFamily : "'+this.ae+'", '),i.stringIsNullOrEmpty(this.af)||t.l('noMatchesFoundLabelFontStretch : "'+this.af+'", '),i.isNaN_(this.u)||t.l("noMatchesFoundLabelFontSize : "+this.u+", "),t.l('placeholder : "'+this.aj+'", '),t.l("rowSeparatorsVisible : "+this.rowSeparatorsVisible+", "),t.l("actualTextColor : "+this.f.serialize()+", "),i.stringIsNullOrEmpty(this.ao)||t.l('textStyleFontStyle : "'+this.ao+'", '),i.stringIsNullOrEmpty(this.ap)||t.l('textStyleFontVariant : "'+this.ap+'", '),i.stringIsNullOrEmpty(this.aq)||t.l('textStyleFontWeight : "'+this.aq+'", '),i.stringIsNullOrEmpty(this.am)||t.l('textStyleFontFamily : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||t.l('textStyleFontStretch : "'+this.an+'", '),i.isNaN_(this.v)||t.l("textStyleFontSize : "+this.v+", "),t.l("actualUnderlineColor : "+this.g.serialize()+", "),t.l("actualUnderlineOpacity : "+this.p+", "),t.l("actualUnderlineRippleColor : "+this.h.serialize()+", "),t.l("actualUnderlineRippleOpacity : "+this.q+", "),t.l("actualUnderlineRippleWidth : "+this.r+", "),t.l("actualUnderlineWidth : "+this.s+", "),t.l('text : "'+this.al+'", '),null!=this.w&&t.l('value : "'+this.w.toString()+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"ComboEditorVisualModelExport"),n}(i.Base),g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorGotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorLostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),m=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,e=null==e?0:e){case 0:break;case 1:var o=i[0];r.b.o(o)}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return null==this.a&&(this.a=new i.List$1(i.IDataSourceUpdateNotifier_$type,0)),this.a},enumerable:!1,configurable:!0}),n.prototype.c=function(t){this.b.add(t)},n.prototype.d=function(t){for(var e=0;e<this.b.count;e++)t(this.b._inner[e])},n.prototype.notifyClearItems=function(){this.d((function(t){return t.notifyClearItems()}))},n.prototype.notifyInsertItem=function(t,e){this.d((function(i){return i.notifyInsertItem(t,e)}))},n.prototype.notifyRemoveItem=function(t,e){this.d((function(i){return i.notifyRemoveItem(t,e)}))},n.prototype.notifySetItem=function(t,e,i){this.d((function(n){return n.notifySetItem(t,e,i)}))},n.prototype.rangeActualized=function(t,e){this.d((function(i){return i.rangeActualized(t,e)}))},n.$t=i.markType(n,"ComboEditorMultipleDataSourceNotifier",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),_=function(t){function r(e){var i=t.call(this)||this;return i.b=!1,i.a=null,i.c=null,i.a=e,i}return e.__extends(r,t),r.prototype.g=function(){},r.prototype.r=function(){var t=this.c.rootWrapper.getNativeElement().getBoundingClientRect();return new i.Rect(0,t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height)},r.prototype.f=function(t,e){this.c.getPortal(t.an,"ListPanel",(function(t){var i=t.componentRef.i;e(i)}),!1)},r.prototype.i=function(){this.b&&(this.b=!1,window.addEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.h=function(){this.b||(this.b=!0,window.removeEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.q=function(t){var e=this.a.bh;if(null!=e&&0!=e.b6){var i=this.r();this.a.bh.cd(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.an);if(null!=u){u.oi=h.k3,u.ks=h.jf,u.no=h.j6,u.eg=h.cx,u.np=h.j7,u.eh=h.cy,u.ei=h.cz,u.nq=h.j8,u.ej=h.c0,u.ek=h.c1,u.n6=h.kd,u.e5=h.c2,u.n7=h.ke,u.e6=h.c3,u.e7=h.c4,u.e8=h.c5;try{for(var l=e.__values(i.fromEnum(u.inputs)),c=l.next();!c.done;c=l.next()){var p=c.value;null!=p&&null!==i.typeCast(n.XInput.$,p)&&(p.cg=h.gb)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u.inputs)),d=f.next();!d.done;d=f.next()){var b=d.value;if(null!=b&&null!==i.typeCast(n.XLabel.$,b)){b.di=h.j9;var g=b;null!=h.av&&(g.y=h.av)}}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},r.prototype.l=function(t){if(null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].e=t)},r.prototype.o=function(){if(this.a.disallowTabFocus){var t=this.a.bb.an;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].be=-1)}else{var o=this.a.bb.an;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.an,a=0;a<s.inputs.count;a++)null!==i.typeCast(n.XInput.$,s.inputs._inner[a])&&s.inputs._inner[a].cu()}},r.prototype.n=function(){null!=this.a.bh&&(this.a.bh.an.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.an.ay=this.a.cb)},r.prototype.j=function(t){var e=this;if(null==t)return this.i(),void(this.c=null);this.c=t,i.NativeUIComponent.au(this.c,7,(function(t){e.c.append(t.an),e.a.id(t)})),this.h()},r.prototype.d=function(){return this.c},r.prototype.m=function(t,e){},r.prototype.e=function(t,e){var i=t.an;i.remove(),i.append(e.view.j.rootWrapper)},r.$t=i.markType(r,"ComboEditorView"),r}(i.Base),v=function(t){function r(){var e=t.call(this)||this;e.d0=null,e.kk=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.kl=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.c8=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k5=n.XInputGroup.m.ai(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.jh=n.XInputGroup.m.y(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.km=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.c9=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.kn=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.da=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.db=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.ko=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.dc=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.dd=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.kp=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.de=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.kq=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.df=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.dg=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.dh=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.bi=null,e.a0=null,e.ab=null,e.bl=!1,e.c=null,e.jt=null,e.ji=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.af=0,e.ae=1,e.ju=null,e.jj=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.cm=NaN,e.cc=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k2=new i.Thickness(1,NaN,NaN,NaN,NaN),e.k1=n.ThemeResolver.ak(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.je=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.jd=n.ThemeResolver.aa(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.b=null,e.al=0,e.ak=0,e.bw=!0,e.jv=null,e.jk=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.cn=NaN,e.cd=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.jw=null,e.jl=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.co=NaN,e.ce=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.cp=NaN,e.cf=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.jx=null,e.jm=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.cq=NaN,e.cg=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.cr=NaN,e.ch=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.du=null,e.f1=null,e.jy=null,e.jn=r.kh,e.as=null,e.ap=null,e.bs=!1,e.f4=null,e.er="No Matches Found",e.jz=null,e.jo=r.ki,e.j0=null,e.jp=r.kj,e.at=null,e.aq=null,e.gc="",e.j1=r.kr,e.jq=r.kr,e.au=null,e.ar=null,e.j2=null,e.jr=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.cs=NaN,e.ci=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.j3=null,e.js=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.ct=NaN,e.cj=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleOpacity"),e.cu=NaN,e.ck=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.cv=NaN,e.cl=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineWidth"),e.bk=!0,e.d6=null,e.d5=null,e.d=null,e.a=null,e.dv=null,e.q=0,e.b2=!1,e.bn=!1,e.bq=!1,e.br=!1,e.gotFocus=null,e.lostFocus=null,e.textValueChanged=null,e.selectedValueChanged=null,e.keyDown=null,e.change=null,e.changing=null,e.propertyChanged=null,e.a6=null,e.a9=null,e.a7=null,e.bd=null,e.bg=null,e.ac=null,e.d7=null,e.ca=!0,e.dt=0,e.b6=!1,e.l=null,e.v=0,e.b5=!1,e.b1=!1,e.b0=!1,e.by=!1,e.ba=null,e.a5=null,e.n=null,e.ds=-1,e.bo=!1,e.b8=!1,e.bp=!1,e.bm=!1,e.a8=null,e.bf=null;var o=e.aa();return e.ab=o,e}return e.__extends(r,t),r.prototype.gy=function(){this.ad.dt=-1},Object.defineProperty(r.prototype,"bj",{get:function(){return null==this.bi&&(this.bi=new i.SRProvider(this.ab.c),this.bi.cb("ComboEditor")),this.bi},enumerable:!1,configurable:!0}),r.prototype.aa=function(){return new _(this)},r.prototype.ip=function(t,e,o){switch(t){case"BackgroundColor":this.j4=null!=this.kf?this.kf:this.kk;break;case"BorderColor":this.j5=null!=this.kg?this.kg:this.kl;break;case"BorderWidth":this.cw=i.isNaN_(this.c6)?this.c8:this.c6;break;case"ContentPadding":this.k3=n.XInputGroup.oh(this.k4,this.k5);break;case"CornerRadius":this.jf=n.XInputGroup.kr(this.jg,this.jh);break;case"FocusBorderColor":this.j6=null!=this.ks?this.ks:this.km;break;case"FocusBorderWidth":this.cx=i.isNaN_(this.di)?this.c9:this.di;break;case"FocusUnderlineColor":this.j7=null!=this.kt?this.kt:this.kn;break;case"FocusUnderlineOpacity":this.cy=i.isNaN_(this.dj)?this.da:this.dj;break;case"FocusUnderlineRippleOpacity":this.cz=i.isNaN_(this.dk)?this.db:this.dk;break;case"HoverUnderlineColor":this.j8=null!=this.ku?this.ku:this.ko;break;case"HoverUnderlineOpacity":this.c0=i.isNaN_(this.dl)?this.dc:this.dl;break;case"HoverUnderlineWidth":this.c1=i.isNaN_(this.dm)?this.dd:this.dm;break;case"ItemsSource":case"ValueField":case"DataSourceDesiredProperties":case"Fields":this.ja();break;case"LabelTextColor":this.j9=null!=this.kv?this.kv:r.kh;break;case"LabelTextStyle":this.av=null!=this.a2?this.a2:r.ay;break;case"NoMatchesFoundLabelTextColor":this.kb=null!=this.kx?this.kx:r.kj;break;case"NoMatchesFoundLabelBackgroundColor":this.ka=null!=this.kw?this.kw:r.ki;break;case"NoMatchesFoundLabelTextStyle":this.aw=null!=this.a3?this.a3:r.az;break;case"UnderlineColor":this.kd=null!=this.kz?this.kz:this.kp;break;case"UnderlineOpacity":this.c2=i.isNaN_(this.dn)?this.de:this.dn;break;case"UnderlineRippleColor":this.ke=null!=this.k0?this.k0:this.kq;break;case"UnderlineRippleOpacity":this.c3=i.isNaN_(this.dp)?this.df:this.dp;break;case"UnderlineRippleWidth":this.c4=i.isNaN_(this.dq)?this.dg:this.dq;break;case"UnderlineWidth":this.c5=i.isNaN_(this.dr)?this.dh:this.dr;break;case"BaseTheme":this.ah=0==this.ai?1:this.ai;break;case"Density":this.am=0==this.density?0:this.density;break;case"TextColor":this.kc=null!=this.ky?this.ky:r.kr;break;case"TextStyle":this.ax=null!=this.a4?this.a4:null;break;case"ActualDensity":case"ActualBaseTheme":case"ActualTextColor":case"ActualTextStyle":case"DisplayType":case"ActualBackgroundColor":case"ActualBorderColor":case"ActualBorderWidth":case"ActualContentPadding":case"ActualCornerRadius":case"ActualFocusBorderColor":case"ActualFocusBorderWidth":case"ActualFocusUnderlineColor":case"ActualFocusUnderlineOpacity":case"ActualFocusUnderlineRippleOpacity":case"ActualHoverUnderlineColor":case"ActualHoverUnderlineOpacity":case"ActualHoverUnderlineWidth":case"ActualLabelTextColor":case"ActualLabelTextStyle":case"ActualUnderlineColor":case"ActualUnderlineOpacity":case"ActualUnderlineRippleColor":case"ActualUnderlineRippleOpacity":case"ActualUnderlineRippleWidth":case"ActualUnderlineWidth":case"DropDownButtonVisible":case"ActualNoMatchesFoundLabel":case"ActualNoMatchesFoundLabelTextColor":case"ActualNoMatchesFoundLabelTextStyle":case r.et:this.i1();break;case"NoMatchesFoundLabel":this.actualNoMatchesFoundLabel=i.stringIsNullOrEmpty(this.f5)?"No Matches Found":this.f5;break;case"Label":case"PlaceholderText":this.i1(),this.actualLabelVisible=!i.stringIsNullOrEmpty(this.f1);break;case"Text":this.i5();var s=null!=e?e.toString():null,a=null!=o?o.toString():null;this.ic(new f(s,a)),this.io(1,a);break;case"Value":this.h9(new d(e,o)),this.io(0,o);break;case"AllowFilter":this.g6(this.bu);break;case"DisallowTabFocus":this.ab.o();break;case"IsFixed":this.ab.n();break;case"UseTopLayer":this.ab.p()}},Object.defineProperty(r.prototype,"a1",{get:function(){return null==this.a0&&(this.a0=new i.FontInfo,this.a0.q="Verdana",this.a0.f=i.DeviceUtils.f(16)),this.a0},enumerable:!1,configurable:!0}),r.prototype.focus=function(t){this.g8(t)},r.prototype.setName=function(t){this.ab.l(t)},Object.defineProperty(r.prototype,"disallowTabFocus",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.h6("DisallowTabFocus",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.h6("Fields",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kf",{get:function(){return this.jt},set:function(t){var e=this.jt;this.jt=t,e!=this.jt&&this.h6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j4",{get:function(){return this.ji},set:function(t){var e=this.ji;this.ji=t,e!=this.ji&&this.h6("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ai",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.h6("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ah",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.h6("ActualBaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kg",{get:function(){return this.ju},set:function(t){var e=this.ju;this.ju=t,e!=this.ju&&this.h6("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j5",{get:function(){return this.jj},set:function(t){var e=this.jj;this.jj=t,e!=this.jj&&this.h6("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c6",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.h6("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cw",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.h6("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k4",{get:function(){return this.k2},set:function(t){var e=this.k2;this.k2=t,e!=this.k2&&this.h6("ContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k3",{get:function(){return this.k1},set:function(t){var e=this.k1;this.k1=t,e!=this.k1&&this.h6("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.je},set:function(t){var e=this.je;this.je=t,e!=this.je&&this.h6("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.jd},set:function(t){var e=this.jd;this.jd=t,e!=this.jd&&this.h6("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.h6("DataSourceDesiredProperties",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.h6("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"am",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.h6("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.h6("DropDownButtonVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ks",{get:function(){return this.jv},set:function(t){var e=this.jv;this.jv=t,e!=this.jv&&this.h6("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j6",{get:function(){return this.jk},set:function(t){var e=this.jk;this.jk=t,e!=this.jk&&this.h6("ActualFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"di",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.h6("FocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cx",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.h6("ActualFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kt",{get:function(){return this.jw},set:function(t){var e=this.jw;this.jw=t,e!=this.jw&&this.h6("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.jl},set:function(t){var e=this.jl;this.jw=t,e!=this.jl&&this.h6("ActualFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dj",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.h6("FocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cy",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.h6("ActualFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dk",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.h6("FocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.h6("ActualFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ku",{get:function(){return this.jx},set:function(t){var e=this.jx;this.jx=t,e!=this.jx&&this.h6("HoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.jm},set:function(t){var e=this.jm;this.jm=t,e!=this.jm&&this.h6("ActualHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dl",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.h6("HoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cg},set:function(t){var e=this.cg;this.cg=t,e!=this.cg&&this.h6("ActualHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dm",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.h6("HoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.ch},set:function(t){var e=this.ch;this.ch=t,e!=this.ch&&this.h6("ActualHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"itemsSource",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.h6("ItemsSource",e,this.du)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.m()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.f1},set:function(t){var e=this.fz;0!=i.StringComparer.b.compare(t,e)&&(this.f1=t,this.h6("Label",e,this.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kv",{get:function(){return this.jy},set:function(t){var e=this.jy;this.jy=t,e!=this.jy&&this.h6("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j9",{get:function(){return this.jn},set:function(t){var e=this.jn;this.jn=t,e!=this.jn&&this.h6("ActualLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.h6("LabelTextStyle",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"av",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,this.ap!=e&&this.h6("ActualLabelTextStyle",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.h6("ActualLabelVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.f4},set:function(t){var e=this.f4;0!=i.StringComparer.b.compare(t,e)&&(this.f4=t,this.h6("NoMatchesFoundLabel",e,this.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.h6("ActualNoMatchesFoundLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kw",{get:function(){return this.jz},set:function(t){var e=this.jz;this.jz=t,e!=this.jz&&this.h6("NoMatchesFoundLabelBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ka",{get:function(){return this.jo},set:function(t){var e=this.jo;this.jo=t,e!=this.jo&&this.h6(r.et,e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kx",{get:function(){return this.j0},set:function(t){var e=this.j0;this.j0=t,e!=this.j0&&this.h6("NoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kb",{get:function(){return this.jp},set:function(t){var e=this.jp;this.jp=t,e!=this.jp&&this.h6("ActualNoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.h6("NoMatchesFoundLabelTextStyle",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,this.aq!=e&&this.h6("ActualNoMatchesFoundLabelTextStyle",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gb",{get:function(){return this.gc},set:function(t){var e=this.gb;0!=i.StringComparer.b.compare(t,e)&&(this.gc=t,this.h6("PlaceholderText",e,this.gc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ky",{get:function(){return this.j1},set:function(t){var e=this.j1;this.j1=t,e!=this.j1&&this.h6("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kc",{get:function(){return this.jq},set:function(t){var e=this.jq;this.jq=t,e!=this.jq&&this.h6("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a4",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.h6("TextStyle",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.ar!=e&&this.h6("ActualTextStyle",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kz",{get:function(){return this.j2},set:function(t){var e=this.j2;this.j2=t,e!=this.j2&&this.h6("UnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kd",{get:function(){return this.jr},set:function(t){var e=this.jr;this.jr=t,e!=this.jr&&this.h6("ActualUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dn",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.h6("UnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.ci},set:function(t){var e=this.ci;this.ci=t,e!=this.ci&&this.h6("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k0",{get:function(){return this.j3},set:function(t){var e=this.j3;this.j3=t,e!=this.j3&&this.h6("UnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ke",{get:function(){return this.js},set:function(t){var e=this.js;this.js=t,e!=this.js&&this.h6("ActualUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dp",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.h6("UnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c3",{get:function(){return this.cj},set:function(t){var e=this.cj;this.cj=t,e!=this.cj&&this.h6("ActualUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dq",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.h6("UnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c4",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.h6("ActualUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dr",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.h6("UnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c5",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.h6("ActualUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.h6("AllowFilter",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gg",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.h6("TextField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.h6("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.h6("ValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.h6("ActualValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.h6("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.h6("DisplayType",i.enumGetBox(n.InputGroupDisplayType_$type,e),i.enumGetBox(n.InputGroupDisplayType_$type,t))},enumerable:!1,configurable:!0}),r.prototype.dx=function(t,e){return new i.FastReflectionHelper(!1,e).getPropertyValue(t)},r.prototype.ft=function(){return this.fs(this.gg)},r.prototype.dy=function(t){var e=this.i();if(null==e||0==e.length)return null;for(var n=new i.List$1(i.Base.$,0),r=0;r<e.length;r++){var o=e[r],s=this.dx(t,o);n.add1(s)}return 1==n.count?n._inner[0]:n.toArray()},r.prototype.fr=function(t){var e,i=this.ft();if(null!=i){var n=this.dx(t,i);e=null!=n?n.toString():null}else e=null;return e},r.prototype.fs=function(t){if(i.stringIsNullOrEmpty(t)){var e=this.actualDataSource;if(null==e)return null;var n=e.actualSchema;if(null==n)return null;var r=n.propertyNames;return 0==r.length?null:r[0]}return t},r.prototype.h=function(t){var e=new i.List$1(i.String_$type,0);if(null==t||0==t.length){var n=this.fs(null);return i.stringIsNullOrEmpty(n)?null:(e.add(n),e.toArray())}for(var r=0;r<t.length;r++){var o=t[r],s=this.fs(o);null!=s&&e.add(s)}return e.count>0?e.toArray():null},r.prototype.i=function(){var t=this.j;return this.h(t)},r.prototype.h8=function(t){this.io(2,t)},r.prototype.io=function(t,e){if(!this.b2){this.b2=!0;try{switch(t){case 2:var n=e,r=void 0,o=void 0;null!=n?(r=this.fr(n),o=this.dy(n)):(r=i.stringEmpty(),o=null),this.text!=r&&(this.text=r),this.value!=o&&(this.value=o);break;case 1:this.i0(e.toString());break;case 0:this.iz(e)}}finally{this.b2=!1}}},r.prototype.iy=function(t){this.text=t},r.prototype.jc=function(){this.ax=null==this.a4?this.a1:this.a4,this.av=null==this.a2?this.a1:this.a2},r.prototype.i3=function(){},r.prototype.closeUp=function(){this.g0()},r.prototype.destroy=function(){this.provideRenderer(null)},r.prototype.dropDown=function(){this.g5()},r.prototype.select=function(){this.iu()},r.prototype.notifySizeChanged=function(){this.ab.g()},r.prototype.provideRenderer=function(t){this.ab.j(t),this.actualNoMatchesFoundLabel=i.stringIsNullOrWhiteSpace(this.bj.b1("NoMatches"))?"No Matches Found":this.bj.b1("NoMatches")},r.prototype.dw=function(){return this.u()},r.prototype.fk=function(){return this.u().ak()},r.prototype.u=function(){var t=new b;if(t.a=i.AppearanceHelper.a(this.j4),t.i=this.ah,t.b=i.AppearanceHelper.a(this.j5),t.n=this.cw,t.as=this.k3,t.ar=this.jf,t.j=this.am,t.dropDownButtonVisible=this.dropDownButtonVisible,t.o=this.cy,t.y=this.fz,t.c=i.AppearanceHelper.a(this.j9),t.actualLabelVisible=this.actualLabelVisible,t.actualNoMatchesFoundLabel=this.actualNoMatchesFoundLabel,t.d=i.AppearanceHelper.a(this.ka),t.e=i.AppearanceHelper.a(this.kb),t.aj=this.gb,t.f=i.AppearanceHelper.a(this.kc),t.g=i.AppearanceHelper.a(this.kd),t.p=this.c2,t.h=i.AppearanceHelper.a(this.ke),t.q=this.c3,t.r=this.c4,t.s=this.c5,t.al=this.text,t.w=this.value,null!=this.av){var e=this.av;if(null!=this.ab&&null==e.q){var n=this.ab.c,r=i.FontUtil.getFontInfoFromString(n,e.fontString);e.q=r.q,e.f=r.f,e.r=r.r,e.t=r.t,e.u=r.u,e.v=r.v}null!=e.q&&(t.z=e.q),i.isNaN_(e.f)||(t.t=e.f),null!=e.v&&(t.ad=e.v),null!=e.t&&(t.ab=e.t),null!=e.r&&(t.aa=e.t)}if(null!=this.aw){var o=this.aw;if(null!=this.ab&&null==o.q){var s=this.ab.c,a=i.FontUtil.getFontInfoFromString(s,o.fontString);o.q=a.q,o.f=a.f,o.r=a.r,o.t=a.t,o.u=a.u,o.v=a.v}null!=o.q&&(t.ae=o.q),i.isNaN_(o.f)||(t.u=o.f),null!=o.v&&(t.ai=o.v),null!=o.t&&(t.ag=o.t),null!=o.r&&(t.af=o.t)}if(null!=this.ax){var h=this.ax;if(null!=this.ab&&null==h.q){var u=this.ab.c,l=i.FontUtil.getFontInfoFromString(u,h.fontString);h.q=l.q,h.f=l.f,h.r=l.r,h.t=l.t,h.u=l.u,h.v=l.v}null!=h.q&&(t.am=h.q),i.isNaN_(h.f)||(t.v=h.f),null!=h.v&&(t.aq=h.v),null!=h.t&&(t.ao=h.t),null!=h.r&&(t.an=h.t)}return t},Object.defineProperty(r.prototype,"b4",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.h6("IsFixed",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.h6("OpenAsChild",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cb",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.h6("UseTopLayer",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.h1=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},r.prototype.h4=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},r.prototype.ic=function(t){null!=this.textValueChanged&&this.textValueChanged(this,t)},r.prototype.h9=function(t){null!=this.selectedValueChanged&&this.selectedValueChanged(this,t)},r.prototype.h6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ip(t,e,n)},r.prototype.h3=function(t){if(null!=this.keyDown){var e=new i.KeyEventArgs(1,t.g,t.a,t.e,t.b,t.h);this.keyDown(this,e)}},r.prototype.hq=function(t){var e=new n.InputChangeEventArgs;e.isCompositionInProgress=t.a,e.value=t.b,null!=this.changing&&this.changing(this,e)},Object.defineProperty(r.prototype,"ad",{get:function(){return this.ac},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b7",{get:function(){return 46==this.dt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.bg},enumerable:!1,configurable:!0}),r.prototype.id=function(t){this.a9=t,this.h5()},r.prototype.h0=function(){this.ab.i()},r.prototype.hp=function(){this.ab.h()},r.prototype.h5=function(){this.g2(),this.i8(),this.g1(),this.bc.bn(this.a7),this.i1(),this.i2(),this.ab.h()},r.prototype.gv=function(t){var e=this.m();null!=this.n&&null!=e&&e.filterExpressions.k.contains(this.n)&&e.filterExpressions.remove(this.n),this.n=t,this.by=!1,null==t||null==e||e.filterExpressions.k.contains(t)?this.dropDown():(e.filterExpressions.add(t),this.by=!0)},r.prototype.gw=function(){var t=this.m();null!=t&&t.filterExpressions.k.contains(this.n)&&t.filterExpressions.remove(this.n),this.n=null},r.prototype.g0=function(){var t=this.bh;null!=t&&t.cb(),this.i2(),this.gw()},Object.defineProperty(r.prototype,"bb",{get:function(){return this.a7},enumerable:!1,configurable:!0}),r.prototype.b3=function(t){if(null==t)return!1;this.a7,this.ac,this.a5;return this.bh.t(t)||this.bc.t(t)},r.prototype.g1=function(){var t=this,e=this.ab.d();i.NativeUIContent.av(e,[7,2],[2,2],(function(e){t.a7=e[0],t.a7.h=3,t.a7.n=i.runOn(t,t.hk),t.a7.o=i.runOn(t,t.hl),t.bd=e[1],t.a7.bn(t.bd),t.bd.b7=t.text,t.bd.bs=i.runOn(t,t.hf),t.bd.bt=i.runOn(t,t.hg),t.bd.bx=i.runOn(t,t.hi),t.bd.n=i.runOn(t,t.hh),t.bd.bz=i.runOn(t,t.hj),t.g6(t.bu),t.bd.b6=r.d2,t.bd.bn=i.runOn(t,t.ib)}))},Object.defineProperty(r.prototype,"be",{get:function(){return this.bd},enumerable:!1,configurable:!0}),r.prototype.g2=function(){var t=this;i.NativeUIContent.av(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.a5=e[2],t.a5.bi=new i.Thickness(0,4),t.ba=e[0],t.ba.bn(t.a5),t.a8=e[4],t.ba.bn(t.a8),t.a9.bn(t.bg),t.bf=e[3],t.bg.bn(t.ba),t.bg.bw=i.runOn(t,t.ig)}))},r.prototype.ig=function(t,e){null!=this.ad&&0==this.a8.bj&&this.ad.notifySizeChanged()},r.prototype.ht=function(t,e){},r.prototype.hw=function(t,e,i){},r.prototype.hs=function(){switch(this.v){case 2:case 1:null==this.l&&(this.v=0)}var t=null;switch(this.v){case 2:var e=this.l.actualCount;if(0==e)this.value=null;else{t=this.l.getItemAtIndex(0);for(var n=this.i(),r=new i.List$1(i.Base.$,0),o=0;o<n.length;o++){var s=n[o],a=this.l.getItemProperty(t,s);r.add1(a)}this.value=1==r.count?r._inner[0]:r.toArray()}break;case 1:var h=this.l.actualCount;if(0==h)this.text=i.stringEmpty();else{var u=this.ft();t=this.l.getItemAtIndex(0);var l=this.l.getItemProperty(t,u).toString();this.text=l}var c=this.m().indexOfItem(t);this.iw(c);break;case 0:default:return}if(null!=t){var p=this.m().indexOfItem(t);this.iw(p)}else this.iw(-1);null!=this.l&&(this.l.updateNotifier=null,this.l=null),this.v=0},r.prototype.hu=function(t,e){},r.prototype.hv=function(t,e){},r.prototype.hz=function(t,e){var i=this.ad;if(null!=i){var n=i.dt;-1!=n&&n>=t&&n<=e&&(this.it(n),this.i9())}},r.prototype.ia=function(t,e,i){},r.prototype.hr=function(){if(this.ii(),this.b5){var t=this.m().actualCount;this.ca&&t>0?this.ik():this.il()}else this.i7()},r.prototype.h2=function(t,e){},r.prototype.h7=function(t,e){},r.prototype.g5=function(){this.jb(),this.hm();var t=this.bh;if(!t.b6){var e=this.ab.r();t.b0=!this.b5,t.ce(e,1,1),this.i2()}},r.prototype.m=function(){var t=this.ad;return null!=t?t.actualDataSource:null},r.prototype.bz=function(t){var e=this.ac.ai,i=e.count;return 0==i?{ret:!0,p0:t=null}:{ret:null!=(t=e._inner[0]),p0:t}},r.prototype.ha=function(t){var e=-1!=t?t:-1;this.it(e)},r.prototype.hc=function(){var t,e,i=this;this.bo||(e=i.bz(t),t=e.p0,e.ret)&&null!=t&&this.h8(t)},r.prototype.hm=function(){this.bh.cc()},r.prototype.ho=function(){if(this.bh.b6){this.closeUp();var t=this.bd;t.az();var e=null!=t.b7?t.b7.length:0;t.ca(e,e)}},r.prototype.hx=function(){this.bd.b1=!0,this.bd.b9();var t=new g;this.h1(t)},r.prototype.hy=function(){this.closeUp(),this.bd.b8();var t=new y;this.h4(t)},r.prototype.il=function(){var t=this.ac;t.selectedItemsChanged=i.delegateRemove(t.selectedItemsChanged,i.runOn(this,this.hd)),this.bo=!0;try{this.iy(this.d7)}finally{this.bo=!1;var e=this.ac;e.selectedItemsChanged=i.delegateCombine(e.selectedItemsChanged,i.runOn(this,this.hd))}this.b5=!1},r.prototype.im=function(){if(this.b5=!0,i.stringIsNullOrEmpty(this.d7))null!=this.n?this.gv(null):this.il();else{var t=i.FilterFactory.instance.property(this.ft()).toLower().startsWith(this.d7.toLowerCase());this.gv(t)}},r.prototype.ir=function(){this.dt=0,this.b6=!1},r.prototype.it=function(t){var e=this.m();if(e.isPlaceholderItem(t));else{var n=this.ad;if(t<0)return this.b1=!1,n.ai.clear(),void(this.b1||this.hc());n.selectedItemsChanged=i.delegateRemove(n.selectedItemsChanged,i.runOn(this,this.hd));try{n.ai.clear()}finally{n.selectedItemsChanged=i.delegateCombine(n.selectedItemsChanged,i.runOn(this,this.hd))}if(t>=0){var r=e.getItemAtIndex(t);this.b1=!1,n.ai.add1(r),this.b1||this.hc()}}},r.prototype.iw=function(t){var e=this.ad;if(-1!=t){var i;e.dt;this.ds=t,i=t,this.b0=!1,e.dt=i,this.b0||this.ha(e.dt),this.i9()}else e.dt=-1},r.prototype.i0=function(t){this.ie(2,t)},r.prototype.iz=function(t){this.ie(1,t)},r.prototype.i1=function(){var t=this;if(null!=this.bd&&(this.bd.bp=t.density,this.bd.c=t.ah,this.bd.bu=t.s,this.bd.a8=t.j4,this.bd.a9=t.j5,this.bd.bg=new i.Thickness(0,t.cw),this.bd.bp=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.ce=t.kc,this.bd.bk=t.ax),null!=this.bd&&(this.bd.b5=t.fz),null!=this.a5){if(this.a5.ba=t.kb,this.a5.a8=t.ka,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bs=this.bf,this.bf.bm=this.actualNoMatchesFoundLabel,this.hm()}this.ad},r.prototype.i5=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b7=t}},r.prototype.i2=function(){var t=this.bh,e=null!=t&&t.b6;this.bd.b6=e?r.d3:r.d4},r.prototype.i4=function(){this.jc();var t=this.ac.h4(),e=Math.min(t.height,320);this.a8.y=e;var i=t.width;i=Math.max(i,150),this.a8.ae=i},r.prototype.i6=function(){this.b5||(this.d7=null,null!=this.n?this.gw():this.i7())},r.prototype.i7=function(){if(null!=this.value){var t=this.value,e=null!==i.typeCast(i.Array_$type,t)?t:[t],n=this.m().indexOfKey(e);-1!=n&&this.iw(n)}},r.prototype.i8=function(){var t=this;null==this.ad&&(this.jc(),this.ab.f(this.a8,(function(e){var n=e;t.ac=n;var r=t.ac;r.rowUpdating=i.delegateCombine(r.rowUpdating,i.runOn(t,t.gt)),t.ja(),t.ad.as=1,t.ad.an=0,t.ad.r=1,t.a8.a8=i.BrushUtil.h(255,255,255,255),t.ac.h2=i.BrushUtil.h(255,200,200,200),t.ac.hw=i.BrushUtil.h(255,100,100,100),t.ac.ec=32,t.ad.h0=i.BrushUtil.h(0,0,0,0),t.ad.bx=!1,t.ad.bs=!1;var o=t.ad;o.activeRowChanged=i.delegateCombine(o.activeRowChanged,i.runOn(t,t.g9));var s=t.ad;s.selectedItemsChanged=i.delegateCombine(s.selectedItemsChanged,i.runOn(t,t.hd));var a=t.ad;a.itemClicked=i.delegateCombine(a.itemClicked,i.runOn(t,t.hb)),t.ad.a9=i.runOn(t,t.he),t.i1()})))},r.prototype.gt=function(t,e){var n=this;if(null!=e.b){if("comboItem"!=e.b.ao)i.NativeUIComponent.au(this.ab.d(),3,(function(t){var r=t;r.bk=n.ax,e.b.bs=r,e.b.ao="comboItem",r.f=0,r.h=1,r.bh=new i.Thickness(0,5),r.bm=null!=n.ft()?n.actualDataSource.getItemProperty(e.a.x,n.ft()).toString():""}));else e.b.bs.bm=null!=this.ft()?this.actualDataSource.getItemProperty(e.a.x,this.ft()).toString():""}},r.prototype.ie=function(t,e){var n=this.m();if(null!=n){null!=this.l&&(this.v,this.l.updateNotifier=null,this.l=null),this.v=t;var r=new i.FilterFactory,o=null,s=null;switch(t){case 2:var a=this.ft();if(i.stringIsNullOrEmpty(a))return;o=e.toString(),s=r.property(a).isEqualTo(o);break;case 1:var h=this.i();if(null==h||h.length<1)return;var u=null!==i.typeCast(i.Array_$type,e)?e:[e];if(h.length!=u.length)return;for(var l=0;l<h.length;l++){var c=h[l];o=u[l];var p=r.property(c).isEqualTo(o);null==s?s=p:s.and(p)}break;case 0:default:return}this.l=n.clone(),this.l.filterExpressions.clear(),this.l.updateNotifier=new C(this,!0),this.l.filterExpressions.add(s),this.l.isVirtual||this.l.flushAutoRefresh()}},r.prototype.ih=function(){this.i5();var t=this.text,e=this.d7.length,n=i.stringIsNullOrEmpty(t)?0:t.length;this.b6&&!i.stringIsNullOrEmpty(this.d7)&&e>0&&e--,this.bd.ca(e,n)},r.prototype.ii=function(){this.by&&(this.by=!1,this.dropDown())},r.prototype.ij=function(t){this.d7=t,this.ca=!this.b7,this.im()},r.prototype.ik=function(){i.stringIsNullOrEmpty(this.d7)?this.gx():this.iw(0),this.ih(),this.b5=!1},r.prototype.gx=function(){this.ad.dt=-1},r.prototype.g6=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.i9=function(){if(this.bp){var t=this.ad,e=t.dt;if(-1!=e){var i=this.m();if(null!=i){var n=e<i.actualCount?i.getItemAtIndex(e):0;if(null==n)return;t.ck(n)}}else t.hd(0)}},r.prototype.ja=function(){if(null!=this.ad){var t=this.itemsSource;if(this.ad.ai.clear(),null!=this.ad.actualDataSource){var e=this.ad.actualDataSource;e.schemaChanged=i.delegateRemove(e.schemaChanged,i.runOn(this,this.gu))}this.ad.g=null,this.ad.itemsSource=t,this.ad.f=this.i(),this.ds=-1;var n=this.m();if(null!=n){var r=n.updateNotifier,o=new C(this,!1),s=new m(1,[r,o]);n.updateNotifier=s,n.propertiesRequested=this.f,n.schemaChanged=i.delegateCombine(n.schemaChanged,i.runOn(this,this.gu)),null!=this.value&&this.ie(1,this.value)}this.l=null}},r.prototype.gu=function(t,e){-1!=this.ds&&(this.iw(this.ds),this.ds=-1)},r.prototype.iv=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.jb=function(){if(this.i4(),this.b5){var t=this.m();this.b8=0==t.actualCount}else this.b8=!1;this.a5.bj=this.b8?0:1;this.a8.bj;this.a8.bj=this.b8?1:0},r.prototype.g8=function(t){null!=this.bd&&(t?this.bd.a0():this.bd.az())},r.prototype.iu=function(){null!=this.bd&&this.bd.b9()},Object.defineProperty(r.prototype,"bc",{get:function(){return this.a9},enumerable:!1,configurable:!0}),r.prototype.ib=function(t,e){e.a=!0,this.bh.b6?this.closeUp():this.gv(null),null!=this.bd&&(this.bd.az(),this.bd.b9())},r.prototype.g9=function(t,e){var i=e.newActiveRow;this.ha(i),this.b0=!0},r.prototype.hb=function(t,e){this.ho()},r.prototype.hd=function(t,e){this.hc(),this.b1=!0},r.prototype.he=function(){this.bp=this.ad.ay.a,this.i9()},r.prototype.hf=function(t,e){if(!e.a){this.hq(e);var i=e.b;this.ij(i)}},r.prototype.hg=function(t,e){var i=this.bd.b7;this.ij(i)},r.prototype.hh=function(t,e){this.ir()},r.prototype.hi=function(t,e){if(this.h3(e),!e.c){var n=e.g;switch(this.dt=n,this.b6=!1,n){case 8:var r=this.bd.b4;if(0==r)break;var o=this.bd.b7;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b3,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.i6(),e.d=!0;else{var u=this.ad;if(null==u)return;this.ad.dt;if(-1!=u.dt)this.ad.b3(!1,!1),e.d=!0;else{var l=this.m();if(null!=l)l.actualCount>0&&(this.iw(0),e.d=!0)}}break;case 38:if(e.a)this.closeUp(),e.d=!0;else{var c=this.ad;if(null==c)return;this.ad.dt;if(null!=c.dt)this.ac.cg(!1,!1),e.d=!0;else{var p=this.m();if(null!=p){var f=p.actualCount;f>0&&(this.iw(f-1),e.d=!0)}}}break;case 13:this.bh.b6&&(e.f=!0),this.ho();break;case 27:this.closeUp()}}},r.prototype.hj=function(t,e){},r.prototype.hk=function(t,e){if(!this.bm){this.bm=!0,this.bd.az(),this.bm=!1;var i=e.b;this.b3(i)||this.hx()}},r.prototype.hl=function(t,e){var i=e.b;this.b3(i)||this.hy()},r.$t=i.markType(r,"ComboEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),r.ag=1,r.kh=n.ThemeResolver.ah(r.ag,n.XLabel.dd,n.XLabel.c6),r.kj=n.ThemeResolver.ah(r.ag,n.XLabel.dd,n.XLabel.c6),r.ki=i.BrushUtil.h(255,255,255,255),r.ay=null,r.et="ActualNoMatchesFoundLabelBackgroundColor",r.az=null,r.kr=i.BrushUtil.h(221,0,0,0),r.d2="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",r.d4="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",r.d3="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",r}(i.Base),C=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.b?this.a.ht(t,e):this.a.hz(t,e)},n.prototype.notifySetItem=function(t,e,i){this.b?this.a.hw(t,e,i):this.a.ia(t,e,i)},n.prototype.notifyClearItems=function(){this.b?this.a.hs():this.a.hr()},n.prototype.notifyInsertItem=function(t,e){this.b?this.a.hu(t,e):this.a.h2(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.b?this.a.hv(t,e):this.a.h7(t,e)},n.$t=i.markType(n,"ComboEditorDataSourceNotificationHandler",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),j=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldText",{get:function(){return this.i.oldText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newText",{get:function(){return this.i.newText},enumerable:!1,configurable:!0}),t}(),P=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.oldValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},enumerable:!1,configurable:!0}),t}(),w=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new g},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),O=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),T=function(t){function r(){var e=t.call(this)||this;return e._implementation=null,e._disconnected=!1,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._gotFocus=null,e._gotFocus_wrapped=null,e._lostFocus=null,e._lostFocus_wrapped=null,e._textValueChanged=null,e._textValueChanged_wrapped=null,e._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._keyDown=null,e._keyDown_wrapped=null,e._change=null,e._change_wrapped=null,e._changing=null,e._changing_wrapped=null,e._textChange=null,e._textChange_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._portalManager=new i.PortalManager("ComboEditorContent"),e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{},e._portalManager),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.provideRenderer(e._webComponentRenderer),e.i.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.i.notifySizeChanged()})),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),r.prototype.updateStyle=function(){this._styling(this,this)},r.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},r.prototype.createImplementation=function(){return new v},Object.defineProperty(r.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),r.prototype.disconnectedCallback=function(){this._disconnected=!0},r.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-combo-editor"),this.classList.add("igc-combo-editor");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},r.prototype.afterContentInit=function(){this.i.notifySizeChanged()},r.prototype.attributeSynced=function(t,e){"name"===t&&this.i.setName(e)},r.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},r.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},r.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(r,"observedAttributes",{get:function(){if(null==r._observedAttributesIgcComboEditorComponent){for(var t=i.getAllPropertyNames(r),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);r._observedAttributesIgcComboEditorComponent=t}return r._observedAttributesIgcComboEditorComponent},enumerable:!1,configurable:!0}),r.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},r.register=function(){r._isElementRegistered||(r._isElementRegistered=!0,i.RegisterElementHelper.registerElement(r.htmlTagName,r))},Object.defineProperty(r.prototype,"fields",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baseTheme",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ai))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBaseTheme",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("actualBaseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ah))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderColor",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderWidth",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("borderWidth",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderWidth",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("actualBorderWidth",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingBottom",{get:function(){return this.i.k4?this.i.k4.bottom:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.bottom=+t,this._a("contentPaddingBottom",this.i.k4.bottom),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingLeft",{get:function(){return this.i.k4?this.i.k4.left:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.left=+t,this._a("contentPaddingLeft",this.i.k4.left),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingRight",{get:function(){return this.i.k4?this.i.k4.right:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.right=+t,this._a("contentPaddingRight",this.i.k4.right),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingTop",{get:function(){return this.i.k4?this.i.k4.top:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.top=+t,this._a("contentPaddingTop",this.i.k4.top),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),r.prototype.ensureContentPadding=function(){this.i.k4||(this.i.k4=new i.Thickness(2))},Object.defineProperty(r.prototype,"actualContentPaddingBottom",{get:function(){return this.i.k3?this.i.k3.bottom:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.bottom=+t,this._a("actualContentPaddingBottom",this.i.k3.bottom),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingLeft",{get:function(){return this.i.k3?this.i.k3.left:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.left=+t,this._a("actualContentPaddingLeft",this.i.k3.left),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingRight",{get:function(){return this.i.k3?this.i.k3.right:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.right=+t,this._a("actualContentPaddingRight",this.i.k3.right),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingTop",{get:function(){return this.i.k3?this.i.k3.top:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.top=+t,this._a("actualContentPaddingTop",this.i.k3.top),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),r.prototype.ensureActualContentPadding=function(){this.i.k3||(this.i.k3=new i.Thickness(2))},Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.jg?this.i.jg.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.c=+t,this._a("cornerRadiusBottomRight",this.i.jg.c),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.jg?this.i.jg.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.b=+t,this._a("cornerRadiusBottomLeft",this.i.jg.b),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.jg?this.i.jg.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.d=+t,this._a("cornerRadiusTopLeft",this.i.jg.d),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.i.jg?this.i.jg.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.e=+t,this._a("cornerRadiusTopRight",this.i.jg.e),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),r.prototype.ensureCornerRadius=function(){this.i.jg||(this.i.jg=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.jf?this.i.jf.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.c=+t,this._a("actualCornerRadiusBottomRight",this.i.jf.c),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.jf?this.i.jf.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.jf.b),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.jf?this.i.jf.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.d=+t,this._a("actualCornerRadiusTopLeft",this.i.jf.d),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.jf?this.i.jf.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.e=+t,this._a("actualCornerRadiusTopRight",this.i.jf.e),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),r.prototype.ensureActualCornerRadius=function(){this.i.jf||(this.i.jf=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"dataSourceDesiredProperties",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.i.density},set:function(t){this.i.density=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.density))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDensity",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.am))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.i.dropDownButtonVisible},set:function(t){this.i.dropDownButtonVisible=i.ensureBool(t),this._a("dropDownButtonVisible",this.i.dropDownButtonVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderColor",{get:function(){return i.brushToString(this.i.ks)},set:function(t){this.i.ks=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.ks))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderWidth",{get:function(){return this.i.di},set:function(t){this.i.di=+t,this._a("focusBorderWidth",this.i.di)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderWidth",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("actualFocusBorderWidth",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineColor",{get:function(){return i.brushToString(this.i.kt)},set:function(t){this.i.kt=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.kt))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineOpacity",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("focusUnderlineOpacity",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineOpacity",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("actualFocusUnderlineOpacity",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineRippleOpacity",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("focusUnderlineRippleOpacity",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineRippleOpacity",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("actualFocusUnderlineRippleOpacity",this.i.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineColor",{get:function(){return i.brushToString(this.i.ku)},set:function(t){this.i.ku=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.ku))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineOpacity",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("hoverUnderlineOpacity",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineOpacity",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("actualHoverUnderlineOpacity",this.i.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineWidth",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("hoverUnderlineWidth",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineWidth",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("actualHoverUnderlineWidth",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.i.actualDataSource},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this.i.fz},set:function(t){this.i.fz=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.kv)},set:function(t){this.i.kv=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.kv))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelTextColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("actualLabelTextColor",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextStyle",{get:function(){return null==this.i.a2?null:this.i.a2.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a2=e,this._a("labelTextStyle",null!=this.i.a2?this.i.a2.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.i.actualLabelVisible},set:function(t){this.i.actualLabelVisible=i.ensureBool(t),this._a("actualLabelVisible",this.i.actualLabelVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabel",{get:function(){return this.i.f5},set:function(t){this.i.f5=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.i.actualNoMatchesFoundLabel},set:function(t){this.i.actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.kw)},set:function(t){this.i.kw=i.stringToBrush(t),this._a("noMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kw))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelBackgroundColor",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kx)},set:function(t){this.i.kx=i.stringToBrush(t),this._a("noMatchesFoundLabelTextColor",i.brushToString(this.i.kx))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelTextColor",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextStyle",{get:function(){return null==this.i.a3?null:this.i.a3.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a3=e,this._a("noMatchesFoundLabelTextStyle",null!=this.i.a3?this.i.a3.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"placeholder",{get:function(){return this.i.gb},set:function(t){this.i.gb=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return i.brushToString(this.i.ky)},set:function(t){this.i.ky=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.ky))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textStyle",{get:function(){return null==this.i.a4?null:this.i.a4.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a4=e,this._a("textStyle",null!=this.i.a4?this.i.a4.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineColor",{get:function(){return i.brushToString(this.i.kz)},set:function(t){this.i.kz=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.kz))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineOpacity",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("underlineOpacity",this.i.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineOpacity",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("actualUnderlineOpacity",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleColor",{get:function(){return i.brushToString(this.i.k0)},set:function(t){this.i.k0=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.k0))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleOpacity",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("underlineRippleOpacity",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleOpacity",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("actualUnderlineRippleOpacity",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleWidth",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("underlineRippleWidth",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleWidth",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("actualUnderlineRippleWidth",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineWidth",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("underlineWidth",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineWidth",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t,this._a("actualUnderlineWidth",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"allowFilter",{get:function(){return this.i.bu},set:function(t){this.i.bu=i.ensureBool(t),this._a("allowFilter",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textField",{get:function(){return this.i.gg},set:function(t){this.i.gg=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.i.text},set:function(t){this.i.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueField",{get:function(){return this.i.j},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualValueField",{get:function(){return this.i.e},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isFixed",{get:function(){return this.i.b4},set:function(t){this.i.b4=i.ensureBool(t),this._a("isFixed",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"openAsChild",{get:function(){return this.i.b9},set:function(t){this.i.b9=i.ensureBool(t),this._a("openAsChild",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"useTopLayer",{get:function(){return this.i.cb},set:function(t){this.i.cb=i.ensureBool(t),this._a("useTopLayer",this.i.cb)},enumerable:!1,configurable:!0}),r.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(r.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),r.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},r.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ComboEditorComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},r.prototype.closeUp=function(){this.i.closeUp()},r.prototype.dropDown=function(){this.i.dropDown()},r.prototype.select=function(){this.i.select()},r.prototype.exportVisualModel=function(){return this.i.dw()},r.prototype.exportSerializedVisualModel=function(){return this.i.fk()},r.prototype.selectGridRow=function(t){this.i.it(t)},r.prototype.verifyDisplayText=function(){this.i.i5()},r.prototype.enableDisableFiltering=function(t){this.i.g6(t)},Object.defineProperty(r.prototype,"gotFocus",{get:function(){return this._gotFocus},set:function(t){var e=this;null!==this._gotFocus_wrapped&&(this.i.gotFocus=i.delegateRemove(this.i.gotFocus,this._gotFocus_wrapped),this._gotFocus_wrapped=null,this._gotFocus=null),this._gotFocus=t,this._gotFocus_wrapped=function(t,i){var n=new w;n._provideImplementation(i),e.beforeGotFocus&&e.beforeGotFocus(e,n),e._gotFocus&&e._gotFocus(e,n)},this.i.gotFocus=i.delegateCombine(this.i.gotFocus,this._gotFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lostFocus",{get:function(){return this._lostFocus},set:function(t){var e=this;null!==this._lostFocus_wrapped&&(this.i.lostFocus=i.delegateRemove(this.i.lostFocus,this._lostFocus_wrapped),this._lostFocus_wrapped=null,this._lostFocus=null),this._lostFocus=t,this._lostFocus_wrapped=function(t,i){var n=new O;n._provideImplementation(i),e.beforeLostFocus&&e.beforeLostFocus(e,n),e._lostFocus&&e._lostFocus(e,n)},this.i.lostFocus=i.delegateCombine(this.i.lostFocus,this._lostFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textValueChanged",{get:function(){return this._textValueChanged},set:function(t){var e=this;null!==this._textValueChanged_wrapped&&(this.i.textValueChanged=i.delegateRemove(this.i.textValueChanged,this._textValueChanged_wrapped),this._textValueChanged_wrapped=null,this._textValueChanged=null),this._textValueChanged=t,this._textValueChanged_wrapped=function(t,i){var n=new j;n._provideImplementation(i),e.beforeTextValueChanged&&e.beforeTextValueChanged(e,n),e._textValueChanged&&e._textValueChanged(e,n)},this.i.textValueChanged=i.delegateCombine(this.i.textValueChanged,this._textValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectedValueChanged",{get:function(){return this._selectedValueChanged},set:function(t){var e=this;null!==this._selectedValueChanged_wrapped&&(this.i.selectedValueChanged=i.delegateRemove(this.i.selectedValueChanged,this._selectedValueChanged_wrapped),this._selectedValueChanged_wrapped=null,this._selectedValueChanged=null),this._selectedValueChanged=t,this._selectedValueChanged_wrapped=function(t,i){var n=new P;n._provideImplementation(i),e.beforeSelectedValueChanged&&e.beforeSelectedValueChanged(e,n),e._selectedValueChanged&&e._selectedValueChanged(e,n)},this.i.selectedValueChanged=i.delegateCombine(this.i.selectedValueChanged,this._selectedValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"keyDown",{get:function(){return this._keyDown},set:function(t){var e=this;null!==this._keyDown_wrapped&&(this.i.keyDown=i.delegateRemove(this.i.keyDown,this._keyDown_wrapped),this._keyDown_wrapped=null,this._keyDown=null),this._keyDown=t,this._keyDown_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyDown&&e.beforeKeyDown(e,r),e._keyDown&&e._keyDown(e,r)},this.i.keyDown=i.delegateCombine(this.i.keyDown,this._keyDown_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"change",{get:function(){return this._change},set:function(t){var e=this;null!==this._change_wrapped&&(this.i.change=i.delegateRemove(this.i.change,this._change_wrapped),this._change_wrapped=null,this._change=null),this._change=t,this._change_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChange&&e.beforeChange(e,r),e._change&&e._change(e,r)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"changing",{get:function(){return this._changing},set:function(t){var e=this;null!==this._changing_wrapped&&(this.i.changing=i.delegateRemove(this.i.changing,this._changing_wrapped),this._changing_wrapped=null,this._changing=null),this._changing=t,this._changing_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,r),e._changing&&e._changing(e,r)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textChange",{get:function(){return this._textChange},set:function(t){var e=this;null!==this._textChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._textChange_wrapped),this._textChange_wrapped=null,this._textChange=null),this._textChange=t,this._textChange_wrapped=function(t,i){var n=e.text;"Text"==i.propertyName&&(e.beforeTextChange&&e.beforeTextChange(e,n),e._textChange&&e._textChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._textChange_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueChange",{get:function(){return this._valueChange},set:function(t){var e=this;null!==this._valueChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._valueChange_wrapped),this._valueChange_wrapped=null,this._valueChange=null),this._valueChange=t,this._valueChange_wrapped=function(t,i){var n=e.value;"Value"==i.propertyName&&(e.beforeValueChange&&e.beforeValueChange(e,n),e._valueChange&&e._valueChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._valueChange_wrapped)},enumerable:!1,configurable:!0}),r._observedAttributesIgcComboEditorComponent=null,r.htmlTagName="igc-combo-editor",r._isElementRegistered=!1,r}(i.IgcHTMLElement),I=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.c=0,e.b=0,e.d=i.Rect.empty,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a",{get:function(){return-1!=this.c&&-1!=this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelVisualModel"),n}(i.Base),x=function(t){return t[t.None=0]="None",t[t.SingleRow=1]="SingleRow",t[t.MultipleRow=2]="MultipleRow",t}({}),k=i.markEnum("ListPanelSelectionMode","None,0|SingleRow,1|MultipleRow,2"),S=function(t){return t[t.None=0]="None",t[t.Cell=1]="Cell",t}({}),A=i.markEnum("ListPanelActivationMode","None,0|Cell,1"),N=function(t){return t[t.Toggle=0]="Toggle",t[t.ModifierBased=1]="ModifierBased",t}({}),B=i.markEnum("ListPanelSelectionBehavior","Toggle,0|ModifierBased,1"),R=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.af=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.ag=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.u=function(t){var e=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.af||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,e,t))},n.$t=i.markType(n,"ListPanelSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),E=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=null,n.a=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"ListPanelPrimaryKeyValue"),n}(i.Base),$=function(t){function n(){var e=t.call(this,E.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(E.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,E.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ListPanelSelectedKeysCollection",i.ObservableCollection$1.$.specialize(E.$)),n}(i.ObservableCollection$1),q=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),D=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=0,e.d=0,e.h=0,e.e=0,e.f=0,e.c=0,e.a=0,e.b=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelViewportChangedEventArgs"),n}(i.Base),V=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRecycledEventArgs",i.EventArgs.$),n}(i.EventArgs),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRebindEventArgs",i.EventArgs.$),n}(i.EventArgs),L=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentItems=null,e._addedItems=null,e._removedItems=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentItems",{get:function(){return this._currentItems},set:function(t){this._currentItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedItems",{get:function(){return this._addedItems},set:function(t){this._addedItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedItems",{get:function(){return this._removedItems},set:function(t){this._removedItems=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedItemsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),M=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentKeys=null,e._addedKeys=null,e._removedKeys=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentKeys",{get:function(){return this._currentKeys},set:function(t){this._currentKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedKeys",{get:function(){return this._addedKeys},set:function(t){this._addedKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedKeys",{get:function(){return this._removedKeys},set:function(t){this._removedKeys=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedKeysChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),F=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newActiveRow=0,e._oldActiveRow=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newActiveRow",{get:function(){return this._newActiveRow},set:function(t){this._newActiveRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldActiveRow",{get:function(){return this._oldActiveRow},set:function(t){this._oldActiveRow=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelActiveRowChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),G=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelItemPresenter"),n}(i.Base),K=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateWidthRequestedEventArgs"),n}(i.Base),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateHeightRequestedEventArgs"),n}(i.Base),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelColumnDefinition"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.l("{ "),t.l("left: "+this.b+", "),t.l("top: "+this.c+", "),t.l("width: "+this.d+", "),t.l("height: "+this.a+" "),t.l("}"),t.toString()},n.$t=i.markType(n,"ListPanelItemVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),J=function(t){function n(){var e=t.call(this)||this;return e.c=0,e.d=0,e.e=0,e.b=0,e.a=null,e.a=new i.List$1(Y.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("left: "+this.c+","),t.u("top: "+this.d+","),t.u("width: "+this.e+","),t.u("height: "+this.b+","),t.l("items: ["),this.a.count>0){t.u("");for(var e=0;e<this.a.count;e++){var n=this.a._inner[e].serialize();t=e<this.a.count-1?t.u(n+", "):t.l(n)}t.u("")}return t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ListPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.d=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d-this.f+1},enumerable:!1,configurable:!0}),n.prototype.c=function(t){return t.f>=this.f&&t.f<=this.d||t.d>=this.f&&t.d<=this.d},n.prototype.b=function(t){return t>=this.f&&t<=this.d},n.a=function(t,e){for(var i=0;i<t.count;i++)if(t._inner[i].b(e))return t._inner[i];return null},n.$t=i.markType(n,"ListPanelRowRange"),n}(i.Base),tt=function(t){function n(){var e,n=t.call(this)||this;return n.p=null,n.o=null,n.a=null,n.j=null,n.n=null,n.e=null,n.m=null,n.g=new i.List$1(i.Delegate_$type,0),n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ag=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.l=null,n.k=null,n}return e.__extends(n,t),n.prototype.s=function(){return this.j},n.prototype.ab=function(){},n.prototype.z=function(t){var n,r,o=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.j=t,this.n=this.j.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.j.get2DCanvasContext(this.n)),this.m=this.j.createElement("div"),this.ae(),i.NativeUIComponent.au(this.s(),9,(function(t){var e=t;o.a.f0(e),o.k=e.an}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative"),this.g.add(t.rootWrapper.listen("mousedown",i.runOn(this,this.t))),this.g.add(t.rootWrapper.listen("mouseup",i.runOn(this,this.u)))}else{try{for(var s=e.__values(i.fromEnum(this.g)),a=s.next();!a.done;a=s.next()){(0,a.value)()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}this.j=null}},n.prototype.t=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gj(e,0==t.button,t.shiftKey,t.ctrlKey)},n.prototype.u=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gk(e,0==t.button,t.shiftKey,t.ctrlKey)},Object.defineProperty(n.prototype,"contentGrid",{get:function(){return this.k},enumerable:!1,configurable:!0}),n.prototype.ae=function(){},n.prototype.ad=function(){this.j},n.prototype.y=function(){if(null!=this.j){var t=this.j.rootWrapper.width(),e=this.j.rootWrapper.height();this.k.setRawStyleProperty("width",""),this.k.setRawStyleProperty("height","");var n=this.k.outerWidth(),r=this.k.outerHeight();0!=t&&0!=e&&(n=t,r=e),this.ag=new i.Size(1,n,r),this.a.onSizeChanged(this.ag.width,this.ag.height),this.a.ay.d.isEmpty||t==this.a.ay.d.width&&e==this.a.ay.d.height||this.a.setViewport(this.a.ay.d.left,this.a.ay.d.top,this.a.ay.d.left+t,this.a.ay.d.top+e),this.a.ay.d.isEmpty&&t>0&&e>0&&this.a.setViewport(0,0,t,e)}},n.prototype.af=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.h3),i.NativeUI.m(e,this.a.hx))}},n.prototype.d=function(){return this.b},n.prototype.aa=function(){},n.prototype.ac=function(){},n.prototype.x=function(t,e){this.k.setStyleProperty("min-width",t+"px"),this.k.setStyleProperty("min-height",e+"px"),this.a.externalListPanel.onContentSizeChanged()},n.prototype.h=function(){return this.ag.width},n.prototype.i=function(t){return this.c=this.a.a5(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.w=function(t,e){null==this.l&&(this.l=this.j.createElement("div")),e(this.l.getNativeElement())},n.prototype.v=function(){this.a.externalObject.ensureStretch()},n.$t=i.markType(n,"ListPanelView"),n}(i.Base),et=function(t){function n(){var e=t.call(this)||this;e._view=null,e.a6=null,e.be=!1,e.a7=null,e.aa=null,e.propertyChanged=null,e.ed=null,e.viewportChanged=null,e.ay=null,e.dh=-1,e.di=-1,e.ar=0,e.bh=!0,e.hu=null,e.ba=!0,e.hs=null,e.hq=null,e.da=i.truncate(i.DeviceUtils.g(1)),e.dc=i.truncate(i.DeviceUtils.g(1)),e.db=i.truncate(i.DeviceUtils.g(1)),e.c9=i.truncate(i.DeviceUtils.g(1)),e.q=0,e.am=1,e.b=null,e.a=null,e.ap=null,e.o=null,e.itemRecycled=null,e.itemRebind=null,e.selectedItemsChanged=null,e.selectedKeysChanged=null,e.selectionChanged=null,e.activeRowChanged=null,e.ah=new R,e.ak=new $,e.i=null,e.c=new Array(0),e.bu=!1,e.dk=-1,e.c0=i.DeviceUtils.g(42),e.a3=null,e.bd=!0,e.ee=null,e.c1=0,e.cz=NaN,e.cy=0,e.bn=!1,e.bg=!1,e.bm=!1,e.dj=-1,e.contentRefreshed=null,e.rowUpdating=null,e.a2=new i.FastIterationDictionary$2(i.Number_$type,ot.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.a1=new i.FastIterationDictionary$2(ot.$,ot.$,0),e.cx=new i.Queue$1(ot.$),e.cr=new i.List$1(i.Number_$type,0),e.cq=new i.List$1(i.Number_$type,0),e.cv=new i.List$1(i.Number_$type,0),e.cu=new i.List$1(i.Number_$type,0),e.dn=-1,e.cw=null,e.az=1,e.ht=null,e.br=!0,e.bk=!0,e.de=-1,e.df=-1,e.l=null,e.by=!1,e.k=null,e.hr=n.hy,e.ab=n.ac,e.bi=n.bt,e.hv=n.hz,e.dl=-1,e.dm=-1,e.bj=!0,e.dd=0,e._viewportManager=null,e.cs=new i.List$1(i.Number_$type,0),e.ct=new i.List$1(i.Number_$type,0),e.cm=new i.List$1(i.Base.$,0),e.cn=new i.List$1(E.$,0),e.co=new i.List$1(i.Base.$,0),e.cp=new i.List$1(E.$,0),e.bc=!1,e.bb=!1,e.bf=!1,e.bl=!1,e.bp=!1,e.bo=!1,e.cl=!1,e.dg=-1,e.bq=!1,e.a9=null,e.x=null,e.itemClicked=null,e.aq=new at(e),e.p=new ht(e),i.NativeUIInputsFactory.n(),e.ay=new I;var r=new tt;return r.a=e,e.view=r,e.view.ab(),e.ah.ag(i.runOn(e,e.hg)),e.ak.an(i.runOn(e,e.hh)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return null==this.a7&&(this.a7=new i.SRProvider(this.view.j),this.a7.cb("Layouts")),this.a7},enumerable:!1,configurable:!0}),n.prototype.f0=function(t){this.aa=new rt(t)},n.prototype.onSizeChanged=function(t,e){var n=this.cz,r=this.cy;this.cz=this.view.h(),1!=this.ad&&(r==this.cy&&n==(i.isNaN_(this.cz)?0:this.cz)||this.view.x(this.cz,this.cy)),this.g6()},n.prototype.setViewport=function(t,e,n,r){this.dh=-1,this.di=-1;var o,s=new i.Rect(0,t,e,n-t,r-e);if(s.x!=this.ay.d.x||s.y!=this.ay.d.y||s.width!=this.ay.d.width||s.height!=this.ay.d.height){var a=this.ay.d;this.ay.d=s,this.g7(),null!=this.viewportChanged&&this.viewportChanged(this,((o=new z).g=s.x,o.d=a.x,o.h=s.y,o.e=a.y,o.f=s.width,o.c=a.width,o.a=s.height,o.b=a.height,o))}},n.prototype.af=function(t,e){if(null==this.actualDataSource)return null;if(e<0||e>this.actualDataSource.actualCount-1)return null;var i=this.actualDataSource.getItemAtIndex(e);return null==i?null:this.ae(t,i)},n.prototype.ae=function(t,e){var i=null!=e&&void 0!==e.$$isSpecialRow;if(null==t)return null==e?null:E.createIdentityKey(e);if(i){var n=e;if(this.actualDataSource.isSectionContentVisible||!this.actualDataSource.isSectionHeaderNormalRow||1!=n.rowType)return E.createIdentityKey(e);if(1==n.rowType)for(var r=n.getSectionKeys(),o=0;o<r.length;o++)for(var s=0;s<t.length;s++)if(t[s]!=r[o])return E.createIdentityKey(e)}for(var a=new Array(t.length),h=0;h<t.length;h++)a[h]=this.actualDataSource.getItemProperty(e,t[h]);return new E(t,a)},n.prototype.d8=function(t){return null==this.actualDataSource?-1:null!=this.actualDataSource.actualPrimaryKey&&this.actualDataSource.isKeyIndexLookupSupported?this.actualDataSource.indexOfKey(t.value):-1},n.prototype.eg=function(t){var e=this.d8(t);return-1==e?null!=t.value&&1==t.value.length?t.value[0]:null:this.actualDataSource.getItemAtIndex(e)},n.prototype.e=function(){return null!=this.actualDataSource?this.actualDataSource.actualPrimaryKey:this.d},Object.defineProperty(n.prototype,"as",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.gl("SelectionMode",i.enumGetBox(k,e),i.enumGetBox(k,this.ar))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,this.bh!=e&&this.gl("IsActiveRowStyleEnabled",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,this.hu!=e&&this.gl("SelectedBackground",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.ba},set:function(t){this.ba=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,this.hs!=e&&this.gl("NormalBackground",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,this.hq!=e&&this.gl("ActivationBorder",e,this.hq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dq",{get:function(){return this.da},set:function(t){var e=this.da;this.da=t,this.da!=e&&this.gl("ActivationBorderLeftWidth",e,this.da)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ds",{get:function(){return this.dc},set:function(t){var e=this.dc;this.dc=t,this.dc!=e&&this.gl("ActivationBorderTopWidth",e,this.dc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dr",{get:function(){return this.db},set:function(t){var e=this.db;this.db=t,this.db!=e&&this.gl("ActivationBorderRightWidth",e,this.db)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.c9},set:function(t){var e=this.c9;this.c9=t,this.c9!=e&&this.gl("ActivationBorderBottomWidth",e,this.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.gl("ActivationMode",i.enumGetBox(A,e),i.enumGetBox(A,this.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.gl("SelectionBehavior",i.enumGetBox(B,e),i.enumGetBox(B,this.am))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.gl("PrimaryKey",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.gl("ActualPrimaryKey",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},set:function(t){this.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.o},set:function(t){this.o=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ah},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ak},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.gl("ItemsSource",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,this.c!=e&&this.gl("SchemaIncludedProperties",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDataSource",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.i!=e&&this.gl("ActualDataSource",e,this.i)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.view.y()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.view.z(t)},Object.defineProperty(n.prototype,"ec",{get:function(){return this.dk},set:function(t){var e=this.dk;this.dk=t,e!=this.dk&&this.gl("RowHeight",e,this.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c4",{get:function(){return this.c0},set:function(t){var e=this.c0;this.c0=t,e!=this.c0&&this.gl("ActualRowHeight",e,this.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.gl("CellTextStyle",e,this.a3)},enumerable:!1,configurable:!0}),n.prototype.a5=function(){return null==this.a4?this.view.d():this.a4},Object.defineProperty(n.prototype,"bv",{get:function(){return 1==this.ad},enumerable:!1,configurable:!0}),n.prototype.gl=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gy(t,e,n)},n.prototype.fl=function(t,e){this.gh()},n.prototype.g1=function(){this.bm||(this.bm=!0,this.k.enqueueAction(i.runOn(this,this.fp)))},n.prototype.fp=function(){this.bm&&(this.bm=!1,this.fx(),this.br&&this.fj(),this.g2(),this.g5(),null!=this.contentRefreshed&&this.contentRefreshed(this,new G))},n.prototype.fx=function(){this.bk&&(this.fi(),this.bk=!1,1==this.ad&&this.aa.g(new i.Size(1,this.cz,this.cy)))},n.prototype.g5=function(){if(null!=this.actualDataSource){this.dj=this.actualDataSource.actualCount;for(var t=0;t<this.a1.o.count;t++)if(!this.a1.p._inner[t]){this.a1.o._inner[t];var e=this.a1.q._inner[t];this.aa.f(e)}this.r;for(var i=0;i<this.a2.o.count;i++)if(!this.a2.p._inner[i]){this.a2.o._inner[i];var n=this.a2.q._inner[i];this.ft(n),this.fv(n),this.fr(n),this.aa.d(this,n)}}},n.prototype.fv=function(t){t.p&&(t.k?t.b.a.bg=new i.Thickness(1,this.dq,this.ds,this.dr,this.dp):t.b.a.bg=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.a9=this.hw:t.b.a.a9=null,t.n?t.b.a.a8=this.h2:t.b.a.a8=this.h0)},n.prototype.fr=function(t){t.m&&(t.m=!1,this.fw(t))},n.prototype.fw=function(t){if(null!=this.rowUpdating){var e=this.c6(t.v);this.rowUpdating(this,((i=new it).a=t,i.b=t.b.a.bl(0),i.d=t.b.a.an,i.c=e,i))}var i},n.prototype.ft=function(t){var e=this;null==t.b&&(t.b=new W,i.NativeUIComponent.av(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bn(r),0==e.ad?n.f=3:n.f=0,t.b.a=n,null!=e.h0&&(t.b.a.a8=e.h0)})))},n.prototype.fj=function(){if(this.br&&(this.br=!1,this.fz(),this.de=this.ea(),this.df=this.eb(),this.ay.c=this.de,this.ay.b=this.df,-1!=this.de&&-1!=this.df)){for(var t=new i.List$1(i.Number_$type,0),e=0;e<this.a2.o.count;e++)if(!this.a2.p._inner[e]){var n=this.a2.o._inner[e];this.a2.q._inner[e];(n<this.de||n>this.df)&&t.add(n)}for(var r=0;r<t.count;r++)this.g8(t._inner[r]);for(var o=this.de;o<=this.df;o++){this.fs(o);var s=this.a2.item(o);s.u=this.c8(o),s.s=this.c7(o)}}},n.prototype.c7=function(t){if(0==this.ad)return 0;if(2==this.ad){var e=this.d6(t);return this.cv._inner[e]}return this.cv._inner[t]},n.prototype.d6=function(t){return t%this.cw.count},n.prototype.d7=function(t){var e=Math.floor(t/this.cw.count);return i.truncate(e)},n.prototype.c8=function(t){if(1==this.ad)return 0;if(2==this.ad){var e=this.d7(t);return this.bz?this.cr._inner[e]:e*this.c4}return this.bz?this.cr._inner[t]:t*this.c4},n.prototype.fs=function(t){if(!this.a2.d(t)){var e=this.z(t);e.i&&(this.a1.f(e),e.i=!1,e.o=!0),this.a2.s(t,e)}},n.prototype.z=function(t){var e=this.cx.count>0?this.cx.b():new ot;return e.v=t,e.t=this.c4,e},n.prototype.g8=function(t){var e=this.a2.item(t);this.g4(e),this.a2.f(t),e.i=!0,e.x=null,this.a1.s(e,e)},n.prototype.g4=function(t){var e;this.cx.g(t),null!=this.itemRecycled&&this.itemRecycled(this,((e=new V).rowObject=t.x,e))},n.prototype.eb=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.ay.d.isEmpty){if(0==this.ad){if(this.bz){this.fx();var t=this.ay.d.bottom,e=this.dy(t);return this.cr._inner[e]+this.cq._inner[e]<t&&(e+=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.ay.d.bottom,r=i.truncate(Math.ceil(n/this.c4));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.bz){this.fx();var o=this.ay.d.bottom,s=this.dy(o);return this.cr._inner[s]+this.cq._inner[s]<o&&(s+=1),s*=this.cw.count,s+=this.cw.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.bottom,h=i.truncate(Math.floor(a/this.c4));return h*=this.cw.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.fx();var u=this.ay.d.right,l=this.dz(u);return this.cv._inner[l]+this.cu._inner[l]<u&&(l+=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return this.actualDataSource.actualCount-1},n.prototype.dy=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cr,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cr.count-1&&(e=this.cr.count-1),e},n.prototype.dz=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cv,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cv.count-1&&(e=this.cv.count-1),e},n.prototype.ea=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.ay.d.isEmpty){if(0==this.ad){if(this.bz){this.fx();var t=this.ay.d.top,e=this.dy(t);return this.cr._inner[e]>t&&(e-=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.ay.d.top,r=i.truncate(Math.floor(n/this.c4));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.bz){this.fx();var o=this.ay.d.top,s=this.dy(o);return this.cr._inner[s]>o&&(s-=1),s*=this.cw.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.top,h=i.truncate(Math.floor(a/this.c4));return h*=this.cw.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.fx();var u=this.ay.d.left,l=this.dz(u);return this.cv._inner[l]>u&&(l-=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return 0},n.prototype.c6=function(t){return 2==this.ad&&(t=this.d6(t)),this.cu.count>0&&t<this.cu.count?this.cu._inner[t]:0},n.prototype.c5=function(t){return 2==this.ad&&(t=this.d7(t)),this.cq.count>0&&t<this.cq.count?this.cq._inner[t]:this.c4},n.prototype.fi=function(){var t=this;this.cq.clear(),this.cr.clear(),this.cu.clear(),this.cv.clear();var e=0!=this.r,n=this.ds+this.dp,r=this.dq+this.dr;if(null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var o=this.cy,s=i.isNaN_(this.cz)?0:this.cz;if(0==this.ad)if(this.bz){for(var a=0,h=function(i){u.cr.add(a);var r,o=u.c4;if(null!=u.itemHeightRequested){var s=((r=new X).b=i,r.c=t.actualDataSource.getItemAtIndex(i),r.a=o,r);u.itemHeightRequested(u,s),o=s.a,e&&(o+=n),a+=o}u.cq.add(o)},u=this,l=0;l<this.actualDataSource.actualCount;l++)h(l);this.cy=a}else this.cy=this.c4*this.actualDataSource.actualCount;else if(2==this.ad){var c=new i.List$1(Q.$,0),p=this.du(c,2147483647);if(this.bz){for(var f=0,d=function(i){b.cr.add(f);for(var r=b.c4,o=0,s=i*c.count,a=function(i){var a,h=i+s;if(h>b.actualDataSource.actualCount-1)return"continue";if(null!=b.itemHeightRequested){var u=((a=new X).b=h,a.c=t.actualDataSource.getItemAtIndex(h),a.a=r,a);b.itemHeightRequested(b,u);var l=u.a;e&&(l+=n),o=Math.max(o,l)}},h=0;h<c.count;h++)a(h);f+=r=o,b.cq.add(r)},b=this,g=0;g<p;g++)d(g);this.cy=f}else this.cy=this.c4*p;this.cw=c,this.dn=p;for(var y=0,m=0;m<this.cw.count;m++)this.cv.add(y),this.cu.add(this.cw._inner[m].a),y+=this.cw._inner[m].a}else{this.cy=this.c4;for(var _=0,v=function(i){C.cv.add(_);var n,o=0;if(null!=C.itemWidthRequested){var s=((n=new K).b=i,n.c=t.actualDataSource.getItemAtIndex(i),n.a=o,n);C.itemWidthRequested(C,s),o=s.a,e&&(o+=r),_+=o}C.cu.add(o)},C=this,j=0;j<this.actualDataSource.actualCount;j++)v(j);this.cz=_}o==this.cy&&s==(i.isNaN_(this.cz)?0:this.cz)||this.view.x(this.cz,this.cy)}},n.prototype.du=function(t,e){for(var i=this,n=0,r=0,o=this.view.h(),s=0,a=o-=5,h=this.actualDataSource.actualCount,u=function(h){var u,c=0;if(null!=l.itemWidthRequested){var p=((u=new K).b=h,u.c=i.actualDataSource.getItemAtIndex(h),u.a=c,u);l.itemWidthRequested(l,p),c=p.a}if(s+c>o&&r>0||r>=e){if(0!=n&&r<e&&e>1)return t._inner[r].a=c,l.ha(o,t),0==t.count?{value:0}:{value:l.du(t,t.count)};e=Math.max(Math.min(e,r),1),n++;var f=o-s;f<a&&(a=f),s=0,r=0}if(t.count<=r){var d=new Q;d.a=c,t.add(d),r++}else{var b=t._inner[r];if(c>b.a){var g=c-b.a;if(b.a=c,g>a&&e>1)return l.ha(o,t),0==t.count?{value:0}:{value:l.du(t,t.count)};(a-=g)<0&&(a=0),r++}else c=b.a,r++}s+=c},l=this,c=0;c<h;c++){var p=u(c);if("object"==typeof p)return p.value}return n+1},n.prototype.ha=function(t,n){var r,o,s=0;try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){s+=h.value.a}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}for(;s>t;){if(n.count<1)return;s-=n._inner[n.count-1].a,n.removeAt(n.count-1)}},n.prototype.fy=function(){this.bm&&this.fp()},Object.defineProperty(n.prototype,"a0",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.gl("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.az))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.gl("ScrollbarBackground",e,this.ht)},enumerable:!1,configurable:!0}),n.prototype.g6=function(){var t=i.isNaN_(this.cz)?0:this.cz,e=this.cy;this.bn=!0,this.f4(this.c1),t==(i.isNaN_(this.cz)?0:this.cz)&&e==this.cy||this.externalListPanel.onContentSizeChanged(),this.bn=!1,this.f5(),this.g1()},n.prototype.f5=function(){this.br=!0,this.de=-1,this.df=-1},n.prototype.f4=function(t){this.bk=!0,this.c1=t},n.prototype.fz=function(){this.bg&&(this.bg=!1,this.g6(),this.f3())},n.prototype.g7=function(){this.bg?this.fz():(this.f5(),this.g1(),this.fy())},n.prototype.d2=function(){return this.br&&this.fj(),this.df},n.prototype.d0=function(){return this.br&&this.fj(),this.de},n.prototype.cj=function(){return this.de>=0&&this.df>=0},n.prototype.f3=function(){if(this.cj()){var t=this.d0(),e=this.d2();this.f2(t,e)}},n.prototype.f2=function(t,e){var i=this.d0(),n=this.d2();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.g2(),this.g7())},n.prototype.g2=function(){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount)for(var t=0!=this.r,e=0!=this.as,i=function(i){if(n.a2.p._inner[i])return"continue";var r,o=n.a2.q._inner[i],s=o.x,a=n.actualDataSource.getItemAtIndex(o.v);null!=s&&s!=a&&null!=n.itemRebind&&n.itemRebind(n,((r=new U).rowObject=s,r)),o.x=a,o.t=n.c4,t&&(n.p.c(o)?o.j=!0:o.j=!1,o.k=!0),e&&(n.aq.j(o)?o.n=!0:o.n=!1,o.k=!1)},n=this,r=0;r<this.a2.q.count;r++)i(r)},n.prototype.g3=function(t){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount&&this.a2.d(t)){var e=this.a2.item(t);e.x=this.actualDataSource.getItemAtIndex(e.v),e.t=this.c4}},n.prototype.g0=function(){this.bg||(this.bg=!0,this.f5(),this.g1())},n.prototype.f1=function(t){this.g3(t)},n.prototype.gh=function(){this.bg?this.fz():(this.g6(),this.f3())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.l},set:function(t){this.l=t},enumerable:!1,configurable:!0}),n.prototype.ci=function(){return 0!=this.as||0!=this.r},n.prototype.gy=function(t,e,n){var r=this;switch(t){case"SchemaIncludedProperties":null!=this.i&&(this.i.schemaIncludedProperties=this.g);break;case"ItemsSource":if(null!=this.i){var o=this.i;o.schemaChanged=i.delegateRemove(o.schemaChanged,i.runOn(this,this.fl)),this.i.updateNotifier=null}if(null!==i.typeCast(i.IDataSource_$type,this.itemsSource))this.actualDataSource=this.itemsSource;else{var s=this.externalListPanel.createLocalDataSource(this.itemsSource,this.g);this.actualDataSource=s}if(null!=this.i){var a=this.i;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.fl)),this.i.updateNotifier=new nt(this),null!=this.i.actualSchema&&(this.g0(),this.k.enqueueAction((function(){return r.gh()})))}break;case"RowHeight":this.c4=this.ec;break;case"CellTextStyle":case"BackgroundColor":case"TextColor":this.f3();break;case"Orientation":case"ActualRowHeight":this.g6();break;case"ScrollbarStyle":this.externalListPanel.setScrollbarStyle(this.a0);break;case"ScrollbarBackground":this.externalListPanel.setScrollbarColor(this.h1);break;case"ActiveRow":this.dg=i.typeGetValue(e),this.bq=!0,-1!=this.dt&&this.dt>=0?this.p.k(this.dt):this.p.o(),this.bq=!1;break;case"SelectedBackground":case"ActivationBorder":case"ActivationBorderLeftWidth":case"ActivationBorderRightWidth":case"ActivationBorderBottomWidth":case"ActivationBorderTopWidth":this.g0();break;case"ActivationMode":this.by=this.ci();break;case"SelectionMode":switch(this.by=this.ci(),this.as){case 1:if(this.al.count>1){var h=this.al._inner[this.al.count-1];this.al.clear(),this.al.add(h)}break;case 2:break;case 0:this.al.count>0&&this.al.clear()}}},n.prototype.h4=function(){var t=this.cy,e=0;!i.isNaN_(t)&&t>=0&&(e=t);var n=0;if(1==this.ad)for(var r=0;r<this.cu.count;r++){var o=this.cu._inner[r];!i.isNaN_(o)&&o>=0&&(n+=o)}else if(2==this.ad)for(var s=0;s<this.cu.count;s++){var a=this.cu._inner[s];!i.isNaN_(a)&&a>=0&&(n+=a)}else!i.isNaN_(this.cz)&&this.cz>=0&&(n=this.cz);return new i.Size(1,n,e)},n.prototype.gg=function(t,e){if(1==this.r&&-1!=this.dt&&this.dt>=t&&this.dt<=e&&null!=this.activeRowChanged){var i=new H;i.newActiveRow=this.dt,i.oldActiveRow=this.dt,this.activeRowChanged(this,i)}var n=this.d0(),r=this.d2();e<n||t>r||(t<n&&(t=n),e>r&&(e=r),this.cj()&&(this.d4()!=this.dj?this.g6():this.g7(),this.fk()))},n.prototype.fk=function(){if(!this.ay.d.isEmpty){if(1==this.ad){if(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth){var t=this.d4()-1;t<0&&(t=0),this.hd(t)}}else if(this.ay.d.bottom>this.absoluteHeight||this.ay.d.top>this.absoluteHeight){var e=this.d4()-1;e<0&&(e=0),this.hd(e)}2==this.ad&&(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth)&&this.hc(this.cw.count-1)}},n.prototype.gv=function(t,e,i){if(0==this.ad){if(this.bz){var n=this.c4;if(null!=this.itemHeightRequested){var r=new X;r.c=i,r.b=t,r.a=n,this.itemHeightRequested(this,r),n=r.a}var o=this.cq._inner[t];this.cq._inner[t]=n;for(var s=n-o,a=t;a<this.actualDataSource.actualCount;a++)this.cr._inner[a]+=s}}else{if(2==this.ad)return void this.g6();var h=0;if(null!=this.itemWidthRequested){var u=new K;u.c=i,u.b=t,u.a=h,this.itemWidthRequested(this,u),h=u.a}var l=this.cu._inner[t];this.cu._inner[t]=h;for(var c=h-l,p=t;p<this.actualDataSource.actualCount;p++)this.cv._inner[p]+=c}this.f1(t)},n.prototype.gf=function(){this.g6()},n.prototype.gi=function(t,e){if(0==this.ad){if(this.bz){var i=this.c4;if(null!=this.itemHeightRequested){var n=new X;n.c=e,n.b=t,n.a=i,this.itemHeightRequested(this,n),i=n.a}this.cq.insert(t,i);var r=0;if(t>0)r=this.cr._inner[t-1]+this.cq._inner[t-1];this.cr.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.cr._inner[o]+=i}}else{if(2==this.ad)return void this.g6();var s=0;if(null!=this.itemWidthRequested){var a=new K;a.c=e,a.b=t,a.a=s,this.itemWidthRequested(this,a),s=a.a}this.cu.insert(t,s);var h=0;t>0&&(h=this.cv._inner[t-1]+this.cu._inner[t-1]);this.cv.insert(t,h);for(var u=t;u<this.actualDataSource.actualCount;u++)this.cv._inner[u]+=s}this.g0()},n.prototype.gm=function(t,e){if(0==this.ad){for(var i=this.cq._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.cr._inner[n]-=i;this.cq.removeAt(t),this.cr.removeAt(t)}else{if(2==this.ad)return void this.g6();for(var r=this.cu._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.cv._inner[o]-=r;this.cu.removeAt(t),this.cv.removeAt(t)}this.g0()},n.prototype.f9=function(t,e,i){null!=this.i&&this.i.notifySetItem(t,e,i)},n.prototype.f6=function(){null!=this.i&&this.i.notifyClearItems()},n.prototype.f7=function(t,e){null!=this.i&&this.i.notifyInsertItem(t,e)},n.prototype.f8=function(t,e){null!=this.i&&this.i.notifyRemoveItem(t,e)},n.prototype.dv=function(t){return null==this.i?-1:this.i.indexOfItem(t)},n.prototype.dw=function(t){return null==this.i?-1:this.i.indexOfKey(t)},Object.defineProperty(n.prototype,"hx",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.gl("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.gl("Orientation",i.enumGetBox(D,e),i.enumGetBox(D,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.gl("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.gl("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteWidth",{get:function(){return this.cz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteHeight",{get:function(){return this.cy},enumerable:!1,configurable:!0}),n.prototype.ef=function(){var t,n,r=this,o=new J,s=this.aa.h();o.c=s.left,o.d=s.top,o.e=s.width,o.b=s.height;try{for(var a=e.__values(i.fromEnum(this.a2.n)),h=a.next();!h.done;h=a.next()){var u=h.value;o.a.add(u.a(this.aa))}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o.a.aa((function(t,e){return 0==r.ad?t.c<e.c?-1:t.c==e.c?0:1:2==r.ad?t.c==e.c?t.b<e.b?-1:t.b==e.b?0:1:t.c<e.c?-1:t.c==e.c?0:1:t.b<e.b?-1:t.b==e.b?0:1})),o},n.prototype.ex=function(){return this.ef().serialize()},Object.defineProperty(n.prototype,"b0",{get:function(){return this.bj},set:function(t){this.bj=t},enumerable:!1,configurable:!0}),n.prototype.hf=function(){2==this.as&&this.aq.v()},n.prototype.b9=function(t,e,i){if(this.b0)switch(t){case 30:if(i)return this.hf(),!0;break;case 32:return!1}return!1},n.prototype.b1=function(){return-1==this.dd},Object.defineProperty(n.prototype,"dt",{get:function(){return this.dd},set:function(t){var e=this.dd;this.dd=t,e!=this.dd&&this.gl("ActiveRow",e,this.dd)},enumerable:!1,configurable:!0}),n.prototype.fh=function(t,e,i){if(void 0===i&&(i=!1),this.ay.a&&(i||(t<=this.d0()?this.hd(t):t>=this.d2()&&(e?this.hd(t):this.hb(t))),2==this.ad)){var n=this.d1(),r=this.d3(),o=this.d5(t);o<=n?this.he(o):o>=r&&this.hc(o)}},n.prototype.hc=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.di&&(e=this.di),2==this.ad){var n=0,r=0;for(r=0;r<this.cw.count&&(n+=this.cw._inner[r].a,t!=r);r++);(n-=this.ay.d.width)<0&&(n=0),this.di=e,this.dh=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.he=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.di&&(e=this.di),2==this.ad){var n=0,r=0;for(r=0;r<this.cw.count&&t!=r;r++)n+=this.cw._inner[r].a;this.di=e,this.dh=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.d5=function(t){return 2==this.ad?this.d6(t):-1},n.prototype.d3=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cw.count;e++)if((t+=this.cw._inner[e].a)>this.ay.d.right)return Math.min(Math.max(e-1,0),this.cw.count-1);return Math.min(e,this.cw.count-1)}return-1},n.prototype.d1=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cw.count;e++)if((t+=this.cw._inner[e].a)>this.ay.d.left)return Math.min(Math.max(e,0),this.cw.count-1);return e}return-1},n.prototype.hd=function(t){if(!this.ay.d.isEmpty){var e=i.truncate(this.ay.d.left);-1!=this.dh&&(e=this.dh);var n=0;t<0&&(t=0),t>=this.d4()&&(t=this.d4()-1);var r=0;if(r=i.truncate(Math.floor(t)),2==this.ad&&(r=i.truncate(Math.floor(r/this.cw.count))),n=this.cr.count>0?i.truncate(Math.floor(this.cr._inner[r])):i.truncate(Math.floor(this.c4*r)),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cq._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cy>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cy&&(n=i.truncate(Math.round(this.cy-this.ay.d.height))),n<0&&(n=0),this.di=n,this.dh=e,this.viewportManager.moveViewportTo(e,n)}},n.prototype.hb=function(t){var e=i.truncate(this.ay.d.left);-1!=this.dh&&(e=this.dh);var n=0;t<0&&(t=0),t>=this.d4()&&(t=this.d4()-1);var r=i.truncate(Math.floor(t));if(2==this.ad&&(r=i.truncate(Math.floor(r/this.cw.count))),n=0==this.cr.count?i.truncate(Math.round(this.c4*t+this.c4)):i.truncate(Math.floor(this.cr._inner[r]+this.cq._inner[r])),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cq._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cy>0&&this.ay.d.height>0&&(n-=i.truncate(Math.round(this.ay.d.height))),this.cy>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cy&&(n=i.truncate(Math.round(this.cy-this.ay.d.height))),n<0&&(n=0),this.di=n,this.dh=e,this.viewportManager.moveViewportTo(e,n)},Object.defineProperty(n.prototype,"viewportManager",{get:function(){return this._viewportManager},set:function(t){this._viewportManager=t},enumerable:!1,configurable:!0}),n.prototype.b3=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i>this.d4()-1)return!1;var n=i+1;if(2==this.ad&&(n=i+this.cw.count),e&&(n=this.d4()-1),n>this.d4()-1&&(n=this.d4()-1),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.gu=function(){this.bo&&null!=this.selectionChanged&&(this.selectionChanged(this,new F),this.bo=!1)},n.prototype.hi=function(t,e){for(var i=t;i<=e;i++)if(!this.cs.contains(i)&&!this.ct.contains(i)){var n=this.af(this.e(),i);if(null!=n){if(this.aq.h(n)){this.cs.add(i);continue}this.ct.add(i),this.al.add(n),this.aq.z(i)}}for(var r=0;r<this.ct.count;r++)if(this.ct._inner[r]<t||this.ct._inner[r]>e){var o=this.af(this.e(),this.ct._inner[r]);if(null!=o){this.ct.removeAt(r),r--;var s=this.al.indexOf(o),a=this.ai._inner[s];this.al.remove(o),this.cn.remove(o),this.cp.remove(o),this.cm.remove1(a),this.co.remove1(a)}}},n.prototype.b4=function(t,e){if(0==this.r||this.b1())return!1;var i=this.dt,n=this.dt;if(e){if(n>=this.d4()-1)return!1;n=this.d4()-1}else if(2==this.ad&&this.d5(n)==this.cw.count-1)return!1;if(2==this.ad){var r=n-this.d5(n)+this.cw.count;r>this.d4()-1&&(r=this.d4()-1),n=r}return n!=i&&(this.dt=n,this.fh(n,!1),!0)},n.prototype.b8=function(t,e){var i=this.dd,n=this.dd;if(e){if(n<=0)return!1;n=0}else if(2==this.ad&&0==this.d5(n))return!1;if(2==this.ad){var r=n-this.d5(n);r<0&&(r=0),n=r}return n!=i&&(this.dt=n,this.fh(n,!1),!0)},n.prototype.ca=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i<=0)return!1;var n=i-1;if(e&&(n=0),e&&2==this.ad&&(n=i-this.d5(i))<0&&(n=0),n<0&&(n=0),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.cb=function(t,e){if(0==this.r||this.b1())return!1;this.d0();var i=this.d2(),n=Math.min(i+1,this.d4()-1);return this.dt=n,this.fh(n,!0),!0},n.prototype.cc=function(t,e){if(0==this.r||this.b1())return!1;var i=this.d0(),n=this.d2()-i,r=Math.max(i-n-1,0);return this.dt=r,this.fh(r,!1),!0},n.prototype.cd=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i<=0)return!1;var n=i-1;if(e&&(n=this.d4()-1),e&&2==this.ad&&(n=i-this.d5(i)+this.cw.count)>this.d4()-1&&(n=this.d4()-1),n>this.d4()-1&&(n=this.d4()-1),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.cf=function(t,e){return 0!=this.r&&!this.b1()&&(0==this.ad?this.b3(t,e):this.cd(t,e))},n.prototype.gx=function(){},n.prototype.cg=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i<=0)return!1;var n=i-1;if(2==this.ad&&(n=i-this.cw.count)<0&&(n=0),e&&(n=0),n<=0&&(n=0),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.b5=function(t,e){return!1},n.prototype.b6=function(){return!1},n.prototype.b7=function(){return!1},n.prototype.ce=function(t,e){return!1},n.prototype.fu=function(){this.view.v()},Object.defineProperty(n.prototype,"bw",{get:function(){return this.bf},set:function(t){this.bf=t},enumerable:!1,configurable:!0}),n.prototype.fg=function(t){void 0===t&&(t=!1),this.cm.clear(),this.cn.clear(),this.co.clear(),this.cp.clear(),this.bb=!0,this.bc=t},n.prototype.fq=function(){this.bb&&(this.bw=!0,this.hp(this.cm,this.cn,this.co,this.cp),this.bw=!1),this.bb=!1},Object.defineProperty(n.prototype,"b2",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.gl("NotifyOnAllSelectionChanges",e,this.bl)},enumerable:!1,configurable:!0}),n.prototype.hp=function(t,e,i,n){if(0!=t.count||0!=e.count||0!=i.count||0!=n.count){var r=this.b2;if(this.b2=!1,!this.bp&&!this.bc&&(t.count>0&&(this.ai.o(t),this.al.o(e),this.bo=!0),i.count>0)){this.al.ah=!0,this.ai.af=!0;for(var o=i.count-1;o>=0;o--){var s=this.al.al(n._inner[o]);s>=0&&(this.ai.removeAt(s),this.al.removeAt(s))}this.ai.af=!1,this.al.ah=!1,this.bo=!0}this.b2=r,this.gp(i,t),this.gs(n,e)}},n.prototype.hg=function(t,n){var r,o,s,a,h,u,l,c=this;if(this.bo=!0,!this.bw&&null!=this.actualDataSource&&!this.bp){switch(this.bp=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ae(this.e(),n.newItems.item(p));this.al.ae.insert(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.al.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.al.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.ae(this.e(),n.newItems.item(g));this.al.ae.insert(g+n.newStartingIndex,y)}break;case 4:this.al.clear();try{for(var m=e.__values(i.fromEnum(this.ai.ae)),_=m.next();!_.done;_=m.next()){var v=_.value,C=this.ae(this.e(),v);this.al.add(C)}}catch(t){r={error:t}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.aq.af(),this.bp=!1}if(this.b2&&null!=this.selectedItemsChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){j=new R;try{for(var P=e.__values(i.fromEn(n.newItems)),w=P.next();!w.done;w=P.next()){var O=w.value;j.add1(O)}}catch(t){s={error:t}}finally{try{w&&!w.done&&(a=P.return)&&a.call(P)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){T=new R;try{for(var I=e.__values(i.fromEn(n.oldItems)),x=I.next();!x.done;x=I.next()){var k=x.value;T.add1(k)}}catch(t){h={error:t}}finally{try{x&&!x.done&&(u=I.return)&&u.call(I)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new L).addedItems=j,l.removedItems=T,l.currentItems=c.ai,l))}},n.prototype.hh=function(t,n){var r,o,s,a,h,u,l,c=this;if(!this.bw&&null!=this.actualDataSource&&!this.bp){switch(this.bp=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.eg(n.newItems.item(p));this.ai.ae.insert1(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.ai.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.ai.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.eg(n.newItems.item(g));this.ai.ae.insert1(g+n.newStartingIndex,y)}break;case 4:this.ai.clear();try{for(var m=e.__values(i.fromEnum(this.al.ae)),_=m.next();!_.done;_=m.next()){var v=_.value,C=this.eg(v);this.ai.add1(C)}}catch(t){r={error:t}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.aq.af(),this.bp=!1}if(this.b2&&null!=this.selectedKeysChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){(j=new $).ag=!1;try{for(var P=e.__values(i.fromEn(n.newItems)),w=P.next();!w.done;w=P.next()){var O=w.value;j.add(O)}}catch(t){s={error:t}}finally{try{w&&!w.done&&(a=P.return)&&a.call(P)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){(T=new $).ag=!1;try{for(var I=e.__values(i.fromEn(n.oldItems)),x=I.next();!x.done;x=I.next()){var k=x.value;T.add(k)}}catch(t){h={error:t}}finally{try{x&&!x.done&&(u=I.return)&&u.call(I)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new M).addedKeys=j,l.removedKeys=T,l.currentKeys=c.al,l))}},n.prototype.hm=function(t,e){this.g0()},n.prototype.gn=function(t,e){if(null==t){var i=this.al.ae.indexOf(e);i>-1&&this.ai.ae.count>0&&(t=this.ai.ae._inner[i])}null!=t&&(this.bw=!0,this.bb?(this.cm.add1(t),this.cn.add(e),this.bc&&this.ff(t,e,!1)):this.ff(t,e,!0),this.bw=!1)},n.prototype.hn=function(t,e){this.g0()},n.prototype.go=function(t,e){if(null==t){var i=this.al.ae.indexOf(e);i>-1&&this.ai.ae.count>0&&(t=this.ai.ae._inner[i])}null!=t&&(this.bw=!0,this.bb?(this.co.add1(t),this.cp.add(e),this.bc&&this.g9(t,e,!1)):this.g9(t,e,!0),this.bw=!1)},n.prototype.ff=function(t,e,i){var n=this.b2;this.b2=!1,this.bp||(this.ai.add1(t),this.al.add(e)),this.b2=n,i&&(this.gq(null,t),this.gr(null,e))},n.prototype.ho=function(t,e,i){var n=this.b2;this.b2=!1;this.ai.ae._inner[t];this.bp||(this.ai.ae._inner[t]=e),this.b2=n,this.gq(e,e)},n.prototype.g9=function(t,e,i){var n=this.b2;this.b2=!1,this.bp||(this.ai.remove1(t),this.al.remove(e)),this.b2=n,i&&(this.gq(t,null),this.gr(e,null))},n.prototype.gq=function(t,e){if(!this.cl&&null!=this.selectedItemsChanged){var i=new L;if(i.currentItems=this.ai,null!=t){var n=new R;n.add1(t),i.removedItems=n}if(null!=e){var r=new R;r.add1(e),i.addedItems=r}this.selectedItemsChanged(this,i)}},n.prototype.gr=function(t,e){if(!this.cl&&null!=this.selectedKeysChanged){var i=new M;i.currentKeys=this.al,null!=t&&(i.removedKeys=new $,i.removedKeys.ag=!1,i.removedKeys.add(t)),null!=e&&(i.addedKeys=new $,i.addedKeys.ag=!1,i.addedKeys.add(e)),this.selectedKeysChanged(this,i)}},n.prototype.gp=function(t,e){if(!this.cl&&null!=this.selectedItemsChanged){var i=new L;i.currentItems=this.ai,null!=t&&(i.removedItems=new R,i.removedItems.o(t)),null!=e&&(i.addedItems=new R,i.addedItems.o(e)),this.selectedItemsChanged(this,i)}},n.prototype.gs=function(t,e){if(!this.cl&&null!=this.selectedKeysChanged){var i=new M;i.currentKeys=this.al,null!=t&&(i.removedKeys=new $,i.removedKeys.ag=!1,i.removedKeys.o(t)),null!=e&&(i.addedKeys=new $,i.addedKeys.ag=!1,i.addedKeys.o(e)),this.selectedKeysChanged(this,i)}},n.prototype.fm=function(){if((1==this.as||2==this.as)&&this.ai.ae.count>0){for(var t=new i.List$1(i.Base.$,0),e=new i.List$1(E.$,0),n=0;n<this.ai.ae.count;n++)t.add1(this.ai.ae._inner[n]),e.add(this.al.ae._inner[n]);this.bw=!0,this.ai.clear(),this.al.clear(),this.cl=!0,this.aq.af(),this.cl=!1,this.bw=!1,this.gp(t,null),this.gs(e,null),this.aq.z(-1)}},n.prototype.h=function(t){return null==this.actualDataSource||t<0||t>=this.d4()?0:this.actualDataSource.getRowType(t)},n.prototype.d9=function(t,e,n,r){if(null==this.actualDataSource||n<0)return-1;for(var o=n;o<=r&&!(o>this.actualDataSource.actualCount-1);o++){var s=this.actualDataSource.getItemAtIndex(o);if(null!=s){var a=this.ae(t,s);if(null!=a){if(null!=a.value&&1==a.value.length&&null!=a.value[0]&&i.getInstanceType(a.value[0])==i.DataSourceSpecialRow.$&&null!=e.value&&1==e.value.length&&null!=e.value[0]&&i.getInstanceType(e.value[0])==i.DataSourceSpecialRow.$){var h=i.typeCast(i.DataSourceSpecialRow.$,a.value[0]),u=i.typeCast(i.DataSourceSpecialRow.$,e.value[0]);if(h.rowType==u.rowType&&3==h.rowType&&h.targetRow==u.targetRow)return o}if(a.equals(e))return o}}}return-1},n.prototype.ei=function(t){return t<0||t>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(t)},n.prototype.dx=function(t,e,i,n){var r=this.d9(t,e,i,n);return r>=0?r:this.d8(e)},n.prototype.d4=function(){return null==this.actualDataSource?0:this.actualDataSource.actualCount},n.prototype.ej=function(t){var e=t.v;return e<0||e>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(e)},n.prototype.gt=function(t,e,i){this.bw=!0,this.ho(t,e,i),this.bw=!1},n.prototype.hk=function(t,e){this.g0()},n.prototype.gb=function(t){if(this.bq||(this.dt=t),null!=this.activeRowChanged){var e=new H;e.newActiveRow=this.dt,e.oldActiveRow=this.dg,this.activeRowChanged(this,e)}this.gc()},n.prototype.hl=function(t,e){this.g0()},n.prototype.ge=function(t){var e=this.dt;if(this.bq||(this.dt=t),null!=this.activeRowChanged){var i=new H;i.newActiveRow=this.dt,i.oldActiveRow=e,this.activeRowChanged(this,i)}this.gc()},n.prototype.gc=function(){},n.prototype.ck=function(t){var e=this.dv(t);return-1!=e&&(this.hd(e),!0)},n.prototype.gj=function(t,e,i,n){if(this.by){var r=this.y(t);this.x=r}},n.prototype.y=function(t){for(var e=0;e<this.a2.o.count;e++)if(!this.a2.p._inner[e]){this.a2.o._inner[e];var i=this.a2.q._inner[e];if(this.ch(i,t))return i}return null},n.prototype.ch=function(t,e){var i=e.y+this.ay.d.top,n=e.x+this.ay.d.left,r=this.cz,o=this.c4,s=t.v,a=-1;return 2==this.ad&&(s=this.d7(s),a=this.d6(s),r=this.cw._inner[a].a),this.bz&&(o=this.cq._inner[s]),1==this.ad&&(r=this.cu._inner[s]),n>=t.s&&n<=t.s+r&&i>=t.u&&i<=t.u+o},n.prototype.gk=function(t,e,i,n){if(this.by){var r=this.y(t);null!=r&&r==this.x&&this.gd(r,e,i,n)}},n.prototype.gd=function(t,e,i,n){var r,o=this;e&&(this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear(),this.bo=!1,this.aq.o(t,i,n,0==this.an),this.gu(),1==this.r&&this.p.n(t)),null!=this.itemClicked&&this.itemClicked(t,((r=new st).itemInfo=t,r.listPanel=o,r.isLeftButton=e,r.isDoubleClick=!1,r))},n.prototype.fo=function(t){for(var e=0;e<this.a2.o.count;e++)this.a2.p._inner[e]||this.a2.q._inner[e].x==t&&(this.a2.q._inner[e].m=!0)},n.$t=i.markType(n,"ListPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.hy=null,n.ac=0,n.bt=!1,n.hz=i.BrushUtil.h(255,24,29,31),n}(i.Base),it=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.d=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateItemUpdatingEventArgs"),n}(i.Base),nt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.a.gg(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.gv(t,e,i)},n.prototype.notifyClearItems=function(){this.a.gf()},n.prototype.notifyInsertItem=function(t,e){this.a.gi(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.gm(t,e)},n.$t=i.markType(n,"ListPanelDataSourceNotificationBridge",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),rt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.g=function(t){this.a.ae=t.width,this.a.y=t.height},n.prototype.h=function(){return this.a.be()},n.prototype.b=function(t){return this.a.bs(t)},n.prototype.c=function(t){return this.a.bt(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bn(e.b.a)),0==t.ad?(i.isNaN_(t.absoluteWidth)||(e.b.a.ae=t.absoluteWidth),e.b.a.y=t.c5(e.v)):2==t.ad?(e.b.a.ae=t.c6(e.v),e.b.a.y=t.c5(e.v)):(e.b.a.ae=t.c6(e.v),e.b.a.y=t.absoluteHeight),e.o&&(e.o=!1,this.a.bu(e.b.a,e.s),this.a.bv(e.b.a,e.u))},n.prototype.e=function(t){this.a.bv(t,-1e3),this.a.bu(t,-1e3)},n.prototype.f=function(t){t.s=-1e3,t.u=-1e3,null!=t.b&&this.e(t.b.a)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),ot=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=!1,e.v=0,e.t=0,e.w=null,e.b=null,e.e=!1,e.l=!1,e.g=!0,e.h=!0,e.q=0,e.r=0,e.c=!1,e.d=!1,e.f=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){this.w!=t&&(this.m=!0),this.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.e},set:function(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.g},set:function(t){this.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.h},set:function(t){this.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&(this.p=!0)},enumerable:!1,configurable:!0}),n.prototype.a=function(t){var e=new Y;e.b=t.b(this.b.a),e.c=t.c(this.b.a);var i=this.b.a.be();return e.d=i.width,e.a=i.height,e},n.$t=i.markType(n,"ListPanelItemModel"),n}(i.Base),st=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._itemInfo=null,e._listPanel=null,e._isLeftButton=!1,e._isDoubleClick=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"itemInfo",{get:function(){return this._itemInfo},set:function(t){this._itemInfo=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"listPanel",{get:function(){return this._listPanel},set:function(t){this._listPanel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isLeftButton",{get:function(){return this._isLeftButton},set:function(t){this._isLeftButton=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDoubleClick",{get:function(){return this._isDoubleClick},set:function(t){this._isDoubleClick=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelItemEventArgs",i.EventArgs.$),n}(i.EventArgs),at=function(t){function n(e){var n=t.call(this)||this;return n.a=null,n.d=new i.FastIterationDictionary$2(E.$,i.Number_$type,0),n.c=new i.FastIterationDictionary$2(E.$,i.FastIterationDictionary$2.$.specialize(i.Number_$type,i.Number_$type),0),n.e=!1,n.m=-1,n.b=null,n.a=e,n}return e.__extends(n,t),n.prototype.ab=function(t){this.f(t)&&(this.j(t)?this.ac(t):this.w(t))},n.prototype.f=function(t){return!0},n.prototype.aa=function(t){this.f(t)&&(this.e=!0,this.w(t),this.e=!1)},n.prototype.n=function(t){return t.v},n.prototype.j=function(t){var e=this.n(t);if(-1==e)return!1;if(this.g(e))return!1;var i=this.a.af(this.a.e(),e);if(null==i)return!1;var n=this.d.d(i);if(n){if(-1==this.d.item(i))this.d.item(i,e);else if(this.d.item(i)!=e)return!1;var r=this.a.al.al(i);if(r>=0&&null==this.a.ai.ae._inner[r]){var o=this.a.ej(t);this.a.gt(r,o,i)}}return n},n.prototype.g=function(t){return!1},n.prototype.h=function(t){return this.d.d(t)},n.prototype.i=function(){return 1==this.a.as||2==this.a.as},n.prototype.ac=function(t){var e=this.n(t);if(-1!=e&&!this.g(e)){var i=this.a.af(this.a.e(),e);this.h(i)&&this.ad(i,e,!1)}},n.prototype.w=function(t){if(0!=this.a.as){var e=!1,n=null,r=this.n(t);if(r>-1&&(this.g(r)||(n=this.a.af(this.a.e(),r))),1==this.a.as||this.e){for(var o=this.d.o,s=this.d.p,a=new i.List$1(E.$,0),h=new i.List$1(i.Number_$type,0),u=0;u<o.count;u++)s._inner[u]||(o._inner[u].equals(n)?e=!0:(a.add(o._inner[u]),h.add(this.d.q._inner[u])));this.a.fg(),this.d.g=!0;for(var l=0;l<a.count;l++)this.ad(a._inner[l],h._inner[l],!1);this.d.g=!1,this.a.fq()}null==n||e||this.i()&&this.x(n,r,!1)}},n.prototype.x=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ae(this.a.e(),s.targetRow),h=this.a.d9(this.a.e(),a,this.a.d0(),this.a.d2());this.y(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.ei(e)),this.y(t,e,u,r)},n.prototype.y=function(t,e,i,n){if(!this.d.d(t)&&(this.d.s(t,e),null!=this.a.ay.c&&null!=this.a.ay.b)){var r=e>=this.a.ay.c&&e<=this.a.ay.b;null==i&&(r=!0),r&&this.a.hm(this.a,e)}n&&this.a.gn(i,t)},n.prototype.ae=function(t,e,i,n){if(this.d.d(t)&&(this.d.f(t),-1!=this.a.ay.c&&-1!=this.a.ay.b)){var r=e>=this.a.ay.c&&e<=this.a.ay.b;if(null==i&&(r=!0),r){var o=this.a.af(this.a.e(),e);null!=o&&o.equals(t)&&e>=0&&this.a.hn(this.a,e)}}n&&this.a.go(i,t)},n.prototype.ad=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ae(this.a.e(),s.targetRow),h=this.a.d9(this.a.e(),a,this.a.d0(),this.a.d2());this.ae(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.ei(e)),this.ae(t,e,u,r)},n.prototype.af=function(){for(var t=this.l(),e=new i.Dictionary$2(E.$,i.Number_$type,0),n=0;n<t.count;n++){var r=t.item(n),o=-1;this.d.d(r)&&(o=this.d.item(r)),-1==o&&(o=this.a.d9(this.a.e(),r,this.a.d0(),this.a.d2())),e.containsKey(r)||e.addItem(r,o),this.h(r)||this.x(r,o,!0)}for(var s=this.d.o,a=this.d.p,h=new i.List$1(E.$,0),u=new i.List$1(i.Number_$type,0),l=0;l<s.count;l++)if(!a._inner[l]){var c=s._inner[l];e.containsKey(c)||(h.add(c),u.add(this.d.q._inner[l]))}for(var p=0;p<u.count;p++)this.ad(h._inner[p],u._inner[p],!1);for(var f=0;f<this.a.ai.ae.count;f++){var d=this.a.ae(this.a.e(),this.a.ai.ae._inner[f]);if(null!=d&&!e.containsKey(d)){var b=-1;this.d.d(d)&&(b=this.d.item(d)),-1==b&&(b=this.a.dx(this.a.e(),d,this.a.d0(),this.a.d2())),this.ad(d,b,!1)}}},n.prototype.l=function(){return this.a.al.ae},n.prototype.q=function(){this.p()},n.prototype.r=function(t){for(var e=0;e<this.d.o.count;e++)if(!this.d.p._inner[e]){var i=this.d.o._inner[e],n=this.d.q._inner[e];n>=t&&this.d.item(i,n+1)}for(var r=0;r<this.c.o.count;r++)if(!this.c.p._inner[r])for(var o=this.c.o._inner[r],s=this.c.q._inner[r],a=0;a<s.o.count;a++)if(!this.c.item(o).p._inner[a]){var h=s.o._inner[a],u=this.c.item(o).item(h);u>=t&&this.c.item(o).item(h,u+1)}},n.prototype.u=function(t,e,i){this.ae(t,e,i,!0)},n.prototype.s=function(t,e){for(var n=new i.List$1(E.$,0),r=new i.List$1(i.Number_$type,0),o=0;o<this.d.o.count;o++)if(!this.d.p._inner[o]){var s=this.d.o._inner[o],a=this.d.q._inner[o];a==t&&(n.add(s),r.add(a)),a>t&&this.d.item(s,a-1)}for(var h=0;h<n.count;h++)this.u(n._inner[h],r._inner[h],e);for(var u=0;u<this.c.o.count;u++)if(!this.c.p._inner[u])for(var l=this.c.o._inner[u],c=this.c.q._inner[u],p=0;p<c.o.count;p++)if(!this.c.item(l).p._inner[p]){var f=c.o._inner[p],d=this.c.item(l).item(f);d==t&&this.c.item(l).item(f,-1),d>t&&this.c.item(l).item(f,d-1)}},n.prototype.t=function(t){for(var e=new i.List$1(E.$,0),n=new i.List$1(i.Number_$type,0),r=0;r<this.d.o.count;r++)if(!this.d.p._inner[r]){var o=this.d.o._inner[r],s=this.d.q._inner[r];s==t&&(e.add(o),n.add(s))}for(var a=0;a<e.count;a++)this.ad(e._inner[a],n._inner[a],!0)},n.prototype.p=function(){for(var t=new i.List$1(i.Number_$type,0),e=new i.HashSet$1(i.Number_$type,0),n=0;n<this.d.o.count;n++)if(!this.d.p._inner[n]){var r=this.d.o._inner[n];t.add(this.d.item(r));var o=this.a.d9(this.a.e(),r,this.a.d0(),this.a.d2());e.add_1(o),this.d.item(r,-1)}for(var s=0;s<t.count;s++)e.contains(t._inner[s])||this.a.hn(this.a,t._inner[s])},n.prototype.k=function(t){return 2==this.a.as},n.prototype.z=function(t){this.m=t},n.prototype.o=function(t,e,i,n){var r,o=this;if(void 0===n&&(n=!1),this.f(t))if((e=!!this.k(this.a.as)&&e)&&-1!=this.m){var s=((r=new Z).f=Math.min(o.m,t.v),r.d=Math.max(o.m,t.v),r);if(this.a.fg(),null!=this.b)for(var a=this.b.f;a<=this.b.d;a++)if(!s.b(a)){var h=this.a.af(this.a.e(),a);null!=h&&this.d.d(h)&&this.ad(h,a,!1)}for(var u=s.f;u<=s.d;u++){var l=this.a.af(this.a.e(),u);null==l||this.d.d(l)||this.x(l,u,!1)}this.a.fq(),this.b=s}else i||n?this.ab(t):this.aa(t),this.b=null,this.j(t)?this.m=t.v:this.m=-1},n.prototype.v=function(){if(null!=this.a.actualDataSource){this.a.fg();for(var t=this.a.d4(),e=0;e<t;e++){var n=this.a.actualDataSource.getItemAtIndex(e);if(null===i.typeCast(i.DataSourceSpecialRow.$,n)){var r=this.a.af(this.a.e(),e);null==r||this.d.d(r)||this.x(r,e,!1)}}this.a.fq()}},n.$t=i.markType(n,"ListPanelSelectionManager"),n}(i.Base),ht=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.b=!1,i.g=-1,i.h=-1,i.j=null,i.a=e,i}return e.__extends(n,t),n.prototype.v=function(t){this.f(t)&&(this.c(t)?this.q(t):this.n(t))},n.prototype.f=function(t){return!0},n.prototype.c=function(t){var e=this.i(t);return-1!=e&&(!(this.g<0)&&(e==this.g&&this.d(e)))},n.prototype.i=function(t){return t.v},n.prototype.d=function(t){return this.g==t},n.prototype.e=function(){return 1==this.a.r},n.prototype.o=function(){this.g>=0&&this.p(this.g,!0)},n.prototype.q=function(t){var e=this.i(t);-1!=e&&this.d(e)&&this.p(e,!0)},n.prototype.n=function(t){this.m(t)},n.prototype.m=function(t){if(this.f(t)&&this.e()){this.g>=0&&this.p(this.g,!1);var e=this.i(t);-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.k=function(t){if(this.e()&&t!=this.g){this.g>=0&&this.p(this.g,!1);var e=t;-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.l=function(t,e){t!=this.g&&(this.g=t,t>=0&&(t>=0&&this.a.d4(),this.a.hk(this.a,t)),e&&this.a.gb(t))},n.prototype.p=function(t,e){this.d(t)&&(this.g=-1,t>=0&&(t>=0&&this.a.d4(),this.a.hl(this.a,t)),e&&this.a.ge(t))},n.prototype.r=function(){this.g=-1},n.prototype.s=function(t){},n.prototype.t=function(t){},n.prototype.u=function(t){},n.$t=i.markType(n,"ListPanelActivationManager"),n}(i.Base),ut=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ot},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.v},set:function(t){this.i.v=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.t},set:function(t){this.i.t=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.x},set:function(t){this.i.x=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.i.s},set:function(t){this.i.s=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.i.u},set:function(t){this.i.u=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivationSupported",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t)},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new it},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableWidth",{get:function(){return this.i.c},set:function(t){this.i.c=+t},enumerable:!1,configurable:!0}),t}(),ct=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new G},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),pt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new K},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new X},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),dt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.onDownArrow=function(t,e){return this.a.b3(t,e)},n.prototype.onEnd=function(t,e){return this.a.b4(t,e)},n.prototype.onHome=function(t,e){return this.a.b8(t,e)},n.prototype.onLeftArrow=function(t,e){return this.a.ca(t,e)},n.prototype.onPageDown=function(t,e){return this.a.cb(t,e)},n.prototype.onPageUp=function(t,e){return this.a.cc(t,e)},n.prototype.onRightArrow=function(t,e){return this.a.cd(t,e)},n.prototype.onTab=function(t,e){return this.a.cf(t,e)},n.prototype.onUpArrow=function(t,e){return this.a.cg(t,e)},n.prototype.onWheel=function(){this.a.gx()},n.prototype.onEnter=function(t,e){return this.a.b5(t,e)},n.prototype.onEscape=function(){return this.a.b6()},n.prototype.onF2=function(){return this.a.b7()},n.prototype.onSpace=function(t,e){return this.a.ce(t,e)},n.prototype.onKeyDown=function(t,e,i){return this.a.b9(t,e,i)},n.$t=i.markType(n,"ListPanelScrollerKeyboardListener",i.Base.$,[i.IScrollerKeyboardListener_$type]),n}(i.Base),bt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new st},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"itemInfo",{get:function(){var t=this.i.itemInfo;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.itemInfo=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listPanel",{get:function(){var t=this.i.listPanel;return null==t?null:t.externalObject},set:function(t){this.i.listPanel=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLeftButton",{get:function(){return this.i.isLeftButton},set:function(t){this.i.isLeftButton=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDoubleClick",{get:function(){return this.i.isDoubleClick},set:function(t){this.i.isDoubleClick=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),gt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new H},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newActiveRow",{get:function(){return this.i.newActiveRow},set:function(t){this.i.newActiveRow=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldActiveRow",{get:function(){return this.i.oldActiveRow},set:function(t){this.i.oldActiveRow=+t},enumerable:!1,configurable:!0}),t}(),yt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new F},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),mt=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),_t=function(t){function n(e){var n=t.call(this)||this;if(mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(mt.$type,E.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new mt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),vt=function(){function t(){this._currentKeys=null,this._addedKeys=null,this._removedKeys=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentKeys",{get:function(){if(null===this._currentKeys){var t=new _t,e=this.i.currentKeys;e||(e=new $),this._currentKeys=t._fromInner(e),this.i.currentKeys=e}return this._currentKeys},set:function(t){null!==this._currentKeys&&(this._currentKeys._setSyncTarget(null),this._currentKeys=null);var e=new _t;this._currentKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.currentKeys;r||(r=new $),n._inner=r,n.clear(),this._currentKeys._setSyncTarget(n),this.i.currentKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedKeys",{get:function(){if(null===this._addedKeys){var t=new _t,e=this.i.addedKeys;e||(e=new $),this._addedKeys=t._fromInner(e),this.i.addedKeys=e}return this._addedKeys},set:function(t){null!==this._addedKeys&&(this._addedKeys._setSyncTarget(null),this._addedKeys=null);var e=new _t;this._addedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.addedKeys;r||(r=new $),n._inner=r,n.clear(),this._addedKeys._setSyncTarget(n),this.i.addedKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedKeys",{get:function(){if(null===this._removedKeys){var t=new _t,e=this.i.removedKeys;e||(e=new $),this._removedKeys=t._fromInner(e),this.i.removedKeys=e}return this._removedKeys},set:function(t){null!==this._removedKeys&&(this._removedKeys._setSyncTarget(null),this._removedKeys=null);var e=new _t;this._removedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.removedKeys;r||(r=new $),n._inner=r,n.clear(),this._removedKeys._setSyncTarget(n),this.i.removedKeys=r},enumerable:!1,configurable:!0}),t}(),Ct=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),jt=function(){function t(){this._currentItems=null,this._addedItems=null,this._removedItems=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new L},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentItems",{get:function(){if(null===this._currentItems){var t=new Ct,e=this.i.currentItems;e||(e=new R),this._currentItems=t._fromInner(e),this.i.currentItems=e}return this._currentItems},set:function(t){null!==this._currentItems&&(this._currentItems._setSyncTarget(null),this._currentItems=null);var e=new Ct;this._currentItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.currentItems;r||(r=new R),n._inner=r,n.clear(),this._currentItems._setSyncTarget(n),this.i.currentItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedItems",{get:function(){if(null===this._addedItems){var t=new Ct,e=this.i.addedItems;e||(e=new R),this._addedItems=t._fromInner(e),this.i.addedItems=e}return this._addedItems},set:function(t){null!==this._addedItems&&(this._addedItems._setSyncTarget(null),this._addedItems=null);var e=new Ct;this._addedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.addedItems;r||(r=new R),n._inner=r,n.clear(),this._addedItems._setSyncTarget(n),this.i.addedItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedItems",{get:function(){if(null===this._removedItems){var t=new Ct,e=this.i.removedItems;e||(e=new R),this._removedItems=t._fromInner(e),this.i.removedItems=e}return this._removedItems},set:function(t){null!==this._removedItems&&(this._removedItems._setSyncTarget(null),this._removedItems=null);var e=new Ct;this._removedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.removedItems;r||(r=new R),n._inner=r,n.clear(),this._removedItems._setSyncTarget(n),this.i.removedItems=r},enumerable:!1,configurable:!0}),t}(),Pt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new V},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.rowObject},set:function(t){this.i.rowObject=t},enumerable:!1,configurable:!0}),t}(),wt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new U},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.rowObject},set:function(t){this.i.rowObject=t},enumerable:!1,configurable:!0}),t}(),Ot=function(t){function n(){var e=t.call(this)||this;e._implementation=null,e._scroller=null,e._disconnected=!1,e._dataSource=null,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._selectedItems=null,e._selectedKeys=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._itemRecycled=null,e._itemRecycled_wrapped=null,e._itemRebind=null,e._itemRebind_wrapped=null,e._selectedItemsChanged=null,e._selectedItemsChanged_wrapped=null,e._selectedKeysChanged=null,e._selectedKeysChanged_wrapped=null,e._selectionChanged=null,e._selectionChanged_wrapped=null,e._activeRowChanged=null,e._activeRowChanged_wrapped=null,e._contentRefreshed=null,e._contentRefreshed_wrapped=null,e._rowUpdating=null,e._rowUpdating_wrapped=null,e._itemWidthRequested=null,e._itemWidthRequested_wrapped=null,e._itemHeightRequested=null,e._itemHeightRequested_wrapped=null,e._itemClicked=null,e._itemClicked_wrapped=null,e._actualPrimaryKeyChange=null,e._actualPrimaryKeyChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{}),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.externalListPanel=e,e.i.provideContainer(e._webComponentRenderer),e.i.viewportManager=e;var n=new i.Scroller;return n.scrollbarStyle=e.scrollbarStyle,e._scroller=n,e._scroller.keyboardListener=new dt(e.i),n.provideContainer(e._webComponentRenderer),e._content=e.i.view.contentGrid,n.provideContent(new i.WebComponentWrapper(e._content,e._webComponentRenderer)),n.onScrolling=function(){return e.onScroll()},n.onScrollStart=function(){return e.onScrollStart()},n.onScrollStop=function(){return e.onScrollStop()},n.viewportWidth=e._webComponentRenderer.rootWrapper.width(),n.viewportHeight=e._webComponentRenderer.rootWrapper.height(),e.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.notifySizeChanged()})),e}return e.__extends(n,t),n.prototype.setScrollbarStyle=function(t){this._scroller&&(this._scroller.scrollbarStyle=t)},n.prototype.setScrollbarColor=function(t){this._scroller&&(this._scroller.scrollbarBrush=t)},Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},n.prototype.createLocalDataSource=function(t,e){var n=new i.LocalDataSource;return n.schemaIncludedProperties=e,n.dataSource=t,n},n.prototype.onContentSizeChanged=function(){var t=this.i.absoluteWidth,e=this.i.absoluteHeight;null==this._scroller||isNaN(t)||isNaN(e)||(this._scroller.contentWidth=t,this._scroller.contentHeight=e)},n.prototype.moveViewportTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.onScroll=function(){var t=this._scroller.scrollTop,e=this._scroller.scrollLeft,i=this._scroller.viewportWidth,n=this._scroller.viewportHeight;this.i.setViewport(e,t,e+i,t+n)},n.prototype.onScrollStart=function(){},n.prototype.onScrollStop=function(){},n.prototype._scrollTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new et},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected||this.i&&this._scroller&&this._scroller.onDetachedFromUI(),this._disconnected=!0},n.prototype.notifySizeChanged=function(){if(this._webComponentRenderer){var t=this._webComponentRenderer.rootWrapper.width(),e=this._webComponentRenderer.rootWrapper.height();this._scroller.viewportWidth=t,this._scroller.viewportHeight=e,this._scroller.onViewportSizeChanged(t,e,!0)}this.i.notifySizeChanged()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this._scroller&&this._scroller.onAttachedToUI());this.classList.add("ig-list-panel"),this.classList.add("igc-list-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.notifySizeChanged()},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t,null!=this._implementation&&(this._implementation.itemsSource=this._dataSource)},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcListPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcListPanelComponent=t}return n._observedAttributesIgcListPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectionMode",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureEnum(k,t),this._a("selectionMode",i.enumToString(k,this.i.as))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isActiveRowStyleEnabled",{get:function(){return this.i.bx},set:function(t){this.i.bx=i.ensureBool(t),this._a("isActiveRowStyleEnabled",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedBackground",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("selectedBackground",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normalBackground",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("normalBackground",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorder",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("activationBorder",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderLeftWidth",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("activationBorderLeftWidth",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderTopWidth",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("activationBorderTopWidth",this.i.ds)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderRightWidth",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("activationBorderRightWidth",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderBottomWidth",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("activationBorderBottomWidth",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationMode",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(A,t),this._a("activationMode",i.enumToString(A,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionBehavior",{get:function(){return this.i.an},set:function(t){this.i.an=i.ensureEnum(B,t),this._a("selectionBehavior",i.enumToString(B,this.i.an))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKey",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItems",{get:function(){if(null===this._selectedItems){var t=new Ct,e=this.i.ai;e||(e=new R),this._selectedItems=t._fromInner(e)}return this._selectedItems},set:function(t){null!==this._selectedItems&&(this._selectedItems._setSyncTarget(null),this._selectedItems=null);var e=new Ct;this._selectedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.ai;r||(r=new R),n._inner=r,n.clear(),this._selectedItems._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new _t,e=this.i.al;e||(e=new $),this._selectedKeys=t._fromInner(e)}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new _t;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.al;r||(r=new $),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"schemaIncludedProperties",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.ec},set:function(t){this.i.ec=+t,this._a("rowHeight",this.i.ec)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("actualRowHeight",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.a4?null:this.i.a4.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a4=e,this._a("cellTextStyle",null!=this.i.a4?this.i.a4.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasUnevenSizes",{get:function(){return this.i.bv},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.a0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarBackground",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("scrollbarBackground",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureEnum(D,t),this._a("orientation",i.enumToString(D,this.i.ad))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.bz},set:function(t){this.i.bz=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRow",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("activeRow",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"notifyOnAllSelectionChanges",{get:function(){return this.i.b2},set:function(t){this.i.b2=i.ensureBool(t),this._a("notifyOnAllSelectionChanges",this.i.b2)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(t)?this.selectedKeys.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ListPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.getRowKey=function(t,e){var i=this.i.af(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new mt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getItemKey=function(t,e){var i=this.i.ae(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new mt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getLastVisibleIndex=function(){return this.i.d2()},n.prototype.getFirstVisibleIndex=function(){return this.i.d0()},n.prototype.invalidateVisibleItems=function(){this.i.f3()},n.prototype.notifySetItem=function(t,e,i){this.i.f9(t,e,i)},n.prototype.notifyClearItems=function(){this.i.f6()},n.prototype.notifyInsertItem=function(t,e){this.i.f7(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.f8(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.dv(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.dw(t)},n.prototype.exportVisualData=function(){return this.i.ef()},n.prototype.exportSerializedVisualData=function(){return this.i.ex()},n.prototype.selectAllRows=function(){this.i.hf()},n.prototype.scrollToRowByIndex=function(t){this.i.hd(t)},n.prototype.scrollToLastRowByIndex=function(t){this.i.hb(t)},n.prototype.deselectAllRows=function(){this.i.fm()},Object.defineProperty(n.prototype,"itemRecycled",{get:function(){return this._itemRecycled},set:function(t){var e=this;null!==this._itemRecycled_wrapped&&(this.i.itemRecycled=i.delegateRemove(this.i.itemRecycled,this._itemRecycled_wrapped),this._itemRecycled_wrapped=null,this._itemRecycled=null),this._itemRecycled=t,this._itemRecycled_wrapped=function(t,i){var n=new Pt;n._provideImplementation(i),e.beforeItemRecycled&&e.beforeItemRecycled(e,n),e._itemRecycled&&e._itemRecycled(e,n)},this.i.itemRecycled=i.delegateCombine(this.i.itemRecycled,this._itemRecycled_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemRebind",{get:function(){return this._itemRebind},set:function(t){var e=this;null!==this._itemRebind_wrapped&&(this.i.itemRebind=i.delegateRemove(this.i.itemRebind,this._itemRebind_wrapped),this._itemRebind_wrapped=null,this._itemRebind=null),this._itemRebind=t,this._itemRebind_wrapped=function(t,i){var n=new wt;n._provideImplementation(i),e.beforeItemRebind&&e.beforeItemRebind(e,n),e._itemRebind&&e._itemRebind(e,n)},this.i.itemRebind=i.delegateCombine(this.i.itemRebind,this._itemRebind_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemsChanged",{get:function(){return this._selectedItemsChanged},set:function(t){var e=this;null!==this._selectedItemsChanged_wrapped&&(this.i.selectedItemsChanged=i.delegateRemove(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped),this._selectedItemsChanged_wrapped=null,this._selectedItemsChanged=null),this._selectedItemsChanged=t,this._selectedItemsChanged_wrapped=function(t,i){var n=new jt;n._provideImplementation(i),e.beforeSelectedItemsChanged&&e.beforeSelectedItemsChanged(e,n),e._selectedItemsChanged&&e._selectedItemsChanged(e,n)},this.i.selectedItemsChanged=i.delegateCombine(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeysChanged",{get:function(){return this._selectedKeysChanged},set:function(t){var e=this;null!==this._selectedKeysChanged_wrapped&&(this.i.selectedKeysChanged=i.delegateRemove(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped),this._selectedKeysChanged_wrapped=null,this._selectedKeysChanged=null),this._selectedKeysChanged=t,this._selectedKeysChanged_wrapped=function(t,i){var n=new vt;n._provideImplementation(i),e.beforeSelectedKeysChanged&&e.beforeSelectedKeysChanged(e,n),e._selectedKeysChanged&&e._selectedKeysChanged(e,n)},this.i.selectedKeysChanged=i.delegateCombine(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionChanged",{get:function(){return this._selectionChanged},set:function(t){var e=this;null!==this._selectionChanged_wrapped&&(this.i.selectionChanged=i.delegateRemove(this.i.selectionChanged,this._selectionChanged_wrapped),this._selectionChanged_wrapped=null,this._selectionChanged=null),this._selectionChanged=t,this._selectionChanged_wrapped=function(t,i){var n=new yt;n._provideImplementation(i),e.beforeSelectionChanged&&e.beforeSelectionChanged(e,n),e._selectionChanged&&e._selectionChanged(e,n)},this.i.selectionChanged=i.delegateCombine(this.i.selectionChanged,this._selectionChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRowChanged",{get:function(){return this._activeRowChanged},set:function(t){var e=this;null!==this._activeRowChanged_wrapped&&(this.i.activeRowChanged=i.delegateRemove(this.i.activeRowChanged,this._activeRowChanged_wrapped),this._activeRowChanged_wrapped=null,this._activeRowChanged=null),this._activeRowChanged=t,this._activeRowChanged_wrapped=function(t,i){var n=new gt;n._provideImplementation(i),e.beforeActiveRowChanged&&e.beforeActiveRowChanged(e,n),e._activeRowChanged&&e._activeRowChanged(e,n)},this.i.activeRowChanged=i.delegateCombine(this.i.activeRowChanged,this._activeRowChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new ct;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowUpdating",{get:function(){return this._rowUpdating},set:function(t){var e=this;null!==this._rowUpdating_wrapped&&(this.i.rowUpdating=i.delegateRemove(this.i.rowUpdating,this._rowUpdating_wrapped),this._rowUpdating_wrapped=null,this._rowUpdating=null),this._rowUpdating=t,this._rowUpdating_wrapped=function(t,i){var n=new lt;n._provideImplementation(i),e.beforeRowUpdating&&e.beforeRowUpdating(e,n),e._rowUpdating&&e._rowUpdating(e,n)},this.i.rowUpdating=i.delegateCombine(this.i.rowUpdating,this._rowUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemWidthRequested",{get:function(){return this._itemWidthRequested},set:function(t){var e=this;null!==this._itemWidthRequested_wrapped&&(this.i.itemWidthRequested=i.delegateRemove(this.i.itemWidthRequested,this._itemWidthRequested_wrapped),this._itemWidthRequested_wrapped=null,this._itemWidthRequested=null),this._itemWidthRequested=t,this._itemWidthRequested_wrapped=function(t,i){var n=new pt;n._provideImplementation(i),e.beforeItemWidthRequested&&e.beforeItemWidthRequested(e,n),e._itemWidthRequested&&e._itemWidthRequested(e,n)},this.i.itemWidthRequested=i.delegateCombine(this.i.itemWidthRequested,this._itemWidthRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHeightRequested",{get:function(){return this._itemHeightRequested},set:function(t){var e=this;null!==this._itemHeightRequested_wrapped&&(this.i.itemHeightRequested=i.delegateRemove(this.i.itemHeightRequested,this._itemHeightRequested_wrapped),this._itemHeightRequested_wrapped=null,this._itemHeightRequested=null),this._itemHeightRequested=t,this._itemHeightRequested_wrapped=function(t,i){var n=new ft;n._provideImplementation(i),e.beforeItemHeightRequested&&e.beforeItemHeightRequested(e,n),e._itemHeightRequested&&e._itemHeightRequested(e,n)},this.i.itemHeightRequested=i.delegateCombine(this.i.itemHeightRequested,this._itemHeightRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemClicked",{get:function(){return this._itemClicked},set:function(t){var e=this;null!==this._itemClicked_wrapped&&(this.i.itemClicked=i.delegateRemove(this.i.itemClicked,this._itemClicked_wrapped),this._itemClicked_wrapped=null,this._itemClicked=null),this._itemClicked=t,this._itemClicked_wrapped=function(t,i){var n=new bt;n._provideImplementation(i),e.beforeItemClicked&&e.beforeItemClicked(e,n),e._itemClicked&&e._itemClicked(e,n)},this.i.itemClicked=i.delegateCombine(this.i.itemClicked,this._itemClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKeyChange",{get:function(){return this._actualPrimaryKeyChange},set:function(t){var e=this;null!==this._actualPrimaryKeyChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped),this._actualPrimaryKeyChange_wrapped=null,this._actualPrimaryKeyChange=null),this._actualPrimaryKeyChange=t,this._actualPrimaryKeyChange_wrapped=function(t,i){var n=e.actualPrimaryKey;"D"==i.propertyName&&(e.beforeActualPrimaryKeyChange&&e.beforeActualPrimaryKeyChange(e,n),e._actualPrimaryKeyChange&&e._actualPrimaryKeyChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcListPanelComponent=null,n.htmlTagName="igc-list-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Tt=function(){function t(){}return t.register=function(){Ot.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ot),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ot),i.TypeRegistrar.register("ListPanel",et.$type)},t}(),It=function(){function t(){}return t.register=function(){n.IgcXInputGroupModule.register(),Tt.register(),T.register(),i.TypeRegistrar.registerCons("IgcComboEditorComponent",T),i.TypeRegistrar.registerCons("IgcComboEditorComponent",T),i.TypeRegistrar.register("ComboEditor",v.$type)},t}(),xt=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t[t.TemplateRef=22]="TemplateRef",t[t.DoubleCollection=23]="DoubleCollection",t[t.Separator=24]="Separator",t[t.Header=25]="Header",t}({}),kt=i.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21|TemplateRef,22|DoubleCollection,23|Separator,24|Header,25"),St=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),At=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",i.EventArgs.$),n}(i.EventArgs),Bt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.a=null,e.g=null,e.propertyChanged=null,e.j=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!1,configurable:!0}),n.prototype.p=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.q(t,e,n)},n.prototype.q=function(t,e,i){switch(t){case"DescriptionType":case"Context":this.r()}},n.d=function(t,e,i){var r=new n;return r.j=i,r.b=t,r.n=e,r.j=null,r},n.prototype.f=function(t){var e=new Rt;return e.a3=t.propertyName,e.w=this.i(t),e.a2=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ay=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ay)?e.e=this.j.item(e.ay):e.e=n.d(this.a,e.ay,this.j)),8==e.w&&(null!=this.j&&this.j.containsKey(e.a2)?e.e=this.j.item(e.a2):e.e=n.d(this.a,e.a2,this.j)),15==e.w&&(e.c=this.a.c(this.n,e.a3),e.d=e.d),e},n.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 23:return 23;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 22:return 22;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},n.prototype.r=function(){var t=new Dt;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.b(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!i.stringEndsWith(r[o],"@names")&&!(i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion"))){var s=this.b.getMetadata(this.n,r[o]),a=this.f(s);0!=a.w&&t.add(a)}e&&(this.j=null)}this.h=t},n.prototype.e=function(t,e){if(null==t)return null;for(var n=i.stringSplit(t,[".","["],0),r=new i.List$1(i.String_$type,1,n),o=null,s=null;r.count>0;){var a=r._inner[0];r.removeAt(0);var h=!1;if(i.stringContains(a,"]")){h=!0;var u=(a=i.stringReplace(a,"]","")).split(",");if(a=u[0].trim(),i.stringContains(a,"as")){var l=a.indexOf("as");a.substr(0,l).trim(),s=a.substr(l+2).trim()}if(null!=s&&s!=this.n){var c=this.c();c.n=s,o=c;continue}}if(e&&(h=!0),null!=o&&null!==i.typeCast(Rt.$,o)){var p=o.aq(a,h);if(null==p)return null;o=p}else if(null!=o){var f=o.e(a,h);if(null==f)return null;o=f}else{if(null==this.h)return null;for(var d=0;d<this.h.count;d++)if(i.Base.equalsStatic(this.h._inner[d].a3,a)){o=this.h._inner[d];break}if(null==o)return null}}return i.typeCast(Rt.$,o)},n.prototype.c=function(){var t,e=this;return(t=new n).b=e.b,t.n=e.n,t},n.$t=i.markType(n,"PropertyEditorDataSource",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.au=null,e.aw=null,e.at=null,e.ax=null,e.u=0,e.t=0,e.av=null,e.x=!1,e.as=null,e.a=null,e.b=null,e.aa=!1,e.ao=null,e.an=null,e.ag=NaN,e.ad=NaN,e.ae=NaN,e.af=NaN,e.ah=NaN,e.g=null,e.f=null,e.k=new qt,e.j=new qt,e.y=!1,e.q=new Dt,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e.coercingValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a0",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.a8("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,this.aw!=e&&this.a8("PropertyPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,this.at!=e&&this.a8("Label",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,this.ax!=e&&this.a8("Subtitle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.a8("ValueType",i.enumGetBox(kt,e),i.enumGetBox(kt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.a8("CoercedValueType",i.enumGetBox(kt,e),i.enumGetBox(kt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,this.av!=e&&this.a8("PropertyDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.a8("ShouldOverrideDefaultEditor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,this.as!=e&&this.a8("ElementDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.a8("DropDownNames",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.a8("DropDownValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,this.ao!=e&&this.a8("PrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,this.ao!=e&&this.a8("CoercedPrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.a8("Min",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,this.ad!=e&&this.a8("EditorWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.ae!=e&&this.a8("LabelWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.af!=e&&this.a8("Max",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.a8("Step",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.g!=e&&this.a8("ComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.a8("CoercedComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.a8("ComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,this.j!=e&&this.a8("CoercedComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,this.y!=e&&this.a8("UseCoercedValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,this.q!=e&&this.a8("Properties",e,t)},enumerable:!1,configurable:!0}),n.prototype.a8=function(t,e,n){"PrimitiveValue"==t&&this.a7(),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.z=function(t){return null!=t&&(null==t.c||null!=this.c&&this.ab||(this.c=t.c),null==t.d||null!=this.d&&this.ab||(this.d=t.d),null==t.ay||null!=this.ay&&this.ab||(this.ay=t.ay),null==t.a2||null!=this.a2&&this.ab||(this.a2=t.a2),0==t.w||0!=this.w&&this.ab||(this.w=t.w,!0),0==t.v||0!=this.v&&this.ab||(this.v=t.v,!0),t.ac&&(this.ac=t.ac),!0)},n.prototype.aq=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},n.prototype.a6=function(){null!=this.buttonClicked&&this.buttonClicked(this,new St)},n.prototype.a5=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new At).newValue=e.ar,t))},n.prototype.a9=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new Nt).propertyPath=t,n.target=e,n.value=i,n))},n.prototype.a7=function(){var t,e=this;if(null!=this.coercingValue){var i=((t=new Et).value=e.ar,t.complexValue=e.i,t.complexValues=e.m,t);this.coercingValue(this,i),this.ap=i.value,this.h=i.complexValue,this.l=i.complexValues}},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._complexValue=null,e._complexValues=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){return this._complexValue},set:function(t){this._complexValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){return this._complexValues},set:function(t){this._complexValues=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCoercingValueEventArgs",i.EventArgs.$),n}(i.EventArgs),$t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObject"),n}(i.Base),qt=function(t){function n(){return t.call(this,$t.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize($t.$)),n}(i.ObservableCollection$1),Dt=function(t){function n(){return t.call(this,Rt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(Rt.$)),n}(i.ObservableCollection$1),zt=function(t){function n(e){var n=t.call(this)||this;if(Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(Gt.$type,Rt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Gt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Vt=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new zt,e=this.i.a;e||(e=new Dt),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new zt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.a;r||(r=new Dt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.a=r},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),Ut=function(t){function n(e){var n=t.call(this)||this;if(Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(Vt.$type,$t.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Vt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new St},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Mt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new At},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),Ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!1,configurable:!0}),t}(),Ht=function(){function t(){this._complexValues=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Et},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValue",{get:function(){var t=this.i.complexValue;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.complexValue=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.complexValues;e||(e=new qt),this._complexValues=t._fromInner(e),this.i.complexValues=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.complexValues;r||(r=new qt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.complexValues=r},enumerable:!1,configurable:!0}),t}(),Gt=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e._coercedComplexValues=null,e._properties=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._coercingValue=null,e._coercingValue_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Rt},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"name",{get:function(){return this.i.a0},set:function(t){this.i.a0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.az},set:function(t){this.i.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(kt,t),this._a("valueType",i.enumToString(kt,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedValueType",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(kt,t),this._a("coercedValueType",i.enumToString(kt,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ay},set:function(t){this.i.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primitiveValue",{get:function(){return this.i.ar},set:function(t){this.i.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedPrimitiveValue",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("min",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("editorWidth",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("labelWidth",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("max",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("step",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.i=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValue",{get:function(){var t=this.i.h;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.h=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.m;e||(e=new qt),this._complexValues=t._fromInner(e),this.i.m=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.m;r||(r=new qt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.m=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValues",{get:function(){if(null===this._coercedComplexValues){var t=new Ut,e=this.i.l;e||(e=new qt),this._coercedComplexValues=t._fromInner(e),this.i.l=e}return this._coercedComplexValues},set:function(t){null!==this._coercedComplexValues&&(this._coercedComplexValues._setSyncTarget(null),this._coercedComplexValues=null);var e=new Ut;this._coercedComplexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.l;r||(r=new qt),n._inner=r,n.clear(),this._coercedComplexValues._setSyncTarget(n),this.i.l=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useCoercedValue",{get:function(){return this.i.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("useCoercedValue",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new zt,e=this.i.r;e||(e=new Dt),this._properties=t._fromInner(e),this.i.r=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new zt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.r;r||(r=new Dt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.r=r},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:this.coercedComplexValue&&this.coercedComplexValue.name&&this.coercedComplexValue.name==t?this.coercedComplexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null!=this.coercedComplexValues&&this.coercedComplexValues.findByName&&this.coercedComplexValues.findByName(t)?this.coercedComplexValues.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPropertyDescriptionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},Object.defineProperty(n.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=i.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,i){var n=new Lt;n._provideImplementation(i),e.beforeButtonClicked&&e.beforeButtonClicked(e,n),e._buttonClicked&&e._buttonClicked(e,n)},this.i.buttonClicked=i.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=i.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,i){var n=new Mt;n._provideImplementation(i),e.beforeChanged&&e.beforeChanged(e,n),e._changed&&e._changed(e,n)},this.i.changed=i.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=i.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,i){var n=new Ft;n._provideImplementation(i),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,n),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,n)},this.i.targetPropertyUpdating=i.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercingValue",{get:function(){return this._coercingValue},set:function(t){var e=this;null!==this._coercingValue_wrapped&&(this.i.coercingValue=i.delegateRemove(this.i.coercingValue,this._coercingValue_wrapped),this._coercingValue_wrapped=null,this._coercingValue=null),this._coercingValue=t,this._coercingValue_wrapped=function(t,i){var n=new Ht;n._provideImplementation(i),e.beforeCoercingValue&&e.beforeCoercingValue(e,n),e._coercingValue&&e._coercingValue(e,n)},this.i.coercingValue=i.delegateCombine(this.i.coercingValue,this._coercingValue_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Wt=function(){function t(){}return t.register=function(){Gt.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",Gt),i.TypeRegistrar.register("PropertyEditorPropertyDescription",Rt.$type)},t}(),Kt=function(t){function n(){var e=t.call(this)||this;return e.c=1,e.e=null,e.f=null,e.propertyChanged=null,e.propertyUpdated=null,e}return e.__extends(n,t),n.b=function(t){return(e=new n).d=t.bindingMode,e.h=t.contextKey,e.j=t.propertyName,e;var e},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=t&&this.l("BindingMode",i.enumGetBox(i.ToolContextBindingMode_$type,e),i.enumGetBox(i.ToolContextBindingMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=t&&this.l("ContextKey",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=t&&this.l("PropertyName",e,t)},enumerable:!1,configurable:!0}),n.prototype.l=function(t,e,n){this.m(t,e,n),null!=this.propertyUpdated&&this.propertyUpdated(this,new i.PropertyUpdatedEventArgs(t,e,n)),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.m=function(t,e,i){},n.$t=i.markType(n,"ToolContextBinding",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Xt=function(){function t(){this._propertyUpdated=null,this._propertyUpdated_wrapped=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Kt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"bindingMode",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(i.ToolContextBindingMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyName",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"propertyUpdated",{get:function(){return this._propertyUpdated},set:function(t){var e=this;null!==this._propertyUpdated_wrapped&&(this.i.propertyUpdated=i.delegateRemove(this.i.propertyUpdated,this._propertyUpdated_wrapped),this._propertyUpdated_wrapped=null,this._propertyUpdated=null),this._propertyUpdated=t,this._propertyUpdated_wrapped=function(t,n){var r=new i.IgcPropertyUpdatedEventArgs;r._provideImplementation(n),e.beforePropertyUpdated&&e.beforePropertyUpdated(e,r),e._propertyUpdated&&e._propertyUpdated(e,r)},this.i.propertyUpdated=i.delegateCombine(this.i.propertyUpdated,this._propertyUpdated_wrapped)},enumerable:!1,configurable:!0}),t}(),Qt=function(t){function n(e){var n=t.call(this)||this;if(Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding"));var t=new i.SyncableObservableCollection$2(Xt.$type,Kt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Xt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Yt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(r,t),r.prototype.addHandler=function(t,e,n,r){switch(n){case 20:var o=t;o.selectedValueChanged=i.delegateCombine(o.selectedValueChanged,i.runOn(this,this.w)),this.u=r,this.v=e}},r.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUIComboSelectedItemsChangedEventArgs;null==t.value?n.a=[]:n.a=[t.value],this.u(this.v,n)}},r.prototype.getValue=function(e,n){switch(n){case 1:var r=1;switch(e.density){case 0:r=0;break;case 1:r=1;break;case 2:r=2;break;case 3:r=3;break;case 4:r=4}return i.enumGetBox(i.NativeUIDisplayDensity_$type,r);case 89:return e.gg;case 88:return e.j;case 8:return e.itemsSource;case 87:return[e.value]}return t.prototype.getValue.call(this,e,n)},r.prototype.removeHandler=function(t,e,n,r){switch(n){case 20:var o=t;o.selectedValueChanged=i.delegateRemove(o.selectedValueChanged,i.runOn(this,this.w)),this.u=null,this.v=null}},r.prototype.setValue=function(e,n,r){switch(n){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,r)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}return void(e.density=o);case 89:return void(e.gg=r);case 88:return void(e.j=[r]);case 8:var s=!1;if(null!=r&&null!==i.typeCast(i.Array_$type,r))for(var a=r,h=0;h<a.length;h++){if("string"==typeof a[h]){s=!0;break}break}if(s){for(var u=r,l=new i.List$1(i.Base.$,0),c=0;c<u.length;c++){var p=u[c],f={};f.label=p,l.add1(f)}e.itemsSource=l.toArray()}else e.itemsSource=r;return;case 87:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.$t=i.markType(r,"ComboEditorBridge",n.XComponentBridge.$),r}(n.XComponentBridge),Jt=new i.Type(null,"INativeUIToolPanelBridge",null,[i.INativeUIElementBridge_$type]),Zt=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolCommandEventArgs"),n}(i.Base),te=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),ee=i.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),ie=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextChangedEventArgs"),n}(i.Base),ne=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=new i.Dictionary$2(i.String_$type,i.Base.$,0),e.onItemChanged=null,e}return e.__extends(n,t),n.prototype.i=function(t,e){if(this.e.containsKey(t)){var n=this.e.item(t);return this.e.item(t,e),void((null==n&&null!=e||!i.Base.equalsStatic(n,e))&&this.h(t,n,e))}this.e.addItem(t,e),this.h(t,null,e)},n.prototype.h=function(t,e,i){var n;null!=this.onItemChanged&&this.onItemChanged(this,((n=new ie).c=t,n.b=e,n.a=i,n))},n.prototype.g=function(t){return this.e.item(t)},n.prototype.d=function(t,e,n){return null!=e&&this.e.containsKey(e)?{ret:!0,p1:i.typeCastObjTo$t(t,this.e.item(e))}:{ret:!1,p1:i.Type.getDefaultValue(t)}},n.prototype.f=function(){return this.e.getEnumerator()},n.prototype.b=function(t){return this.e.containsKey(t)},n.prototype.c=function(t){return this.e.containsKey(t)},n.$t=i.markType(n,"ToolPanelContext"),n}(i.Base),re=new i.Type(null,"INativeUIToolbarBridge",null,[i.INativeUIElementBridge_$type]),oe=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuOpeningEventArgs"),n}(i.Base),se=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuOpeningEventArgs"),n}(i.Base),ae=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuClosingEventArgs"),n}(i.Base),he=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuClosingEventArgs"),n}(i.Base),ue=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),le=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),ce=function(t){function n(){var e=t.call(this,Kt.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolContextBindingCollection",i.ObservableCollection$1.$.specialize(Kt.$)),n}(i.ObservableCollection$1),pe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextSwappedEventArgs"),n}(i.Base),fe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=null,e.a=0,e.c=!1,e.b=!1,e.e=0,e.d=new Date,e.f=null,e.h=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetail"),n}(i.Base),de=function(t){function n(){var e=t.call(this)||this;return e.f=0,e.h=0,e.g=0,e.b=0,e.a=0,e.c=0,e.e=0,e.d=0,e.f=NaN,e.h=NaN,e.g=NaN,e.e=NaN,e.d=NaN,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionMeasurementContext"),n}(i.Base),be=function(t){function n(){return t.call(this,fe.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(fe.$)),n}(i.ObservableCollection$1),ge=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new be,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),ye=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=null,e.h=null,e.e=0,e.a=null,e.d=null,e.f=null,e.b=null,e.c=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),t.u('id: "'+this.g+'", '),t.u('name: "'+this.h+'", '),t.u("type: "+this.e+", "),t.u("actualBackgroundColor: "+this.a.serialize()+", "),null!=this.d&&t.u("listItem: "+this.d.serialize()+", "),null!=this.f&&t.u("container: "+this.f.serialize()+", "),null!=this.b&&t.u("icon: "+this.b.l()+", "),null!=this.c&&t.u("label: "+this.c.g()+", "),t.u(this.i()),t.u("}"),t.toString()},n.prototype.i=function(){return""},n.$t=i.markType(n,"ToolActionVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),me=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(i.Base.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,i.Base.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf1(t)},n.$t=i.markType(n,"LayoutSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),_e=function(t){return t[t.Flat=0]="Flat",t[t.Outlined=1]="Outlined",t}({}),ve=i.markEnum("ToolActionButtonGroupDisplayType","Flat,0|Outlined,1"),Ce=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,r.b=null,e=null==e?0:e){case 0:var o=i[0],s=i[1];r.a=o,r.b=s;break;case 1:o=i[0];r.a=null,r.b=o}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(0,null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"LayoutPrimaryKeyValue"),n}(i.Base),je=function(t){function n(){var e=t.call(this,Ce.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(Ce.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Ce.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.ag&&(this.ai.clear(),this.aj.clear()),t.prototype.p.call(this)},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"LayoutSelectedKeysCollection",i.ObservableCollection$1.$.specialize(Ce.$)),n}(i.ObservableCollection$1),Pe=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),we=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),Oe=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),Te=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),Ie=function(t){function n(e){var r=t.call(this)||this;return r.j=null,r.f=null,r.d=null,r.h=i.DeviceUtils.g(42),r.ab=new i.Thickness(1,20,0,20,0),r.w=i.BrushUtil.h(255,237,239,245),r.x=i.BrushUtil.h(255,0,0,0),r.k="",r.a=n.c(),r.g=NaN,r.propertyChanged=null,r.j=e,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.u("Height",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.u("Padding",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.u("Background",e,this.w)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.u("TextColor",e,this.x)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.u("Text",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.u("FontInfo",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var e=this;i.NativeUIComponent.aw(this.j,[7,3],(function(i){e.e=i[0],e.e.bi=e.ac,e.e.y=e.i,e.e.a8=e.y,e.e.ao=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bl=!1,e.f.bm=e.p,e.f.ba=e.z,e.f.bk=e.b,e.e.bn(e.f),null!=t&&t()}))},n.prototype.aa=function(){if(i.isNaN_(this.g)){var t=document.createElement("canvas").getContext("2d");t.font=this.b.fontString;var e=t.measureText(this.p);this.g=e.width}return new i.Size(1,this.ac.left+this.ac.right+this.g,this.ac.top+this.ac.bottom+this.i)},n.c=function(){return(t=new i.FontInfo).q="Verdana",t.f=14,t.t="Normal",t.v="Normal",t.r="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.bi=this.ac,this.e.y=this.i,this.e.a8=this.y),null!=this.f&&(this.f.bm=this.p,this.f.ba=this.z,this.f.bk=this.b)},n.prototype.u=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.v(t,e,n)},n.prototype.v=function(t,e,i){switch(t){case"Background":case"Padding":case"Height":case"FontInfo":case"TextColor":this.s();break;case"Text":this.g=NaN,this.s()}},n.$t=i.markType(n,"TooltipTextPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),xe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e}return e.__extends(n,t),n.prototype.i=function(){new i.StringBuilder(0);return"arrowIcon: "+this.j!=null?this.j.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",ye.$),n}(ye),ke=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.c=null,e.a=null,e.b=new i.List$1(ye.$,0),e.c=new i.List$1(Se.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("actions: ["),this.b.count>0)for(var e=0;e<this.b.count;e++){var n=this.b._inner[e].serialize();t=e<this.b.count-1?t.u(n+", "):t.l(n)}if(t.u("], "),t.u("dropdowns: ["),this.c.count>0)for(var r=0;r<this.c.count;r++){var o=this.c._inner[r].serialize();t=r<this.c.count-1?t.l(o+", "):t.l(o)}return t.u("], "),t.u("panel: "+this.a.serialize()),t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Se=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),null!=this.a&&t.u("toolPanel: "+this.a.serialize()+", "),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelDropdownMenuVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Ae=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),Ne=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=2,e}return e.__extends(n,t),Object.defineProperty(n,"b",{get:function(){return null==n.a&&(n.a=new n),n.a},enumerable:!1,configurable:!0}),n.g=function(){i.NativeUIComponent.as(n.b)},Object.defineProperty(n.prototype,"flavor",{get:function(){return this.c},enumerable:!1,configurable:!0}),n.prototype.createComponent=function(t,e,i){switch(e){case 19:this.d(t,i);break;case 13:this.f(t,i);break;case 18:this.e(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:case 18:case 19:return!0}return!1},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new v;s.provideRenderer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Yt(s),h=new i.NativeUICombo;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new oi;o.provideContainer(r);var s=new Be(o),a=new qe;a.an=n,a.d=s,e(a)},n.prototype.e=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new ii;o.provideContainer(r);var s=new Re(o),a=new De;a.an=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),Be=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.y=null,i.v=null,i.z=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.js()},r.prototype.x=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.updateDensity=function(t,e){t.g7(this.x(e))},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ac)),this.u=r,this.y=e;break;case 12:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ad)),this.v=r,this.z=e;break;case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ab)),this.w=r,this.aa=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ac)),this.u=null,this.y=null;break;case 12:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ad)),this.v=null,this.z=null;break;case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.ab)),this.w=null,this.aa=null}},r.prototype.ac=function(t,e){null!=this.u&&this.u(this.y,e)},r.prototype.ad=function(t,e){null!=this.v&&this.v(this.z,e)},r.prototype.ab=function(t,e){null!=this.w&&this.w(this.aa,e)},r.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 106:return e}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},r.prototype.setValue=function(e,n,r){var o=e;switch(n){case 27:return void(o.actions=r);case 30:return void(o.u=i.EnumUtil.getEnumValue(ee,r));case 28:return void(o.cx=i.typeGetValue(r));case 18:return void(o.z=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 33:return void(o.jl=r);case 34:return void(o.i6=r);case 23:return void(o.i3=r);case 50:return void(o.jj=r);case 51:return void(o.i9=r);case 52:return void(o.jc=r);case 53:return void(o.ji=r);case 11:return void(o.am=r);case 70:return void(o.jh=r);case 66:return void(o.jo=r);case 68:return void(o.jp=r);case 67:return void(o.i4=r);case 69:return void(o.i5=r);case 71:return void(o.jf=r);case 72:return void(o.jg=r);case 81:return void(o.jk=r);case 82:return void(o.jb=r);case 83:return void(o.ao=r);case 107:return void(o.a1=r)}t.prototype.setValue.call(this,e,n,r)},r.prototype.getValue=function(e,n){var r=e;switch(n){case 27:return r.actions;case 30:return i.enumGetBox(ee,r.u);case 28:return r.cx;case 29:return r.bz;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.z);case 33:return r.jl;case 34:return r.i6;case 23:return r.i3;case 50:return r.jj;case 51:return r.i9;case 52:return r.jc;case 53:return r.ji;case 11:return r.am;case 70:return r.jh;case 66:return r.jo;case 68:return r.jp;case 67:return r.i4;case 69:return r.i5;case 71:return r.jf;case 72:return r.jg;case 81:return r.jk;case 82:return r.jb;case 83:return r.ao;case 102:return r.a0;case 107:return r.a1}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.gi()},r.prototype.flushRefresh=function(t){t.fz()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.getContext=function(t){return t.p},r.prototype.setContext=function(t,e){t.p=e},r.prototype.setBrushContextItem=function(t,e,i){t.gr(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.i7(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.gp(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.gz(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.ca(e)},r.prototype.setStringContextItem=function(t,e,i){t.g3(e,i)},r.prototype.getStringContextItem=function(t,e){return t.ej(e)},r.prototype.setBoolContextItem=function(t,e,i){t.gn(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.ax(e)},r.prototype.setColorContextItem=function(t,e,i){t.gt(e,i)},r.prototype.getColorContextItem=function(t,e){return t.jq(e)},r.prototype.setDataContextItem=function(t,e,i){t.gx(e,i)},r.prototype.getDataContextItem=function(t,e){return t.c1(e)},r.prototype.markDirty=function(t,e){t.f2(e)},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Jt]),r}(n.XComponentBridge),Re=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.ac=null,i.v=null,i.ad=null,i.y=null,i.ae=null,i.x=null,i.ab=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.f6()},r.prototype.z=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.af)),this.y=r,this.ae=e;break;case 22:o.subMenuOpening=i.delegateCombine(o.subMenuOpening,i.runOn(this,this.ah)),this.x=r,this.ab=e;break;case 23:o.subMenuClosing=i.delegateCombine(o.subMenuClosing,i.runOn(this,this.ag)),this.w=r,this.aa=e}},r.prototype.ah=function(t,e){if(null!=this.x){var i=new se;this.x(this.ab,i)}},r.prototype.ag=function(t,e){if(null!=this.x){var i=new he;this.w(this.aa,i)}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.af)),this.y=null,this.ae=null;break;case 22:o.subMenuOpening=i.delegateRemove(o.subMenuOpening,i.runOn(this,this.ah)),this.x=null,this.ab=null}},r.prototype.af=function(t,e){null!=this.y&&this.y(this.ae,e)},r.prototype.setValue=function(t,n,r){var o,s,a=t;switch(n){case 27:a.actions.clear();try{for(var h=e.__values(i.fromEnum(r)),u=h.next();!u.done;u=h.next()){var l=u.value;a.actions.add(l)}}catch(t){o={error:t}}finally{try{u&&!u.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}break;case 30:a.m=i.EnumUtil.getEnumValue(le,r);break;case 28:a.bu=i.typeGetValue(r);break;case 18:a.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r);break;case 33:a.f0=r;break;case 34:a.fn=r;break;case 23:a.fk=r;break;case 50:a.fy=r;break;case 51:a.fp=r;break;case 52:a.fr=r;break;case 53:a.fx=r;break;case 11:a.ad=r;break;case 70:a.fw=r;break;case 66:a.f3=r;break;case 68:a.f4=r;break;case 67:a.fl=r;break;case 69:a.fm=r;break;case 71:a.fu=r;break;case 72:a.fv=r;break;case 81:a.fz=r;break;case 82:a.fq=r;break;case 83:a.af=r;break;case 84:a.target=r;break;case 107:a.as=r}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(le,n.m);case 28:return n.bu;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.x);case 33:return n.f0;case 34:return n.fn;case 23:return n.fk;case 50:return n.fy;case 51:return n.fp;case 52:return n.fr;case 53:return n.fx;case 11:return n.ad;case 70:return n.fw;case 66:return n.f3;case 68:return n.f4;case 67:return n.fl;case 69:return n.fm;case 71:return n.fu;case 72:return n.fv;case 81:return n.fz;case 82:return n.fq;case 83:return n.af;case 84:return n.target;case 102:return n.ar;case 107:return n.as}return null},r.prototype.flushRefresh=function(t){t.dx()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.ej(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.fo(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.ei(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.en(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.a9(e)},r.prototype.setStringContextItem=function(t,e,i){t.ev(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cn(e)},r.prototype.setBoolContextItem=function(t,e,i){t.eh(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.aq(e)},r.prototype.setColorContextItem=function(t,e,i){t.ek(e,i)},r.prototype.getColorContextItem=function(t,e){return t.f5(e)},r.prototype.setDataContextItem=function(t,e,i){t.em(e,i)},r.prototype.getDataContextItem=function(t,e){return t.bz(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[re]),r}(n.XComponentBridge),Ee=function(t){function n(){var e,n=t.call(this)||this;return n.o=null,n.n=null,n.g=i.DeviceUtils.g(44),n.a=null,n.j=null,n.m=null,n.e=null,n.l=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ab=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.k=null,n}return e.__extends(n,t),n.prototype.q=function(){return this.j},n.prototype.w=function(){},n.prototype.u=function(t){var e=this;if(null!=t){this.a.d=new i.DOMExecutionContext(t),this.j=t,this.m=this.j.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.j.get2DCanvasContext(this.m)),this.l=this.j.createElement("div"),this.z();var n=this.j.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.j.append(n),this.j.getPortal(n,"ToolPanel",(function(t){var i=t.componentRef.i;i.fy(),e.a.dy(i)}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative")}else this.j=null},n.prototype.z=function(){},n.prototype.y=function(){this.j},n.prototype.t=function(){if(null!=this.j){var t=this.j.rootWrapper.width(),e=this.j.rootWrapper.height();this.a.userSetWidth||0!=this.a.m||(this.j.rootWrapper.setStyleProperty("min-width",this.g+"px"),t=this.g),this.ab=new i.Size(1,t,e),this.a.d1(this.ab)}},n.prototype.aa=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.f0),i.NativeUI.m(e,this.a.fk))}},n.prototype.d=function(){return this.b},n.prototype.v=function(){},n.prototype.x=function(){},n.prototype.s=function(){},n.prototype.h=function(){return this.ab.width},n.prototype.i=function(t){return this.c=this.a.ae(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.r=function(t,e){null==this.k&&(this.k=this.j.createElement("div")),e(this.k.getNativeElement())},n.$t=i.markType(n,"ToolbarView"),n}(i.Base),$e=function(t){function n(){var e,n=t.call(this)||this;return n.u=null,n.t=null,n.c=null,n.p=null,n.s=null,n.i=null,n.r=null,n.d=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.e=function(){var t=new i.FontInfo;return t.q="Verdana",t.f=10,t.t="Normal",t.v="Normal",t.r="Normal",t}(),n.al=new i.Size,n.f=null,n._gridExternal=null,n.j=!1,n.q=null,n}return e.__extends(n,t),n.prototype.x=function(){return this.p},n.prototype.af=function(){},Object.defineProperty(n.prototype,"v",{get:function(){return this.p.rootWrapper},enumerable:!1,configurable:!0}),n.prototype.ad=function(t){var e=this;if(null!=t){this.c.c=new i.DOMExecutionContext(t),this.p=t,this.s=this.p.createElement("canvas"),this.i=new i.RenderingContext(new i.CanvasViewRenderer,this.p.get2DCanvasContext(this.s)),this.r=this.p.createElement("div"),this.ai();var n=this.p.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.p.append(n),this.p.getPortal(n,"ListPanel",(function(t){var i=t.componentRef.i;i.fu(),e.c.f0(i),e.ag()}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.p.rootWrapper.setStyleProperty("position","relative"),this.p.rootWrapper.setStyleProperty("width","100%")}else this.p=null},n.prototype.ai=function(){},n.prototype.ab=function(){if(null!=this.p){var t=this.p.rootWrapper.width(),e=this.p.rootWrapper.height();this.al=new i.Size(1,t,e),this.c.f6(this.al),this.c.ap}},n.prototype.m=function(){return this.p.rootWrapper.getNativeElement().offsetWidth},n.prototype.l=function(){return this.p.rootWrapper.getNativeElement().offsetHeight},n.prototype.aj=function(){var t=this.p;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.jl),i.NativeUI.m(e,this.c.i3))}},n.prototype.g=function(){return this.d},n.prototype.h=function(){return this.e},n.prototype.ae=function(){},n.prototype.ah=function(){},n.prototype.ag=function(){null!=this.p&&(this.c.actions.count>0&&0==this.c.u?this.p.rootWrapper.setStyleProperty("min-width",i.DeviceUtils.g(44)+"px"):this.p.rootWrapper.setStyleProperty("min-width","0px"))},n.prototype.ac=function(){this.ag()},n.prototype.aa=function(){},n.prototype.k=function(){return this.al.width},n.prototype.n=function(t){return this.f=this.c.an(),i.FontUtil.measureStringWidth(t,this.f,this.i)},n.prototype.o=function(t,e){return i.FontUtil.measureStringWidth(t,e,this.i)},n.prototype.z=function(t,e){null==this.q&&(this.q=this.p.createElement("div")),e(this.q.getNativeElement())},n.prototype.a=function(){var t=new i.Popup;this.p.getExternal(t,this.p.rootWrapper,this.p.getExternal(this.c,null,null));return t},n.prototype.b=function(t){var e=new oi;this.p.getExternal(e,this.p.rootWrapper,this.p.getExternal(this.c,null,null));return t.an.appendChild(e.v.p.rootWrapper.getNativeElement()),e},n.prototype.ak=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,s=e.height;return new i.Rect(0,n,r,o,s)},n.prototype.y=function(){this.c.externalObject.ensureStretch()},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bp=null,e.bk=null,e.bl=null,e.br=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bo",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(81)},set:function(t){this.a4(81,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(82)},set:function(t){this.a4(82,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bo.getContext(this.am)},set:function(t){this.bo.setContext(this.am,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,null!=this.bp?this.aq(10,this.bp):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,null!=this.bk?this.aq(11,this.bk):this.a2(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(12,this.bl):this.a2(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),n.prototype.b3=function(){this.bo.refresh(this.am)},n.prototype.b4=function(t){this.bo.updateDensity(this.am,t)},n.prototype.b0=function(){this.bo.flushRefresh(this.am)},n.prototype.b2=function(t){this.bo.notifySizeChanged(this.am,t)},n.prototype.b1=function(t){this.bo.markDirty(this.am,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),De=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.br=null,e.bo=null,e.bn=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bk",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(107)},set:function(t){this.a4(107,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(81)},set:function(t){this.a4(81,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(82)},set:function(t){this.a4(82,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(102)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(10,this.bl):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,null!=this.bo?this.aq(22,this.bo):this.a2(22,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,null!=this.bo?this.aq(23,this.bn):this.a2(23,e)},enumerable:!1,configurable:!0}),n.prototype.b2=function(){this.bk.flushRefresh(this.am)},n.prototype.b3=function(t){this.bk.notifySizeChanged(this.am,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),ze=function(t){function n(){var e,n=t.call(this)||this;n.q=null,n.bj=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bm=new i.List$1(i.String_$type,0),n.bl=new i.HashSet$1(i.String_$type,0),n.bi=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bh=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bp=NaN,n.as=!1,n.o=new ce,n.r=null,n.c=null,n.cw=null,n.g=null,n.i=new ei,n.dk=null,n.dh=null,n.ek=null,n.gv=i.BrushUtil.h(0,0,0,0),n.aa=null,n.bt=30,n.br=NaN,n.bs=NaN,n.bo=24,n.bq=NaN,n.bn=24,n.propertyChanged=null,n.bk=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.ab=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.onCommand=null,n.performed=null,n.y=null,n.an=null,n.ak=null,n.ah=null,n.ap=null,n.am=null,n.aq=null,n.ar=null,n.t=0,n.al=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.fo));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.fp));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.fx));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.fy)),n}return e.__extends(n,t),n.prototype.get_a8=function(){return!1},Object.defineProperty(n.prototype,"a8",{get:function(){return this.get_a8()},enumerable:!1,configurable:!0}),n.prototype.gj=function(t,n){var r,o,s,a;if(this.bj.item(t,n),this.bi.containsKey(t)){var h=this.bi.item(t),u=new i.List$1(Kt.$,0);try{for(var l=e.__values(i.fromEnum(h)),c=l.next();!c.done;c=l.next()){var p=c.value;u.add(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u)),d=f.next();!d.done;d=f.next()){var b=d.value;this.gc(b)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},n.prototype.gc=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gm)),null!=t.h&&this.bh.containsKey(t.h)){var e=this.bh.item(t.h);e.remove(t),0==e.count&&this.bh.removeItem(t.h)}if(null!=t.j&&this.bi.containsKey(t.j)){var n=this.bi.item(t.j);n.remove(t),0==n.count&&(this.bi.removeItem(t.j),this.bl.contains(t.j)&&(this.bl.remove(t.j),this.bm.remove(t.j)))}}},n.prototype.gd=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gm)),null!=e&&this.bh.containsKey(e)){var r=this.bh.item(e);r.remove(t),0==r.count&&this.bh.removeItem(t.h)}if(null!=n)if(this.bi.containsKey(n))this.bi.item(n).remove(t),this.bl.contains(t.j)&&(this.bl.remove(t.j),this.bm.remove(t.j))}},n.prototype.e4=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.gm)),null!=t.h)if(this.bh.containsKey(t.h)){var e=this.bh.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Kt.$,0);n.add(t),this.bh.addItem(t.h,n)}if(null!=t.j)if(this.bi.containsKey(t.j)){var r=this.bi.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Kt.$,0);o.add(t),this.bi.addItem(t.j,o),this.bl.contains(t.j)||(this.bl.add_1(t.j),this.bm.add(t.j))}}},n.prototype.gm=function(t,e){switch(e.propertyName){case"ContextKey":this.gd(t,e.oldValue,t.j),this.e4(t);break;case"PropertyName":this.gd(t,t.h,e.oldValue),this.e4(t)}},n.prototype.ct=function(t,e){if(this.bj.containsKey(t))return this.bj.item(t);if(this.bi.containsKey(t))for(var i=this.bi.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.az(r))return this.cq(r,e)}return e},n.prototype.h=function(t,e,n){if(this.bj.containsKey(e))return i.typeCastObjTo$t(t,this.bj.item(e));if(this.bi.containsKey(e))for(var r=this.bi.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.az(s)){var a=this.cq(s,i.getBoxIfEnum(t,n));return"number"==typeof a?i.typeCastObjTo$t(t,i.EnumUtil.toObject(t,i.typeGetValue(a))):i.typeCastObjTo$t(t,a)}}return n},n.prototype.cs=function(t,e){if(this.bj.containsKey(t))return this.bj.item(t);if(this.bi.containsKey(t))for(var i=this.bi.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.az(r))return this.cq(r,e)}return e},n.prototype.cq=function(t,e){return null==this.q||null==this.q.p?e:this.q.p.c(t.h)?this.q.p.g(t.h):e},n.prototype.gg=function(t,e){null!=this.q&&null!=this.q.p&&null!=t.h&&(this.gk(t.h),this.q.p.i(t.h,e),this.gl(t.h))},Object.defineProperty(n.prototype,"contextBindings",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.f3("ContextBindings",e,this.o)},enumerable:!1,configurable:!0}),n.prototype.aw=function(){return this.bm.count>0},n.prototype.fk=function(t){for(var e=0;e<this.bm.count;e++){var i=this.bm._inner[e];if(this.bi.containsKey(i))for(var n=this.bi.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.az=function(t){return null!=this.q&&null!=this.q.p&&this.q.p.c(t.h)},n.prototype.gh=function(t,e){if(this.ay(t))for(var i=this.bi.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.gg(r,e)}else this.bj.item(t,e)},n.prototype.ax=function(t){return!!this.bh.containsKey(t)},n.prototype.ay=function(t){return!!this.bi.containsKey(t)},n.prototype.gi=function(t){var e=this.q;if(this.q=t,null!=this.q&&(null!=this.ag&&null!=this.q.v.p&&this.ag.w(this.q.v.p),this.bd=this.q.a3),this.q!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.fz)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.f0))),null!=this.q){var n=this.q;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.fz));var r=this.q;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.f0))}this.f2(),this.y=null}},n.prototype.cr=function(t){return null==t||null==t.j?null:this.bj.containsKey(t.j)?this.bj.item(t.j):null},n.prototype.f2=function(){null!=this.ah&&(this.ah.bm=i.runOn(this,this.fr))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f3("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return null!=this.ei?this.ei:null!=this.e1?this.et(this.e1):(null==this.cw&&(this.cw=i.Guid.newGuid().toString()),this.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ct("Width",NaN)},set:function(t){this.gj("Width",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ct("Height",NaN)},set:function(t){this.gj("Height",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return i.typeGetValue(this.ct("SubPanelRowHeight",-1))},set:function(t){this.gj("SubPanelRowHeight",t)},enumerable:!1,configurable:!0}),n.prototype.e6=function(){null!=this.ah&&(this.ah.bm=null),null!=this.q&&this.q.f2(this)},n.prototype.fx=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;this.gc(l)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var c=e.__values(i.fromEn(n.newItems)),p=c.next();!p.done;p=c.next()){var f=p.value;this.e4(f)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}},n.prototype.fy=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.contextBindings)),a=s.next();!a.done;a=s.next()){var h=a.value;this.gc(h)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fo=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;l.e6(),l.g=null;var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.fs))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;d.g=this;var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.fs))}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},n.prototype.fp=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.actions)),a=s.next();!a.done;a=s.next()){var h=a.value;h.e6(),h.g=null}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fs=function(t,e){this.e5(t,e.propertyName)},n.prototype.e5=function(t,e){null!=this.g&&this.g.e5(t,e)},n.prototype.et=function(t){return i.stringReplace(t," ","_")},n.prototype.k=function(t){var e,i=this;return(e=new fe).g=i.cx,e.a=i.z,e.c=t,e},n.prototype.fm=function(t){var e,n=this;null==this.dm&&null==this.co||t.add(((e=new i.ToolCommandArgument).argumentName=n.er(),e.value=n.cu(),e)),this.fn(t)},n.prototype.fn=function(t){},n.prototype.er=function(){return null!=this.dm?this.dm:null!=this.cx?this.cx:"Unknown"},n.prototype.cu=function(){return null!=this.co?this.co:this.cv()},n.prototype.cv=function(){return null},Object.defineProperty(n.prototype,"ep",{get:function(){return this.ct("ParentId",null)},set:function(t){var e=this.ep;e!=t&&(this.gj("ParentId",t),this.f3("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.es=function(){return null!=this.dq?this.dq:this.cx},Object.defineProperty(n.prototype,"dq",{get:function(){return this.ct("CommandId",null)},set:function(t){var e=this.dq;e!=t&&(this.gj("CommandId",t),this.f3("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.ct("CommandArgument",null)},set:function(t){var e=this.dm;e!=t&&(this.gj("CommandArgument",t),this.f3("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.ct("CommandArgumentValue",null)},set:function(t){var e=this.co;e!=t&&(this.gj("CommandArgumentValue",t),this.f3("CommandArgumentValue",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.h(i.BaseControlTheme_$type,"BaseTheme",0)},set:function(t){var e=this.s;e!=t&&(this.gj("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.f3("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ct("PaddingLeft",NaN)},set:function(t){var e=this.ci;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingLeft",t),this.f3("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ct("ActualPaddingLeft",NaN)},set:function(t){var e=this.bz;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualPaddingLeft",t),this.f3("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ct("PaddingRight",NaN)},set:function(t){var e=this.cj;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingRight",t),this.f3("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ct("ActualPaddingRight",NaN)},set:function(t){var e=this.b0;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualPaddingRight",t),this.f3("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ct("PaddingBottom",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingBottom",t),this.f3("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.cs("ActualPaddingBottom",NaN)},set:function(t){var e=this.by;e!=t&&(this.gj("ActualPaddingBottom",t),this.f3("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ct("PaddingTop",NaN)},set:function(t){var e=this.ck;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingTop",t),this.f3("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ct("ActualPaddingTop",NaN)},set:function(t){var e=this.b1;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualPaddingTop",t),this.f3("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gz",{get:function(){return this.ct("ActualHoverBackground",null)},set:function(t){var e=this.gz;e!=t&&(this.gj("ActualHoverBackground",t),this.f3("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.ct("HoverBackground",null)},set:function(t){var e=this.g7;e!=t&&(this.gj("HoverBackground",t),this.f3("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gw",{get:function(){return this.ct("ActualBackground",null)},set:function(t){var e=this.gw;e!=t&&(this.gj("ActualBackground",t),this.f3("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g4",{get:function(){return this.cs("Background",null)},set:function(t){var e=this.g4;e!=t&&(this.gj("Background",t),this.f3("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g3",{get:function(){return this.cs("ActualTextColor",null)},set:function(t){var e=this.g3;e!=t&&(this.gj("ActualTextColor",t),this.f3("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.ct("TextColor",null)},set:function(t){var e=this.hb;e!=t&&(this.gj("TextColor",t),this.f3("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g2",{get:function(){return this.cs("ActualSubtitleTextColor",null)},set:function(t){var e=this.g2;e!=t&&(this.gj("ActualSubtitleTextColor",t),this.f3("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ha",{get:function(){return this.ct("SubtitleTextColor",null)},set:function(t){var e=this.ha;e!=t&&(this.gj("SubtitleTextColor",t),this.f3("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gx",{get:function(){return this.ct("ActualDisabledTextColor",null)},set:function(t){var e=this.gx;e!=t&&(this.gj("ActualDisabledTextColor",t),this.f3("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g5",{get:function(){return this.ct("DisabledTextColor",null)},set:function(t){var e=this.g5;e!=t&&(this.gj("DisabledTextColor",t),this.f3("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.ct("ActualTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gj("ActualTextStyle",t),this.f3("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.ct("TextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gj("TextStyle",t),this.f3("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ct("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ac;e!=t&&(this.gj("ActualSubtitleTextStyle",t),this.f3("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.ct("SubtitleTextStyle",null)},set:function(t){var e=this.af;e!=t&&(this.gj("SubtitleTextStyle",t),this.f3("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.ct("IsDisabled",!1)},set:function(t){var e=this.a6;e!=t&&(this.gj("IsDisabled",t),this.f3("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return this.cs("IsHighlighted",!1)},set:function(t){var e=this.a7;e!=t&&(this.gj("IsHighlighted",t),this.f3("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.h(i.ControlDisplayDensity_$type,"Density",0)},set:function(t){var e=this.v;e!=t&&(this.gj("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.f3("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.h(i.ControlDisplayDensity_$type,"ActualDensity",0)},set:function(t){var e=this.u;e!=t&&(this.gj("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.f3("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return null!=this.ep},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ei",{get:function(){return this.ct("Name",null)},set:function(t){var e=this.ei;e!=t&&(this.gj("Name",t),this.f3("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.ct("Title",null)},set:function(t){var e=this.e1;e!=t&&(this.gj("Title",t),this.f3("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ev",{get:function(){return this.ct("Subtitle",null)},set:function(t){var e=this.ev;e!=t&&(this.gj("Subtitle",t),this.f3("Subtitle",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_cl=function(){return this.bt},Object.defineProperty(n.prototype,"cl",{get:function(){return this.get_cl()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d6",{get:function(){return this.ct("IconName",null)},set:function(t){var e=this.d6;e!=t&&(this.gj("IconName",t),this.f3("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d1",{get:function(){return this.ct("IconCollectionName",null)},set:function(t){var e=this.d1;e!=t&&(this.gj("IconCollectionName",t),this.f3("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ct("IconViewBoxLeft",NaN)},set:function(t){var e=this.cd;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxLeft",t),this.f3("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ct("IconViewBoxTop",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxTop",t),this.f3("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ct("IconViewBoxWidth",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxWidth",t),this.f3("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ct("IconViewBoxHeight",NaN)},set:function(t){var e=this.cc;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxHeight",t),this.f3("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g8",{get:function(){return this.ct("IconFill",null)},set:function(t){var e=this.g8;e!=t&&(this.gj("IconFill",t),this.f3("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g0",{get:function(){return this.ct("ActualIconFill",null)},set:function(t){var e=this.g0;e!=t&&(this.gj("ActualIconFill",t),this.f3("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.ct("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gj("IconFillColors",t),this.f3("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.ct("IconStroke",null)},set:function(t){var e=this.g9;e!=t&&(this.gj("IconStroke",t),this.f3("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g1",{get:function(){return this.ct("ActualIconStroke",null)},set:function(t){var e=this.g1;e!=t&&(this.gj("ActualIconStroke",t),this.f3("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.ct("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gj("IconStrokeColors",t),this.f3("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ct("IconStrokeWidth",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconStrokeWidth",t),this.f3("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.f3("IconWidth",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.f3("ActualIconWidth",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.f3("IconHeight",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.f3("ActualIconHeight",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.h(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.hc;e!=t&&(this.gj("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.f3("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ct("CloseOnExecute",!1)},set:function(t){var e=this.au;e!=t&&(this.gj("CloseOnExecute",t),this.f3("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ct("HighlightWidth",NaN)},set:function(t){var e=this.b9;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("HighlightWidth",t),this.f3("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ct("ActualHighlightWidth",NaN)},set:function(t){var e=this.bv;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualHighlightWidth",t),this.f3("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ct("HighlightRadius",NaN)},set:function(t){var e=this.b8;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("HighlightRadius",t),this.f3("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.ct("ActualHighlightRadius",NaN)},set:function(t){var e=this.bu;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualHighlightRadius",t),this.f3("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g6",{get:function(){return this.ct("HighlightColor",null)},set:function(t){var e=this.g6;e!=t&&(this.gj("HighlightColor",t),this.f3("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gy",{get:function(){return this.ct("ActualHighlightColor",null)},set:function(t){var e=this.gy;e!=t&&(this.gj("ActualHighlightColor",t),this.f3("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return this.ct("StopPropagation",!1)},set:function(t){var e=this.bd;e!=t&&(this.gj("StopPropagation",t),this.f3("StopPropagation",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_a1=function(){return!0},Object.defineProperty(n.prototype,"a1",{get:function(){return this.get_a1()},enumerable:!1,configurable:!0}),n.prototype.get_a2=function(){return!0},Object.defineProperty(n.prototype,"a2",{get:function(){return this.get_a2()},enumerable:!1,configurable:!0}),n.prototype.get_bb=function(){return!0},Object.defineProperty(n.prototype,"bb",{get:function(){return this.get_bb()},enumerable:!1,configurable:!0}),n.prototype.get_be=function(){return!0},Object.defineProperty(n.prototype,"be",{get:function(){return this.get_be()},enumerable:!1,configurable:!0}),n.prototype.get_at=function(){return!0},Object.defineProperty(n.prototype,"at",{get:function(){return this.get_at()},enumerable:!1,configurable:!0}),n.prototype.ft=function(){null!=this.g&&this.g.ft()},n.prototype.f3=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gb(t,e,n)},n.prototype.get_z=function(){return 0},Object.defineProperty(n.prototype,"z",{get:function(){return this.get_z()},enumerable:!1,configurable:!0}),n.prototype.gb=function(t,e,i){switch(t){case"TextStyle":null!=this.ag&&null!=this.q&&null!=this.q.v.p&&this.ag.w(this.q.v.p),this.gt();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":this.gt();break;case"ActualDensity":this.fq();break;case"Density":0==this.v?this.u=this.x:this.u=this.v;break;case"ActualBackground":null!=this.ao&&(this.ao.a8=this.gw);break;case"ActualTextStyle":case"Subtitle":case"Title":case"ActualSubtitleTextStyle":this.as=!0,this.gr(),this.fi();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.gr();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.ap&&(this.ap.bb=this.g0,this.ap.bc=this.g1,this.ap.bk=this.a,this.ap.bl=this.b);break;case"Visibility":null!=this.q&&this.q.gj(),null!=this.an&&(this.an.bj=this.hc);break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.f1();break;case"IsHighlighted":this.gq(this.ao);break;case"StopPropagation":null!=this.ah&&(this.ah.bx=this.bd)}},n.prototype.gr=function(){null!=this.ar&&(this.ar.bm=this.ev,this.ar.ba=this.a6?this.gx:this.g2,this.ar.bk=this.ac),null!=this.aq&&(this.aq.bm=this.e1,this.aq.ba=this.a6?this.gx:this.g3,this.aq.bk=this.ad,this.aq.h=this.a0()?2:1),null!=this.am&&(this.a0()?1==this.am.b1&&(this.am.b4(1,2,1),this.am.bn(this.ar),this.am.cc(this.ar,1)):2==this.am.b1&&(this.am.b9(1),this.am.bp(this.ar)))},n.prototype.gk=function(t){this.bk.containsKey(t)?this.bk.item(t,this.bk.item(t)+1):this.bk.item(t,1)},n.prototype.gl=function(t){this.bk.containsKey(t)&&(this.bk.item(t,this.bk.item(t)-1),this.bk.item(t)<=0&&this.bk.removeItem(t))},n.prototype.ba=function(t){return this.bk.containsKey(t)},n.prototype.fz=function(t,e){this.ba(e.c)||this.ax(e.c)&&this.ga(e.c,e.b,e.a)},n.prototype.f0=function(t,e){for(var i=0;i<this.bm.count;i++)for(var n=this.bm._inner[i],r=this.bi.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.ba(s.h)&&this.az(s)){var a=null;a=this.bj.containsKey(s.j)?this.bj.item(s.j):this.cq(s,null),this.f3(s.j,a,this.cq(s,null))}}},n.prototype.ga=function(t,e,i){if(this.bh.containsKey(t))for(var n=this.bh.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.f3(o.j,e,i)}},n.prototype.ai=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},n.prototype.w=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},Object.defineProperty(n.prototype,"a4",{get:function(){return 0==this.u},enumerable:!1,configurable:!0}),n.prototype.fq=function(){this.gn()},n.prototype.gn=function(){},n.prototype.gq=function(t){null!=t&&(this.a7?(t.bg=new i.Thickness(0,i.DeviceUtils.g(this.bv)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(this.bu))):(t.bg=new i.Thickness(0,i.DeviceUtils.g(0)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.a9=this.gy)},n.prototype.a9=function(){return null!=this.q&&null!=this.q.c3&&null!==i.typeCast(ii.$,this.q.c3)},n.prototype.gt=function(){null!=this.q&&(this.s=this.q.z,this.g3=null!=this.hb?this.hb:this.q.iy,this.g2=null!=this.ha?this.ha:this.q.ix,this.gx=null!=this.g5?this.g5:this.q.ik,this.gz=null!=this.g7?this.g7:this.q.ir,this.g0=null!=this.g8?this.g8:this.q.is,this.g1=null!=this.g9?this.g9:this.q.it,this.ad=null!=this.ag?this.ag:this.q.ak,this.ac=null!=this.af?this.af:this.q.al,this.bv=i.isNaN_(this.b9)?this.q.by:this.b9,this.bu=i.isNaN_(this.b8)?this.q.bx:this.b8,this.gy=null!=this.g6?this.g6:this.q.iq),this.gw=null!=this.g4?this.g4:this.gv,null!=this.ap&&(this.ap.bk=this.a,this.ap.bl=this.b),this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(12):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(12):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(2):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(2):this.ch,this.bx=i.isNaN_(this.cg)?this.b6():this.cg,this.bw=i.isNaN_(this.ca)?this.b6():this.ca,this.gu()},n.prototype.b6=function(){switch(this.u){case 0:case 3:case 1:case 2:return i.DeviceUtils.g(24);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(24)},n.prototype.gu=function(){},n.prototype.f1=function(){null!=this.ap&&(this.ap.br=this.d6,this.ap.bq=this.d1,this.ap.ae=i.DeviceUtils.g(this.bx),this.ap.y=i.DeviceUtils.g(this.bw))},n.prototype.f5=function(t,e,i,n){var r=this;this.fj(i.b,i,n,(function(t){r.an=t,r.fh(i.b,r.an,n,(function(){i.b.bs=r.an,r.go(r.ak,r.ap,r.aq,r.ar),r.f7(null==r.ak?r.an:r.ak,i,n)}))}))},n.prototype.f7=function(t,e,i){},n.prototype.f6=function(t,e,i,n){},n.prototype.fa=function(t,e){this.fb(t,e)},n.prototype.fb=function(t,e){if(e.f=this.b3(t,e),e.h=this.b5(t,e),e.g=this.b4(t,e),e.b=this.b2(t,e),i.isNaN_(this.b7)||(e.d=this.b7),1==e.a||2==e.a){var n=0;i.isNaN_(e.f)||(n+=e.f),i.isNaN_(e.h)||(n+=e.h),i.isNaN_(e.g)||(n+=e.g),i.isNaN_(e.b)||(n+=e.b),n+=this.bz+this.b0,e.e=n}else if(i.isNaN_(this.cm)){var r=0;i.isNaN_(e.f)||(r+=e.f),i.isNaN_(e.h)||(r+=e.h),i.isNaN_(e.g)||(r+=e.g),i.isNaN_(e.b)||(r+=e.b),r+=this.bz+this.b0,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.cm},n.prototype.b4=function(t,e){return NaN},n.prototype.b5=function(t,e){var n=NaN;return null!=this.e1&&null!=this.ad&&(n=t.v.o(this.e1,this.ad)),null!=this.ev&&null!=this.ac&&(n=Math.max(n,t.v.o(this.ev,this.ac))),i.isNaN_(n)?NaN:n+this.cl},n.prototype.b3=function(t,e){return i.stringIsNullOrEmpty(this.d6)?NaN:i.DeviceUtils.g(36)},n.prototype.ae=function(t){return null!=this.ag?this.ag:t.an()},n.prototype.b2=function(t,e){return NaN},n.prototype.f4=function(t,e){if(this.ge(),this.a5){var i=this.q.h(this.ep);null!=i&&i.fu(this,this.au)}else if(this.q.az(this)){if(null!=this.performed){var n=new be;this.e9(this,n,e),this.performed(this,((r=new ge).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new ge;return e.c=!1,e.a=t,e}());var r},n.prototype.ge=function(){var t=this,e=this.es();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.e8(this,r),n.argumentsList=r.toArray();var o,s=((o=new Zt).a=n,o.b=t.au,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.q&&this.q.gb(this,s)}},n.prototype.gf=function(t,e){var i,n=((i=new Zt).a=t,i.b=e,i);null!=this.onCommand&&this.onCommand(this,n),null!=this.q&&this.q.gb(this,n)},n.prototype.bf=function(){return null!=this.onCommand},n.prototype.e8=function(t,e){t.fm(e);var i=this.q.a7(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a3()&&this.e8(i._inner[n],e)},n.prototype.a3=function(){return!0},n.prototype.fu=function(t,e){if(this.a5){var i=this.q.h(this.ep);null!=i&&i.fu(t,e)}else this.f4(this.k(!1),t),e&&this.e7()},n.prototype.e9=function(t,e,i){var n=t.k(t==i);e.add(n);var r=this.q.a7(t);if(null!=r)for(var o=0;o<r.count;o++)this.e9(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new Ge;break;case 2:e=new Ze;break;case 11:e=new Me;break;case 13:e=new Ue;break;case 12:e=new Le;break;case 1:e=new Ye;break;case 3:e=new Qe;break;case 4:e=new We;break;case 5:e=new ti;break;case 14:e=new He;break;case 6:e=new Ke;break;case 7:e=new Xe;break;case 8:e=new Je;break;case 10:e=new Fe;break;case 15:e=new Ve;break;case 0:return null}return e.y=t,e.fl(),e},n.prototype.fl=function(){if(this.ei=this.y.name,this.e1=this.y.title,this.dm=this.y.commandArgument,this.co=this.y.commandArgumentValue,this.dq=this.y.commandId,this.d6=this.y.iconName,this.d1=this.y.iconCollectionName,this.cd=this.y.iconViewBoxLeft,this.ce=this.y.iconViewBoxTop,this.cf=this.y.iconViewBoxWidth,this.cc=this.y.iconViewBoxHeight,this.cg=this.y.iconWidth,this.ca=this.y.iconHeight,this.ci=this.y.paddingLeft,this.cj=this.y.paddingRight,this.ck=this.y.paddingTop,this.ch=this.y.paddingBottom,this.ep=this.y.parentId,this.a6=this.y.isDisabled,this.au=this.y.closeOnExecute,this.v=this.w(this.y.density),this.cn=this.y.subPanelRowHeight,i.isNaN_(this.y.height)||(this.b7=this.y.height),i.stringIsNullOrEmpty(this.y.textColor)||(this.hb=i.CSSColorUtil.g(this.y.textColor)),i.stringIsNullOrEmpty(this.y.disabledTextColor)||(this.g5=i.CSSColorUtil.g(this.y.disabledTextColor)),this.a7=this.y.isHighlighted,null!=this.y.actions&&this.y.actions.length>0)for(var t=0;t<this.y.actions.length;t++)this.actions.add(n.f(this.y.actions[t]));if(null!=this.y.contextBindings&&this.y.contextBindings.length>0)for(var e=0;e<this.y.contextBindings.length;e++)this.contextBindings.add(this.n(this.y.contextBindings[e]))},n.prototype.n=function(t){return Kt.b(t)},n.prototype.bc=function(){return null!=this.g&&null!=this.g.g&&this.g.actions._inner[0]==this},n.prototype.bg=function(){return!0},n.prototype.aj=function(t){switch(t){case 1:case 17:case 6:case 11:case 10:case 2:case 12:case 13:return this.bg()?2:0;default:return 0}},Object.defineProperty(n.prototype,"ao",{get:function(){return this.an},enumerable:!1,configurable:!0}),n.prototype.fj=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z)i.NativeUIComponent.au(this.q.v.x(),7,(function(t){var i=t;o.fd(i,n),o.gs(i,e,n),null!=r&&r(i)}));else{var s=t.bs;this.gs(s,e,n),null!=r&&r(s)}},n.prototype.fi=function(){if(null!=this.ak){if(i.isNaN_(this.bp)||this.as){var t=new de;null!=this.q&&this.q.gc(t);var e=this.b5(this.q,t);e=i.isNaN_(e)?0:e-this.cl,this.bp=e,this.as=!1}this.ak.cd(1,1,this.bp)}},n.prototype.fh=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=[this.aj(1),this.aj(7),this.aj(11),this.aj(3),this.aj(3),this.aj(7)];i.NativeUIComponent.av(this.q.v.x(),[1,7,11,3,3,7],s,(function(t){var e=t[0],i=t[1],s=t[2],a=t[3],h=t[4],u=t[5];o.fc(e,i,s,a,h,u,n),null!=r&&r()}))}else null==this.ak&&1==this.an.bm&&(this.ah=this.an.bl(0),this.ah.bm=i.runOn(this,this.fr),this.ak=this.ah.bo,this.ap=this.ak.bl(0),this.am=this.ak.bl(1),this.aq=this.am.bl(0),this.am.bm>1&&(this.ar=this.am.bl(1))),this.go(this.ak,this.ap,this.aq,this.ar),null!=r&&r()},n.prototype.fd=function(t,e){t.f=1==e.a?0:3,t.bs=0},n.prototype.gs=function(t,e,n){t.y=e.a.t,i.isNaN_(this.b7)||(t.y=this.b7),2==n.a?t.ae=e.c:t.ae=n.e,t.a8=this.gw,t.bj=this.hc,t.bh=new i.Thickness(1,0,0,0,0),this.gq(t),null!=this.ei&&(t.ap=this.ei)},n.prototype.fc=function(t,e,n,r,o,s,a){if(0==this.an.bm){this.an.b2(0,2,1),this.an.b4(0,2,1),this.an.bn(t),this.an.ca(t,0),this.an.cc(t,0),t.bo=e,e.bs=0;var h=this.b3(this.q,a);h=i.isNaN_(h)?0:h;var u=this.b5(this.q,a);u=i.isNaN_(u)?0:u-this.cl,this.al=e,e.b4(0,2,1),e.b2(0,1,h),e.b2(1,1,u),e.b3(2,2,1,this.cl),s.b4(0,2,1),s.bn(r),s.cc(r,0),e.bn(n),e.bn(s),e.cc(s,0),e.ca(n,0),e.ca(s,1),this.bp=u}t.c=this.s,this.a4?t.bp=1:t.bp=this.ai(this.u),t.bn=1,t.b2=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b1=this.gz,t.bv=!0,t.bt=!this.a1,t.bq=this.at,t.bx=this.bd,t.bs=!this.a2,t.bu=!0,t.br=!0,t.bm=i.runOn(this,this.fr),n.h=1,n.f=1,n.br=this.d6,n.bq=this.d1,n.bn=this.cd,n.bo=this.ce,n.bp=this.cf,n.bm=this.cc,n.bb=this.g0,n.bk=this.a,n.bc=this.g1,n.bl=this.b,n.ac=this.cb,n.ae=i.DeviceUtils.g(this.bx),n.y=i.DeviceUtils.g(this.bw),r.bl=!1,r.h=this.a0()?2:1,r.f=0,o.bl=!1,o.h=0,o.f=0,this.a0()?1==s.b1&&(s.b4(1,2,1),s.bn(o),s.cc(o,1)):2==s.b1&&(s.b9(1),s.bp(o)),this.ak=e,this.ah=t,this.ap=n,this.aq=r,this.ar=o,this.am=s},n.prototype.a0=function(){return!i.stringIsNullOrEmpty(this.ev)},n.prototype.fr=function(t,e){this.fw()},n.prototype.go=function(t,e,n,r){null!=t&&(t.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by)),null!=e&&(e.bh=new i.Thickness(1,0,0,9,0),e.bn=this.cd,e.bo=this.ce,e.bp=this.cf,e.bm=this.cc,e.br=this.d6,e.bq=this.d1,e.bb=this.g0,e.bk=this.a,e.bc=this.g1,e.bl=this.b,e.ac=this.cb),null!=n&&(n.bm=this.e1,n.bk=this.ad,n.ba=this.a6?this.gx:this.g3),null!=r&&(r.bm=this.ev,r.bk=this.ac,r.ba=this.a6?this.gx:this.g2),this.fi()},n.prototype.fw=function(){},n.prototype.fv=function(t,e){},n.prototype.f8=function(){},n.prototype.e7=function(){},n.prototype.f9=function(t){if(i.stringIsNullOrEmpty(t.e1)||(this.e1=t.e1),i.stringIsNullOrEmpty(t.ev)||(this.ev=t.ev),i.stringIsNullOrEmpty(t.d6)||(this.d6=t.d6),i.stringIsNullOrEmpty(t.d1)||(this.d1=t.d1),i.stringIsNullOrEmpty(t.dq)||(this.dq=t.dq),i.stringIsNullOrEmpty(t.dm)||(this.dm=t.dm),null!=t.co&&(this.co=t.co),null!=t.g4&&(this.g4=t.g4),null!=t.g7&&(this.g7=t.g7),null!=t.hb&&(this.hb=t.hb),null!=t.ag&&(this.ag=t.ag),null!=t.g5&&(this.g5=t.g5),null!=t.g8&&(this.g8=t.g8),null!=t.a&&(this.a=t.a),null!=t.g9&&(this.g9=t.g9),null!=t.b&&(this.b=t.b),i.isNaN_(t.cb)||(this.cb=t.cb),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.cc)||(this.cc=t.cc),i.isNaN_(t.cd)||(this.cd=t.cd),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.ci)||(this.ci=t.ci),i.isNaN_(t.ck)||(this.ck=t.ck),i.isNaN_(t.cj)||(this.cj=t.cj),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.cm)||(this.cm=t.cm),i.isNaN_(t.b7)||(this.b7=t.b7),this.hc!=t.hc&&(this.hc=t.hc),null!=t.actions&&t.actions.count>0){this.actions.clear();for(var e=0;e<t.actions.count;e++)this.actions.add(t.actions._inner[e])}},n.av=function(t,e){if(t.z!=e.d)return!1;if(t.ei!=e.name)return!1;if(!(null!=t.actions&&0!=t.actions.count||null!=e.actions&&0!=e.actions.length))return!0;if(t.actions.count!=e.actions.length)return!1;for(var i=0;i<e.actions.length;i++){var r=t.actions._inner[i],o=e.actions[i];if(!n.av(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.cp=function(){var t=new ye;return t.g=this.cx,t.h=this.ei,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.an.an)),null!=this.ah&&0!=this.ah.ae&&0!=this.ah.y&&(t.f=this.ah.af()),null!=this.ap&&(t.b=this.ap.af()),null!=this.aq&&(t.c=this.aq.af()),t},n.prototype.dw=function(){return this.cp().serialize()},Object.defineProperty(n.prototype,"x",{get:function(){return this.t},set:function(t){this.t=t},enumerable:!1,configurable:!0}),n.prototype.gp=function(t){this.x=t,0==this.v&&(this.u=t)},n.prototype.ff=function(){this.fg()},n.prototype.fe=function(){this.fg()},n.prototype.fg=function(){null!=this.ah&&(this.ah.bm=null),this.ak=null,this.ah=null,this.ap=null,this.am=null,this.aq=null,this.ar=null},n.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Ve=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e.he=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 15},Object.defineProperty(n.prototype,"hj",{get:function(){return this.ct("Value",i.BrushUtil.h(255,0,0,255))},set:function(t){var e=this.hj;e!=t&&(this.gj("Value",t),this.f3("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hf(),n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hf=function(){var t=i.Color.u(255,0,0,255);if(null!=this.hd){var e=i.ColorUtil.p(this.hd.bo);return e.c&&(t=e.d),i.ColorUtil.k(t,!0)}return i.ColorUtil.k(t,!0)},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.h=this.hf(),e},n.prototype.hh=function(t,e){if(!this.he){this.hj=this.hd.bo;var i=this.k(!0);this.f4(i,this)}},n.prototype.hi=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.f=2,n.h=1}n.c=this.s,n.bn=i.runOn(this,this.hh),this.hd!=n&&(this.hd=n),null!=this.hj&&(this.he=!0,n.bo=this.hj,this.he=!1)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),20,this.aj(20),(function(i){var s=i;r.hi(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hi(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),this.hd},n.prototype.gu=function(){null!=this.hd&&(this.hd.c=this.s)},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsDisabled":this.hd}},n.prototype.fw=function(){null==this.hd||this.a6||this.hd.az()},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hj=i.CSSColorUtil.g(e.value)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bn=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bn=null)},n.$t=i.markType(n,"ToolActionColorEditor",ze.$),n}(ze),Ue=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.he=null,e.hf=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 13},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.ct("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gj("ItemsSource",t),this.f3("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.ct("DisplayMemberPath",null)},set:function(t){var e=this.hh;e!=t&&(this.gj("DisplayMemberPath",t),this.f3("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.ct("ValueMemberPath",null)},set:function(t){var e=this.hl;e!=t&&(this.gj("ValueMemberPath",t),this.f3("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.ct("SelectedValues",null)},set:function(t){var e=this.hd;e!=t&&(this.gj("SelectedValues",t),this.f3("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.gb=function(e,i,n){if(t.prototype.gb.call(this,e,i,n),null!=this.he)switch(e){case"ItemsSource":this.he.bo=this.itemsSource;break;case"SelectedValues":this.he.bk=this.hd.toArray();break;case"DisplayMemberPath":this.he.bp=this.hh;break;case"ValueMemberPath":this.he.bq=this.hl}},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hn=function(t,e){if(!this.hf){this.hf=!0,null==this.hd&&(this.hd=new me),this.hd.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.hd.add1(r)}this.hf=!1;var o=this.k(!0);this.f4(o,this)}},n.prototype.ho=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bn=3,n.f=2,n.h=1}n.c=this.s,n.bm=i.runOn(this,this.hn),n.bo!=this.itemsSource&&(n.bo=this.itemsSource),n.bp!=this.hh&&(n.bp=this.hh),n.bq!=this.hl&&(n.bq=this.hl),null!=this.hd&&(this.hf=!0,n.bk=this.hd.toArray(),this.hf=!1),this.he!=n&&(this.he=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),19,this.aj(19),(function(i){var s=i;r.ho(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.ho(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.he&&(this.he.bn=this.ai(this.u))},n.prototype.gu=function(){null!=this.he&&(this.he.c=this.s)},n.prototype.fw=function(){null==this.he||this.a6||this.he.az()},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.he&&(e.f=this.hd.toArray()),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName="SelectedValues",n.value=r.hd.toArray(),n))},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;if(this.hh=e.displayMemberPath,this.hl=e.valueMemberPath,null!=e.selectedValues){this.hd.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.hd.add1(r)}}this.itemsSource=e.itemsSource},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.he&&(this.he.bm=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.he&&(this.he.bm=null)},n.$t=i.markType(n,"ToolActionCombo",ze.$),n}(ze),Le=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hk=null,e.hl=null,e.hm=null,e.hu=!1,e.hv=!1,e.hd=null,e.hx=!1,e.hq=null,e.hs=null,e.ht=null,e.hr=null,e.ho=null,e.hp=null,e.hw=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 12},Object.defineProperty(n.prototype,"h0",{get:function(){return this.ct("LeftIsSelected",!1)},set:function(t){var e=this.h0;e!=t&&(this.gj("LeftIsSelected",t),this.f3("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.ct("RightIsSelected",!1)},set:function(t){var e=this.h3;e!=t&&(this.gj("RightIsSelected",t),this.f3("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.ct("LeftIsDisabled",!1)},set:function(t){var e=this.hz;e!=t&&(this.gj("LeftIsDisabled",t),this.f3("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.ct("RightIsDisabled",!1)},set:function(t){var e=this.h2;e!=t&&(this.gj("RightIsDisabled",t),this.f3("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.ct("LeftIconName",null)},set:function(t){var e=this.iw;e!=t&&(this.gj("LeftIconName",t),this.f3("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.ct("LeftCommandArgument",null)},set:function(t){var e=this.iq;e!=t&&(this.gj("LeftCommandArgument",t),this.f3("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.ct("IsToggleDisabled",!1)},set:function(t){var e=this.hy;e!=t&&(this.gj("IsToggleDisabled",t),this.f3("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.ct("LeftIconCollectionName",null)},set:function(t){var e=this.is;e!=t&&(this.gj("LeftIconCollectionName",t),this.f3("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.ct("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.h9;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxLeft",t),this.f3("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.ct("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.ia;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxTop",t),this.f3("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.ct("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.ib;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxWidth",t),this.f3("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.ct("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.h8;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxHeight",t),this.f3("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jz",{get:function(){return this.ct("LeftIconFill",null)},set:function(t){var e=this.jz;e!=t&&(this.gj("LeftIconFill",t),this.f3("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jv",{get:function(){return this.ct("ActualLeftIconFill",null)},set:function(t){var e=this.jv;e!=t&&(this.gj("ActualLeftIconFill",t),this.f3("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("LeftIconFillColors",null)},set:function(t){var e=this.hf;e!=t&&(this.gj("LeftIconFillColors",t),this.f3("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j0",{get:function(){return this.cs("LeftIconStroke",null)},set:function(t){var e=this.j0;e!=t&&(this.gj("LeftIconStroke",t),this.f3("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jw",{get:function(){return this.ct("ActualLeftIconStroke",null)},set:function(t){var e=this.jw;e!=t&&(this.gj("ActualLeftIconStroke",t),this.f3("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.ct("LeftIconStrokeColors",null)},set:function(t){var e=this.hg;e!=t&&(this.gj("LeftIconStrokeColors",t),this.f3("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.ct("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.h7;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconStrokeWidth",t),this.f3("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i7",{get:function(){return this.ct("LeftTitle",null)},set:function(t){var e=this.i7;e!=t&&(this.gj("LeftTitle",t),this.f3("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jf",{get:function(){return this.ct("RightIconName",null)},set:function(t){var e=this.jf;e!=t&&(this.gj("RightIconName",t),this.f3("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i9",{get:function(){return this.ct("RightCommandArgument",null)},set:function(t){var e=this.i9;e!=t&&(this.gj("RightCommandArgument",t),this.f3("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jb",{get:function(){return this.ct("RightIconCollectionName",null)},set:function(t){var e=this.jb;e!=t&&(this.gj("RightIconCollectionName",t),this.f3("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.ct("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.ie;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxLeft",t),this.f3("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.ct("RightIconViewBoxTop",NaN)},set:function(t){var e=this.ig;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxTop",t),this.f3("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.ct("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.ih;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxWidth",t),this.f3("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.ct("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.id;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxHeight",t),this.f3("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j1",{get:function(){return this.ct("RightIconFill",null)},set:function(t){var e=this.j1;e!=t&&(this.gj("RightIconFill",t),this.f3("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jx",{get:function(){return this.ct("ActualRightIconFill",null)},set:function(t){var e=this.jx;e!=t&&(this.gj("ActualRightIconFill",t),this.f3("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.ct("RightIconFillColors",null)},set:function(t){var e=this.hh;e!=t&&(this.gj("RightIconFillColors",t),this.f3("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j2",{get:function(){return this.cs("RightIconStroke",null)},set:function(t){var e=this.j2;e!=t&&(this.gj("RightIconStroke",t),this.f3("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jy",{get:function(){return this.ct("ActualRightIconStroke",null)},set:function(t){var e=this.jy;e!=t&&(this.gj("ActualRightIconStroke",t),this.f3("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.ct("RightIconStrokeColors",null)},set:function(t){var e=this.hi;e!=t&&(this.gj("RightIconStrokeColors",t),this.f3("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.ct("RightIconStrokeWidth",NaN)},set:function(t){var e=this.ic;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconStrokeWidth",t),this.f3("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jq",{get:function(){return this.ct("RightTitle",null)},set:function(t){var e=this.jq;e!=t&&(this.gj("RightTitle",t),this.f3("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.h(ve,"DisplayType",1)},set:function(t){var e=this.hj;t!=e&&(this.gj("DisplayType",i.enumGetBox(ve,t)),this.f3("DisplayType",i.enumGetBox(ve,e),i.enumGetBox(ve,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.ct("CornerRadius",NaN)},set:function(t){var e=this.h4;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("CornerRadius",t),this.f3("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),12==e.z){var n=e;i.isNaN_(n.h4)||(this.h4=n.h4),this.hj!=n.hj&&(this.hj=n.hj),i.stringIsNullOrEmpty(n.i7)||(this.i7=n.i7),i.stringIsNullOrEmpty(n.iw)||(this.iw=n.iw),i.stringIsNullOrEmpty(n.is)||(this.is=n.is),i.stringIsNullOrEmpty(n.iq)||(this.iq=n.iq),null!=n.jz&&(this.jz=n.jz),null!=n.hf&&(this.hf=n.hf),null!=n.j0&&(this.j0=n.j0),null!=n.hg&&(this.hg=n.hg),i.isNaN_(n.h7)||(this.h7=n.h7),i.stringIsNullOrEmpty(n.jq)||(this.jq=n.jq),i.stringIsNullOrEmpty(n.jf)||(this.jf=n.jf),i.stringIsNullOrEmpty(n.jb)||(this.jb=n.jb),i.stringIsNullOrEmpty(n.i9)||(this.i9=n.i9),null!=n.j1&&(this.j1=n.j1),null!=n.hh&&(this.hh=n.hh),null!=n.j2&&(this.j2=n.j2),null!=n.hi&&(this.hi=n.hi),i.isNaN_(n.ic)||(this.ic=n.ic)}},n.prototype.hn=function(){switch(this.hj){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.iq=e.leftCommandArgument,this.iw=e.leftIconName,this.is=e.leftIconCollectionName,this.hy=e.isToggleDisabled,this.h9=e.leftIconViewBoxLeft,this.ia=e.leftIconViewBoxTop,this.ib=e.leftIconViewBoxWidth,this.h8=e.leftIconViewBoxHeight,this.i7=e.leftTitle,this.i9=e.rightCommandArgument,this.jf=e.rightIconName,this.jb=e.rightIconCollectionName,this.ie=e.rightIconViewBoxLeft,this.ig=e.rightIconViewBoxTop,this.ih=e.rightIconViewBoxWidth,this.id=e.rightIconViewBoxHeight,this.jq=e.rightTitle},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.e=this.h0!=this.hu?0:1,e.b=this.h0!=this.hu?this.h0:this.h3,e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.iq,n.value=r.h0,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.i9,t.value=r.h3,t}())},n.prototype.b4=function(t,e){var n=this.ae(t),r=i.stringIsNullOrEmpty(this.i7)?0:t.v.o(this.i7,n),o=Math.max(r+this.h5(),i.DeviceUtils.g(this.h6()));return r=i.stringIsNullOrEmpty(this.jq)?0:t.v.o(this.jq,n),o+Math.max(r+this.h5(),i.DeviceUtils.g(this.h6()))},n.prototype.h6=function(){return i.DeviceUtils.g(88)},n.prototype.h5=function(){switch(this.u){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.h1=function(t){var e=this.he(),i=t.bk;if(null==e&&null==i)return!1;if(null==e&&null!=i)return!0;if(null!=e&&null==i)return!0;if(e.length!=i.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!=i[n])return!0;return!1},n.prototype.he=function(){return this.h0&&this.h3?[0,1]:this.h0?((t=new Array(1)).push(0),t):this.h3?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.ju=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bs&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(2==e.bm&&(e.b2(3,1,this.b4(this.q,f)),e.bn(c),c.bs(n),c.bs(a)),e.cc(c,0),e.ca(c,3),this.a4?c.bq=2:c.bq=this.ai(this.u),c.h=1,c.f=2,n.bu=!0,a.bu=!0),c.bp=i.runOn(this,this.js),c.c=this.s,this.jt(n),this.jt(a),this.h1(c)&&(c.bk=this.he()),n.bw=this.hz,a.bw=this.h2,null==this.iw?(n.bz=this.i7,n.bo=null):(0==s.bm&&(s.b2(0,0,1),s.b2(1,0,1),s.bn(o),s.bn(r),s.cc(o,0),s.ca(o,0),s.cc(r,0),s.ca(r,1)),n.bz=null,n.bo=s,o.bq=this.is,o.br=this.iw,o.bn=this.h9,o.bo=this.ia,o.bp=this.ib,o.bm=this.h8,o.bb=this.jv,o.bc=this.jw,o.bk=this.hf,o.bl=this.hg,o.ac=this.h7,r.bm=this.i7,r.bk=this.ad,r.ba=this.a6?this.gx:this.g3,o.ae=i.DeviceUtils.g(16),o.y=i.DeviceUtils.g(16)),null==this.jf?(a.bz=this.jq,a.bo=null):(0==l.bm&&(l.b2(0,0,1),l.b2(1,0,1),l.bn(h),l.bn(u),l.cc(h,0),l.ca(h,0),l.cc(u,0),l.ca(u,1)),a.bz=null,a.bo=l,u.bq=this.jb,u.br=this.jf,u.bn=this.ie,u.bo=this.ig,u.bp=this.ih,u.bm=this.id,u.bb=this.jx,u.bc=this.jy,u.bk=this.hh,u.bl=this.hi,u.ac=this.ic,h.bm=this.jq,h.bk=this.ad,h.ba=this.a6?this.gx:this.g3,u.ae=i.DeviceUtils.g(16),u.y=i.DeviceUtils.g(16)),this.hm!=c&&(this.hm=c),this.hk!=n&&(this.hk,this.hk=n),this.hl!=a&&(this.hl,this.hl=a),this.hq!=o&&(this.hq,this.hq=o),this.hs!=r&&(this.hs,this.hs=r),this.hr!=u&&(this.hr,this.hr=u),this.ht!=h&&(this.ht,this.ht=h),this.ho!=s&&(this.ho,this.ho=s),this.hp!=l&&(this.hp,this.hp=l)},n.prototype.js=function(t,e){if(!this.hw){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.hd){for(var a=0;a<this.hd.length;a++)0==this.hd[a]&&(n=!0);for(var h=0;h<this.hd.length;h++)1==this.hd[h]&&(r=!0)}if(null!=i){for(var u=0;u<i.length;u++)0==i[u]&&(o=!0);for(var l=0;l<i.length;l++)1==i[l]&&(s=!0)}this.hu=n,this.hv=r,this.h0!=o&&this.gh("LeftIsSelected",o),this.h3!=s&&this.gh("RightIsSelected",s),this.f4(this.k(!0),this),this.hy&&(this.hw=!0,null!=this.hm&&this.hm.bt(),this.hw=!1)}},n.prototype.jt=function(t){t.bk=this.ad},n.prototype.f7=function(t,e,n){var r=this;if(!this.hx){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1),this.aj(3),this.aj(11),this.aj(7),this.aj(1),this.aj(3),this.aj(11),this.aj(7),this.aj(17)];this.hx=!0,i.NativeUIComponent.av(this.q.v.x(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.ju(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.hx=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(2),h=a.bm(0),u=a.bm(1),l=h.bo,c=l.bl(0),p=l.bl(1),f=u.bo,d=f.bl(1),b=f.bl(0);this.ju(o,t,h,p,c,l,u,b,d,f,a,e,n,!1)}}},n.prototype.gb=function(e,n,r){switch(t.prototype.gb.call(this,e,n,r),e){case"DisplayType":null!=this.hm&&(this.hm.bn=this.hn());break;case"CornerRadius":null!=this.hm&&(this.hm.bx=new i.CornerRadius(0,this.h4));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.hq&&(this.hq.bb=this.jv,this.hq.bc=this.jw,this.hq.bk=this.hf,this.hq.bl=this.hg);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.hr&&(this.hr.bb=this.jx,this.hr.bc=this.jy,this.hr.bk=this.hh,this.hr.bl=this.hi);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.gt();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.hq&&(this.hq.br=this.iw,this.hq.bq=this.is);break;case"LeftIsDisabled":null!=this.hk&&(this.hk.bw=this.hz);break;case"RightIsDisabled":null!=this.hl&&(this.hl.bw=this.h2);break;case"RightIconName":case"RightIconCollectionName":null!=this.hr&&(this.hr.br=this.jf,this.hr.bq=this.jb);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.ht&&(this.ht.bm=this.jq,this.ht.bk=this.ad,this.ht.ba=this.a6?this.gx:this.g3),null!=this.hs&&(this.hs.bm=this.i7,this.hs.bk=this.ad,this.hs.ba=this.a6?this.gx:this.g3);break;case"LeftIsSelected":case"RightIsSelected":null!=this.hm&&this.h1(this.hm)&&(this.hm.bk=this.he())}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hm&&(this.hm.bq=this.ai(this.u))},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hm&&(this.hm.c=this.s),null!=this.q&&(this.jv=null!=this.jz?this.jz:this.q.is,this.jw=null!=this.j0?this.j0:this.q.it,this.jx=null!=this.j1?this.j1:this.q.is,this.jy=null!=this.j2?this.j2:this.q.it)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hm&&(this.hm.bp=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hm&&(this.hm.bp=null)},n.$t=i.markType(n,"ToolActionButtonPair",ze.$),n}(ze),Me=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hg=null,e.hl=-1,e.hi=!1,e.hm=null,e.hk=NaN,e.hh=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 11},n.prototype.fb=function(e,n){if(t.prototype.fb.call(this,e,n),null!=this.hg&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,i.isNaN_(this.b7)?Number.POSITIVE_INFINITY:this.b7),o=this.hg.bf(r);o.height+=this.b1,o.height+=this.by,n.e=o.width,n.d=o.height;var s=this.hk;this.hk=o.height,i.isNaN_(s)||s==this.hk||this.ft()}},n.prototype.fh=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.ct("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gj("ItemsSource",t),this.f3("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ct("SelectedMemberPath",null)},set:function(t){var e=this.hu;e!=t&&(this.gj("SelectedMemberPath",t),this.f3("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.ct("ShowSelectAll",!1)},set:function(t){var e=this.hj;e!=t&&(this.gj("ShowSelectAll",t),this.f3("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.ct("DataMemberPath",null)},set:function(t){var e=this.ho;e!=t&&(this.gj("DataMemberPath",t),this.f3("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.ct("PrimaryKey",null)},set:function(t){var e=this.hd;e!=t&&(this.gj("PrimaryKey",t),this.f3("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.ct("SelectedKeys",null)},set:function(t){var e=this.he;e!=t&&(this.gj("SelectedKeys",t),this.f3("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.h(we,"IndexType",1)},set:function(t){var e=this.hf;e!=t&&(this.gj("IndexType",i.enumGetBox(we,t)),this.f3("IndexType",i.enumGetBox(we,e),i.enumGetBox(we,t)))},enumerable:!1,configurable:!0}),n.prototype.gb=function(e,n,r){if(t.prototype.gb.call(this,e,n,r),null!=this.hg)switch(e){case"ItemsSource":this.hg.bz=this.itemsSource,n!=r&&this.ft();break;case"SelectedMemberPath":this.hg.b1=this.hu;break;case"DataMemberPath":this.hg.b0=this.ho;break;case"PrimaryKey":this.hg.bk=this.hd;break;case"ShowSelectAll":this.hg.by=this.hj;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.h3)),n.ao(i.runOn(this,this.h2))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.h3)),n.am(i.runOn(this,this.h2))}this.h4(this.hg);break;case"IndexType":this.hg.bt=this.hf}},n.prototype.h2=function(){this.hh||null!=this.hg&&this.hg.b3()},n.prototype.h4=function(t){var n,r;if(null!=t){this.hh=!0,t.b3();try{for(var o=e.__values(i.fromEnum(this.he)),s=o.next();!s.done;s=o.next()){var a=s.value;t.b2(a.key,a.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.hh=!1}},n.prototype.h3=function(t,n){var r,o;if(!this.hh)switch(n.action){case 0:if(null!=n.newItems)for(var s=0;s<n.newItems.count;s++){var a=n.newItems.item(s);this.hg.b4(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.hg.b5(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.hg.b5(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.hg.b4(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.hg.b3();try{for(var p=e.__values(i.fromEnum(this.he)),f=p.next();!f.done;f=p.next()){var d=f.value;this.hg.b2(d.key,d.value)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}},n.prototype.h5=function(t,e,n,r,o){0!=e.bm&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(0==e.bm&&e.bn(n),n.bl=3),e.bh=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),e.a8=this.gw,e.bj=this.hc,null!=this.ei&&(e.ap=this.ei),n.bk=this.hd,n.bz=this.itemsSource,n.bt=this.hf,n.b0=this.ho,n.b1=this.hu,this.hj?n.by=!0:n.by=!1,n.c=this.s,n.ca=this.g3,n.b6=this.gw,n.b7=this.gz,n.b8=this.g1,n.b9=this.g3,n.bq=i.runOn(this,this.hx),n.br=i.runOn(this,this.hz),n.bs=i.runOn(this,this.h0),n.bv=i.runOn(this,this.hy),n.bx=i.runOn(this,this.h1),this.hg!=n&&(this.hg=n),null==this.he?this.gh("SelectedKeys",new je):this.h4(n)},n.prototype.h1=function(t,e){this.hh||(this.hh=!0,this.he.clear(),this.hh=!1)},n.prototype.hy=function(t,e){this.gh("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.hx=function(t,e){this.hh||(this.hl=e.c,this.hi=e.b,this.hm=e.a,this.hh=!0,0==this.hf?e.b?this.he.remove(new Ce(1,e.a)):this.he.add(new Ce(1,e.a)):e.b?this.he.add(new Ce(1,e.a)):this.he.remove(new Ce(1,e.a)),this.hh=!1,this.f4(this.k(!0),this))},n.prototype.hz=function(t,e){if(0==this.hf){if(e.b)return;var i=new Ce(1,e.a);if(this.he.contains(i))return;this.hh=!0,this.he.add(i),this.hh=!1}else{if(!e.b)return;var n=new Ce(1,e.a);if(this.he.contains(n))return;this.hh=!0,this.he.add(n),this.hh=!1}},n.prototype.h0=function(t,e){if(0==this.hf){if(e.b)return;var i=new Ce(1,e.a);if(!this.he.contains(i))return;this.hh=!0,this.he.remove(i),this.hh=!1}else{if(!e.b)return;var n=new Ce(1,e.a);if(!this.he.contains(n))return;this.hh=!0,this.he.remove(n),this.hh=!1}},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.hg&&this.hl>-1&&(e.e=this.hl,e.b=this.hi,e.f=this.hi),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),this.hl>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hi,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.hl,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.hm,t}()))},n.prototype.gs=function(t,e,n){null!=this.hg&&(t.bh=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),t.a8=this.gw,t.bj=this.hc,null!=this.ei&&(t.ap=this.ei))},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),16,this.aj(16),(function(i){var s=i;r.h5(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(0);this.h5(o,t,s,e,n)}},n.prototype.gu=function(){t.prototype.gu.call(this),this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(8):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(8):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(8):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(8):this.ch},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.ho=e.dataMemberPath,this.hu=e.selectedMemberPath,this.hd=e.primaryKey,this.itemsSource=e.itemsSource,this.hj=e.showSelectAll},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hg&&(this.hg.bq=null,this.hg.br=null,this.hg.bs=null,this.hg.bv=null,this.hg.bx=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hg&&(this.hg.bq=null,this.hg.br=null,this.hg.bs=null,this.hg.bv=null,this.hg.bx=null)},n.$t=i.markType(n,"ToolActionCheckboxList",ze.$),n}(ze),Fe=function(t){function n(){var e=t.call(this)||this;return e.hd=null,e.he=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 10},n.prototype.fb=function(e,n){t.prototype.fb.call(this,e,n);var r=new de;r.a=1;for(var o=0,s=0;s<this.actions.count;s++)i.isNaN_(this.actions._inner[s].bz)&&this.actions._inner[s].gt(),this.actions._inner[s].fa(e,r),o+=r.e;n.e=o,i.isNaN_(this.b7)||(n.d=this.b7),this.he||(this.he=!0,this.ft())},n.prototype.fh=function(t,e,i,n){null!=n&&n()},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)o.ao=i.enumGetBox(i.ToolActionType_$type,this.z),i.NativeUIComponent.at(this.q.v.x(),13,this.bg()?2:0,(function(e){return r.hg(o,t,e,n)}));else{var s=t.bl(0);this.hg(o,t,s,n)}},n.prototype.hg=function(t,e,n,r){0==e.bm&&(e.bn(n),n.bv=1,n.f=0),n.c=this.s,n.ci=this.q.jl,n.bu=this.q.p,n.b8=this.q.i6,null==this.g?n.b5=this.q.i3:n.b5=this.q.jj,n.cg=this.q.jj,n.b9=this.q.i9,n.cb=this.q.jc,n.cf=this.q.ji,n.bw=this.q.ak,n.cj=this.q.jo,n.ck=this.q.jp,n.b6=this.q.i4,n.b7=this.q.i5,n.ce=this.q.jh,n.cc=this.q.jf,n.cd=this.q.jg,n.ch=this.q.jk,n.ca=this.q.jb,n.bx=this.q.ao,-1!=this.cn?n.bz=this.cn:n.bz=this.q.cx,n.bt=this.actions,n.bs=i.runOn(this,this.hf),this.hd!=n&&(this.hd=n)},n.prototype.hf=function(t,e){this.gf(e.a,e.b)},n.prototype.gb=function(e,i,n){t.prototype.gb.call(this,e,i,n)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionSubPanel",ze.$),n}(ze),He=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 14},Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("Value",null)},set:function(t){var e=this.hf;e!=t&&(this.gj("Value",t),this.f3("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.he(),n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.he=function(){return this.hd.b7},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.h=this.he(),e},n.prototype.hh=function(t,e){this.hf=this.he();var i=this.k(!0);this.f4(i,this)},n.prototype.hi=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=0,n.bo=2,n.b2=!1}n.c=this.s,n.ce=this.a6?this.gx:this.g3,n.bk=this.ad,n.b0=this.a6,n.bs=i.runOn(this,this.hh),n.b7=this.hf,this.hd!=n&&(this.hd=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),2,this.aj(2),(function(i){var s=i;r.hi(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hi(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hd&&(this.hd.bp=this.ai(this.u))},n.prototype.gu=function(){null!=this.hd&&(this.hd.c=this.s)},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsDisabled":null!=this.hd&&(this.hd.b0=this.a6,this.hd.ce=this.a6?this.gx:this.g3)}},n.prototype.fw=function(){null==this.hd||this.a6||this.hd.az()},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hf=e.value},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionTextInput",ze.$),n}(ze),Ge=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.he=null,e.hg=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 9},n.prototype.get_cl=function(){return 0},Object.defineProperty(n.prototype,"hd",{get:function(){return this.h(Te,"DisplayType",0)},set:function(t){var e=this.hd;t!=e&&(this.gj("DisplayType",i.enumGetBox(Te,t)),this.f3("DisplayType",i.enumGetBox(Te,e),i.enumGetBox(Te,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.ct("CornerRadius",NaN)},set:function(t){var e=this.hh;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("CornerRadius",t),this.f3("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),9==e.z){var n=e;i.isNaN_(n.hh)||(this.hh=n.hh),this.hd!=n.hd&&(this.hd=n.hd)}},n.prototype.hf=function(){switch(this.hd){case 0:return 0;case 1:return 1;case 2:return 2;default:return 0}},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e},n.prototype.b3=function(t,e){return NaN},n.prototype.b5=function(t,e){return NaN},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hd=e.displayType},n.prototype.hi=function(){switch(this.u){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.hj=function(){return i.DeviceUtils.g(88)},n.prototype.b4=function(e,n){var r=t.prototype.b5.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.hi(),i.DeviceUtils.g(this.hj()))},n.prototype.fh=function(t,e,i,n){null!=n&&n()},n.prototype.hn=function(t,e,n,r,o){o&&(0==t.bm&&(t.b2(0,2,1),t.bn(e),t.cc(e,0),t.ca(e,0)),this.a4?e.bp=2:e.bp=this.ai(this.u),e.h=1,e.bu=!0),t.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),e.c=this.s,e.b0=new i.CornerRadius(0,this.hh),e.bn=this.hf(),e.bz=this.e1,e.bm=i.runOn(this,this.hm),e.bk=this.ad,e.bx=this.bd,this.he=e},n.prototype.hm=function(t,e){this.f4(this.k(!0),this)},n.prototype.f7=function(t,e,n){var r=this;if(!this.hg){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1)];this.hg=!0,i.NativeUIComponent.av(this.q.v.x(),[1],s,(function(i){r.hn(t,i[0],e,n,!0),r.hg=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(0);this.hn(t,a,e,n,!1)}}},n.prototype.gb=function(e,n,r){switch(t.prototype.gb.call(this,e,n,r),e){case"Title":null!=this.he&&(this.he.bz=this.e1);break;case"DisplayType":null!=this.he&&(this.he.bn=this.hf());break;case"CornerRadius":null!=this.he&&(this.he.b0=new i.CornerRadius(0,this.hh));break;case"StopPropagation":null!=this.he&&(this.he.bx=this.bd)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.he&&(this.he.bp=this.ai(this.u))},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.he&&(this.he.c=this.s),null==this.q||1!=this.q.u&&2!=this.q.u?(this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(10):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(10):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(4):this.ch):(this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(4):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(4):this.ch)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.he&&(this.he.bm=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.he&&(this.he.bm=null)},n.$t=i.markType(n,"ToolActionButton",ze.$),n}(ze),We=function(t){function n(){var e=t.call(this)||this;return e.hd=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.he),e}return e.__extends(n,t),n.prototype.get_a1=function(){return this.bf()||this.actions.count>0},n.prototype.get_z=function(){return 4},n.prototype.b4=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b4.call(this,e,n)},n.prototype.hf=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z)&&2==e.bm){var o=this.b4(this.q,r);e.b2(3,1,i.isNaN_(o)?0:o),e.bn(n),e.ca(n,3),e.cc(n,0),n.br="ToolbarDrillDownIcon",n.bq="IG_Default",n.f=1,n.h=1,n.ae=i.DeviceUtils.g(24),n.y=i.DeviceUtils.g(24)}n.bc=this.g3,n.bb=this.g3},n.prototype.fw=function(){this.actions.count>0?this.q.gk(this):this.f4(this.k(!1),this)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z?(this.actions.count>0&&i.NativeUIComponent.at(this.q.v.x(),11,this.bg()?2:0,(function(e){r.hd=e,r.hf(o,t,r.hd,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)):this.actions.count>0&&(this.hd=t.bl(2),this.hf(o,t,this.hd,n))},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"ActualTextColor":null!=this.hd&&(this.hd.ba=this.g3)}},n.$t=i.markType(n,"ToolActionLabel",ze.$),n.he='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ze),Ke=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e.hg=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 6},Object.defineProperty(n.prototype,"hl",{get:function(){return this.hg},set:function(t){this.hg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.ct("IsChecked",!1)},set:function(t){var e=this.he;e!=t&&(this.gj("IsChecked",t),this.f3("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("IsManual",!1)},set:function(t){var e=this.hf;e!=t&&(this.gj("IsManual",t),this.f3("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.ct("UncheckedBackgroundColor",null)},set:function(t){var e=this.h1;e!=t&&(this.gj("UncheckedBackgroundColor",t),this.f3("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.ct("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.hx;e!=t&&(this.gj("ActualUncheckedBackgroundColor",t),this.f3("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.ct("CheckedBackgroundColor",null)},set:function(t){var e=this.hz;e!=t&&(this.gj("CheckedBackgroundColor",t),this.f3("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.ct("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hv;e!=t&&(this.gj("ActualCheckedBackgroundColor",t),this.f3("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.ct("UncheckedBorderColor",null)},set:function(t){var e=this.h2;e!=t&&(this.gj("UncheckedBorderColor",t),this.f3("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.ct("ActualUncheckedBorderColor",null)},set:function(t){var e=this.hy;e!=t&&(this.gj("ActualUncheckedBorderColor",t),this.f3("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.ct("CheckedBorderColor",null)},set:function(t){var e=this.h0;e!=t&&(this.gj("CheckedBorderColor",t),this.f3("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.ct("ActualCheckedBorderColor",null)},set:function(t){var e=this.hw;e!=t&&(this.gj("ActualCheckedBorderColor",t),this.f3("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.hd&&(e.b=this.hd.bn),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hd.bn,n))},n.prototype.hs=function(){null!=this.hd&&(this.hd.bn=!1,this.gh("IsChecked",this.hd.bn))},n.prototype.b4=function(t,e){return 30},n.prototype.gn=function(){t.prototype.gn.call(this),this.hd},n.prototype.gu=function(){null!=this.q&&(this.hx=null!=this.h1?this.h1:this.q.i1,this.hy=null!=this.h2?this.h2:this.q.i2,this.hv=null!=this.hz?this.hz:this.q.ii,this.hw=null!=this.h0?this.h0:this.q.ij,null!=this.hd&&(this.hd.c=this.s,this.hd.br=this.hx,this.hd.bs=this.hy,this.hd.bp=this.hv,this.hd.bq=this.hw))},n.prototype.fw=function(){this.hf||(this.hd.bn=!0,this.gh("IsChecked",this.hd.bn)),this.f4(this.k(!0),this)},n.prototype.ht=function(t,e){this.he?this.hd.bn=!0:(this.hf?this.hd.bn=this.he:this.gh("IsChecked",this.hd.bn),this.f4(this.k(!0),this))},n.prototype.hu=function(t,e,n,r,o){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(e.b2(3,1,this.b4(this.q,o)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.bm=!0,n.f=1,n.h=1,n.bo=i.DeviceUtils.g(10),n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20),t.ao=i.enumGetBox(i.ToolActionType_$type,this.z)),n.c=this.s,n.bn=this.he,n.bl=i.runOn(this,this.ht),n.br=this.hx,n.bs=this.hy,n.bp=this.hv,n.bq=this.hw,this.hd!=n&&(this.hd=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),6,this.aj(6),(function(i){var s=i;r.hu(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hu(o,t,s,e,n)}},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsChecked":null!=this.hd&&(this.hd.bn=this.he);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.gt()}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.he=e.isChecked,this.hl=e.channel},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bl=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bl=null)},n.$t=i.markType(n,"ToolActionRadio",ze.$),n}(ze),Xe=function(t){function n(){var e=t.call(this)||this;return e.he=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hf",{get:function(){return this.he},set:function(t){var e=this.he;this.he=t,e!=this.he&&this.f3("Size",e,this.he)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.ct("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.hd;e!=t&&(this.gj("IsGroupHeaderSeparator",t),this.f3("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_z=function(){return 7},n.prototype.fb=function(e,i){t.prototype.fb.call(this,e,i),1==i.a||2==i.a?i.e=this.bz+this.hf+this.b0:i.d=this.b1+this.hf+this.by},n.prototype.fh=function(t,e,n,r){t.ao=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fd=function(t,e){1==e.a?(t.f=0,t.h=3):2==e.a?(t.f=3,t.h=3):t.f=3},n.prototype.gs=function(t,e,n){1==n.a||2==n.a?t.ae=this.hf:t.y=this.hf,t.bh=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),t.a8=this.gw,t.bj=this.hc},n.prototype.gn=function(){t.prototype.gn.call(this)},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.q&&(this.gw=null!=this.g4?this.g4:this.hd?this.q.im:this.q.iv,1==this.q.u||2==this.q.u?(this.bz=i.isNaN_(this.ci)?this.q.b1:this.ci,this.b0=i.isNaN_(this.cj)?this.q.b2:this.cj,this.b1=i.isNaN_(this.ck)?this.q.b3:this.ck,this.by=i.isNaN_(this.ch)?this.q.b0:this.ch):(null==this.g&&this.a9()?(this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(10):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(10):this.cj):(this.bz=i.isNaN_(this.ci)?this.q.b5:this.ci,this.b0=i.isNaN_(this.cj)?this.q.b6:this.cj),this.b1=i.isNaN_(this.ck)?this.q.b7:this.ck,this.by=i.isNaN_(this.ch)?this.q.b4:this.ch))},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"Size":null!=this.q&&this.q.gj();break;case"IsGroupHeaderSeparator":this.gt()}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hf=e.size,this.hd=e.isGroupHeaderSeparator},n.$t=i.markType(n,"ToolActionSeparator",ze.$),n}(ze),Qe=function(t){function n(){var e=t.call(this)||this;return e.hi=null,e.hf=null,e.hd=null,e.ii=-1,e.ij=-1,e.h8=-1,e.hp=!1,e.hm=!1,e.hl=!1,e.hq=!1,e.ho=!1,e.ik=-1,e.h5=NaN,e.h1=NaN,e.h7=NaN,e.h3=NaN,e.h6=NaN,e.h2=NaN,e.h4=NaN,e.h0=NaN,e.hg=null,e.hh=null,e.hr=!1,e.ht=!1,e.popupOpening=null,e.hk=!1,e.hn=!1,e.hd=new i.DelayManager(0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hv",{get:function(){return this.hq},set:function(t){this.hq=t},enumerable:!1,configurable:!0}),n.prototype.get_z=function(){return 3},n.prototype.get_be=function(){return!1},Object.defineProperty(n.prototype,"hj",{get:function(){return this.hi},enumerable:!1,configurable:!0}),n.prototype.get_hz=function(){return null!=this.hf},Object.defineProperty(n.prototype,"hz",{get:function(){return this.get_hz()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.ik},set:function(t){this.ik=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return i.typeGetValue(this.ct("ActualTooltipDelay",500))},set:function(t){var e=this.il;e!=t&&(this.gj("ActualTooltipDelay",t),this.f3("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return null!=this.hi&&(this.hi.b5||this.hi.b6||this.hi.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.f3("ContentPaddingLeft",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.f3("ActualContentPaddingLeft",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.h7},set:function(t){var e=this.h7;this.h7=t,e!=this.h7&&this.f3("ContentPaddingTop",e,this.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.f3("ActualContentPaddingTop",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.f3("ContentPaddingRight",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.f3("ActualContentPaddingRight",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.f3("ContentPaddingBottom",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.f3("ActualContentPaddingBottom",e,this.h0)},enumerable:!1,configurable:!0}),n.prototype.e6=function(){t.prototype.e6.call(this),i.NativeUIWindow.i(15,i.runOn(this,this.jg)),i.NativeUIWindow.i(9,i.runOn(this,this.jf)),this.hl=!1,this.hq=!1,null!=this.hi&&(this.hi.q=null,this.hi.s=null,this.hi.n=null,this.hi.o=null,this.hi.bu=null),null!=this.hg&&(this.hg.bm=null,this.hg.q=null,this.hg.s=null,this.hg.o=null)},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e},n.prototype.b3=function(t,e){var n=36;4==this.u&&(n=18);var r=0;return i.isNaN_(this.ia)||(r+=this.ia),i.isNaN_(this.ib)||(r+=this.ib),i.DeviceUtils.g(n)+r},n.prototype.b5=function(t,e){return NaN},n.prototype.fh=function(t,e,i,n){null!=n&&n()},n.prototype.jk=function(t){this.bx=i.isNaN_(this.cg)?this.b6():this.cg,this.bw=i.isNaN_(this.ca)?this.b6():this.ca},n.prototype.jj=function(t,e,n,r,o){var s=n.bo;this.ht=!0,o&&(e.b8(2),e.b8(1),0==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,0),this.a4?n.bp=3:n.bp=this.ai(this.u),n.bn=4,n.bu=!0,n.f=1,this.jk(s)),e.bv=1,e.bw=!1,e.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),n.b2=new i.Thickness(1,this.ia,this.ic,this.ib,this.h9),s.br=this.d6,s.bq=this.d1,s.bn=this.cd,s.bo=this.ce,s.bp=this.cf,s.bm=this.cc,s.bb=this.g0,s.bk=this.a,s.bc=this.g1,s.bl=this.b,s.ac=this.cb,s.ae=i.DeviceUtils.g(this.bx),s.y=i.DeviceUtils.g(this.bw),n.c=this.s,n.bx=this.bd,n.bm=i.runOn(this,this.i5),n.q=i.runOn(this,this.i7),n.s=i.runOn(this,this.i8),n.o=i.runOn(this,this.i6),this.hg!=n&&(this.hg=n),this.hh!=s&&(this.hh=s),this.ht=!1},n.prototype.jl=function(t,e){this.hi!=e&&(null!=this.hi&&(this.hi.b6||this.hi.b5)&&this.hi.cb(),this.hi=e,this.hi.b7=this.q.b8,this.hi.bs=1,this.hi.b3=!0,this.hi.b9=100,this.hi.b1=!0,this.hi.ca=i.truncate(this.q.b9),this.hi.b4=!0,2!=t.bm&&t.bn(this.hi),this.hl||(i.NativeUIWindow.h(15,i.runOn(this,this.jg),this.q.v.p),i.NativeUIWindow.h(9,i.runOn(this,this.jf),this.q.v.p),this.hl=!0),this.hk=!1),this.hi.q=i.runOn(this,this.jd),this.hi.s=i.runOn(this,this.je),this.hi.n=i.runOn(this,this.jb),this.hi.o=i.runOn(this,this.jc),this.hi.bu=i.runOn(this,this.ja),0==this.hi.bm&&(this.hq=!1),this.actions.count>0?this.hi.u=!0:this.hi.u=!1},n.prototype.iz=function(){this.i0(this.ho,this.hp),this.hq=!0},n.prototype.i0=function(t,e){var i=this;0==this.hi.bm?(this.hf=new Ie(this.q.v.x()),this.hf.t((function(){i.hi.bn(i.hf.e),t&&i.d.executeDelayed((function(){return i.jh(e)}),100)}))):this.hf=this.hi.bl(0).ao,this.hf.b=this.q.ak,this.hf.y=this.q.iz,this.hf.z=this.q.i0,this.hf.p=this.e1,this.hi.cg=this.hf.y},n.prototype.i2=function(){},n.prototype.i1=function(){},n.prototype.i3=function(){null!=this.hf&&(this.hi.cg=this.q.iz,this.hf.y=this.q.iz,this.hf.z=this.q.i0,this.hi.b7=this.q.b8,this.hi.ca=i.truncate(this.q.b9))},n.prototype.jm=function(){return null!=this.hf?this.hf.aa():i.Size.empty},n.prototype.jg=function(t){if(null!=this.hg){var e=this.hg.be();this.hi.cd(e)}},n.prototype.jf=function(t){var e=t;!this.hy||this.hi.t(e.b)||this.hg.t(e.b)||this.iy()},n.prototype.f7=function(t,e,n){var r=this;if(!this.hr){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm)this.hr=!0,i.NativeUIComponent.av(this.q.v.x(),[10,12],[this.aj(10),this.aj(12)],(function(e){r.jj(o,t,e[0],n,!0),r.jl(t,e[1]),r.hr=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(0),a=t.bl(1);this.jj(o,t,s,n,!1),this.jl(t,a)}}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hg&&(this.hg.bp=this.ai(this.u)),null!=this.hh&&this.jk(this.hh)},n.prototype.gu=function(){switch(t.prototype.gu.call(this),null!=this.q&&(this.il=-1!=this.im?this.im:this.q.cs),this.s){case 6:case 5:case 4:case 3:this.bz=i.isNaN_(this.ci)?0:this.ci,this.b0=i.isNaN_(this.cj)?0:this.cj;break;default:this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(4):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj}this.ia=i.isNaN_(this.ie)?NaN:this.ie,this.ib=i.isNaN_(this.ig)?NaN:this.ig,this.ic=i.isNaN_(this.ih)?NaN:this.ih,this.h9=i.isNaN_(this.id)?NaN:this.id,null!=this.hg&&(this.hg.c=this.s,null!==i.typeCast(i.NativeUIIconButton.$,this.hg)&&(this.hg.bb=this.g3,this.hg.bc=this.g3)),null!=this.hh&&(this.hh.bb=this.g0,this.hh.bc=this.g1,this.hh.bk=this.a,this.hh.bl=this.b),this.i3()},n.prototype.f1=function(){this.ht||null!=this.hh&&(this.hh.br=this.d6,this.hh.bq=this.d1,this.hh.ae=i.DeviceUtils.g(this.bx),this.hh.y=i.DeviceUtils.g(this.bw))},n.prototype.f8=function(){this.actions.count>0&&(null!=this.hi&&this.hz?(this.jh(),this.hp=!0):this.ho=!0)},n.prototype.e7=function(){this.actions.count>0&&(null!=this.hi&&this.hz?this.iy():this.ho=!1)},n.prototype.get_a8=function(){return this.hy||this.hu},Object.defineProperty(n.prototype,"hu",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].a8)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.jh=function(t){if(void 0===t&&(t=!1),!this.hq)return this.ho=!0,this.hp=t,void this.iz();if(!this.hy){if(this.q.fu(),0==this.actions.count&&i.stringIsNullOrEmpty(this.e1))return;if(null!=this.popupOpening){var e=new ri;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.q&&this.q.ga();var n=this.hg.be(),r=new i.Rect(0,n.left,n.top,n.width,n.height);if(r.top=n.top+window.scrollY,r.left=n.left+window.scrollX,1==this.q.u||2==this.q.u){var o=i.NativeUIWindow.d(this.q.v.p),s=this.jm();s.height+=this.hi.b8,n.bottom+s.height>o?n.top-s.height<0?this.hi.ce(r,1,3):this.hi.ce(r,2,3):this.hi.ce(r,1,3)}else{var a=i.NativeUIWindow.f(this.q.v.p),h=this.jm();h.width+=this.hi.b8,n.right+h.width>a?n.left-h.width<0?this.hi.ce(r,4,3):this.hi.ce(r,3,3):this.hi.ce(r,4,3)}this.i2()}this.hp=t,this.ho=!1},n.prototype.ji=function(){this.hy&&(this.hp=!0)},n.prototype.iy=function(){var t=this;this.hy&&(this.hk||(this.hd.f((function(){t.hi.cb(),t.hp=!1,t.hk=!1}),100),this.hk=!0))},n.prototype.i9=function(){this.jh(),this.ij=-1,this.h8=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.i4=function(){this.iy(),this.ii=-1},n.prototype.hs=function(){return this.q.a2&&!i.stringIsNullOrEmpty(this.e1)},n.prototype.i7=function(t,e){if(this.hm=!0,-1!=this.ii&&(this.hd.g(this.ii),this.ii=-1),!this.hy){if(!this.hs())return;this.ij=this.hd.f(i.runOn(this,this.i9),this.il)}},n.prototype.i8=function(t,e){-1!=this.ij&&(this.hd.g(this.ij),this.ij=-1),this.hy&&!this.hp&&(this.ii=this.hd.f(i.runOn(this,this.i4),50)),this.h8=-1,this.hm=!1},n.prototype.i5=function(t,e){if(this.actions.count>0)if(this.hy)if(this.hp||-1==this.h8)this.iy();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.hw(n-this.h8)&&this.iy()}else-1!=this.ij&&(this.hd.g(this.ij),this.ij=-1),this.jh(!0);else this.hy&&this.au&&this.iy(),this.f4(this.k(!0),this)},n.prototype.hw=function(t){return!0},n.prototype.jd=function(t,e){this.hn=!0,-1!=this.ii&&(this.hd.g(this.ii),this.ii=-1)},n.prototype.je=function(t,e){this.hp||(this.ii=this.hd.f(i.runOn(this,this.i4),50)),this.hn=!1},n.prototype.jb=function(t,e){this.hp=!0},n.prototype.jc=function(t,e){null==e.b&&this.hx(e)||this.hi.t(e.b)||this.hg.t(e.b)||this.iy()},n.prototype.hx=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.ja=function(t,e){null!=this.q&&this.q.f9(),this.i1()},n.prototype.i6=function(t,e){if(this.hy){if(null==e.b&&this.hx(e))return;this.hi.t(e.b)||this.hg.t(e.b)||this.iy()}},n.prototype.gb=function(e,n,r){switch(t.prototype.gb.call(this,e,n,r),e){case"ExecutionContext":this.hd.b=this.d;break;case"Title":null!=this.hf&&(this.hf.p=this.e1);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.hh&&(this.hh.bb=this.g0,this.hh.bc=this.g1,this.hh.bk=this.a,this.hh.bl=this.b);break;case"TooltipDelay":this.il=-1!=this.im?this.im:this.q.cs;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.hh&&(this.hh.ae=i.DeviceUtils.g(this.bx),this.hh.y=i.DeviceUtils.g(this.bw));break;case"StopPropagation":null!=this.hg&&(this.hg.bx=this.bd)}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.im=e.tooltipDelay,e.isMenuOpenOnStart&&this.f8()},n.prototype.cp=function(){var t=new ye;return t.g=this.cx,t.h=this.ei,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ao.an)),null!=this.hg&&(t.f=this.hg.af()),null!=this.hh&&(t.b=this.hh.af()),t},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hi&&(this.hi.q=null,this.hi.s=null,this.hi.n=null,this.hi.o=null,this.hi.bu=null),null!=this.hg&&(this.hg.bm=null,this.hg.q=null,this.hg.s=null,this.hg.o=null),this.hq=!1},n.$t=i.markType(n,"ToolActionIconButton",ze.$),n}(ze),Ye=function(t){function n(){var e,r=t.call(this)||this;return r.he=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),r.hf=null,r.hd=null,r.hg=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.hi),r}return e.__extends(n,t),n.prototype.get_z=function(){return 1},n.prototype.get_a1=function(){return!1},n.prototype.get_a2=function(){return!1},n.prototype.get_bb=function(){return!1},Object.defineProperty(n.prototype,"ho",{get:function(){return this.ct("ActualBackIconColor",null)},set:function(t){var e=this.ho;e!=t&&(this.gj("ActualBackIconColor",t),this.f3("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.ct("BackIconColor",null)},set:function(t){var e=this.hp;e!=t&&(this.gj("BackIconColor",t),this.f3("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.ae=function(t){return this.he},n.prototype.b2=function(t,e){return this.bc()?i.DeviceUtils.g(36):NaN},n.prototype.b4=function(e,n){if(this.actions.count>0){if(null!=this.hd){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.hd.bf(r).width}return 0}return t.prototype.b4.call(this,e,n)},n.prototype.hm=function(t,e,n,r){var o=n.bo;if(!(null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||null!=e.ao&&2!=i.typeGetValue(e.ao))){var s=!1;null==e.ao?e.ao=1:(s=!0,e.ao=3),e.bo(2,n);var a=null;s&&(a=e.bl(3)),e.b6(0,1,this.b2(this.q,r)),e.ca(e.bl(0),1),e.ca(e.bl(1),2),s&&e.ca(a,3),e.ca(n,0),e.cc(n,0),n.h=1,n.f=1,n.bh=new i.Thickness(1,-9,0,9,0),n.bp=this.ai(this.u),o.br="ToolbarBackButton",o.bq="IG_Default",o.ae=i.DeviceUtils.g(24),o.y=i.DeviceUtils.g(24)}o.bc=this.ho,n.c=this.s,n.bx=this.bd,n.bm=i.runOn(this,this.hk),this.hf=n},n.prototype.hn=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z||null==e.ao||i.typeGetValue(e.ao)<2)&&(null==e.ao||1==i.typeGetValue(e.ao))){var o=!1;null==e.ao?e.ao=2:(o=!0,e.ao=3),e.bn(n),o?(e.b6(4,1,this.b4(this.q,r)),e.ca(n,4),e.cc(n,0)):(e.b6(3,1,this.b4(this.q,r)),e.ca(n,3),e.cc(n,0)),n.bu=this.q.p,n.bv=1,n.h=1,n.f=2}n.bs=i.runOn(this,this.hl),n.b4(this.ai(this.u)),this.hd=n,this.hd.bt!=this.actions&&(this.hd.bt=this.actions,this.bc()?e.cd(4,1,this.b4(this.q,r)):e.cd(3,1,this.b4(this.q,r)))},n.prototype.hl=function(t,e){this.gf(e.a,e.b)},n.prototype.hk=function(t,e){this.q.gl(this)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)this.bc()&&i.NativeUIComponent.at(this.q.v.x(),10,this.bg()?2:0,(function(e){return r.hm(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.at(this.q.v.x(),13,2,(function(e){return r.hn(o,t,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{if(this.bc()){var s=t.bl(2);this.hm(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ao)&&(a=2);var h=t.bl(a);this.hn(o,t,h,n)}}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hf&&(this.hf.bp=this.ai(this.u))},n.prototype.gu=function(){var e;t.prototype.gu.call(this),null!=this.hf&&(this.hf.c=this.s),null!=this.q&&(this.gw=null!=this.g4?this.g4:this.q.il,this.g3=null!=this.hb?this.hb:this.q.ip,this.g2=null!=this.ha?this.ha:this.q.io),this.ho=null!=this.hp?this.hp:this.g3,null!=this.ag?e=this.ag.a():null!=this.q&&null!=this.q.ak?(e=this.q.ak.a()).v="Bold":e=this.he,this.ad=e},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"StopPropagation":null!=this.hf&&(this.hf.bx=this.bd)}},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hf&&(this.hf.bm=null),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hf&&(this.hf.bm=null),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionGroupHeader",ze.$),n.hi='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ze),Je=function(t){function n(){var e=t.call(this)||this;return e.jv=i.DeviceUtils.g(24),e.ju=i.DeviceUtils.g(15),e.jt=0,e.jn=null,e.jq=!1,e.jp=null,e.jr=!1,e.jo=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow",n.jx),e.jt=e.jv-e.ju,e}return e.__extends(n,t),n.prototype.get_z=function(){return 8},Object.defineProperty(n.prototype,"j4",{get:function(){return this.ct("ArrowStroke",null)},set:function(t){var e=this.j4;e!=t&&(this.gj("ArrowStroke",t),this.f3("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j3",{get:function(){return this.ct("ActualArrowStroke",null)},set:function(t){var e=this.j3;e!=t&&(this.gj("ActualArrowStroke",t),this.f3("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"js",{get:function(){return this.ct("ShowArrowIcon",!0)},set:function(t){var e=this.js;e!=t&&(this.gj("ShowArrowIcon",t),this.f3("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_hz=function(){return null!=this.jn},n.prototype.i0=function(t,e){var n=this;if(this.jq=!1,this.hj.bm>0)for(;this.hj.bm>0;)this.hj.bq(0);null!=this.jn&&(this.jn.t=null),this.jn=new ai(this.q.v.x(),this.d),this.jn.o=this.s,this.jn.al((function(){n.jn.s.a7=new i.CornerRadius(0,8),n.jn.s.a8=n.q.iw,n.hj.bn(n.jn.s),n.jn.ag(n,(function(r){null!=n.ei&&(r.ap=n.ei+"SubPanel"),n.jn.am(r),n.actions.count>0&&null!=n.actions._inner[0].gw&&!i.BrushUtilCore.a(n.actions._inner[0].gw)?n.hj.cg=n.actions._inner[0].gw:n.hj.cg=n.q.iw,t&&(n.jn.ak(),n.hj.cc(),n.d.executeDelayed((function(){return n.jh(e)}),100))}))})),this.jn.t=i.runOn(this,this.j0)},n.prototype.ft=function(){t.prototype.ft.call(this),this.hv?this.i2():this.jq=!0},n.prototype.i2=function(){null!=this.jn&&this.jn.ap()},n.prototype.i1=function(){null!=this.jn&&(this.jn.az(),this.hj.cc())},n.prototype.i3=function(){null!=this.jn&&(this.jn.a0(this.s,this.q),this.actions.count>0&&null!=this.actions._inner[0].gw&&!i.BrushUtilCore.a(this.actions._inner[0].gw)?this.hj.cg=this.actions._inner[0].gw:this.hj.cg=this.q.iw,this.hj.b7=8,this.hj.ca=4)},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hg&&(this.hg.bp=this.ai(this.u)),null!=this.hh&&this.jk(this.hh)},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.js=e.showArrowIcon},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.q&&(this.j3=null!=this.j4?this.j4:this.q.iu);var e=this.js?i.DeviceUtils.g(8):0,n=this.js?i.DeviceUtils.g(4):0,r=this.js?i.DeviceUtils.g(5):0,o=this.js?i.DeviceUtils.g(5):0;switch(this.s){case 6:case 5:case 4:case 3:this.ia=i.isNaN_(this.ie)?e:this.ie,this.ib=i.isNaN_(this.ig)?n:this.ig,this.ic=i.isNaN_(this.ih)?r:this.ih,this.h9=i.isNaN_(this.id)?o:this.id;break;default:this.ia=i.isNaN_(this.ie)?0:this.ie,this.ib=i.isNaN_(this.ig)?0:this.ig,this.ic=i.isNaN_(this.ih)?0:this.ih,this.h9=i.isNaN_(this.id)?0:this.id}null!=this.jp&&(this.jp.bc=this.j3),null!=this.jo&&this.jo.cd(0,1,this.bx)},n.prototype.jm=function(){return!this.hv&&this.jq&&this.iz(),this.jn.a5()},n.prototype.jh=function(e){void 0===e&&(e=!1),null!=this.jn&&this.jn.az(),t.prototype.jh.call(this,e)},n.prototype.b3=function(e,n){if(!this.js)return t.prototype.b3.call(this,e,n);var r=0;return i.isNaN_(this.ia)||(r+=this.ia),i.isNaN_(this.ib)||(r+=this.ib),Math.max(i.DeviceUtils.g(36),this.bx+this.jt+r)},n.prototype.j2=function(t,e,n,r,o,s,a){this.ht=!0,a&&(t.b8(2),t.b8(1),0==t.bm&&(n.b2(0,1,i.DeviceUtils.g(this.bx)),n.b2(1,1,this.jt),n.bn(r),n.bn(o),n.ca(r,0),n.ca(o,1),this.jo=n,e.bo=n,t.bn(e)),t.cc(e,0),t.ca(e,0),this.a4?e.bp=3:e.bp=this.ai(this.u),n.bi=new i.Thickness(1,this.ia,this.ic,this.ib,this.h9),e.bn=4,e.bu=!0,e.f=1,e.b0=new i.CornerRadius(0,18),this.jk(r),r.h=1,o.ae=this.jv,o.y=this.jv,o.h=1,o.bh=new i.Thickness(1,-this.ju,0,0,0),o.br="igDropDownArrow",o.bq="IG_Default",o.bb=i.BrushUtil.h(0,0,0,0),o.ac=i.DeviceUtils.g(1)),t.bw=!1,t.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),r.br=this.d6,r.bq=this.d1,r.bn=this.cd,r.bo=this.ce,r.bp=this.cf,r.bm=this.cc,r.bb=this.g0,r.bc=this.g1,r.ae=this.bx,r.y=this.bw,o.bc=this.j3,e.c=this.s,e.bx=this.bd;var h=this.bx+this.ia+this.ib;this.js&&(h=h+this.jv-this.ju),e.by=h,e.bm=i.runOn(this,this.i5),e.q=i.runOn(this,this.i7),e.s=i.runOn(this,this.i8),e.o=i.runOn(this,this.i6),this.hg!=e&&(this.hg=e),this.hh!=r&&(this.hh=r),this.jp!=o&&(this.jp=o),this.j1(),this.ht=!1},n.prototype.f7=function(t,e,n){var r=this;if(!this.jr){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1),this.aj(7),this.aj(11),this.aj(11),this.aj(12)];this.jr=!0,i.NativeUIComponent.av(this.q.v.x(),[1,7,11,11,12],s,(function(e){r.j2(t,e[0],e[1],e[2],e[3],n,!0),r.jl(t,e[4]),r.jr=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(0),h=a.bo,u=h.bl(0),l=h.bl(1),c=t.bl(1);this.j2(t,a,h,u,l,n,!1),this.jl(t,c)}}},n.prototype.j0=function(t){this.gf(t.a,t.b),t.b&&this.e7()},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"ShowArrowIcon":this.j1(),null!=this.q&&(this.q.f2(this),this.q.gj());break;case"StopPropagation":null!=this.hg&&(this.hg.bx=this.bd)}},n.prototype.j1=function(){if(null!=this.hg&&null!=this.hh&&null!=this.jp)if(this.js){var t=this.hg.bo;2==t.bx?(t.cd(0,1,i.DeviceUtils.g(this.bx)),t.cd(1,1,this.jt)):(t.b2(0,1,i.DeviceUtils.g(this.bx)),t.b2(1,1,this.jt)),t.ca(this.hh,0),t.ca(this.jp,1),this.jp.bj=0}else{this.hg.bo.cd(1,1,i.DeviceUtils.g(0)),this.jp.bj=1}this.gu()},n.prototype.e5=function(e,i){switch(t.prototype.e5.call(this,e,i),i){case"Visibility":null!=this.jn&&this.jn.ay()}},n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),8==e.z){var i=e;this.js!=i.js&&(this.js=i.js),this.j4!=i.j4&&(this.j4=i.j4)}},n.prototype.e=function(){return this.hj.b6?this.jn.k().a:null},n.prototype.cp=function(){var t=new xe;return t.g=this.cx,t.h=this.ei,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ao.an)),null!=this.hg&&(t.f=this.hg.af()),null!=this.hh&&(t.b=this.hh.af()),null!=this.jp&&(t.j=this.jp.af()),t},n.prototype.hs=function(){return this.q.a1&&this.actions.count>0},n.prototype.hw=function(t){return!(this.q.ct<0||t<this.q.ct)||(this.ji(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",Qe.$),n.jx='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M20 11.1205L16.2166 14.8795L12.4575 11.1205" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>\r\n',n}(Qe),Ze=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 2},n.prototype.get_at=function(){return!1},Object.defineProperty(n.prototype,"he",{get:function(){return this.ct("IsChecked",!1)},set:function(t){var e=this.he;e!=t&&(this.gj("IsChecked",t),this.f3("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.ct("UncheckedBackgroundColor",null)},set:function(t){var e=this.hw;e!=t&&(this.gj("UncheckedBackgroundColor",t),this.f3("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.ct("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.hs;e!=t&&(this.gj("ActualUncheckedBackgroundColor",t),this.f3("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ct("CheckedBackgroundColor",null)},set:function(t){var e=this.hu;e!=t&&(this.gj("CheckedBackgroundColor",t),this.f3("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.ct("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hq;e!=t&&(this.gj("ActualCheckedBackgroundColor",t),this.f3("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.ct("UncheckedBorderColor",null)},set:function(t){var e=this.hx;e!=t&&(this.gj("UncheckedBorderColor",t),this.f3("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.ct("ActualUncheckedBorderColor",null)},set:function(t){var e=this.ht;e!=t&&(this.gj("ActualUncheckedBorderColor",t),this.f3("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.ct("CheckedBorderColor",null)},set:function(t){var e=this.hv;e!=t&&(this.gj("CheckedBorderColor",t),this.f3("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.ct("ActualCheckedBorderColor",null)},set:function(t){var e=this.hr;e!=t&&(this.gj("ActualCheckedBorderColor",t),this.f3("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),2==e.z){var i=e;null!=this.hv&&(this.hv=i.hv),null!=this.hu&&(this.hu=i.hu),null!=this.hx&&(this.hx=i.hx),null!=this.hw&&(this.hw=i.hw),this.he!=i.he&&(this.he=i.he)}},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.hd&&(e.b=this.hd.bn),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hd.bn,n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(32)},n.prototype.fw=function(){this.hd.bn=!this.hd.bn,this.gh("IsChecked",this.hd.bn),this.f4(this.k(!0),this)},n.prototype.hp=function(t,e,n,r,o){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(e.b2(3,1,this.b4(this.q,o)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.bm=!0,n.f=1,n.h=1,n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20)),n.c=this.s,n.bn=this.he,n.bl=i.runOn(this,this.ho),n.br=this.hs,n.bs=this.ht,n.bp=this.hq,n.bq=this.hr,this.hd=n},n.prototype.ho=function(t,e){this.gh("IsChecked",this.hd.bn),this.f4(this.k(!0),this)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),6,this.aj(6),(function(i){var s=i;r.hp(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hp(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),this.hd},n.prototype.gu=function(){null!=this.q&&(this.hs=null!=this.hw?this.hw:this.q.i1,this.ht=null!=this.hx?this.hx:this.q.i2,this.hq=null!=this.hu?this.hu:this.q.ii,this.hr=null!=this.hv?this.hv:this.q.ij,null!=this.hd&&(this.hd.c=this.s,this.hd.br=this.hs,this.hd.bs=this.ht,this.hd.bp=this.hq,this.hd.bq=this.hr))},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.gt()}},n.prototype.f2=function(){if(t.prototype.f2.call(this),null!=this.y){var e=this.y;e.isChecked&&(this.he=e.isChecked)}},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bl=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bl=null)},n.$t=i.markType(n,"ToolActionCheckbox",ze.$),n}(ze),ti=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 5},Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("Value",0)},set:function(t){var e=this.hf;e!=t&&(this.gj("Value",t),this.f3("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.he(),n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.he=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.hd.b7)?NaN:(null!=this.hd&&(e=i.tryParseNumber(n.hd.b7,t),t=e.p1,e.ret),t)},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.e=this.he(),e},n.prototype.hh=function(t,e){this.hf=this.he();var i=this.k(!0);this.f4(i,this)},n.prototype.hi=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=1,n.bo=2,n.b2=!1}n.c=this.s,n.ce=this.a6?this.gx:this.g3,n.bk=this.ad,n.b0=this.a6,n.bs=i.runOn(this,this.hh),i.isNaN_(this.hf)?n.b7="":n.b7=this.hf.toString(),this.hd!=n&&(this.hd=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),2,this.aj(2),(function(i){var s=i;r.hi(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hi(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hd&&(this.hd.bp=this.ai(this.u))},n.prototype.gu=function(){null!=this.hd&&(this.hd.c=this.s)},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsDisabled":null!=this.hd&&(this.hd.b0=this.a6,this.hd.ce=this.a6?this.gx:this.g3)}},n.prototype.fw=function(){null==this.hd||this.a6||this.hd.az()},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hf=e.value},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionNumberInput",ze.$),n}(ze),ei=function(t){function n(){var e=t.call(this,ze.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolActionCollection",i.ObservableCollection$1.$.specialize(ze.$)),n}(i.ObservableCollection$1),ii=function(t){function r(){var e=t.call(this)||this;e.p=null,e.ai=!1,e.ag=null,e.t=new ne,e.s=null,e.q=null,e.w=0,e.y=0,e.g=new ei,e.e=new ei,e.f=new ei,e.k=r.l,e.aa=null,e.bv=r.bw,e.e0=null,e.fd=null,e.e4=null,e.fc=null,e.e8=null,e.ff=null,e.e3=null,e.e6=null,e.fh=null,e.fg=null,e.a7=NaN,e.a8=NaN,e.e9=null,e.fa=null,e.ab=null,e.ac=null,e.a4=NaN,e.a5=NaN,e.a6=NaN,e.a3=NaN,e.a0=NaN,e.a1=NaN,e.a2=NaN,e.az=NaN,e.al=!0,e.am=!0,e.bn=-1,e.ay=NaN,e.ax=NaN,e.e7=null,e.fb=null,e.fi=null,e.e1=null,e.fj=null,e.e2=null,e.bp=-1,e.fe=null,e.e5=null,e.bo=-1,e.an=!1,e.u=1,e._userSetWidth=!1,e._userSetHeight=!1,e.ak=!1,e.aj=!1,e.propertyChanged=null,e.c=null,e.onCommand=null,e.subMenuOpening=null,e.subMenuClosing=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.dq));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.ds));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.dt)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new Ee;return h.a=e,e.p=h,e.p.w(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"ah",{get:function(){return null==this.ag&&(this.ag=new i.SRProvider(this.p.j),this.ag.cb("Layouts")),this.ag},enumerable:!1,configurable:!0}),r.prototype.dy=function(t){this.s=t,this.s.c3=this,this.s.z=0==this.w?1:this.w;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.dp)),this.s.p=this.t,this.ew()},r.prototype.dp=function(t,e){var i=!1;null!=this.aa&&2==this.aa.onToolCommandExecuting(e.a)&&(i=!0,this.q=e),null==this.onCommand||i||this.onCommand(this,e)},r.prototype.d7=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.d5=function(){var t=this.target;this.d6(t,t)},r.prototype.d1=function(t){null!=this.s&&this.s.notifySizeChanged()},Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.d2("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.d2("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.d2("AutoGeneratedActions",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.d2("Actions",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.d2("ActualActions",e,this.f)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.d2("Orientation",i.enumGetBox(le,e),i.enumGetBox(le,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.d2("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fk",{get:function(){return this.e0},set:function(t){var e=this.e0;this.e0=t,e!=this.e0&&this.d2("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fy",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.d2("SubmenuBackgroundColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fp",{get:function(){return this.e4},set:function(t){var e=this.e4;this.e4=t,e!=this.e4&&this.d2("GroupHeaderBackgroundColorPropertyName",e,this.e4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fx",{get:function(){return this.fc},set:function(t){var e=this.fc;this.fc=t,e!=this.fc&&this.d2("SeparatorBackgroundColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ft",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.d2("HoverBackgroundColor",e,this.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f0",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.d2("TextColor",e,this.ff)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fn",{get:function(){return this.e3},set:function(t){var e=this.e3;this.e3=t,e!=this.e3&&this.d2("DisabledTextColor",e,this.e3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fr",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.d2("GroupHeaderTextColor",e,this.e6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f2",{get:function(){return this.fh},set:function(t){var e=this.fh;this.fh=t,e!=this.fh&&this.d2("ToolTipTextColor",e,this.fh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f1",{get:function(){return this.fg},set:function(t){var e=this.fg;this.fg=t,e!=this.fg&&this.d2("ToolTipBackgroundColor",e,this.fg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bl",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.d2("ToolTipCornerRadius",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bm",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.d2("ToolTipElevation",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fu",{get:function(){return this.e9},set:function(t){var e=this.e9;this.e9=t,e!=this.e9&&this.d2("IconFill",e,this.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fv",{get:function(){return this.fa},set:function(t){var e=this.fa;this.fa=t,e!=this.fa&&this.d2("IconStroke",e,this.fa)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.d2("CellTextStyle",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.d2("SubtitleTextStyle",e,this.ac)},enumerable:!1,configurable:!0}),r.prototype.ae=function(){return null==this.ad?this.p.d():this.ad},Object.defineProperty(r.prototype,"bi",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.d2("SeparatorVerticalPaddingLeft",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bj",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.d2("SeparatorVerticalPaddingRight",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bk",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.d2("SeparatorVerticalPaddingTop",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.d2("SeparatorVerticalPaddingBottom",e,this.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"be",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.d2("SeparatorHorizontalPaddingLeft",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bf",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.d2("SeparatorHorizontalPaddingRight",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bg",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.d2("SeparatorHorizontalPaddingTop",e,this.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bd",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.d2("SeparatorHorizontalPaddingBottom",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"as",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.d2("ShowOnHover",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"at",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.d2("ShowTooltipOnHover",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bq",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.d2("DropdownClickBuffer",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bc",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.d2("HighlightWidth",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bb",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.d2("HighlightRadius",e,this.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fs",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d2("HighlightColor",e,this.e7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fw",{get:function(){return this.fb},set:function(t){var e=this.fb;this.fb=t,e!=this.fb&&this.d2("MenuArrowStroke",e,this.fb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f3",{get:function(){return this.fi},set:function(t){var e=this.fi;this.fi=t,e!=this.fi&&this.d2("UncheckedBackgroundColor",e,this.fi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fl",{get:function(){return this.e1},set:function(t){var e=this.e1;this.e1=t,e!=this.e1&&this.d2("CheckedBackgroundColor",e,this.e1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f4",{get:function(){return this.fj},set:function(t){var e=this.fj;this.fj=t,e!=this.fj&&this.d2("UncheckedBorderColor",e,this.fj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fm",{get:function(){return this.e2},set:function(t){var e=this.e2;this.e2=t,e!=this.e2&&this.d2("CheckedBorderColor",e,this.e2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return null!=this.s?this.s.cx:-1},set:function(t){this.bp=t,null!=this.s&&(this.s.cx=this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.d2("SubtitleTextColor",e,this.fe)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fq",{get:function(){return this.e5},set:function(t){var e=this.e5;this.e5=t,e!=this.e5&&this.d2("GroupHeaderSubtitleTextColor",e,this.e5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"br",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.d2("DropdownDelay",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"au",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.d2("StopPropagation",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.d2("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.u))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetWidth",{get:function(){return this._userSetWidth},set:function(t){this._userSetWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetHeight",{get:function(){return this._userSetHeight},set:function(t){this._userSetHeight=t},enumerable:!1,configurable:!0}),r.prototype.dq=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dr))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.dr))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.d0()},r.prototype.ds=function(t,e){this.ez()},r.prototype.dt=function(t,e){for(var n=0;n<this.actualActions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actualActions._inner[n])){var r=this.actualActions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.dr))}this.actualActions._inner[n].d=null}},r.prototype.ez=function(){var t=0==this.x?1:this.x;null!=this.s&&(this.s.z=t);for(var e=0;e<this.actualActions.count;e++)this.actualActions._inner[e].s=t},r.prototype.ey=function(){null!=this.s&&this.s.g7(this.z);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].gp(this.z)},r.prototype.dr=function(t,e){},r.prototype.d0=function(){this.ea()},r.prototype.ea=function(){this.aj||(null!=this.d?(this.aj=!0,this.d.enqueueAction(i.runOn(this,this.dw))):this.ak=!0)},r.prototype.dw=function(){this.aj&&(this.aj=!1,this.eb(),this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.eb=function(){var t=this;this.actualActions.clear();for(var e=0;e<this.autoGeneratedActions.count;e++)this.actualActions.add(this.autoGeneratedActions._inner[e]);for(var n=null,r=null,o=!1,s=!1,a=-1,h=0,u=function(e){var u,c=l.actions._inner[e];i.stringIsNullOrEmpty(c.ek)?(i.stringIsNullOrEmpty(c.dk)?i.stringIsNullOrEmpty(c.dh)||(null!=c.g&&c.g.actions.remove(c),function(){var e=t.ao(c.dh,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dh,o=!1,s=!0,h=0)):(null!=c.g&&c.g.actions.remove(c),function(){var e=t.ao(c.dk,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dk,o=!0,s=!1)),i.stringIsNullOrEmpty(r)?l.actualActions.add(c):o?(n.insert(a,c),a++):s&&(n.insert(a+1+h,c),h++)):(u=t.ao(c.ek,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].f9(c))},l=this,c=0;c<this.actions.count;c++)u(c)},r.prototype.ao=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];return null!=a.ei&&a.ei==t?{value:{ret:!0,p2:i=e,p3:n=o}}:a.actions.count>0&&(s=r.ao(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret)?{value:{ret:!0,p2:i,p3:n}}:void 0},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.ap=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];if(null==a.dq){if(null!=a.ei&&a.ei==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.dq&&a.dq==t)return{value:{ret:!0,p2:i=e,p3:n=o}};if(a.actions.count>0&&(s=r.ao(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret))return{value:{ret:!0,p2:i,p3:n}}},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.dx=function(){this.aj&&this.dw(),null!=this.s&&this.s.fz()},r.prototype.notifySizeChanged=function(){this.p.t()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.p.u(t),null!=this.ad&&null!=this.p.j&&this.ad.w(this.p.j)},r.prototype.d2=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.d8(t,e,n)},r.prototype.d8=function(t,e,i){switch(t){case"CellTextStyle":null!=this.ad&&null!=this.p.j&&this.ad.w(this.p.j),this.ew();break;case"BackgroundColor":case"TextColor":case"SubmenuBackgroundColor":case"GroupHeaderBackgroundColorPropertyName":case"GroupHeaderTextColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"Orientation":case"ShowOnHover":case"ShowTooltipOnHover":case"DropdownClickBuffer":case"HighlightWidth":case"HighlightRadius":case"HighlightColor":case"MenuArrowStroke":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":this.ew();break;case"Target":var n=i,r=e;this.d6(r,n);break;case"BaseTheme":this.ez();break;case"Density":this.ey();break;case"ExecutionContext":null!=this.d&&this.ak&&(this.ea(),this.ak=!1)}},r.prototype.ew=function(){null!=this.s&&(this.s.a1=this.as,this.s.a2=this.at,this.s.i3=this.fk,this.s.jl=this.f0,this.s.i6=this.fn,this.s.jj=this.fy,this.s.i9=this.fp,this.s.jc=this.fr,this.s.ji=this.fx,this.s.je=this.ft,this.s.u=this.m,this.s.jn=this.f2,this.s.jm=this.f1,this.s.cm=this.bl,this.s.cn=this.bm,this.s.jf=this.fu,this.s.jg=this.fv,this.s.am=this.ad,this.s.ao=this.af,this.s.cf=this.be,this.s.cg=this.bf,this.s.ch=this.bg,this.s.ce=this.bd,this.s.cj=this.bi,this.s.ck=this.bj,this.s.cl=this.bk,this.s.ci=this.bh,this.s.jd=this.fs,this.s.cc=this.bb,this.s.cd=this.bc,this.s.jh=this.fw,this.s.jo=this.f3,this.s.jp=this.f4,this.s.i4=this.fl,this.s.i5=this.fm,this.s.jk=this.fz,this.s.jb=this.fq,this.s.cu=this.br,this.s.ct=this.bq,this.s.a3=this.au,this.s.x=this.v,-1!=this.bp&&(this.s.cx=this.bp))},Object.defineProperty(r.prototype,"ar",{get:function(){return null!=this.s&&this.s.a0},enumerable:!1,configurable:!0}),r.prototype.f6=function(){return null!=this.s?this.s.js():i.Size.empty},r.prototype.d6=function(t,e){this.du(),this.aa=e,null!=t&&(t.commandCompleted=null,null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.ea()),null!=e&&(e.commandCompleted=i.runOn(this,this.d7),e.invalidateActions=i.runOn(this,this.d5),e.provideContextAccessor(new ni(this,!1)),this.ex(),e.addCommandStateChangedListener(this),this.ea())},r.prototype.ex=function(){var t=this.aa.getDesiredToolbarActions();if(null!=t){for(var e=null==this.autoGeneratedActions?0:this.autoGeneratedActions.count,i=t.length,n=0;n<e&&n<i;){var r=this.autoGeneratedActions._inner[n],o=t[n];ze.av(r,o)||(this.autoGeneratedActions._inner[n]=ze.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(ze.f(t[s]));else if(n<e)for(var a=0;a<e-n;a++)this.autoGeneratedActions.removeAt(n)}else this.autoGeneratedActions.clear()},Object.defineProperty(r.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.d2("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.du=function(){null!=this.s&&this.s.fu()},r.prototype.d4=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new oe)},r.prototype.d3=function(){null!=this.subMenuClosing&&this.subMenuClosing(this,new ae)},r.prototype.onCommandStateChanged=function(t,e,n){var r=this,o=null,s=-1;if(function(){var e=r.ap(t,r.actualActions,o,s);return o=e.p2,s=e.p3,e.ret}()){var a=o._inner[s];switch(e){case 2:switch(a.z){case 2:a.he=n;break;case 5:a.hf=n;break;case 6:a.he=n}break;case 0:a.hc=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a6=n}}},r.prototype.ec=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.d6==e&&(n.d6=null,n.d6=e),null!=n.actions&&n.actions.count>0&&this.ec(n.actions,e)}},r.prototype.ee=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.ec(this.actualActions,e)},r.prototype.cm=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.eg=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.ec(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.ed=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.ec(this.actualActions,e)},r.prototype.cl=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.ef=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.ec(this.actualActions,e)},r.prototype.b4=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.ej=function(t,e){i.stringIsNullOrEmpty(t)||oi.gs(this.t,t,e)},r.prototype.fo=function(t){return i.stringIsNullOrEmpty(t)?null:oi.i8(this.t,t)},r.prototype.ep=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),oi.gs(this.t,t,e))},r.prototype.b1=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=oi.i8(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.ei=function(t,e){i.stringIsNullOrEmpty(t)||oi.gq(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:oi.b(this.t,t)},r.prototype.eo=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),oi.gq(this.t,t,e))},r.prototype.b0=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=oi.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.en=function(t,e){i.stringIsNullOrEmpty(t)||oi.g0(this.t,t,e)},r.prototype.a9=function(t){return i.stringIsNullOrEmpty(t)?NaN:oi.cb(this.t,t)},r.prototype.eu=function(t,e){i.stringIsNullOrEmpty(t)||oi.g2(this.t,t,e)},r.prototype.ba=function(t){return i.stringIsNullOrEmpty(t)?NaN:oi.cb(this.t,t)},r.prototype.es=function(t,e){i.stringIsNullOrEmpty(t)||oi.g0(this.t,t,e)},r.prototype.bt=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:oi.cw(this.t,t)},r.prototype.et=function(t,e){i.stringIsNullOrEmpty(t)||oi.g2(this.t,t,i.typeGetValue(e))},r.prototype.bs=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:oi.cw(this.t,t)},r.prototype.ev=function(t,e){i.stringIsNullOrEmpty(t)||oi.g4(this.t,t,e)},r.prototype.cn=function(t){return i.stringIsNullOrEmpty(t)?null:oi.ek(this.t,t)},r.prototype.eh=function(t,e){i.stringIsNullOrEmpty(t)||oi.go(this.t,t,e)},r.prototype.aq=function(t){return!i.stringIsNullOrEmpty(t)&&oi.ay(this.t,t)},r.prototype.ek=function(t,e){i.stringIsNullOrEmpty(t)||oi.gu(this.t,t,e)},r.prototype.f5=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):oi.jr(this.t,t)},r.prototype.eq=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),oi.gu(this.t,t,e))},r.prototype.b2=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=oi.jr(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.em=function(t,e){i.stringIsNullOrEmpty(t)||oi.gy(this.t,t,e)},r.prototype.bz=function(t){return i.stringIsNullOrEmpty(t)?null:oi.c2(this.t,t)},r.prototype.er=function(t,e){i.stringIsNullOrEmpty(t)||oi.gy(this.t,t,e)},r.prototype.b3=function(t){return i.stringIsNullOrEmpty(t)?null:oi.c2(this.t,t)},r.prototype.el=function(t,e){i.stringIsNullOrEmpty(t)||oi.gw(this.t,t,e)},r.prototype.by=function(t){return i.stringIsNullOrEmpty(t)?null:oi.c0(this.t,t)},r.prototype.bx=function(){return null==this.s?null:this.s.cy()},r.prototype.ck=function(){return this.bx().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.bw=null,r}(i.Base),ni=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.getContextValue=function(t,e){switch(e){case 0:return this.b?this.a.fo(t):this.a.b1(t);case 1:return this.b?this.a.b(t):this.a.b0(t);case 2:return this.b?this.a.f5(t):this.a.b2(t);case 3:return this.b,this.a.cn(t);case 4:return this.b?this.a.a9(t):this.a.ba(t);case 6:return this.b?this.a.bt(t):this.a.bs(t);case 7:return this.b?this.a.bz(t):this.a.b3(t);case 5:return this.b,this.a.aq(t)}return null},n.prototype.getInternalAccessor=function(){return new n(this.a,!0)},n.prototype.setContextValue=function(t,e,n){switch(e){case 0:this.b?this.a.ej(t,n):this.a.ep(t,n);break;case 1:this.b?this.a.ei(t,n):this.a.eo(t,n);break;case 2:this.b?this.a.ek(t,n):this.a.eq(t,n);break;case 3:this.b,this.a.ev(t,n);break;case 4:this.b?this.a.en(t,n):this.a.es(t,n);break;case 6:this.b?this.a.eu(t,i.typeGetValue(n)):this.a.et(t,n);break;case 7:this.b?this.a.em(t,n):this.a.er(t,n);break;case 5:this.b,this.a.eh(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),ri=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPopupOpeningEventArgs"),n}(i.Base),oi=function(t){function r(){var e=t.call(this)||this;e.v=null,e.ap=null,e.c3=null,e.o=null,e.as=!1,e.aq=null,e.k=new de,e.propertyChanged=null,e.i=new ei,e.contentRefreshed=null,e.au=!0,e.av=!0,e.cp=-1,e.aw=!1,e.at=!1,e.a5=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(ze.$),0),e.a6=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(ze.$),0),e.a4=new i.Dictionary$2(i.String_$type,ze.$,0),e.ai=null,e.ag=null,e.ah=null,e.aj=null,e.c=null,e.y=0,e.ab=0,e.aa=0,e.hv=null,e.ha=null,e.h9=null,e.ho=null,e.hz=null,e.he=null,e.h8=null,e.hn=null,e.h0=null,e.hf=null,e.h4=null,e.hj=null,e.f=null,e.bm=Number.POSITIVE_INFINITY,e.ib=null,e.hq=null,e.hp=null,e.ia=null,e.hy=null,e.hd=null,e.h2=null,e.hh=null,e.h1=null,e.hg=null,e.id=null,e.hs=null,e.ic=null,e.hr=null,e.bv=NaN,e.bi=NaN,e.bw=NaN,e.bj=NaN,e.h5=null,e.hk=null,e.h6=null,e.hl=null,e.bs=NaN,e.bf=NaN,e.bt=NaN,e.bg=NaN,e.bu=NaN,e.bh=NaN,e.br=NaN,e.be=NaN,e.bo=NaN,e.bb=NaN,e.bp=NaN,e.bc=NaN,e.bq=NaN,e.bd=NaN,e.bn=NaN,e.ba=NaN,e.s=r.t,e.onCommand=null,e.cr=-1,e.bl=NaN,e.a9=NaN,e.bk=NaN,e.a8=NaN,e.h3=null,e.hi=null,e.h7=null,e.hm=null,e.ie=null,e.ht=null,e.hw=null,e.hb=null,e.ig=null,e.hu=null,e.hx=null,e.hc=null,e.cq=-1,e.co=500,e.w=1,e.g=0,e.onContextChanged=null,e.onContextSwapped=null,e.drillDownRequested=null,e.drillUpRequested=null,e.ac=0;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.fq)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),Ne.g();var s=new $e;return s.c=e,e.v=s,e.v.af(),e.g9(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"p",{get:function(){return this.o},set:function(t){if(t!=this.o){if(null!=this.o){var e=this.o;e.onItemChanged=i.delegateRemove(e.onItemChanged,i.runOn(this,this.f7))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.f7))}null!=this.onContextSwapped&&this.onContextSwapped(this,new pe)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ar",{get:function(){return null==this.aq&&(this.aq=new i.SRProvider(this.v.p),this.aq.cb("Layouts")),this.aq},enumerable:!1,configurable:!0}),r.prototype.f0=function(t){this.f=t,-1!=this.cr&&(this.f.ec=this.cr),this.f.a0=this.w;var e=this.f;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.fp));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.fk)),this.f.ad=this.u,this.f.bz=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.fl));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.fo));var s=this.f;s.itemRecycled=i.delegateCombine(s.itemRecycled,i.runOn(this,this.fn));var a=this.f;a.itemRebind=i.delegateCombine(a.itemRebind,i.runOn(this,this.fm))},r.prototype.ga=function(){null!=this.c3&&(null!==i.typeCast(r.$,this.c3)&&this.c3.ga(),null!==i.typeCast(ii.$,this.c3)&&this.c3.d4())},r.prototype.f9=function(){null!=this.c3&&(null!==i.typeCast(r.$,this.c3)&&this.c3.f9(),null!==i.typeCast(ii.$,this.c3)&&this.c3.d3())},r.prototype.fk=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new Ae)},r.prototype.fl=function(t,e){var n=e.c,r=new de;this.gc(r),n.fa(this,r),0==n.hc?i.isNaN_(r.d)?e.a=this.f.c4:e.a=r.d:e.a=0},r.prototype.fo=function(t,e){var n=e.c,r=new de;this.gc(r),n.fa(this,r),0==n.hc?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.fn=function(t,e){e.rowObject.ff()},r.prototype.fm=function(t,e){e.rowObject.fe()},r.prototype.fp=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new de;this.gc(r),i.fa(this,r),i.f5(n,this,e,r)}else i.f5(n,this,e,this.k)},r.prototype.f6=function(t){this.bm=t.width,this.gg(),null!=this.f&&this.f.notifySizeChanged()},Object.defineProperty(r.prototype,"actions",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.f8("Actions",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a1",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.f8("ShowOnHover",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.f8("ShowTooltipOnHover",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ct",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.f8("DropdownClickBuffer",e,this.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.f8("StopPropagation",e,this.aw)},enumerable:!1,configurable:!0}),r.prototype.fq=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.f1))}l.e6(),l.d=null,l.gi(null)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.f1))}d.d=this.c,d.gi(this)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.g8(this.actions),this.f5()},r.prototype.fr=function(t,e){for(var n=0;n<this.actions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[n])){var r=this.actions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.f1))}this.actions._inner[n].e6(),this.actions._inner[n].d=null,this.actions._inner[n].gi(null)}},r.prototype.f5=function(){this.gg(),this.v.ac()},r.prototype.gg=function(){this.at||(this.at=!0,this.c.enqueueAction(i.runOn(this,this.fw)))},r.prototype.gi=function(){this.at=!0,this.fw()},r.prototype.fw=function(){if(this.at){this.at=!1,this.fs(),this.gm();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.fx()}},r.prototype.fs=function(){this.a5.clear(),this.a6.clear(),this.a4.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].gi(this),null!=this.i._inner[t].cx&&this.a4.item(this.i._inner[t].cx,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].ep)if(this.a4.containsKey(this.i._inner[e].ep))this.a5.containsKey(this.i._inner[e].ep)||this.a5.item(this.i._inner[e].ep,new i.List$1(ze.$,0)),this.a5.item(this.i._inner[e].ep).add(this.i._inner[e])}for(var n=0;n<this.i.count;n++)if(6==this.i._inner[n].z){var r=this.i._inner[n].hl;null==r&&(r="null"),this.a6.containsKey(r)||this.a6.item(r,new i.List$1(ze.$,0)),this.a6.item(r).add(this.i._inner[n])}},r.prototype.az=function(t){return null!=t.cx&&this.a5.containsKey(t.cx)},r.prototype.h=function(t){return this.a4.containsKey(t)?this.a4.item(t):null},r.prototype.a7=function(t){return null==t.cx?null:this.a5.containsKey(t.cx)?this.a5.item(t.cx):null},r.prototype.l=function(t){var e=new de;return this.gc(e),t.fa(this,e),this.f3(this.k,e),e},r.prototype.gc=function(t){t.a=this.u,t.c=this.bm},r.prototype.f3=function(t,e){i.isNaN_(e.f)||(i.isNaN_(t.f)?t.f=e.f:t.f=Math.max(t.f,e.f)),i.isNaN_(e.h)||(i.isNaN_(t.h)?t.h=e.h:t.h=Math.max(t.h,e.h))},r.prototype.gm=function(){this.k=new de,this.k.a=this.u,this.k.c=this.bm},r.prototype.js=function(){this.bm;var t=0,e=0;if(0==this.u)for(var n=0;n<this.actions.count;n++){var r=this.l(this.actions._inner[n]);t=Math.max(r.e,t),0==this.actions._inner[n].hc&&(i.isNaN_(r.d)?e+=this.bz:e+=r.d)}else{if(2==this.u)return this.f.h4();if(1==this.u)for(var o=0;o<this.actions.count;o++){var s=this.l(this.actions._inner[o]);0==this.actions._inner[o].hc&&(i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].hc&&(e=i.isNaN_(s.d)?this.bz:s.d)}}return new i.Size(1,t,e)},r.prototype.fx=function(){null!=this.f&&this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.fz=function(){this.at&&this.fw(),null!=this.f&&this.f.fy()},r.prototype.gj=function(){null!=this.f&&this.f.g6()},r.prototype.gh=function(t){var e=t.hl;null==e&&(e="null");var i=t.cx;if(null!=this.a6&&this.a6.containsKey(e))for(var n=0;n<this.a6.item(e).count;n++)this.a6.item(e)._inner[n].cx!=i&&this.a6.item(e)._inner[n].hs()},r.prototype.f1=function(t,e){"ExecutionContext"!=e.propertyName&&this.f5()},r.prototype.ft=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].e6()},r.prototype.gd=function(){for(var t=0;t<this.actions.count;t++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[t])){var e=this.actions._inner[t];e.propertyChanged=i.delegateRemove(e.propertyChanged,i.runOn(this,this.f1))}this.actions._inner[t].d=null}},r.prototype.notifySizeChanged=function(){this.v.ab()},r.prototype.destroy=function(){this.provideContainer(null),this.ft()},r.prototype.provideContainer=function(t){this.v.ad(t),null!=this.am&&null!=this.v.p&&this.am.w(this.v.p)},Object.defineProperty(r.prototype,"am",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.f8("CellTextStyle",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.f8("ActualCellTextStyle",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"al",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.f8("ActualSubtitleTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ao",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.f8("SubtitleTextStyle",e,this.aj)},enumerable:!1,configurable:!0}),r.prototype.an=function(){return null==this.am?this.v.g():this.am},r.prototype.f8=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ge(t,e,n)},r.prototype.ge=function(t,n,r){var o,s,a,h;switch(t){case"BaseTheme":case"TextColor":case"BackgroundColor":case"SubmenuBackgroundColor":case"GroupHeaderTextColor":case"GroupHeaderBackgroundColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"SeparatorHorizontalPaddingLeft":case"SeparatorHorizontalPaddingRight":case"SeparatorHorizontalPaddingTop":case"SeparatorHorizontalPaddingBottom":case"SeparatorVerticalPaddingLeft":case"SeparatorVerticalPaddingRight":case"SeparatorVerticalPaddingTop":case"SeparatorVerticalPaddingBottom":case"CellTextStyle":case"HighlightRadius":case"HighlightWidth":case"HighlightColor":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":this.g9();break;case"ActualTextColor":case"ActualIconFill":case"ActualIconStroke":case"ActualSubmenuBackgroundColor":case"ActualGroupHeaderTextColor":case"ActualGroupHeaderBackgroundColor":case"ActualSeparatorBackgroundColor":case"ActualHoverBackgroundColor":case"ActualToolTipTextColor":case"ActualToolTipBackgroundColor":case"ActualToolTipCornerRadius":case"ActualToolTipElevation":case"ActualSeparatorHorizontalPaddingLeft":case"ActualSeparatorHorizontalPaddingRight":case"ActualSeparatorHorizontalPaddingTop":case"ActualSeparatorHorizontalPaddingBottom":case"ActualSeparatorVerticalPaddingLeft":case"ActualSeparatorVerticalPaddingRight":case"ActualSeparatorVerticalPaddingTop":case"ActualSeparatorVerticalPaddingBottom":case"ActualCellTextStyle":case"ActualHighlightRadius":case"ActualHighlightWidth":case"ActualHighlightColor":case"ActualUncheckedBackgroundColor":case"ActualUncheckedBorderColor":case"ActualCheckedBackgroundColor":case"ActualCheckedBorderColor":case"ActualSubtitleTextColor":case"ActualGroupHeaderSubtitleTextColor":case"ActualSubtitleTextStyle":case"ActualDropdownDelay":this.g8(this.actions);break;case"ActualBackgroundColor":this.g6();break;case"ActualDensity":this.g5(this.actions);break;case"Density":0==this.ae?this.ad=this.af:this.ad=this.ae;break;case"Orientation":null!=this.f&&(this.f.ad=this.u,this.v.ag());break;case"Actions":if(null!=n){var u=n;u.collectionChanged=i.delegateRemove(u.collectionChanged,i.runOn(this,this.fq)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.fr));try{for(var l=e.__values(i.fromEnum(u)),c=l.next();!c.done;c=l.next()){var p=c.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,p)){var f=p;f.propertyChanged=i.delegateRemove(f.propertyChanged,i.runOn(this,this.f1))}p.e6(),p.d=null,p.gi(null)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}}if(null!=r){var d=r;d.collectionChanged=i.delegateCombine(d.collectionChanged,i.runOn(this,this.fq)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.fr));try{for(var b=e.__values(i.fromEnum(d)),g=b.next();!g.done;g=b.next()){var y=g.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,y)){var m=y;m.propertyChanged=i.delegateCombine(m.propertyChanged,i.runOn(this,this.f1))}y.d=this.c,y.gi(this)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=b.return)&&h.call(b)}finally{if(a)throw a.error}}}this.g8(this.actions),this.gg();break;case"ScrollbarStyle":null!=this.f&&(this.f.a0=this.w);break;case"StopPropagation":for(var _=0;_<this.actions.count;_++)this.actions._inner[_].bd=this.a3}},r.prototype.g9=function(){switch(this.z){case 0:case 1:case 2:this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,24,29,31),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,24,29,31),this.ik=null!=this.i6?this.i6:i.BrushUtil.h(102,0,0,0),this.ih=null!=this.i3?this.i3:i.BrushUtil.h(255,255,255,255),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(255,255,255,255),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,237,239,245),this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,142,143,147),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,142,143,147),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,237,239,245),this.im=null!=this.ja?this.ja:i.BrushUtil.h(25,0,0,0),this.ir=null!=this.je?this.je:i.BrushUtil.h(51,178,191,220),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(255,0,0,0),this.is=null!=this.jf?this.jf:i.BrushUtil.h(255,0,0,0),this.it=null!=this.jg?this.jg:i.BrushUtil.h(255,0,0,0),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,237,239,245),this.b8=i.isNaN_(this.cm)?8:this.cm,this.b9=i.isNaN_(this.cn)?4:this.cn,this.b5=i.isNaN_(this.cj)?0:this.cj,this.b6=i.isNaN_(this.ck)?0:this.ck,this.b7=i.isNaN_(this.cl)?0:this.cl,this.b4=i.isNaN_(this.ci)?0:this.ci,this.b1=i.isNaN_(this.cf)?0:this.cf,this.b2=i.isNaN_(this.cg)?0:this.cg,this.b3=i.isNaN_(this.ch)?i.DeviceUtils.g(10):this.ch,this.b0=i.isNaN_(this.ce)?i.DeviceUtils.g(10):this.ce,this.ak=null!=this.am?this.am:this.v.g(),this.al=null!=this.ao?this.ao:this.v.h(),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,110,137,247),this.bx=i.isNaN_(this.cc)?6:this.cc,this.by=i.isNaN_(this.cd)?1:this.cd,this.iu=null!=this.jh?this.jh:i.BrushUtil.h(255,0,0,0),this.i1=this.jo,this.i2=this.jp,this.ii=this.i4,this.ij=this.i5,this.cs=-1!=this.cu?this.cu:500;break;case 5:case 3:this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,24,29,31),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,24,29,31),this.ik=null!=this.i6?this.i6:i.BrushUtil.h(102,0,0,0),this.ih=null!=this.i3?this.i3:i.BrushUtil.h(255,255,255,255),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(255,255,255,255),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,237,239,245),this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,142,143,147),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,142,143,147),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,237,239,245),this.im=null!=this.ja?this.ja:i.BrushUtil.h(25,0,0,0),this.ir=null!=this.je?this.je:i.BrushUtil.h(51,178,191,220),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(255,0,0,0),this.is=null!=this.jf?this.jf:i.BrushUtil.h(255,0,0,0),this.it=null!=this.jg?this.jg:i.BrushUtil.h(255,0,0,0),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,237,239,245),this.b8=i.isNaN_(this.cm)?8:this.cm,this.b9=i.isNaN_(this.cn)?4:this.cn,this.b5=i.isNaN_(this.cj)?0:this.cj,this.b6=i.isNaN_(this.ck)?0:this.ck,this.b7=i.isNaN_(this.cl)?0:this.cl,this.b4=i.isNaN_(this.ci)?0:this.ci,this.b1=i.isNaN_(this.cf)?i.DeviceUtils.g(5):this.cf,this.b2=i.isNaN_(this.cg)?i.DeviceUtils.g(5):this.cg,this.b3=i.isNaN_(this.ch)?i.DeviceUtils.g(10):this.ch,this.b0=i.isNaN_(this.ce)?i.DeviceUtils.g(10):this.ce,this.ak=null!=this.am?this.am:this.v.g(),this.al=null!=this.ao?this.ao:this.v.h(),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,110,137,247),this.bx=i.isNaN_(this.cc)?6:this.cc,this.by=i.isNaN_(this.cd)?1:this.cd,this.iu=null!=this.jh?this.jh:i.BrushUtil.h(255,0,0,0),this.i1=this.jo,this.i2=this.jp,this.ii=this.i4,this.ij=this.i5,this.cs=-1!=this.cu?this.cu:500;break;case 6:case 4:this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,255,255,255),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,255,255,255),this.ik=null!=this.i6?this.i6:i.BrushUtil.h(102,255,255,255),this.ih=null!=this.i3?this.i3:i.BrushUtil.h(255,55,63,86),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(255,55,63,86),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,44,50,70),this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,255,255,255),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,255,255,255),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,44,50,70),this.im=null!=this.ja?this.ja:i.BrushUtil.h(25,0,0,0),this.ir=null!=this.je?this.je:i.BrushUtil.h(25,105,136,255),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(255,255,255,255),this.is=null!=this.jf?this.jf:i.BrushUtil.h(255,255,255,255),this.it=null!=this.jg?this.jg:i.BrushUtil.h(255,255,255,255),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,44,50,70),this.b8=i.isNaN_(this.cm)?8:this.cm,this.b9=i.isNaN_(this.cn)?4:this.cn,this.b5=i.isNaN_(this.cj)?0:this.cj,this.b6=i.isNaN_(this.ck)?0:this.ck,this.b7=i.isNaN_(this.cl)?0:this.cl,this.b4=i.isNaN_(this.ci)?0:this.ci,this.b1=i.isNaN_(this.cf)?i.DeviceUtils.g(5):this.cf,this.b2=i.isNaN_(this.cg)?i.DeviceUtils.g(5):this.cg,this.b3=i.isNaN_(this.ch)?i.DeviceUtils.g(10):this.ch,this.b0=i.isNaN_(this.ce)?i.DeviceUtils.g(10):this.ce,this.ak=null!=this.am?this.am:this.v.g(),this.al=null!=this.ao?this.ao:this.v.h(),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,110,137,247),this.bx=i.isNaN_(this.cc)?6:this.cc,this.by=i.isNaN_(this.cd)?1:this.cd,this.iu=null!=this.jh?this.jh:i.BrushUtil.h(255,255,255,255),this.i1=this.jo,this.i2=this.jp,this.ii=this.i4,this.ij=this.i5,this.cs=-1!=this.cu?this.cu:500}},r.prototype.g8=function(t){for(var e=0;e<t.count;e++)t._inner[e].gt(),this.g8(t._inner[e].actions)},r.prototype.g5=function(t){for(var e=0;e<t.count;e++)t._inner[e].gp(this.ad),this.g5(t._inner[e].actions)},r.prototype.g6=function(){null!=this.v.p&&i.NativeUI.m(this.v.v,this.ih)},Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.f8("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ae",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.f8("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ad",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.f8("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i3",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.f8("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ih",{get:function(){return this.ha},set:function(t){var e=this.ha;this.ha=t,e!=this.ha&&this.f8("ActualBackgroundColor",e,this.ha)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jj",{get:function(){return this.h9},set:function(t){var e=this.h9;this.h9=t,e!=this.h9&&this.f8("SubmenuBackgroundColor",e,this.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iw",{get:function(){return this.ho},set:function(t){var e=this.ho;this.ho=t,e!=this.ho&&this.f8("ActualSubmenuBackgroundColor",e,this.ho)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i9",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.f8("GroupHeaderBackgroundColor",e,this.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"il",{get:function(){return this.he},set:function(t){var e=this.he;this.he=t,e!=this.he&&this.f8("ActualGroupHeaderBackgroundColor",e,this.he)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ji",{get:function(){return this.h8},set:function(t){var e=this.h8;this.h8=t,e!=this.h8&&this.f8("SeparatorBackgroundColor",e,this.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iv",{get:function(){return this.hn},set:function(t){var e=this.hn;this.hn=t,e!=this.hn&&this.f8("ActualSeparatorBackgroundColor",e,this.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ja",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.f8("GroupHeaderSeparatorBackgroundColor",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"im",{get:function(){return this.hf},set:function(t){var e=this.hf;this.hf=t,e!=this.hf&&this.f8(r.dd,e,this.hf)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"je",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.f8("HoverBackgroundColor",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ir",{get:function(){return this.hj},set:function(t){var e=this.hj;this.hj=t,e!=this.hj&&this.f8("ActualHoverBackgroundColor",e,this.hj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jl",{get:function(){return this.ib},set:function(t){var e=this.ib;this.ib=t,e!=this.ib&&this.f8("TextColor",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iy",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,e!=this.hq&&this.f8("ActualTextColor",e,this.hq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ix",{get:function(){return this.hp},set:function(t){var e=this.hp;this.hp=t,e!=this.hp&&this.f8("ActualSubtitleTextColor",e,this.hp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jk",{get:function(){return this.ia},set:function(t){var e=this.ia;this.ia=t,e!=this.ia&&this.f8("SubtitleTextColor",e,this.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i6",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.f8("DisabledTextColor",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ik",{get:function(){return this.hd},set:function(t){var e=this.hd;this.hd=t,e!=this.hd&&this.f8("ActualDisabledTextColor",e,this.hd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jc",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.f8("GroupHeaderTextColor",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ip",{get:function(){return this.hh},set:function(t){var e=this.hh;this.hh=t,e!=this.hh&&this.f8("ActualGroupHeaderTextColor",e,this.hh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jb",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.f8("GroupHeaderSubtitleTextColor",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"io",{get:function(){return this.hg},set:function(t){var e=this.hg;this.hg=t,e!=this.hg&&this.f8("ActualGroupHeaderSubtitleTextColor",e,this.hg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jn",{get:function(){return this.id},set:function(t){var e=this.id;this.id=t,e!=this.id&&this.f8("ToolTipTextColor",e,this.id)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i0",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,e!=this.hs&&this.f8("ActualToolTipTextColor",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jm",{get:function(){return this.ic},set:function(t){var e=this.ic;this.ic=t,e!=this.ic&&this.f8("ToolTipBackgroundColor",e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iz",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.f8("ActualToolTipBackgroundColor",e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cm",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.f8("ToolTipCornerRadius",e,this.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b8",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.f8("ActualToolTipCornerRadius",e,this.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cn",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.f8("ToolTipElevation",e,this.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.f8("ActualToolTipElevation",e,this.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.f8("IconFill",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"is",{get:function(){return this.hk},set:function(t){var e=this.hk;this.hk=t,e!=this.hk&&this.f8("ActualIconFill",e,this.hk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.f8("IconStroke",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"it",{get:function(){return this.hl},set:function(t){var e=this.hl;this.hl=t,e!=this.hl&&this.f8("ActualIconStroke",e,this.hl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cj",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.f8("SeparatorVerticalPaddingLeft",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b5",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.f8("ActualSeparatorVerticalPaddingLeft",e,this.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ck",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.f8("SeparatorVerticalPaddingRight",e,this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b6",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.f8("ActualSeparatorVerticalPaddingRight",e,this.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cl",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.f8("SeparatorVerticalPaddingTop",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b7",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.f8("ActualSeparatorVerticalPaddingTop",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ci",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.f8("SeparatorVerticalPaddingBottom",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b4",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.f8("ActualSeparatorVerticalPaddingBottom",e,this.be)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cf",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.f8("SeparatorHorizontalPaddingLeft",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b1",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.f8("ActualSeparatorHorizontalPaddingLeft",e,this.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cg",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.f8("SeparatorHorizontalPaddingRight",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b2",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.f8("ActualSeparatorHorizontalPaddingRight",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ch",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.f8("SeparatorHorizontalPaddingTop",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b3",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.f8("ActualSeparatorHorizontalPaddingTop",e,this.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ce",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.f8("SeparatorHorizontalPaddingBottom",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b0",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.f8("ActualSeparatorHorizontalPaddingBottom",e,this.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"u",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.f8("Orientation",i.enumGetBox(ee,e),i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),r.prototype.gb=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.z&&this.gh(t)},Object.defineProperty(r.prototype,"cx",{get:function(){return null!=this.f?this.f.ec:this.cr},set:function(t){this.cr=t,null!=this.f&&(this.f.ec=this.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bz",{get:function(){return null!=this.f?this.f.c4:-1!=this.cr?this.cr:42},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cd",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.f8("HighlightWidth",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"by",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.f8("ActualHighlightWidth",e,this.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cc",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.f8("HighlightRadius",e,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bx",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.f8("ActualHighlightRadius",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jd",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.f8("HighlightColor",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iq",{get:function(){return this.hi},set:function(t){var e=this.hi;this.hi=t,e!=this.hi&&this.f8("ActualHighlightColor",e,this.hi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jh",{get:function(){return this.h7},set:function(t){var e=this.h7;this.h7=t,e!=this.h7&&this.f8("MenuArrowStroke",e,this.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iu",{get:function(){return this.hm},set:function(t){var e=this.hm;this.hm=t,e!=this.hm&&this.f8("ActualMenuArrowStroke",e,this.hm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jo",{get:function(){return this.ie},set:function(t){var e=this.ie;this.ie=t,e!=this.ie&&this.f8("UncheckedBackgroundColor",e,this.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i1",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.f8("ActualUncheckedBackgroundColor",e,this.ht)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i4",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.f8("CheckedBackgroundColor",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ii",{get:function(){return this.hb},set:function(t){var e=this.hb;this.hb=t,e!=this.hb&&this.f8("ActualCheckedBackgroundColor",e,this.hb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jp",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.f8("UncheckedBorderColor",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i2",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.f8("ActualUncheckedBorderColor",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i5",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.f8("CheckedBorderColor",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ij",{get:function(){return this.hc},set:function(t){var e=this.hc;this.hc=t,e!=this.hc&&this.f8("ActualCheckedBorderColor",e,this.hc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cu",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.f8("DropdownDelay",e,this.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cs",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.f8("ActualDropdownDelay",e,this.co)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.f8("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.w))},enumerable:!1,configurable:!0}),r.prototype.f7=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.gk=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new si).a=t,e))},r.prototype.gl=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new si).a=t,e))},r.prototype.fu=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].e7()},Object.defineProperty(r.prototype,"a0",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].a8)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){this.ac=t},enumerable:!1,configurable:!0}),r.prototype.g7=function(t){this.af=t,0==this.ae&&(this.ad=t)},r.prototype.cy=function(){var t=new ke;t.a=this.f.ef();for(var e=function(e){var n,r=i.actions._inner[e],o=r.e();if(t.b.add1(r.cp()),null!=o){var s=((n=new Se).a=o.af(),n);t.c.add(s)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.ei=function(){return this.cy().serialize()},r.prototype.gr=function(t,e){r.gs(this.p,t,e)},r.gs=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.i7=function(t){return r.i8(this.p,t)},r.i8=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gp=function(t,e){r.gq(this.p,t,e)},r.gq=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.a=function(t){return r.b(this.p,t)},r.b=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gz=function(t,e){r.g0(this.p,t,e)},r.g0=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.ca=function(t){return r.cb(this.p,t)},r.cb=function(t,e){return i.stringIsNullOrEmpty(e)?NaN:r.c0(t,e)},r.prototype.g1=function(t,e){r.g2(this.p,t,e)},r.g2=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.cv=function(t){return r.cw(this.p,t)},r.cw=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.c0(t,e))},r.prototype.g3=function(t,e){r.g4(this.p,t,e)},r.g4=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.ej=function(t){return r.ek(this.p,t)},r.ek=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gn=function(t,e){r.go(this.p,t,e)},r.go=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.ax=function(t){return r.ay(this.p,t)},r.ay=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.c0(t,e)},r.prototype.gt=function(t,e){r.gu(this.p,t,e)},r.gu=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.jq=function(t){return r.jr(this.p,t)},r.jr=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.c0(t,e)},r.prototype.gx=function(t,e){r.gy(this.p,t,e)},r.gy=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.c1=function(t){return r.c2(this.p,t)},r.c2=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gv=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.gw=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.cz=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.c0=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.fy=function(){this.v.y()},r.prototype.f2=function(t){null!=this.f&&this.f.fo(t)},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.dd="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),si=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"DrillDownRequestedEventArgs"),n}(i.Base),ai=function(t){function n(e,n){var r=t.call(this)||this;return r.ad=null,r.i=null,r.j=null,r.aa=0,r.p=null,r.a=null,r.d=null,r.g=null,r.a1=null,r.a2=null,r.q=null,r.b=null,r.e=null,r.h=null,r.c=null,r.f=null,r.y=new i.Queue$1(ui.$),r.u=!1,r.s=null,r.r=null,r.w=new i.List$1(hi.$,0),r.n=1,r.z=200,r.t=null,r.ac=0,r.v=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ad=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a1},set:function(t){this.d.d=this.a1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a2},set:function(t){this.g.d=this.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.av("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.z},set:function(t){this.z=t},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var e=this;i.NativeUIComponent.aw(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bn(e.r),e.r.bd=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a5=function(){return null!=this.j?this.j.f():this.s.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.k=function(){return this.j},n.prototype.ag=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.x.count;r++)if(this.x._inner[r].b==t)return void(null!=e&&e(this.x._inner[r].a));i.NativeUIComponent.au(this.ad,13,(function(r){var o=r;o.c=n.o,o.ci=t.q.jl,o.bu=t.q.p,o.b8=t.q.i6,o.b5=t.q.jj,o.cg=t.q.jj,o.b9=t.q.i9,o.cb=t.q.jc,o.cf=t.q.ji,o.bw=t.q.ak,o.cj=t.q.jo,o.ck=t.q.jp,o.b6=t.q.i4,o.b7=t.q.i5,o.ce=t.q.jh,o.cc=t.q.jf,o.cd=t.q.jg,o.ch=t.q.jk,o.ca=t.q.jb,o.bx=t.q.ao,-1!=t.cn&&(o.bz=t.cn),o.bt=t.actions,o.bm=i.runOn(n,n.at),o.bn=i.runOn(n,n.au),o.bs=i.runOn(n,n.ar),n.r.bn(o),n.aa=0;for(var s=0;s<n.x.count;s++){var a=n.x._inner[s].f();n.aa+=a.width,n.x._inner[s].a.ae=a.width}n.r.bu(o,n.aa),n.r.bv(o,0),n.x.add(new hi(t,o,n.aa)),n.ay(),null!=e&&e(o)}))},n.prototype.am=function(t){for(var e=0;e<this.x.count;e++)this.x._inner[e].a==t&&this.ao(e)},n.prototype.ao=function(t){this.an(this.x._inner[t])},n.prototype.an=function(t,e){void 0===e&&(e=null),this.ah(t,-Math.floor(t.c),e),this.j=t},n.prototype.at=function(t,e){var i=this;if(this.ac++,this.x.count>1&&this.ac<this.x.count){for(var n=this.x.count-1;n>this.ac;n--)this.x._inner[n].a.bm=null,this.x._inner[n].a.bn=null,this.r.bp(this.x._inner[n].a),this.aa-=this.x._inner[n].a.ae,this.x.removeAt(n);if(this.x._inner[this.ac].b==e.a)return void this.am(this.x._inner[this.ac].a);this.x._inner[this.ac].a.bm=null,this.x._inner[this.ac].a.bn=null,this.r.bp(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.ae,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.ei&&(t.ap=e.a.ei+"SubMenu"),i.i.executeDelayed((function(){return i.am(t)}),0)}))},n.prototype.au=function(t,e){this.ac=Math.max(0,this.ac-1),this.an(this.x._inner[this.ac],(function(){}))},n.prototype.ar=function(t,e){null!=this.t&&this.t(e)},n.prototype.ah=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.aj(),null==this.r.bd){var s=t.f();return this.s.ae=Math.floor(s.width),void(this.s.y=Math.floor(s.height))}if(1==this.p.playState)this.p.playbackRate>0&&this.a3.j==e||this.p.playbackRate<0&&this.a4.j==e?(this.p.reverse(),this.q.reverse()):this.y.g(((r=new ui).a=t,r.c=e,r.b=n,r));else{this.a3=function(){var t=new i.TranslateTransform;return t.j=o.a4.j,t}(),this.a4=function(){var t=new i.TranslateTransform;return t.j=e,t}();var a=t.f();this.e.d=this.s.ae,this.c.d=this.s.y,this.h.d=Math.floor(a.width),this.f.d=Math.floor(a.height),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){return o.aq(n)})),this.q.updatePlaybackRate(1),this.q.play(),this.q.finished.f((function(t){null!=o.q&&o.q.commitStyles()}))}},n.prototype.aj=function(){if(null==this.p){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.ab,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.r.an,0,null,t),this.a1=((e=new i.TranslateTransform).j=0,e),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.a1),this.g=new i.AnimationKeyFrameProperty(14,this.a2),this.p=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.s.an,0,null,t),this.e=new i.AnimationKeyFrameProperty(9,0),this.c=new i.AnimationKeyFrameProperty(10,0),this.h=new i.AnimationKeyFrameProperty(9,0),this.f=new i.AnimationKeyFrameProperty(10,0),this.q=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.aq=function(t){var e,n=this;if(null!=this.p&&this.p.commitStyles(),null!=t&&t(),this.p.playbackRate<0){var r=this.a4.j;this.a4=((e=new i.TranslateTransform).j=n.a3.j,e),this.a3=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.y.count>0){var o=this.y.b();this.an(o.a,o.b)}},n.prototype.ay=function(){this.v||(this.v=!0,this.i.enqueueAction(i.runOn(this,this.ai)))},n.prototype.ak=function(){this.ai()},n.prototype.ai=function(){if(this.v){this.v=!1;for(var t=0;t<this.x.count;t++){this.x._inner[t].e();var e=this.x._inner[t].f();this.x._inner[t].a.ae=e.width,this.x._inner[t].a.y=e.height,this.x._inner[t].a.b2(e),this.u||(1!=this.q.playState?this.ac==t&&(this.s.ae=e.width,this.s.y=e.height):(this.h.d=Math.floor(e.width),this.f.d=Math.floor(e.height)))}this.u=!1}},n.prototype.az=function(){this.ac=0,this.r.bd=new i.MatrixTransform;var t,e=this.x._inner[0].f();this.s.ae=Math.floor(e.width),this.s.y=Math.floor(e.height),this.a1=((t=new i.TranslateTransform).j=0,t),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.a0=function(t,e){this.n=t;for(var i=0;i<this.x.count;i++){var n=this.x._inner[i].a;n.c=t,n.ci=e.jl,n.b8=e.i6,n.b5=e.jj,n.cg=e.jj,n.b9=e.i9,n.cb=e.jc,n.cf=e.ji}},n.prototype.ap=function(){var t=this.x._inner[this.ac].f();this.x._inner[this.ac].a.ae=t.width,this.x._inner[this.ac].a.y=t.height,this.x._inner[this.ac].d(t),1!=this.q.playState?(this.s.ae=t.width,this.s.y=t.height):(this.h.d=Math.floor(t.width),this.f.d=Math.floor(t.height))},n.prototype.as=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.aw=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.av=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},n.prototype.ax=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.x.count;n++)this.x._inner[n].a.c=this.o}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),hi=function(t){function n(e,i,n){var r=t.call(this)||this;return r.c=0,r.a=null,r.b=null,r.b=e,r.a=i,r.c=n,r}return e.__extends(n,t),n.prototype.f=function(){return this.a.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.b3()},n.prototype.d=function(t){this.a.b2(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),ui=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PanelAnimationRequest"),n}(i.Base),li=function(t){function n(e){var n=t.call(this)||this;if(bi.$type||(bi.$type=i.markType(bi,"IgcToolActionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){bi.$type||(bi.$type=i.markType(bi,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(bi.$type,ze.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=bi._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),ci=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Zt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeOnExecute",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),pi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new fe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"actionId",{get:function(){return this.i.g},set:function(t){this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionType",{get:function(){return this.i.a},set:function(t){this.i.a=i.ensureEnum(i.ToolActionType_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModified",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"boolValue",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numberValue",{get:function(){return this.i.e},set:function(t){this.i.e=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dateTimeValue",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"untypedValue",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stringValue",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),fi=function(t){function n(e){var n=t.call(this)||this;if(pi.$type||(pi.$type=i.markType(pi,"IgcToolActionEventDetail")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){pi.$type||(pi.$type=i.markType(pi,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(pi.$type,fe.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new pi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),di=function(){function t(){this._detailCollection=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ge},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"isAggregate",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detail",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new pi;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detailCollection",{get:function(){if(null===this._detailCollection){var t=new fi,e=this.i.b;e||(e=new be),this._detailCollection=t._fromInner(e),this.i.b=e}return this._detailCollection},set:function(t){null!==this._detailCollection&&(this._detailCollection._setSyncTarget(null),this._detailCollection=null);var e=new fi;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(fe.$type),r=this.i.b;r||(r=new be),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),bi=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._contextBindings=null,e._actions=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return null},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._initializeAdapters=function(){var n=this;this.__observingChildren||(this.__observingChildren=!0,new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&(n.updateContentChildren?n.updateContentChildren():n._initializeAdapters&&n.initializeAdapters())}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(this,{childList:!0}));this._actionsAdapter=new i.CollectionAdapter(this.contentActions,this.i.actions,this.actualActions,(function(t){return t.i}),(function(t){n._initializeElement&&n._initializeElement(t)}),(function(t){n._destroyElement&&n._destroyElement(t)})),t.prototype._initializeAdapters&&t.prototype._initializeAdapters.call(this)},n.prototype._updateAdapters=function(){t.prototype._updateAdapters&&t.prototype._updateAdapters.call(this),this.contentActions.length=0;for(var e=0;e<this.children.length;e++)this.children[e]instanceof n&&this.contentActions.push(this.children[e]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComponent=t}return n._observedAttributesIgcToolActionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a8},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contextBindings",{get:function(){if(null===this._contextBindings){var t=new Qt,e=this.i.contextBindings;e||(e=new ce),this._contextBindings=t._fromInner(e),this.i.contextBindings=e}return this._contextBindings},set:function(t){null!==this._contextBindings&&(this._contextBindings._setSyncTarget(null),this._contextBindings=null);var e=new Qt;this._contextBindings=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Kt.$type),r=this.i.contextBindings;r||(r=new ce),n._inner=r,n.clear(),this._contextBindings._setSyncTarget(n),this.i.contextBindings=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actionId",{get:function(){return this.i.cx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){return this._actualActions||(this._actualActions=[]),this._actualActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentActions",{get:function(){return this._contentActions||(this._contentActions=[]),this._contentActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new li,n=e._innerColl;this._actions=e,n.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}}))}return this._actions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("width",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("height",this.i.b7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("subPanelRowHeight",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.ep},set:function(t){this.i.ep=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.dk},set:function(t){this.i.dk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.dh},set:function(t){this.i.dh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.ek},set:function(t){this.i.ek=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.dq},set:function(t){this.i.dq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.dm},set:function(t){this.i.dm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.co},set:function(t){this.i.co=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("paddingLeft",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualPaddingLeft",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("paddingRight",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualPaddingRight",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("paddingBottom",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualPaddingBottom",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("paddingTop",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualPaddingTop",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.gz)},set:function(t){this.i.gz=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.gz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.g7)},set:function(t){this.i.g7=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.g7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.gw)},set:function(t){this.i.gw=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.gw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.g4)},set:function(t){this.i.g4=i.stringToBrush(t),this._a("background",i.brushToString(this.i.g4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.g3)},set:function(t){this.i.g3=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.g3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.hb)},set:function(t){this.i.hb=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.hb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.g2)},set:function(t){this.i.g2=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.g2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.ha)},set:function(t){this.i.ha=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.ha))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.gx)},set:function(t){this.i.gx=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.gx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.g5)},set:function(t){this.i.g5=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.g5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.ag?null:this.i.ag.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ag=e,this._a("textStyle",null!=this.i.ag?this.i.ag.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextStyle",{get:function(){return this.i.ac},set:function(t){this.i.ac=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("subtitleTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.a6},set:function(t){this.i.a6=i.ensureBool(t),this._a("isDisabled",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.a7},set:function(t){this.i.a7=i.ensureBool(t),this._a("isHighlighted",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.ei},set:function(t){this.i.ei=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.e1},set:function(t){this.i.e1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.ev},set:function(t){this.i.ev=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.d6},set:function(t){this.i.d6=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.d1},set:function(t){this.i.d1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconViewBoxLeft",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("iconViewBoxTop",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("iconViewBoxWidth",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("iconViewBoxHeight",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.g8)},set:function(t){this.i.g8=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.g8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.g0)},set:function(t){this.i.g0=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.g0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFillColors",{get:function(){return i.fromBrushCollection(this.i.a)},set:function(t){this.i.a=i.toBrushCollection(t),this._a("iconFillColors",i.brushCollectionToString(this.i.a))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.g9)},set:function(t){this.i.g9=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.g9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.g1)},set:function(t){this.i.g1=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.g1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.b)},set:function(t){this.i.b=i.toBrushCollection(t),this._a("iconStrokeColors",i.brushCollectionToString(this.i.b))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeWidth",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("iconStrokeWidth",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("iconWidth",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualIconWidth",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("iconHeight",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("actualIconHeight",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.hc},set:function(t){this.i.hc=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("closeOnExecute",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("highlightWidth",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("actualHighlightWidth",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("highlightRadius",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("actualHighlightRadius",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.g6)},set:function(t){this.i.g6=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.g6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.gy)},set:function(t){this.i.gy=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.gy))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.contextBindings&&this.contextBindings.findByName&&this.contextBindings.findByName(t)?this.contextBindings.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolActionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.openSubMenu=function(){this.i.f8()},n.prototype.closeSubmenu=function(){this.i.e7()},n.prototype.exportVisualData=function(){return this.i.cp()},n.prototype.exportSerializedVisualData=function(){return this.i.dw()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ci;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"performed",{get:function(){return this._performed},set:function(t){var e=this;null!==this._performed_wrapped&&(this.i.performed=i.delegateRemove(this.i.performed,this._performed_wrapped),this._performed_wrapped=null,this._performed=null),this._performed=t,this._performed_wrapped=function(t,i){var n=new di;n._provideImplementation(i),e.beforePerformed&&e.beforePerformed(e,n),e._performed&&e._performed(e,n)},this.i.performed=i.delegateCombine(this.i.performed,this._performed_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComponent=null,n}(i.IgcHTMLElement),gi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new We},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionLabelComponent=t}return n._observedAttributesIgcToolActionLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(bi),yi=function(){function t(){}return t.register=function(){gi.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",gi),i.TypeRegistrar.register("ToolActionLabel",We.$type)},t}(),mi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ze},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxComponent=t}return n._observedAttributesIgcToolActionCheckboxComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.he},set:function(t){this.i.he=i.ensureBool(t),this._a("isChecked",this.i.he)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.hu)},set:function(t){this.i.hu=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ht)},set:function(t){this.i.ht=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.hv)},set:function(t){this.i.hv=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(bi),_i=function(){function t(){}return t.register=function(){mi.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",mi),i.TypeRegistrar.register("ToolActionCheckbox",Ze.$type)},t}(),vi=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),Ci=function(t){function n(e){var n=t.call(this)||this;if(vi.$type||(vi.$type=i.markType(vi,"IgcLayoutPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){vi.$type||(vi.$type=i.markType(vi,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(vi.$type,Ce.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new vi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),ji=function(t){function n(){var e=t.call(this)||this;return e._selectedKeys=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Me},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxListComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxListComponent=t}return n._observedAttributesIgcToolActionCheckboxListComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedMemberPath",{get:function(){return this.i.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.hj},set:function(t){this.i.hj=i.ensureBool(t),this._a("showSelectAll",this.i.hj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.ho},set:function(t){this.i.ho=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.hd},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.hd=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new Ci,e=this.i.he;e||(e=new je),this._selectedKeys=t._fromInner(e),this.i.he=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new Ci;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ce.$type),r=this.i.he;r||(r=new je),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.he=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.hf},set:function(t){this.i.hf=i.ensureEnum(we,t),this._a("indexType",i.enumToString(we,this.i.hf))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(e){var i=t.prototype.findByName.call(this,e);return i||(null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(e)?this.selectedKeys.findByName(e):null)},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(bi),Pi=function(){function t(){}return t.register=function(){ji.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",ji),i.TypeRegistrar.register("ToolActionCheckboxList",Me.$type)},t}(),wi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ye},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionGroupHeaderComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionGroupHeaderComponent=t}return n._observedAttributesIgcToolActionGroupHeaderComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualBackIconColor",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(bi),Oi=function(){function t(){}return t.register=function(){wi.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",wi),i.TypeRegistrar.register("ToolActionGroupHeader",Ye.$type)},t}(),Ti=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ti},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionNumberInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionNumberInputComponent=t}return n._observedAttributesIgcToolActionNumberInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.hf},set:function(t){this.i.hf=+t,this._a("value",this.i.hf)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(bi),Ii=function(){function t(){}return t.register=function(){Ti.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",Ti),i.TypeRegistrar.register("ToolActionNumberInput",ti.$type)},t}(),xi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ri},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"sourceAction",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=bi._createFromInternal(t);e&&(e._implementation=t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cancel",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),ki=function(t){function n(){var e=t.call(this)||this;return e._popupOpening=null,e._popupOpening_wrapped=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Qe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconButtonComponent=t}return n._observedAttributesIgcToolActionIconButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"tooltipDelay",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("tooltipDelay",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("actualTooltipDelay",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.ie},set:function(t){this.i.ie=+t,this._a("contentPaddingLeft",this.i.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.ia},set:function(t){this.i.ia=+t,this._a("actualContentPaddingLeft",this.i.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("contentPaddingTop",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.ic},set:function(t){this.i.ic=+t,this._a("actualContentPaddingTop",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.ig},set:function(t){this.i.ig=+t,this._a("contentPaddingRight",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.ib},set:function(t){this.i.ib=+t,this._a("actualContentPaddingRight",this.i.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("contentPaddingBottom",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.h9},set:function(t){this.i.h9=+t,this._a("actualContentPaddingBottom",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a8},enumerable:!1,configurable:!0}),n.prototype.openSubMenu=function(){this.i.f8()},n.prototype.closeSubmenu=function(){this.i.e7()},n.prototype.exportVisualData=function(){return this.i.cp()},Object.defineProperty(n.prototype,"popupOpening",{get:function(){return this._popupOpening},set:function(t){var e=this;null!==this._popupOpening_wrapped&&(this.i.popupOpening=i.delegateRemove(this.i.popupOpening,this._popupOpening_wrapped),this._popupOpening_wrapped=null,this._popupOpening=null),this._popupOpening=t,this._popupOpening_wrapped=function(t,i){var n=new xi;n._provideImplementation(i),e.beforePopupOpening&&e.beforePopupOpening(e,n),e._popupOpening&&e._popupOpening(e,n)},this.i.popupOpening=i.delegateCombine(this.i.popupOpening,this._popupOpening_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionIconButtonComponent=null,n.htmlTagName="igc-tool-action-icon-button",n._isElementRegistered=!1,n}(bi),Si=function(){function t(){}return t.register=function(){ki.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",ki),i.TypeRegistrar.register("ToolActionIconButton",Qe.$type)},t}(),Ai=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Je},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconMenuComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconMenuComponent=t}return n._observedAttributesIgcToolActionIconMenuComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"arrowStroke",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.j3)},set:function(t){this.i.j3=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.j3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.js},set:function(t){this.i.js=i.ensureBool(t),this._a("showArrowIcon",this.i.js)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cp()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(ki),Ni=function(){function t(){}return t.register=function(){Ai.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",Ai),i.TypeRegistrar.register("ToolActionIconMenu",Je.$type)},t}(),Bi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Xe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSeparatorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSeparatorComponent=t}return n._observedAttributesIgcToolActionSeparatorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"size",{get:function(){return this.i.hf},set:function(t){this.i.hf=+t,this._a("size",this.i.hf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.hd},set:function(t){this.i.hd=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.hd)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(bi),Ri=function(){function t(){}return t.register=function(){Bi.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",Bi),i.TypeRegistrar.register("ToolActionSeparator",Xe.$type)},t}(),Ei=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Fe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSubPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSubPanelComponent=t}return n._observedAttributesIgcToolActionSubPanelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(bi),$i=function(){function t(){}return t.register=function(){Ei.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",Ei),i.TypeRegistrar.register("ToolActionSubPanel",Fe.$type)},t}(),qi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ke},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionRadioComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionRadioComponent=t}return n._observedAttributesIgcToolActionRadioComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"channel",{get:function(){return this.i.hl},set:function(t){this.i.hl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.he},set:function(t){this.i.he=i.ensureBool(t),this._a("isChecked",this.i.he)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.hf},set:function(t){this.i.hf=i.ensureBool(t),this._a("isManual",this.i.hf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hv)},set:function(t){this.i.hv=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(bi),Di=function(){function t(){}return t.register=function(){qi.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",qi),i.TypeRegistrar.register("ToolActionRadio",Ke.$type)},t}(),zi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ge},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonComponent=t}return n._observedAttributesIgcToolActionButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hd},set:function(t){this.i.hd=i.ensureEnum(Te,t),this._a("displayType",i.enumToString(Te,this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hh},set:function(t){this.i.hh=+t,this._a("cornerRadius",this.i.hh)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(bi),Vi=function(){function t(){}return t.register=function(){zi.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",zi),i.TypeRegistrar.register("ToolActionButton",Ge.$type)},t}(),Ui=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ae},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Li=function(t){return t[t.Replace=0]="Replace",t}({}),Mi=i.markEnum("NestedActionMode","Replace,0"),Fi=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.actualActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._contentRefreshed=null,n._contentRefreshed_wrapped=null,n._onCommand=null,n._onCommand_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolPanelContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.actualActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new li;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof bi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new oi},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-tool-panel"),this.classList.add("igc-tool-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualActions.length;e++){this.actualActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolPanelComponent=t}return n._observedAttributesIgcToolPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureBool(t),this._a("showOnHover",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.a2},set:function(t){this.i.a2=i.ensureBool(t),this._a("showTooltipOnHover",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("dropdownClickBuffer",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.a3},set:function(t){this.i.a3=i.ensureBool(t),this._a("stopPropagation",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.am?null:this.i.am.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.am=e,this._a("cellTextStyle",null!=this.i.am?this.i.am.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.ao?null:this.i.ao.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ao=e,this._a("subtitleTextStyle",null!=this.i.ao?this.i.ao.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.ae},set:function(t){this.i.ae=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.ae))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.ad))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.ih)},set:function(t){this.i.ih=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.ih))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.jj)},set:function(t){this.i.jj=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.jj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.iw)},set:function(t){this.i.iw=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.iw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.il)},set:function(t){this.i.il=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.il))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.ji)},set:function(t){this.i.ji=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.ji))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.iv)},set:function(t){this.i.iv=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.iv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.im)},set:function(t){this.i.im=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.im))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.ir)},set:function(t){this.i.ir=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.ir))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.jl)},set:function(t){this.i.jl=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.jl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.iy)},set:function(t){this.i.iy=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.iy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.ix)},set:function(t){this.i.ix=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.ix))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.jk)},set:function(t){this.i.jk=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.jk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ik)},set:function(t){this.i.ik=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ik))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.ip)},set:function(t){this.i.ip=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.ip))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.jb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.io)},set:function(t){this.i.io=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.io))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.jn)},set:function(t){this.i.jn=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.jn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jm)},set:function(t){this.i.jm=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.jm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.iz)},set:function(t){this.i.iz=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.iz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("toolTipCornerRadius",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("actualToolTipCornerRadius",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("toolTipElevation",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("actualToolTipElevation",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.is)},set:function(t){this.i.is=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.is))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.jg)},set:function(t){this.i.jg=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.jg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.it)},set:function(t){this.i.it=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.it))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("separatorVerticalPaddingLeft",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.b5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("separatorVerticalPaddingRight",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.b6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("separatorVerticalPaddingTop",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.b7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("separatorVerticalPaddingBottom",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("separatorHorizontalPaddingLeft",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("separatorHorizontalPaddingRight",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("separatorHorizontalPaddingTop",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("separatorHorizontalPaddingBottom",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(ee,t),this._a("orientation",i.enumToString(ee,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("rowHeight",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.bz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("highlightWidth",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualHighlightWidth",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("highlightRadius",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualHighlightRadius",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.iq)},set:function(t){this.i.iq=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.iq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.jh)},set:function(t){this.i.jh=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.jh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.iu)},set:function(t){this.i.iu=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.iu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jo)},set:function(t){this.i.jo=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.jo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ii)},set:function(t){this.i.ii=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.ii))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.jp)},set:function(t){this.i.jp=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.jp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.i5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.ij)},set:function(t){this.i.ij=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.ij))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t,this._a("dropdownDelay",this.i.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("actualDropdownDelay",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(Mi,t),this._a("nestedActionMode",i.enumToString(Mi,this.i.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a0},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.refresh=function(){this.i.gi()},n.prototype.getDesiredSize=function(){var t=this.i.js();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.fz()},n.prototype.closeSubmenus=function(){this.i.fu()},n.prototype.exportVisualData=function(){return this.i.cy()},n.prototype.exportSerializedVisualData=function(){return this.i.ei()},n.prototype.setBrushContextItem=function(t,e){this.i.gr(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.i7(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.gp(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.a(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.gz(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.ca(t)},n.prototype.setIntContextItem=function(t,e){this.i.g1(t,e)},n.prototype.getIntContextItem=function(t){return this.i.cv(t)},n.prototype.setStringContextItem=function(t,e){this.i.g3(t,e)},n.prototype.getStringContextItem=function(t){return this.i.ej(t)},n.prototype.setBoolContextItem=function(t,e){this.i.gn(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.ax(t)},n.prototype.setColorContextItem=function(t,e){this.i.gt(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.jq(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.gx(t,e)},n.prototype.getDataContextItem=function(t){return this.i.c1(t)},Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new Ui;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ci;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolPanelComponent=null,n.htmlTagName="igc-tool-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Hi=function(){function t(){}return t.register=function(){Tt.register(),yi.register(),_i.register(),Pi.register(),Oi.register(),Ii.register(),Si.register(),Ni.register(),Ri.register(),$i.register(),Di.register(),Vi.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),Fi.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Fi),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Fi),i.TypeRegistrar.register("ToolPanel",oi.$type)},t}(),Gi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new oe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Wi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ae},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Ki=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.combinedActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._autoGeneratedActions=null,n._actualActions=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCommand=null,n._onCommand_wrapped=null,n._subMenuOpening=null,n._subMenuOpening_wrapped=null,n._subMenuClosing=null,n._subMenuClosing_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolbarContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.combinedActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new li;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof bi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new ii},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-toolbar"),this.classList.add("igc-toolbar");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.combinedActions.length;e++){this.combinedActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},Object.defineProperty(n.prototype,"target",{get:function(){var t=this.i.target;return t?(null!=t.externalObject&&(t=t.externalObject),t):t},set:function(t){t&&t._implementation&&(t=t._implementation),this.i.target=t},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolbarComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolbarComponent=t}return n._observedAttributesIgcToolbarComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new li,e=this.i.autoGeneratedActions;e||(e=new ei),this._autoGeneratedActions=t._fromInner(e),this.i.autoGeneratedActions=e}return this._autoGeneratedActions},set:function(t){null!==this._autoGeneratedActions&&(this._autoGeneratedActions._setSyncTarget(null),this._autoGeneratedActions=null);var e=new li;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ze.$type),r=this.i.autoGeneratedActions;r||(r=new ei),n._inner=r,n.clear(),this._autoGeneratedActions._setSyncTarget(n),this.i.autoGeneratedActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){if(null===this._actualActions){var t=new li,e=this.i.actualActions;e||(e=new ei),this._actualActions=t._fromInner(e),this.i.actualActions=e}return this._actualActions},set:function(t){null!==this._actualActions&&(this._actualActions._setSyncTarget(null),this._actualActions=null);var e=new li;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ze.$type),r=this.i.actualActions;r||(r=new ei),n._inner=r,n.clear(),this._actualActions._setSyncTarget(n),this.i.actualActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureEnum(le,t),this._a("orientation",i.enumToString(le,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.fk)},set:function(t){this.i.fk=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.fk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.fy)},set:function(t){this.i.fy=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.fy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fp)},set:function(t){this.i.fp=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.fx)},set:function(t){this.i.fx=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.fx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.ft)},set:function(t){this.i.ft=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.ft))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.f0)},set:function(t){this.i.f0=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.f0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.fn)},set:function(t){this.i.fn=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.fn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fr)},set:function(t){this.i.fr=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.f2)},set:function(t){this.i.f2=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.f2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.f1)},set:function(t){this.i.f1=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("toolTipCornerRadius",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("toolTipElevation",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.fu)},set:function(t){this.i.fu=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.fu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.fv)},set:function(t){this.i.fv=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.fv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.ad?null:this.i.ad.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ad=e,this._a("cellTextStyle",null!=this.i.ad?this.i.ad.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("subtitleTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("separatorVerticalPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("separatorVerticalPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("separatorVerticalPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("separatorVerticalPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("separatorHorizontalPaddingLeft",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("separatorHorizontalPaddingRight",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("separatorHorizontalPaddingTop",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("separatorHorizontalPaddingBottom",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureBool(t),this._a("showOnHover",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.at},set:function(t){this.i.at=i.ensureBool(t),this._a("showTooltipOnHover",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("dropdownClickBuffer",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("highlightWidth",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("highlightRadius",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.fs)},set:function(t){this.i.fs=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.fs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.fw)},set:function(t){this.i.fw=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.fw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.f3)},set:function(t){this.i.f3=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.f3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.fl)},set:function(t){this.i.fl=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.fl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.f4)},set:function(t){this.i.f4=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.fm)},set:function(t){this.i.fm=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.fm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("rowHeight",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.fz)},set:function(t){this.i.fz=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.fz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.fq)},set:function(t){this.i.fq=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.fq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.br},set:function(t){this.i.br=+t,this._a("dropdownDelay",this.i.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("stopPropagation",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ar},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.autoGeneratedActions&&this.autoGeneratedActions.findByName&&this.autoGeneratedActions.findByName(t)?this.autoGeneratedActions.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null!=this.actualActions&&this.actualActions.findByName&&this.actualActions.findByName(t)?this.actualActions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolbarComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.flushRefresh=function(){this.i.dx()},n.prototype.getDesiredSize=function(){var t=this.i.f6();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.du()},n.prototype.onCommandStateChanged=function(t,e,i){this.i.onCommandStateChanged(t,null==e?null:e,i)},n.prototype.registerIconFromText=function(t,e,i){this.i.ee(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.cm(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.eg(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.ed(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.cl(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.ef(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.b4(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.ej(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.fo(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.ei(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.b(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.en(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.a9(t)},n.prototype.setIntContextItem=function(t,e){this.i.eu(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.ba(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.es(t,e)},n.prototype.getIntContextItem=function(t){return this.i.bt(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.et(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bs(t)},n.prototype.setStringContextItem=function(t,e){this.i.ev(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cn(t)},n.prototype.setBoolContextItem=function(t,e){this.i.eh(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.aq(t)},n.prototype.setColorContextItem=function(t,e){this.i.ek(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.f5(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.em(t,e)},n.prototype.getDataContextItem=function(t){return this.i.bz(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.er(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.b3(t)},n.prototype.exportVisualData=function(){return this.i.bx()},n.prototype.exportSerializedVisualData=function(){return this.i.ck()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ci;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuOpening",{get:function(){return this._subMenuOpening},set:function(t){var e=this;null!==this._subMenuOpening_wrapped&&(this.i.subMenuOpening=i.delegateRemove(this.i.subMenuOpening,this._subMenuOpening_wrapped),this._subMenuOpening_wrapped=null,this._subMenuOpening=null),this._subMenuOpening=t,this._subMenuOpening_wrapped=function(t,i){var n=new Gi;n._provideImplementation(i),e.beforeSubMenuOpening&&e.beforeSubMenuOpening(e,n),e._subMenuOpening&&e._subMenuOpening(e,n)},this.i.subMenuOpening=i.delegateCombine(this.i.subMenuOpening,this._subMenuOpening_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuClosing",{get:function(){return this._subMenuClosing},set:function(t){var e=this;null!==this._subMenuClosing_wrapped&&(this.i.subMenuClosing=i.delegateRemove(this.i.subMenuClosing,this._subMenuClosing_wrapped),this._subMenuClosing_wrapped=null,this._subMenuClosing=null),this._subMenuClosing=t,this._subMenuClosing_wrapped=function(t,i){var n=new Wi;n._provideImplementation(i),e.beforeSubMenuClosing&&e.beforeSubMenuClosing(e,n),e._subMenuClosing&&e._subMenuClosing(e,n)},this.i.subMenuClosing=i.delegateCombine(this.i.subMenuClosing,this._subMenuClosing_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolbarComponent=null,n.htmlTagName="igc-toolbar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Xi=function(){function t(){}return t.register=function(){Hi.register(),Ki.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Ki),i.TypeRegistrar.registerCons("IgcToolbarComponent",Ki),i.TypeRegistrar.register("Toolbar",ii.$type)},t}(),Qi=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),Yi=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),Ji=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),n}(i.Base),Zi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDataBindingEventArgs"),n}(i.Base),tn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.f=0,e.g=0,e.a=0,e.h=0,e.j=null,e.cellUpdating=null,e.dataBinding=null,e}return e.__extends(n,t),n.prototype.i=function(t,e,i){if(null!=this.dataBinding){var n=new Zi;return n.b=t,n.a=e,n.c=i,this.dataBinding(this,n),n.b}return t},n.prototype.e=function(t,e,i){if(null!=this.cellUpdating){var n=new Ji;return n.a=t,n.b=e,n.c=i,this.cellUpdating(this,n),n.a}return t},n.$t=i.markType(n,"PropertyEditorPanelColumnDefinition"),n}(i.Base),en=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._label=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"label",{get:function(){return this._label},set:function(t){this._label=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPanelComboBoxBridgeItem"),n}(i.Base),nn=function(t){function n(e,n,r){var o=t.call(this)||this;o.b=new i.DescriptionTreeNode,o.e=new i.List$1(i.DataSeriesToDescriptionCustomization.$,0),o.c=null,o.d=!1,o.c=e,o.b=new i.DescriptionTreeNode,o.b.i=n,o.d=r;new i.JsonDictionaryObject;return o}return e.__extends(n,t),n.prototype.a=function(){return this.e.toArray()},n.prototype.k=function(t,e,i){null!=t&&this.f(t,-1,e,this.b,i,null)},n.prototype.f=function(t,n,r,o,s,a){if(null==t)return null;var h=i.stringSplit(t,[".","["],0),u=h[0],l=h.length>1,c=!1,p=new i.List$1(i.Number_$type,0),f=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){c=!0;for(var d=(u=i.stringReplace(u,"]","")).split(","),b=0;b<d.length;b++){var g=d[b];if(i.stringContains(g,"as")){var y=g.indexOf("as"),m=g.substr(0,y).trim(),_=g.substr(y+2).trim();"*"==m.trim()?(p.add(-1),f.add(_)):(p.add(parseInt(m)),f.add(_)),s=_,u=m}}}var v=null;if(v=c?a:this.c.getMetadata(s,u),l)if(c)for(var C=o.b,j=0;j<p.count;j++){u=p._inner[j].toString();var P=f._inner[j],w=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),O=!1;-1==w&&(O=!0,w=0);for(var T=new i.List$1(i.Base.$,0),I=0;I<=w;I++)if(null!=C&&I<C.length){var x=C[I];null!==i.typeCast(i.DescriptionTreeNode.$,x)&&I==w&&(x.i=P),T.add1(x)}else{var k=this.g(a,!0,P);null!=k&&T.add1(k)}var S=(C=T.toArray())[w],A=new i.List$1(i.String_$type,1,h);A.removeAt(0);var N=v.collectionElementType;null!=P&&(N=P);var B=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(A.toArray()),!1)),O?-1:w,r,S,N,v);null!=B&&(C[w]=B),o.b=C}else{var R=o;R.c(u)||R.o(u,this.g(v,!1,null),v);var E=R.a(u),$=new i.List$1(i.String_$type,1,h);$.removeAt(0);var q=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read($.toArray()),!1)),-1,r,E,v.specificExternalType,v);null!=q&&R.o(u,q,v)}else{null!==i.typeCast(i.DescriptionPropertyValue.$,o)&&(o=o.b);var D=o,z=this.h(r,v);if(this.d){var V=new i.DataSeriesToDescriptionCustomization;V.matchType=s,V.propertyName=u,-1!=n&&(V.matchParentIndex=n),V.propertyValue=z,this.e.add(V)}D.o(u,z,v)}return null},n.prototype.i=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.h=function(t,e){if(null==e)return null;if(null==t)return 1==e.knownType&&"double"==e.specificExternalType?NaN:null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 23:case 9:return t;case 5:return t.toString();case 16:case 20:case 22:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},n.prototype.g=function(t,e,n){if(e||10!=t.knownType&&9!=t.knownType){var r=new i.DescriptionTreeNode;return r.i=null!=n?n:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},n.prototype.j=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.t(this.c,this.b,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),rn=function(t){function n(){var e,n=t.call(this)||this;return n.n=null,n.m=null,n.a=null,n.i=null,n.l=null,n.e=null,n.k=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.aa=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.j=null,n}return e.__extends(n,t),n.prototype.p=function(){return this.i},n.prototype.v=function(){},n.prototype.t=function(t){var e=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),i.NativeUIComponent.au(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.an.setStyleProperty("width","100%"),i.an.setStyleProperty("height","100%"),e.i.append(i.an)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},n.prototype.y=function(){},n.prototype.x=function(){this.i},n.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new i.Size(1,t,e),null!=this.a.l&&(this.a.cj(),this.a.l.b3(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cr),i.NativeUI.m(e,this.a.co))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.y(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},n.$t=i.markType(n,"PropertyEditorPanelView"),n}(i.Base),on=function(t){function n(){var e=t.call(this)||this;e.p=null,e.l=null,e.v=null,e.ac=!1,e.ad=!1,e.z=null,e.propertyChanged=null,e.aj=!1,e.q=null,e.r=new Dt,e.aw=-1,e.n=0,e.au=i.DeviceUtils.g(38),e.w=null,e.a1=null,e.d=null,e.ar=null,e.k=null,e.ai=!1,e.aq=new i.Dictionary$2(i.String_$type,Rt.$,0),e.at=null,e.a5=null,e.ah=!0,e.ab=!1,e.g=null,e.h=null,e.e=null,e.a0=null,e.a6=null,e.ae=!1,e.ag=!1,e.af=!1,e.cm=n.cp,e.cn=n.cq,e.ay=0,e.ax=-1,e.m=null,i.NativeUIInputsFactory.n(),Ne.g(),e.at=new i.ObservableCollection$1(tn.$,0);var r=new rn;r.a=e,e.p=r,e.p.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.ca)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"aa",{get:function(){return null==this.z&&(this.z=new i.SRProvider(this.p.i),this.z.cb("Layouts")),this.z},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.bx))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.bx))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.an(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),null!=this.d&&this.d.notifyClearItems(),this.b5()},n.prototype.b5=function(){this.aj||null!=this.l&&this.cj()},n.prototype.bx=function(t,e){this.aj||(this.an(),null!=this.l&&this.cj())},n.prototype.notifySizeChanged=function(){this.p.s()},n.prototype.bw=function(t,e){if(this.l=t,null!=this.l){if(this.l.bs=i.runOn(this,this.b9),this.cl(),null!=this.actualProperties){this.a1=this.actualProperties;var n=this.actualProperties;n=this.actualProperties.toArray();var r=new i.LocalDataSource;r.dataSource=n,this.d=r,this.br()}null!=this.actualProperties&&this.cj()}},n.prototype.b9=function(t,e){if(this.aj=!0,this.aq.containsKey(e.a.commandId)){var i=this.aq.item(e.a.commandId);this.b3(i,e)}this.aj=!1},n.prototype.b3=function(t,e){switch(t.w){case 0:break;case 19:case 1:this.ch(t,e),this.b7(t);break;case 11:case 12:case 13:case 14:case 2:case 3:case 4:case 5:case 6:case 23:this.ci(t,e),this.b7(t);break;case 7:this.ce(t,e),this.b7(t);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:break;case 15:this.cg(t,e),this.b7(t);break;case 20:this.cf(t,e);break;default:return}},n.prototype.cf=function(t,e){t.a6()},n.prototype.cg=function(t,e){var i=e.a.argumentsList[0].value;if(null!=i&&i.length>0){var n=i[0];t.ar=n,t.aa=!0,t.a5()}else t.ar=null,t.aa=!0,t.a5()},n.prototype.ce=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ci=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ch=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.cl=function(){null!=this.l&&(this.ak&&this.am?this.l.bu=2:this.ak?this.l.bu=1:this.l.bu=0)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.p.t(t)},n.prototype.b4=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.b6("ActualProperties",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.b6("Properties",e,this.r)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.b6("RowHeight",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b6("UpdateMode",i.enumGetBox(Yi,e),i.enumGetBox(Yi,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.au},set:function(t){this.au=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.b6("CellTextStyle",e,this.w)},enumerable:!1,configurable:!0}),n.prototype.y=function(){return null==this.x?this.p.d():this.x},n.prototype.b6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cb(t,e,n)},n.prototype.cb=function(t,e,n){switch(t){case"DescriptionType":null==this.be&&null==this.properties&&(this.actualProperties=null),null!=this.be&&(null==this.m&&(this.m=new Bt),this.m.n=this.be),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"ComponentRenderer":null!=e&&this.ab&&(this.ab=!1,e.removeTargetPropertyUpdatingListener(i.runOn(this,this.ap))),e!=n&&(this.ah=!0),null==this.f?this.i=this.j:this.i=this.f.context;break;case"Target":null!=i.ComponentRenderer.defaultInstance&&null==this.f&&(this.f=i.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.f&&(this.i=n);break;case"ActualContext":null==this.i&&null==this.properties&&(this.actualProperties=null),null!=this.i&&(null==this.m&&(this.m=new Bt),this.m.b=this.i),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.cl(),this.cj();break;case"IsHorizontal":this.cl();break;case"ActualProperties":if(null!=this.l){var r=this.a1!=this.actualProperties;this.a1=this.actualProperties;var o=this.actualProperties;o=this.actualProperties.toArray();var s=new i.LocalDataSource;if(s.dataSource=o,this.d=s,this.br(),null!=this.d){var a=this.d;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.b8))}r&&this.cj()}break;case"RowHeight":null!=this.l&&(this.av=this.az);break;case"CellTextStyle":this.cd();break;case"BackgroundColor":case"TextColor":this.cd()}},n.prototype.an=function(){var t,n,r=this.aj;this.aj=!0;var o=!1;try{for(var s=e.__values(i.fromEnum(this.properties)),a=s.next();!a.done;a=s.next()){var h=a.value,u=h.a3;if(null!=this.m){var l=this.m.e(u,!1);null!=l&&h.z(l)&&(o=!0)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return o?this.cj():null!=this.l&&this.cd(),this.aj=r,o},n.prototype.cd=function(){this.ai||null==this.k||(this.ai=!0,this.k.enqueueAction(i.runOn(this,this.bt)))},n.prototype.bt=function(){if(this.aq.clear(),this.ai=!1,null==this.ar&&(this.ar=new i.List$1(i.List$1.$.specialize(i.NativeUIComponent.$),0)),null!=this.d){for(var t=this.d.actualCount,e=new ei,n=0;n<t;n++){var r=this.d.getItemAtIndex(n),o=this.u(r);null!=o&&e.add(o)}this.ck(e)}},n.prototype.ck=function(t){this.l.bt=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(en.$,0),n=function(i){var n;e.add(((n=new en).label=t[i],n))},r=0;r<t.length;r++)n(r);return e},n.prototype.c=function(t){return t.c},n.prototype.bm=function(t){return null!=t.az?t.az:null!=t.a3?t.a3:t.az},n.prototype.u=function(t){var e=t,n=null;switch(e.w){case 0:break;case 19:case 1:var r=new ti;r.hf=null!=e.ar?e.ar:NaN,r.e1=this.bm(e),n=r,null!=e.a4&&(n.ev=e.a4);break;case 4:case 5:var o=new Ve;o.hj=i.CSSColorUtil.g(e.ar),o.e1=this.bm(e),n=o,null!=e.a4&&(n.ev=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new He;s.hf=e.ar,s.e1=this.bm(e),n=s,null!=e.a4&&(n.ev=e.a4);break;case 7:var a=new Ze;a.he=null!=e.ar&&e.ar,a.e1=this.bm(e),n=a,null!=e.a4&&(n.ev=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new Ue;h.itemsSource=this.a4(this.c(e)),h.e1=this.bm(e),n=h,null!=e.a4&&(n.ev=e.a4),null!=e.ar&&(h.hd=new me,h.hd.add1(e.ar));break;case 20:var u=new Ge;u.e1=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.e1=e.ar),n=u,null!=e.a4&&(n.ev=e.a4);break;case 24:var l=new Xe;l.hf=5,n=l;break;case 25:(n=new Ye).e1=this.bm(e),null!=e.a4&&(n.ev=e.a4);break;default:return null}var c=this.bl(e.a3);if(null==c&&(c=e.a0),null==c){var p=this.aj;this.aj=!0,e.a0=i.Guid.newGuid().toString(),c=e.a0,this.aj=p}return null==n?null:(n.ei=this.be+"_"+c,this.aq.item(n.ei,e),n)},n.prototype.bl=function(t){return null==t?null:i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(t,".","__dot__"),"[","__ob__"),"]","__cb__")," ","__sp__"),"*","__star__")},n.prototype.b8=function(t,e){this.ad=!0,this.br(),this.ad=!1},n.prototype.cj=function(){null!=this.l&&(this.cd(),this.p.r())},n.prototype.cs=function(){return null!=this.l?this.l.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)):new i.Size(1,0,0)},n.prototype.a2=function(t){return t.i},n.prototype.b7=function(t){var e=this;if(null!=this.a3&&null!=this.f)if(2==this.o){var n=this.a(),r=this.a2(this.a3);null!==i.typeCast(i.IAcceptsDataSeriesToDescriptionCustomizations_$type,r)&&r.onCustomizationsChanged(n)}else{this.ah&&(this.ab=!0,this.ah=!1,this.f.addTargetPropertyUpdatingListener(i.runOn(this,this.ap)));var o=null==this.a5;this.a5=this.bg(),o?this.p.q(this.a3,(function(t){return e.f.loadJsonOverlay(e.a5,(function(e){return t}),(function(t){return e.a3}))})):this.p.q(this.a3,(function(t){return e.f.loadJsonDelta(e.a5,(function(e){return t}),!1)}))}},n.prototype.a=function(){var t=this.actualProperties,e=new nn(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new nn(t,e,!0);return n.bv(i,"",r,e),r.a()},n.prototype.ap=function(t,e,i){for(var n=this.actualProperties,r=0;r<n.count;r++){var o=n._inner[r].a3;this.ao(o,t)&&n._inner[r].a9(t,e,i)}return!!this.al},n.prototype.ao=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var n=i.stringSplit(t,[".","["],0),r=i.stringSplit(e,[".","["],0);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var s=n[o],a=r[o];if(i.stringContains(s,"]")){if(!i.stringContains(a,"]"))return!1;if(a=i.stringReplace(a,"]",""),!this.as(s).contains(a))return!1}else if(!i.Base.equalsStatic(s,a))return!1}return!0},n.prototype.as=function(t){var e=new i.List$1(i.String_$type,0);if(i.stringContains(t,"]")){for(var n=(t=i.stringReplace(t,"]","")).split(","),r=0;r<n.length;r++){var o=n[r];if(i.stringContains(o,"as")){var s=o.indexOf("as"),a=o.substr(0,s).trim();e.add(a)}}return e}return e.add(t),e},n.prototype.bg=function(){if(null==this.actualProperties)return null;var t=this.actualProperties,e=new nn(this.i,this.be,!1);return this.bu(t,"",e,this.be),e.j()},n.prototype.bu=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r],s=o.ac,a=o.w,h=o.m,u=o.i,l=o.ar;if(s&&(a=o.v,h=o.l,u=o.h,l=o.ap),20!=a&&25!=a&&24!=a)if(null!=h&&h.count>0)for(var c=0;c<h.count;c++){var p=h._inner[c],f=e+o.a3+"["+c+"]";this.bu(p.a,f,i,p.b)}else if(null!=u){var d=e+o.a3;this.bu(u.a,d,i,u.b)}else{if(15==a&&null==l)continue;i.k(e+o.a3,l,n)}}},n.bv=function(t,e,r,o){for(var s=0;s<t.length;s++){var a=t[s],h=a.useCoercedValue,u=a.valueType,l=a.complexValues,c=a.complexValue,p=a.primitiveValue;h&&(u=a.coercedValueType,l=a.coercedComplexValues,c=a.coercedComplexValue,p=a.coercedPrimitiveValue);var f=0;if(20!=(f=i.EnumUtil.tryParse$1(kt,u,!0,f).p2)&&25!=f&&24!=f)if(null!=l&&l.length>0)for(var d=0;d<l.length;d++){var b=l[d],g=e+a.propertyPath+"["+d+"]";n.bv(b.properties,g,r,b.descriptionType)}else if(null!=c){var y=e+a.propertyPath;n.bv(c.properties,y,r,c.descriptionType)}else r.k(e+a.propertyPath,p,o)}},n.prototype.b1=function(t,e,i){null!=this.l&&this.cd()},n.prototype.by=function(){null!=this.l&&this.cd()},n.prototype.bz=function(t,e){null!=this.l&&this.cd()},n.prototype.b0=function(t,e){null!=this.l&&this.cd()},Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.b6("ActualContext",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.b6("DescriptionContext",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,this.b6("ComponentRenderer",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,this.b6("Target",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,this.b6("DescriptionType",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.b6("IsHorizontal",e,this.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.b6("IsWrappingEnabled",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.b6("IsIndirectModeEnabled",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.b6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.b6("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.br=function(){var t=this.d;if(null!=t){if(null==t.actualSchema)return void(this.ax=-1);var e=t.actualCount;this.ax=e}else this.ax=-1},n.$t=i.markType(n,"PropertyEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.cp=i.BrushUtil.h(255,248,248,248),n.cq=i.BrushUtil.h(255,24,29,31),n}(i.Base),sn=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentProperties=[],n.actualProperties=[],n._properties=null,n._propertiesAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._actualDataSource=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("propertyEditorContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._propertiesAdapter=new i.CollectionAdapter(n.contentProperties,n.i.properties,n.actualProperties,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new zt;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex),t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof Gt&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new on},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPanelComponent=t}return n._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new zt,e=this.i.actualProperties;e||(e=new Dt),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new zt;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.actualProperties;r||(r=new Dt),n._inner=r,n.clear(),this._actualDataSource._setSyncTarget(n),this.i.actualProperties=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("rowHeight",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateMode",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(Yi,t),this._a("updateMode",i.enumToString(Yi,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("actualRowHeight",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.x?null:this.i.x.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.x=e,this._a("cellTextStyle",null!=this.i.x?this.i.x.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionContext",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderer",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"target",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionType",{get:function(){return this.i.be},set:function(t){this.i.be=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHorizontal",{get:function(){return this.i.ak},set:function(t){this.i.ak=i.ensureBool(t),this._a("isHorizontal",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isWrappingEnabled",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureBool(t),this._a("isWrappingEnabled",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndirectModeEnabled",{get:function(){return this.i.al},set:function(t){this.i.al=i.ensureBool(t),this._a("isIndirectModeEnabled",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.co)},set:function(t){this.i.co=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.co))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.cr)},set:function(t){this.i.cr=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.cr))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actualDataSource&&this.actualDataSource.findByName&&this.actualDataSource.findByName(t)?this.actualDataSource.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.notifySetItem=function(t,e,i){this.i.b1(t,e,i)},n.prototype.notifyClearItems=function(){this.i.by()},n.prototype.notifyInsertItem=function(t,e){this.i.bz(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.b0(t,e)},n._observedAttributesIgcPropertyEditorPanelComponent=null,n.htmlTagName="igc-property-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),an=function(){function t(){}return t.register=function(){Wt.register(),Xi.register(),sn.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",sn),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",sn),i.TypeRegistrar.register("PropertyEditorPanel",on.$type)},t}(),hn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),un=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),ln=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),cn=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),pn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",mt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",E.$type)},t}(),fn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIContentRefreshedEventArgs"),n}(i.Base),dn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",vi),i.TypeRegistrar.register("LayoutPrimaryKeyValue",Ce.$type)},t}(),bn=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),gn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ve},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionColorEditorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionColorEditorComponent=t}return n._observedAttributesIgcToolActionColorEditorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("value",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(bi),yn=function(){function t(){}return t.register=function(){gn.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",gn),i.TypeRegistrar.register("ToolActionColorEditor",Ve.$type)},t}(),mn=function(t){function n(){var e=t.call(this)||this;return e._selectedValues=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ue},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComboComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComboComponent=t}return n._observedAttributesIgcToolActionComboComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayMemberPath",{get:function(){return this.i.hh},set:function(t){this.i.hh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.hl},set:function(t){this.i.hl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new bn,e=this.i.hd;e||(e=new me),this._selectedValues=t._fromInner(e),this.i.hd=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new bn;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.hd;r||(r=new me),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.hd=r},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(bi),_n=function(){function t(){}return t.register=function(){mn.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",mn),i.TypeRegistrar.register("ToolActionCombo",Ue.$type)},t}(),vn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Le},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonPairComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonPairComponent=t}return n._observedAttributesIgcToolActionButtonPairComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"leftIsSelected",{get:function(){return this.i.h0},set:function(t){this.i.h0=i.ensureBool(t),this._a("leftIsSelected",this.i.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.h3},set:function(t){this.i.h3=i.ensureBool(t),this._a("rightIsSelected",this.i.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.hz},set:function(t){this.i.hz=i.ensureBool(t),this._a("leftIsDisabled",this.i.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.h2},set:function(t){this.i.h2=i.ensureBool(t),this._a("rightIsDisabled",this.i.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.iw},set:function(t){this.i.iw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.iq},set:function(t){this.i.iq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.hy},set:function(t){this.i.hy=i.ensureBool(t),this._a("isToggleDisabled",this.i.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.is},set:function(t){this.i.is=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.h9},set:function(t){this.i.h9=+t,this._a("leftIconViewBoxLeft",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.ia},set:function(t){this.i.ia=+t,this._a("leftIconViewBoxTop",this.i.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.ib},set:function(t){this.i.ib=+t,this._a("leftIconViewBoxWidth",this.i.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.h8},set:function(t){this.i.h8=+t,this._a("leftIconViewBoxHeight",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.jz)},set:function(t){this.i.jz=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.jz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hf)},set:function(t){this.i.hf=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.j0)},set:function(t){this.i.j0=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.j0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hg)},set:function(t){this.i.hg=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.h7},set:function(t){this.i.h7=+t,this._a("leftIconStrokeWidth",this.i.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.i7},set:function(t){this.i.i7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.jf},set:function(t){this.i.jf=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.i9},set:function(t){this.i.i9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.jb},set:function(t){this.i.jb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.ie},set:function(t){this.i.ie=+t,this._a("rightIconViewBoxLeft",this.i.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.ig},set:function(t){this.i.ig=+t,this._a("rightIconViewBoxTop",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("rightIconViewBoxWidth",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("rightIconViewBoxHeight",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.j1)},set:function(t){this.i.j1=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.j1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hh)},set:function(t){this.i.hh=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.hh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.j2)},set:function(t){this.i.j2=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.j2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.jy)},set:function(t){this.i.jy=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.jy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hi)},set:function(t){this.i.hi=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.ic},set:function(t){this.i.ic=+t,this._a("rightIconStrokeWidth",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.jq},set:function(t){this.i.jq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hj},set:function(t){this.i.hj=i.ensureEnum(ve,t),this._a("displayType",i.enumToString(ve,this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.h4},set:function(t){this.i.h4=+t,this._a("cornerRadius",this.i.h4)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(bi),Cn=function(){function t(){}return t.register=function(){vn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",vn),i.TypeRegistrar.register("ToolActionButtonPair",Le.$type)},t}(),jn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new He},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionTextInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionTextInputComponent=t}return n._observedAttributesIgcToolActionTextInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.hf},set:function(t){this.i.hf=t},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(bi),Pn=function(){function t(){}return t.register=function(){jn.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",jn),i.TypeRegistrar.register("ToolActionTextInput",He.$type)},t}(),wn=new i.Type(null,"IExternalToolbar"),On=new i.Type(null,"IToolbarView"),Tn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.c=function(){n.a||(n.a=!0,n.b("Search","m22.241 24-7.414-7.414c-1.559 1.169-3.523 1.875-5.652 1.885h-.002c-.032 0-.07.001-.108.001-5.006 0-9.065-4.058-9.065-9.065 0-.038 0-.076.001-.114v.006c0-5.135 4.163-9.298 9.298-9.298s9.298 4.163 9.298 9.298c-.031 2.129-.733 4.088-1.904 5.682l.019-.027 7.414 7.414zm-12.942-21.487c-3.72.016-6.73 3.035-6.73 6.758 0 3.732 3.025 6.758 6.758 6.758s6.758-3.025 6.758-6.758c0-1.866-.756-3.555-1.979-4.778-1.227-1.223-2.92-1.979-4.79-1.979-.006 0-.012 0-.017 0h.001z"),n.b("ZoomIn","M 19.4758 12.1587 H 14.6339 V 7.3169 c 0 -0.6834 -0.5539 -1.2375 -1.2375 -1.2375 s -1.2375 0.5541 -1.2375 1.2375 v 4.8419 H 7.3171 c -0.6836 0 -1.2375 0.5541 -1.2375 1.2375 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 H 12.1589 v 4.8421 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 s 1.2375 -0.5541 1.2375 -1.2375 V 14.6337 h 4.8419 c 0.6836 0 1.2375 -0.5541 1.2375 -1.2375 C 20.7133 12.7128 20.1594 12.1587 19.4758 12.1587 z"),n.b("ZoomOut","M 26.5087 10.4222 H 8.0865 c -1.0355 0 -1.875 0.8395 -1.875 1.875 c 0 1.0355 0.8395 1.875 1.875 1.875 h 18.4222 c 1.0355 0 1.875 -0.8395 1.875 -1.875 C 28.3837 11.2617 27.5443 10.4222 26.5087 10.4222 z"),n.b("Reset","M 13.5 21 A 9 9 90 1 0 4.5 12 v 4.65 L 1.8 13.95 L 0.75 15 l 4.5 4.5 l 4.5 -4.5 l -1.05 -1.05 L 6 16.65 V 12 H 6 A 7.5 7.5 90 1 1 13.5 19.5 Z"),n.b("CursorPointer","M 6.8243 23.7538 l -6.765 -22.44 c -0.26 -0.75 0.365 -1.545 1.3 -1.25 l 22.435 6.77 c 0.865 0.26 0.975 1.575 0.105 1.925 l -10.67 4.48 l -4.475 10.675 C 8.4192 24.7638 7.1193 24.6688 6.8243 23.7538 z M 2.5543 2.5638 l 5.415 17.91 l 3.54 -8.435 c 0.105 -0.26 0.31 -0.47 0.52 -0.52 l 8.43 -3.54 L 2.5543 2.5638 z"),n.b("CursorHand","M 17.0635 6.0452 c -0.0739 0 -0.1351 0.0044 -0.2088 0.0129 c -0.3164 0.0368 -0.6158 0.1516 -0.8408 0.3239 v -0.3899 c 0 -0.9837 -0.7223 -1.8096 -1.6807 -1.9211 c -0.0737 -0.0086 -0.1484 -0.013 -0.2225 -0.013 c -0.3922 -0.0001 -0.7664 0.1184 -1.0826 0.3386 c -0.0692 -0.9163 -0.7661 -1.6623 -1.6753 -1.7681 c -0.0737 -0.0086 -0.1478 -0.0103 -0.2218 -0.0103 h -0.0004 h -0.0003 c -0.5074 0 -0.9852 0.1955 -1.3454 0.5557 c -0.3318 0.3318 -0.5263 0.7622 -0.5547 1.2249 c -0.2483 -0.1739 -0.5402 -0.2902 -0.8582 -0.3272 c -0.0737 -0.0086 -0.1487 -0.0133 -0.2226 -0.0133 c -0.5074 -0.0001 -1.0137 0.1981 -1.3739 0.5582 c -0.3601 0.3601 -0.587 0.8377 -0.587 1.3451 v 6.453 l -0.4143 -0.4183 c -0.3557 -0.3503 -0.8125 -0.5429 -1.3141 -0.5429 c -0.5066 0 -0.9748 0.1966 -1.3318 0.5534 c -0.7214 0.7214 -0.7343 1.885 -0.0458 2.6266 l 4.0409 5.3272 l 0.087 1.1449 c 0.0515 0.6854 0.6307 1.2223 1.318 1.2223 l 7.3853 -0.0059 c 0.6604 -0.0008 1.223 -0.4949 1.3089 -1.1492 l 0.1791 -1.3637 c 0.5668 -0.9173 0.9584 -2.1335 1.2204 -3.6171 c 0.2288 -1.2955 0.3166 -2.8331 0.3166 -4.5701 v -3.6732 C 18.9389 6.8991 18.1132 6.0452 17.0635 6.0452 z M 16.3305 21.0554 c -0.0275 0.2095 -0.2059 0.374 -0.4172 0.3742 l -7.3838 0.0137 c -0.0002 0 -0.0004 0 -0.0006 0 c -0.2203 0 -0.4035 -0.1777 -0.4201 -0.3975 l -0.1058 -1.4123 c -0.0001 -0.0008 -0.0003 -0.0034 -0.0008 -0.004 l -4.2301 -5.5802 c -0.3864 -0.3864 -0.3864 -1.0192 0 -1.4056 c 0.1932 -0.1932 0.4479 -0.2901 0.7025 -0.2901 c 0.2547 0 0.5094 0.0965 0.7026 0.2897 l 1.1905 1.1241 c 0.0928 0.0876 0.1758 0.1268 0.2852 0.1268 c 0.2375 0 0.4358 -0.1853 0.4358 -0.4624 V 5.9616 c 0 -0.5519 0.4802 -1.0036 1.0322 -1.0036 c 0.0391 0 0.0733 0.0023 0.1133 0.0069 c 0.5108 0.0595 0.8796 0.5129 0.8796 1.0271 v 5.1461 c 0 0.2671 0.2173 0.4837 0.4845 0.4837 c 0.2705 0 0.4905 -0.2193 0.4905 -0.4898 V 4.5165 c 0 -0.552 0.4706 -1.0036 1.0225 -1.0036 c 0.039 0 0.0782 0.0023 0.1181 0.007 c 0.5108 0.0594 0.8845 0.5129 0.8845 1.0271 v 6.5847 c 0 0.2707 0.2203 0.4904 0.4911 0.4904 c 0.2669 0 0.4839 -0.2164 0.4839 -0.4832 V 5.9616 c 0 -0.5519 0.4609 -1.0036 1.0129 -1.0036 c 0.039 0 0.0829 0.0023 0.1228 0.0069 c 0.5108 0.0595 0.8893 0.5129 0.8893 1.0271 v 5.1282 c 0 0.2771 0.2254 0.498 0.5024 0.498 h 0.0083 c 0.256 0 0.4643 -0.2039 0.4643 -0.4599 v -3.1792 c 0 -0.5142 0.3739 -0.9676 0.8846 -1.0271 c 0.0399 -0.0047 0.0511 -0.0069 0.0902 -0.0069 c 0.5519 0 0.9752 0.4516 0.9752 1.0036 v 3.6732 c 0 3.1371 -0.3524 6.0358 -1.4787 7.79 c -0.0342 0.0533 -0.0427 0.113 -0.051 0.1758 L 16.3305 21.0554 z"),n.b("OptionDots","M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0-6a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0z"),n.b("OptionCog","M 21.7966 14.096 c -0.0701 -0.3878 -0.5044 -0.7946 -0.8726 -0.9345 l -0.9919 -0.3765 c -0.3682 -0.1399 -0.6371 -0.4639 -0.6191 -0.7256 c 0.0109 -0.1564 0.0173 -0.3142 0.0173 -0.4736 c 0 -0.1065 -0.003 -0.2122 -0.0079 -0.3172 c -0.0086 -0.1751 0.2696 -0.4474 0.6289 -0.609 l 0.8962 -0.4028 c 0.3592 -0.162 0.7954 -0.5869 0.8227 -0.9799 c 0.024 -0.3484 -0.0176 -0.8235 -0.243 -1.4119 c -0.2621 -0.6866 -0.6878 -1.1269 -1.0421 -1.3942 c -0.3146 -0.2374 -0.9086 -0.2231 -1.2679 -0.0611 l -0.78 0.351 c -0.3592 0.1616 -0.8528 0.0446 -1.1344 -0.231 c -0.0664 -0.0653 -0.1335 -0.1286 -0.2025 -0.1909 c -0.2918 -0.2644 -0.4387 -0.75 -0.2985 -1.1186 l 0.3071 -0.8107 c 0.1399 -0.3682 0.138 -0.9728 -0.1207 -1.2694 c -0.2381 -0.273 -0.6161 -0.5921 -1.2056 -0.8554 c -0.6615 -0.2955 -1.2548 -0.3041 -1.6811 -0.2396 c -0.3896 0.0592 -0.7954 0.4991 -0.9353 0.867 l -0.3548 0.9341 c -0.1399 0.3682 -0.2993 0.6656 -0.3559 0.6641 c -0.0345 -0.0015 -0.0686 -0.0019 -0.1028 -0.0019 c -0.2333 0 -0.4642 0.0112 -0.6923 0.0338 c -0.381 0.0375 -0.816 -0.1901 -0.9776 -0.5494 l -0.4215 -0.9375 c -0.1616 -0.3596 -0.5767 -0.8287 -0.9709 -0.8351 c -0.3435 -0.006 -0.8276 0.0784 -1.476 0.3855 c -0.7027 0.3334 -1.1141 0.6532 -1.3541 0.9139 c -0.267 0.2891 -0.2078 0.906 -0.0457 1.2652 l 0.5554 1.236 c 0.1616 0.3592 0.096 0.8498 -0.1215 1.1171 c -0.2171 0.2677 -0.6698 0.3874 -1.038 0.2479 l -1.3493 -0.5119 c -0.3682 -0.1399 -0.9937 -0.1785 -1.2772 0.096 c -0.2468 0.2389 -0.5295 0.6409 -0.771 1.3162 c -0.261 0.7328 -0.3251 1.2495 -0.3112 1.6035 c 0.0158 0.3938 0.4939 0.7879 0.8625 0.9278 l 1.647 0.6251 c 0.3682 0.1399 0.6683 0.4665 0.6896 0.7279 c 0.0206 0.2621 -0.2381 0.6038 -0.5974 0.7657 l -1.6432 0.7388 c -0.3592 0.1616 -0.8291 0.5771 -0.8351 0.9709 c -0.0056 0.3435 0.0788 0.828 0.3855 1.4756 c 0.3337 0.7027 0.6532 1.1141 0.9139 1.3541 c 0.2899 0.2674 0.9064 0.2078 1.2656 0.0461 l 1.7618 -0.792 c 0.3592 -0.162 0.7785 -0.1545 0.9469 0.0049 s 0.2006 0.5779 0.0607 0.9465 L 6.7786 19.475 c -0.1399 0.3682 -0.1785 0.9937 0.096 1.2765 c 0.2393 0.2471 0.6409 0.5302 1.3162 0.7714 c 0.7328 0.2614 1.2499 0.3255 1.6039 0.3116 c 0.3938 -0.0158 0.7875 -0.4943 0.9274 -0.8625 l 0.6349 -1.6725 c 0.1399 -0.3682 0.3968 -0.6532 0.5741 -0.6446 c 0.1065 0.0053 0.2137 0.0079 0.3214 0.0079 c 0.0503 0 0.0998 -0.0004 0.1492 -0.0019 c 0.0821 -0.0026 0.2801 0.2858 0.4417 0.6454 l 0.7361 1.6365 c 0.1616 0.3592 0.6019 0.7448 0.9949 0.7642 c 0.4204 0.021 1.0009 -0.0232 1.6612 -0.2752 c 0.6319 -0.2419 0.9971 -0.6015 1.2071 -0.9158 c 0.219 -0.3274 0.1455 -0.9439 -0.0165 -1.3031 l -0.6023 -1.3399 c -0.1616 -0.3592 -0.0634 -0.8216 0.1976 -1.059 c 0.2599 -0.2374 0.75 -0.3375 1.1179 -0.1973 l 1.287 0.4886 c 0.3682 0.1399 0.99 0.1834 1.3043 -0.0544 c 0.2767 -0.21 0.5966 -0.5587 0.8554 -1.1378 C 21.8964 15.218 21.8806 14.5614 21.7966 14.096 z M 11.9244 16.9213 c -2.9415 0 -5.3254 -2.3839 -5.3254 -5.325 s 2.3839 -5.325 5.3254 -5.325 c 2.9407 0 5.325 2.3839 5.325 5.325 C 17.2497 14.5374 14.8651 16.9213 11.9244 16.9213 z"),n.b("CheveronDown","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronLeft","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronRight","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronUp","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("Close","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"))},n.b=function(t,e){i.SvgIconRegistry.instance.addSvgPathString("default",t,e)},n.$t=i.markType(n,"ToolbarIconManager"),n.a=!1,n}(i.Base),In=new i.Type(null,"IExternalToolPanel"),xn=new i.Type(null,"IToolPanelView"),kn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ie},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),t}(),Sn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new pe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),An=new i.Type(null,"IExternalListPanel"),Nn=new i.Type(null,"IListPanelView"),Bn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=null,e.c=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelDataBindingEventArgs"),n}(i.Base),Rn=new i.Type(null,"IListPanelViewportManager"),En=new i.Type(null,"IPropertyEditorPanelView"),$n=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),qn=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),Dn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDropDownDataListItem"),n}(i.Base),zn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Bt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ComboEditor=v,t.ComboEditorBridge=Yt,t.ComboEditorCloneDataSourceFilterOperation=hn,t.ComboEditorCloneDataSourceFilterOperation_$type=un,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=g,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=ln,t.ComboEditorSelectedItemChangeType_$type=cn,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=_,t.ComboEditorVisualModelExport=b,t.DrillDownRequestedEventArgs=si,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.IExternalListPanel_$type=An,t.IExternalToolPanel_$type=In,t.IExternalToolbar_$type=wn,t.IListPanelView_$type=Nn,t.IListPanelViewportManager_$type=Rn,t.INativeUIToolPanelBridge_$type=Jt,t.INativeUIToolbarBridge_$type=re,t.IPropertyEditorPanelView_$type=En,t.IToolPanelView_$type=xn,t.IToolbarView_$type=On,t.IgcComboEditorComponent=T,t.IgcComboEditorGotFocusEventArgs=w,t.IgcComboEditorLostFocusEventArgs=O,t.IgcComboEditorModule=It,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=P,t.IgcLayoutPrimaryKeyValue=vi,t.IgcLayoutPrimaryKeyValueModule=dn,t.IgcLayoutSelectedItemsCollection=bn,t.IgcLayoutSelectedKeysCollection=Ci,t.IgcListPanelActiveRowChangedEventArgs=gt,t.IgcListPanelComponent=Ot,t.IgcListPanelContentRebindEventArgs=wt,t.IgcListPanelContentRecycledEventArgs=Pt,t.IgcListPanelContentRefreshedEventArgs=ct,t.IgcListPanelItemEventArgs=bt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=Tt,t.IgcListPanelPrimaryKeyValue=mt,t.IgcListPanelPrimaryKeyValueModule=pn,t.IgcListPanelSelectedItemsChangedEventArgs=jt,t.IgcListPanelSelectedItemsCollection=Ct,t.IgcListPanelSelectedKeysChangedEventArgs=vt,t.IgcListPanelSelectedKeysCollection=_t,t.IgcListPanelSelectionChangedEventArgs=yt,t.IgcListPanelTemplateHeightRequestedEventArgs=ft,t.IgcListPanelTemplateItemUpdatingEventArgs=lt,t.IgcListPanelTemplateWidthRequestedEventArgs=pt,t.IgcOnCollapsedEventArgs=l,t.IgcOnExpandedEventArgs=u,t.IgcPropertyEditorDataSource=zn,t.IgcPropertyEditorDescriptionObject=Vt,t.IgcPropertyEditorDescriptionObjectCollection=Ut,t.IgcPropertyEditorPanelComponent=sn,t.IgcPropertyEditorPanelModule=an,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=Lt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Mt,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Ht,t.IgcPropertyEditorPropertyDescriptionCollection=zt,t.IgcPropertyEditorPropertyDescriptionComponent=Gt,t.IgcPropertyEditorPropertyDescriptionModule=Wt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Ft,t.IgcToolActionButtonComponent=zi,t.IgcToolActionButtonModule=Vi,t.IgcToolActionButtonPairComponent=vn,t.IgcToolActionButtonPairModule=Cn,t.IgcToolActionCheckboxComponent=mi,t.IgcToolActionCheckboxListComponent=ji,t.IgcToolActionCheckboxListModule=Pi,t.IgcToolActionCheckboxModule=_i,t.IgcToolActionCollection=li,t.IgcToolActionColorEditorComponent=gn,t.IgcToolActionColorEditorModule=yn,t.IgcToolActionComboComponent=mn,t.IgcToolActionComboModule=_n,t.IgcToolActionComponent=bi,t.IgcToolActionEventDetail=pi,t.IgcToolActionEventDetailCollection=fi,t.IgcToolActionGroupHeaderComponent=wi,t.IgcToolActionGroupHeaderModule=Oi,t.IgcToolActionIconButtonComponent=ki,t.IgcToolActionIconButtonModule=Si,t.IgcToolActionIconMenuComponent=Ai,t.IgcToolActionIconMenuModule=Ni,t.IgcToolActionLabelComponent=gi,t.IgcToolActionLabelModule=yi,t.IgcToolActionNumberInputComponent=Ti,t.IgcToolActionNumberInputModule=Ii,t.IgcToolActionPerformedEventArgs=di,t.IgcToolActionPopupOpeningEventArgs=xi,t.IgcToolActionRadioComponent=qi,t.IgcToolActionRadioModule=Di,t.IgcToolActionSeparatorComponent=Bi,t.IgcToolActionSeparatorModule=Ri,t.IgcToolActionSubPanelComponent=Ei,t.IgcToolActionSubPanelModule=$i,t.IgcToolActionTextInputComponent=jn,t.IgcToolActionTextInputModule=Pn,t.IgcToolCommandEventArgs=ci,t.IgcToolContextBinding=Xt,t.IgcToolContextBindingCollection=Qt,t.IgcToolPanelComponent=Fi,t.IgcToolPanelContentRefreshedEventArgs=Ui,t.IgcToolPanelContextChangedEventArgs=kn,t.IgcToolPanelContextSwappedEventArgs=Sn,t.IgcToolPanelModule=Hi,t.IgcToolbarComponent=Ki,t.IgcToolbarModule=Xi,t.IgcToolbarSubMenuClosingEventArgs=Wi,t.IgcToolbarSubMenuOpeningEventArgs=Gi,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=Ce,t.LayoutSelectedItemsCollection=me,t.LayoutSelectedKeysCollection=je,t.ListPanel=et,t.ListPanelActivationManager=ht,t.ListPanelActivationMode=S,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=H,t.ListPanelColumnDefinition=Q,t.ListPanelContentRebindEventArgs=U,t.ListPanelContentRecycledEventArgs=V,t.ListPanelContentRefreshedEventArgs=G,t.ListPanelDataBindingEventArgs=Bn,t.ListPanelDataSourceNotificationBridge=nt,t.ListPanelItemEventArgs=st,t.ListPanelItemModel=ot,t.ListPanelItemPresenter=W,t.ListPanelItemVisualData=Y,t.ListPanelLayoutPanel=rt,t.ListPanelOrientation=q,t.ListPanelOrientation_$type=D,t.ListPanelPrimaryKeyValue=E,t.ListPanelRowRange=Z,t.ListPanelScrollerKeyboardListener=dt,t.ListPanelSelectedItemsChangedEventArgs=L,t.ListPanelSelectedItemsCollection=R,t.ListPanelSelectedKeysChangedEventArgs=M,t.ListPanelSelectedKeysCollection=$,t.ListPanelSelectionBehavior=N,t.ListPanelSelectionBehavior_$type=B,t.ListPanelSelectionChangedEventArgs=F,t.ListPanelSelectionManager=at,t.ListPanelSelectionMode=x,t.ListPanelSelectionMode_$type=k,t.ListPanelTemplateHeightRequestedEventArgs=X,t.ListPanelTemplateItemUpdatingEventArgs=it,t.ListPanelTemplateWidthRequestedEventArgs=K,t.ListPanelView=tt,t.ListPanelViewportChangedEventArgs=z,t.ListPanelVisualData=J,t.ListPanelVisualModel=I,t.NativeUIContentRefreshedEventArgs=fn,t.NativeUILayoutFactory=Ne,t.NativeUIToolPanel=qe,t.NativeUIToolbar=De,t.NativeUIToolbarSubMenuClosingEventArgs=he,t.NativeUIToolbarSubMenuOpeningEventArgs=se,t.NestedActionMode=Li,t.NestedActionMode_$type=Mi,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=ui,t.PanelInfo=hi,t.PropertyEditorDataSource=Bt,t.PropertyEditorDescriptionObject=$t,t.PropertyEditorDescriptionObjectCollection=qt,t.PropertyEditorPanel=on,t.PropertyEditorPanelColumnDefinition=tn,t.PropertyEditorPanelColumnFieldType_$type=qn,t.PropertyEditorPanelColumnType_$type=$n,t.PropertyEditorPanelComboBoxBridgeItem=en,t.PropertyEditorPanelDataBindingEventArgs=Zi,t.PropertyEditorPanelDropDownDataListItem=Dn,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=Ji,t.PropertyEditorPanelUpdateMode=Qi,t.PropertyEditorPanelUpdateMode_$type=Yi,t.PropertyEditorPanelView=rn,t.PropertyEditorPropertyDescription=Rt,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=St,t.PropertyEditorPropertyDescriptionChangedEventArgs=At,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=Et,t.PropertyEditorPropertyDescriptionCollection=Dt,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Nt,t.PropertyEditorTreeTransformer=nn,t.PropertyEditorValueType=xt,t.PropertyEditorValueType_$type=kt,t.ToolAction=ze,t.ToolActionButton=Ge,t.ToolActionButtonDisplayType=Oe,t.ToolActionButtonDisplayType_$type=Te,t.ToolActionButtonGroupDisplayType=_e,t.ToolActionButtonGroupDisplayType_$type=ve,t.ToolActionButtonPair=Le,t.ToolActionCheckbox=Ze,t.ToolActionCheckboxList=Me,t.ToolActionCheckboxListIndexType=Pe,t.ToolActionCheckboxListIndexType_$type=we,t.ToolActionCollection=ei,t.ToolActionColorEditor=Ve,t.ToolActionCombo=Ue,t.ToolActionEventDetail=fe,t.ToolActionEventDetailCollection=be,t.ToolActionGroupHeader=Ye,t.ToolActionIconButton=Qe,t.ToolActionIconMenu=Je,t.ToolActionIconMenuVisualData=xe,t.ToolActionLabel=We,t.ToolActionMeasurementContext=de,t.ToolActionNumberInput=ti,t.ToolActionPerformedEventArgs=ge,t.ToolActionPopupOpeningEventArgs=ri,t.ToolActionRadio=Ke,t.ToolActionSeparator=Xe,t.ToolActionSubPanel=Fe,t.ToolActionTextInput=He,t.ToolActionVisualData=ye,t.ToolCommandEventArgs=Zt,t.ToolContextBinding=Kt,t.ToolContextBindingCollection=ce,t.ToolPanel=oi,t.ToolPanelContentRefreshedEventArgs=Ae,t.ToolPanelContext=ne,t.ToolPanelContextChangedEventArgs=ie,t.ToolPanelContextSwappedEventArgs=pe,t.ToolPanelDropdownMenuVisualData=Se,t.ToolPanelOrientation=te,t.ToolPanelOrientation_$type=ee,t.ToolPanelView=$e,t.ToolPanelVisualData=ke,t.ToolPanelsPresenter=ai,t.Toolbar=ii,t.ToolbarContextAccessor=ni,t.ToolbarIconManager=Tn,t.ToolbarOrientation=ue,t.ToolbarOrientation_$type=le,t.ToolbarSubMenuClosingEventArgs=ae,t.ToolbarSubMenuOpeningEventArgs=oe,t.ToolbarView=Ee,t.TooltipTextPresenter=Ie,t.XExpansionPanel=h,t.XToolPanelBridge=Be,t.XToolbarBridge=Re,Object.defineProperty(t,"__esModule",{value:!0})}));
|