igniteui-webcomponents-inputs 7.0.0 → 7.0.1

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.
Files changed (36) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +3868 -3539
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +642 -628
  4. package/esm2015/lib/ButtonView_combined.js +2036 -1743
  5. package/esm2015/lib/CalendarView_combined.js +157 -157
  6. package/esm2015/lib/CheckboxView_combined.js +39 -39
  7. package/esm2015/lib/DatePickerView_combined.js +4 -4
  8. package/esm2015/lib/InputGroupView_combined.js +209 -209
  9. package/esm2015/lib/NativeUIXInputsFactory_combined.js +35 -35
  10. package/esm2015/lib/RippleView_combined.js +2 -2
  11. package/esm2015/lib/ThemeResolver.js +38 -22
  12. package/esm2015/lib/XButtonBridge.js +53 -45
  13. package/esm2015/lib/XButtonGroupBridge.js +13 -9
  14. package/esm2015/lib/XIconButtonBridge.js +2 -2
  15. package/esm2015/lib/igc-x-button-component.js +567 -567
  16. package/esm2015/lib/igc-x-button-group-component.js +184 -184
  17. package/esm5/lib/ButtonGroupView_combined.js +620 -606
  18. package/esm5/lib/ButtonView_combined.js +1950 -1657
  19. package/esm5/lib/CalendarView_combined.js +157 -157
  20. package/esm5/lib/CheckboxView_combined.js +39 -39
  21. package/esm5/lib/DatePickerView_combined.js +4 -4
  22. package/esm5/lib/InputGroupView_combined.js +209 -209
  23. package/esm5/lib/NativeUIXInputsFactory_combined.js +35 -35
  24. package/esm5/lib/RippleView_combined.js +2 -2
  25. package/esm5/lib/ThemeResolver.js +38 -22
  26. package/esm5/lib/XButtonBridge.js +53 -45
  27. package/esm5/lib/XButtonGroupBridge.js +13 -9
  28. package/esm5/lib/XIconButtonBridge.js +2 -2
  29. package/esm5/lib/igc-x-button-component.js +567 -567
  30. package/esm5/lib/igc-x-button-group-component.js +184 -184
  31. package/fesm2015/igniteui-webcomponents-inputs.js +3971 -3642
  32. package/fesm5/igniteui-webcomponents-inputs.js +3869 -3540
  33. package/lib/ButtonGroupView_combined.d.ts +181 -179
  34. package/lib/ButtonView_combined.d.ts +479 -478
  35. package/lib/ThemeResolver.d.ts +18 -15
  36. package/package.json +2 -2
@@ -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")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core"],e):e((t=t||self)["igniteui-webcomponents-inputs"]={},t.tslib,t.igniteuiWebcomponentsCore)}(this,(function(t,e,i){"use strict";var n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=null,e.f=0,e.d=!1,e.c=!1,e.e=!1,e}return e.__extends(n,t),n.prototype.g=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("ActualHoverColor : "+this.a.serialize()+", "),t.l("ActualRippleColor : "+this.b.serialize()+", "),t.l("RippleDuration : "+this.f+", "),t.l("IsDisabled : "+this.d+", "),t.l("IsCentered : "+this.c+", "),t.l("IsHoverEnabled : "+this.e+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"RippleVisualModelExport"),n}(i.Base),r=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.g=null,e.c=null,e.f=new i.List$1(i.Delegate_$type,0),e.l=null,e.d=!0,e.k=null,e.h=null,e.j=null,e.i=null,e}return e.__extends(n,t),n.prototype.w=function(){},n.prototype.e=function(){return!0},n.prototype.t=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.f)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.f.clear()}this.g=t,this.b.ai()},n.prototype.v=function(){var t,n;if(null==this.b.q){this.l=null;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()}else{var s=this.b.q,a=this.g.getWrapper(s);this.l=a,this.f.add(a.listen("click",i.runOn(this,this.p))),this.f.add(a.listen("mouseenter",i.runOn(this,this.q))),this.f.add(a.listen("mouseleave",i.runOn(this,this.r)))}},n.prototype.r=function(t){this.b.ag()},n.prototype.q=function(t){this.b.af()},n.prototype.p=function(t){if(null!=this.l){var e=this.g.rootWrapper.getOffset(),i=t.pageX-e.left,n=t.pageY-e.top;this.b.al(i,n,this.g.rootWrapper.outerWidth(),this.g.rootWrapper.outerHeight())}},n.prototype.aa=function(){this.b.j&&this.g.rootWrapper.setStyleProperty("background-color",this.b.as._fill)},n.prototype.x=function(){this.g.rootWrapper.setStyleProperty("background-color","transparent")},n.prototype.z=function(){this.g.rootWrapper.setStyleProperty("background-color",this.b.as._fill)},n.prototype.m=function(t,e,n){var r,o=this.g.createElement("span");return o.setStyleProperty("width",2*n+"px"),o.setStyleProperty("height",2*n+"px"),o.setStyleProperty("top",e+"px"),o.setStyleProperty("left",t+"px"),o.setStyleProperty("background-color",this.b.at._fill),o.setStyleProperty("position","absolute"),o.setStyleProperty("pointer-events","none"),o.setStyleProperty("border-radius",n+"px"),o.setStyleProperty("opacity",".5"),i.NativeUI.af(o,((r=new i.ScaleTransform).l=.3,r.m=.3,r)),this.g.append(o),o},n.prototype.y=function(t){t.remove()},n.prototype.n=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.g)},n.prototype.a=function(t,e){return new i.AnimationKeyFrameEffect(0,t,0,null,e)},n.prototype.o=function(t){},n.prototype.s=function(){this.d=!0,this.v()},n.prototype.u=function(){var t,n;this.d=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.$t=i.markType(n,"RippleView"),n}(i.Base),o=function(t){function o(){var e=t.call(this)||this;e.c=null,e.j=!1,e.p=null,e.ar=null,e.aq=null,e.ao=o.au,e.m=new i.LinkedList$1(i.IKeyFrameAnimation_$type),e.ap=o.av,e.n=600,e.f=!1,e.e=!1,e.g=!1,e.propertyChanged=null;var n=new r;return n.b=e,e.c=n,e.c.w(),e}return e.__extends(o,t),o.prototype.destroy=function(){this.provideContainer(null)},o.prototype.ah=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.aj(t,e,n)},o.prototype.aj=function(t,e,i){switch(t){case"RippleColor":this.at=null!=this.ax?this.ax:o.av;break;case"HoverColor":this.as=null!=this.aw?this.aw:o.au;break;case"EventSource":this.c.e()&&this.c.v();break;case"ActualRippleColor":this.an();break;case"ActualHoverColor":this.am()}},o.prototype.am=function(){this.i?this.c.x():this.c.aa()},o.prototype.an=function(){},o.prototype.af=function(){this.j=!0,this.i?this.c.x():this.k&&this.c.z()},o.prototype.ag=function(){this.j=!1,(this.k||this.i)&&this.c.x()},Object.defineProperty(o.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.ah("EventSource",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"ax",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.ah("RippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"aw",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.ah("HoverColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"as",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.ah("ActualHoverColor",e,t)},enumerable:!1,configurable:!0}),o.prototype.al=function(t,e,i,n){var r=this;if(!this.i){var o=Math.max(i,n)/2,s=t-o,a=e-o;this.h&&(s=0,a=0);var h=this.c.m(s,a,o),u=this.d(h);this.m.f(u);var l=this.m.d;u.play(),u.finished.f((function(t){u.commitStyles(),r.m.h(l),r.c.y(h)}))}},o.prototype.d=function(t){var e,n=this.a;return i.KeyFrameAnimationFactory.f.c(this.c.a(t,n).m(new i.AnimationKeyFrameProperty(1,.5),new i.AnimationKeyFrameProperty(14,(e=new i.ScaleTransform,e.l=.3,e.m=.3,e))).m(new i.AnimationKeyFrameProperty(1,0),new i.AnimationKeyFrameProperty(14,function(){var t=new i.ScaleTransform;return t.l=2,t.m=2,t}())))},Object.defineProperty(o.prototype,"at",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.ah("ActualRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.ah("RippleDuration",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"i",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.ah("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.ah("IsCentered",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"k",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.ah("IsHoverEnabled",e,t)},enumerable:!1,configurable:!0}),o.prototype.ai=function(){this.c.v()},Object.defineProperty(o.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=this.o,t.b=0,t},enumerable:!1,configurable:!0}),o.prototype.onDetachedFromUI=function(){this.c.u()},o.prototype.onAttachedToUI=function(){this.c.s()},o.prototype.l=function(){return this.c.e()},o.prototype.r=function(){return this.b()},o.prototype.v=function(){return this.b().g()},o.prototype.b=function(){var t=new n;return t.a=i.AppearanceHelper.a(this.as),t.b=i.AppearanceHelper.a(this.at),t.f=this.o,t.d=this.i,t.c=this.h,t.e=this.k,t},o.prototype.provideContainer=function(t){this.c.t(t)},o.$t=i.markType(o,"XRipple",i.Base.$,[i.INotifyPropertyChanged_$type]),o.au=i.BrushUtil.j(40,0,0,0),o.av=i.BrushUtil.j(189,0,0,0),o}(i.Base),s=function(t){function n(){var e=t.call(this)||this;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._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._renderer=new i.WebComponentRenderer(e,document,!0,{}),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._container=e._renderer.createElement("div"),e._renderer.updateRoot(e._container),e._container.setStyleProperty("display","inline-block"),e._container,null!=e._container.getNativeElement()&&e._container.getNativeElement(),e._wrapper=e._renderer;var n=e.i;return e._ripple=n,n.provideContainer(e._renderer),e}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}),Object.defineProperty(n.prototype,"top",{get:function(){return this._top},set:function(t){this._top=t,this.style.top=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"left",{get:function(){return this._left},set:function(t){this._left=t,this.style.left=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(t){this._position=t,this.style.position=t},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._ripple.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new o},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-ripple"),this.classList.add("igc-x-ripple"),this.appendChild(this._renderer.rootWrapper.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXRippleComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXRippleComponent=t}return n._observedAttributesIgcXRippleComponent},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,"eventSource",{get:function(){return this.i.q},set:function(t){this.i.q=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleColor",{get:function(){return i.brushToString(this.i.ax)},set:function(t){this.i.ax=i.stringToBrush(t),this._a("rippleColor",i.brushToString(this.i.ax))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverColor",{get:function(){return i.brushToString(this.i.aw)},set:function(t){this.i.aw=i.stringToBrush(t),this._a("hoverColor",i.brushToString(this.i.aw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverColor",{get:function(){return i.brushToString(this.i.as)},set:function(t){this.i.as=i.stringToBrush(t),this._a("actualHoverColor",i.brushToString(this.i.as))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRippleColor",{get:function(){return i.brushToString(this.i.at)},set:function(t){this.i.at=i.stringToBrush(t),this._a("actualRippleColor",i.brushToString(this.i.at))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleDuration",{get:function(){return this.i.o},set:function(t){this.i.o=+t,this._a("rippleDuration",this.i.o)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.i},set:function(t){this.i.i=i.ensureBool(t),this._a("isDisabled",this.i.i)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCentered",{get:function(){return this.i.h},set:function(t){this.i.h=i.ensureBool(t),this._a("isCentered",this.i.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHoverEnabled",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureBool(t),this._a("isHoverEnabled",this.i.k)},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("XRippleComponent");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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.r()},n.prototype.exportSerializedVisualModel=function(){return this.i.v()},n._observedAttributesIgcXRippleComponent=null,n.htmlTagName="igc-x-ripple",n._isElementRegistered=!1,n}(i.IgcHTMLElement),a=function(){function t(){}return t.register=function(){s.register(),i.TypeRegistrar.registerCons("IgcXRippleComponent",s),i.TypeRegistrar.registerCons("IgcXRippleComponent",s),i.TypeRegistrar.register("XRipple",o.$type)},t}(),h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.g=function(t,e){return null==n.c&&(n.c=["0 1px 3px 0 ","0 1px 5px 0 ","0 1px 8px 0 ","0 2px 4px -1px ","0 3px 5px -1px ","0 3px 5px -1px ","0 4px 5px -2px ","0 5px 5px -3px ","0 5px 6px -3px ","0 6px 6px -3px ","0 6px 7px -4px ","0 7px 8px -4px ","0 7px 8px -4px ","0 7px 9px -4px ","0 8px 9px -5px ","0 8px 10px -5px ","0 8px 11px -5px ","0 9px 11px -5px ","0 9px 12px -6px ","0 10px 13px -6px ","0 10px 13px -6px ","0 10px 14px -6px ","0 11px 14px -7px ","0 11px 15px -7px "]),--t<0?"":(t>n.c.length-1&&(t=n.c.length-1),n.c[t]+e)},n.f=function(t,e){return null==n.b&&(n.b=["0 1px 1px 0 ","0 2px 2px 0 ","0 3px 4px 0 ","0 4px 5px 0 ","0 5px 8px 0 ","0 6px 10px 0 ","0 7px 10px 1px ","0 8px 10px 1px ","0 9px 12px 1px ","0 10px 14px 1px ","0 11px 15px 1px ","0 12px 17px 2px ","0 13px 19px 2px ","0 14px 21px 2px ","0 15px 22px 2px ","0 16px 24px 2px ","0 17px 26px 2px ","0 18px 28px 2px ","0 19px 29px 2px ","0 20px 31px 3px ","0 21px 33px 3px ","0 22px 35px 3px ","0 23px 36px 3px ","0 24px 38px 3px "]),--t<0?"":(t>n.b.length-1&&(t=n.b.length-1),n.b[t]+e)},n.d=function(t,e){return null==n.a&&(n.a=["0 2px 1px -1px ","0 3px 1px -2px ","0 3px 3px -2px ","0 1px 10px 0 ","0 1px 14px 0 ","0 1px 18px 0 ","0 2px 16px 1px ","0 3px 14px 2px ","0 3px 16px 2px ","0 4px 18px 3px ","0 4px 20px 3px ","0 5px 22px 4px ","0 5px 24px 4px ","0 5px 26px 4px ","0 6px 28px 5px ","0 6px 30px 5px ","0 6px 32px 5px ","0 7px 34px 6px ","0 7px 36px 6px ","0 8px 38px 7px ","0 8px 40px 7px ","0 8px 42px 7px ","0 9px 44px 8px ","0 9px 46px 8px "]),--t<0?"":(t>n.a.length-1&&(t=n.a.length-1),n.a[t]+e)},n.e=function(t,e,i,r,o){return 2==o?"0 0 "+t+"px "+t/20+"rem "+e._fill:0==t?"":n.g(t,e._fill)+", "+n.f(t,i._fill)+", "+n.d(t,r._fill)},n.$t=i.markType(n,"ElevationHelper"),n.c=null,n.b=null,n.a=null,n}(i.Base),u=i.markEnum("ButtonDisplayStyle","Raised,0|Flat,1|Outlined,2|Fab,3|Icon,4"),l=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.b=null,r.a=null,e=null==e?0:e){case 0:var o=i[0];r.b=o;break;case 1:o=i[0];var s=i[1],a=[o],h=a[0];r.b=h,r.a=s}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},enumerable:!1,configurable:!0}),n.prototype.item=function(t){return this.b.item(t)},n.$t=i.markType(n,"Theme"),n}(i.Base),c=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.b=0,r.h=null,e=null==e?0:e){case 0:break;case 1:var o=i[0],s=i[1];r.h=o,r.b=s}return r}return e.__extends(n,t),n.ah=function(t,e,i){return 1==t?i:e},n.r=function(t,e,i){return 1==t?i:e},n.m=function(t,e,i){return 1==t?i:e},n.ac=function(t,e,i){return 1==t?i:e},n.am=function(t,e,i){return 1==t?i:e},n.g=function(t,e,i){return 1==t?i:e},n.a=function(t){return new l(0,t)},n.ag=function(t,e,i){return e.ae(t,i)},n.af=function(t,e,i,n){return e.ad(t,i,n)},n.q=function(t,e,i){return e.o(t,i)},n.p=function(t,e,i,n){return e.n(t,i,n)},n.l=function(t,e,i){return e.j(t,i)},n.k=function(t,e,i,n){return e.i(t,i,n)},n.x=function(t,e,i){return e.v(t,i)},n.w=function(t,e,i,n){return e.u(t,i,n)},n.f=function(t,e,i){return e.d(t,i)},n.e=function(t,e,i,n){return e.c(t,i,n)},n.ab=function(t,e,i){return e.z(t,i)},n.aa=function(t,e,i,n){return e.y(t,i,n)},n.al=function(t,e,i){return e.aj(t,i)},n.ak=function(t,e,i,n){return e.ai(t,i,n)},n.prototype.t=function(t,e){return this.h.containsKey(t)?this.h.item(t).item(e):this.h.item(this.b).item(e)},n.prototype.s=function(t,e,i){return this.h.containsKey(t)?this.h.item(t).c.item(e).item(i):this.h.item(this.b).c.item(e).item(i)},n.prototype.ae=function(t,e){return this.t(t,e)},n.prototype.ad=function(t,e,i){return this.s(t,e,i)},n.prototype.o=function(t,e){return i.typeGetValue(this.t(t,e))},n.prototype.n=function(t,e,n){return i.typeGetValue(this.s(t,e,n))},n.prototype.j=function(t,e){return this.t(t,e)},n.prototype.i=function(t,e,i){return this.s(t,e,i)},n.prototype.v=function(t,e){return this.t(t,e)},n.prototype.u=function(t,e,i){return this.s(t,e,i)},n.prototype.d=function(t,e){return i.EnumUtil.getEnumValue(i.ElevationMode_$type,this.t(t,e))},n.prototype.c=function(t,e,n){return i.EnumUtil.getEnumValue(i.ElevationMode_$type,this.s(t,e,n))},n.prototype.z=function(t,e){return this.t(t,e)},n.prototype.y=function(t,e,i){return this.s(t,e,i)},n.prototype.aj=function(t,e){return this.t(t,e)},n.prototype.ai=function(t,e,i){return this.s(t,e,i)},n.$t=i.markType(n,"ThemeResolver"),n}(i.Base),p=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),d=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.s=0,e.q=0,e.p=0,e.t=0,e.h=0,e.i=0,e.c=null,e.g=null,e.d=null,e.a=null,e.u=0,e.e=null,e.ag=null,e.b=null,e.j=0,e.f=null,e.o=0,e.ad=null,e.ae=null,e.af=null,e.r=0,e.ab=null,e.ac=null,e.x=null,e.y=null,e.z=null,e.w=null,e.v=null,e.aa=null,e.m=!1,e.k=!1,e.n=!1,e.l=!1,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.s+", "),t.l("left : "+this.q+", "),t.l("height : "+this.p+", "),t.l("width : "+this.t+", "),t.l("baseTheme : "+this.h+", "),t.l("actualDensity : "+this.i+", "),t.l("actualBorderColor : "+this.c.serialize()+", "),t.l("actualUmbraShadowColor : "+this.g.serialize()+", "),t.l("actualPenumbraShadowColor : "+this.d.serialize()+", "),t.l("actualAmbientShadowColor : "+this.a.serialize()+", "),t.l("actualRestingElevation : "+this.u+", "),null!=this.e&&t.l("actualRippleColor : "+this.e.serialize()+", "),t.l("actualBackgroundColor : "+this.b.serialize()+", "),t.l("actualElevationMode : "+this.j+", "),t.l("actualTextColor : "+this.f.serialize()+", "),t.l("actualBorderWidth : "+this.o+", "),i.stringIsNullOrEmpty(this.ad)||t.l('textStyleFontStyle : "'+this.ad+'", '),i.stringIsNullOrEmpty(this.ae)||t.l('textStyleFontVariant : "'+this.ae+'", '),i.stringIsNullOrEmpty(this.af)||t.l('textStyleFontWeight : "'+this.af+'", '),i.stringIsNullOrEmpty(this.ab)||t.l('textStyleFontFamily : "'+this.ab+'", '),i.stringIsNullOrEmpty(this.ac)||t.l('textStyleFontStretch : "'+this.ac+'", '),i.isNaN_(this.r)||t.l("textStyleFontSize : "+this.r+", "),t.l('display : "'+this.x+'", '),t.l('flexDirection : "'+this.y+'", '),t.l('flexGrow : "'+this.z+'", '),t.l('alignItems : "'+this.w+'", '),null!=this.v&&t.l('value : "'+this.v.toString()+'", '),t.l('name : "'+this.aa+'", '),t.l("isFocused : "+this.m+", "),t.l("actualDisableRipple : "+this.k+", "),t.l("isHover : "+this.n+", "),t.l("isDisabled : "+this.l+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"ButtonVisualModelExport",i.Base.$,[i.IVisualData_$type]),n}(i.Base),f=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.l=null,e.e=null,e.i=new i.List$1(i.Delegate_$type,0),e.f=!0,e.o=null,e.k=NaN,e.j=NaN,e.m=null,e.d=null,e.n=null,e.q=null,e.p=null,e}return e.__extends(n,t),n.prototype.ar=function(){},n.prototype.h=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return this.o},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.n},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var n,r,s=this;if(null!=t){this.l=t,this.l.rootWrapper.setStyleProperty("display","flex"),this.l.rootWrapper.setStyleProperty("flex-direction","row"),this.l.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.l.rootWrapper.setStyleProperty("align-items","center");var a=this.l.createElement("button");this.o=a,this.o.setStyleProperty("position","relative"),this.o.setStyleProperty("display","inline-flex"),this.o.setStyleProperty("align-items","center"),this.o.setStyleProperty("justify-content","center"),this.a1(),this.o.setStyleProperty("border","none"),this.o.setStyleProperty("cursor","pointer"),this.o.setStyleProperty("user-select","none"),this.o.setStyleProperty("outline-style","none"),this.o.setStyleProperty("-webkit-tap-highlight-color","transparent"),this.o.setStyleProperty("overflow","hidden"),this.o.setStyleProperty("white-space","no-wrap"),this.o.setStyleProperty("color","#000"),this.o.setStyleProperty("background",this.c.no._fill),i.NativeUI.o(this.o,this.c.kz),this.o.setAttribute("id",this.c.hy),this.ay(),this.i.add(a.listen("change",i.runOn(this,this.aa))),this.i.add(a.listen("click",i.runOn(this,this.ab))),this.i.add(a.listen("focus",i.runOn(this,this.ac))),this.i.add(a.listen("blur",i.runOn(this,this.z))),this.i.add(this.l.rootWrapper.listen("mouseenter",i.runOn(this,this.w))),this.i.add(this.l.rootWrapper.listen("mouseleave",i.runOn(this,this.x))),this.i.add(this.l.rootWrapper.listen("mousedown",i.runOn(this,this.v))),this.i.add(this.l.rootWrapper.listen("mouseup",i.runOn(this,this.y))),this.i.add(this.l.rootWrapper.listen("focusin",i.runOn(this,this.ad))),this.i.add(this.l.rootWrapper.listen("focusout",i.runOn(this,this.ae))),this.l.append(a);var h=this.l.createElement("div"),u=this.l.getSubRenderer(h);h.setStyleProperty("position","absolute"),h.setStyleProperty("width","100%"),h.setStyleProperty("height","100%"),h.setStyleProperty("left","0px"),h.setStyleProperty("top","0px"),h.setStyleProperty("overflow","hidden");var l=new o;l.provideContainer(u),l.q=a;this.l.getExternal(l,this.l.rootWrapper,this.l.getExternal(this.c,null,null));l.h=!1,l.k=!0,this.d=l,this.o.append(h);var c=this.l.createElement("div");c.addClass("ig-button-content"),c.setStyleProperty("font-family","Verdana"),c.setStyleProperty("font-weight","400"),c.setStyleProperty("font-size",".875rem"),this.n=c,this.i.add(c.listen("click",i.runOn(this,this.u))),this.o.append(c),this.p=c,this.l.getPortal(c,"ChildContent",(function(t){var e=t.componentRef;s.q=e,s.p.setStyleProperty("flex-direction",s.c.g4),s.p.setStyleProperty("align-items",s.c.fb);var i=s.c.g4,n=null!=s.c.fj?s.c.fj:s.c.f0,r=s.c.fb;e.display=n,e.flexDirection=i,e.alignItems=r}),!0),this.c.kl()}else{try{for(var p=e.__values(i.fromEnum(this.i)),d=p.next();!d.done;d=p.next()){(0,d.value)()}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}this.i.clear()}},n.prototype.an=function(){this.d.i=this.c.as},n.prototype.a1=function(){var t="2.25rem",e="2.25rem",n="2.25rem",r="2.25rem",o="3.5rem",s="3.5rem",a="3.5rem",h="3.5rem",u="2.25rem",l=".9375rem",c=".5625rem 1rem";switch(this.c.q){case 2:c=".375rem .75rem",u="1.875rem",o="3rem",s="3rem",a="3rem",h="3rem",l=".6875rem";break;case 3:c=".1875rem 1rem",u="1.5rem",s="2.5rem",o="2.5rem",h="2.5rem",a="2.5rem",l=".4375rem";break;case 4:c="0.09375rem 0.5rem",u="0.5rem",s="1.5rem",o="1.5rem",h="1.5rem",a="1.5rem",l="0.21875rem",e="1rem",t="1rem",r="1rem",n="1rem"}i.isNaN_(this.c.bm)||i.isNaN_(this.c.bo)||i.isNaN_(this.c.bn)||i.isNaN_(this.c.bl)||(c=this.c.bo+"px "+this.c.bn+"px "+this.c.bl+"px "+this.c.bm+"px"),4==this.c.e?(this.o.setStyleProperty("min-width",t),this.o.setStyleProperty("min-height",e),this.o.setStyleProperty("padding","0px"),this.o.setStyleProperty("width",n),this.o.setStyleProperty("height",r)):3==this.c.e?(this.o.setStyleProperty("min-width",o),this.o.setStyleProperty("min-height",s),this.o.setStyleProperty("padding",l),this.o.setStyleProperty("width",a),this.o.setStyleProperty("height",h)):(this.o.setStyleProperty("width","auto"),this.o.setStyleProperty("height","auto"),this.o.setStyleProperty("min-width","5.5rem"),this.o.setStyleProperty("min-height",u),this.o.setStyleProperty("padding",c)),this.l.rootWrapper.setStyleProperty("height","auto"),!i.isNaN_(this.c.bj)&&this.c.bj>0?this.o.setStyleProperty("border-style","solid"):this.o.setStyleProperty("border-style","none"),i.isNaN_(this.k)||this.o.setStyleProperty("min-width",this.k.toString()+"px"),i.isNaN_(this.j)||this.o.setStyleProperty("min-height",this.j.toString()+"px"),this.c.ay&&(this.o.setStyleProperty("width","100%"),this.o.setStyleProperty("height","100%"),this.l.rootWrapper.setStyleProperty("height","100%"))},n.prototype.av=function(){switch(this.c.le){case 1:this.o.setStyleProperty("justify-content","center"),this.p.setStyleProperty("flex-grow","unset");break;case 3:this.o.setStyleProperty("justify-content","stretch"),this.p.setStyleProperty("flex-grow","1");break;case 0:this.o.setStyleProperty("justify-content","left"),this.p.setStyleProperty("flex-grow","unset");break;case 2:this.o.setStyleProperty("justify-content","right"),this.p.setStyleProperty("flex-grow","unset")}},n.prototype.ax=function(t){this.k=t},n.prototype.aw=function(t){this.j=t},n.prototype.at=function(){this.o.setAttribute("disabled",this.c.disabled?"true":"false"),this.o.setProperty("disabled",this.c.disabled)},n.prototype.ao=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("display",this.c.f0);var t=this.q;if(null!=this.q){this.p.setStyleProperty("display",this.c.f0);var e=null!=this.c.fj?this.c.f0:this.c.fj;t.display=e}var i=this.l.getExternal(this.c,null,null);i&&i._onDisplayChanged&&i._onDisplayChanged()}},n.prototype.ak=function(){if(null!=this.l){var t=this.q;if(null!=this.q){var e=null!=this.c.fj?this.c.fj:this.c.f0;t.display=e}}},n.prototype.ai=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("align-items",this.c.fb),this.o.setStyleProperty("align-items",this.c.fb);var t=this.q;if(null!=this.q){this.p.setStyleProperty("align-items",this.c.fb);var e=this.c.fb;t.alignItems=e}var i=this.l.getExternal(this.c,null,null);i&&i._onAlignItemsChanged&&i._onAlignItemsChanged()}},n.prototype.ap=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("flex-direction",this.c.g4),this.o.setStyleProperty("flex-direction",this.c.g4);var t=this.l.getExternal(this.c,null,null),e=this.q;if(null!=this.q){this.p.setStyleProperty("flex-direction",this.c.g4);var i=this.c.g4;e.flexDirection=i}t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.aq=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("flex-grow",this.c.g6),this.o.setStyleProperty("flex-grow",this.c.g6);var t=this.l.getExternal(this.c,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.u=function(t){},n.prototype.ay=function(){if(this.h()){this.c.hy;this.o.setAttribute("name",this.c.h6),this.o.setProperty("value",this.c.ee),this.c.az&&this.o.setAttribute("tabindex",this.c.d7.toString()),this.o.setProperty("disabled",this.c.disabled),this.o.setAttribute("aria-label",this.c.fd),this.o.setStyleProperty("cursor",this.c.av?"unset":"pointer")}},n.prototype.as=function(){if(this.h()){var t=this.c.hy;this.o.setAttribute("id",t)}},n.prototype.w=function(t){this.c.kh(),this.c.a5&&t.stopPropagation()},n.prototype.x=function(t){this.c.ki(),this.c.a5&&t.stopPropagation()},n.prototype.v=function(t){this.c.kg(),this.c.a5&&t.stopPropagation()},n.prototype.y=function(t){this.c.kj(),this.c.a5&&t.stopPropagation()},n.prototype.z=function(t){this.c.ka()},n.prototype.ac=function(t){this.c.kd()},n.prototype.ab=function(t){this.c.kb(),this.c.at||t.preventDefault(),this.c.a5&&t.stopPropagation()},n.prototype.ad=function(t){this.c.ke()},n.prototype.ae=function(t){this.c.kf(t.originalEvent.relatedTarget,t.originalEvent.target)},n.prototype.g=function(){return!1},n.prototype.aa=function(t){},n.prototype.ah=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.aj=function(){this.f=!0,this.i.add(this.o.listen("change",i.runOn(this,this.aa))),this.i.add(this.o.listen("click",i.runOn(this,this.ab))),this.i.add(this.o.listen("focus",i.runOn(this,this.ac))),this.i.add(this.o.listen("blur",i.runOn(this,this.z))),this.i.add(this.n.listen("click",i.runOn(this,this.u))),this.i.add(this.o.listen("mouseenter",i.runOn(this,this.w))),this.i.add(this.o.listen("mouseleave",i.runOn(this,this.x))),this.i.add(this.o.listen("mousedown",i.runOn(this,this.v))),this.i.add(this.o.listen("mouseup",i.runOn(this,this.y))),this.i.add(this.o.listen("focusin",i.runOn(this,this.ad))),this.i.add(this.o.listen("focusout",i.runOn(this,this.ae)))},n.prototype.am=function(){var t,n;this.f=!1;try{for(var r=e.__values(i.fromEnum(this.i)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.i.clear()},n.prototype.au=function(){var t=this.c;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.az=function(t,e){this.d.ax=t,this.d.aw=e},n.prototype.a0=function(t,e){var i=h.e(t,this.c.n0,this.c.nx,this.c.nn,e);this.o.setStyleProperty("box-shadow",i)},n.prototype.a2=function(t){null!=t&&this.n.setStyleProperty("font",t.fontString)},n.prototype.af=function(t){this.n.append(t)},n.prototype.ag=function(){this.n.removeChildren()},n.prototype.s=function(){return this.n.getChildCount()>0?this.n.getChildAt(0):null},n.prototype.b=function(){var t=this.l.rootWrapper.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.a=function(){var t=new Array(2);return t[0]=i.NativeUI.k(this.r),t[1]=i.NativeUI.d(this.r),t},n.$t=i.markType(n,"ButtonView"),n}(i.Base),b=function(t){function n(){var e=t.call(this)||this;e._view=null,e.ed=null,e.po=n.k.ae(n.m,"UmbraShadowColor"),e.pc=n.k.ae(n.m,"PenumbraShadowColor"),e.n3=n.k.ae(n.m,"AmbientShadowColor"),e.v=n.k.d(n.m,"ElevationMode"),e.pf=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledBackgroundColor"),e.pg=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledBorderColor"),e.ph=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledTextColor"),e.de=n.k.n(n.m,i.enumGetBox(u,0),"DisabledElevation"),e.dh=n.k.n(n.m,i.enumGetBox(u,0),"RestingElevation"),e.dg=n.k.n(n.m,i.enumGetBox(u,0),"HoverElevation"),e.df=n.k.n(n.m,i.enumGetBox(u,0),"FocusElevation"),e.pe=n.k.ad(n.m,i.enumGetBox(u,0),"BorderColor"),e.pm=n.k.ad(n.m,i.enumGetBox(u,0),"RippleColor"),e.k6=n.k.y(n.m,i.enumGetBox(u,0),"CornerRadius"),e.bt=n.k.i(n.m,i.enumGetBox(u,0),"BorderWidth"),e.pd=n.k.ad(n.m,i.enumGetBox(u,0),"BackgroundColor"),e.pn=n.k.ad(n.m,i.enumGetBox(u,0),"TextColor"),e.pl=n.k.ad(n.m,i.enumGetBox(u,0),"HoverTextColor"),e.pk=n.k.ad(n.m,i.enumGetBox(u,0),"HoverBackgroundColor"),e.pi=n.k.ad(n.m,i.enumGetBox(u,0),"FocusBackgroundColor"),e.pj=n.k.ad(n.m,i.enumGetBox(u,0),"FocusTextColor"),e.oh=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledBackgroundColor"),e.oi=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledBorderColor"),e.oj=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledTextColor"),e.c2=n.k.n(n.m,i.enumGetBox(u,1),"DisabledElevation"),e.c5=n.k.n(n.m,i.enumGetBox(u,1),"RestingElevation"),e.c4=n.k.n(n.m,i.enumGetBox(u,1),"HoverElevation"),e.c3=n.k.n(n.m,i.enumGetBox(u,1),"FocusElevation"),e.og=n.k.ad(n.m,i.enumGetBox(u,1),"BorderColor"),e.oo=n.k.ad(n.m,i.enumGetBox(u,1),"RippleColor"),e.k3=n.k.y(n.m,i.enumGetBox(u,1),"CornerRadius"),e.bq=n.k.i(n.m,i.enumGetBox(u,1),"BorderWidth"),e.of=n.k.ad(n.m,i.enumGetBox(u,1),"BackgroundColor"),e.op=n.k.ad(n.m,i.enumGetBox(u,1),"TextColor"),e.on=n.k.ad(n.m,i.enumGetBox(u,1),"HoverTextColor"),e.om=n.k.ad(n.m,i.enumGetBox(u,1),"HoverBackgroundColor"),e.ok=n.k.ad(n.m,i.enumGetBox(u,1),"FocusBackgroundColor"),e.ol=n.k.ad(n.m,i.enumGetBox(u,1),"FocusTextColor"),e.o3=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledBackgroundColor"),e.o4=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledBorderColor"),e.o5=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledTextColor"),e.da=n.k.n(n.m,i.enumGetBox(u,2),"DisabledElevation"),e.dd=n.k.n(n.m,i.enumGetBox(u,2),"RestingElevation"),e.dc=n.k.n(n.m,i.enumGetBox(u,2),"HoverElevation"),e.db=n.k.n(n.m,i.enumGetBox(u,2),"FocusElevation"),e.o2=n.k.ad(n.m,i.enumGetBox(u,2),"BorderColor"),e.pa=n.k.ad(n.m,i.enumGetBox(u,2),"RippleColor"),e.k5=n.k.y(n.m,i.enumGetBox(u,2),"CornerRadius"),e.bs=n.k.i(n.m,i.enumGetBox(u,2),"BorderWidth"),e.o1=n.k.ad(n.m,i.enumGetBox(u,2),"BackgroundColor"),e.pb=n.k.ad(n.m,i.enumGetBox(u,2),"TextColor"),e.o9=n.k.ad(n.m,i.enumGetBox(u,2),"HoverTextColor"),e.o8=n.k.ad(n.m,i.enumGetBox(u,2),"HoverBackgroundColor"),e.o6=n.k.ad(n.m,i.enumGetBox(u,2),"FocusBackgroundColor"),e.o7=n.k.ad(n.m,i.enumGetBox(u,2),"FocusTextColor"),e.os=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledBackgroundColor"),e.ot=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledBorderColor"),e.ou=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledTextColor"),e.c6=n.k.n(n.m,i.enumGetBox(u,4),"DisabledElevation"),e.c9=n.k.n(n.m,i.enumGetBox(u,4),"RestingElevation"),e.c8=n.k.n(n.m,i.enumGetBox(u,4),"HoverElevation"),e.c7=n.k.n(n.m,i.enumGetBox(u,4),"FocusElevation"),e.or=n.k.ad(n.m,i.enumGetBox(u,4),"BorderColor"),e.oz=n.k.ad(n.m,i.enumGetBox(u,4),"RippleColor"),e.k4=n.k.y(n.m,i.enumGetBox(u,4),"CornerRadius"),e.br=n.k.i(n.m,i.enumGetBox(u,4),"BorderWidth"),e.oq=n.k.ad(n.m,i.enumGetBox(u,4),"BackgroundColor"),e.o0=n.k.ad(n.m,i.enumGetBox(u,4),"TextColor"),e.oy=n.k.ad(n.m,i.enumGetBox(u,4),"HoverTextColor"),e.ox=n.k.ad(n.m,i.enumGetBox(u,4),"HoverBackgroundColor"),e.ov=n.k.ad(n.m,i.enumGetBox(u,4),"FocusBackgroundColor"),e.ow=n.k.ad(n.m,i.enumGetBox(u,4),"FocusTextColor"),e.n6=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledBackgroundColor"),e.n7=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledBorderColor"),e.n8=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledTextColor"),e.cy=n.k.n(n.m,i.enumGetBox(u,3),"DisabledElevation"),e.c1=n.k.n(n.m,i.enumGetBox(u,3),"RestingElevation"),e.c0=n.k.n(n.m,i.enumGetBox(u,3),"HoverElevation"),e.cz=n.k.n(n.m,i.enumGetBox(u,3),"FocusElevation"),e.n5=n.k.ad(n.m,i.enumGetBox(u,3),"BorderColor"),e.od=n.k.ad(n.m,i.enumGetBox(u,3),"RippleColor"),e.k2=n.k.y(n.m,i.enumGetBox(u,3),"CornerRadius"),e.bp=n.k.i(n.m,i.enumGetBox(u,3),"BorderWidth"),e.n4=n.k.ad(n.m,i.enumGetBox(u,3),"BackgroundColor"),e.oe=n.k.ad(n.m,i.enumGetBox(u,3),"TextColor"),e.oc=n.k.ad(n.m,i.enumGetBox(u,3),"HoverTextColor"),e.ob=n.k.ad(n.m,i.enumGetBox(u,3),"HoverBackgroundColor"),e.n9=n.k.ad(n.m,i.enumGetBox(u,3),"FocusBackgroundColor"),e.oa=n.k.ad(n.m,i.enumGetBox(u,3),"FocusTextColor"),e.bg=NaN,e.bf=NaN,e.d=0,e.p=0,e.l=0,e.o=1,e.lh=c.af(n.m,n.k,i.enumGetBox(u,0),"BorderColor"),e.ls=c.ag(n.m,n.k,"UmbraShadowColor"),e.lp=c.ag(n.m,n.k,"PenumbraShadowColor"),e.lf=c.ag(n.m,n.k,"AmbientShadowColor"),e.b4=c.p(n.m,n.k,i.enumGetBox(u,0),"RestingElevation"),e.b2=c.p(n.m,n.k,i.enumGetBox(u,0),"FocusElevation"),e.b3=c.p(n.m,n.k,i.enumGetBox(u,0),"HoverElevation"),e.lq=c.af(n.m,n.k,i.enumGetBox(u,0),"RippleColor"),e.ks=c.aa(n.m,n.k,i.enumGetBox(u,0),"CornerRadius"),e.lg=c.af(n.m,n.k,i.enumGetBox(u,0),"BackgroundColor"),e.li=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledBackgroundColor"),e.lj=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledBorderColor"),e.lk=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledTextColor"),e.b1=c.p(n.m,n.k,i.enumGetBox(u,0),"DisabledElevation"),e.s=c.f(n.m,n.k,"ElevationMode"),e.lr=c.af(n.m,n.k,i.enumGetBox(u,0),"TextColor"),e.lo=c.af(n.m,n.k,i.enumGetBox(u,0),"HoverTextColor"),e.ll=c.af(n.m,n.k,i.enumGetBox(u,0),"FocusBackgroundColor"),e.lm=c.af(n.m,n.k,i.enumGetBox(u,0),"FocusTextColor"),e.ln=c.af(n.m,n.k,i.enumGetBox(u,0),"HoverBackgroundColor"),e.a6=c.k(n.m,n.k,i.enumGetBox(u,0),"BorderWidth"),e.na=null,e.nc=null,e.nd=null,e.ne=null,e.co=-1,e.nh=null,e.nb=null,e.cr=-1,e.cq=-1,e.cp=-1,e.bi=NaN,e.ky=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.nj=null,e.l8=null,e.ma=null,e.mb=null,e.mc=null,e.ca=-1,e.mf=null,e.l9=null,e.cd=-1,e.cc=-1,e.cb=-1,e.mh=null,e.mi=null,e.mg=null,e.md=null,e.me=null,e.bd=NaN,e.kv=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.lt=null,e.lv=null,e.lw=null,e.lx=null,e.b5=-1,e.t=0,e.ml=null,e.lu=null,e.cs=-1,e.cf=-1,e.ce=-1,e.z=null,e.nm=null,e.mn=null,e.nl=null,e.nk=null,e.ni=null,e.nf=null,e.ng=null,e.mj=null,e.mk=null,e.a7=NaN,e.kt=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mz=null,e.m1=null,e.m2=null,e.m3=null,e.ck=-1,e.m6=null,e.m0=null,e.cn=-1,e.cm=-1,e.cl=-1,e.bh=NaN,e.kx=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.m8=null,e.m9=null,e.m7=null,e.m4=null,e.m5=null,e.ly=null,e.l0=null,e.l1=null,e.l2=null,e.b6=-1,e.mm=null,e.lz=null,e.b9=-1,e.b8=-1,e.b7=-1,e.bc=NaN,e.ku=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.l6=null,e.l7=null,e.l5=null,e.l3=null,e.l4=null,e.mo=null,e.mq=null,e.mr=null,e.ms=null,e.cg=-1,e.mv=null,e.mp=null,e.cj=-1,e.ci=-1,e.ch=-1,e.be=NaN,e.kw=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mx=null,e.my=null,e.mw=null,e.mt=null,e.mu=null,e.em="ig-native-button-"+n.d9++,e.el="ig-button-"+n.d8++,e.ei="inline-block",e.eh=null,e.ej="inline-block",e.ek=null,e.ef="center",e.ea=null,e.en=null,e.ct=0,e.am=!1,e.eg=null,e.al=!1,e.ao=!1,e.ap=!0,e.aj=!1,e.af=!1,e.ah=!1,e.aq=!1,e.an=!1,e.ak=!1,e.ai=!1,e.a9=NaN,e.bb=NaN,e.ba=NaN,e.a8=NaN,e.ld=1,e.rh=1,e.ag=!0,e.ar=!1,e.propertyChanged=null,e.clicked=null,e.mouseEnter=null,e.mouseLeave=null,e.mouseDown=null,e.mouseUp=null,e.gotFocus=null,e.lostFocus=null;var r=new f;return r.c=e,e.view=r,e.view.ar(),e}var r;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}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.kk=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.km(t,e,n)},n.prototype.km=function(t,e,i){switch(t){case"CornerRadius":case"BorderColor":case"RestingElevation":case"HoverElevation":case"FocusElevation":case"RippleColor":case"BorderWidth":case"BackgroundColor":case"DisabledBackgroundColor":case"DisabledBorderColor":case"DisabledTextColor":case"DisabledElevation":case"HoverBackgroundColor":case"FocusTextColor":case"TextColor":case"HoverTextColor":case"FocusBackgroundColor":case"RaisedBorderColor":case"RaisedRestingElevation":case"RaisedFocusElevation":case"RaisedHoverElevation":case"RaisedRippleColor":case"RaisedBorderWidth":case"RaisedBackgroundColor":case"RaisedDisabledBackgroundColor":case"RaisedDisabledBorderColor":case"RaisedDisabledTextColor":case"RaisedDisabledElevation":case"RaisedHoverBackgroundColor":case"RaisedCornerRadius":case"RaisedFocusBackgroundColor":case"RaisedFocusTextColor":case"RaisedTextColor":case"RaisedHoverTextColor":case"FlatBorderColor":case"FlatRestingElevation":case"FlatFocusElevation":case"FlatHoverElevation":case"FlatRippleColor":case"FlatBorderWidth":case"FlatBackgroundColor":case"FlatDisabledBackgroundColor":case"FlatDisabledBorderColor":case"FlatDisabledTextColor":case"FlatDisabledElevation":case"FlatHoverBackgroundColor":case"FlatCornerRadius":case"FlatFocusBackgroundColor":case"FlatFocusTextColor":case"FlatTextColor":case"FlatHoverTextColor":case"OutlinedRippleColor":case"OutlinedRestingElevation":case"OutlinedFocusElevation":case"OutlinedHoverElevation":case"OutlinedBorderColor":case"OutlinedBorderWidth":case"OutlinedBackgroundColor":case"OutlinedDisabledBackgroundColor":case"OutlinedDisabledBorderColor":case"OutlinedDisabledTextColor":case"OutlinedDisabledElevation":case"OutlinedHoverBackgroundColor":case"OutlinedCornerRadius":case"OutlinedFocusBackgroundColor":case"OutlinedFocusTextColor":case"OutlinedTextColor":case"OutlinedHoverTextColor":case"FabBorderColor":case"FabRippleColor":case"FabRestingElevation":case"FabFocusElevation":case"FabHoverElevation":case"FabBorderWidth":case"FabBackgroundColor":case"FabDisabledBackgroundColor":case"FabDisabledBorderColor":case"FabDisabledTextColor":case"FabDisabledElevation":case"FabHoverBackgroundColor":case"FabCornerRadius":case"FabFocusBackgroundColor":case"FabFocusTextColor":case"FabTextColor":case"FabHoverTextColor":case"IconRestingElevation":case"IconFocusElevation":case"IconHoverElevation":case"IconBorderColor":case"IconRippleColor":case"IconBorderWidth":case"IconBackgroundColor":case"IconDisabledBackgroundColor":case"IconDisabledBorderColor":case"IconDisabledTextColor":case"IconDisabledElevation":case"IconHoverBackgroundColor":case"IconCornerRadius":case"IconFocusBackgroundColor":case"IconFocusTextColor":case"IconTextColor":case"IconHoverTextColor":case"ElevationMode":this.kq();break;case"BaseTheme":this.kr(0==this.n?2:this.n),this.kq();break;case"IsDisabled":this.as=this.disabled||this.aw,this.kq(),this.view.at(),this.kp();break;case"DisableRipple":this.as=this.disabled||this.aw,this.kq();break;case"TextStyle":case"DisableHover":this.kp();break;case"ActualDisableRipple":this.view.an();break;case"ActualBackgroundColor":case"ActualDisabledBackgroundColor":case"ActualDisabledBorderColor":case"ActualDisabledTextColor":case"ActualDisabledElevation":case"ActualHoverBackgroundColor":case"ActualBorderColor":case"ActualFocusTextColor":case"ActualHoverTextColor":case"ActualElevationMode":this.kp();break;case"Density":this.q=0==this.r?1:this.r;break;case"ActualDensity":case"ActualBorderWidth":case"ActualCornerRadius":4==this.e&&this.ko(),this.view.a1(),this.kp();break;case"DisplayType":this.view.a1(),this.kq(),this.kp();break;case"ContentPaddingLeft":case"ContentPaddingTop":case"ContentPaddingRight":case"ContentPaddingBottom":case"FillAvailableSpace":this.view.a1();break;case"HorizontalContentAlignment":case"VerticalContentAlignment":this.view.av();break;case"InputId":this.view.as();break;case"Display":this.view.ao();break;case"ChildContentDisplay":this.view.ak();break;case"FlexDirection":this.view.ap();break;case"FlexGrow":this.view.aq();break;case"AlignItems":this.view.ai();break;case"TabIndex":case"DisablePointer":this.view.ay();break;case"MinWidth":this.view.ax(this.by),this.view.a1();break;case"MinHeight":this.view.aw(this.bx),this.view.a1()}},n.prototype.k0=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.e)?e.e:t.e,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.b)?e.b:t.b)},n.prototype.kq=function(){switch(this.u=0!=this.w?this.w:this.v,this.n0=this.po,this.nx=this.pc,this.nn=this.n3,this.e){case 0:this.nq=null!=this.pp?this.pp:null!=this.q6?this.q6:this.pf,this.nr=null!=this.pq?this.pq:null!=this.q7?this.q7:this.pg,this.ns=null!=this.pr?this.pr:null!=this.q8?this.q8:this.ph,this.cu=this.di>=0?this.di:this.d2>=0?this.d2:this.de,this.cx=this.d6>=0?this.d6:this.d5>=0?this.d5:this.dh,this.cw=this.dt>=0?this.dt:this.d4>=0?this.d4:this.dg,this.cv=this.ds>=0?this.ds:this.d3>=0?this.d3:this.df,this.np=null!=this.n2?this.n2:null!=this.q5?this.q5:this.pe,this.no=null!=this.n1?this.n1:null!=this.q4?this.q4:this.pd,this.nv=null!=this.qg?this.qg:null!=this.rb?this.rb:this.pk,this.kz=this.k0(this.k1,this.k0(this.lc,this.k6)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.b0)?this.bt:this.b0:this.bk,this.ny=null!=this.rf?this.rf:null!=this.rd?this.rd:this.pm,this.nt=null!=this.qe?this.qe:null!=this.q9?this.q9:this.pi,this.nu=null!=this.qf?this.qf:null!=this.ra?this.ra:this.pj,this.nz=null!=this.rg?this.rg:null!=this.re?this.re:this.pn,this.nw=null!=this.qh?this.qh:null!=this.rc?this.rc:this.pl;break;case 2:this.nq=null!=this.pp?this.pp:null!=this.qv?this.qv:this.o3,this.nr=null!=this.pq?this.pq:null!=this.qw?this.qw:this.o4,this.ns=null!=this.pr?this.pr:null!=this.qx?this.qx:this.o5,this.cu=this.di>=0?this.di:this.dy>=0?this.dy:this.da,this.cx=this.d6>=0?this.d6:this.d1>=0?this.d1:this.dd,this.cw=this.dt>=0?this.dt:this.d0>=0?this.d0:this.dc,this.cv=this.ds>=0?this.ds:this.dz>=0?this.dz:this.db,this.np=null!=this.n2?this.n2:null!=this.qu?this.qu:this.o2,this.no=null!=this.qg?this.qg:null!=this.n1?this.n1:null!=this.qt?this.qt:this.o1,this.nv=null!=this.q0?this.q0:this.o8,this.kz=this.k0(this.k1,this.k0(this.lb,this.k5)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bz)?this.bs:this.bz:this.bk,this.ny=null!=this.rf?this.rf:null!=this.q2?this.q2:this.pa,this.nt=null!=this.qe?this.qe:null!=this.qy?this.qy:this.o6,this.nu=null!=this.qf?this.qf:null!=this.qz?this.qz:this.o7,this.nz=null!=this.rg?this.rg:null!=this.q3?this.q3:this.pb,this.nw=null!=this.qh?this.qh:null!=this.q1?this.q1:this.o9;break;case 1:this.nq=null!=this.pp?this.pp:null!=this.p5?this.p5:this.oh,this.nr=null!=this.pq?this.pq:null!=this.p6?this.p6:this.oi,this.ns=null!=this.pr?this.pr:null!=this.p7?this.p7:this.oj,this.cu=this.di>=0?this.di:this.dn>=0?this.dn:this.c2,this.cx=this.d6>=0?this.d6:this.dr>=0?this.dr:this.c5,this.cw=this.dt>=0?this.dt:this.dq>=0?this.dq:this.c4,this.cv=this.ds>=0?this.ds:this.dp>=0?this.dp:this.c3,this.np=null!=this.n2?this.n2:null!=this.p4?this.p4:this.og,this.no=null!=this.n1?this.n1:null!=this.p3?this.p3:this.of,this.nv=null!=this.qg?this.qg:null!=this.qa?this.qa:this.om,this.kz=this.k0(this.k1,this.k0(this.k8,this.k3)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bv)?this.bq:this.bv:this.bk,this.ny=null!=this.rf?this.rf:null!=this.qc?this.qc:this.oo,this.nt=null!=this.qe?this.qe:null!=this.p8?this.p8:this.ok,this.nu=null!=this.qf?this.qf:null!=this.p9?this.p9:this.ol,this.nz=null!=this.rg?this.rg:null!=this.qd?this.qd:this.op,this.nw=null!=this.qh?this.qh:null!=this.qb?this.qb:this.on;break;case 4:this.nq=null!=this.pp?this.pp:null!=this.qk?this.qk:this.os,this.nr=null!=this.pq?this.pq:null!=this.ql?this.ql:this.ot,this.ns=null!=this.pr?this.pr:null!=this.qm?this.qm:this.ou,this.cu=this.di>=0?this.di:this.du>=0?this.du:this.c6,this.cx=this.d6>=0?this.d6:this.dx>=0?this.dx:this.c9,this.cw=this.dt>=0?this.dt:this.dw>=0?this.dw:this.c8,this.cv=this.ds>=0?this.ds:this.dv>=0?this.dv:this.c7,this.np=null!=this.n2?this.n2:null!=this.qj?this.qj:this.or,this.no=null!=this.n1?this.n1:null!=this.qi?this.qi:this.oq,this.nv=null!=this.qg?this.qg:null!=this.qp?this.qp:this.ox,this.ko(),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bw)?this.br:this.bw:this.bk,this.ny=null!=this.rf?this.rf:null!=this.qr?this.qr:this.oz,this.nt=null!=this.qe?this.qe:null!=this.qn?this.qn:this.ov,this.nu=null!=this.qf?this.qf:null!=this.qo?this.qo:this.ow,this.nz=null!=this.rg?this.rg:null!=this.qs?this.qs:this.o0,this.nw=null!=this.qh?this.qh:null!=this.qq?this.qq:this.oy;break;case 3:this.nq=null!=this.pp?this.pp:null!=this.pu?this.pu:this.n6,this.nr=null!=this.pq?this.pq:null!=this.pv?this.pv:this.n7,this.ns=null!=this.pr?this.pr:null!=this.pw?this.pw:this.n8,this.cu=this.di>=0?this.di:this.dj>=0?this.dj:this.cy,this.cx=this.d6>=0?this.d6:this.dm>=0?this.dm:this.c1,this.cw=this.dt>=0?this.dt:this.dl>=0?this.dl:this.c0,this.cv=this.ds>=0?this.ds:this.dk>=0?this.dk:this.cz,this.np=null!=this.n2?this.n2:null!=this.pt?this.pt:this.n5,this.no=null!=this.n1?this.n1:null!=this.ps?this.ps:this.n4,this.nv=null!=this.qg?this.qg:null!=this.pz?this.pz:this.ob,this.kz=this.k0(this.k1,this.k0(this.k7,this.k2)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bu)?this.bp:this.bu:this.bk,this.ny=null!=this.rf?this.rf:null!=this.p1?this.p1:this.pm,this.nt=null!=this.qe?this.qe:null!=this.px?this.px:this.n9,this.nu=null!=this.qf?this.qf:null!=this.py?this.py:this.oa,this.nz=null!=this.rg?this.rg:null!=this.p2?this.p2:this.oe,this.nw=null!=this.qh?this.qh:null!=this.p0?this.p0:this.oc}},n.prototype.ko=function(){this.kz=this.k0(this.k1,this.k0(this.la,this.k9(this.k4)))},n.prototype.k9=function(t){switch(this.q){case 1:case 2:case 3:return t;case 4:return new i.CornerRadius(0,16)}return t},n.prototype.kb=function(){this.disabled||null!=this.clicked&&this.clicked(this,new p)},n.prototype.kg=function(){this.disabled||null!=this.mouseDown&&this.mouseDown(this,new i.MouseEventArgs)},n.prototype.kj=function(){this.disabled||null!=this.mouseUp&&this.mouseUp(this,new i.MouseEventArgs)},n.prototype.ka=function(){this.focused=!1,this.kp()},n.prototype.kd=function(){this.focused=!0,this.kp()},n.prototype.ki=function(){this.a3=!1,this.kp(),null!=this.mouseLeave&&this.mouseLeave(this,new i.MouseEventArgs)},n.prototype.kh=function(){this.a3=!0,this.kp(),null!=this.mouseEnter&&this.mouseEnter(this,new i.MouseEventArgs)},n.prototype.ke=function(){null!=this.gotFocus&&this.gotFocus(this,new i.FocusEventArgs)},n.prototype.kf=function(t,e){var n;null!=this.lostFocus&&this.lostFocus(this,((n=new i.FocusEventArgs).b=t,n.a=e,n))},n.prototype.kp=function(){var t=this.view.r;null!=t&&(i.NativeUI.o(t,this.kz),i.NativeUI.n(t,this.np),i.isNaN_(this.bj)||i.NativeUI.p(t,new i.Thickness(0,this.bj)),this.disabled?this.view.a0(this.cu,this.u):this.focused&&this.a2?this.view.a0(this.cv,this.u):this.a3&&!this.au?this.view.a0(this.cw,this.u):this.view.a0(this.cx,this.u),this.disabled?i.NativeUI.m(t,this.nq):this.focused&&this.a2?i.NativeUI.m(t,this.nt):this.a3&&!this.au?i.NativeUI.m(t,this.nv):i.NativeUI.m(t,this.no),this.view.az(this.ny,i.BrushUtil.j(0,0,0,0)),null!=this.aa&&this.view.a2(this.aa),this.disabled?(i.NativeUI.q(this.view.t,this.ns),i.NativeUI.r(this.view.t,this.ns)):this.focused&&this.a2?(i.NativeUI.q(this.view.t,this.nu),i.NativeUI.r(this.view.t,this.nu)):this.a3&&!this.au?(i.NativeUI.q(this.view.t,this.nw),i.NativeUI.r(this.view.t,this.nw)):(i.NativeUI.q(this.view.t,this.nz),i.NativeUI.r(this.view.t,this.nz)))},n.prototype.kr=function(t){this.po=n.k.ae(t,"UmbraShadowColor"),this.pc=n.k.ae(t,"PenumbraShadowColor"),this.n3=n.k.ae(t,"AmbientShadowColor"),this.v=n.k.d(t,"ElevationMode"),this.pf=n.k.ad(t,i.enumGetBox(u,0),"DisabledBackgroundColor"),this.pg=n.k.ad(t,i.enumGetBox(u,0),"DisabledBorderColor"),this.ph=n.k.ad(t,i.enumGetBox(u,0),"DisabledTextColor"),this.de=n.k.n(t,i.enumGetBox(u,0),"DisabledElevation"),this.dh=n.k.n(t,i.enumGetBox(u,0),"RestingElevation"),this.dg=n.k.n(t,i.enumGetBox(u,0),"HoverElevation"),this.df=n.k.n(t,i.enumGetBox(u,0),"FocusElevation"),this.pe=n.k.ad(t,i.enumGetBox(u,0),"BorderColor"),this.pm=n.k.ad(t,i.enumGetBox(u,0),"RippleColor"),this.k6=n.k.y(t,i.enumGetBox(u,0),"CornerRadius"),this.bt=n.k.i(t,i.enumGetBox(u,0),"BorderWidth"),this.pd=n.k.ad(t,i.enumGetBox(u,0),"BackgroundColor"),this.pn=n.k.ad(t,i.enumGetBox(u,0),"TextColor"),this.pl=n.k.ad(t,i.enumGetBox(u,0),"HoverTextColor"),this.pk=n.k.ad(t,i.enumGetBox(u,0),"HoverBackgroundColor"),this.pi=n.k.ad(t,i.enumGetBox(u,0),"FocusBackgroundColor"),this.pj=n.k.ad(t,i.enumGetBox(u,0),"FocusTextColor"),this.oh=n.k.ad(t,i.enumGetBox(u,1),"DisabledBackgroundColor"),this.oi=n.k.ad(t,i.enumGetBox(u,1),"DisabledBorderColor"),this.oj=n.k.ad(t,i.enumGetBox(u,1),"DisabledTextColor"),this.c2=n.k.n(t,i.enumGetBox(u,1),"DisabledElevation"),this.c5=n.k.n(t,i.enumGetBox(u,1),"RestingElevation"),this.c4=n.k.n(t,i.enumGetBox(u,1),"HoverElevation"),this.c3=n.k.n(t,i.enumGetBox(u,1),"FocusElevation"),this.og=n.k.ad(t,i.enumGetBox(u,1),"BorderColor"),this.oo=n.k.ad(t,i.enumGetBox(u,1),"RippleColor"),this.k3=n.k.y(t,i.enumGetBox(u,1),"CornerRadius"),this.bq=n.k.i(t,i.enumGetBox(u,1),"BorderWidth"),this.of=n.k.ad(t,i.enumGetBox(u,1),"BackgroundColor"),this.op=n.k.ad(t,i.enumGetBox(u,1),"TextColor"),this.on=n.k.ad(t,i.enumGetBox(u,1),"HoverTextColor"),this.om=n.k.ad(t,i.enumGetBox(u,1),"HoverBackgroundColor"),this.ok=n.k.ad(t,i.enumGetBox(u,1),"FocusBackgroundColor"),this.ol=n.k.ad(t,i.enumGetBox(u,1),"FocusTextColor"),this.o3=n.k.ad(t,i.enumGetBox(u,2),"DisabledBackgroundColor"),this.o4=n.k.ad(t,i.enumGetBox(u,2),"DisabledBorderColor"),this.o5=n.k.ad(t,i.enumGetBox(u,2),"DisabledTextColor"),this.da=n.k.n(t,i.enumGetBox(u,2),"DisabledElevation"),this.dd=n.k.n(t,i.enumGetBox(u,2),"RestingElevation"),this.dc=n.k.n(t,i.enumGetBox(u,2),"HoverElevation"),this.db=n.k.n(t,i.enumGetBox(u,2),"FocusElevation"),this.o2=n.k.ad(t,i.enumGetBox(u,2),"BorderColor"),this.pa=n.k.ad(t,i.enumGetBox(u,2),"RippleColor"),this.k5=n.k.y(t,i.enumGetBox(u,2),"CornerRadius"),this.bs=n.k.i(t,i.enumGetBox(u,2),"BorderWidth"),this.o1=n.k.ad(t,i.enumGetBox(u,2),"BackgroundColor"),this.pb=n.k.ad(t,i.enumGetBox(u,2),"TextColor"),this.o9=n.k.ad(t,i.enumGetBox(u,2),"HoverTextColor"),this.o8=n.k.ad(t,i.enumGetBox(u,2),"HoverBackgroundColor"),this.o6=n.k.ad(t,i.enumGetBox(u,2),"FocusBackgroundColor"),this.o7=n.k.ad(t,i.enumGetBox(u,2),"FocusTextColor"),this.os=n.k.ad(t,i.enumGetBox(u,4),"DisabledBackgroundColor"),this.ot=n.k.ad(t,i.enumGetBox(u,4),"DisabledBorderColor"),this.ou=n.k.ad(t,i.enumGetBox(u,4),"DisabledTextColor"),this.c6=n.k.n(t,i.enumGetBox(u,4),"DisabledElevation"),this.c9=n.k.n(t,i.enumGetBox(u,4),"RestingElevation"),this.c8=n.k.n(t,i.enumGetBox(u,4),"HoverElevation"),this.c7=n.k.n(t,i.enumGetBox(u,4),"FocusElevation"),this.or=n.k.ad(t,i.enumGetBox(u,4),"BorderColor"),this.oz=n.k.ad(t,i.enumGetBox(u,4),"RippleColor"),this.k4=n.k.y(t,i.enumGetBox(u,4),"CornerRadius"),this.br=n.k.i(t,i.enumGetBox(u,4),"BorderWidth"),this.oq=n.k.ad(t,i.enumGetBox(u,4),"BackgroundColor"),this.o0=n.k.ad(t,i.enumGetBox(u,4),"TextColor"),this.oy=n.k.ad(t,i.enumGetBox(u,4),"HoverTextColor"),this.ox=n.k.ad(t,i.enumGetBox(u,4),"HoverBackgroundColor"),this.ov=n.k.ad(t,i.enumGetBox(u,4),"FocusBackgroundColor"),this.ow=n.k.ad(t,i.enumGetBox(u,4),"FocusTextColor"),this.n6=n.k.ad(t,i.enumGetBox(u,3),"DisabledBackgroundColor"),this.n7=n.k.ad(t,i.enumGetBox(u,3),"DisabledBorderColor"),this.n8=n.k.ad(t,i.enumGetBox(u,3),"DisabledTextColor"),this.cy=n.k.n(t,i.enumGetBox(u,3),"DisabledElevation"),this.c1=n.k.n(t,i.enumGetBox(u,3),"RestingElevation"),this.c0=n.k.n(t,i.enumGetBox(u,3),"HoverElevation"),this.cz=n.k.n(t,i.enumGetBox(u,3),"FocusElevation"),this.n5=n.k.ad(t,i.enumGetBox(u,3),"BorderColor"),this.od=n.k.ad(t,i.enumGetBox(u,3),"RippleColor"),this.k2=n.k.y(t,i.enumGetBox(u,3),"CornerRadius"),this.bp=n.k.i(t,i.enumGetBox(u,3),"BorderWidth"),this.n4=n.k.ad(t,i.enumGetBox(u,3),"BackgroundColor"),this.oe=n.k.ad(t,i.enumGetBox(u,3),"TextColor"),this.oc=n.k.ad(t,i.enumGetBox(u,3),"HoverTextColor"),this.ob=n.k.ad(t,i.enumGetBox(u,3),"HoverBackgroundColor"),this.n9=n.k.ad(t,i.enumGetBox(u,3),"FocusBackgroundColor"),this.oa=n.k.ad(t,i.enumGetBox(u,3),"FocusTextColor")},Object.defineProperty(n.prototype,"by",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.kk("MinWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.kk("MinHeight",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.kk("DisplayType",i.enumGetBox(u,e),i.enumGetBox(u,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.kk("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.kk("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,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.kk("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"np",{get:function(){return this.lh},set:function(t){var e=this.lh;this.lh=t,e!=this.lh&&this.kk("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n0",{get:function(){return this.ls},set:function(t){var e=this.ls;this.ls=t,e!=this.ls&&this.kk("ActualUmbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nx",{get:function(){return this.lp},set:function(t){var e=this.lp;this.lp=t,e!=this.lp&&this.kk("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nn",{get:function(){return this.lf},set:function(t){var e=this.lf;this.lf=t,e!=this.lf&&this.kk("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return this.b4},set:function(t){var e=this.b4;this.b4=t,e!=this.b4&&this.kk("ActualRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cv",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.kk("ActualFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return this.b3},set:function(t){var e=this.b3;this.b3=t,e!=this.b3&&this.kk("ActualHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ny",{get:function(){return this.lq},set:function(t){var e=this.lq;this.lq=t,e!=this.lq&&this.kk("ActualRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kz",{get:function(){return this.ks},set:function(t){var e=this.ks;this.ks=t,e.equals(this.ks)||this.kk("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"no",{get:function(){return this.lg},set:function(t){var e=this.lg;this.lg=t,e!=this.lg&&this.kk("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nq",{get:function(){return this.li},set:function(t){var e=this.li;this.li=t,e!=this.li&&this.kk("ActualDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nr",{get:function(){return this.lj},set:function(t){var e=this.lj;this.lj=t,e!=this.lj&&this.kk("ActualDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ns",{get:function(){return this.lk},set:function(t){var e=this.lk;this.lk=t,e!=this.lk&&this.kk("ActualDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cu",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.kk("ActualDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.kk("ActualElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nz",{get:function(){return this.lr},set:function(t){var e=this.lr;this.lr=t,e!=this.lr&&this.kk("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nw",{get:function(){return this.lo},set:function(t){var e=this.lo;this.lo=t,e!=this.lo&&this.kk("ActualHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nt",{get:function(){return this.ll},set:function(t){var e=this.ll;this.ll=t,e!=this.ll&&this.kk("ActualFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nu",{get:function(){return this.lm},set:function(t){var e=this.lm;this.lm=t,e!=this.lm&&this.kk("ActualFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nv",{get:function(){return this.ln},set:function(t){var e=this.ln;this.ln=t,e!=this.ln&&this.kk("ActualHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.kk("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q4",{get:function(){return this.na},set:function(t){var e=this.na;this.na=t,e!=this.na&&this.kk("RaisedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q6",{get:function(){return this.nc},set:function(t){var e=this.nc;this.nc=t,e!=this.nc&&this.kk("RaisedDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q7",{get:function(){return this.nd},set:function(t){var e=this.nd;this.nd=t,e!=this.nd&&this.kk("RaisedDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q8",{get:function(){return this.ne},set:function(t){var e=this.ne;this.ne=t,e!=this.ne&&this.kk("RaisedDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d2",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.kk("RaisedDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rb",{get:function(){return this.nh},set:function(t){var e=this.nh;this.nh=t,e!=this.nh&&this.kk("RaisedHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q5",{get:function(){return this.nb},set:function(t){var e=this.nb;this.nb=t,e!=this.nb&&this.kk("RaisedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d5",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.kk("RaisedRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d4",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.kk("RaisedHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.kk("RaisedFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.kk("RaisedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lc",{get:function(){return this.ky},set:function(t){var e=this.ky;this.ky=t,this.kk("RaisedCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rd",{get:function(){return this.nj},set:function(t){var e=this.nj;this.nj=t,e!=this.nj&&this.kk("RaisedRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p3",{get:function(){return this.l8},set:function(t){var e=this.l8;this.l8=t,e!=this.l8&&this.kk("FlatBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p5",{get:function(){return this.ma},set:function(t){var e=this.ma;this.ma=t,e!=this.ma&&this.kk("FlatDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p6",{get:function(){return this.mb},set:function(t){var e=this.mb;this.mb=t,e!=this.mb&&this.kk("FlatDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p7",{get:function(){return this.mc},set:function(t){var e=this.mc;this.mc=t,e!=this.mc&&this.kk("FlatDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dn",{get:function(){return this.ca},set:function(t){var e=this.ca;this.ca=t,e!=this.ca&&this.kk("FlatDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qa",{get:function(){return this.mf},set:function(t){var e=this.mf;this.mf=t,e!=this.mf&&this.kk("FlatHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p4",{get:function(){return this.l9},set:function(t){var e=this.l9;this.l9=t,e!=this.l9&&this.kk("FlatBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dr",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.kk("FlatRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dq",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.kk("FlatHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.cb},set:function(t){var e=this.cb;this.cb=t,e!=this.cb&&this.kk("FlatFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qc",{get:function(){return this.mh},set:function(t){var e=this.mh;this.mh=t,e!=this.mh&&this.kk("FlatRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qd",{get:function(){return this.mi},set:function(t){var e=this.mi;this.mi=t,e!=this.mi&&this.kk("FlatTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qb",{get:function(){return this.mg},set:function(t){var e=this.mg;this.mg=t,e!=this.mg&&this.kk("FlatHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p8",{get:function(){return this.md},set:function(t){var e=this.md;this.md=t,e!=this.md&&this.kk("FlatFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p9",{get:function(){return this.me},set:function(t){var e=this.me;this.me=t,e!=this.me&&this.kk("FlatFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.kk("FlatBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k8",{get:function(){return this.kv},set:function(t){var e=this.kv;this.kv=t,this.kk("FlatCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n1",{get:function(){return this.lt},set:function(t){var e=this.lt;this.lt=t,e!=this.lt&&this.kk("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pp",{get:function(){return this.lv},set:function(t){var e=this.lv;this.lv=t,e!=this.lv&&this.kk("DisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pq",{get:function(){return this.lw},set:function(t){var e=this.lw;this.lw=t,e!=this.lw&&this.kk("DisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pr",{get:function(){return this.lx},set:function(t){var e=this.lx;this.lx=t,e!=this.lx&&this.kk("DisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"di",{get:function(){return this.b5},set:function(t){var e=this.b5;this.b5=t,e!=this.b5&&this.kk("DisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,e!=this.t&&this.kk("ElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qg",{get:function(){return this.ml},set:function(t){var e=this.ml;this.ml=t,e!=this.ml&&this.kk("HoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n2",{get:function(){return this.lu},set:function(t){var e=this.lu;this.lu=t,e!=this.lu&&this.kk("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d6",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.kk("RestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dt",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.kk("HoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ds",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.kk("FocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.kk("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rg",{get:function(){return this.nm},set:function(t){var e=this.nm;this.nm=t,e!=this.nm&&this.kk("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qh",{get:function(){return this.mn},set:function(t){var e=this.mn;this.mn=t,e!=this.mn&&this.kk("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rf",{get:function(){return this.nl},set:function(t){var e=this.nl;this.nl=t,e!=this.nl&&this.kk("RippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"re",{get:function(){return this.nk},set:function(t){var e=this.nk;this.nk=t,e!=this.nk&&this.kk("RaisedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rc",{get:function(){return this.ni},set:function(t){var e=this.ni;this.ni=t,e!=this.ni&&this.kk("RaisedHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q9",{get:function(){return this.nf},set:function(t){var e=this.nf;this.nf=t,e!=this.nf&&this.kk("RaisedFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ra",{get:function(){return this.ng},set:function(t){var e=this.ng;this.ng=t,e!=this.ng&&this.kk("RaisedFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qe",{get:function(){return this.mj},set:function(t){var e=this.mj;this.mj=t,e!=this.mj&&this.kk("FocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qf",{get:function(){return this.mk},set:function(t){var e=this.mk;this.mk=t,e!=this.mk&&this.kk("FocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.kk("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k1",{get:function(){return this.kt},set:function(t){var e=this.kt;this.kt=t,this.kk("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qt",{get:function(){return this.mz},set:function(t){var e=this.mz;this.mz=t,e!=this.mz&&this.kk("OutlinedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qv",{get:function(){return this.m1},set:function(t){var e=this.m1;this.m1=t,e!=this.m1&&this.kk("OutlinedDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qw",{get:function(){return this.m2},set:function(t){var e=this.m2;this.m2=t,e!=this.m2&&this.kk("OutlinedDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qx",{get:function(){return this.m3},set:function(t){var e=this.m3;this.m3=t,e!=this.m3&&this.kk("OutlinedDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dy",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.kk("OutlinedDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q0",{get:function(){return this.m6},set:function(t){var e=this.m6;this.m6=t,e!=this.m6&&this.kk("OutlinedHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qu",{get:function(){return this.m0},set:function(t){var e=this.m0;this.m0=t,e!=this.m0&&this.kk("OutlinedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d1",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.kk("OutlinedRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d0",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.kk("OutlinedHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dz",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.kk("OutlinedFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.kk("OutlinedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lb",{get:function(){return this.kx},set:function(t){var e=this.kx;this.kx=t,this.kk("OutlinedCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q2",{get:function(){return this.m8},set:function(t){var e=this.m8;this.m8=t,e!=this.m8&&this.kk("OutlinedRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q3",{get:function(){return this.m9},set:function(t){var e=this.m9;this.m9=t,e!=this.m9&&this.kk("OutlinedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q1",{get:function(){return this.m7},set:function(t){var e=this.m7;this.m7=t,e!=this.m7&&this.kk("OutlinedHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qy",{get:function(){return this.m4},set:function(t){var e=this.m4;this.m4=t,e!=this.m4&&this.kk("OutlinedFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qz",{get:function(){return this.m5},set:function(t){var e=this.m5;this.m5=t,e!=this.m5&&this.kk("OutlinedFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ps",{get:function(){return this.ly},set:function(t){var e=this.ly;this.ly=t,e!=this.ly&&this.kk("FabBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pu",{get:function(){return this.l0},set:function(t){var e=this.l0;this.l0=t,e!=this.l0&&this.kk("FabDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pv",{get:function(){return this.l1},set:function(t){var e=this.l1;this.l1=t,e!=this.l1&&this.kk("FabDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pw",{get:function(){return this.l2},set:function(t){var e=this.l2;this.l2=t,e!=this.l2&&this.kk("FabDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dj",{get:function(){return this.b6},set:function(t){var e=this.b6;this.b6=t,e!=this.b6&&this.kk("FabDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pz",{get:function(){return this.mm},set:function(t){var e=this.mm;this.mm=t,e!=this.mm&&this.kk("FabHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pt",{get:function(){return this.lz},set:function(t){var e=this.lz;this.lz=t,e!=this.lz&&this.kk("FabBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.b9},set:function(t){var e=this.b9;this.b9=t,e!=this.b9&&this.kk("FabRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dl",{get:function(){return this.b8},set:function(t){var e=this.b8;this.b8=t,e!=this.b8&&this.kk("FabHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dk",{get:function(){return this.b7},set:function(t){var e=this.b7;this.b7=t,e!=this.b7&&this.kk("FabFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.kk("FabBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k7",{get:function(){return this.ku},set:function(t){var e=this.ku;this.ku=t,this.kk("FabCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p1",{get:function(){return this.l6},set:function(t){var e=this.l6;this.l6=t,e!=this.l6&&this.kk("FabRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p2",{get:function(){return this.l7},set:function(t){var e=this.l7;this.l7=t,e!=this.l7&&this.kk("FabTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p0",{get:function(){return this.l5},set:function(t){var e=this.l5;this.l5=t,e!=this.l5&&this.kk("FabHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"px",{get:function(){return this.l3},set:function(t){var e=this.l3;this.l3=t,e!=this.l3&&this.kk("FabFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"py",{get:function(){return this.l4},set:function(t){var e=this.l4;this.l4=t,e!=this.l4&&this.kk("FabFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qi",{get:function(){return this.mo},set:function(t){var e=this.mo;this.mo=t,e!=this.mo&&this.kk("IconBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qk",{get:function(){return this.mq},set:function(t){var e=this.mq;this.mq=t,e!=this.mq&&this.kk("IconDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ql",{get:function(){return this.mr},set:function(t){var e=this.mr;this.mr=t,e!=this.mr&&this.kk("IconDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qm",{get:function(){return this.ms},set:function(t){var e=this.ms;this.ms=t,e!=this.ms&&this.kk("IconDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"du",{get:function(){return this.cg},set:function(t){var e=this.cg;this.cg=t,e!=this.cg&&this.kk("IconDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qp",{get:function(){return this.mv},set:function(t){var e=this.mv;this.mv=t,e!=this.mv&&this.kk("IconHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qj",{get:function(){return this.mp},set:function(t){var e=this.mp;this.mp=t,e!=this.mp&&this.kk("IconBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dx",{get:function(){return this.cj},set:function(t){var e=this.cj;this.cj=t,e!=this.cj&&this.kk("IconRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dw",{get:function(){return this.ci},set:function(t){var e=this.ci;this.ci=t,e!=this.ci&&this.kk("IconHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dv",{get:function(){return this.ch},set:function(t){var e=this.ch;this.ch=t,e!=this.ch&&this.kk("IconFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.kk("IconBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"la",{get:function(){return this.kw},set:function(t){var e=this.kw;this.kw=t,this.kk("IconCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qr",{get:function(){return this.mx},set:function(t){var e=this.mx;this.mx=t,e!=this.mx&&this.kk("IconRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qs",{get:function(){return this.my},set:function(t){var e=this.my;this.my=t,e!=this.my&&this.kk("IconTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qq",{get:function(){return this.mw},set:function(t){var e=this.mw;this.mw=t,e!=this.mw&&this.kk("IconHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qn",{get:function(){return this.mt},set:function(t){var e=this.mt;this.mt=t,e!=this.mt&&this.kk("IconFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qo",{get:function(){return this.mu},set:function(t){var e=this.mu;this.mu=t,e!=this.mu&&this.kk("IconFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.em},set:function(t){var e=this.em;this.em=t,e!=this.em&&this.kk("InputId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.kk("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f0",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.kk("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fj",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.kk("ChildContentDisplay",e,this.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g4",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.kk("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g6",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.kk("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fb",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.kk("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ee",{get:function(){return this.ea},set:function(t){var e=this.ea;this.ea=t,e!=this.ea&&this.kk("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.kk("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.am},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d7",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,this.am=!0,e!=this.ct&&this.kk("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fd",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.kk("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.kk("FillAvailableSpace",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.kk("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.kk("IsFocusStyleEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.kk("DisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.kk("ActualDisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.kk("DisableHover",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.kk("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.kk("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ax",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.kk("DisableTransitions",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.kk("DisablePointer",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.kk("ContentPaddingLeft",e,this.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.kk("ContentPaddingTop",e,this.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.kk("ContentPaddingRight",e,this.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.kk("ContentPaddingBottom",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"le",{get:function(){return this.ld},set:function(t){var e=this.ld;this.ld=t,e!=this.ld&&this.kk("HorizontalContentAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,this.ld))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ri",{get:function(){return this.rh},set:function(t){var e=this.rh;this.rh=t,e!=this.rh&&this.kk("VerticalContentAlignment",i.enumGetBox(i.VerticalAlignment_$type,e),i.enumGetBox(i.VerticalAlignment_$type,this.rh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.kk("ClickTunneling",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.kk("StopPropagation",e,this.ar)},enumerable:!1,configurable:!0}),n.prototype.kl=function(){this.j8(),this.view.az(this.ny,i.BrushUtil.j(0,0,0,0)),this.kp()},Object.defineProperty(n.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.j8=function(){this.view.ah()},n.prototype.onDetachedFromUI=function(){this.view.am()},n.prototype.onAttachedToUI=function(){this.view.aj()},n.prototype.appendButtonContent=function(t){this.view.af(t)},n.prototype.clearButtonContent=function(){this.view.ag()},n.prototype.getButtonContent=function(){return this.view.s()},n.prototype.a4=function(){return this.view.h()},n.prototype.eb=function(){return this.b()},n.prototype.f4=function(){return this.b().serialize()},n.prototype.b=function(){var t=this.view.r,e=this.view.t,n=new d,r=this.view.b();n.s=r[0],n.q=r[1];var o=this.view.a();if(n.t=o[0],n.p=o[1],n.h=this.n,n.i=this.q,n.c=i.AppearanceHelper.a(i.NativeUI.ak(t)),n.g=i.AppearanceHelper.a(this.n0),n.d=i.AppearanceHelper.a(this.nx),n.a=i.AppearanceHelper.a(this.nn),n.u=this.cx,n.e=i.AppearanceHelper.a(this.ny),n.ag=this.kz,n.b=i.AppearanceHelper.a(i.NativeUI.aj(t)),n.j=this.u,n.f=i.AppearanceHelper.a(i.NativeUI.al(e)),n.o=this.bj,n.x=this.f0,n.y=this.g4,n.z=this.g6,n.w=this.fb,n.v=this.view.t.getNativeElement().innerText,n.aa=this.h6,n.m=this.focused,n.k=this.as,n.n=this.a3,n.l=this.disabled,null!=this.aa){var s=this.aa;if(null!=this.view&&null==s.q){var a=this.view.l,h=i.FontUtil.getFontInfoFromString(a,s.fontString);s.q=h.q,s.f=h.f,s.r=h.r,s.t=h.t,s.u=h.u,s.v=h.v}null!=s.q&&(n.ab=s.q),i.isNaN_(s.f)||(n.r=s.f),null!=s.v&&(n.af=s.v),null!=s.t&&(n.ad=s.t),null!=s.r&&(n.ac=s.t)}return n},n.prototype.provideContainer=function(t){this.view.al(t)},n.$t=i.markType(n,"XButton",i.Base.$,[i.INotifyPropertyChanged_$type]),n.m=2,n.d9=0,n.d8=0,n.i=new l(1,((r=new i.Dictionary$2(i.String_$type,i.Base.$,0)).addItem("UmbraShadowColor",i.BrushUtil.j(66,0,0,0)),r.addItem("PenumbraShadowColor",i.BrushUtil.j(30,0,0,0)),r.addItem("AmbientShadowColor",i.BrushUtil.j(20,0,0,0)),r.addItem("ElevationMode",i.enumGetBox(i.ElevationMode_$type,1)),r),function(){var t=new i.Dictionary$2(i.Base.$,l.$,0);return t.addItem(i.enumGetBox(u,0),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",2),t.addItem("HoverElevation",4),t.addItem("FocusElevation",8),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.j(255,0,0,0)),t}())),t.addItem(i.enumGetBox(u,1),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",0),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.j(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.j(255,228,28,119)),t}())),t.addItem(i.enumGetBox(u,2),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",0),t.addItem("BorderColor",i.BrushUtil.j(255,228,28,119)),t.addItem("RippleColor",i.BrushUtil.j(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.j(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.j(255,228,28,119)),t}())),t.addItem(i.enumGetBox(u,4),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",0),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.j(255,0,0,0)),t}())),t.addItem(i.enumGetBox(u,3),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",6),t.addItem("HoverElevation",12),t.addItem("FocusElevation",12),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.j(255,0,0,0)),t}())),t}()),n.h=new l(1,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("UmbraShadowColor",i.BrushUtil.j(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.j(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.j(40,33,150,243)),t.addItem("ElevationMode",i.enumGetBox(i.ElevationMode_$type,2)),t}(),function(){var t=new i.Dictionary$2(i.Base.$,l.$,0);return t.addItem(i.enumGetBox(u,0),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.j(255,255,255,255)),t}())),t.addItem(i.enumGetBox(u,1),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(100,33,150,243)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.j(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.j(255,33,150,243)),t}())),t.addItem(i.enumGetBox(u,2),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(255,33,150,243)),t.addItem("RippleColor",i.BrushUtil.j(0,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverTextColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.j(255,255,255,255)),t}())),t.addItem(i.enumGetBox(u,4),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",null),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.j(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.j(255,33,150,243)),t}())),t.addItem(i.enumGetBox(u,3),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.j(255,255,255,255)),t}())),t}()),n.j=new l(1,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("UmbraShadowColor",i.BrushUtil.j(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.j(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.j(40,33,150,243)),t.addItem("ElevationMode",i.enumGetBox(i.ElevationMode_$type,2)),t}(),function(){var t=new i.Dictionary$2(i.Base.$,l.$,0);return t.addItem(i.enumGetBox(u,0),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.j(255,255,255,255)),t}())),t.addItem(i.enumGetBox(u,1),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(100,33,150,243)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.j(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.j(255,33,150,243)),t}())),t.addItem(i.enumGetBox(u,2),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(255,33,150,243)),t.addItem("RippleColor",i.BrushUtil.j(0,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverTextColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.j(255,255,255,255)),t}())),t.addItem(i.enumGetBox(u,4),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",null),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.j(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(51,178,191,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(51,178,191,220)),t.addItem("FocusTextColor",i.BrushUtil.j(255,0,0,0)),t}())),t.addItem(i.enumGetBox(u,3),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.j(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.j(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.j(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.j(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.j(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.j(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.j(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.j(255,255,255,255)),t}())),t}()),n.k=new c(1,function(){var t=new i.Dictionary$2(i.BaseControlTheme_$type,l.$,0);return t.addItem(2,n.i),t.addItem(1,n.h),t.addItem(3,n.j),t}(),2),n}(i.Base),g=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new p},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}(),y=function(t){function n(){var n=t.call(this)||this;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._clicked=null,n._clicked_wrapped=null,n._gotFocus=null,n._gotFocus_wrapped=null,n._lostFocus=null,n._lostFocus_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("buttonContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._button=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onDisplayChanged=function(){this.style.display=this.display},n.prototype._onFlexDirectionChanged=function(){this.style.flexDirection=this.flexDirection},n.prototype._onFlexGrowChanged=function(){this.style.flexGrow=this.flexGrow},n.prototype._onAlignItemsChanged=function(){this.style.alignItems=this.alignItems},n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._button.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new b},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-button"),this.classList.add("igc-x-button"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display=this.display,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXButtonComponent=t}return n._observedAttributesIgcXButtonComponent},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,"minWidth",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("minWidth",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minHeight",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("minHeight",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(u,t),this._a("displayType",i.enumToString(u,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.q},set:function(t){this.i.q=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.np)},set:function(t){this.i.np=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.np))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.n0)},set:function(t){this.i.n0=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.n0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.nx)},set:function(t){this.i.nx=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.nx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.nn)},set:function(t){this.i.nn=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.nn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRestingElevation",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("actualRestingElevation",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusElevation",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t,this._a("actualFocusElevation",this.i.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverElevation",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("actualHoverElevation",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRippleColor",{get:function(){return i.brushToString(this.i.ny)},set:function(t){this.i.ny=i.stringToBrush(t),this._a("actualRippleColor",i.brushToString(this.i.ny))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.kz?this.i.kz.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kz.c=+t,this._a("actualCornerRadiusBottomRight",this.i.kz.c),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.kz?this.i.kz.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kz.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.kz.b),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.kz?this.i.kz.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kz.d=+t,this._a("actualCornerRadiusTopLeft",this.i.kz.d),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.kz?this.i.kz.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kz.e=+t,this._a("actualCornerRadiusTopRight",this.i.kz.e),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),n.prototype.ensureActualCornerRadius=function(){this.i.kz||(this.i.kz=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.no)},set:function(t){this.i.no=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.no))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.nq)},set:function(t){this.i.nq=i.stringToBrush(t),this._a("actualDisabledBackgroundColor",i.brushToString(this.i.nq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBorderColor",{get:function(){return i.brushToString(this.i.nr)},set:function(t){this.i.nr=i.stringToBrush(t),this._a("actualDisabledBorderColor",i.brushToString(this.i.nr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ns)},set:function(t){this.i.ns=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ns))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledElevation",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t,this._a("actualDisabledElevation",this.i.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevationMode",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(i.ElevationMode_$type,t),this._a("actualElevationMode",i.enumToString(i.ElevationMode_$type,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.nz)},set:function(t){this.i.nz=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.nz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.nw)},set:function(t){this.i.nw=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.nw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBackgroundColor",{get:function(){return i.brushToString(this.i.nt)},set:function(t){this.i.nt=i.stringToBrush(t),this._a("actualFocusBackgroundColor",i.brushToString(this.i.nt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusTextColor",{get:function(){return i.brushToString(this.i.nu)},set:function(t){this.i.nu=i.stringToBrush(t),this._a("actualFocusTextColor",i.brushToString(this.i.nu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.nv)},set:function(t){this.i.nv=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.nv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("actualBorderWidth",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBackgroundColor",{get:function(){return i.brushToString(this.i.q4)},set:function(t){this.i.q4=i.stringToBrush(t),this._a("raisedBackgroundColor",i.brushToString(this.i.q4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.q6)},set:function(t){this.i.q6=i.stringToBrush(t),this._a("raisedDisabledBackgroundColor",i.brushToString(this.i.q6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBorderColor",{get:function(){return i.brushToString(this.i.q7)},set:function(t){this.i.q7=i.stringToBrush(t),this._a("raisedDisabledBorderColor",i.brushToString(this.i.q7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledTextColor",{get:function(){return i.brushToString(this.i.q8)},set:function(t){this.i.q8=i.stringToBrush(t),this._a("raisedDisabledTextColor",i.brushToString(this.i.q8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledElevation",{get:function(){return this.i.d2},set:function(t){this.i.d2=+t,this._a("raisedDisabledElevation",this.i.d2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.rb)},set:function(t){this.i.rb=i.stringToBrush(t),this._a("raisedHoverBackgroundColor",i.brushToString(this.i.rb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderColor",{get:function(){return i.brushToString(this.i.q5)},set:function(t){this.i.q5=i.stringToBrush(t),this._a("raisedBorderColor",i.brushToString(this.i.q5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedRestingElevation",{get:function(){return this.i.d5},set:function(t){this.i.d5=+t,this._a("raisedRestingElevation",this.i.d5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverElevation",{get:function(){return this.i.d4},set:function(t){this.i.d4=+t,this._a("raisedHoverElevation",this.i.d4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusElevation",{get:function(){return this.i.d3},set:function(t){this.i.d3=+t,this._a("raisedFocusElevation",this.i.d3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderWidth",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("raisedBorderWidth",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomRight",{get:function(){return this.i.lc?this.i.lc.c:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lc.c=+t,this._a("raisedCornerRadiusBottomRight",this.i.lc.c),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomLeft",{get:function(){return this.i.lc?this.i.lc.b:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lc.b=+t,this._a("raisedCornerRadiusBottomLeft",this.i.lc.b),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopLeft",{get:function(){return this.i.lc?this.i.lc.d:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lc.d=+t,this._a("raisedCornerRadiusTopLeft",this.i.lc.d),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopRight",{get:function(){return this.i.lc?this.i.lc.e:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lc.e=+t,this._a("raisedCornerRadiusTopRight",this.i.lc.e),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),n.prototype.ensureRaisedCornerRadius=function(){this.i.lc||(this.i.lc=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"raisedRippleColor",{get:function(){return i.brushToString(this.i.rd)},set:function(t){this.i.rd=i.stringToBrush(t),this._a("raisedRippleColor",i.brushToString(this.i.rd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBackgroundColor",{get:function(){return i.brushToString(this.i.p3)},set:function(t){this.i.p3=i.stringToBrush(t),this._a("flatBackgroundColor",i.brushToString(this.i.p3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.p5)},set:function(t){this.i.p5=i.stringToBrush(t),this._a("flatDisabledBackgroundColor",i.brushToString(this.i.p5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBorderColor",{get:function(){return i.brushToString(this.i.p6)},set:function(t){this.i.p6=i.stringToBrush(t),this._a("flatDisabledBorderColor",i.brushToString(this.i.p6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledTextColor",{get:function(){return i.brushToString(this.i.p7)},set:function(t){this.i.p7=i.stringToBrush(t),this._a("flatDisabledTextColor",i.brushToString(this.i.p7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledElevation",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("flatDisabledElevation",this.i.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qa)},set:function(t){this.i.qa=i.stringToBrush(t),this._a("flatHoverBackgroundColor",i.brushToString(this.i.qa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderColor",{get:function(){return i.brushToString(this.i.p4)},set:function(t){this.i.p4=i.stringToBrush(t),this._a("flatBorderColor",i.brushToString(this.i.p4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRestingElevation",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("flatRestingElevation",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverElevation",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("flatHoverElevation",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusElevation",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("flatFocusElevation",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRippleColor",{get:function(){return i.brushToString(this.i.qc)},set:function(t){this.i.qc=i.stringToBrush(t),this._a("flatRippleColor",i.brushToString(this.i.qc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatTextColor",{get:function(){return i.brushToString(this.i.qd)},set:function(t){this.i.qd=i.stringToBrush(t),this._a("flatTextColor",i.brushToString(this.i.qd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverTextColor",{get:function(){return i.brushToString(this.i.qb)},set:function(t){this.i.qb=i.stringToBrush(t),this._a("flatHoverTextColor",i.brushToString(this.i.qb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusBackgroundColor",{get:function(){return i.brushToString(this.i.p8)},set:function(t){this.i.p8=i.stringToBrush(t),this._a("flatFocusBackgroundColor",i.brushToString(this.i.p8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusTextColor",{get:function(){return i.brushToString(this.i.p9)},set:function(t){this.i.p9=i.stringToBrush(t),this._a("flatFocusTextColor",i.brushToString(this.i.p9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderWidth",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("flatBorderWidth",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomRight",{get:function(){return this.i.k8?this.i.k8.c:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k8.c=+t,this._a("flatCornerRadiusBottomRight",this.i.k8.c),this.i.k8=this.i.k8},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomLeft",{get:function(){return this.i.k8?this.i.k8.b:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k8.b=+t,this._a("flatCornerRadiusBottomLeft",this.i.k8.b),this.i.k8=this.i.k8},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopLeft",{get:function(){return this.i.k8?this.i.k8.d:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k8.d=+t,this._a("flatCornerRadiusTopLeft",this.i.k8.d),this.i.k8=this.i.k8},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopRight",{get:function(){return this.i.k8?this.i.k8.e:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k8.e=+t,this._a("flatCornerRadiusTopRight",this.i.k8.e),this.i.k8=this.i.k8},enumerable:!1,configurable:!0}),n.prototype.ensureFlatCornerRadius=function(){this.i.k8||(this.i.k8=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.n1)},set:function(t){this.i.n1=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.n1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBackgroundColor",{get:function(){return i.brushToString(this.i.pp)},set:function(t){this.i.pp=i.stringToBrush(t),this._a("disabledBackgroundColor",i.brushToString(this.i.pp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBorderColor",{get:function(){return i.brushToString(this.i.pq)},set:function(t){this.i.pq=i.stringToBrush(t),this._a("disabledBorderColor",i.brushToString(this.i.pq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.pr)},set:function(t){this.i.pr=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.pr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledElevation",{get:function(){return this.i.di},set:function(t){this.i.di=+t,this._a("disabledElevation",this.i.di)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevationMode",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(i.ElevationMode_$type,t),this._a("elevationMode",i.enumToString(i.ElevationMode_$type,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.qg)},set:function(t){this.i.qg=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.qg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.brushToString(this.i.n2)},set:function(t){this.i.n2=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.n2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"restingElevation",{get:function(){return this.i.d6},set:function(t){this.i.d6=+t,this._a("restingElevation",this.i.d6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverElevation",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("hoverElevation",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusElevation",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("focusElevation",this.i.ds)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.aa?null:this.i.aa.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.aa=e,this._a("textStyle",null!=this.i.aa?this.i.aa.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.rg)},set:function(t){this.i.rg=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.rg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.qh)},set:function(t){this.i.qh=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.qh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleColor",{get:function(){return i.brushToString(this.i.rf)},set:function(t){this.i.rf=i.stringToBrush(t),this._a("rippleColor",i.brushToString(this.i.rf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedTextColor",{get:function(){return i.brushToString(this.i.re)},set:function(t){this.i.re=i.stringToBrush(t),this._a("raisedTextColor",i.brushToString(this.i.re))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverTextColor",{get:function(){return i.brushToString(this.i.rc)},set:function(t){this.i.rc=i.stringToBrush(t),this._a("raisedHoverTextColor",i.brushToString(this.i.rc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.q9)},set:function(t){this.i.q9=i.stringToBrush(t),this._a("raisedFocusBackgroundColor",i.brushToString(this.i.q9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusTextColor",{get:function(){return i.brushToString(this.i.ra)},set:function(t){this.i.ra=i.stringToBrush(t),this._a("raisedFocusTextColor",i.brushToString(this.i.ra))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBackgroundColor",{get:function(){return i.brushToString(this.i.qe)},set:function(t){this.i.qe=i.stringToBrush(t),this._a("focusBackgroundColor",i.brushToString(this.i.qe))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusTextColor",{get:function(){return i.brushToString(this.i.qf)},set:function(t){this.i.qf=i.stringToBrush(t),this._a("focusTextColor",i.brushToString(this.i.qf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("borderWidth",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.k1?this.i.k1.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.k1.c=+t,this._a("cornerRadiusBottomRight",this.i.k1.c),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.k1?this.i.k1.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.k1.b=+t,this._a("cornerRadiusBottomLeft",this.i.k1.b),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.k1?this.i.k1.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.k1.d=+t,this._a("cornerRadiusTopLeft",this.i.k1.d),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.k1?this.i.k1.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.k1.e=+t,this._a("cornerRadiusTopRight",this.i.k1.e),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),n.prototype.ensureCornerRadius=function(){this.i.k1||(this.i.k1=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedBackgroundColor",{get:function(){return i.brushToString(this.i.qt)},set:function(t){this.i.qt=i.stringToBrush(t),this._a("outlinedBackgroundColor",i.brushToString(this.i.qt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qv)},set:function(t){this.i.qv=i.stringToBrush(t),this._a("outlinedDisabledBackgroundColor",i.brushToString(this.i.qv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBorderColor",{get:function(){return i.brushToString(this.i.qw)},set:function(t){this.i.qw=i.stringToBrush(t),this._a("outlinedDisabledBorderColor",i.brushToString(this.i.qw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledTextColor",{get:function(){return i.brushToString(this.i.qx)},set:function(t){this.i.qx=i.stringToBrush(t),this._a("outlinedDisabledTextColor",i.brushToString(this.i.qx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledElevation",{get:function(){return this.i.dy},set:function(t){this.i.dy=+t,this._a("outlinedDisabledElevation",this.i.dy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.q0)},set:function(t){this.i.q0=i.stringToBrush(t),this._a("outlinedHoverBackgroundColor",i.brushToString(this.i.q0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderColor",{get:function(){return i.brushToString(this.i.qu)},set:function(t){this.i.qu=i.stringToBrush(t),this._a("outlinedBorderColor",i.brushToString(this.i.qu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedRestingElevation",{get:function(){return this.i.d1},set:function(t){this.i.d1=+t,this._a("outlinedRestingElevation",this.i.d1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverElevation",{get:function(){return this.i.d0},set:function(t){this.i.d0=+t,this._a("outlinedHoverElevation",this.i.d0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusElevation",{get:function(){return this.i.dz},set:function(t){this.i.dz=+t,this._a("outlinedFocusElevation",this.i.dz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderWidth",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("outlinedBorderWidth",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomRight",{get:function(){return this.i.lb?this.i.lb.c:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lb.c=+t,this._a("outlinedCornerRadiusBottomRight",this.i.lb.c),this.i.lb=this.i.lb},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomLeft",{get:function(){return this.i.lb?this.i.lb.b:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lb.b=+t,this._a("outlinedCornerRadiusBottomLeft",this.i.lb.b),this.i.lb=this.i.lb},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopLeft",{get:function(){return this.i.lb?this.i.lb.d:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lb.d=+t,this._a("outlinedCornerRadiusTopLeft",this.i.lb.d),this.i.lb=this.i.lb},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopRight",{get:function(){return this.i.lb?this.i.lb.e:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lb.e=+t,this._a("outlinedCornerRadiusTopRight",this.i.lb.e),this.i.lb=this.i.lb},enumerable:!1,configurable:!0}),n.prototype.ensureOutlinedCornerRadius=function(){this.i.lb||(this.i.lb=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedRippleColor",{get:function(){return i.brushToString(this.i.q2)},set:function(t){this.i.q2=i.stringToBrush(t),this._a("outlinedRippleColor",i.brushToString(this.i.q2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedTextColor",{get:function(){return i.brushToString(this.i.q3)},set:function(t){this.i.q3=i.stringToBrush(t),this._a("outlinedTextColor",i.brushToString(this.i.q3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverTextColor",{get:function(){return i.brushToString(this.i.q1)},set:function(t){this.i.q1=i.stringToBrush(t),this._a("outlinedHoverTextColor",i.brushToString(this.i.q1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qy)},set:function(t){this.i.qy=i.stringToBrush(t),this._a("outlinedFocusBackgroundColor",i.brushToString(this.i.qy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusTextColor",{get:function(){return i.brushToString(this.i.qz)},set:function(t){this.i.qz=i.stringToBrush(t),this._a("outlinedFocusTextColor",i.brushToString(this.i.qz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBackgroundColor",{get:function(){return i.brushToString(this.i.ps)},set:function(t){this.i.ps=i.stringToBrush(t),this._a("fabBackgroundColor",i.brushToString(this.i.ps))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.pu)},set:function(t){this.i.pu=i.stringToBrush(t),this._a("fabDisabledBackgroundColor",i.brushToString(this.i.pu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBorderColor",{get:function(){return i.brushToString(this.i.pv)},set:function(t){this.i.pv=i.stringToBrush(t),this._a("fabDisabledBorderColor",i.brushToString(this.i.pv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledTextColor",{get:function(){return i.brushToString(this.i.pw)},set:function(t){this.i.pw=i.stringToBrush(t),this._a("fabDisabledTextColor",i.brushToString(this.i.pw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledElevation",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("fabDisabledElevation",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverBackgroundColor",{get:function(){return i.brushToString(this.i.pz)},set:function(t){this.i.pz=i.stringToBrush(t),this._a("fabHoverBackgroundColor",i.brushToString(this.i.pz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderColor",{get:function(){return i.brushToString(this.i.pt)},set:function(t){this.i.pt=i.stringToBrush(t),this._a("fabBorderColor",i.brushToString(this.i.pt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabRestingElevation",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("fabRestingElevation",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverElevation",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("fabHoverElevation",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusElevation",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("fabFocusElevation",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderWidth",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("fabBorderWidth",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomRight",{get:function(){return this.i.k7?this.i.k7.c:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.k7.c=+t,this._a("fabCornerRadiusBottomRight",this.i.k7.c),this.i.k7=this.i.k7},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomLeft",{get:function(){return this.i.k7?this.i.k7.b:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.k7.b=+t,this._a("fabCornerRadiusBottomLeft",this.i.k7.b),this.i.k7=this.i.k7},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopLeft",{get:function(){return this.i.k7?this.i.k7.d:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.k7.d=+t,this._a("fabCornerRadiusTopLeft",this.i.k7.d),this.i.k7=this.i.k7},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopRight",{get:function(){return this.i.k7?this.i.k7.e:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.k7.e=+t,this._a("fabCornerRadiusTopRight",this.i.k7.e),this.i.k7=this.i.k7},enumerable:!1,configurable:!0}),n.prototype.ensureFabCornerRadius=function(){this.i.k7||(this.i.k7=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"fabRippleColor",{get:function(){return i.brushToString(this.i.p1)},set:function(t){this.i.p1=i.stringToBrush(t),this._a("fabRippleColor",i.brushToString(this.i.p1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabTextColor",{get:function(){return i.brushToString(this.i.p2)},set:function(t){this.i.p2=i.stringToBrush(t),this._a("fabTextColor",i.brushToString(this.i.p2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverTextColor",{get:function(){return i.brushToString(this.i.p0)},set:function(t){this.i.p0=i.stringToBrush(t),this._a("fabHoverTextColor",i.brushToString(this.i.p0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusBackgroundColor",{get:function(){return i.brushToString(this.i.px)},set:function(t){this.i.px=i.stringToBrush(t),this._a("fabFocusBackgroundColor",i.brushToString(this.i.px))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusTextColor",{get:function(){return i.brushToString(this.i.py)},set:function(t){this.i.py=i.stringToBrush(t),this._a("fabFocusTextColor",i.brushToString(this.i.py))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBackgroundColor",{get:function(){return i.brushToString(this.i.qi)},set:function(t){this.i.qi=i.stringToBrush(t),this._a("iconBackgroundColor",i.brushToString(this.i.qi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qk)},set:function(t){this.i.qk=i.stringToBrush(t),this._a("iconDisabledBackgroundColor",i.brushToString(this.i.qk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBorderColor",{get:function(){return i.brushToString(this.i.ql)},set:function(t){this.i.ql=i.stringToBrush(t),this._a("iconDisabledBorderColor",i.brushToString(this.i.ql))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledTextColor",{get:function(){return i.brushToString(this.i.qm)},set:function(t){this.i.qm=i.stringToBrush(t),this._a("iconDisabledTextColor",i.brushToString(this.i.qm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledElevation",{get:function(){return this.i.du},set:function(t){this.i.du=+t,this._a("iconDisabledElevation",this.i.du)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qp)},set:function(t){this.i.qp=i.stringToBrush(t),this._a("iconHoverBackgroundColor",i.brushToString(this.i.qp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderColor",{get:function(){return i.brushToString(this.i.qj)},set:function(t){this.i.qj=i.stringToBrush(t),this._a("iconBorderColor",i.brushToString(this.i.qj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconRestingElevation",{get:function(){return this.i.dx},set:function(t){this.i.dx=+t,this._a("iconRestingElevation",this.i.dx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverElevation",{get:function(){return this.i.dw},set:function(t){this.i.dw=+t,this._a("iconHoverElevation",this.i.dw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusElevation",{get:function(){return this.i.dv},set:function(t){this.i.dv=+t,this._a("iconFocusElevation",this.i.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderWidth",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("iconBorderWidth",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomRight",{get:function(){return this.i.la?this.i.la.c:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.la.c=+t,this._a("iconCornerRadiusBottomRight",this.i.la.c),this.i.la=this.i.la},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomLeft",{get:function(){return this.i.la?this.i.la.b:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.la.b=+t,this._a("iconCornerRadiusBottomLeft",this.i.la.b),this.i.la=this.i.la},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopLeft",{get:function(){return this.i.la?this.i.la.d:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.la.d=+t,this._a("iconCornerRadiusTopLeft",this.i.la.d),this.i.la=this.i.la},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopRight",{get:function(){return this.i.la?this.i.la.e:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.la.e=+t,this._a("iconCornerRadiusTopRight",this.i.la.e),this.i.la=this.i.la},enumerable:!1,configurable:!0}),n.prototype.ensureIconCornerRadius=function(){this.i.la||(this.i.la=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"iconRippleColor",{get:function(){return i.brushToString(this.i.qr)},set:function(t){this.i.qr=i.stringToBrush(t),this._a("iconRippleColor",i.brushToString(this.i.qr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconTextColor",{get:function(){return i.brushToString(this.i.qs)},set:function(t){this.i.qs=i.stringToBrush(t),this._a("iconTextColor",i.brushToString(this.i.qs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverTextColor",{get:function(){return i.brushToString(this.i.qq)},set:function(t){this.i.qq=i.stringToBrush(t),this._a("iconHoverTextColor",i.brushToString(this.i.qq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qn)},set:function(t){this.i.qn=i.stringToBrush(t),this._a("iconFocusBackgroundColor",i.brushToString(this.i.qn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusTextColor",{get:function(){return i.brushToString(this.i.qo)},set:function(t){this.i.qo=i.stringToBrush(t),this._a("iconFocusTextColor",i.brushToString(this.i.qo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputId",{get:function(){return this.i.hy},set:function(t){this.i.hy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.hw},set:function(t){this.i.hw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.f0},set:function(t){this.i.f0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.g4},set:function(t){this.i.g4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.g6},set:function(t){this.i.g6=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.fb},set:function(t){this.i.fb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.ee},set:function(t){this.i.ee=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.h6},set:function(t){this.i.h6=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.d7},set:function(t){this.i.d7=+t,this._a("tabIndex",this.i.d7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.fd},set:function(t){this.i.fd=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fillAvailableSpace",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("fillAvailableSpace",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.i.focused},set:function(t){this.i.focused=i.ensureBool(t),this._a("focused",this.i.focused)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFocusStyleEnabled",{get:function(){return this.i.a2},set:function(t){this.i.a2=i.ensureBool(t),this._a("isFocusStyleEnabled",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("disableRipple",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisableRipple",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureBool(t),this._a("actualDisableRipple",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableHover",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("disableHover",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.a3},set:function(t){this.i.a3=i.ensureBool(t),this._a("isHover",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableTransitions",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("disableTransitions",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disablePointer",{get:function(){return this.i.av},set:function(t){this.i.av=i.ensureBool(t),this._a("disablePointer",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("contentPaddingLeft",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.bo},set:function(t){this.i.bo=+t,this._a("contentPaddingTop",this.i.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("contentPaddingRight",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("contentPaddingBottom",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"horizontalContentAlignment",{get:function(){return this.i.le},set:function(t){this.i.le=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("horizontalContentAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.le))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"verticalContentAlignment",{get:function(){return this.i.ri},set:function(t){this.i.ri=i.ensureEnum(i.VerticalAlignment_$type,t),this._a("verticalContentAlignment",i.enumToString(i.VerticalAlignment_$type,this.i.ri))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"clickTunneling",{get:function(){return this.i.at},set:function(t){this.i.at=i.ensureBool(t),this._a("clickTunneling",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.a5},set:function(t){this.i.a5=i.ensureBool(t),this._a("stopPropagation",this.i.a5)},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("XButtonComponent");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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.eb()},n.prototype.exportSerializedVisualModel=function(){return this.i.f4()},Object.defineProperty(n.prototype,"clicked",{get:function(){return this._clicked},set:function(t){var e=this;null!==this._clicked_wrapped&&(this.i.clicked=i.delegateRemove(this.i.clicked,this._clicked_wrapped),this._clicked_wrapped=null,this._clicked=null),this._clicked=t,this._clicked_wrapped=function(t,i){var n=new g;n._provideImplementation(i),e.beforeClicked&&e.beforeClicked(e,n),e._clicked&&e._clicked(e,n)},this.i.clicked=i.delegateCombine(this.i.clicked,this._clicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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,n){var r=new i.IgcFocusEventArgs;r._provideImplementation(n),e.beforeGotFocus&&e.beforeGotFocus(e,r),e._gotFocus&&e._gotFocus(e,r)},this.i.gotFocus=i.delegateCombine(this.i.gotFocus,this._gotFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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,n){var r=new i.IgcFocusEventArgs;r._provideImplementation(n),e.beforeLostFocus&&e.beforeLostFocus(e,r),e._lostFocus&&e._lostFocus(e,r)},this.i.lostFocus=i.delegateCombine(this.i.lostFocus,this._lostFocus_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXButtonComponent=null,n.htmlTagName="igc-x-button",n._isElementRegistered=!1,n}(i.IgcHTMLElement),m=function(){function t(){}return t.register=function(){a.register(),i.IgcChildContentModule.register(),y.register(),i.TypeRegistrar.registerCons("IgcXButtonComponent",y),i.TypeRegistrar.registerCons("IgcXButtonComponent",y),i.TypeRegistrar.register("XButton",b.$type)},t}(),v=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._handled=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"handled",{get:function(){return this._handled},set:function(t){this._handled=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"IconClickedEventArgs",i.EventArgs.$),n}(i.EventArgs),_=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.g=0,e.f=0,e.j=0,e.a=null,e.b=null,e.d=null,e.c=null,e.e=0,e._svgPath=null,e._svg=null,e.k=null,e.q=null,e.r=null,e.s=null,e.h=0,e.o=null,e.p=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this._svgPath},set:function(t){this._svgPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this._svg},set:function(t){this._svg=t},enumerable:!1,configurable:!0}),n.prototype.l=function(){var t=new i.StringBuilder(0);if(t.l("{"),t.l("shapes: ["),null!=this.a&&this.a.length>0)for(var e=0;e<this.a.length;e++){var n=this.a[e].serialize();t=e<this.a.length-1?t.l(n+", "):t.l(n)}return t.u("], "),t.l("top : "+this.i+", "),t.l("left : "+this.g+", "),t.l("height : "+this.f+", "),t.l("width : "+this.j+", "),t.l('svg : "'+this.svg+'", '),t.l('svgPath : "'+this.svgPath+'", '),t.l('dataURL : "'+this.k+'", '),i.stringIsNullOrEmpty(this.q)||t.l('textStyleFontStyle : "'+this.q+'", '),i.stringIsNullOrEmpty(this.r)||t.l('textStyleFontVariant : "'+this.r+'", '),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontWeight : "'+this.s+'", '),i.stringIsNullOrEmpty(this.o)||t.l('textStyleFontFamily : "'+this.o+'", '),i.stringIsNullOrEmpty(this.p)||t.l('textStyleFontStretch : "'+this.p+'", '),i.isNaN_(this.h)||t.l("textStyleFontSize : "+this.h+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"IconVisualModelExport"),n}(i.Base),C=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.v=null,e.g=null,e.o=new i.List$1(i.Delegate_$type,0),e.q=null,e.r=null,e.s=null,e.t=null,e.u=null,e.e=null,e.f=null,e.ac=null,e.n=new i.Dictionary$2(i.Brush.$,i.String_$type,0),e.j=!0,e.y=null,e.x=null,e.z=null,e.w=null,e.p=new i.List$1(i.DomWrapper_$type,0),e.q=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.r=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.s=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.t=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.u=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.e=new i.FastIterationDictionary$2(i.String_$type,i.List$1.$.specialize(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$)),0),e.f=new i.FastIterationDictionary$2(i.String_$type,i.List$1.$.specialize(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$)),0),e}return e.__extends(n,t),n.prototype.an=function(){},n.prototype.l=function(){return!0},Object.defineProperty(n.prototype,"aa",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.p.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.o)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.o.clear(),null!=this.y&&this.y.unlistenAll(),null!=this.x&&this.x.unlistenAll()}this.v=t,t.rootWrapper.setStyleProperty("position","relative"),this.v.rootWrapper.setStyleProperty("display","flex"),this.v.rootWrapper.setStyleProperty("flex-direction","row"),this.v.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.v.rootWrapper.setStyleProperty("align-items","center"),this.v.rootWrapper.setStyleProperty("justify-content","center"),this.av();var a=this.v.createElementNS("svg","http://www.w3.org/2000/svg");a.setStyleProperty("position","absolute"),a.setStyleProperty("top","0"),a.setStyleProperty("left","0"),a.setStyleProperty("right","0"),a.setStyleProperty("bottom","0"),this.y=a;var h=this.v.createElement("img");h.setStyleProperty("height","100%"),h.setStyleProperty("width","100%"),h.setStyleProperty("object-fit","contain"),this.x=h,this.a1(),this.w=t.createElementNS("defs","http://www.w3.org/2000/svg"),this.y.append(this.w),this.v.append(this.y),this.o.add(a.listen("click",i.runOn(this,this.ak))),this.d.c6()},n.prototype.ay=function(t){if(this.z=null,this.n.clear(),this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.y),this.y.removeChildren(),this.w.removeChildren(),this.p.clear(),null!=t){var e=this.v.createElementNS("path","http://www.w3.org/2000/svg");e.setAttribute("d",t),this.y.append(this.w),this.y.append(e),this.p.add(e)}},n.prototype.az=function(t){if(this.z=null,this.n.clear(),this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.y),this.y.removeChildren(),this.w.removeChildren(),this.p.clear(),null!=t&&t.length>0){this.y.append(this.w);for(var e=0;e<t.length;e++){var i=this.v.createElementNS("path","http://www.w3.org/2000/svg");i.setAttribute("d",t[e]),this.y.append(i),this.p.add(i)}}},n.prototype.ax=function(t){if(this.z=null,this.v.rootWrapper.removeChildren(),null!=t){this.v.rootWrapper.getNativeElement().innerHTML=t,this.z=this.v.rootWrapper.getChildAt(0);var e=this.z.getAttribute("viewbox");if(null!=e){var i=e.split(" ");if(1==i.length&&(i=e.split(",")),4==i.length){var n=parseFloat(i[0].trim()),r=parseFloat(i[1].trim()),o=parseFloat(i[2].trim()),s=parseFloat(i[3].trim());this.d.dd(n,r,o,s)}}else this.d.dd(NaN,NaN,NaN,NaN)}},n.prototype.at=function(t){this.z=null,this.ac!=t&&(this.ac=t,this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.x),this.x.setAttribute("src",t))},n.prototype.aw=function(t){"string"==typeof t&&this.at(i.typeCast(i.String_$type,t))},n.prototype.ai=function(){3!=this.d.k&&4!=this.d.k&&(this.ac=null)},n.prototype.k=function(){return null!=this.d.svgPath||null!=this.d.svg||null!=this.d.b},n.prototype.av=function(){this.v.rootWrapper.setStyleProperty("width",i.isNaN_(this.d.a9)?"1.5rem":this.d.a9+"px"),this.v.rootWrapper.setStyleProperty("height",i.isNaN_(this.d.a1)?"1.5rem":this.d.a1+"px")},n.prototype.a1=function(){var t=this.d.as,e=this.d.at,i=this.d.au,n=this.d.ar;this.y.setAttribute("viewBox",t+" "+e+" "+i+" "+n),null!=this.z&&this.z.setAttribute("viewBox",t+" "+e+" "+i+" "+n)},n.prototype.ap=function(t,e){t.color;if(!this.n.containsKey(t))if(t.isGradient){var i=this.w.getChildCount(),n=t,r=this.v.createElementNS("linearGradient","http://www.w3.org/2000/svg"),o="ig_gradient_"+e+"_"+i;r.setAttribute("id",o),r.setAttribute("x1",n.startX.toString()),r.setAttribute("x2",n.endX.toString()),r.setAttribute("y1",n.startY.toString()),r.setAttribute("y2",n.endY.toString());for(var s=n.gradientStops,a=0;a<s.length;a++){var h=s[a],u=this.v.createElementNS("stop","http://www.w3.org/2000/svg");u.setAttribute("offset",100*h.offset+"%"),u.setAttribute("stop-color",h._fill),r.append(u)}this.w.append(r),this.n.addItem(t,o)}else t.isRadialGradient},n.prototype.aq=function(t,e){var n=t;this.n.containsKey(e)?(n.setAttribute("fill","url(#"+this.n.item(e)+")"),this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.y)):i.NativeUI.r(t,e)},n.prototype.ar=function(t,e){var n=t;this.n.containsKey(e)?n.setAttribute("stroke","url('#"+this.n.item(e)+"')"):i.NativeUI.aa(t,e)},n.prototype.ad=function(t){},n.prototype.ao=function(){this.l()},n.prototype.ae=function(t){this.d.c3()},n.prototype.af=function(t){this.d.c4()},n.prototype.aj=function(){this.j=!0,this.o.add(this.v.rootWrapper.listen("mouseenter",i.runOn(this,this.ae))),this.o.add(this.v.rootWrapper.listen("mouseleave",i.runOn(this,this.af)))},n.prototype.am=function(){var t,n;this.j=!1;try{for(var r=e.__values(i.fromEnum(this.o)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.o.clear()},n.prototype.a0=function(t){null!=t&&this.v.rootWrapper.setStyleProperty("font",t.fontString)},n.prototype.a2=function(){return new i.Size(1,this.v.rootWrapper.width(),this.v.rootWrapper.height())},n.prototype.b=function(){var t=this.v.rootWrapper.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.ak=function(t){this.d.x()&&(t.stopPropagation(),t.preventDefault())},n.prototype.a=function(){var t=new i.List$1(i.PrimitiveVisualData.$,0);this.v.rootWrapper.getNativeElement();return t.toArray()},n.prototype.ah=function(t,e){for(var i=0;i<e.e.count;i++){var n=e.e._inner[i],r=this.h(n);null!=r?t.add(r):this.ah(t,n)}},n.prototype.h=function(t){var e,n=null;switch(t.c){case 7:var r=((e=new i.Path).an=t.w,e);this.au(r,t),n=new i.PathVisualData(1,"path1",r);break;case 3:var o=t,s=new i.Line;s.an=o.w,s.ao=o.x,s.ap=o.y,s.aq=o.z,this.au(s,t),n=new i.LineVisualData(1,"line1",s);break;case 4:var a=t,h=new i.Rectangle;h.width=a.z,h.height=a.w,h.ap=a.x,h.aq=a.y,this.au(h,t),n=new i.RectangleVisualData(1,"rect1",h);break;case 5:case 6:var u=t,l=new i.Ellipse;l.width=2*u.y,l.height=2*u.z,this.au(l,t),n=new i.EllipseVisualData(1,"ellipse1",l)}return n},n.prototype.au=function(t,e){var n=e;if(t.ad=e.t,t.j=n.h,t.am=n.v,t.al=n.u,t.ak=n.u,t._opacity=n.q,null!=n.i){for(var r=new i.DoubleCollection,o=n.i,s=0;s<o.length;s++){var a=o[s];r.add(a)}t.ai=r}},n.prototype.i=function(t){return null!==i.typeCast(i.Path.$,t)?new i.PathVisualData(1,"path1",t):null!==i.typeCast(i.Line.$,t)?new i.LineVisualData(1,"line1",t):null!==i.typeCast(i.Rectangle.$,t)?new i.RectangleVisualData(1,"rect1",t):null!==i.typeCast(i.Ellipse.$,t)?new i.EllipseVisualData(1,"ellipse1",t):null},n.prototype.as=function(t,e){this.v.rootWrapper.removeChildren(),null!=t&&i.LegendItemHelper.c(this.v,0,0,24,24,e,null,t,null)},n.prototype.ag=function(){this.v.rootWrapper.removeChildren()},n.$t=i.markType(n,"IconView"),n}(i.Base),k=function(t){function n(){var e=t.call(this)||this;e._view=null,e.k=0,e.l=0,e.dg=n.dx,e.dh=n.d1,e.di=n.d2,e.y=n.aw,e.dj=n.dx,e.ds=n.d1,e.ak=n.aw,e.dt=n.d2,e.dk=n.dy,e.dl=n.dz,e.ae=n.av,e.dm=null,e.c=null,e.d=null,e.dn=null,e.dp=null,e.dq=null,e.dr=null,e.be=null,e.bj=null,e.bm=null,e.bl=null,e.a=null,e.de=null,e.bd=null,e.n=null,e.bk="ig-icon-"+n.bc++,e.ba=0,e.p=!1,e.bi=null,e.r=!1,e.q=!1,e.af=1,e.aa=0,e.am=NaN,e.ab=0,e.an=NaN,e.ac=24,e.ao=NaN,e.z=24,e.al=NaN,e.ap=NaN,e.ad=NaN,e.clicked=null,e.propertyChanged=null,e.ah=NaN,e.ai=NaN,e.aj=NaN,e.ag=NaN;var i=new C;return i.d=e,e.view=i,e.view.an(),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}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.c5=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.c8(t,e,n)},n.prototype.c8=function(t,e,n){switch(t){case"Fill":case"Stroke":case"StrokeWidth":case"HoverFill":case"HoverStroke":case"HoverStrokeThickness":case"IsHover":this.dc();break;case"FillColors":case"StrokeColors":case"ActualFill":case"ActualStroke":case"ActualStrokeWidth":this.da();break;case"SVG":this.bm=null,this.a=null,this.da();break;case"SVGPath":this.bl=null,this.a=null,this.da();break;case"SVGPaths":this.bl=null,this.bm=null,this.da();break;case"DataURL":case"Source":this.bl=null,this.bm=null,this.a=null,this.da();break;case"DataTemplate":case"DataTemplateContext":this.bl=null,this.bm=null,this.a=null,this.da();break;case"Opacity":this.db();break;case"ViewBoxLeft":this.as=i.isNaN_(this.a6)?i.isNaN_(this.ah)?0:this.ah:this.a6;break;case"ViewBoxTop":this.at=i.isNaN_(this.a7)?i.isNaN_(this.ai)?0:this.ai:this.a7;break;case"ViewBoxWidth":this.au=i.isNaN_(this.a8)?i.isNaN_(this.aj)?24:this.aj:this.a8;break;case"ViewBoxHeight":this.ar=i.isNaN_(this.a5)?i.isNaN_(this.ag)?24:this.ag:this.a5;break;case"ActualViewBoxLeft":case"ActualViewBoxTop":case"ActualViewBoxWidth":case"ActualViewBoxHeight":this.view.a1();break;case"Width":case"Height":this.view.av()}},n.prototype.dc=function(){var t=null!=this.fill?this.fill:n.dx,e=null!=this.ea?this.ea:n.d1,r=i.isNaN_(this.a4)?n.aw:this.a4,o=null!=this.eb?this.eb:n.d2;this.v?(this.du=null!=this.d3?this.d3:t,this.dv=null!=this.d4?this.d4:e,this.aq=i.isNaN_(this.a2)?r:this.a2,this.dw=null!=this.d5?this.d5:o):(this.du=t,this.dv=e,this.aq=r,this.dw=o)},Object.defineProperty(n.prototype,"t",{get:function(){return null!=this.svgPath&&!this.view.m},enumerable:!1,configurable:!0}),n.prototype.db=function(){i.NativeUI.y(this.view.aa,this.a3)},n.prototype.cz=function(){this.view.ag()},n.prototype.da=function(){this.view.aa;if(this.t){var t=this.view.ab;i.NativeUI.r(t,this.du),i.NativeUI.aa(t,this.dv),i.NativeUI.ad(t,this.aq)}else{var e=this.j();e!=this.k&&(this.k=e,this.view.ai());var n=!1;if(null!=this.df)this.view.as(this.df,this.bf);else if(null!=this.svgPath)i.stringStartsWith(i.trimStart(this.svgPath," ","\n","\r","\t"),"<svg")?(this.view.ax(this.svgPath),n=!0):this.view.ay(this.svgPath);else{if(null!=this.b){this.view.az(this.b);var r=this.view.c;if(null!=r&&r.length>0){var o=i.NativeUI.r,s=i.NativeUI.aa;this.c7(),o=i.runOn(this.view,this.view.aq),s=i.runOn(this.view,this.view.ar);for(var a=0;a<r.length;a++)null!=this.du&&o(r[a],this.du),null!=this.dv&&s(r[a],this.dv),i.isNaN_(this.aq)||i.NativeUI.ad(r[a],this.aq),null!=this.dw&&i.NativeUI.q(r[a],this.dw),null!=this.e&&this.e.count==r.length&&o(r[a],this.e.item(a)),null!=this.f&&this.f.count==r.length&&s(r[a],this.f.item(a))}return void(null!=this.o&&this.view.a0(this.o))}null!=this.svg?(this.view.ax(this.svg),n=!0):null!=this.b0?this.view.at(this.b0):null!=this.bh&&this.view.aw(this.bh)}if(n){for(var h=0;h<this.view.r.count;h++){var u=this.view.r._inner[h].c;i.NativeUI.r(this.view.r._inner[h].d,u.l.f(this.d6))}for(var l=0;l<this.view.s.count;l++){var c=this.view.s._inner[l].c;i.NativeUI.aa(this.view.s._inner[l].d,c.m.f(this.d7))}for(var p=0;p<this.view.t.count;p++){var d=this.view.t._inner[p].c;i.NativeUI.r(this.view.t._inner[p].d,d.l.f(this.d8))}for(var f=0;f<this.view.u.count;f++){var b=this.view.u._inner[f].c;i.NativeUI.aa(this.view.u._inner[f].d,b.m.f(this.d9))}for(var g=0;g<this.view.e.o.count;g++){var y=this.view.e.o._inner[g].split("-"),m=parseInt(y[y.length-1]);if(m<this.e.count)for(var v=0;v<this.view.e.q._inner[g].count;v++){var _=this.view.e.q._inner[g]._inner[v].c;i.NativeUI.r(this.view.e.q._inner[g]._inner[v].d,_.l.f(this.e.item(m)))}}for(var C=0;C<this.view.f.o.count;C++){var k=this.view.f.o._inner[C].split("-"),x=parseInt(k[k.length-1]);if(x<this.f.count)for(var B=0;B<this.view.f.q._inner[C].count;B++){var j=this.view.f.q._inner[C]._inner[B].c;i.NativeUI.aa(this.view.f.q._inner[C]._inner[B].d,j.m.f(this.f.item(x)))}}for(var P=0;P<this.view.q.count;P++){var T=this.view.q._inner[P].c;i.NativeUI.r(this.view.q._inner[P].d,T.l.f(this.du)),i.NativeUI.aa(this.view.q._inner[P].d,T.m.f(this.dv))}}var w=this.view.aa;null!=this.du&&i.NativeUI.r(w,this.du),null!=this.dv&&i.NativeUI.aa(w,this.dv),i.isNaN_(this.aq)||i.NativeUI.ad(w,this.aq)}null!=this.o&&this.view.a0(this.o),null!=this.dw&&i.NativeUI.q(this.view.aa,this.dw)},n.prototype.c7=function(){var t,n,r,o;if(null!=this.du&&this.view.ap(this.du,"fill"),null!=this.dv&&this.view.ap(this.dv,"stroke"),null!=this.e)try{for(var s=e.__values(i.fromEnum(this.e)),a=s.next();!a.done;a=s.next()){var h=a.value;this.view.ap(h,"fills")}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}if(null!=this.f)try{for(var u=e.__values(i.fromEnum(this.f)),l=u.next();!l.done;l=u.next()){var c=l.value;this.view.ap(c,"strokes")}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}},n.prototype.j=function(){var t=5;return null!=this.svgPath?t=1:null!=this.b&&this.b.length>0?t=2:null!=this.svg?t=0:null!=this.b0?t=3:null!=this.bh&&(t=4),t},Object.defineProperty(n.prototype,"m",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.c5("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"du",{get:function(){return this.dg},set:function(t){var e=this.dg;this.dg=t,e!=this.dg&&this.c5("ActualFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dv",{get:function(){return this.dh},set:function(t){var e=this.dh;this.dh=t,e!=this.dh&&this.c5("ActualStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dw",{get:function(){return this.di},set:function(t){var e=this.di;this.di=t,e!=this.di&&this.c5("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.c5("ActualStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return this.dj},set:function(t){var e=this.dj;this.dj=t,e!=this.dj&&this.c5("Fill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ea",{get:function(){return this.ds},set:function(t){var e=this.ds;this.ds=t,e!=this.ds&&this.c5("Stroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.c5("StrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eb",{get:function(){return this.dt},set:function(t){var e=this.dt;this.dt=t,e!=this.dt&&this.c5("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.dk},set:function(t){var e=this.dk;this.dk=t,e!=this.dk&&this.c5("HoverFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d4",{get:function(){return this.dl},set:function(t){var e=this.dl;this.dl=t,e!=this.dl&&this.c5("HoverStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.c5("HoverStrokeThickness",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d5",{get:function(){return this.dm},set:function(t){var e=this.dm;this.dm=t,e!=this.dm&&this.c5("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.c5("FillColors",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.c5("StrokeColors",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d6",{get:function(){return this.dn},set:function(t){var e=this.dn;this.dn=t,e!=this.dn&&this.c5("PrimaryFillColor",e,this.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d7",{get:function(){return this.dp},set:function(t){var e=this.dp;this.dp=t,e!=this.dp&&this.c5("PrimaryStrokeColor",e,this.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d8",{get:function(){return this.dq},set:function(t){var e=this.dq;this.dq=t,e!=this.dq&&this.c5("SecondaryFillColor",e,this.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d9",{get:function(){return this.dr},set:function(t){var e=this.dr;this.dr=t,e!=this.dr&&this.c5("SecondaryStrokeColor",e,this.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.c5("Source",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.c5("DataURL",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.c5("SVGPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.c5("SVG",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.c5("SVGPaths",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"df",{get:function(){return this.de},set:function(t){var e=this.de;this.de=t,e!=this.de&&this.c5("DataTemplate",e,this.de)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.c5("DataTemplateContext",e,this.bd)},enumerable:!1,configurable:!0}),n.prototype.c3=function(){this.v=!0},n.prototype.c4=function(){this.v=!1},Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.c5("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.c5("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,this.p=!0,e!=this.ba&&this.c5("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.c5("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.c5("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.c5("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.c5("Opacity",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.c5("ActualViewBoxLeft",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.c5("ViewBoxLeft",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.c5("ActualViewBoxTop",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.c5("ViewBoxTop",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.c5("ActualViewBoxWidth",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.c5("ViewBoxWidth",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.c5("ActualViewBoxHeight",e,this.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.c5("ViewBoxHeight",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.c5("Width",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.c5("Height",e,this.ad)},enumerable:!1,configurable:!0}),n.prototype.c6=function(){},n.prototype.onDetachedFromUI=function(){this.view.am()},n.prototype.onAttachedToUI=function(){this.view.aj()},n.prototype.x=function(){if(this.disabled)return!1;if(null!=this.clicked){var t=new v;return this.clicked(this,t),t.handled}return!1},n.prototype.w=function(){return this.view.l()},n.prototype.bg=function(){return this.g()},n.prototype.b2=function(){return this.g().l()},n.prototype.g=function(){var t=new _,e=this.view.b();t.i=e[0],t.g=e[1];var n=this.view.a2();if(t.f=n.height,t.j=n.width,t.a=this.view.a(),t.svg=this.svg,t.svgPath=this.svgPath,t.k=this.b0,null!=this.o){var r=this.o;if(null!=this.view&&null==r.q){var o=this.view.v,s=i.FontUtil.getFontInfoFromString(o,r.fontString);r.q=s.q,r.f=s.f,r.r=s.r,r.t=s.t,r.u=s.u,r.v=s.v}null!=r.q&&(t.o=r.q),i.isNaN_(r.f)||(t.h=r.f),null!=r.v&&(t.s=r.v),null!=r.t&&(t.q=r.t),null!=r.r&&(t.p=r.t)}return t},n.prototype.provideContainer=function(t){this.view.al(t)},n.prototype.dd=function(t,e,n,r){this.ah=t,this.ai=e,this.aj=n,this.ag=r,this.aa=i.isNaN_(this.a6)?i.isNaN_(this.ah)?0:this.ah:this.a6,this.ab=i.isNaN_(this.a7)?i.isNaN_(this.ai)?0:this.ai:this.a7,this.ac=i.isNaN_(this.a8)?i.isNaN_(this.aj)?24:this.aj:this.a8,this.z=i.isNaN_(this.a5)?i.isNaN_(this.ag)?24:this.ag:this.a5,this.view.a1()},n.$t=i.markType(n,"XIcon",i.Base.$,[i.INotifyPropertyChanged_$type,i.IIcon_$type]),n.dx=null,n.d2=null,n.d1=null,n.dy=null,n.dz=null,n.d0=null,n.aw=NaN,n.av=NaN,n.bc=0,n}(i.Base),x=function(t){function n(){var n=t.call(this)||this;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._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("iconContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._icon=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._icon.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new k},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-icon"),this.classList.add("igc-x-icon"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXIconComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXIconComponent=t}return n._observedAttributesIgcXIconComponent},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.m},set:function(t){this.i.m=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFill",{get:function(){return i.brushToString(this.i.du)},set:function(t){this.i.du=i.stringToBrush(t),this._a("actualFill",i.brushToString(this.i.du))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStroke",{get:function(){return i.brushToString(this.i.dv)},set:function(t){this.i.dv=i.stringToBrush(t),this._a("actualStroke",i.brushToString(this.i.dv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.dw)},set:function(t){this.i.dw=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.dw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStrokeWidth",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("actualStrokeWidth",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return i.brushToString(this.i.fill)},set:function(t){this.i.fill=i.stringToBrush(t),this._a("fill",i.brushToString(this.i.fill))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stroke",{get:function(){return i.brushToString(this.i.ea)},set:function(t){this.i.ea=i.stringToBrush(t),this._a("stroke",i.brushToString(this.i.ea))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"strokeWidth",{get:function(){return this.i.a4},set:function(t){this.i.a4=+t,this._a("strokeWidth",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.eb)},set:function(t){this.i.eb=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.eb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverFill",{get:function(){return i.brushToString(this.i.d3)},set:function(t){this.i.d3=i.stringToBrush(t),this._a("hoverFill",i.brushToString(this.i.d3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStroke",{get:function(){return i.brushToString(this.i.d4)},set:function(t){this.i.d4=i.stringToBrush(t),this._a("hoverStroke",i.brushToString(this.i.d4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStrokeThickness",{get:function(){return this.i.a2},set:function(t){this.i.a2=+t,this._a("hoverStrokeThickness",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.d5)},set:function(t){this.i.d5=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.d5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fillColors",{get:function(){return i.fromBrushCollection(this.i.e)},set:function(t){this.i.e=i.toBrushCollection(t),this._a("fillColors",i.brushCollectionToString(this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"strokeColors",{get:function(){return i.fromBrushCollection(this.i.f)},set:function(t){this.i.f=i.toBrushCollection(t),this._a("strokeColors",i.brushCollectionToString(this.i.f))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryFillColor",{get:function(){return i.brushToString(this.i.d6)},set:function(t){this.i.d6=i.stringToBrush(t),this._a("primaryFillColor",i.brushToString(this.i.d6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryStrokeColor",{get:function(){return i.brushToString(this.i.d7)},set:function(t){this.i.d7=i.stringToBrush(t),this._a("primaryStrokeColor",i.brushToString(this.i.d7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryFillColor",{get:function(){return i.brushToString(this.i.d8)},set:function(t){this.i.d8=i.stringToBrush(t),this._a("secondaryFillColor",i.brushToString(this.i.d8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryStrokeColor",{get:function(){return i.brushToString(this.i.d9)},set:function(t){this.i.d9=i.stringToBrush(t),this._a("secondaryStrokeColor",i.brushToString(this.i.d9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"source",{get:function(){return this.i.bh},set:function(t){this.i.bh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataURL",{get:function(){return this.i.b0},set:function(t){this.i.b0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this.i.svgPath},set:function(t){this.i.svgPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this.i.svg},set:function(t){this.i.svg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sVGPaths",{get:function(){return this.i.b},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.o?null:this.i.o.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.o=e,this._a("textStyle",null!=this.i.o?this.i.o.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.ca},set:function(t){this.i.ca=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("tabIndex",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bv},set:function(t){this.i.bv=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureBool(t),this._a("isHover",this.i.v)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"opacity",{get:function(){return this.i.a3},set:function(t){this.i.a3=+t,this._a("opacity",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxLeft",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("actualViewBoxLeft",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxLeft",{get:function(){return this.i.a6},set:function(t){this.i.a6=+t,this._a("viewBoxLeft",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxTop",{get:function(){return this.i.at},set:function(t){this.i.at=+t,this._a("actualViewBoxTop",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxTop",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("viewBoxTop",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxWidth",{get:function(){return this.i.au},set:function(t){this.i.au=+t,this._a("actualViewBoxWidth",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxWidth",{get:function(){return this.i.a8},set:function(t){this.i.a8=+t,this._a("viewBoxWidth",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualViewBoxHeight",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxHeight",{get:function(){return this.i.a5},set:function(t){this.i.a5=+t,this._a("viewBoxHeight",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.a9},set:function(t){this.i.a9=+t,this._a("width",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.a1},set:function(t){this.i.a1=+t,this._a("height",this.i.a1)},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("XIconComponent");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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.bg()},n.prototype.exportSerializedVisualModel=function(){return this.i.b2()},n._observedAttributesIgcXIconComponent=null,n.htmlTagName="igc-x-icon",n._isElementRegistered=!1,n}(i.IgcHTMLElement),B=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),x.register(),i.TypeRegistrar.registerCons("IgcXIconComponent",x),i.TypeRegistrar.registerCons("IgcXIconComponent",x),i.TypeRegistrar.register("XIcon",k.$type)},t}(),j=function(t){return t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday",t}({}),P=i.markEnum("DayOfWeek","Sunday,0|Monday,1|Tuesday,2|Wednesday,3|Thursday,4|Friday,5|Saturday,6"),T=function(t){function n(){var e=t.call(this)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"DayInfo"),n}(i.Base),w=function(t){return t[t.FirstDay=0]="FirstDay",t[t.FirstFullWeek=1]="FirstFullWeek",t[t.FirstFourDayWeek=2]="FirstFourDayWeek",t}({}),S=i.markEnum("FirstWeek","FirstDay,0|FirstFullWeek,1|FirstFourDayWeek,2"),O=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._oldValue=new Date,e._newValue=new Date,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this._oldValue},set:function(t){this._oldValue=t},enumerable:!1,configurable:!0}),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,"SelectedValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),I=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.h=0,e.e=null,e.g=null,e.c=null,e.f=null,e.d=null,e.b=null,e.a=null,e.r=null,e.s=null,e.t=null,e.m=0,e.p=null,e.q=null,e.n=null,e.j=null,e.k=null,e.l=null,e}return e.__extends(n,t),n.prototype.o=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("Density : "+this.i+", "),t.l("BaseTheme : "+this.h+", "),t.l("SelectedDateBackgroundColor : "+this.e.serialize()+", "),t.l("SelectedFocusDateBackgroundColor : "+this.g.serialize()+", "),t.l("FocusDateBackgroundColor : "+this.c.serialize()+", "),t.l("SelectedDateTextColor : "+this.f.serialize()+", "),t.l("FocusDateTextColor : "+this.d.serialize()+", "),t.l("CurrentDateTextColor : "+this.b.serialize()+", "),t.l("CurrentDateBorderColor : "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.r)||t.l('textStyleFontStyle : "'+this.r+'", '),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontVariant : "'+this.s+'", '),i.stringIsNullOrEmpty(this.t)||t.l('textStyleFontWeight : "'+this.t+'", '),i.stringIsNullOrEmpty(this.p)||t.l('textStyleFontFamily : "'+this.p+'", '),i.stringIsNullOrEmpty(this.q)||t.l('textStyleFontStretch : "'+this.q+'", '),i.isNaN_(this.m)||t.l("textStyleFontSize : "+this.m+", "),t.l('activePicker : "'+this.n+'", '),t.l("buttonsModels: [");for(var e=0;e<this.j.count;e++){0!=e&&t.l(",");this.j._inner[e].aa.charAt(0).toString().toLowerCase(),this.j._inner[e].aa.substr(1);t.l(this.j._inner[e].serialize())}t.l("],"),t.l("dayNamesModels: [");for(var n=0;n<this.k.count;n++)0!=n&&t.l(","),t.l(this.k._inner[n].h());t.l("],"),t.l("weekNumbersModels: [");for(var r=0;r<this.l.count;r++)0!=r&&t.l(","),t.l(this.l._inner[r].h());return t.l("]"),t.l("}"),t.toString()},n.$t=i.markType(n,"CalendarVisualModelExport"),n}(i.Base),N=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.d=0,e.c=0,e.f=0,e.g=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.prototype.h=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.e+", "),t.l("left : "+this.d+", "),t.l("height : "+this.c+", "),t.l("width : "+this.f+", "),null!=this.g&&t.l('value : "'+this.g.toString()+'", '),t.l("textColor : "+this.b.serialize()+", "),null!=this.a&&t.l("borderColor : "+this.a.serialize()+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"TextElementsVisualModelExport"),n}(i.Base),U=function(t){function n(){var e=t.call(this)||this;return e.n=null,e.o=null,e.t=null,e.q=null,e.u=null,e.s=null,e.r=null,e.g=new i.List$1(i.DomWrapper_$type,0),e.f=new i.List$1(i.DomWrapper_$type,0),e.h=new i.List$1(i.DomWrapper_$type,0),e.j=new i.List$1(i.DomWrapper_$type,0),e.i=new i.List$1(i.DomWrapper_$type,0),e.e=new i.List$1(i.DomWrapper_$type,0),e.p=null,e.x=null,e.w=0,e.c=null,e.m=null,e.x="day",e.p=null,e}return e.__extends(n,t),n.prototype.k=function(){return this.e},n.prototype.l=function(){return this.i},n.prototype.ap=function(){},n.prototype.ao=function(t){if(null!=t){this.m=t,this.m.rootWrapper.setStyleProperty("background-color","rgb(255, 255, 255)");Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.ab(),this.a3(),this.a4(),this.a1();var e=this.m.rootWrapper;e.listen("keydown",i.runOn(this,this.aa)),e.listen("focus",i.runOn(this,this.z))}else this.m=null},n.prototype.y=function(){return this.x},n.prototype.ab=function(){if(null!=this.m){this.n=this.m.createElement("div"),this.n.setStyleProperty("display","flex"),this.n.setStyleProperty("width","100%"),this.n.setStyleProperty("height","100%"),this.o=this.m.createElement("div"),this.o.setStyleProperty("height","100%"),this.o.setStyleProperty("width","100%"),this.t=this.m.createElement("div"),this.ae(),this.n.append(this.o),this.m.append(this.n);for(var t=0;t<42;t++){var e=this.m.createElement("div");this.f.add(e)}this.ac(),this.a9(),this.q=this.m.createElement("div"),this.q.setStyleProperty("height","100%"),this.m.append(this.q);for(var n=0;n<12;n++){var r=this.m.createElement("div");this.h.add(r)}this.ad();for(var o=0;o<12;o++){this.q.getChildAt(o).listen("click",i.runOn(this,this.aj))}this.q.hide(),this.u=this.m.createElement("div"),this.u.setStyleProperty("height","100%"),this.m.append(this.u);for(var s=0;s<7;s++){var a=this.m.createElement("div");this.j.add(a)}this.af();for(var h=0;h<7;h++){this.u.getChildAt(h).listen("click",i.runOn(this,this.be))}this.u.listen("wheel",i.runOn(this,this.bh)),this.u.listen("touchstart",i.runOn(this,this.bg)),this.u.listen("touchmove",i.runOn(this,this.bf)),this.u.hide()}},n.prototype.ae=function(){if(null!=this.m){this.t.setStyleProperty("display","flex"),this.t.setStyleProperty("flex-direction","column"),this.t.setStyleProperty("padding-top","26px"),this.t.setStyleProperty("width","12%");for(var t=this.c.ag(),e=0;e<6;e++){var i=this.m.createElement("div");i.setAttribute("aria-hidden","true"),i.setStyleProperty("text-align","center"),i.setStyleProperty("vertical-align","middle"),i.setStyleProperty("height","30px"),i.setStyleProperty("width","25px"),i.setStyleProperty("border-width","0px 1px 0px 0px"),i.setStyleProperty("border-style","solid"),i.setStyleProperty("border-color","rgb(163, 172, 184)");var n=this.m.createElement("span");n.setAttribute("aria-hidden","true"),n.setStyleProperty("font","14px Verdana"),n.setStyleProperty("color","rgb(24, 29, 31)"),i.append(n),this.i.add(n),n.setText(t._inner[e].toString()),this.t.append(i)}}},n.prototype.a5=function(){if(null!=this.t){var t=this.c.ag();this.i.clear();for(var e=0;e<6;e++){var i=this.t.getChildAt(e).getChildAt(0);i.setText(t._inner[e].toString()),this.i.add(i)}}},n.prototype.a9=function(){null!=this.t&&(1==this.c.af?(this.t.show(),this.t.setStyleProperty("width","12%"),this.t.parent().setStyleProperty("max-width","245px"),this.t.parent().getChildAt(1).setStyleProperty("width","88%")):(this.t.hide(),this.t.parent().setStyleProperty("max-width","231px"),this.t.parent().getChildAt(1).setStyleProperty("width","100%")))},n.prototype.ac=function(){if(null!=this.m){this.o.setStyleProperty("display","flex"),this.o.setStyleProperty("flex-direction","column"),this.o.setStyleProperty("justify-content","space-evenly");var t=this.m.createElement("div");t.setStyleProperty("display","flex"),t.setStyleProperty("justify-content","space-evenly"),t.setStyleProperty("width","100%"),t.setAttribute("role","row");var e=this.m.createElement("div");e.setStyleProperty("width","15%");var i=this.m.createElement("div");i.setStyleProperty("width","20%");var n=this.m.createElement("div");n.setStyleProperty("width","20%");var r=this.m.createElement("div");r.setStyleProperty("width","15%"),t.append(e),t.append(i),t.append(n),t.append(r),this.o.append(t);var o=this.m.createElement("div");o.setStyleProperty("width","100%"),o.setStyleProperty("height","100%"),o.setStyleProperty("display","flex"),o.setStyleProperty("flex-direction","row"),o.setStyleProperty("justify-content","space-evenly"),this.t.setStyleProperty("padding-bottom","6px"),o.append(this.t);var s=this.m.createElement("div");s.setStyleProperty("display","flex"),s.setStyleProperty("flex-direction","column"),s.setStyleProperty("width","88%"),s.setAttribute("role","grid"),s.setAttribute("aria-readonly","true"),o.append(s),this.o.append(o);for(var a=0,h=0;h<7;h++){var u=this.m.createElement("div");if(u.setAttribute("role","row"),u.setStyleProperty("display","flex"),u.setStyleProperty("justify-content","space-evenly"),0==h){for(var l=0;l<7;l++){var c=this.m.createElement("div");c.setAttribute("role","columnheader"),c.setAttribute("scope","col"),c.setStyleProperty("text-align","center"),c.setStyleProperty("vertical-align","middle"),c.setStyleProperty("width","12%");var p=this.m.createElement("span");p.setStyleProperty("font","16px Verdana"),p.setStyleProperty("color","rgb(24, 29, 31)"),c.append(p),this.e.add(p),u.append(c)}s.append(u)}else{for(var d=0;d<7;d++){var f=this.m.createElement("div");f.setAttribute("role","gridcell"),f.setStyleProperty("justify-content","center");var b=this.f._inner[a],g=this.m.createElement("span");g.setAttribute("aria-hidden","true"),b.append(g),this.ag(f,b,a),b.parent().setStyleProperty("max-height","30px"),b.parent().setStyleProperty("display","flex"),f.setStyleProperty("width","12%"),f.setStyleProperty("height","100%"),u.append(f),a++}s.append(u)}}this.s=this.m.createElement("div"),this.s.setStyleProperty("display","flex"),this.s.setStyleProperty("padding-bottom","4px");var y=this.m.createElement("div");y.setStyleProperty("width","100%"),y.setStyleProperty("justify-content","center"),this.r=this.m.createElement("div"),this.r.setAttribute("aria-hidden","true");var m=this.m.createElement("span");m.setAttribute("aria-hidden","true"),this.r.append(m),this.c.cm(y,this.r),this.r.parent().setAttribute("aria-hidden","true"),this.r.parent().parent().setAttribute("tabindex","-1"),this.r.parent().parent().setAttribute("aria-readonly","true"),this.r.parent().parent().setAttribute("aria-selected","false"),this.r.parent().parent().setAttribute("aria-disabled","false"),this.r.parent().parent().setAttribute("data-is-focusable","true"),this.s.append(y),this.o.append(this.s),this.a8(),this.c.cf()}},n.prototype.ad=function(){if(null!=this.m){this.q.setStyleProperty("display","flex"),this.q.setStyleProperty("flex-direction","row"),this.q.setStyleProperty("flex-wrap","wrap"),this.q.setStyleProperty("margin","2px"),this.q.setStyleProperty("justify-content","center"),this.q.setStyleProperty("width","100%"),this.q.setStyleProperty("height","100%"),this.q.setAttribute("role","grid"),this.q.setAttribute("aria-readonly","true");for(var t=0;t<12;t++){var e=this.m.createElement("div");e.setStyleProperty("margin","5px"),e.setAttribute("data-month",(t+1).toString());var i=this.h._inner[t];i.setAttribute("aria-hidden","true"),this.c.cl(e,i),e.setStyleProperty("width","28%"),e.getChildAt(0).setStyleProperty("width","100%");var n=this.m.createElement("span");n.setAttribute("aria-hidden","true");var r,o=t+1;r=this.c.e(o,t),i.parent().parent().setAttribute("aria-label",r[0]),n.setText(r[1]),i.append(n),i.parent().setAttribute("aria-hidden","true"),i.parent().parent().setAttribute("tabindex","-1"),i.parent().parent().setAttribute("aria-readonly","true"),i.parent().parent().setAttribute("aria-selected","false"),i.parent().parent().setAttribute("aria-disabled","false"),i.parent().parent().setAttribute("data-is-focusable","true"),i.setAttribute("data-index",t.toString()),this.q.append(e)}}},n.prototype.bd=function(){for(var t=0;t<12;t++){var e,i=this.h._inner[t],n=t+1;e=this.c.e(n,t),i.parent().parent().setAttribute("aria-label",e[0]),i.getChildAt(0).setText(e[1])}},n.prototype.af=function(){if(null!=this.m){this.u.setStyleProperty("width","100%"),this.u.setStyleProperty("height","100%");var t=this.c.aq.getFullYear()-3;this.u.setStyleProperty("padding","5px"),this.u.setAttribute("role","grid"),this.u.setAttribute("aria-readonly","true");for(var e=0;e<7;e++){var i=this.m.createElement("div"),n=this.j._inner[e];n.setAttribute("aria-hidden","true"),this.c.cn(i,n,e),n.parent().setAttribute("aria-hidden","true"),n.parent().parent().setAttribute("tabindex","-1"),n.parent().parent().setAttribute("aria-readonly","true"),n.parent().parent().setAttribute("aria-selected","false"),n.parent().parent().setAttribute("aria-disabled","false"),n.parent().parent().setAttribute("data-is-focusable","true"),i.setStyleProperty("width","100%"),i.setStyleProperty("height","14%"),i.setStyleProperty("justify-content","center"),i.getChildAt(0).setStyleProperty("width","98%");var r=this.m.createElement("span");r.setAttribute("aria-hidden","true"),r.setText(t.toString()),t++,n.setAttribute("data-index",e.toString()),n.append(r),this.u.append(i)}}},n.prototype.a8=function(){null!=this.m&&(1==this.c.ae?this.s.setStyleProperty("display","flex"):this.s.setStyleProperty("display","none"))},n.prototype.a3=function(){if(null!=this.m){for(var t=this.o.getChildAt(0),e=0;e<4;e++){var n=this.m.createElement("div");this.g.add(n)}var r=t.getChildAt(0),o=this.g._inner[0],s=this.m.createElement("div");s.setAttribute("aria-hidden","true"),o.append(s),this.c.ck(r,s,o,"prev"),o.parent().parent().setAttribute("aria-label","Previous Month"),o.parent().setStyleProperty("max-height","30px"),o.parent().setStyleProperty("display","flex"),o.setAttribute("data-index","0"),this.aw(o);var a=t.getChildAt(1),h=this.g._inner[1],u=this.m.createElement("span");u.setAttribute("aria-hidden","true"),h.append(u),this.c.cj(a,h,"month"),u=h.getChildAt(0);var l=this.c.bx();u.setText(l),h.parent().parent().setAttribute("aria-label","Select Month"),h.parent().setStyleProperty("min-width","40px"),h.parent().setStyleProperty("max-height","30px"),h.parent().setStyleProperty("display","flex"),h.setAttribute("data-index","1"),this.aw(h);var c=t.getChildAt(2),p=this.g._inner[2],d=this.m.createElement("span");d.setAttribute("aria-hidden","true"),p.append(d),this.c.cj(c,p,"year"),d=this.g._inner[2].getChildAt(0);var f=this.c.by();d.setText(f),p.parent().parent().setAttribute("aria-label","Select Year"),p.parent().setStyleProperty("min-width","40px"),p.parent().setStyleProperty("max-height","30px"),p.parent().setStyleProperty("display","flex"),p.setAttribute("data-index","2"),this.aw(p);var b=t.getChildAt(3),g=this.g._inner[3],y=this.m.createElement("div");y.setAttribute("aria-hidden","true"),g.append(y),this.c.ck(b,y,g,"next"),g.parent().parent().setAttribute("aria-label","Next Month"),g.parent().setStyleProperty("max-height","30px"),g.parent().setStyleProperty("display","flex"),g.setAttribute("data-index","3"),this.aw(g);for(var m=this.c.a(),v=0;v<this.g.count;v++)1==m[v]?this.g._inner[v].setAttribute("data-disabled","true"):this.g._inner[v].setAttribute("data-disabled","false");r.listen("click",i.runOn(this,this.aq)),b.listen("click",i.runOn(this,this.al)),a.listen("click",i.runOn(this,this.ak)),c.listen("click",i.runOn(this,this.bi))}},n.prototype.bc=function(){var t=this.g._inner[1].getChildAt(0),e=this.c.bx();t.setText(e)},n.prototype.aw=function(t){t.setAttribute("aria-hidden","true"),t.parent().setAttribute("aria-hidden","true"),t.parent().parent().setAttribute("tabindex","-1"),t.parent().parent().setAttribute("aria-readonly","true"),t.parent().parent().setAttribute("aria-selected","false"),t.parent().parent().setAttribute("aria-disabled","false"),t.parent().parent().setAttribute("data-is-focusable","true"),t.setAttribute("data-section","header"),t.setAttribute("data-disabled","false")},n.prototype.a4=function(){if(null!=this.m){var t=this.o.getChildAt(1).getChildAt(1).getChildAt(0),e=new i.List$1(P,0);switch(this.c.l){case 0:e.add(0),e.add(1),e.add(2),e.add(3),e.add(4),e.add(5),e.add(6);break;case 1:e.add(1),e.add(2),e.add(3),e.add(4),e.add(5),e.add(6),e.add(0);break;case 2:e.add(2),e.add(3),e.add(4),e.add(5),e.add(6),e.add(0),e.add(1);break;case 3:e.add(3),e.add(4),e.add(5),e.add(6),e.add(0),e.add(1),e.add(2);break;case 4:e.add(4),e.add(5),e.add(6),e.add(0),e.add(1),e.add(2),e.add(3);break;case 5:e.add(5),e.add(6),e.add(0),e.add(1),e.add(2),e.add(3),e.add(4);break;case 6:e.add(6),e.add(0),e.add(1),e.add(2),e.add(3),e.add(4),e.add(5)}this.e.clear();for(var n=0;n<e.count;n++){var r=t.getChildAt(n),o=r.getChildAt(0),s=this.c.d(e._inner[n]);r.setAttribute("title",s[0]),r.setAttribute("aria-label",s[0]),o.setText(s[1]),this.e.add(o)}}},n.prototype.a1=function(){if(null!=this.m){this.a2(),this.a5();for(var t=this.o.getChildAt(1).getChildAt(1),e=1;e<7;e++)for(var n=t.getChildAt(e),r=0;r<7;r++){n.getChildAt(r).listen("click",i.runOn(this,this.ah))}}},n.prototype.a2=function(t,e){if(void 0===t&&(t=!1),void 0===e&&(e=!1),null!=this.m){for(var n=null,r=null,o=null,s=this.c.value,a=this.c.aq,h=this.c.av,u=0;u<42;u++){var l=this.f._inner[u],c=l.getChildAt(0),p=this.c.j(u);if(null!=p)l.parent().parent().setAttribute("aria-label",p.c.toString()+"/"+p.b.toString()+"/"+p.d.toString()),l.setAttribute("data-section","days"),l.setAttribute("data-index",u.toString()),l.setAttribute("data-date",p.b.toString()+"/"+p.c.toString()+"/"+p.d.toString()),l.setAttribute("data-selected","false"),l.setAttribute("data-disabled","false"),l.setAttribute("data-today","false"),c.setText(p.b.toString()),+s!=+i.dateMinValue()&&p.b==s.getDate()&&p.c==i.dateGetMonth(s)&&p.d==s.getFullYear()?(n=l,l.parent().parent().setAttribute("aria-selected","true"),l.setAttribute("data-selected","true")):p.b==h.getDate()&&p.c==i.dateGetMonth(h)&&p.d==h.getFullYear()&&(r=l,l.setAttribute("data-today","true")),this.c.ad(u)&&l.setAttribute("data-disabled","true"),1==p.b&&p.c==i.dateGetMonth(a)&&(o=l)}if(1==t)if(null!=n&&+s!=+i.dateMinValue()&&s.getFullYear()==a.getFullYear()&&i.dateGetMonth(s)==i.dateGetMonth(a))this.d(n);else if(null!=r&&h.getFullYear()==a.getFullYear()&&i.dateGetMonth(h)==i.dateGetMonth(a))this.d(r);else if(null!=o){if(1==e)for(var d=41;d>=0;d--){if(this.c.j(d).c==i.dateGetMonth(a))if("false"==this.f._inner[d].getAttribute("data-disabled")){o=this.f._inner[d];break}}else for(var f=0;f<42;f++){if(this.c.j(f).c==i.dateGetMonth(a))if("false"==this.f._inner[f].getAttribute("data-disabled")){o=this.f._inner[f];break}}this.d(o)}}},n.prototype.ag=function(t,e,i){if(null!=this.m){e.setAttribute("aria-hidden","true");var n=this.m.createElement("span");n.setAttribute("aria-hidden","true"),e.append(n),this.c.ci(t,e,i),e.parent().setAttribute("aria-hidden","true"),e.parent().parent().setAttribute("tabindex","-1"),e.parent().parent().setAttribute("aria-readonly","true"),e.parent().parent().setAttribute("aria-selected","false"),e.parent().parent().setAttribute("aria-disabled","false"),e.parent().parent().setAttribute("data-is-focusable","true")}},n.prototype.at=function(t,e){if(null!=this.m){var i=this.m.getSubRenderer(t);e.provideContainer(i);i.getExternal(e,i.rootWrapper,i.getExternal(this.c,null,null))}},n.prototype.a0=function(t){this.r.getChildAt(0).setText(t),this.r.parent().parent().setAttribute("aria-label",t)},n.prototype.ax=function(t,e){if(null!=this.m){var i=this.m.getSubRenderer(t);e.provideContainer(i);i.getExternal(e,i.rootWrapper,i.getExternal(this.c,null,null))}},n.prototype.az=function(){if(null!=this.m){var t=this.g._inner[1].getChildAt(0),e=this.c.bx();t.setText(e);var i=this.g._inner[2].getChildAt(0),n=this.c.by();i.setText(n)}},n.prototype.au=function(t,e){if(void 0===t&&(t=!1),void 0===e&&(e=!1),null!=this.m){this.a2(t,e),this.a5();for(var i=this.c.a(),n=0;n<this.g.count;n++)1==i[n]?this.g._inner[n].setAttribute("data-disabled","true"):this.g._inner[n].setAttribute("data-disabled","false")}},n.prototype.ay=function(){if(null!=this.m&&0!=this.h.count){for(var t=null,e=null,n=0,r=0,o=0,s=0;s<12;s++){var a=this.h._inner[s];a.setAttribute("data-section","months"),a.setAttribute("data-disabled","false"),a.parent().parent().setAttribute("aria-selected","false");var h=s+1,u=this.c.value,l=this.c.av;+u!=+i.dateMinValue()&&i.dateGetMonth(u)==h&&(e=a,n=s,a.parent().parent().setAttribute("aria-selected","true")),i.dateGetMonth(l)==h&&(t=a,r=s),this.c.aa(s,h)&&a.setAttribute("data-disabled","true")}for(var c=0;c<this.h.count;c++){if("false"==this.h._inner[c].getAttribute("data-disabled")){o=c;break}}var p=this.h._inner[n].getAttribute("data-disabled"),d=this.h._inner[r].getAttribute("data-disabled"),f=this.h._inner[o].getAttribute("data-disabled");null!=e&&"false"==p?this.d(e):null!=t&&"false"==d?this.d(t):"false"==f?this.d(this.h._inner[o]):this.as()}},n.prototype.a7=function(){if(null!=this.m&&0!=this.j.count){var t=this.c.aq.getFullYear();this.a6(t,!0)}},n.prototype.a6=function(t,e){void 0===e&&(e=!1),t<this.c.au.getFullYear()&&(t=this.c.au.getFullYear()),t>this.c.at.getFullYear()&&(t=this.c.at.getFullYear());for(var i=t-3,n=!1,r=0;r<7;r++){var o=this.j._inner[r];o.setAttribute("data-section","years"),o.setAttribute("data-disabled","false"),o.parent().parent().setAttribute("aria-selected","false");var s=this.c.ab(r,i);o.setAttribute("data-disabled",s.toString()),o.getChildAt(0).setText(i.toString()),o.parent().parent().setAttribute("aria-label",i.toString()),i==t&&e&&0==s&&(o.parent().parent().setAttribute("aria-selected","true"),n=!0,this.d(o)),i++}if(0==n&&"false"==this.j._inner[3].getAttribute("data-disabled")){var a=this.j._inner[3];this.d(a)}},n.prototype.as=function(t){void 0===t&&(t=!1),this.au(),this.az(),this.x="day",this.n.show(),this.n.setStyleProperty("display","flex"),this.q.hide(),this.u.hide(),this.av(t),this.ai()},n.prototype.av=function(t){void 0===t&&(t=!1);for(var e=null,n=null,r=null,o=0;o<this.f.count;o++){var s=this.f._inner[o],a=i.parseBool(s.getAttribute("data-disabled").toString()),h=s.getAttribute("data-date").toString().split("/")[1],u=i.parseBool(s.getAttribute("data-selected").toString()),l=i.parseBool(s.getAttribute("data-today").toString());1==u&&(n=s),1==l&&(r=s);var c=i.dateGetMonth(this.c.aq).toString();0==a&&c==h&&null==e&&(e=s)}if(null!=r&&(e=r),null!=n&&0==t&&(e=n),null==e)for(var p=0;p<this.g.count;p++){if(0==i.parseBool(this.g._inner[p].getAttribute("data-disabled").toString())){e=this.g._inner[p];break}}null!=e&&this.d(e)},n.prototype.d=function(t){return null!=t&&(!i.parseBool(t.getAttribute("data-disabled").toString())&&(this.p=t,!0))},n.prototype.ai=function(){null!=this.p&&this.p.parent().parent().focus(!0)},n.prototype.ar=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),i.parseBool(this.g._inner[0].getAttribute("data-disabled").toString())||(this.c.cc(-1),this.au(t,e),this.az())},n.prototype.am=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),i.parseBool(this.g._inner[3].getAttribute("data-disabled").toString())||(this.c.cc(1),this.au(t,e),this.az())},n.prototype.ba=function(){this.n.hide(),this.q.show(),this.q.setStyleProperty("display","flex"),this.u.hide(),this.x="month",this.ay(),this.ai()},n.prototype.bb=function(){this.n.hide(),this.q.hide(),this.u.show(),this.x="year",this.a7(),this.ai()},n.prototype.z=function(t){},n.prototype.aa=function(t){var e=t.which;if("day"==this.x){var n=this.p.getAttribute("data-section").toString(),r=parseInt(this.p.getAttribute("data-index").toString());if("header"==n)if(37==e)if(r>0){var o=this.g._inner[r-1];0==this.d(o)&&r>1&&(o=this.g._inner[r-2],this.d(o)),this.ai()}else{this.ar(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.av(),this.ai())}else if(39==e)if(r<3){var s=this.g._inner[r+1];0==this.d(s)&&r<2&&(s=this.g._inner[r+2],this.d(s)),this.ai()}else{this.am(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.av(),this.ai())}else 9==e?t.shiftKey?this.c.cs():(t.preventDefault(),this.au(!0),this.ai()):13==e&&(t.preventDefault(),0==r?this.ar(!1):1==r?this.ba():2==r?this.bb():3==r&&this.am(!1));else if("days"==n){var a=this.p.getAttribute("data-date").toString().split("/"),h=a[0],u=a[1];if(37==e)if(0==r)this.ar(!0,!0),this.ai();else{var l=this.f._inner[r-1],c=l.getAttribute("data-date").toString().split("/"),p=c[0],d=c[1];if(u==d)this.d(l),this.ai();else{this.ar();var f=this.v(p,d);this.d(f),this.ai()}}else if(39==e)if(41==r)this.am(!0,!1),this.ai();else{var b=this.f._inner[r+1],g=b.getAttribute("data-date").toString().split("/"),y=g[0],m=g[1];if(u==m)this.d(b),this.ai();else{this.am();var v=this.v(y,m);this.d(v),this.ai()}}else if(40==e)if(r>=35){this.am();var _=this.v(h,u),C=parseInt(_.getAttribute("data-index").toString()),k=this.f._inner[C+7].getAttribute("data-date").toString().split("/"),x=k[0],B=k[1],j=this.v(x,B);this.d(j),this.ai()}else{var P=this.f._inner[r+7],T=P.getAttribute("data-date").toString().split("/"),w=T[0],S=T[1];if(u==S)this.d(P),this.ai();else{this.am();var O=this.v(w,S);this.d(O),this.ai()}}else if(38==e)if(r<=6){this.ar();var I=this.v(h,u),N=parseInt(I.getAttribute("data-index").toString()),U=this.f._inner[N-7].getAttribute("data-date").toString().split("/"),F=U[0],A=U[1],R=this.v(F,A);this.d(R),this.ai()}else{var D=this.f._inner[r-7],E=D.getAttribute("data-date").toString().split("/"),q=E[0],$=E[1];if(u==$)this.d(D),this.ai();else{this.ar();var W=this.v(q,$);this.d(W),this.ai()}}else if(34==e)this.am(),this.ai();else if(33==e)this.ar(),this.ai();else if(9==e)if(t.shiftKey){t.preventDefault();var G=this.g._inner[1];this.d(G),this.ai()}else this.c.cs()}}else if("month"==this.x){var z=parseInt(this.p.getAttribute("data-index").toString());if(37==e)if(0==z){var V=this.h._inner[11];this.d(V),this.ai()}else{var H=this.h._inner[z-1];this.d(H),this.ai()}else if(39==e)if(11==z){var M=this.h._inner[0];this.d(M),this.ai()}else{var L=this.h._inner[z+1];this.d(L),this.ai()}else if(40==e)if(z>=9){var X=this.h._inner[z-9];this.d(X),this.ai()}else{var Y=this.h._inner[z+3];this.d(Y),this.ai()}else if(38==e)if(z<=2){var K=this.h._inner[z+9];this.d(K),this.ai()}else{var J=this.h._inner[z-3];this.d(J),this.ai()}else 13==e&&(this.d(this.g._inner[1]),this.ai())}else if("year"==this.x){parseInt(this.p.getAttribute("data-index").toString());var Q=parseInt(this.j._inner[3].getChildAt(0).getText());40==e?(this.c.cz(Q,1),this.ai()):38==e?(this.c.cz(Q,-1),this.ai()):13==e&&(this.d(this.g._inner[2]),this.ai())}27==e&&(this.as(),this.c.cs()),1==t.altKey&&38==e&&(this.as(),this.c.cs())},n.prototype.v=function(t,e){for(var i=null,n=null,r=0;r<42;r++){var o=this.f._inner[r],s=o.getAttribute("data-date").toString().split("/"),a=s[0],h=s[1];if(e==h&&null==n&&(n=o),e==h&&t==a){i=o;break}}return null==i&&(i=n),i},n.prototype.aq=function(t){var e=this.g._inner[0];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.ar()},n.prototype.al=function(t){var e=this.g._inner[3];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.am()},n.prototype.ak=function(t){var e=this.g._inner[1];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.ba()},n.prototype.bi=function(t){var e=this.g._inner[2];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.bb()},n.prototype.ah=function(t){var e=t.originalEvent.currentTarget,n=e.textContent;if(""!=n){var r=e.lastChild.lastChild.lastChild;if(0==i.parseBool(r.getAttribute("data-disabled").toString())){var o=r.getAttribute("data-date").toString().split("/"),s=o[1],a=o[2];this.c.co(n,s,a)}}},n.prototype.aj=function(t){var e=t.originalEvent.currentTarget,n=e.getAttribute("data-month").toString();if(""!=n){var r=parseInt(n),o=e.lastChild.lastChild.lastChild;0==i.parseBool(o.getAttribute("data-disabled").toString())&&(this.c.cd(r),this.as())}},n.prototype.be=function(t){var e=t.originalEvent.currentTarget,n=e.innerText;if(""!=n){var r=parseInt(n),o=e.lastChild.lastChild.lastChild;0==i.parseBool(o.getAttribute("data-disabled").toString())&&(this.c.ce(r),this.as())}},n.prototype.bh=function(t){t.preventDefault();var e=t.originalEvent.deltaY,i=parseInt(this.j._inner[3].getChildAt(0).getText());this.c.cz(i,e)},n.prototype.bg=function(t){this.w=t.pageY},n.prototype.bf=function(t){var e=i.truncate((this.w-t.pageY)/6);if(e>1||e<-1){this.w=t.pageY;var n=parseInt(this.j._inner[3].getChildAt(0).getText());this.c.cz(n,e)}},n.prototype.a=function(){var t=this.m.rootWrapper.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.b=function(t){var e=t.getNativeElement().getBoundingClientRect(),i=e.top,n=e.left,r=new Array(2);return r[0]=i,r[1]=n,r},n.prototype.an=function(){},n.$t=i.markType(n,"CalendarView"),n}(i.Base),F=function(t){function n(){var e=t.call(this)||this;e.h=null,e.aq=i.dateNow(),e.am=new Date,e.ai=null,e.aj=null,e.ah=null,e.ak=null,e.al=null,e.g=null,e.ap=i.dateMinValue(),e.propertyChanged=null,e.close=null,e.selectedValueChanged=null,e.w=null,e.as=i.dateMinValue(),e.ar=i.dateNow(),e.ao=i.dateMinValue(),e.an=i.dateMaxValue(),e.s=3,e.q=1,e.c6=i.BrushUtil.j(0,255,255,255),e.dc=i.BrushUtil.j(255,33,150,243),e.de=i.BrushUtil.j(255,21,112,184),e.c9=i.BrushUtil.j(76,33,150,243),e.db=i.BrushUtil.j(50,186,191,199),e.df=i.BrushUtil.j(255,24,29,31),e.dd=i.BrushUtil.j(255,255,255,255),e.da=i.BrushUtil.j(255,24,29,31),e.c8=i.BrushUtil.j(255,33,150,243),e.c7=i.BrushUtil.j(255,33,150,243),e.y=!1,e.u=null,e.k=0,e.n=0,e.z=!1,e.am=i.dateAddYears(e.am,-200),e.ai=new i.ObservableCollection$1(T.$,0),e.aj=new i.ObservableCollection$1(b.$,0),e.ah=new i.ObservableCollection$1(b.$,0),e.ak=new i.ObservableCollection$1(b.$,0),e.al=new i.ObservableCollection$1(b.$,0);var n=new U;return n.c=e,e.h=n,e.h.ap(),e}return e.__extends(n,t),n.prototype.cs=function(){null!=this.close&&this.close(this)},n.prototype.cu=function(t){var e,n=this.as;this.as=t,null!=this.selectedValueChanged&&this.selectedValueChanged(this,((e=new O).oldValue=n,e.newValue=t,e)),+this.value!=+i.dateMinValue()&&(this.aq=this.value),this.cx()},n.prototype.co=function(t,e,n){var r=i.dateFromValues(parseInt(n),parseInt(e),parseInt(t),0,0,0,0);this.cu(r)},n.prototype.notifySizeChanged=function(){this.h.an()},n.prototype.destroy=function(){if(null!=this.g){var t=this.g;t.clicked=i.delegateRemove(t.clicked,i.runOn(this,this.c2))}this.provideContainer(null)},n.prototype.provideContainer=function(t){this.h.ao(t)},Object.defineProperty(n.prototype,"x",{get:function(){return null==this.w&&(this.w=new i.SRProvider(this.h.m),this.w.cb("Calendar")),this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.as},set:function(t){var e=this.as;this.ap=e,this.as=t,+e!=+this.as&&this.ct("Value",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,+e!=+this.ar&&this.ct("Today",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,+e!=+this.ao&&this.ct("MinDate",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,+e!=+this.an&&this.ct("MaxDate",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.ct("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.s))},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.ct("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dg",{get:function(){return this.c6},set:function(t){var e=this.c6;this.c6=t,e!=this.c6&&this.ct("BackgroundColor",e,this.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.dc},set:function(t){var e=this.dc;this.dc=t,e!=this.dc&&this.ct("SelectedDateBackgroundColor",e,this.dc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.de},set:function(t){var e=this.de;this.de=t,e!=this.de&&this.ct("SelectedFocusDateBackgroundColor",e,this.de)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dj",{get:function(){return this.c9},set:function(t){var e=this.c9;this.c9=t,e!=this.c9&&this.ct("FocusDateBackgroundColor",e,this.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dl",{get:function(){return this.db},set:function(t){var e=this.db;this.db=t,e!=this.db&&this.ct("HoverBackgroundColor",e,this.db)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dq",{get:function(){return this.df},set:function(t){var e=this.df;this.df=t,e!=this.df&&this.ct("TextColor",e,this.df)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dn",{get:function(){return this.dd},set:function(t){var e=this.dd;this.dd=t,e!=this.dd&&this.ct("SelectedDateTextColor",e,this.dd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dk",{get:function(){return this.da},set:function(t){var e=this.da;this.da=t,e!=this.da&&this.ct("FocusDateTextColor",e,this.da)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"di",{get:function(){return this.c8},set:function(t){var e=this.c8;this.c8=t,e!=this.c8&&this.ct("CurrentDateTextColor",e,this.c8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dh",{get:function(){return this.c7},set:function(t){var e=this.c7;this.c7=t,e!=this.c7&&this.ct("CurrentDateBorderColor",e,this.c7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.ct("ShowTodayButton",e,this.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.ct("TextStyle",e,this.u)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.ct("FirstDayOfWeek",i.enumGetBox(P,e),i.enumGetBox(P,this.k))},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.ct("FirstWeekOfYear",i.enumGetBox(S,e),i.enumGetBox(S,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.ct("ShowWeekNumbers",e,this.z)},enumerable:!1,configurable:!0}),n.prototype.ct=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cv(t,e,n)},n.prototype.cv=function(t,e,n){switch(t){case"Density":this.c0();break;case"BaseTheme":this.c1();break;case"Value":+this.value!=+i.dateMinValue()&&(i.dateGetDate(this.value)<i.dateGetDate(this.au)||i.dateGetDate(this.value)>i.dateGetDate(this.at))&&(this.value=this.ap),this.ap=this.value,+this.value!=+i.dateMinValue()&&(this.aq=this.value),this.cx();break;case"Today":var r=i.Base.compareSimple(this.av,this.au),o=i.Base.compareSimple(this.av,this.at);r<0?this.ar=this.au:o>0&&(this.ar=this.at),+this.value==+i.dateMinValue()&&(this.aq=this.av),this.cx();break;case"MaxDate":case"MinDate":i.Base.compareSimple(this.au,this.at)>=0&&(this.at=i.dateMaxValue());var s=i.Base.compareSimple(this.aq,this.au),a=i.Base.compareSimple(this.aq,this.at);s<0?this.aq=this.au:a>0&&(this.aq=this.at),this.cx();break;case"TextColor":case"SelectedDateTextColor":case"FocusDateTextColor":case"CurrentDateTextColor":case"CurrentDateBorderColor":case"BackgroundColor":case"FocusDateBackgroundColor":case"SelectedFocusDateBackgroundColor":case"SelectedDateBackgroundColor":case"HoverBackgroundColor":this.c3();break;case"TextStyle":this.c4();break;case"ShowTodayButton":this.h.a8();break;case"FirstDayOfWeek":this.cx();break;case"FirstWeekOfYear":case"ShowWeekNumbers":this.h.a9(),this.cx()}},n.prototype.c3=function(){for(var t=0;t<this.aj.count;t++)null!=this.dq&&(this.aj._inner[t].qd=this.dq),null!=this.dk&&(this.aj._inner[t].p9=this.dk),null!=this.dg&&(this.aj._inner[t].p3=this.dg),null!=this.dj&&(this.aj._inner[t].p8=this.dj),null!=this.dl&&(this.aj._inner[t].qa=this.dl);for(var e=0;e<this.ah.count;e++)null!=this.dq&&(this.ah._inner[e].qd=this.dq),null!=this.dk&&(this.ah._inner[e].p9=this.dk),null!=this.dg&&(this.ah._inner[e].p3=this.dg),null!=this.dj&&(this.ah._inner[e].p8=this.dj),null!=this.dl&&(this.ah._inner[e].qa=this.dl);for(var i=0;i<this.ak.count;i++)null!=this.dq&&(this.ak._inner[i].qd=this.dq),null!=this.dk&&(this.ak._inner[i].p9=this.dk),null!=this.dg&&(this.ak._inner[i].p3=this.dg),null!=this.dj&&(this.ak._inner[i].p8=this.dj),null!=this.dl&&(this.ak._inner[i].qa=this.dl);for(var n=0;n<this.al.count;n++)null!=this.dq&&(this.al._inner[n].qd=this.dq),null!=this.dk&&(this.al._inner[n].p9=this.dk),null!=this.dg&&(this.al._inner[n].p3=this.dg),null!=this.dj&&(this.al._inner[n].p8=this.dj),null!=this.dl&&(this.al._inner[n].qa=this.dl)},n.prototype.c4=function(){for(var t=0;t<this.aj.count;t++)null!=this.u&&(this.aj._inner[t].aa=this.u);for(var e=0;e<this.ah.count;e++)null!=this.u&&(this.ah._inner[e].aa=this.u);for(var i=0;i<this.ak.count;i++)null!=this.u&&(this.ak._inner[i].aa=this.u);for(var n=0;n<this.al.count;n++)null!=this.u&&(this.al._inner[n].aa=this.u)},n.prototype.cq=function(){this.cx(),this.h.av(),this.h.ai()},n.prototype.c1=function(){},n.prototype.c0=function(){},n.prototype.ch=function(){this.value=i.dateMinValue(),this.h.au()},n.prototype.cx=function(){this.c5(),this.h.a4(),this.cg(),this.h.az(),this.h.a7(),this.h.au()},n.prototype.c5=function(){var t=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.a0(t),this.h.bd(),this.h.bc()},n.prototype.cf=function(){this.cg()},n.prototype.ci=function(t,e,n){var r=new b;this.h.at(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d7=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.k1=o,r.k8=o,r.dp=0,r.appendButtonContent(e),r.qd=this.dq,r.p9=this.dk,r.p3=this.dg,r.p8=this.dj,r.qa=this.dl,r.by=30,r.bx=30,this.ah.add(r),r.h6="btnDays"+n.toString()},n.prototype.cm=function(t,e){var n=new b;this.h.at(t,n),n.n=this.r,n.r=this.t,n.aa=this.u,n.d7=-1,n.e=1,null!=this.u&&(n.aa=this.u);var r=new i.CornerRadius(0,2);n.k1=r,n.k8=r,n.dp=0,n.appendButtonContent(e);var o=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.a0(o),n.qd=this.dq,n.p9=this.dk,n.p3=this.dg,n.p8=this.dj,n.qa=this.dl,this.g=n;var s=this.g;s.clicked=i.delegateCombine(s.clicked,i.runOn(this,this.c2))},n.prototype.c2=function(t,e){this.aq=this.av,this.cg(),this.h.as(!0)},n.prototype.cl=function(t,e){var n=new b;this.h.at(t,n),n.n=this.r,n.r=this.t,n.aa=this.u,n.d7=-1,n.e=1,null!=this.u&&(n.aa=this.u);var r=new i.CornerRadius(0,2);n.k1=r,n.k8=r,n.dp=0,n.appendButtonContent(e),n.qd=this.dq,n.p9=this.dk,n.p3=this.dg,n.p8=this.dj,n.qa=this.dl,n.by=40,this.ak.add(n)},n.prototype.e=function(t,e){var n=new Array(2);switch(n[0]="",n[1]="",t){case 1:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("January_Full"))?"January":this.x.b1("January_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("January_Short"))?"Jan":this.x.b1("January_Short");break;case 2:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("February_Full"))?"February":this.x.b1("February_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("February_Short"))?"Feb":this.x.b1("February_Short");break;case 3:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("March_Full"))?"March":this.x.b1("March_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("March_Short"))?"Mar":this.x.b1("March_Short");break;case 4:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("April_Full"))?"April":this.x.b1("April_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("April_Short"))?"Apr":this.x.b1("April_Short");break;case 5:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("May_Full"))?"May":this.x.b1("May_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("May_Short"))?"May":this.x.b1("May_Short");break;case 6:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("June_Full"))?"June":this.x.b1("June_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("June_Short"))?"Jun":this.x.b1("June_Short");break;case 7:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("July_Full"))?"July":this.x.b1("July_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("July_Short"))?"Jul":this.x.b1("July_Short");break;case 8:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("August_Full"))?"August":this.x.b1("August_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("August_Short"))?"Aug":this.x.b1("August_Short");break;case 9:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("September_Full"))?"September":this.x.b1("September_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("September_Short"))?"Sep":this.x.b1("September_Short");break;case 10:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("October_Full"))?"October":this.x.b1("October_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("October_Short"))?"Oct":this.x.b1("October_Short");break;case 11:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("November_Full"))?"November":this.x.b1("November_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("November_Short"))?"Nov":this.x.b1("November_Short");break;case 12:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("December_Full"))?"December":this.x.b1("December_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("December_Short"))?"Dec":this.x.b1("December_Short")}return this.ak._inner[e].h6="btnMonth"+n[1],n},n.prototype.cn=function(t,e,n){var r=new b;this.h.at(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d7=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.k1=o,r.k8=o,r.dp=0,r.appendButtonContent(e),r.qd=this.dq,r.p9=this.dk,r.p3=this.dg,r.p8=this.dj,r.qa=this.dl,r.h6="btnYear"+n.toString(),this.al.add(r)},n.prototype.cg=function(){+this.aq==+i.dateMinValue()&&(this.aq=i.dateNow()),this.ai.clear();for(var t=i.dateAddDays(this.aq,-(this.aq.getDate()-1)),e=this.l,n=t.getDay();n!=e;)n=(t=i.dateAddDays(t,-1)).getDay();for(;this.ai.count<42;){var r=new T;r.b=t.getDate(),r.c=i.dateGetMonth(t),r.d=t.getFullYear(),r.a=t.getDay(),this.ai.add(r),t=i.dateAddDays(t,1)}},n.prototype.ag=function(){var t=new i.List$1(i.Number_$type,0);if(0==this.af){for(var e=0;e<6;e++)t.add(e);return t}for(var n=i.dateFromValues(this.aq.getFullYear(),i.dateGetMonth(this.aq),1,0,0,0,0),r=0;r<6;r++){var o=0;if(o=(this.o,this.ba(n,this.o,this.l)),(0==this.o||2==this.o)&&2==o&&53==t._inner[r-1])for(var s=n,a=0;a<6;a++)s.getDay()==this.l?s.getDate()>1?t._inner[r-1]=1:o=1:s.getDay()<this.l?s=i.dateAddDays(s,1):s.getDay()>this.l&&(s=i.dateAddDays(s,-1));t.add(o),n=i.dateAddDays(n,7)}return t},n.prototype.a9=function(t){var e=i.dateAddMonths(i.dateAddDays(t,1-t.getDate()),1-i.dateGetMonth(t)),n=i.dateAddDays(i.dateAddYears(e,1),-1),r=i.truncate(i.timeSpanTotalDays(+t-+e))+[6,7,8,9,10,4,5][e.getDay()],o=i.intDivide(r,7);switch(o){case 0:return this.a9(i.dateAddDays(e,-1));case 53:return n.getDay()<4?1:o;default:return o}},n.prototype.ba=function(t,e,i){if(i<0||i>6)return-1;switch(e){case 0:return this.a8(t,i);case 1:return this.bb(t,i,7);case 2:return this.bb(t,i,4)}return-1},n.prototype.a8=function(t,e){var n=this.a7(t)-1,r=(t.getDay()-n%7-e+14)%7;return i.intDivide(n+r,7)+1},n.prototype.bb=function(t,e,n){var r,o,s=this.a7(t)-1;return 0!=(r=(e-(t.getDay()-s%7)+14)%7)&&r>=n&&(r-=7),(o=s-r)>=0?i.intDivide(o,7)+1:t<=i.dateAddDays(this.au,s)?this.bc(e,n):this.bb(i.dateAddDays(t,-(s+1)),e,n)},n.prototype.bc=function(t,e){var n=this.a7(this.au)-1,r=this.m(this.au)-n%7,o=(t+7-r)%7;if(0==o||o>=e)return 1;var s=(t-(r-1-0)+14)%7,a=364-s;return s>=e&&(a+=7),i.intDivide(a,7)+1},n.prototype.a7=function(t){return this.a6(t,1)},n.prototype.m=function(t){return(i.intDivide(t.getTime(),864e9)+1)%7},n.prototype.a6=function(t,e){var r=this.bd(t.getFullYear(),i.dateGetMonth(t),t.getDate()),o=i.intDivide(r,864e9),s=i.intDivide(o,146097);o-=146097*s;var a=i.intDivide(o,36524);4==a&&(a=3),o-=36524*a;var h=i.intDivide(o,1461);o-=1461*h;var u=i.intDivide(o,365);if(4==u&&(u=3),0==e)return 400*s+100*a+4*h+u+1;if(o-=365*u,1==e)return o+1;for(var l=3==u&&(24!=h||3==a)?n.c:n.b,c=o>>6;o>=l[c];)c++;return 2==e?c:o-l[c-1]+1},n.prototype.bd=function(t,e,r){if(t>=1&&t<=9999&&e>=1&&e<=12){var o=n.ac(t)?n.c:n.b;if(r>=1&&r<=o[e]-o[e-1]){var s=t-1;return 864e9*(365*s+i.intDivide(s,4)-i.intDivide(s,100)+i.intDivide(s,400)+o[e-1]+r-1)}}return-1},n.ac=function(t){return t%4==0&&(t%100!=0||t%400==0)},n.prototype.ck=function(t,e,r,o){var s=new b;this.h.at(t,s),s.n=this.r,s.r=this.t,s.aa=this.u,s.d7=-1,s.e=1;var a=new i.CornerRadius(0,2);s.k1=a,s.k8=a,s.dp=0;var h=new k;this.h.ax(e,h),"prev"==o?(h.svgPath=n.bk,s.h6="btnPrev"):"next"==o&&(h.svgPath=n.bl,s.h6="btnNext"),s.appendButtonContent(r),s.qd=this.dq,s.p9=this.dk,s.p3=this.dg,s.p8=this.dj,s.qa=this.dl,s.by=28,s.bx=28,this.aj.add(s)},n.prototype.cj=function(t,e,n){var r=new b;this.h.at(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d7=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.k1=o,r.k8=o,r.dp=0,r.appendButtonContent(e),r.qd=this.dq,r.p9=this.dk,r.p3=this.dg,r.p8=this.dj,r.qa=this.dl,r.by=40,"month"==n?r.h6="btnMonth":"year"==n&&(r.h6="btnYear"),this.aj.add(r)},n.prototype.a=function(){var t=new Array(4);t[0]=!1,t[1]=!1,t[2]=!1,t[3]=!1;var e=this.aq.getFullYear(),n=i.dateGetMonth(this.aq);e==this.au.getFullYear()&&e==this.at.getFullYear()?(this.aj._inner[2].disabled=!0,n==i.dateGetMonth(this.au)&&n==i.dateGetMonth(this.at)?(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!0,this.aj._inner[3].disabled=!0):n==i.dateGetMonth(this.au)?(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):n==i.dateGetMonth(this.at)?(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!0):(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1)):(this.aj._inner[0].disabled=!1,this.aj._inner[2].disabled=!1,this.aj._inner[3].disabled=!1,e==this.au.getFullYear()?n==i.dateGetMonth(this.au)?(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):e==this.at.getFullYear()?n==i.dateGetMonth(this.at)?(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!0):(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):(e>this.at.getFullYear()||e<this.au.getFullYear())&&(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!0,this.aj._inner[3].disabled=!0));for(var r=0;r<this.aj.count;r++)t[r]=this.aj._inner[r].disabled;return t},n.prototype.bx=function(){var t="";switch(i.dateGetMonth(this.aq)){case 1:t=i.stringIsNullOrWhiteSpace(this.x.b1("January_Short"))?"Jan":this.x.b1("January_Short");break;case 2:t=i.stringIsNullOrWhiteSpace(this.x.b1("February_Short"))?"Feb":this.x.b1("February_Short");break;case 3:t=i.stringIsNullOrWhiteSpace(this.x.b1("March_Short"))?"Mar":this.x.b1("March_Short");break;case 4:t=i.stringIsNullOrWhiteSpace(this.x.b1("April_Short"))?"Apr":this.x.b1("April_Short");break;case 5:t=i.stringIsNullOrWhiteSpace(this.x.b1("May_Short"))?"May":this.x.b1("May_Short");break;case 6:t=i.stringIsNullOrWhiteSpace(this.x.b1("June_Short"))?"Jun":this.x.b1("June_Short");break;case 7:t=i.stringIsNullOrWhiteSpace(this.x.b1("July_Short"))?"Jul":this.x.b1("July_Short");break;case 8:t=i.stringIsNullOrWhiteSpace(this.x.b1("August_Short"))?"Aug":this.x.b1("August_Short");break;case 9:t=i.stringIsNullOrWhiteSpace(this.x.b1("September_Short"))?"Sep":this.x.b1("September_Short");break;case 10:t=i.stringIsNullOrWhiteSpace(this.x.b1("October_Short"))?"Oct":this.x.b1("October_Short");break;case 11:t=i.stringIsNullOrWhiteSpace(this.x.b1("November_Short"))?"Nov":this.x.b1("November_Short");break;case 12:t=i.stringIsNullOrWhiteSpace(this.x.b1("December_Short"))?"Dec":this.x.b1("December_Short")}return t},n.prototype.by=function(){return this.aq.getFullYear().toString()},n.prototype.d=function(t){var e=new Array(2);return e[0]="",e[1]="",0==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Sunday_Full"))?"Sunday":this.x.b1("Sunday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Sunday_Single"))?"S":this.x.b1("Sunday_Single")):1==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Monday_Full"))?"Monday":this.x.b1("Monday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Monday_Single"))?"M":this.x.b1("Monday_Single")):2==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Tuesday_Full"))?"Tuesday":this.x.b1("Tuesday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Tuesday_Single"))?"T":this.x.b1("Tuesday_Single")):3==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Wednesday_Full"))?"Wednesday":this.x.b1("Wednesday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Wednesday_Single"))?"W":this.x.b1("Wednesday_Single")):4==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Thursday_Full"))?"Thursday":this.x.b1("Thursday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Thursday_Single"))?"T":this.x.b1("Thursday_Single")):5==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Friday_Full"))?"Friday":this.x.b1("Friday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Friday_Single"))?"F":this.x.b1("Friday_Single")):6==t&&(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Saturday_Full"))?"Saturday":this.x.b1("Saturday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Saturday_Single"))?"S":this.x.b1("Saturday_Single")),e},n.prototype.j=function(t){return this.ai._inner[t]},n.prototype.ad=function(t){var e=this.ai._inner[t],n=this.ah._inner[t];return+this.value!=+i.dateMinValue()&&e.b==this.value.getDate()&&e.c==i.dateGetMonth(this.value)&&e.d==this.value.getFullYear()?(n.qd=this.dn,n.p9=this.dn,n.p3=this.dm,n.p8=this.dp,n.p4=this.dg):e.b==this.av.getDate()&&e.c==i.dateGetMonth(this.av)&&e.d==this.av.getFullYear()?(n.qd=this.di,n.p9=this.dk,n.p3=this.dg,n.p8=this.dj,n.p4=this.dh,n.bv=1):(0!=e.a&&6!=e.a&&(e.c,i.dateGetMonth(this.aq)),n.qd=this.dq,n.p9=this.dk,n.p3=this.dg,n.p8=this.dj,n.p4=this.dg),e.d>=this.au.getFullYear()&&e.d<=this.at.getFullYear()?e.d==this.au.getFullYear()&&e.d==this.at.getFullYear()?e.c==i.dateGetMonth(this.au)&&e.c==i.dateGetMonth(this.at)?e.b>=this.au.getDate()&&e.b<=this.at.getDate()?n.disabled=!1:n.disabled=!0:e.c>=i.dateGetMonth(this.au)&&e.c<=i.dateGetMonth(this.at)?e.c==i.dateGetMonth(this.au)?e.b>=this.au.getDate()?n.disabled=!1:n.disabled=!0:e.c==i.dateGetMonth(this.at)?e.b<=this.at.getDate()?n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0:e.d==this.au.getFullYear()?e.c>=i.dateGetMonth(this.au)?e.c==i.dateGetMonth(this.au)?e.b>=this.au.getDate()?n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0:e.d==this.at.getFullYear()?e.c<=i.dateGetMonth(this.at)?e.c==i.dateGetMonth(this.at)?e.b<=this.at.getDate()?n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0,n.disabled},n.prototype.aa=function(t,e){return this.aq.getFullYear()>=this.au.getFullYear()&&this.aq.getFullYear()<=this.at.getFullYear()?this.aq.getFullYear()==this.au.getFullYear()&&this.aq.getFullYear()==this.at.getFullYear()?e<i.dateGetMonth(this.au)||e>i.dateGetMonth(this.at)?this.ak._inner[t].disabled=!0:this.ak._inner[t].disabled=!1:this.aq.getFullYear()==this.au.getFullYear()?e<i.dateGetMonth(this.au)?this.ak._inner[t].disabled=!0:this.ak._inner[t].disabled=!1:this.aq.getFullYear()==this.at.getFullYear()&&e>i.dateGetMonth(this.at)?this.ak._inner[t].disabled=!0:this.ak._inner[t].disabled=!1:this.ak._inner[t].disabled=!0,this.ak._inner[t].disabled},n.prototype.ab=function(t,e){return e<this.au.getFullYear()||e>this.at.getFullYear()?this.al._inner[t].disabled=!0:this.al._inner[t].disabled=!1,this.al._inner[t].disabled},n.prototype.cc=function(t){this.aq=i.dateAddMonths(this.aq,t),this.cg()},n.prototype.cd=function(t){this.aq=i.dateFromValues(this.aq.getFullYear(),t,this.aq.getDate(),0,0,0,0),this.cg()},n.prototype.ce=function(t){var e=i.dateGetMonth(this.aq),n=this.aq.getDate();t==this.au.getFullYear()&&t==this.at.getFullYear()?e<i.dateGetMonth(this.au)?(e=i.dateGetMonth(this.au),n<this.au.getDate()&&(n=this.au.getDate())):e>i.dateGetMonth(this.at)?(e=i.dateGetMonth(this.at),n>this.at.getDate()&&(n=this.at.getDate())):e==i.dateGetMonth(this.au)&&e==i.dateGetMonth(this.at)?n<this.au.getDate()?n=this.au.getDate():n>this.at.getDate()&&(n=this.at.getDate()):e==i.dateGetMonth(this.au)?n<this.au.getDate()&&(n=this.au.getDate()):e==i.dateGetMonth(this.at)&&n>this.at.getDate()&&(n=this.at.getDate()):t==this.au.getFullYear()?e<i.dateGetMonth(this.au)?(e=i.dateGetMonth(this.au),n<this.au.getDate()&&(n=this.au.getDate())):e==i.dateGetMonth(this.au)&&n<this.au.getDate()&&(n=this.au.getDate()):t==this.at.getFullYear()&&(e>i.dateGetMonth(this.at)?(e=i.dateGetMonth(this.at),n>this.at.getDate()&&(n=this.at.getDate())):e==i.dateGetMonth(this.at)&&n>this.at.getDate()&&(n=this.at.getDate())),this.aq=i.dateFromValues(t,e,n,0,0,0,0),this.cg()},n.prototype.cz=function(t,e){e<0?t--:t++,this.h.a6(t)},n.prototype.cy=function(){this.h.as()},n.prototype.bj=function(){return this.f()},n.prototype.bs=function(){return this.f().o()},n.prototype.f=function(){var t=new I;t.i=this.t,t.h=this.r,t.e=i.AppearanceHelper.a(this.dm),t.g=i.AppearanceHelper.a(this.dp),t.c=i.AppearanceHelper.a(this.dj),t.f=i.AppearanceHelper.a(this.dn),t.d=i.AppearanceHelper.a(this.dk),t.b=i.AppearanceHelper.a(this.di),t.a=i.AppearanceHelper.a(this.dh),t.j=new i.List$1(d.$,0),t.k=new i.List$1(N.$,0),t.l=new i.List$1(N.$,0);var e=this.h.y();t.n=e;var n=this.h.a(),r=n[0],o=n[1];if("day"==e){for(var s=0;s<this.aj.count;s++){null==this.aj._inner[s].h6&&(this.aj._inner[s].h6="header"+s.toString());var a=this.aj._inner[s].eb();a.s=a.s-r,a.q=a.q-o,t.j.add(a)}for(var h=0;h<this.ah.count;h++){null==this.ah._inner[h].h6&&(this.ah._inner[h].h6="days"+h.toString());var u=this.ah._inner[h].eb();u.s=u.s-r,u.q=u.q-o,t.j.add(u)}if(1==this.ae){this.g.h6="todayButton";var l=this.g.eb();l.s=l.s-r,l.q=l.q-o,t.j.add(l)}for(var c=this.h.k(),p=0;p<c.count;p++){var f=new N,b=this.h.b(c._inner[p]);f.e=b[0]-r,f.d=b[1]-o,f.c=i.NativeUI.d(c._inner[p].parent()),f.f=i.NativeUI.k(c._inner[p].parent()),f.b=i.AppearanceHelper.a(i.NativeUI.al(c._inner[p])),f.g=c._inner[p].getText(),t.k.add(f)}if(1==this.af)for(var g=this.h.l(),y=0;y<g.count;y++){var m=new N,v=this.h.b(g._inner[y]);m.e=v[0]-r,m.d=v[1]-o,m.c=i.NativeUI.d(g._inner[y].parent()),m.f=i.NativeUI.k(g._inner[y].parent()),m.b=i.AppearanceHelper.a(i.NativeUI.al(g._inner[y])),m.a=i.AppearanceHelper.a(i.NativeUI.ak(g._inner[y])),m.g=g._inner[y].getText(),t.l.add(m)}}else if("month"==e)for(var _=0;_<this.ak.count;_++){null==this.ak._inner[_].h6&&(this.ak._inner[_].h6="months"+_.toString());var C=this.ak._inner[_].eb();C.s=C.s-r,C.q=C.q-o,t.j.add(C)}else if("year"==e)for(var k=0;k<this.al.count;k++){null==this.al._inner[k].h6&&(this.al._inner[k].h6="years"+k.toString());var x=this.al._inner[k].eb();x.s=x.s-r,x.q=x.q-o,t.j.add(x)}if(null!=this.v){var B=this.v;if(null!=this.h&&null==B.q){var j=this.h.m,P=i.FontUtil.getFontInfoFromString(j,B.fontString);B.q=P.q,B.f=P.f,B.r=P.r,B.t=P.t,B.u=P.u,B.v=P.v}null!=B.q&&(t.p=B.q),i.isNaN_(B.f)||(t.m=B.f),null!=B.v&&(t.t=B.v),null!=B.t&&(t.r=B.t),null!=B.r&&(t.q=B.t)}return t},n.$t=i.markType(n,"XCalendar",i.Base.$,[i.INotifyPropertyChanged_$type]),n.bk="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",n.bl="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",n.b=[0,31,59,90,120,151,181,212,243,273,304,334,365],n.c=[0,31,60,91,121,152,182,213,244,274,305,335,366],n}(i.Base),A=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()},Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.oldValue},set:function(t){this.i.oldValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),R=function(t){function n(){var e=t.call(this)||this;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._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._renderer=new i.WebComponentRenderer(e,document,!0,null),e._implementation=e.createImplementation(),e._container=e._renderer.createElement("div"),e._renderer.updateRoot(e._container);var n=e.i;return e._calendar=n,e._renderer.addSizeWatcher((function(){e._calendar.notifySizeChanged()})),e}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.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._calendar.destroy()},n.prototype.createImplementation=function(){return new F},n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-x-calendar"),this.classList.add("igc-x-calendar");var t=this._renderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._calendar.provideContainer(this._renderer),this._calendar.notifySizeChanged(),this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},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._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._observedAttributesIgcXCalendarComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXCalendarComponent=t}return n._observedAttributesIgcXCalendarComponent},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,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"today",{get:function(){return this.i.av},set:function(t){this.i.av=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this.i.au},set:function(t){this.i.au=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this.i.at},set:function(t){this.i.at=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.dg)},set:function(t){this.i.dg=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.dg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedDateBackgroundColor",{get:function(){return i.brushToString(this.i.dm)},set:function(t){this.i.dm=i.stringToBrush(t),this._a("selectedDateBackgroundColor",i.brushToString(this.i.dm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedFocusDateBackgroundColor",{get:function(){return i.brushToString(this.i.dp)},set:function(t){this.i.dp=i.stringToBrush(t),this._a("selectedFocusDateBackgroundColor",i.brushToString(this.i.dp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusDateBackgroundColor",{get:function(){return i.brushToString(this.i.dj)},set:function(t){this.i.dj=i.stringToBrush(t),this._a("focusDateBackgroundColor",i.brushToString(this.i.dj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.dl)},set:function(t){this.i.dl=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.dl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dq)},set:function(t){this.i.dq=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedDateTextColor",{get:function(){return i.brushToString(this.i.dn)},set:function(t){this.i.dn=i.stringToBrush(t),this._a("selectedDateTextColor",i.brushToString(this.i.dn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusDateTextColor",{get:function(){return i.brushToString(this.i.dk)},set:function(t){this.i.dk=i.stringToBrush(t),this._a("focusDateTextColor",i.brushToString(this.i.dk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentDateTextColor",{get:function(){return i.brushToString(this.i.di)},set:function(t){this.i.di=i.stringToBrush(t),this._a("currentDateTextColor",i.brushToString(this.i.di))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentDateBorderColor",{get:function(){return i.brushToString(this.i.dh)},set:function(t){this.i.dh=i.stringToBrush(t),this._a("currentDateBorderColor",i.brushToString(this.i.dh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTodayButton",{get:function(){return this.i.ae},set:function(t){this.i.ae=i.ensureBool(t),this._a("showTodayButton",this.i.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.v?null:this.i.v.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.v=e,this._a("textStyle",null!=this.i.v?this.i.v.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstDayOfWeek",{get:function(){return this.i.l},set:function(t){this.i.l=i.ensureEnum(P,t),this._a("firstDayOfWeek",i.enumToString(P,this.i.l))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstWeekOfYear",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(S,t),this._a("firstWeekOfYear",i.enumToString(S,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showWeekNumbers",{get:function(){return this.i.af},set:function(t){this.i.af=i.ensureBool(t),this._a("showWeekNumbers",this.i.af)},enumerable:!1,configurable:!0}),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("XCalendarComponent");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.exportVisualModel=function(){return this.i.bj()},n.prototype.exportSerializedVisualModel=function(){return this.i.bs()},Object.defineProperty(n.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 A;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(n.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}),n._observedAttributesIgcXCalendarComponent=null,n.htmlTagName="igc-x-calendar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),D=function(){function t(){}return t.register=function(){m.register(),B.register(),R.register(),i.TypeRegistrar.registerCons("IgcXCalendarComponent",R),i.TypeRegistrar.registerCons("IgcXCalendarComponent",R),i.TypeRegistrar.register("XCalendar",F.$type)},t}(),E=function(){return function(){this.April_Full="April",this.April_Short="Apr",this.August_Full="August",this.August_Short="Aug",this.December_Full="December",this.December_Short="Dec",this.February_Full="February",this.February_Short="Feb",this.Friday_Full="Friday",this.Friday_Short="Fri",this.Friday_Single="F",this.January_Full="January",this.January_Short="Jan",this.July_Full="July",this.July_Short="Jul",this.June_Full="June",this.June_Short="Jun",this.March_Full="March",this.March_Short="Mar",this.May_Full="May",this.May_Short="May",this.Monday_Full="Monday",this.Monday_Short="Mon",this.Monday_Single="M",this.November_Full="November",this.November_Short="Nov",this.October_Full="October",this.October_Short="Oct",this.Saturday_Full="Saturday",this.Saturday_Short="Sat",this.Saturday_Single="S",this.September_Full="September",this.September_Short="Sep",this.Sunday_Full="Sunday",this.Sunday_Short="Sun",this.Sunday_Single="S",this.Thursday_Full="Thursday",this.Thursday_Short="Thu",this.Thursday_Single="T",this.Today="Today",this.Tuesday_Full="Tuesday",this.Tuesday_Short="Tue",this.Tuesday_Single="T",this.Wednesday_Full="Wednesday",this.Wednesday_Short="Wed",this.Wednesday_Single="W"}}(),q=function(){function t(){}return t.register=function(){i.Localization.register("XCalendar-en",new E)},t}(),$=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),W=i.markEnum("SuffixShiftType","Line,0|Box,1|Border,2"),G=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),z=i.markEnum("PrefixShiftType","Line,0|Box,1|Border,2"),V=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),H=i.markEnum("LabelShiftType","Line,0|Box,1|Border,2"),M=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),L=i.markEnum("InputShiftType","Line,0|Box,1|Border,2"),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=!1,e.b=!1,e.d=null,e}return e.__extends(n,t),n.prototype.e=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("shiftType : "+this.a+", "),t.l("isHover : "+this.c+", "),t.l("isDisabled : "+this.b+", "),t.l('name : "'+this.d+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"SuffixVisualModelExport"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=!1,e.b=!1,e.d=null,e}return e.__extends(n,t),n.prototype.e=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("shiftType : "+i.enumGetBox(z,this.a)+", "),t.l("isHover : "+this.c+", "),t.l("isDisabled : "+this.b+", "),t.l('name : "'+this.d+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"PrefixVisualModelExport"),n}(i.Base),K=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t[t.Search=3]="Search",t}({}),J=i.markEnum("InputGroupDisplayType","Line,0|Box,1|Border,2|Search,3"),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.e=0,e.b=null,e.o=0,e.p=0,e.z=null,e.aa=null,e.x=0,e.w=0,e.t=0,e.c=null,e.d=null,e.u=0,e.s=0,e.q=0,e.r=0,e.v=0,e.a=null,e.g=!1,e.j=!1,e.i=!1,e.h=!1,e.m=null,e.l=null,e.k=null,e.n=null,e}return e.__extends(n,t),n.prototype.y=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("actualDensity : "+this.f+", "),t.l("baseTheme : "+this.e+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.o+", "),t.l("actualFocusBorderWidth : "+this.p+", "),t.l("actualContentPadding : { left: "+this.aa.left+",top: "+this.aa.top+",right: "+this.aa.right+",bottom: "+this.aa.bottom+"},"),t.l("actualUnderlineWidth : "+this.x+", "),t.l("actualUnderlineRippleWidth : "+this.w+", "),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualHoverUnderlineWidth : "+this.t+", "),t.l("actualUnderlineColor : "+this.c.serialize()+", "),t.l("actualUnderlineRippleColor : "+this.d.serialize()+", "),t.l("actualUnderlineOpacity : "+this.u+", "),t.l("actualHoverUnderlineOpacity : "+this.s+", "),t.l("actualFocusUnderlineOpacity : "+this.q+", "),t.l("actualFocusUnderlineRippleOpacity : "+this.r+", "),t.l("actualUnderlineRippleOpacity : "+this.v+", "),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualIsExpanded : "+this.g+", "),t.l("isHovered : "+this.j+", "),t.l("isFocused : "+this.i+", "),t.l("isDisabled : "+this.h+", "),t.l("prefixModels : [");for(var e=0;e<this.m.count;e++)0!=e&&t.l(","),t.l(this.m._inner[e].e());t.l("],"),t.l("labelModels: [");for(var n=0;n<this.l.count;n++){0!=n&&t.l(",");this.l._inner[n].p.charAt(0).toString().toLowerCase(),this.l._inner[n].p.substr(1);t.l(this.l._inner[n].q())}t.l("],"),t.l("inputModels : [");for(var r=0;r<this.k.count;r++){0!=r&&t.l(",");this.k._inner[r].m.charAt(0).toString().toLowerCase(),this.k._inner[r].m.substr(1);t.l(this.k._inner[r].p())}t.l("],"),t.l("suffixModels : [");for(var o=0;o<this.n.count;o++){0!=o&&t.l(",");this.n._inner[o].d.charAt(0).toString().toLowerCase(),this.n._inner[o].d.substr(1);t.l(this.n._inner[o].e())}return t.l("]"),t.l("}"),t.toString()},n.$t=i.markType(n,"InputGroupVisualModelExport"),n}(i.Base),Z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=0,e.e=0,e.d=0,e.a=null,e.u=null,e.v=null,e.w=null,e.k=0,e.s=null,e.t=null,e.b=0,e.i=!1,e.g=!1,e.m=null,e.n=null,e.o=null,e.l=null,e.r=null,e.h=!1,e.j=!1,e.f=!1,e.p=null,e}return e.__extends(n,t),n.prototype.q=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("baseTheme : "+this.c+", "),t.l("density : "+this.e+", "),t.l("actualDensity : "+this.d+", "),t.l("actualTextColor : "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.u)||t.l('textStyleFontStyle : "'+this.u+'", '),i.stringIsNullOrEmpty(this.v)||t.l('textStyleFontVariant : "'+this.v+'", '),i.stringIsNullOrEmpty(this.w)||t.l('textStyleFontWeight : "'+this.w+'", '),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontFamily : "'+this.s+'", '),i.stringIsNullOrEmpty(this.t)||t.l('textStyleFontStretch : "'+this.t+'", '),i.isNaN_(this.k)||t.l("textStyleFontSize : "+this.k+", "),t.l("shiftType : "+this.b+", "),t.l("isShifted : "+this.i+", "),t.l("isHighlighted : "+this.g+", "),t.l('display : "'+this.m+'", '),t.l('flexDirection : "'+this.n+'", '),t.l('flexGrow : "'+this.o+'", '),t.l('alignItems :"'+this.l+'", '),t.l('text : "'+this.r+'", '),t.l("isHover : "+this.h+", "),t.l("value : "+this.j+", "),t.l("isDisabled : "+this.f+", "),t.l('name : "'+this.p+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"LabelVisualModelExport"),n}(i.Base),tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.g=0,e.j=0,e.f=0,e.b=0,e.c=0,e.l=null,e.o=null,e.d=!1,e.a=null,e.s=null,e.t=null,e.u=null,e.h=0,e.q=null,e.r=null,e.k=null,e.n=null,e.e=!1,e.v=null,e.m=null,e}return e.__extends(n,t),n.prototype.p=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.i+", "),t.l("left : "+this.g+", "),t.l("shiftType : "+this.b+", "),t.l("actualDensity : "+this.c+", "),t.l('mask : "'+this.l+'", '),t.l('promptChar : "'+this.o+'", '),t.l("includeLiterals : "+this.d+", "),t.l("actualTextColor : "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontStyle : "'+this.s+'", '),i.stringIsNullOrEmpty(this.t)||t.l('textStyleFontVariant : "'+this.t+'", '),i.stringIsNullOrEmpty(this.u)||t.l('textStyleFontWeight : "'+this.u+'", '),i.stringIsNullOrEmpty(this.q)||t.l('textStyleFontFamily : "'+this.q+'", '),i.stringIsNullOrEmpty(this.r)||t.l('textStyleFontStretch : "'+this.r+'", '),i.isNaN_(this.h)||t.l("textStyleFontSize : "+this.h+", "),t.l('inputType : "'+this.k+'", '),t.l('placeholder : "'+this.n+'", '),t.l("isHover : "+this.e+", "),t.l('value : "'+this.v+'", '),t.l('name : "'+this.m+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"InputVisualModelExport"),n}(i.Base),et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"Replaced"),n}(i.Base),it=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}var r;return e.__extends(n,t),n.prototype.h=function(t,n){var r,o,s,a,h="",u="",l=n.a,c=this.d(l),p=new i.List$1(i.Number_$type,1,c.keys),d=this.e(l,p),f=new i.List$1(i.String_$type,1,c.values);null!=t&&(u=t.toString());for(var b=0;b<l.length;b++)h+=n.b;try{for(var g=e.__values(i.fromEnum(c)),y=g.next();!y.done;y=g.next()){var m=y.value;h=this.j(h,m.key,m.value)}}catch(t){r={error:t}}finally{try{y&&!y.done&&(o=g.return)&&o.call(g)}finally{if(r)throw r.error}}if(""==u)return h;for(var v=this.f(u,f),_=0;_<v.count;_++){var C=v._inner[_];this.c(C,d._inner[_],l)||C==n.b||(v._inner[_]=n.b)}v.count>d.count&&v.v(d.count+1,v.count);var k=0;try{for(var x=e.__values(i.fromEnum(v)),B=x.next();!B.done;B=x.next()){var j=B.value;h=this.j(h,d._inner[k++],j)}}catch(t){s={error:t}}finally{try{B&&!B.done&&(a=x.return)&&a.call(x)}finally{if(s)throw s.error}}return h},n.prototype.i=function(t,n){var r,o,s="",a=n.a,h=this.d(a),u=new i.HashSet$1(i.String_$type,0);try{for(var l=e.__values(i.fromEnum(h.values)),c=l.next();!c.done;c=l.next()){var p=c.value;u.add_1(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}for(var d=0;d<t.length;d++){var f=t.charAt(d).toString();u.contains(f)||f!=n.b&&(s+=f)}return s},n.prototype.a=function(t,e,n,r,o){for(var s=this.d(n.a),a=new i.ObservableCollection$1(i.String_$type,0),h=0;h<e.length;h++)a.add(e.charAt(h).toString());var u=r;o=Math.min(o,t.length);for(var l=r;l<o||a.count>0&&l<t.length;l++)if(s.containsKey(l))a._inner[0]==t.charAt(l).toString()&&(u=l+1,a.removeAt(0));else{if(null!=a._inner[0]&&!this.c(a._inner[0].toString(),l,n.a)&&a._inner[0].toString()!=n.b)break;var c=n.b;a.count>0&&(u=l+1,c=a._inner[0],a.removeAt(0)),t=this.j(t,l,c)}var p=new et;return p.b=t,p.a=u,p},n.prototype.j=function(t,e,i){return null!=t?t.substr(0,e)+i+t.substr(e+1):null},n.prototype.b=function(t,e){return t.test(e)},n.prototype.c=function(t,e,i){var n,r;switch(i.charAt(e)){case"C":r=""!=t;break;case"&":n=new RegExp("[\\u0020]"),r=!this.b(n,t);break;case"a":n=new RegExp("[\\d\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z\\u0020]"),r=this.b(n,t);break;case"A":n=new RegExp("[\\d\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z]"),r=this.b(n,t);break;case"?":n=new RegExp("[\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z\\u0020]"),r=this.b(n,t);break;case"L":n=new RegExp("[\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z]"),r=this.b(n,t);break;case"0":n=new RegExp("[\\d]"),r=this.b(n,t);break;case"9":n=new RegExp("[\\d\\u0020]"),r=this.b(n,t);break;case"#":n=new RegExp("[\\d-\\+\\s]"),r=this.b(n,t);break;default:r=!1}return r},n.prototype.d=function(t){for(var e=new i.Dictionary$2(i.Number_$type,i.String_$type,0),r=0;r<t.length;r++){var o=t.charAt(r);n.g.contains(o)||e.addItem(r,o.toString())}return e},n.prototype.e=function(t,e){for(var n=new i.List$1(i.Number_$type,0),r=0;r<t.length;r++)e.contains(r)||n.add(r);return n},n.prototype.f=function(t,e){for(var n=new i.List$1(i.String_$type,0),r=0;r<t.length;r++){var o=t.charAt(r).toString();e.contains(o)||(e.remove(o),n.add(o))}return n},n.$t=i.markType(n,"MaskParsingService"),n.g=((r=new i.List$1(i.String_$type,0)).add("C"),r.add("&"),r.add("a"),r.add("A"),r.add("?"),r.add("L"),r.add("9"),r.add("0"),r.add("#"),r),n}(i.Base),nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._isCompositionInProgress=!1,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,"isCompositionInProgress",{get:function(){return this._isCompositionInProgress},set:function(t){this._isCompositionInProgress=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"InputChangeEventArgs",i.EventArgs.$),n}(i.EventArgs),rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"MaskOptions"),n}(i.Base),ot=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.l=null,e.e=null,e.i=new i.List$1(i.Delegate_$type,0),e.z=null,e.f=!0,e.n=null,e.o=null,e.p=null,e.t=null,e.r=null,e.q=null,e.m=null,e}return e.__extends(n,t),n.prototype.ak=function(){},n.prototype.ac=function(t){null!==i.typeCast(bt.$,t)&&(t.be="flex-start")},n.prototype.ae=function(t){},n.prototype.ad=function(){},n.prototype.g=function(){return!0},Object.defineProperty(n.prototype,"w",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.ah=function(t){var n,r,o=this;if(null==t){try{for(var s=e.__values(i.fromEnum(this.i)),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.i.clear()}this.l=t,t.rootWrapper.setStyleProperty("position","relative"),t.rootWrapper.setStyleProperty("box-sizing","border-box"),t.rootWrapper.setStyleProperty("border-width","0px"),t.rootWrapper.setStyleProperty("border-style","solid");var h=this.v;this.i.add(h.listen("focusin",i.runOn(this,this.aj))),this.i.add(h.listen("focusout",i.runOn(this,this.am)));var u=this.l.createElement("div");u.setStyleProperty("position","absolute"),u.setStyleProperty("width","100%"),u.setStyleProperty("height","100%"),u.setStyleProperty("border-style","solid"),u.setStyleProperty("box-sizing","border-box"),u.setStyleProperty("left","0px"),u.setStyleProperty("top","0px"),this.l.append(u),this.m=u;var l=this.l.createElement("div");l.addClass("ig-input-content"),l.setStyleProperty("width","100%"),l.setStyleProperty("position","relative"),l.setStyleProperty("display","flex"),l.setStyleProperty("flex-direction","row"),l.setStyleProperty("flex-wrap","no-wrap"),l.setStyleProperty("flex-flow","row nowrap"),l.setStyleProperty("flex-grow","1"),l.setStyleProperty("align-items","center"),l.setStyleProperty("padding-top","1.125rem"),this.p=l,this.i.add(l.listen("click",i.runOn(this,this.aa))),this.l.append(l),this.l.getPortal(l,"ChildContent",(function(t){var e=t.componentRef;o.t=e,o.p.setStyleProperty("flex-direction","row")}),!0);var c=this.l.createElement("div");c.setStyleProperty("position","absolute"),c.setStyleProperty("width","100%"),c.setStyleProperty("background-color","rgba(0, 0, 0, 0.54)"),c.setStyleProperty("height","1px"),c.setStyleProperty("pointer-events","none"),c.setStyleProperty("left","0px"),c.setStyleProperty("bottom","1px"),c.setStyleProperty("overflow","visible");var p,d=this.l.createElement("span");d.setStyleProperty("width","100%"),d.setStyleProperty("height","2px"),d.setStyleProperty("display","block"),d.setStyleProperty("pointer-events","none"),i.NativeUI.af(d,((p=new i.ScaleTransform).l=.5,p.m=1,p)),d.setStyleProperty("opacity","0"),this.r=d,c.append(this.r),this.q=c,this.l.append(c),this.d.j3()},Object.defineProperty(n.prototype,"s",{get:function(){return this.p},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.l.rootWrapper},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.m},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.r},enumerable:!1,configurable:!0}),n.prototype.aq=function(t){this.z!=t&&(this.z=t,null!=this.o&&this.o.setAttribute("d",this.z))},n.prototype.ap=function(){switch(this.d.s){case 1:this.p.setStyleProperty("padding-top","1.125rem");break;case 2:this.p.setStyleProperty("padding-top",".94737rem");break;case 3:this.p.setStyleProperty("padding-top",".81818rem");break;case 4:this.p.setStyleProperty("padding-top",".68899rem")}},n.prototype.aa=function(t){},n.prototype.al=function(){this.g()},n.prototype.j=function(){var t=this.l.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.ag=function(){this.f=!0},n.prototype.ai=function(){var t,n;this.f=!1;try{for(var r=e.__values(i.fromEnum(this.i)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.i.clear()},n.prototype.ar=function(t){null!=t&&this.l.rootWrapper.setStyleProperty("font",t.fontString)},n.prototype.k=function(t){return t.view.j()},n.prototype.af=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.u,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.x,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.r,0,null,t)},n.prototype.ao=function(t){},n.prototype.ab=function(t){this.p.append(t)},n.prototype.an=function(t){this.p.removeChild(t)},n.prototype.aj=function(t){this.d.jz()},n.prototype.am=function(t){this.d.j1()},n.$t=i.markType(n,"InputGroupView"),n}(i.Base),st=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.h=null,e.b=null,e.f=new i.List$1(i.Delegate_$type,0),e.d=!1,e.c=!0,e.i=null,e}return e.__extends(n,t),n.prototype.p=function(){},n.prototype.e=function(){return!0},Object.defineProperty(n.prototype,"s",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.n=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.f)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.f.clear()}this.h=t,this.h.rootWrapper.setStyleProperty("display","inline-block");var a=this.h.createElement("div");a.addClass("ig-suffix-content"),this.h.append(a),a.setStyleProperty("cursor","pointer"),this.i=a,this.h.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.r=function(){var t=this,e=this.g();(i.isNaN_(e)||0==e)&&(this.d||(this.d=!0,this.h.setTimeout((function(){t.d=!1,t.r()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.a.k?-.25*t.g():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.h.rootWrapper,r),this.h.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.g=function(){var t=this.h.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.q=function(){this.e()},n.prototype.j=function(t){this.a.aj()},n.prototype.k=function(t){this.a.ak()},n.prototype.m=function(){this.c=!0,this.f.add(this.h.rootWrapper.listen("mouseenter",i.runOn(this,this.j))),this.f.add(this.h.rootWrapper.listen("mouseleave",i.runOn(this,this.k)))},n.prototype.o=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.prototype.l=function(t){this.i.append(t)},n.$t=i.markType(n,"SuffixView"),n}(i.Base),at=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.h=null,e.b=null,e.f=new i.List$1(i.Delegate_$type,0),e.d=!1,e.c=!0,e.i=null,e}return e.__extends(n,t),n.prototype.p=function(){},n.prototype.e=function(){return!0},Object.defineProperty(n.prototype,"s",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.n=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.f)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.f.clear()}this.h=t,this.h.rootWrapper.setStyleProperty("display","inline-block");var a=this.h.createElement("div");a.addClass("ig-prefix-content"),this.h.append(a),a.setStyleProperty("cursor","pointer"),this.i=a,this.h.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.r=function(){var t=this,e=this.g();(i.isNaN_(e)||0==e)&&(this.d||(this.d=!0,this.h.setTimeout((function(){t.d=!1,t.r()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.a.k?-.25*t.g():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.h.rootWrapper,r),this.h.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.g=function(){var t=this.h.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.q=function(){this.e()},n.prototype.j=function(t){this.a.aj()},n.prototype.k=function(t){this.a.ak()},n.prototype.m=function(){this.c=!0,this.f.add(this.h.rootWrapper.listen("mouseenter",i.runOn(this,this.j))),this.f.add(this.h.rootWrapper.listen("mouseleave",i.runOn(this,this.k)))},n.prototype.o=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.prototype.l=function(t){this.i.append(t)},n.$t=i.markType(n,"PrefixView"),n}(i.Base),ht=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.m=null,e.d=null,e.i=new i.List$1(i.Delegate_$type,0),e.r=null,e.f=!0,e.n=null,e.o=null,e.p=-1,e}return e.__extends(n,t),n.prototype.ae=function(){},n.prototype.g=function(){return!0},Object.defineProperty(n.prototype,"q",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.v=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.m)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.m.rootWrapper,0,null,t)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.m.rootWrapper,0,null,t)},n.prototype.z=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.i)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.i.clear()}this.m=t,this.m.rootWrapper.setStyleProperty("display","inline-block"),this.m.rootWrapper.setStyleProperty("position","relative");var a=this.m.createElement("label");a.setStyleProperty("position","relative"),a.setStyleProperty("display","inline-block"),a.setStyleProperty("white-space","nowrap"),a.setStyleProperty("text-overflow","ellipsis"),a.setStyleProperty("line-height","1"),a.setStyleProperty("overflow","hidden"),a.setStyleProperty("height","1.125rem"),a.setStyleProperty("backface-visibility","hidden"),i.NativeUI.q(this.m.rootWrapper,this.c.c3),a.setStyleProperty("outline-style","none"),a.setStyleProperty("box-shadow","none"),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.n=a,this.m.append(this.n),this.c.cl()},n.prototype.l=function(){return 0==this.c.l?.5*this.j():0},n.prototype.aj=function(){var t=this;this.c.bk="block";var e,n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=0==t.c.l?.5*t.j():0,e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.m.rootWrapper,n),this.n.setStyleProperty("height","1.125rem"),this.m.rootWrapper.setStyleProperty("position","absolute"),this.m.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.ak=function(){switch(this.c.s){case 1:this.m.rootWrapper.setStyleProperty("margin-top","0px");break;case 2:this.m.rootWrapper.setStyleProperty("margin-top","-.125rem");break;case 3:this.m.rootWrapper.setStyleProperty("margin-top","-.25rem");break;case 4:this.m.rootWrapper.setStyleProperty("margin-top","-.5rem")}},n.prototype.ai=function(){this.n.setText(null!=this.c.text?this.c.text:"")},n.prototype.al=function(t){this.r!=t&&(this.r=t,null!=this.o&&this.o.setAttribute("d",this.r))},n.prototype.ab=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("display",this.c.bk),this.n.setStyleProperty("display",this.c.bk);var t=this.m.getExternal(this.c,null,null);t&&t._onDisplayChanged&&t._onDisplayChanged()}},n.prototype.w=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("align-items",this.c.bc),this.n.setStyleProperty("align-items",this.c.bc);var t=this.m.getExternal(this.c,null,null);t&&t._onAlignItemsChanged&&t._onAlignItemsChanged()}},n.prototype.x=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("align-self",this.c.be),this.n.setStyleProperty("align-self",this.c.be);var t=this.m.getExternal(this.c,null,null);t&&t._onAlignSelfChanged&&t._onAlignSelfChanged()}},n.prototype.ac=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("flex-direction",this.c.bn),this.n.setStyleProperty("flex-direction",this.c.bn);var t=this.m.getExternal(this.c,null,null);t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.ad=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("flex-grow",this.c.bp),this.n.setStyleProperty("flex-grow",this.c.bp);var t=this.m.getExternal(this.c,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.s=function(t){},n.prototype.ag=function(){this.g()},n.prototype.j=function(){var t=this.k();if(0==t||i.isNaN_(t)){var e=NaN,n=this.m.rootWrapper.parent();if(null!=n)if(n.getChildCount()>1){for(var r=null,o=0;o<n.getChildCount();o++){if(n.getChildAt(o).getNativeElement()==this.m.rootWrapper.getNativeElement()){o==n.getChildCount()-1?n.getChildAt(o-1):r=n.getChildAt(o+1);break}}this.m.rootWrapper.remove(),document.body.appendChild(this.m.rootWrapper.getNativeElement()),e=this.k(),this.m.rootWrapper.remove(),null!=r?r.before(this.m.rootWrapper):n.append(this.m.rootWrapper)}else this.m.rootWrapper.remove(),document.body.appendChild(this.m.rootWrapper.getNativeElement()),e=this.k(),this.m.rootWrapper.remove(),n.append(this.m.rootWrapper);else this.m.rootWrapper.remove(),document.body.appendChild(this.m.rootWrapper.getNativeElement()),e=this.k(),this.m.rootWrapper.remove();return e}return t},n.prototype.k=function(){var t=this.m.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.t=function(t){this.c.ch()},n.prototype.u=function(t){this.c.ci()},n.prototype.y=function(){this.f=!0,this.i.add(this.m.rootWrapper.listen("mouseenter",i.runOn(this,this.t))),this.i.add(this.m.rootWrapper.listen("mouseleave",i.runOn(this,this.u)))},n.prototype.aa=function(){var t,n;this.f=!1;try{for(var r=e.__values(i.fromEnum(this.i)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.i.clear()},n.prototype.am=function(t){null!=t&&this.n.setStyleProperty("font",t.fontString)},n.prototype.ah=function(t){i.NativeUI.q(this.n,t)},n.prototype.e=function(){return(t=new i.FontInfo).q="Verdana",t.f=13,t;var t},n.prototype.af=function(){},n.$t=i.markType(n,"LabelView"),n}(i.Base),ut=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.m=null,e.d=null,e.k=new i.List$1(i.Delegate_$type,0),e.h=!1,e.g=!1,e.s=null,e.e=!0,e.n=null,e.o=null,e.h=!1,e}return e.__extends(n,t),n.prototype.at=function(){},n.prototype.i=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.aq=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.k)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.k.clear()}this.m=t,this.m.rootWrapper.setStyleProperty("display","inline-block");var a=this.m.createElement("input");a.setAttribute("type",this.c.b8),a.setStyleProperty("position","relative"),a.setStyleProperty("box-sizing","border-box"),a.setStyleProperty("display","inline-block"),a.setStyleProperty("border","none"),a.setStyleProperty("height","2rem"),a.setStyleProperty("line-height","0"),a.setStyleProperty("width","100%"),a.setStyleProperty("min-width","0"),a.setStyleProperty("overflow","visible"),a.setStyleProperty("background","transparent"),a.setStyleProperty("background-position-x","initial"),a.setStyleProperty("background-position-y","initial"),a.setStyleProperty("background-size","initial"),a.setStyleProperty("background-repeat-x","initial"),a.setStyleProperty("background-repeat-y","initial"),a.setStyleProperty("background-attachment","initial"),a.setStyleProperty("background-origin","initial"),a.setStyleProperty("background-color","transparent"),i.NativeUI.q(a,this.c.d4),a.setStyleProperty("outline-style","none"),a.setStyleProperty("box-shadow","none"),a.setStyleProperty("border-top","0.1875rem solid transparent"),a.setStyleProperty("padding-bottom","0.1875rem"),a.setStyleProperty("text-align",this.u(this.c.dy)),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.k.add(a.listen("change",i.runOn(this,this.z))),this.k.add(a.listen("input",i.runOn(this,this.aa))),this.k.add(a.listen("focus",i.runOn(this,this.af))),this.k.add(a.listen("blur",i.runOn(this,this.y))),this.k.add(a.listen("mouseenter",i.runOn(this,this.w))),this.k.add(a.listen("mouseleave",i.runOn(this,this.x))),this.k.add(a.listen("keydown",i.runOn(this,this.ag))),this.k.add(a.listen("keyup",i.runOn(this,this.ai))),this.k.add(a.listen("keypress",i.runOn(this,this.ah))),this.k.add(a.listen("paste",i.runOn(this,this.al))),this.k.add(a.listen("dragenter",i.runOn(this,this.ad))),this.k.add(a.listen("dragleave",i.runOn(this,this.ae))),this.k.add(a.listen("compositionstart",i.runOn(this,this.ac))),this.k.add(a.listen("compositionend",i.runOn(this,this.ab))),this.k.add(a.listen("mousedown",i.runOn(this,this.aj))),this.k.add(a.listen("mouseup",i.runOn(this,this.ak))),this.n=a,this.m.append(this.n),this.an(),this.c.dl()},n.prototype.a1=function(t){t?this.n.setAttribute("readonly",t.toString()):this.n.getNativeElement().removeAttribute("readonly")},n.prototype.az=function(t){t?this.n.setAttribute("disabled","true"):this.n.getNativeElement().removeAttribute("disabled")},n.prototype.a6=function(t){this.n.setStyleProperty("text-align",this.u(t))},n.prototype.a5=function(t){t?this.n.removeClass("ig-input-hide-spinner"):this.n.addClass("ig-input-hide-spinner")},n.prototype.ac=function(t){this.h=!0,this.c.c3()},n.prototype.ab=function(t){this.h=!1;var e=null;null!=t.originalEvent&&(e=t.originalEvent.data),this.c.c2(e)},n.prototype.u=function(t){switch(t){case 0:return"left";case 2:return"right";case 1:return"center"}return"left"},n.prototype.ax=function(){this.n.setAttribute("type",this.c.b8),"date"==this.c.b8?this.n.setStyleProperty("line-height","normal"):this.n.setStyleProperty("line-height","0")},n.prototype.av=function(){this.n.setAttribute("placeholder",this.c.cg)},n.prototype.ba=function(){switch(this.c.z){case 1:this.n.setStyleProperty("height","2rem"),this.n.setStyleProperty("font-size","1rem");break;case 2:this.n.setStyleProperty("height","1.68421rem"),this.n.setStyleProperty("font-size","1rem");break;case 3:this.n.setStyleProperty("height","1.45455rem"),this.n.setStyleProperty("font-size",".95455rem");break;case 4:this.n.setStyleProperty("height","1.388445rem"),this.n.setStyleProperty("font-size","0.91116rem")}},n.prototype.a9=function(){var t=this,e=this.l();(i.isNaN_(e)||0==e)&&(this.g||(this.g=!0,this.m.setTimeout((function(){t.g=!1,t.a9()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.c.o?-.25*t.l():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.m.rootWrapper,r),this.m.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.l=function(){var t=this.m.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.ay=function(t){this.n.setProperty("value",t)},n.prototype.a0=function(t){this.n.setAttribute("name",t)},n.prototype.y=function(t){this.c.cz()},n.prototype.af=function(t){this.c.c7()},n.prototype.aj=function(t){var e=this.bd(t);this.c.dd(e),e.handled&&t.preventDefault()},n.prototype.ak=function(t){var e=this.bd(t);this.c.dg(e),e.handled&&t.preventDefault()},n.prototype.bd=function(t){var e=new i.MouseButtonEventArgs;return e.position={$type:i.Point_$type,x:t.offsetX,y:t.offsetY},e},n.prototype.z=function(t){this.c.c0()},n.prototype.aa=function(t){this.c.c1()},n.prototype.ag=function(t){var e=new i.KeyEventArgs(0,t);this.c.da(e)},n.prototype.ai=function(t){var e=new i.KeyEventArgs(0,t);this.c.dc(e)},n.prototype.ah=function(t){var e=new i.KeyEventArgs(0,t);this.c.db(e)},n.prototype.al=function(t){this.c.dh()},n.prototype.ad=function(t){this.c.c5()},n.prototype.ae=function(t){this.c.c6()},n.prototype.bb=function(t){this.s!=t&&(this.s=t,null!=this.o&&this.o.setAttribute("d",this.s))},n.prototype.t=function(){return this.n.getProperty("value")},n.prototype.v=function(t){},n.prototype.a8=function(){this.i()&&(this.c.as?this.n.setAttribute("tabindex",this.c.be.toString()):this.n.getNativeElement().removeAttribute("tabindex"))},n.prototype.q=function(){var t=this.n.getProperty("selectionStart");return i.typeGetValue(t)},n.prototype.p=function(){var t=this.n.getProperty("selectionEnd");return i.typeGetValue(t)},n.prototype.a4=function(t){this.n.setProperty("selectionStart",t)},n.prototype.a2=function(t){this.n.setProperty("selectionEnd",t)},n.prototype.au=function(){this.i()},n.prototype.w=function(t){this.c.de()},n.prototype.x=function(t){this.c.df()},n.prototype.ao=function(){this.e=!0,this.k.add(this.n.listen("change",i.runOn(this,this.z))),this.k.add(this.n.listen("input",i.runOn(this,this.aa))),this.k.add(this.n.listen("focus",i.runOn(this,this.af))),this.k.add(this.n.listen("blur",i.runOn(this,this.y))),this.k.add(this.n.listen("mouseenter",i.runOn(this,this.w))),this.k.add(this.n.listen("mouseleave",i.runOn(this,this.x))),this.k.add(this.n.listen("keydown",i.runOn(this,this.ag))),this.k.add(this.n.listen("paste",i.runOn(this,this.al))),this.k.add(this.n.listen("dragenter",i.runOn(this,this.ad))),this.k.add(this.n.listen("dragleave",i.runOn(this,this.ae))),this.k.add(this.n.listen("compositionstart",i.runOn(this,this.ac))),this.k.add(this.n.listen("compositionend",i.runOn(this,this.ab))),this.k.add(this.n.listen("mousedown",i.runOn(this,this.aj))),this.k.add(this.n.listen("mouseup",i.runOn(this,this.ak)))},n.prototype.ar=function(){var t,n;this.e=!1;try{for(var r=e.__values(i.fromEnum(this.k)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.k.clear()},n.prototype.bc=function(t){null!=t&&this.n.setStyleProperty("font",t.fontString)},n.prototype.a7=function(){},n.prototype.ap=function(){null!=this.n&&this.n.getNativeElement().blur()},n.prototype.as=function(t){null!=this.n&&this.n.focus(t)},n.prototype.aw=function(){null!=this.n&&this.n.getNativeElement().select()},n.prototype.a3=function(t,e){null!=this.n&&this.n.getNativeElement().setSelectionRange(t,e)},n.prototype.am=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.m)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.m.rootWrapper,0,null,t)},n.prototype.an=function(){if(!n.f){var t=this.m.createElement("style");t.setRawText("\r\n.ig-input-hide-spinner::-webkit-outer-spin-button,\r\n.ig-input-hide-spinner::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\r\n}"),document.head.appendChild(t.getNativeElement()),n.f=!0}},n.prototype.a=function(){var t=this.n.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.$t=i.markType(n,"InputView"),n.f=!1,n}(i.Base),lt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.a=null,e.propertyChanged=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.g("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.g("InputGroup",e,t)},enumerable:!1,configurable:!0}),n.prototype.g=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.h(t,e,n)},n.prototype.h=function(t,e,i){},n.$t=i.markType(n,"XInputGroupItem",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),ct=function(t){function n(){var e=t.call(this)||this;e._view=null,e.j=0,e.v="ig-suffix-"+n.s++,e.u=null,e.n=!1,e.m=!1,e.o=!1;var i=new st;return i.a=e,e.view=i,e.view.p(),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}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.g("ShiftType",i.enumGetBox(W,e),i.enumGetBox(W,t))},enumerable:!1,configurable:!0}),n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"InputGroup":this.ai();break;case"ShiftType":this.al()}},n.prototype.al=function(){this.view.r()},n.prototype.ai=function(){this.view.r()},n.prototype.ap=function(){},n.prototype.ao=function(){},n.prototype.aj=function(){this.q=!0},n.prototype.ak=function(){this.q=!1},Object.defineProperty(n.prototype,"z",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("Id",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,e!=this.u&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.am=function(){},n.prototype.onDetachedFromUI=function(){this.view.o()},n.prototype.onAttachedToUI=function(){this.view.m()},n.prototype.r=function(){return this.view.e()},n.prototype.t=function(){return this.i()},n.prototype.y=function(){return this.i().e()},n.prototype.i=function(){var t=new X;return t.a=this.k,t.c=this.q,t.b=this.disabled,t.d=this.e,t},n.prototype.appendContentChild=function(t){this.view.l(t)},n.prototype.provideContainer=function(t){this.view.n(t)},n.$t=i.markType(n,"XSuffix",lt.$),n.s=0,n}(lt),pt=function(t){function n(){var e=t.call(this)||this;e._view=null,e.j=0,e.v="ig-prefix-"+n.s++,e.u=null,e.n=!1,e.m=!1,e.o=!1;var i=new at;return i.a=e,e.view=i,e.view.p(),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}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.g("ShiftType",i.enumGetBox(z,e),i.enumGetBox(z,t))},enumerable:!1,configurable:!0}),n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"InputGroup":this.ai();break;case"ShiftType":this.al()}},n.prototype.al=function(){this.view.r()},n.prototype.ai=function(){this.view.r()},n.prototype.ap=function(){},n.prototype.ao=function(){},n.prototype.aj=function(){this.q=!0},n.prototype.ak=function(){this.q=!1},Object.defineProperty(n.prototype,"z",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("Id",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,e!=this.u&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.am=function(){},n.prototype.onDetachedFromUI=function(){this.view.o()},n.prototype.onAttachedToUI=function(){this.view.m()},n.prototype.r=function(){return this.view.e()},n.prototype.t=function(){return this.i()},n.prototype.y=function(){return this.i().e()},n.prototype.i=function(){var t=new Y;return t.a=this.k,t.c=this.q,t.b=this.disabled,t.d=this.e,t},n.prototype.appendContentChild=function(t){this.view.l(t)},n.prototype.provideContainer=function(t){this.view.n(t)},n.$t=i.markType(n,"XPrefix",lt.$),n.s=0,n}(lt),dt=function(t){function n(){var e=t.call(this)||this;e.c=0,e.r=1,e.q=1,e.aj=!1,e.n=0,e._view=null,e.w=null,e.u=null,e.lostFocus=null,e.gotFocus=null,e.dw=n.m.i(n.o,i.enumGetBox(J,0),"BorderWidth"),e.dx=n.m.i(n.o,i.enumGetBox(J,0),"FocusBorderWidth"),e.kv=n.m.y(n.o,i.enumGetBox(J,0),"CornerRadius"),e.ol=n.m.ai(n.o,i.enumGetBox(J,0),"ContentPadding"),e.m9=n.m.ad(n.o,i.enumGetBox(J,0),"BorderColor"),e.na=n.m.ad(n.o,i.enumGetBox(J,0),"FocusBorderColor"),e.nb=n.m.ad(n.o,i.enumGetBox(J,0),"FocusLabelColor"),e.d5=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineWidth"),e.d4=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineRippleWidth"),e.d1=n.m.i(n.o,i.enumGetBox(J,0),"HoverUnderlineWidth"),e.ne=n.m.ad(n.o,i.enumGetBox(J,0),"UnderlineColor"),e.nf=n.m.ad(n.o,i.enumGetBox(J,0),"UnderlineRippleColor"),e.nd=n.m.ad(n.o,i.enumGetBox(J,0),"HoverUnderlineColor"),e.nc=n.m.ad(n.o,i.enumGetBox(J,0),"FocusUnderlineColor"),e.d2=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineOpacity"),e.d0=n.m.i(n.o,i.enumGetBox(J,0),"HoverUnderlineOpacity"),e.dy=n.m.i(n.o,i.enumGetBox(J,0),"FocusUnderlineOpacity"),e.dz=n.m.i(n.o,i.enumGetBox(J,0),"FocusUnderlineRippleOpacity"),e.d3=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineRippleOpacity"),e.m8=n.m.ad(n.o,i.enumGetBox(J,0),"BackgroundColor"),e.dl=n.m.i(n.o,i.enumGetBox(J,1),"BorderWidth"),e.dm=n.m.i(n.o,i.enumGetBox(J,1),"FocusBorderWidth"),e.ku=n.m.y(n.o,i.enumGetBox(J,1),"CornerRadius"),e.ok=n.m.ai(n.o,i.enumGetBox(J,1),"ContentPadding"),e.m1=n.m.ad(n.o,i.enumGetBox(J,1),"BorderColor"),e.m2=n.m.ad(n.o,i.enumGetBox(J,1),"FocusBorderColor"),e.m3=n.m.ad(n.o,i.enumGetBox(J,1),"FocusLabelColor"),e.dv=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineWidth"),e.du=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineRippleWidth"),e.dr=n.m.i(n.o,i.enumGetBox(J,1),"HoverUnderlineWidth"),e.m6=n.m.ad(n.o,i.enumGetBox(J,1),"UnderlineColor"),e.m7=n.m.ad(n.o,i.enumGetBox(J,1),"UnderlineRippleColor"),e.m5=n.m.ad(n.o,i.enumGetBox(J,1),"HoverUnderlineColor"),e.m4=n.m.ad(n.o,i.enumGetBox(J,1),"FocusUnderlineColor"),e.ds=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineOpacity"),e.dq=n.m.i(n.o,i.enumGetBox(J,1),"HoverUnderlineOpacity"),e.dn=n.m.i(n.o,i.enumGetBox(J,1),"FocusUnderlineOpacity"),e.dp=n.m.i(n.o,i.enumGetBox(J,1),"FocusUnderlineRippleOpacity"),e.dt=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineRippleOpacity"),e.m0=n.m.ad(n.o,i.enumGetBox(J,1),"BackgroundColor"),e.db=n.m.i(n.o,i.enumGetBox(J,2),"BorderWidth"),e.dc=n.m.i(n.o,i.enumGetBox(J,2),"FocusBorderWidth"),e.kt=n.m.y(n.o,i.enumGetBox(J,2),"CornerRadius"),e.oj=n.m.ai(n.o,i.enumGetBox(J,2),"ContentPadding"),e.mt=n.m.ad(n.o,i.enumGetBox(J,2),"BorderColor"),e.mu=n.m.ad(n.o,i.enumGetBox(J,2),"FocusBorderColor"),e.mv=n.m.ad(n.o,i.enumGetBox(J,2),"FocusLabelColor"),e.dk=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineWidth"),e.dj=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineRippleWidth"),e.dg=n.m.i(n.o,i.enumGetBox(J,2),"HoverUnderlineWidth"),e.my=n.m.ad(n.o,i.enumGetBox(J,2),"UnderlineColor"),e.mz=n.m.ad(n.o,i.enumGetBox(J,2),"UnderlineRippleColor"),e.mx=n.m.ad(n.o,i.enumGetBox(J,2),"HoverUnderlineColor"),e.mw=n.m.ad(n.o,i.enumGetBox(J,2),"FocusUnderlineColor"),e.dh=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineOpacity"),e.df=n.m.i(n.o,i.enumGetBox(J,2),"HoverUnderlineOpacity"),e.dd=n.m.i(n.o,i.enumGetBox(J,2),"FocusUnderlineOpacity"),e.de=n.m.i(n.o,i.enumGetBox(J,2),"FocusUnderlineRippleOpacity"),e.di=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineRippleOpacity"),e.ms=n.m.ad(n.o,i.enumGetBox(J,2),"BackgroundColor"),e.d6=n.m.i(n.o,i.enumGetBox(J,3),"BorderWidth"),e.d7=n.m.i(n.o,i.enumGetBox(J,3),"FocusBorderWidth"),e.kw=n.m.y(n.o,i.enumGetBox(J,3),"CornerRadius"),e.om=n.m.ai(n.o,i.enumGetBox(J,3),"ContentPadding"),e.nh=n.m.ad(n.o,i.enumGetBox(J,3),"BorderColor"),e.ni=n.m.ad(n.o,i.enumGetBox(J,3),"FocusBorderColor"),e.nj=n.m.ad(n.o,i.enumGetBox(J,3),"FocusLabelColor"),e.ef=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineWidth"),e.ee=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineRippleWidth"),e.eb=n.m.i(n.o,i.enumGetBox(J,3),"HoverUnderlineWidth"),e.nm=n.m.ad(n.o,i.enumGetBox(J,3),"UnderlineColor"),e.nn=n.m.ad(n.o,i.enumGetBox(J,3),"UnderlineRippleColor"),e.nl=n.m.ad(n.o,i.enumGetBox(J,3),"HoverUnderlineColor"),e.nk=n.m.ad(n.o,i.enumGetBox(J,3),"FocusUnderlineColor"),e.ec=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineOpacity"),e.ea=n.m.i(n.o,i.enumGetBox(J,3),"HoverUnderlineOpacity"),e.d8=n.m.i(n.o,i.enumGetBox(J,3),"FocusUnderlineOpacity"),e.d9=n.m.i(n.o,i.enumGetBox(J,3),"FocusUnderlineRippleOpacity"),e.ed=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineRippleOpacity"),e.ng=n.m.ad(n.o,i.enumGetBox(J,3),"BackgroundColor"),e.k0=c.af(n.o,n.m,i.enumGetBox(J,0),"BorderColor"),e.k1=c.af(n.o,n.m,i.enumGetBox(J,0),"FocusBorderColor"),e.as=c.k(n.o,n.m,i.enumGetBox(J,0),"BorderWidth"),e.at=c.k(n.o,n.m,i.enumGetBox(J,0),"FocusBorderWidth"),e.ki=c.aa(n.o,n.m,i.enumGetBox(J,0),"CornerRadius"),e.n8=c.ak(n.o,n.m,i.enumGetBox(J,0),"ContentPadding"),e.a1=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineWidth"),e.a0=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineRippleWidth"),e.ax=c.k(n.o,n.m,i.enumGetBox(J,0),"HoverUnderlineWidth"),e.k4=c.af(n.o,n.m,i.enumGetBox(J,0),"UnderlineColor"),e.k5=c.af(n.o,n.m,i.enumGetBox(J,0),"UnderlineRippleColor"),e.k3=c.af(n.o,n.m,i.enumGetBox(J,0),"HoverUnderlineColor"),e.k2=c.af(n.o,n.m,i.enumGetBox(J,0),"FocusUnderlineColor"),e.ay=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineOpacity"),e.aw=c.k(n.o,n.m,i.enumGetBox(J,0),"HoverUnderlineOpacity"),e.au=c.k(n.o,n.m,i.enumGetBox(J,0),"FocusUnderlineOpacity"),e.av=c.k(n.o,n.m,i.enumGetBox(J,0),"FocusUnderlineRippleOpacity"),e.az=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineRippleOpacity"),e.kz=c.af(n.o,n.m,i.enumGetBox(J,0),"BackgroundColor"),e.bc=NaN,e.bn=NaN,e.k7=null,e.kl=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.ob=new i.Thickness(1,NaN,NaN,NaN,NaN),e.cf=NaN,e.ce=NaN,e.br=NaN,e.l3=null,e.l4=null,e.lo=null,e.ln=null,e.cc=NaN,e.bq=NaN,e.bo=NaN,e.bp=NaN,e.cd=NaN,e.k6=null,e.bs=NaN,e.bt=NaN,e.lr=null,e.lq=null,e.km=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.oc=new i.Thickness(1,NaN,NaN,NaN,NaN),e.b1=NaN,e.b0=NaN,e.bx=NaN,e.lu=null,e.lv=null,e.lt=null,e.ls=null,e.by=NaN,e.bw=NaN,e.bu=NaN,e.bv=NaN,e.bz=NaN,e.lp=null,e.bd=NaN,e.be=NaN,e.lh=null,e.lg=null,e.kk=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.oa=new i.Thickness(1,NaN,NaN,NaN,NaN),e.bm=NaN,e.bl=NaN,e.bi=NaN,e.lk=null,e.ll=null,e.lj=null,e.li=null,e.bj=NaN,e.bh=NaN,e.bf=NaN,e.bg=NaN,e.bk=NaN,e.lf=null,e.a2=NaN,e.a3=NaN,e.la=null,e.k9=null,e.kj=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.n9=new i.Thickness(1,NaN,NaN,NaN,NaN),e.bb=NaN,e.ba=NaN,e.a7=NaN,e.ld=null,e.le=null,e.lc=null,e.lb=null,e.a8=NaN,e.a6=NaN,e.a4=NaN,e.a5=NaN,e.a9=NaN,e.k8=null,e.b2=NaN,e.b3=NaN,e.ly=null,e.lx=null,e.kn=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.od=new i.Thickness(1,NaN,NaN,NaN,NaN),e.cb=NaN,e.ca=NaN,e.b7=NaN,e.l1=null,e.l2=null,e.l0=null,e.lz=null,e.b8=NaN,e.b6=NaN,e.b4=NaN,e.b5=NaN,e.b9=NaN,e.lw=null,e.ad=!1,e.z=!1,e.af=!1,e.ab=!1,e.ae=!1,e.aa=!1,e.x=!1,e.lm=null,e.ff="ig-inputgroup-"+n.fc++,e.ac=!1,e.propertyChanged=null,e.f=new ft,e.v=null,e.ah=!1,e.y=!1,e.ag=!1,e.fd=i.toNullable(i.Number_$type,null);var r=new ot;r.d=e,e.view=r,e.view.ak();var o=e.f;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.jl));var s=e.f;return s.collectionResetting=i.delegateCombine(s.collectionResetting,i.runOn(e,e.jm)),e}var r;return e.__extends(n,t),n.prototype.jm=function(t,e){this.kb(),this.view.ad()},n.prototype.appendContentChild=function(t){this.view.ab(t)},n.prototype.j7=function(t){this.view.an(t)},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.j2("DisplayType",i.enumGetBox(J,e),i.enumGetBox(J,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.j2("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,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.j2("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),n.prototype.js=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(bt.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.jt=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(pt.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.jr=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(gt.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.ju=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(ct.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.jl=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;null!=l&&(l.b=null),this.view.ae(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 d=p.value;null!=d&&(d.b=this),this.view.ac(d)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}this.j9(),this.aj=!0;try{this.kh()}finally{this.aj=!1}this.ke(),this.kd(),this.kf(),this.kg(),this.kb()},Object.defineProperty(n.prototype,"p",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.j2("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.j2=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.j5(t,e,n)},n.prototype.j5=function(t,e,n){var r=this;switch(t){case"BaseTheme":this.ka(this.p),this.kc(),this.js((function(t){return t.p=0==r.p?2:r.p}));break;case"ActualBorderColor":case"ActualBackgroundColor":case"ActualBorderWidth":case"ActualFocusBorderColor":case"ActualFocusBorderWidth":case"ActualCornerRadius":case"ActualContentPadding":case"ActualUnderlineOpacity":case"ActualUnderlineRippleOpacity":case"ActualUnderlineRippleWidth":case"ActualUnderlineRippleColor":case"ActualUnderlineColor":case"ActualHoverUnderlineColor":case"ActualUnderlineWidth":case"ActualHoverUnderlineWidth":case"ActualHoverUnderlineOpacity":case"ActualFocusUnderlineColor":case"ActualFocusUnderlineOpacity":case"ActualFocusUnderlineRippleOpacity":case"IsHovered":this.ag=!0,this.ah=!0,this.y=!0,this.kb();break;case"BorderColor":case"BackgroundColor":case"BorderWidth":case"FocusBorderColor":case"FocusBorderWidth":case"CornerRadius":case"ContentPadding":case"UnderlineOpacity":case"UnderlineRippleOpacity":case"UnderlineRippleWidth":case"UnderlineRippleColor":case"UnderlineColor":case"HoverUnderlineColor":case"UnderlineWidth":case"HoverUnderlineWidth":case"HoverUnderlineOpacity":case"FocusUnderlineColor":case"FocusUnderlineOpacity":case"FocusUnderlineRippleOpacity":case"LineTypeBorderColor":case"LineTypeBackgroundColor":case"LineTypeBorderWidth":case"LineTypeFocusBorderColor":case"LineTypeFocusBorderWidth":case"LineTypeCornerRadius":case"LineTypeContentPadding":case"LineTypeUnderlineOpacity":case"LineTypeUnderlineRippleOpacity":case"LineTypeUnderlineRippleWidth":case"LineTypeUnderlineRippleColor":case"LineTypeUnderlineColor":case"LineTypeHoverUnderlineColor":case"LineTypeUnderlineWidth":case"LineTypeHoverUnderlineWidth":case"LineTypeHoverUnderlineOpacity":case"LineTypeFocusUnderlineColor":case"LineTypeFocusUnderlineOpacity":case"LineTypeFocusUnderlineRippleOpacity":case"BoxTypeBorderColor":case"BoxTypeBackgroundColor":case"BoxTypeBorderWidth":case"BoxTypeFocusBorderColor":case"BoxTypeFocusBorderWidth":case"BoxTypeCornerRadius":case"BoxTypeContentPadding":case"BoxTypeUnderlineOpacity":case"BoxTypeUnderlineRippleOpacity":case"BoxTypeUnderlineRippleWidth":case"BoxTypeUnderlineRippleColor":case"BoxTypeUnderlineColor":case"BoxTypeHoverUnderlineColor":case"BoxTypeUnderlineWidth":case"BoxTypeHoverUnderlineWidth":case"BoxTypeHoverUnderlineOpacity":case"BoxTypeFocusUnderlineColor":case"BoxTypeFocusUnderlineOpacity":case"BoxTypeFocusUnderlineRippleOpacity":case"BorderTypeBorderColor":case"BorderTypeBackgroundColor":case"BorderTypeBorderWidth":case"BorderTypeFocusBorderColor":case"BorderTypeFocusBorderWidth":case"BorderTypeCornerRadius":case"BorderTypeContentPadding":case"BorderTypeUnderlineOpacity":case"BorderTypeUnderlineRippleOpacity":case"BorderTypeUnderlineRippleWidth":case"BorderTypeUnderlineRippleColor":case"BorderTypeUnderlineColor":case"BorderTypeHoverUnderlineColor":case"BorderTypeUnderlineWidth":case"BorderTypeHoverUnderlineWidth":case"BorderTypeHoverUnderlineOpacity":case"BorderTypeFocusUnderlineColor":case"BorderTypeFocusUnderlineOpacity":case"BorderTypeFocusUnderlineRippleOpacity":case"DisplayType":this.kc();break;case"ActualDensity":this.view.ap(),this.kc();break;case"Density":this.s=0==this.t?1:this.t;break;case"IsFocused":this.j0(),this.kb();break;case"IsExpanded":this.z=!0,this.ai=this.an;break;case"ActualIsExpanded":this.jv();break;case"IsDisabled":i.NativeUI.u(this.view.v,!this.disabled)}},n.kr=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.e)?e.e:t.e,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.b)?e.b:t.b)},n.oh=function(t,e){return new i.Thickness(1,i.isNaN_(t.left)?e.left:t.left,i.isNaN_(t.top)?e.top:t.top,i.isNaN_(t.right)?e.right:t.right,i.isNaN_(t.bottom)?e.bottom:t.bottom)},n.prototype.ke=function(){var t=this;this.js((function(e){switch(e.t=t.s,e.p=0==t.p?2:t.p,t.d){case 0:e.l=0;break;case 1:e.l=1;break;case 2:case 3:e.l=2}e.co(t.ai,!1)}))},n.prototype.kf=function(){var t=this;this.jt((function(e){switch(t.d){case 0:e.k=0;break;case 1:e.k=1;break;case 2:case 3:e.k=2}}))},n.prototype.kd=function(){var t=this;this.jr((function(e){switch(e.aa=t.s,t.d){case 0:e.o=0;break;case 1:e.o=1;break;case 2:case 3:e.o=2}e.dq(t.ar,!1)}))},n.prototype.kg=function(){var t=this;this.ju((function(e){switch(t.d){case 0:e.k=0;break;case 1:e.k=1;break;case 2:case 3:e.k=2}}))},n.prototype.kc=function(){switch(this.ke(),this.kd(),this.kf(),this.kg(),this.d){case 0:this.l6=null!=this.md?this.md:null!=this.ns?this.ns:this.m9,this.l5=null!=this.mc?this.mc:null!=this.nr?this.nr:this.m8,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.el)?this.dw:this.el:this.c0,this.l7=null!=this.no?this.no:null!=this.nt?this.nt:this.na,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.em)?this.dx:this.em:this.eg,this.ko=n.kr(this.ks,n.kr(this.kx,this.kv)),this.oe=n.oh(this.oi,n.oh(this.on,this.ol)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.er)?this.d2:this.er:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.es)?this.d3:this.es:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.et)?this.d4:this.et:this.e7,this.mb=null!=this.n7?this.n7:null!=this.nx?this.nx:this.nf,this.ma=null!=this.n6?this.n6:null!=this.nw?this.nw:this.ne,this.l9=null!=this.nq?this.nq:null!=this.nv?this.nv:this.nd,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.eu)?this.d5:this.eu:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.eq)?this.d1:this.eq:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.ep)?this.d0:this.ep:this.ej,this.l8=null!=this.np?this.np:null!=this.nu?this.nu:this.nc,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.en)?this.dy:this.en:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.eo)?this.dz:this.eo:this.ei;break;case 1:this.l6=null!=this.md?this.md:null!=this.mm?this.mm:this.m1,this.l5=null!=this.mc?this.mc:null!=this.ml?this.ml:this.m0,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.c1)?this.dl:this.c1:this.c0,this.l7=null!=this.no?this.no:null!=this.mn?this.mn:this.m2,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.c2)?this.dm:this.c2:this.eg,this.ko=n.kr(this.ks,n.kr(this.kq,this.ku)),this.oe=n.oh(this.oi,n.oh(this.og,this.ok)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.c7)?this.ds:this.c7:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.c8)?this.dt:this.c8:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.c9)?this.du:this.c9:this.e7,this.mb=null!=this.n7?this.n7:null!=this.mr?this.mr:this.m7,this.ma=null!=this.n6?this.n6:null!=this.mq?this.mq:this.m6,this.l9=null!=this.nq?this.nq:null!=this.mp?this.mp:this.m5,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.da)?this.dv:this.da:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.c6)?this.dr:this.c6:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.c5)?this.dq:this.c5:this.ej,this.l8=null!=this.np?this.np:null!=this.mo?this.mo:this.m4,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.c3)?this.dn:this.c3:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.c4)?this.dp:this.c4:this.ei;break;case 2:this.l6=null!=this.md?this.md:null!=this.mf?this.mf:this.mt,this.l5=null!=this.mc?this.mc:null!=this.me?this.me:this.ms,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.cq)?this.db:this.cq:this.c0,this.l7=null!=this.no?this.no:null!=this.mg?this.mg:this.mu,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.cr)?this.dc:this.cr:this.eg,this.ko=n.kr(this.ks,n.kr(this.kp,this.kt)),this.oe=n.oh(this.oi,n.oh(this.of,this.oj)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.cw)?this.dh:this.cw:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.cx)?this.di:this.cx:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.cy)?this.dj:this.cy:this.e7,this.mb=null!=this.n7?this.n7:null!=this.mk?this.mk:this.mz,this.ma=null!=this.n6?this.n6:null!=this.mj?this.mj:this.my,this.l9=null!=this.nq?this.nq:null!=this.mi?this.mi:this.mx,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.cz)?this.dk:this.cz:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.cv)?this.dg:this.cv:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.cu)?this.df:this.cu:this.ej,this.l8=null!=this.np?this.np:null!=this.mh?this.mh:this.mw,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.cs)?this.dd:this.cs:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.ct)?this.de:this.ct:this.ei;break;case 3:this.l6=null!=this.md?this.md:null!=this.nz?this.nz:this.nh,this.l5=null!=this.mc?this.mc:null!=this.ny?this.ny:this.ng,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.ev)?this.d6:this.ev:this.c0,this.l7=null!=this.no?this.no:null!=this.n0?this.n0:this.ni,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.ew)?this.d7:this.ew:this.eg,this.ko=n.kr(this.ks,n.kr(this.ky,this.kw)),this.oe=n.oh(this.oi,n.oh(this.oo,this.om)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.e1)?this.ec:this.e1:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.e2)?this.ed:this.e2:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.e3)?this.ee:this.e3:this.e7,this.mb=null!=this.n7?this.n7:null!=this.n4?this.n4:this.nn,this.ma=null!=this.n6?this.n6:null!=this.n3?this.n3:this.nm,this.l9=null!=this.nq?this.nq:null!=this.n2?this.n2:this.nl,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.e4)?this.ef:this.e4:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.e0)?this.eb:this.e0:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.ez)?this.ea:this.ez:this.ej,this.l8=null!=this.np?this.np:null!=this.n1?this.n1:this.nk,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.ex)?this.d8:this.ex:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.ey)?this.d9:this.ey:this.ei}},n.prototype.kb=function(){this.js((function(t){})),this.jr((function(t){}));var t=this.view.v,e=this.view.u,n=this.view.x,r=this.view.y,o=null!=this.v&&1==this.v.playState,s=null!=this.w&&1==this.w.playState,a=null!=this.u&&1==this.u.playState;i.NativeUI.o(t,this.ko),i.NativeUI.o(e,this.ko),i.NativeUI.m(t,this.l5),i.NativeUI.z(t,this.oe),this.ao?(a||(i.NativeUI.n(e,this.l7),i.NativeUI.p(e,new i.Thickness(0,this.ch))),s||i.NativeUI.m(n,this.l8)):(s||(this.ap?(i.NativeUI.m(n,this.l9),i.NativeUI.y(n,this.ck),i.NativeUI.t(n,this.cl)):(i.NativeUI.m(n,this.ma),i.NativeUI.y(n,this.cm),i.NativeUI.t(n,this.cp))),a||(i.NativeUI.n(e,this.l6),i.NativeUI.p(e,new i.Thickness(0,this.cg))),s||i.NativeUI.m(t,this.l5)),o||(i.NativeUI.m(r,this.mb),i.NativeUI.t(r,this.co),i.NativeUI.y(r,this.cn))},Object.defineProperty(n.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.onChildrenMutated=function(){this.jr((function(t){return t.view.a9()})),this.js((function(t){return t.view.aj()})),this.jt((function(t){return t.view.r()})),this.ju((function(t){return t.view.r()}))},n.prototype.jp=function(){this.view.af();var t;null==this.w&&(this.w=i.KeyFrameAnimationFactory.f.c(this.view.c(this.a).m(new i.AnimationKeyFrameProperty(2,this.l6)).m(new i.AnimationKeyFrameProperty(2,this.l7)))),null==this.u&&(this.u=i.KeyFrameAnimationFactory.f.c(this.view.a(this.a).m(new i.AnimationKeyFrameProperty(3,this.l6),new i.AnimationKeyFrameProperty(4,2==this.d||3==this.d?new i.Thickness(0,this.cg):new i.Thickness(0,0))).m(new i.AnimationKeyFrameProperty(3,this.l7),new i.AnimationKeyFrameProperty(4,2==this.d||3==this.d?new i.Thickness(0,this.ch):new i.Thickness(0,0))))),null==this.v&&(this.v=i.KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new i.AnimationKeyFrameProperty(2,this.l7),new i.AnimationKeyFrameProperty(14,(t=new i.ScaleTransform,t.l=.5,t.m=1,t)),new i.AnimationKeyFrameProperty(1,0)).m(new i.AnimationKeyFrameProperty(2,this.l7),new i.AnimationKeyFrameProperty(14,function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),new i.AnimationKeyFrameProperty(1,1))))},Object.defineProperty(n.prototype,"al",{get:function(){var t=!1;return this.jr((function(e){e.at&&(t=!0)})),t},enumerable:!1,configurable:!0}),n.prototype.j1=function(){this.ai=this.z?this.an:!!this.al,this.ao=!1,null!=this.lostFocus&&this.lostFocus(this,i.EventArgs.empty)},n.prototype.ka=function(t){this.dw=n.m.i(t,i.enumGetBox(J,0),"BorderWidth"),this.dx=n.m.i(t,i.enumGetBox(J,0),"FocusBorderWidth"),this.kv=n.m.y(t,i.enumGetBox(J,0),"CornerRadius"),this.ol=n.m.ai(t,i.enumGetBox(J,0),"ContentPadding"),this.m9=n.m.ad(t,i.enumGetBox(J,0),"BorderColor"),this.na=n.m.ad(t,i.enumGetBox(J,0),"FocusBorderColor"),this.nb=n.m.ad(t,i.enumGetBox(J,0),"FocusLabelColor"),this.d5=n.m.i(t,i.enumGetBox(J,0),"UnderlineWidth"),this.d4=n.m.i(t,i.enumGetBox(J,0),"UnderlineRippleWidth"),this.d1=n.m.i(t,i.enumGetBox(J,0),"HoverUnderlineWidth"),this.ne=n.m.ad(t,i.enumGetBox(J,0),"UnderlineColor"),this.nf=n.m.ad(t,i.enumGetBox(J,0),"UnderlineRippleColor"),this.nd=n.m.ad(t,i.enumGetBox(J,0),"HoverUnderlineColor"),this.nc=n.m.ad(t,i.enumGetBox(J,0),"FocusUnderlineColor"),this.d2=n.m.i(t,i.enumGetBox(J,0),"UnderlineOpacity"),this.d0=n.m.i(t,i.enumGetBox(J,0),"HoverUnderlineOpacity"),this.dy=n.m.i(t,i.enumGetBox(J,0),"FocusUnderlineOpacity"),this.dz=n.m.i(t,i.enumGetBox(J,0),"FocusUnderlineRippleOpacity"),this.d3=n.m.i(t,i.enumGetBox(J,0),"UnderlineRippleOpacity"),this.m8=n.m.ad(t,i.enumGetBox(J,0),"BackgroundColor"),this.dl=n.m.i(t,i.enumGetBox(J,1),"BorderWidth"),this.dm=n.m.i(t,i.enumGetBox(J,1),"FocusBorderWidth"),this.ku=n.m.y(t,i.enumGetBox(J,1),"CornerRadius"),this.ok=n.m.ai(t,i.enumGetBox(J,1),"ContentPadding"),this.m1=n.m.ad(t,i.enumGetBox(J,1),"BorderColor"),this.m2=n.m.ad(t,i.enumGetBox(J,1),"FocusBorderColor"),this.m3=n.m.ad(t,i.enumGetBox(J,1),"FocusLabelColor"),this.dv=n.m.i(t,i.enumGetBox(J,1),"UnderlineWidth"),this.du=n.m.i(t,i.enumGetBox(J,1),"UnderlineRippleWidth"),this.dr=n.m.i(t,i.enumGetBox(J,1),"HoverUnderlineWidth"),this.m6=n.m.ad(t,i.enumGetBox(J,1),"UnderlineColor"),this.m7=n.m.ad(t,i.enumGetBox(J,1),"UnderlineRippleColor"),this.m5=n.m.ad(t,i.enumGetBox(J,1),"HoverUnderlineColor"),this.m4=n.m.ad(t,i.enumGetBox(J,1),"FocusUnderlineColor"),this.ds=n.m.i(t,i.enumGetBox(J,1),"UnderlineOpacity"),this.dq=n.m.i(t,i.enumGetBox(J,1),"HoverUnderlineOpacity"),this.dn=n.m.i(t,i.enumGetBox(J,1),"FocusUnderlineOpacity"),this.dp=n.m.i(t,i.enumGetBox(J,1),"FocusUnderlineRippleOpacity"),this.dt=n.m.i(t,i.enumGetBox(J,1),"UnderlineRippleOpacity"),this.m0=n.m.ad(t,i.enumGetBox(J,1),"BackgroundColor"),this.db=n.m.i(t,i.enumGetBox(J,2),"BorderWidth"),this.dc=n.m.i(t,i.enumGetBox(J,2),"FocusBorderWidth"),this.kt=n.m.y(t,i.enumGetBox(J,2),"CornerRadius"),this.oj=n.m.ai(t,i.enumGetBox(J,2),"ContentPadding"),this.mt=n.m.ad(t,i.enumGetBox(J,2),"BorderColor"),this.mu=n.m.ad(t,i.enumGetBox(J,2),"FocusBorderColor"),this.mv=n.m.ad(t,i.enumGetBox(J,2),"FocusLabelColor"),this.dk=n.m.i(t,i.enumGetBox(J,2),"UnderlineWidth"),this.dj=n.m.i(t,i.enumGetBox(J,2),"UnderlineRippleWidth"),this.dg=n.m.i(t,i.enumGetBox(J,2),"HoverUnderlineWidth"),this.my=n.m.ad(t,i.enumGetBox(J,2),"UnderlineColor"),this.mz=n.m.ad(t,i.enumGetBox(J,2),"UnderlineRippleColor"),this.mx=n.m.ad(t,i.enumGetBox(J,2),"HoverUnderlineColor"),this.mw=n.m.ad(t,i.enumGetBox(J,2),"FocusUnderlineColor"),this.dh=n.m.i(t,i.enumGetBox(J,2),"UnderlineOpacity"),this.df=n.m.i(t,i.enumGetBox(J,2),"HoverUnderlineOpacity"),this.dd=n.m.i(t,i.enumGetBox(J,2),"FocusUnderlineOpacity"),this.de=n.m.i(t,i.enumGetBox(J,2),"FocusUnderlineRippleOpacity"),this.di=n.m.i(t,i.enumGetBox(J,2),"UnderlineRippleOpacity"),this.ms=n.m.ad(t,i.enumGetBox(J,2),"BackgroundColor"),this.d6=n.m.i(t,i.enumGetBox(J,3),"BorderWidth"),this.d7=n.m.i(t,i.enumGetBox(J,3),"FocusBorderWidth"),this.kw=n.m.y(t,i.enumGetBox(J,3),"CornerRadius"),this.om=n.m.ai(t,i.enumGetBox(J,3),"ContentPadding"),this.nh=n.m.ad(t,i.enumGetBox(J,3),"BorderColor"),this.ni=n.m.ad(t,i.enumGetBox(J,3),"FocusBorderColor"),this.nj=n.m.ad(t,i.enumGetBox(J,3),"FocusLabelColor"),this.ef=n.m.i(t,i.enumGetBox(J,3),"UnderlineWidth"),this.ee=n.m.i(t,i.enumGetBox(J,3),"UnderlineRippleWidth"),this.eb=n.m.i(t,i.enumGetBox(J,3),"HoverUnderlineWidth"),this.nm=n.m.ad(t,i.enumGetBox(J,3),"UnderlineColor"),this.nn=n.m.ad(t,i.enumGetBox(J,3),"UnderlineRippleColor"),this.nl=n.m.ad(t,i.enumGetBox(J,3),"HoverUnderlineColor"),this.nk=n.m.ad(t,i.enumGetBox(J,3),"FocusUnderlineColor"),this.ec=n.m.i(t,i.enumGetBox(J,3),"UnderlineOpacity"),this.ea=n.m.i(t,i.enumGetBox(J,3),"HoverUnderlineOpacity"),this.d8=n.m.i(t,i.enumGetBox(J,3),"FocusUnderlineOpacity"),this.d9=n.m.i(t,i.enumGetBox(J,3),"FocusUnderlineRippleOpacity"),this.ed=n.m.i(t,i.enumGetBox(J,3),"UnderlineRippleOpacity"),this.ng=n.m.ad(t,i.enumGetBox(J,3),"BackgroundColor")},n.prototype.jv=function(){var t=this;this.jp(),this.ai?(this.js((function(e){return e.co(!0,!t.aj)})),this.jr((function(e){return e.dq(t.ar,!t.aj)}))):(this.js((function(e){return e.co(!1,!t.aj)})),this.jr((function(e){return e.dq(t.ar,!t.aj)})))},n.prototype.j0=function(){if(this.jp(),this.ao){this.js((function(t){return t.an=!0})),this.j4(1)}else{this.js((function(t){return t.an=!1})),this.j4(-1)}},n.prototype.jz=function(){this.ai=!this.z||this.an,this.ao=!0,null!=this.gotFocus&&this.gotFocus(this,i.EventArgs.empty)},n.prototype.kh=function(){this.z?this.ai=this.z:this.ao?this.ai=!0:this.ai=!!this.al},n.prototype.j4=function(t){var e=this;t>0&&this.w.playbackRate<0||t<0&&this.w.playbackRate>0?(this.w.reverse(),this.w.finished.f((function(t){null!=e.w&&e.w.commitStyles(),e.ah&&(e.w=null,e.ah=!1)})),this.u.reverse(),this.u.finished.f((function(t){null!=e.u&&e.u.commitStyles(),e.y&&(e.u=null,e.y=!1)})),this.v.reverse(),this.v.finished.f((function(t){null!=e.v&&e.v.commitStyles(),e.ag&&(e.v=null,e.ag=!1)}))):(this.w.play(),this.w.finished.f((function(t){null!=e.w&&e.w.commitStyles(),e.ah&&(e.w=null,e.ah=!1)})),this.u.play(),this.u.finished.f((function(t){null!=e.u&&e.u.commitStyles(),e.y&&(e.u=null,e.y=!1)})),this.v.play(),this.v.finished.f((function(t){null!=e.v&&e.v.commitStyles(),e.ag&&(e.v=null,e.ag=!1)})))},Object.defineProperty(n.prototype,"l6",{get:function(){return this.k0},set:function(t){var e=this.k0;this.k0=t,e!=this.k0&&this.j2("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l7",{get:function(){return this.k1},set:function(t){var e=this.k1;this.k1=t,e!=this.k1&&this.j2("ActualFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.j2("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.j2("ActualFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ko",{get:function(){return this.ki},set:function(t){var e=this.ki;this.ki=t,e!=this.ki&&this.j2("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oe",{get:function(){return this.n8},set:function(t){var e=this.n8;this.n8=t,e!=this.n8&&this.j2("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.j2("ActualUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.j2("ActualUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.j2("ActualHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ma",{get:function(){return this.k4},set:function(t){var e=this.k4;this.k4=t,e!=this.k4&&this.j2("ActualUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mb",{get:function(){return this.k5},set:function(t){var e=this.k5;this.k5=t,e!=this.k5&&this.j2("ActualUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l9",{get:function(){return this.k3},set:function(t){var e=this.k3;this.k3=t,e!=this.k3&&this.j2("ActualHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l8",{get:function(){return this.k2},set:function(t){var e=this.k2;this.ln=t,e!=this.k2&&this.j2("ActualFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.j2("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.j2("ActualHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.j2("ActualFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.j2("ActualFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.j2("ActualUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l5",{get:function(){return this.kz},set:function(t){var e=this.kz;this.kz=t,e!=this.kz&&this.j2("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c0",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.j2("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eg",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.j2("FocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"md",{get:function(){return this.k7},set:function(t){var e=this.k7;this.k7=t,e!=this.k7&&this.j2("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ks",{get:function(){return this.kl},set:function(t){var e=this.kl;this.kl=t,e!=this.kl&&this.j2("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oi",{get:function(){return this.ob},set:function(t){var e=this.ob;this.ob=t,e!=this.ob&&this.j2("ContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e8",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.j2("UnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.j2("UnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ek",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.j2("HoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n6",{get:function(){return this.l3},set:function(t){var e=this.l3;this.l3=t,e!=this.l3&&this.j2("UnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n7",{get:function(){return this.l4},set:function(t){var e=this.l4;this.l4=t,e!=this.l4&&this.j2("UnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nq",{get:function(){return this.lo},set:function(t){var e=this.lo;this.lo=t,e!=this.lo&&this.j2("HoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"np",{get:function(){return this.ln},set:function(t){var e=this.ln;this.ln=t,e!=this.ln&&this.j2("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.j2("UnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ej",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.j2("HoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eh",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.j2("FocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ei",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.j2("FocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e6",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.j2("UnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mc",{get:function(){return this.k6},set:function(t){var e=this.k6;this.k6=t,e!=this.k6&&this.j2("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.j2("LineTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"em",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.j2("LineTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nt",{get:function(){return this.lr},set:function(t){var e=this.lr;this.lr=t,e!=this.lr&&this.j2("LineTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ns",{get:function(){return this.lq},set:function(t){var e=this.lq;this.lq=t,e!=this.lq&&this.j2("LineTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kx",{get:function(){return this.km},set:function(t){var e=this.km;this.km=t,e!=this.km&&this.j2("LineTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"on",{get:function(){return this.oc},set:function(t){var e=this.oc;this.oc=t,e!=this.oc&&this.j2("LineTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eu",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.j2("LineTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"et",{get:function(){return this.b0},set:function(t){var e=this.b0;this.b0=t,e!=this.b0&&this.j2("LineTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eq",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bx=t,e!=this.bx&&this.j2("LineTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nw",{get:function(){return this.lu},set:function(t){var e=this.lu;this.lu=t,e!=this.lu&&this.j2("LineTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nx",{get:function(){return this.lv},set:function(t){var e=this.lv;this.lv=t,e!=this.lv&&this.j2("LineTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nv",{get:function(){return this.lt},set:function(t){var e=this.lt;this.lo=t,e!=this.lt&&this.j2("LineTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nu",{get:function(){return this.ls},set:function(t){var e=this.ls;this.ls=t,e!=this.ls&&this.j2("LineTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"er",{get:function(){return this.by},set:function(t){var e=this.by;this.by=t,e!=this.by&&this.j2("LineTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ep",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.j2("LineTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"en",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.j2("LineTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eo",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.j2("LineTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"es",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.j2("LineTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nr",{get:function(){return this.lp},set:function(t){var e=this.lp;this.lp=t,e!=this.lp&&this.j2("LineTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c1",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.j2("BoxTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c2",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.j2("BoxTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mn",{get:function(){return this.lh},set:function(t){var e=this.lh;this.lh=t,e!=this.lh&&this.j2("BoxTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mm",{get:function(){return this.lg},set:function(t){var e=this.lg;this.lg=t,e!=this.lg&&this.j2("BoxTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kq",{get:function(){return this.kk},set:function(t){var e=this.kk;this.kk=t,e!=this.kk&&this.j2("BoxTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"og",{get:function(){return this.oa},set:function(t){var e=this.oa;this.oa=t,e!=this.oa&&this.j2("BoxTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.j2("BoxTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.j2("BoxTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c6",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.j2("BoxTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mq",{get:function(){return this.lk},set:function(t){var e=this.lk;this.lk=t,e!=this.lk&&this.j2("BoxTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mr",{get:function(){return this.ll},set:function(t){var e=this.ll;this.ll=t,e!=this.ll&&this.j2("BoxTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mp",{get:function(){return this.lj},set:function(t){var e=this.lj;this.lo=t,e!=this.lj&&this.j2("BoxTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mo",{get:function(){return this.li},set:function(t){var e=this.li;this.li=t,e!=this.li&&this.j2("BoxTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c7",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.j2("BoxTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c5",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.j2("BoxTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c3",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.j2("BoxTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c4",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.j2("BoxTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c8",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.j2("BoxTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ml",{get:function(){return this.lf},set:function(t){var e=this.lf;this.lf=t,e!=this.lf&&this.j2("BoxTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.j2("BorderTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.j2("BorderTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mg",{get:function(){return this.la},set:function(t){var e=this.la;this.la=t,e!=this.la&&this.j2("BorderTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mf",{get:function(){return this.k9},set:function(t){var e=this.k9;this.k9=t,e!=this.k9&&this.j2("BorderTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kp",{get:function(){return this.kj},set:function(t){var e=this.kj;this.kj=t,e!=this.kj&&this.j2("BorderTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"of",{get:function(){return this.n9},set:function(t){var e=this.n9;this.n9=t,e!=this.n9&&this.j2("BorderTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cz",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.j2("BorderTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.j2("BorderTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cv",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.j2("BorderTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mj",{get:function(){return this.ld},set:function(t){var e=this.ld;this.ld=t,e!=this.ld&&this.j2("BorderTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mk",{get:function(){return this.le},set:function(t){var e=this.le;this.le=t,e!=this.le&&this.j2("BorderTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mi",{get:function(){return this.lc},set:function(t){var e=this.lc;this.lo=t,e!=this.lc&&this.j2("BorderTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mh",{get:function(){return this.lb},set:function(t){var e=this.lb;this.lb=t,e!=this.lb&&this.j2("BorderTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.j2("BorderTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cu",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.j2("BorderTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.j2("BorderTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ct",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.j2("BorderTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.j2("BorderTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"me",{get:function(){return this.k8},set:function(t){var e=this.k8;this.k8=t,e!=this.k8&&this.j2("BorderTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ev",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.j2("SearchTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ew",{get:function(){return this.b3},set:function(t){var e=this.b3;this.b3=t,e!=this.b3&&this.j2("SearchTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n0",{get:function(){return this.ly},set:function(t){var e=this.ly;this.ly=t,e!=this.ly&&this.j2("SearchTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nz",{get:function(){return this.lx},set:function(t){var e=this.lx;this.lx=t,e!=this.lx&&this.j2("SearchTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ky",{get:function(){return this.kn},set:function(t){var e=this.kn;this.kn=t,e!=this.kn&&this.j2("SearchTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oo",{get:function(){return this.od},set:function(t){var e=this.od;this.od=t,e!=this.od&&this.j2("SearchTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e4",{get:function(){return this.cb},set:function(t){var e=this.cb;this.cb=t,e!=this.cb&&this.j2("SearchTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e3",{get:function(){return this.ca},set:function(t){var e=this.ca;this.ca=t,e!=this.ca&&this.j2("SearchTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e0",{get:function(){return this.b7},set:function(t){var e=this.b7;this.b7=t,e!=this.b7&&this.j2("SearchTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n3",{get:function(){return this.l1},set:function(t){var e=this.l1;this.l1=t,e!=this.l1&&this.j2("SearchTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n4",{get:function(){return this.l2},set:function(t){var e=this.l2;this.l2=t,e!=this.l2&&this.j2("SearchTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n2",{get:function(){return this.l0},set:function(t){var e=this.l0;this.lo=t,e!=this.l0&&this.j2("SearchTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n1",{get:function(){return this.lz},set:function(t){var e=this.lz;this.lz=t,e!=this.lz&&this.j2("SearchTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.b8},set:function(t){var e=this.b8;this.b8=t,e!=this.b8&&this.j2("SearchTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ez",{get:function(){return this.b6},set:function(t){var e=this.b6;this.b6=t,e!=this.b6&&this.j2("SearchTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ex",{get:function(){return this.b4},set:function(t){var e=this.b4;this.b4=t,e!=this.b4&&this.j2("SearchTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ey",{get:function(){return this.b5},set:function(t){var e=this.b5;this.b5=t,e!=this.b5&&this.j2("SearchTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e2",{get:function(){return this.b9},set:function(t){var e=this.b9;this.b9=t,e!=this.b9&&this.j2("SearchTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ny",{get:function(){return this.lw},set:function(t){var e=this.lw;this.lw=t,e!=this.lw&&this.j2("SearchTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.j2("IsExpanded",e,t)},enumerable:!1,configurable:!0}),n.prototype.j8=function(){this.ad=!1,this.z=!1,this.kh()},Object.defineProperty(n.prototype,"ap",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.j2("IsHovered",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.j2("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.j2("ActualIsExpanded",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"no",{get:function(){return this.lm},set:function(t){var e=this.lm;this.lm=t,e!=this.lm&&this.j2("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.j2("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.j2("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.j3=function(){},n.prototype.onDetachedFromUI=function(){this.view.ai()},n.prototype.onAttachedToUI=function(){this.view.ag()},n.prototype.ensureShift=function(){this.jr((function(t){return t.view.a9()})),this.js((function(t){return t.view.aj()})),this.jt((function(t){return t.view.r()})),this.ju((function(t){return t.view.r()}))},n.prototype.aq=function(){return this.view.g()},n.prototype.fe=function(){return this.b()},n.prototype.hb=function(){return this.b().y()},n.prototype.b=function(){var t=new Q;t.f=this.s,t.e=this.p,t.b=i.AppearanceHelper.a(this.l6),t.o=this.cg,t.p=this.ch,t.z=this.ko,t.aa=this.oe,t.x=this.cp,t.w=this.co,t.t=this.cl,t.c=i.AppearanceHelper.a(this.ma),t.d=i.AppearanceHelper.a(this.mb),t.u=this.cm,t.s=this.ck,t.q=this.ci,t.r=this.cj,t.v=this.cn,t.a=i.AppearanceHelper.a(this.l5),t.g=this.ai,t.j=this.ap,t.i=this.ao,t.h=this.disabled,t.m=new i.List$1(Y.$,0),t.l=new i.List$1(Z.$,0),t.k=new i.List$1(tt.$,0),t.n=new i.List$1(X.$,0);for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(pt.$,this.inputs._inner[e])?(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Prefix"+t.m.count.toString()),t.m.add1(this.inputs._inner[e].t())):null!==i.typeCast(bt.$,this.inputs._inner[e])?(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Label"+t.l.count.toString()),t.l.add1(this.inputs._inner[e].aw())):null!==i.typeCast(gt.$,this.inputs._inner[e])?(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Input"+t.k.count.toString()),t.k.add1(this.inputs._inner[e].bg())):null!==i.typeCast(ct.$,this.inputs._inner[e])&&(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Suffix"+t.n.count.toString()),t.n.add1(this.inputs._inner[e].t()));return t},n.prototype.provideContainer=function(t){this.view.ah(t)},Object.defineProperty(n.prototype,"inputs",{get:function(){return this.f},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fb",{get:function(){if(!this.fd.hasValue){var t=0;this.js((function(e){return t++})),this.fd=i.toNullable(i.Number_$type,t)}return this.fd.value},enumerable:!1,configurable:!0}),n.prototype.j9=function(){this.fd=i.toNullable(i.Number_$type,null)},Object.defineProperty(n.prototype,"ak",{get:function(){return this.fb>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return!this.ak||this.ai},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"XInputGroup",i.Base.$,[i.INotifyPropertyChanged_$type]),n.o=2,n.fc=0,n.j=new l(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),((r=new i.Dictionary$2(i.Base.$,l.$,0)).addItem(i.enumGetBox(J,2),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,4,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),r.addItem(i.enumGetBox(J,1),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(20,0,0,0)),t}())),r.addItem(i.enumGetBox(J,0),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),r.addItem(i.enumGetBox(J,3),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,0,153,155)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),r)),n.i=new l(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),function(){var t=new i.Dictionary$2(i.Base.$,l.$,0);return t.addItem(i.enumGetBox(J,2),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,1),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(20,0,0,0)),t}())),t.addItem(i.enumGetBox(J,0),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,3),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.j(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.j(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.j(255,33,150,243)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t}()),n.n5=i.BrushUtil.j(255,105,136,255),n.l=new l(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),function(){var t=new i.Dictionary$2(i.Base.$,l.$,0);return t.addItem(i.enumGetBox(J,2),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,8,0,8,0)),t.addItem("BorderColor",i.BrushUtil.j(25,0,0,0)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(25,0,0,0)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,0,0,0)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,1),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(25,0,0,0)),t}())),t.addItem(i.enumGetBox(J,0),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,3),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(255,186,191,199)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t}()),n.k=new l(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),function(){var t=new i.Dictionary$2(i.Base.$,l.$,0);return t.addItem(i.enumGetBox(J,2),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,8,0,8,0)),t.addItem("BorderColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,1),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(128,55,63,86)),t}())),t.addItem(i.enumGetBox(J,0),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,3),new l(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.j(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.j(0,0,0,0)),t}())),t}()),n.m=new c(1,function(){var t=new i.Dictionary$2(i.BaseControlTheme_$type,l.$,0);return t.addItem(2,n.j),t.addItem(1,n.i),t.addItem(3,n.l),t.addItem(4,n.k),t}(),2),n}(i.Base),ft=function(t){function n(){var e=t.call(this,lt.$,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,"XInputGroupInputCollection",i.ObservableCollection$1.$.specialize(lt.$)),n}(i.ObservableCollection$1),bt=function(t){function n(){var e=t.call(this)||this;e.n=0,e._view=null,e.ak=!1,e.aa=null,e.z=null,e.ab=!1,e.r=0,e.q=1,e.cv=c.ah(n.o,n.de,n.c7),e.cs=c.ah(n.o,n.db,n.c4),e.ct=c.ah(n.o,n.dc,n.c5),e.cu=c.ah(n.o,n.dd,n.c6),e.u=null,e.cz=n.df,e.cw=n.c8,e.cx=n.c9,e.k=0,e.ag=!1,e.ae=!1,e.v=null,e.cy=null,e.a4="ig-label-"+n.av++,e.a0="inline-block",e.a1="inline-block",e.a2=null,e.ax="center",e.ay="center",e.at=0,e.ac=!1,e.a3=null,e.az=null,e.a5=null,e.af=!1,e.aj=!1,e.ad=!1,e.ai=!1,e.ah=!1,e.ar=!1;var i=new ht;return i.c=e,e.view=i,e.view.ae(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"p",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"i",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.cb=function(){var t=this;this.view.v();var e;if(null==this.aa){var n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=t.view.l(),e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}());var r=-1.3*this.view.j();2==this.s&&(r=-1.05*this.view.j()),3==this.s&&(r=-1.01*this.view.j()),4==this.s&&(r=-1.05*this.view.j());var o=new i.TransformGroup;o.j.add(function(){var e=new i.TranslateTransform;return e.k=2==t.l?r:-.65*t.view.j(),e}()),o.j.add(function(){var t=new i.ScaleTransform;return t.l=.75,t.m=.75,t}()),this.aa=i.KeyFrameAnimationFactory.f.c(this.view.b(this.i).m(new i.AnimationKeyFrameProperty(14,n),new i.AnimationKeyFrameProperty(2,i.BrushUtil.j(0,255,255,255))).m(new i.AnimationKeyFrameProperty(14,o),new i.AnimationKeyFrameProperty(2,i.BrushUtil.j(2==this.l?255:0,255,255,255))))}null==this.z&&(this.z=i.KeyFrameAnimationFactory.f.c(this.view.a(this.i).m(new i.AnimationKeyFrameProperty(7,this.c3)).m(new i.AnimationKeyFrameProperty(7,this.c0))))},n.prototype.cm=function(t,e){var i=this;if(e>0&&t.playbackRate<0||e<0&&t.playbackRate>0){if(t.reverse(),this.ar)return t.finish(),void this.cc(t);t.finished.f((function(e){return i.cc(t)}))}else{if(t.play(),this.ar)return t.finish(),void this.cc(t);t.finished.f((function(e){return i.cc(t)}))}},n.prototype.cc=function(t){t.commitStyles(),t==this.aa&&this.ai&&(this.aa=null,this.ab&&(this.ab=!1,this.cg())),t==this.z&&this.ah&&(this.z=null)},n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"BaseTheme":this.cp(this.p),this.cr();break;case"TextColor":case"HoverTextColor":case"TextStyle":case"HighlightTextColor":case"HoverHighlightTextColor":this.cr();break;case"ActualTextColor":case"ActualHoverTextColor":case"ActualTextStyle":case"ActualHighlightTextColor":case"ActualHoverHighlightTextColor":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ai=!0),null!=this.z&&(3==this.z.playState?this.z=null:this.ah=!0),this.cq();break;case"Text":this.view.ai();break;case"Density":this.s=0==this.t?1:this.t;break;case"ActualDensity":this.view.ak(),this.view.aj();break;case"InputGroup":this.view.aj();break;case"IsHighlighted":this.cf();break;case"IsShifted":this.cg();break;case"ShiftType":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ai=!0),this.cj();break;case"Display":this.view.ab();break;case"FlexDirection":this.view.ac();break;case"FlexGrow":this.view.ad();break;case"AlignItems":this.view.w();break;case"AlignSelf":this.view.x()}},n.prototype.cj=function(){this.view.aj()},n.prototype.cg=function(){if(this.view.af(),!this.ak){this.cb();var t=1;this.ap||(t=-1),this.cm(this.aa,t)}},n.prototype.cf=function(){if(!this.ak){this.cb();var t=1;this.an||(t=-1),this.cm(this.z,t)}},n.prototype.onSizeReady=function(){null!=this.aa&&(this.ca(),this.ap&&(this.view.aj(),this.cg()))},n.prototype.ca=function(){null!=this.aa&&3==this.aa.playState?this.aa=null:(this.ab=!0,this.ai=!0)},n.prototype.cr=function(){this.c3=null!=this.dj?this.dj:n.df,this.c2=null!=this.di?this.di:n.df,this.c0=null!=this.dg?this.dg:n.c8,this.w=null!=this.y?this.y:n.x},n.prototype.cq=function(){null!=this.w?this.view.am(this.w):this.view.am(this.view.e()),this.view.ah(this.c3)},n.prototype.cp=function(t){n.df=c.ah(t,n.de,n.c7),n.c8=c.ah(t,n.db,n.c4),n.da=c.ah(t,n.dd,n.c6),n.c9=c.ah(t,n.dc,n.c5)},Object.defineProperty(n.prototype,"t",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.g("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,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.g("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c3",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.g("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c0",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.g("ActualHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c1",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.g("ActualHoverHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c2",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.g("ActualHoverTextColor",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,e!=this.u&&this.g("ActualTextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dj",{get:function(){return this.cz},set:function(t){var e=this.cz;this.cz=t,e!=this.cz&&this.g("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dg",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.g("HighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dh",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.g("HoverHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.g("ShiftType",i.enumGetBox(H,e),i.enumGetBox(H,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.g("IsShifted",e,t)},enumerable:!1,configurable:!0}),n.prototype.co=function(t,e){void 0===e&&(e=!0);var i=this.ar;e||(this.ar=!0);try{this.ap=t}finally{e||(this.ar=i)}},Object.defineProperty(n.prototype,"an",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.g("IsHighlighted",e,t)},enumerable:!1,configurable:!0}),n.prototype.ch=function(){this.ao=!0},n.prototype.ci=function(){this.ao=!1},Object.defineProperty(n.prototype,"y",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"di",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.g("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.g("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.g("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.g("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.g("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.g("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.g("AlignSelf",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ac},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,this.ac=!0,e!=this.at&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.g("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.g("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.cl=function(){this.view.ai()},n.prototype.onDetachedFromUI=function(){this.view.aa()},n.prototype.onAttachedToUI=function(){this.view.y()},n.prototype.aq=function(){return this.view.g()},n.prototype.aw=function(){return this.j()},n.prototype.bm=function(){return this.j().q()},n.prototype.j=function(){var t=new Z,e=this.view.q;if(t.c=this.p,t.e=this.t,t.d=this.s,t.a=i.AppearanceHelper.a(i.NativeUI.al(e)),t.b=this.l,t.i=this.ap,t.g=this.an,t.m=this.bk,t.n=this.bn,t.o=this.bp,t.l=this.bc,t.r=this.text,t.h=this.ao,t.j=this.as,t.f=this.disabled,t.p=this.e,null!=this.w){var n=this.w;if(null!=this.view&&null==n.q){var r=this.view.m,o=i.FontUtil.getFontInfoFromString(r,n.fontString);n.q=o.q,n.f=o.f,n.r=o.r,n.t=o.t,n.u=o.u,n.v=o.v}null!=n.q&&(t.s=n.q),i.isNaN_(n.f)||(t.k=n.f),null!=n.v&&(t.w=n.v),null!=n.t&&(t.u=n.t),null!=n.r&&(t.t=n.t)}return t},n.prototype.provideContainer=function(t){this.view.z(t)},n.$t=i.markType(n,"XLabel",lt.$),n.de=i.BrushUtil.j(221,0,0,0),n.db=i.BrushUtil.j(255,0,153,155),n.dd=i.BrushUtil.j(221,0,0,0),n.dc=i.BrushUtil.j(255,0,153,155),n.c7=i.BrushUtil.j(255,24,29,31),n.c4=i.BrushUtil.j(255,33,150,243),n.c6=i.BrushUtil.j(255,24,29,31),n.c5=i.BrushUtil.j(255,33,150,243),n.o=2,n.df=c.ah(n.o,n.de,n.c7),n.c8=c.ah(n.o,n.db,n.c4),n.da=c.ah(n.o,n.dd,n.c6),n.c9=c.ah(n.o,n.dc,n.c5),n.x=null,n.av=0,n}(lt),gt=function(t){function n(){var e=t.call(this)||this;e.u=null,e.a7=0,e.a8=0,e.q=0,e.bp="",e.bj="",e.ah=!1,e.bk=null,e.ai=!1,e.aq=!1,e._view=null,e.n=0,e.v=0,e.y=1,e.x=1,e.bo=null,e.br="_",e.ak=!1,e.ar=!0,e.d0=n.d6,e.dz=n.d5,e.ab=null,e.d2=n.d6,e.keyDown=null,e.keyUp=null,e.keyPress=null,e.gotFocus=null,e.lostFocus=null,e.mouseDown=null,e.mouseUp=null,e.ac=null,e.bn="text",e.bq="text",e.d1=null,e.bm="ig-input-"+n.bf++,e.a9=0,e.aj=!1,e.bl=null,e.bi=null,e.an=!1,e.bh=null,e.bs=null,e.am=!1,e.al=!1,e.ao=!1,e.dx=0,e.change=null,e.changing=null,e.compositionStart=null,e.compositionEnd=null,e.ap=!0,e.ag=null,e.a0=!1,e.u=new it;var r=new ut;return r.c=e,e.view=r,e.view.at(),n.ae=new i.FontInfo,n.ae.q="Verdana",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}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("ShiftType",i.enumGetBox(L,e),i.enumGetBox(L,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.g("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.g("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.g("Mask",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.g("PromptChar",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.g("IncludeLiterals",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.g("ShowSpinner",e,t)},enumerable:!1,configurable:!0}),n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"TextColor":case"HoverTextColor":case"TextStyle":this.dv();break;case"ActualTextColor":case"ActualHoverTextColor":case"ActualTextStyle":this.du();break;case"Value":this.al||(this.view.ay(this.cq),null!=this.b&&this.b.kh(),null==this.ce||this.aq||this.dw(this.cq));break;case"Name":this.view.a0(this.e);break;case"Density":this.z=0==this.aa?1:this.aa;break;case"ActualDensity":this.view.ba(),this.view.a9();break;case"InputGroup":this.c8();break;case"ShiftType":this.dj();break;case"InputType":this.dk();break;case"Placeholder":this.di();break;case"Mask":this.cg=this.ce;break;case"PromptChar":case"IncludeLiterals":break;case"IsShown":this.c9();break;case"IsDisabled":this.view.az(this.am);break;case"IsReadOnly":this.view.a1(this.ao);break;case"TextAlignment":this.view.a6(this.dy);break;case"ShowSpinner":this.view.a5(this.a1);break;case"TabIndex":this.view.a8()}},n.prototype.di=function(){this.view.av()},n.prototype.dk=function(){this.view.ax()},n.prototype.dj=function(){this.view.a9()},n.prototype.c8=function(){this.view.a9()},n.prototype.dv=function(){this.d4=null!=this.d8?this.d8:n.d6,this.d3=null!=this.d7?this.d7:n.d6,this.ad=null!=this.af?this.af:n.ae},n.prototype.du=function(){null!=this.ad&&this.view.bc(this.ad),i.NativeUI.q(this.view.r,this.d4),this.view.a7()},Object.defineProperty(n.prototype,"d4",{get:function(){return this.d0},set:function(t){var e=this.d0;this.d0=t,e!=this.d0&&this.g("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.dz},set:function(t){var e=this.dz;this.dz=t,e!=this.dz&&this.g("ActualHoverTextColor",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.g("ActualTextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d8",{get:function(){return this.d2},set:function(t){var e=this.d2;this.d2=t,e!=this.d2&&this.g("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.cz=function(){null!=this.ce&&this.ds(this.cq),null!=this.lostFocus&&this.lostFocus(this,i.EventArgs.empty)},n.prototype.c7=function(){null!=this.ce&&this.dt(this.cq),null!=this.gotFocus&&this.gotFocus(this,i.EventArgs.empty)},n.prototype.da=function(t){if(null!=this.ce){var e=t.keyCode;(17==e&&90==e||17==e&&89==e)&&t.preventDefault(),this.q=e,this.a8=this.bb(),this.a7=this.ba()}null!=this.keyDown&&this.keyDown(this,t)},n.prototype.dc=function(t){null!=this.keyUp&&this.keyUp(this,t)},n.prototype.db=function(t){null!=this.keyPress&&this.keyPress(this,t)},n.prototype.dd=function(t){null!=this.mouseDown&&this.mouseDown(this,t)},n.prototype.dg=function(t){null!=this.mouseUp&&this.mouseUp(this,t)},n.prototype.dh=function(){null!=this.ce&&(this.bp=this.cq,this.a8=this.bb())},n.prototype.c5=function(){null!=this.ce&&(this.ah||this.dt(this.bj))},n.prototype.c6=function(){null!=this.ce&&(this.ah||this.ds(this.cq))},n.prototype.c0=function(){var t,e=this;this.al=!0,this.cq=this.view.t(),null!=this.change&&this.change(this,((t=new nt).value=e.cq,t.isCompositionInProgress=e.view.h,t)),this.al=!1},n.prototype.c1=function(){var t,e=this;if(this.al=!0,this.cq=this.view.t(),this.al=!1,null!=this.ce){this.aq=!0,this.ai&&(this.a8=this.bb()),this.cq.length<this.bp.length&&229==this.q&&(this.q=8);this.bb(),this.ba();var i="";switch(this.q){case 46:this.a7=this.a8==this.a7?++this.a7:this.a7;break;case 8:this.a8=this.bb();break;default:i=this.cq.substr(this.a8,this.ba()-this.a8)}var n=new rt;n.a=this.ce,n.b=this.ci;var r=this.u.a(this.bp,i,n,this.a8,this.a7);this.cq=r.b,8==this.q&&(r.a=this.a8),this.dr(r.a,r.a);var o=this.u.i(this.cq,n);this.bj=this.au?this.cq:o,this.cs(),this.aq=!1}this.al=!0,null!=this.changing&&this.changing(this,((t=new nt).value=e.cq,t.isCompositionInProgress=e.view.h,t)),this.al=!1},n.prototype.c3=function(){null!=this.compositionStart&&this.compositionStart(this,new i.EventArgs)},n.prototype.c2=function(t){var e;null!=this.compositionEnd&&this.compositionEnd(this,((e=new nt).value=t,e))},n.prototype.de=function(){this.aw=!0},n.prototype.df=function(){this.aw=!1},Object.defineProperty(n.prototype,"af",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.g("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.g("InputType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.g("Placeholder",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d7",{get:function(){return this.d1},set:function(t){var e=this.d1;this.d1=t,e!=this.d1&&this.g("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.g("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.aj},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,this.aj=!0,e!=this.a9&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),n.prototype.cu=function(){this.a9=0,this.aj=!1,this.view.a8()},Object.defineProperty(n.prototype,"b2",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.g("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return!i.stringIsNullOrEmpty(this.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.g("IsReadOnly",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dy",{get:function(){return this.dx},set:function(t){var e=this.dx;this.dx=t,e!=this.dx&&this.g("TextAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,this.dx))},enumerable:!1,configurable:!0}),n.prototype.dl=function(){},n.prototype.onDetachedFromUI=function(){this.view.ar()},n.prototype.onAttachedToUI=function(){this.view.ao()},n.prototype.az=function(){return this.view.i()},n.prototype.bg=function(){return this.j()},n.prototype.b1=function(){return this.j().p()},n.prototype.j=function(){var t=new tt,e=this.view.r,n=this.view.a();if(t.i=n[0],t.g=n[1],t.f=this.view.m.rootWrapper.height(),t.j=this.view.m.rootWrapper.width(),t.b=this.o,t.c=this.z,t.l=this.ce,t.o=this.ci,t.d=this.au,t.a=i.AppearanceHelper.a(i.NativeUI.al(e)),t.k=this.b8,t.n=this.cg,t.e=this.aw,t.v=this.cq,t.m=this.e,null!=this.ad){var r=this.ad;if(null!=this.view&&null==r.q){var o=this.view.m,s=i.FontUtil.getFontInfoFromString(o,r.fontString);r.q=s.q,r.f=s.f,r.r=s.r,r.t=s.t,r.u=s.u,r.v=s.v}null!=r.q&&(t.q=r.q),i.isNaN_(r.f)||(t.h=r.f),null!=r.v&&(t.u=r.v),null!=r.t&&(t.s=r.t),null!=r.r&&(t.r=r.t)}return t},n.prototype.dr=function(t,e){this.view.a3(t,e)},n.prototype.provideContainer=function(t){this.view.aq(t)},n.prototype.ct=function(){this.cz(),this.view.ap()},n.prototype.focus=function(t){void 0===t&&(t=!1),this.c7(),this.view.as(t)},n.prototype.dp=function(){this.view.aw()},n.prototype.dt=function(t){this.aq=!0;var e=new rt;e.a=this.ce,e.b=this.ci,this.cq=this.u.h(this.cq,e),this.bp=this.cq,this.aq=!1},n.prototype.ds=function(t){this.aq=!0;var e=new rt;e.a=this.ce,e.b=this.ci,t==this.u.h(null,e)&&(this.cq=""),this.aq=!1},n.prototype.dw=function(t){var e,i=this,n=new rt;n.a=this.ce,n.b=this.ci,null!=this.ci&&this.ci.length>1&&(n.b=this.ci.substr(0,1)),this.cq=null!=t?this.u.h(t,n):"",this.bj=this.au?this.cq:t,null!=this.changing&&this.changing(this,((e=new nt).value=i.cq,e.isCompositionInProgress=i.view.h,e))},n.prototype.cs=function(){this.bp=this.cq,this.ai=!1,this.a8=0,this.a7=0,this.q=0},n.prototype.bb=function(){var t=this.view.q(),e=this.view.p();return t==e&&this.ai?e-this.bk.length:t},n.prototype.ba=function(){return this.view.p()},Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this.bb()},set:function(t){this.view.a4(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this.ba()},set:function(t){this.view.a2(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.g("IsShown",e,t)},enumerable:!1,configurable:!0}),n.prototype.dq=function(t,e){void 0===e&&(e=!0);var i=this.a0;e||(this.a0=!0);try{this.ay=t}finally{e||(this.a0=i)}},n.prototype.c9=function(){this.cw(),this.dm(this.ag,this.ay)},n.prototype.cw=function(){this.view.am(),null==this.ag&&(this.ag=i.KeyFrameAnimationFactory.f.c(this.view.b(this.i).m(new i.AnimationKeyFrameProperty(1,0)).m(new i.AnimationKeyFrameProperty(1,1))))},Object.defineProperty(n.prototype,"i",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.dm=function(t,e){if(e!=t.playbackRate<0?t.play():t.reverse(),this.a0)return t.finish(),void t.commitStyles();t.finished.f((function(e){return t.commitStyles()}))},n.$t=i.markType(n,"XInput",lt.$),n.d6=i.BrushUtil.j(221,0,0,0),n.d5=i.BrushUtil.j(221,0,0,0),n.ae=null,n.bf=0,n}(lt),yt=function(t){function n(){var e=t.call(this)||this;return 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._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._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._observedAttributesIgcXInputGroupItemComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXInputGroupItemComponent=t}return n._observedAttributesIgcXInputGroupItemComponent},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,"name",{get:function(){return this.i.e},set:function(t){this.i.e=t},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("XInputGroupItemComponent");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._observedAttributesIgcXInputGroupItemComponent=null,n}(i.IgcHTMLElement),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 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,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompositionInProgress",{get:function(){return this.i.isCompositionInProgress},set:function(t){this.i.isCompositionInProgress=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),vt=[],_t=new WeakMap;function Ct(){document&&(_t.has(document)||(!function(t,e,i){void 0===i&&(i=null);for(var n=0;n<document.head.children.length;n++){var r=document.head.children[n];if(r.tagName&&"style"==r.tagName.toLowerCase()&&r.hasAttribute(e))return}var o=document.createElement("style");if(o.textContent=t,o.setAttribute(e,"true"),i){o.onload=function(){o.onload=null,i()}}document.head.appendChild(o)}("\n\n","data-ig-input-style",(function(){var t=vt;vt=null,t.forEach((function(t,e,i){}))})),_t.set(document,!0)))}var kt=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._keyDown=null,n._keyDown_wrapped=null,n._keyUp=null,n._keyUp_wrapped=null,n._keyPress=null,n._keyPress_wrapped=null,n._change=null,n._change_wrapped=null,n._changing=null,n._changing_wrapped=null,n._compositionEnd=null,n._compositionEnd_wrapped=null,Ct(),n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("inputContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._input=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._input.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new gt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-input"),this.classList.add("igc-x-input"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXInputComponent=t}return n._observedAttributesIgcXInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.aa},set:function(t){this.i.aa=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.aa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mask",{get:function(){return this.i.ce},set:function(t){this.i.ce=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"promptChar",{get:function(){return this.i.ci},set:function(t){this.i.ci=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"includeLiterals",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("includeLiterals",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSpinner",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureBool(t),this._a("showSpinner",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.d4)},set:function(t){this.i.d4=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.d4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.d3)},set:function(t){this.i.d3=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.d3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.d8)},set:function(t){this.i.d8=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.d8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{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("textStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputType",{get:function(){return this.i.b8},set:function(t){this.i.b8=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"placeholder",{get:function(){return this.i.cg},set:function(t){this.i.cg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.d7)},set:function(t){this.i.d7=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.d7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.b5},set:function(t){this.i.b5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("tabIndex",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"for",{get:function(){return this.i.b2},set:function(t){this.i.b2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bx},set:function(t){this.i.bx=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("isHover",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.cq},set:function(t){this.i.cq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasValue",{get:function(){return this.i.at},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{get:function(){return this.i.readonly},set:function(t){this.i.readonly=i.ensureBool(t),this._a("readonly",this.i.readonly)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textAlignment",{get:function(){return this.i.dy},set:function(t){this.i.dy=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("textAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.dy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this.i.selectionStart},set:function(t){this.i.selectionStart=+t,this._a("selectionStart",this.i.selectionStart)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this.i.selectionEnd},set:function(t){this.i.selectionEnd=+t,this._a("selectionEnd",this.i.selectionEnd)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.bg()},n.prototype.exportSerializedVisualModel=function(){return this.i.b1()},n.prototype.setSelectionRange=function(t,e){this.i.dr(t,e)},n.prototype.blur=function(){this.i.ct()},n.prototype.select=function(){this.i.dp()},Object.defineProperty(n.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(n.prototype,"keyUp",{get:function(){return this._keyUp},set:function(t){var e=this;null!==this._keyUp_wrapped&&(this.i.keyUp=i.delegateRemove(this.i.keyUp,this._keyUp_wrapped),this._keyUp_wrapped=null,this._keyUp=null),this._keyUp=t,this._keyUp_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyUp&&e.beforeKeyUp(e,r),e._keyUp&&e._keyUp(e,r)},this.i.keyUp=i.delegateCombine(this.i.keyUp,this._keyUp_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"keyPress",{get:function(){return this._keyPress},set:function(t){var e=this;null!==this._keyPress_wrapped&&(this.i.keyPress=i.delegateRemove(this.i.keyPress,this._keyPress_wrapped),this._keyPress_wrapped=null,this._keyPress=null),this._keyPress=t,this._keyPress_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyPress&&e.beforeKeyPress(e,r),e._keyPress&&e._keyPress(e,r)},this.i.keyPress=i.delegateCombine(this.i.keyPress,this._keyPress_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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 n=new mt;n._provideImplementation(i),e.beforeChange&&e.beforeChange(e,n),e._change&&e._change(e,n)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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 n=new mt;n._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,n),e._changing&&e._changing(e,n)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"compositionEnd",{get:function(){return this._compositionEnd},set:function(t){var e=this;null!==this._compositionEnd_wrapped&&(this.i.compositionEnd=i.delegateRemove(this.i.compositionEnd,this._compositionEnd_wrapped),this._compositionEnd_wrapped=null,this._compositionEnd=null),this._compositionEnd=t,this._compositionEnd_wrapped=function(t,i){var n=new mt;n._provideImplementation(i),e.beforeCompositionEnd&&e.beforeCompositionEnd(e,n),e._compositionEnd&&e._compositionEnd(e,n)},this.i.compositionEnd=i.delegateCombine(this.i.compositionEnd,this._compositionEnd_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXInputComponent=null,n.htmlTagName="igc-x-input",n._isElementRegistered=!1,n}(yt),xt=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),kt.register(),i.TypeRegistrar.registerCons("IgcXInputComponent",kt),i.TypeRegistrar.registerCons("IgcXInputComponent",kt),i.TypeRegistrar.register("XInput",gt.$type)},t}(),Bt=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("labelContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._label=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._label.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new bt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-label"),this.classList.add("igc-label"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.i.onSizeReady()},n.prototype._onDisplayChanged=function(){this.style.display=this.display},n.prototype._onFlexDirectionChanged=function(){this.style.flexDirection=this.flexDirection},n.prototype._onFlexGrowChanged=function(){this.style.flexGrow=this.flexGrow},n.prototype._onAlignItemsChanged=function(){this.style.alignItems=this.alignItems},n.prototype._onAlignSelfChanged=function(){this.style.alignSelf=this.alignSelf},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXLabelComponent=t}return n._observedAttributesIgcXLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.p},set:function(t){this.i.p=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.p))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.s))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.c3)},set:function(t){this.i.c3=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.c3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightTextColor",{get:function(){return i.brushToString(this.i.c0)},set:function(t){this.i.c0=i.stringToBrush(t),this._a("actualHighlightTextColor",i.brushToString(this.i.c0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverHighlightTextColor",{get:function(){return i.brushToString(this.i.c1)},set:function(t){this.i.c1=i.stringToBrush(t),this._a("actualHoverHighlightTextColor",i.brushToString(this.i.c1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.c2)},set:function(t){this.i.c2=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.c2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dj)},set:function(t){this.i.dj=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightTextColor",{get:function(){return i.brushToString(this.i.dg)},set:function(t){this.i.dg=i.stringToBrush(t),this._a("highlightTextColor",i.brushToString(this.i.dg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverHighlightTextColor",{get:function(){return i.brushToString(this.i.dh)},set:function(t){this.i.dh=i.stringToBrush(t),this._a("hoverHighlightTextColor",i.brushToString(this.i.dh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.y?null:this.i.y.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.y=e,this._a("textStyle",null!=this.i.y?this.i.y.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.di)},set:function(t){this.i.di=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.di))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bw},set:function(t){this.i.bw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.bk},set:function(t){this.i.bk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.bp},set:function(t){this.i.bp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.bc},set:function(t){this.i.bc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignSelf",{get:function(){return this.i.be},set:function(t){this.i.be=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.au},set:function(t){this.i.au=+t,this._a("tabIndex",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"for",{get:function(){return this.i.br},set:function(t){this.i.br=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bg},set:function(t){this.i.bg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.i.text},set:function(t){this.i.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.ao},set:function(t){this.i.ao=i.ensureBool(t),this._a("isHover",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureBool(t),this._a("value",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.aw()},n.prototype.exportSerializedVisualModel=function(){return this.i.bm()},n._observedAttributesIgcXLabelComponent=null,n.htmlTagName="igc-x-label",n._isElementRegistered=!1,n}(yt),jt=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),Bt.register(),i.TypeRegistrar.registerCons("IgcXLabelComponent",Bt),i.TypeRegistrar.registerCons("IgcXLabelComponent",Bt),i.TypeRegistrar.register("XInput",gt.$type)},t}(),Pt=function(t){function n(e){var n=t.call(this)||this;if(yt.$type||(yt.$type=i.markType(yt,"IgcXInputGroupItemComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){yt.$type||(yt.$type=i.markType(yt,"IgcXInputGroupItemComponent"));var t=new i.SyncableObservableCollection$2(yt.$type,lt.$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=yt._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Tt=function(t){function n(){var n=t.call(this)||this;n.contentInputs=[],n.actualInputs=[],n._inputs=null,n._inputsAdapter=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._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("inputContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._inputGroup=r,n._inputsAdapter=new i.CollectionAdapter(n.contentInputs,n.i.inputs,n.actualInputs,(function(t){return t.i}),(function(t){n._container&&n._container.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged(),n.updateInputs())}}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}return e.__extends(n,t),Object.defineProperty(n.prototype,"inputs",{get:function(){var t=this;if(null===this._inputs){var e=new Pt;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._inputsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._inputsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._inputsAdapter.removeManualItemAt(n.oldStartingIndex),t._inputsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._inputsAdapter.clearManualItems()}})),this._inputs=e}return this._inputs},enumerable:!1,configurable:!0}),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateInputs=function(){this.contentInputs.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof yt&&this.contentInputs.push(this.children[t]);var e=this.querySelector("igc-child-content");if(e)for(t=0;t<e.children.length;t++)e.children[t]instanceof yt&&this.contentInputs.push(e.children[t]);null!=this._inputsAdapter&&this._inputsAdapter.notifyContentChanged()},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._inputGroup.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new dt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-input-group"),this.classList.add("igc-x-input-group"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.i.ensureShift()},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._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._observedAttributesIgcXInputGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXInputGroupComponent=t}return n._observedAttributesIgcXInputGroupComponent},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,"displayType",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(J,t),this._a("displayType",i.enumToString(J,this.i.d))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.s))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.p},set:function(t){this.i.p=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.p))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputHasValue",{get:function(){return this.i.al},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.l6)},set:function(t){this.i.l6=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.l6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.l7)},set:function(t){this.i.l7=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.l7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("actualBorderWidth",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBorderWidth",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("actualFocusBorderWidth",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.ko?this.i.ko.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.c=+t,this._a("actualCornerRadiusBottomRight",this.i.ko.c),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.ko?this.i.ko.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.ko.b),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.ko?this.i.ko.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.d=+t,this._a("actualCornerRadiusTopLeft",this.i.ko.d),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.ko?this.i.ko.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.e=+t,this._a("actualCornerRadiusTopRight",this.i.ko.e),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),n.prototype.ensureActualCornerRadius=function(){this.i.ko||(this.i.ko=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.oe?this.i.oe.bottom:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.bottom=+t,this._a("actualContentPaddingBottom",this.i.oe.bottom),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.oe?this.i.oe.left:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.left=+t,this._a("actualContentPaddingLeft",this.i.oe.left),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.oe?this.i.oe.right:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.right=+t,this._a("actualContentPaddingRight",this.i.oe.right),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.oe?this.i.oe.top:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.top=+t,this._a("actualContentPaddingTop",this.i.oe.top),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),n.prototype.ensureActualContentPadding=function(){this.i.oe||(this.i.oe=new i.Thickness(2))},Object.defineProperty(n.prototype,"actualUnderlineWidth",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("actualUnderlineWidth",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineRippleWidth",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("actualUnderlineRippleWidth",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverUnderlineWidth",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("actualHoverUnderlineWidth",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.ma)},set:function(t){this.i.ma=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.ma))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.mb)},set:function(t){this.i.mb=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.mb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.l9)},set:function(t){this.i.l9=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.l9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.l8)},set:function(t){this.i.l8=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.l8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineOpacity",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("actualUnderlineOpacity",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverUnderlineOpacity",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("actualHoverUnderlineOpacity",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusUnderlineOpacity",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("actualFocusUnderlineOpacity",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusUnderlineRippleOpacity",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("actualFocusUnderlineRippleOpacity",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineRippleOpacity",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("actualUnderlineRippleOpacity",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.l5)},set:function(t){this.i.l5=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.l5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("borderWidth",this.i.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBorderWidth",{get:function(){return this.i.eg},set:function(t){this.i.eg=+t,this._a("focusBorderWidth",this.i.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.brushToString(this.i.md)},set:function(t){this.i.md=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.md))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.ks?this.i.ks.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.c=+t,this._a("cornerRadiusBottomRight",this.i.ks.c),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.ks?this.i.ks.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.b=+t,this._a("cornerRadiusBottomLeft",this.i.ks.b),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.ks?this.i.ks.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.d=+t,this._a("cornerRadiusTopLeft",this.i.ks.d),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.ks?this.i.ks.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.e=+t,this._a("cornerRadiusTopRight",this.i.ks.e),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),n.prototype.ensureCornerRadius=function(){this.i.ks||(this.i.ks=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.oi?this.i.oi.bottom:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.bottom=+t,this._a("contentPaddingBottom",this.i.oi.bottom),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.oi?this.i.oi.left:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.left=+t,this._a("contentPaddingLeft",this.i.oi.left),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.oi?this.i.oi.right:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.right=+t,this._a("contentPaddingRight",this.i.oi.right),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.oi?this.i.oi.top:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.top=+t,this._a("contentPaddingTop",this.i.oi.top),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),n.prototype.ensureContentPadding=function(){this.i.oi||(this.i.oi=new i.Thickness(2))},Object.defineProperty(n.prototype,"underlineWidth",{get:function(){return this.i.e8},set:function(t){this.i.e8=+t,this._a("underlineWidth",this.i.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineRippleWidth",{get:function(){return this.i.e7},set:function(t){this.i.e7=+t,this._a("underlineRippleWidth",this.i.e7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverUnderlineWidth",{get:function(){return this.i.ek},set:function(t){this.i.ek=+t,this._a("hoverUnderlineWidth",this.i.ek)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineColor",{get:function(){return i.brushToString(this.i.n6)},set:function(t){this.i.n6=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.n6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineRippleColor",{get:function(){return i.brushToString(this.i.n7)},set:function(t){this.i.n7=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.n7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverUnderlineColor",{get:function(){return i.brushToString(this.i.nq)},set:function(t){this.i.nq=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.nq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusUnderlineColor",{get:function(){return i.brushToString(this.i.np)},set:function(t){this.i.np=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.np))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineOpacity",{get:function(){return this.i.e5},set:function(t){this.i.e5=+t,this._a("underlineOpacity",this.i.e5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverUnderlineOpacity",{get:function(){return this.i.ej},set:function(t){this.i.ej=+t,this._a("hoverUnderlineOpacity",this.i.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusUnderlineOpacity",{get:function(){return this.i.eh},set:function(t){this.i.eh=+t,this._a("focusUnderlineOpacity",this.i.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusUnderlineRippleOpacity",{get:function(){return this.i.ei},set:function(t){this.i.ei=+t,this._a("focusUnderlineRippleOpacity",this.i.ei)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineRippleOpacity",{get:function(){return this.i.e6},set:function(t){this.i.e6=+t,this._a("underlineRippleOpacity",this.i.e6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.mc)},set:function(t){this.i.mc=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.mc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeBorderWidth",{get:function(){return this.i.el},set:function(t){this.i.el=+t,this._a("lineTypeBorderWidth",this.i.el)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusBorderWidth",{get:function(){return this.i.em},set:function(t){this.i.em=+t,this._a("lineTypeFocusBorderWidth",this.i.em)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.nt)},set:function(t){this.i.nt=i.stringToBrush(t),this._a("lineTypeFocusBorderColor",i.brushToString(this.i.nt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeBorderColor",{get:function(){return i.brushToString(this.i.ns)},set:function(t){this.i.ns=i.stringToBrush(t),this._a("lineTypeBorderColor",i.brushToString(this.i.ns))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusBottomRight",{get:function(){return this.i.kx?this.i.kx.c:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.c=+t,this._a("lineTypeCornerRadiusBottomRight",this.i.kx.c),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusBottomLeft",{get:function(){return this.i.kx?this.i.kx.b:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.b=+t,this._a("lineTypeCornerRadiusBottomLeft",this.i.kx.b),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopLeft",{get:function(){return this.i.kx?this.i.kx.d:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.d=+t,this._a("lineTypeCornerRadiusTopLeft",this.i.kx.d),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopRight",{get:function(){return this.i.kx?this.i.kx.e:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.e=+t,this._a("lineTypeCornerRadiusTopRight",this.i.kx.e),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),n.prototype.ensureLineTypeCornerRadius=function(){this.i.kx||(this.i.kx=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"lineTypeContentPaddingBottom",{get:function(){return this.i.on?this.i.on.bottom:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.bottom=+t,this._a("lineTypeContentPaddingBottom",this.i.on.bottom),this.i.on=this.i.on},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeContentPaddingLeft",{get:function(){return this.i.on?this.i.on.left:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.left=+t,this._a("lineTypeContentPaddingLeft",this.i.on.left),this.i.on=this.i.on},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeContentPaddingRight",{get:function(){return this.i.on?this.i.on.right:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.right=+t,this._a("lineTypeContentPaddingRight",this.i.on.right),this.i.on=this.i.on},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeContentPaddingTop",{get:function(){return this.i.on?this.i.on.top:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.top=+t,this._a("lineTypeContentPaddingTop",this.i.on.top),this.i.on=this.i.on},enumerable:!1,configurable:!0}),n.prototype.ensureLineTypeContentPadding=function(){this.i.on||(this.i.on=new i.Thickness(2))},Object.defineProperty(n.prototype,"lineTypeUnderlineWidth",{get:function(){return this.i.eu},set:function(t){this.i.eu=+t,this._a("lineTypeUnderlineWidth",this.i.eu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineRippleWidth",{get:function(){return this.i.et},set:function(t){this.i.et=+t,this._a("lineTypeUnderlineRippleWidth",this.i.et)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeHoverUnderlineWidth",{get:function(){return this.i.eq},set:function(t){this.i.eq=+t,this._a("lineTypeHoverUnderlineWidth",this.i.eq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineColor",{get:function(){return i.brushToString(this.i.nw)},set:function(t){this.i.nw=i.stringToBrush(t),this._a("lineTypeUnderlineColor",i.brushToString(this.i.nw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.nx)},set:function(t){this.i.nx=i.stringToBrush(t),this._a("lineTypeUnderlineRippleColor",i.brushToString(this.i.nx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.nv)},set:function(t){this.i.nv=i.stringToBrush(t),this._a("lineTypeHoverUnderlineColor",i.brushToString(this.i.nv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.nu)},set:function(t){this.i.nu=i.stringToBrush(t),this._a("lineTypeFocusUnderlineColor",i.brushToString(this.i.nu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineOpacity",{get:function(){return this.i.er},set:function(t){this.i.er=+t,this._a("lineTypeUnderlineOpacity",this.i.er)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeHoverUnderlineOpacity",{get:function(){return this.i.ep},set:function(t){this.i.ep=+t,this._a("lineTypeHoverUnderlineOpacity",this.i.ep)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusUnderlineOpacity",{get:function(){return this.i.en},set:function(t){this.i.en=+t,this._a("lineTypeFocusUnderlineOpacity",this.i.en)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.eo},set:function(t){this.i.eo=+t,this._a("lineTypeFocusUnderlineRippleOpacity",this.i.eo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineRippleOpacity",{get:function(){return this.i.es},set:function(t){this.i.es=+t,this._a("lineTypeUnderlineRippleOpacity",this.i.es)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeBackgroundColor",{get:function(){return i.brushToString(this.i.nr)},set:function(t){this.i.nr=i.stringToBrush(t),this._a("lineTypeBackgroundColor",i.brushToString(this.i.nr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeBorderWidth",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("boxTypeBorderWidth",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusBorderWidth",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("boxTypeFocusBorderWidth",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.mn)},set:function(t){this.i.mn=i.stringToBrush(t),this._a("boxTypeFocusBorderColor",i.brushToString(this.i.mn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeBorderColor",{get:function(){return i.brushToString(this.i.mm)},set:function(t){this.i.mm=i.stringToBrush(t),this._a("boxTypeBorderColor",i.brushToString(this.i.mm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusBottomRight",{get:function(){return this.i.kq?this.i.kq.c:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.c=+t,this._a("boxTypeCornerRadiusBottomRight",this.i.kq.c),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusBottomLeft",{get:function(){return this.i.kq?this.i.kq.b:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.b=+t,this._a("boxTypeCornerRadiusBottomLeft",this.i.kq.b),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopLeft",{get:function(){return this.i.kq?this.i.kq.d:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.d=+t,this._a("boxTypeCornerRadiusTopLeft",this.i.kq.d),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopRight",{get:function(){return this.i.kq?this.i.kq.e:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.e=+t,this._a("boxTypeCornerRadiusTopRight",this.i.kq.e),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),n.prototype.ensureBoxTypeCornerRadius=function(){this.i.kq||(this.i.kq=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"boxTypeContentPaddingBottom",{get:function(){return this.i.og?this.i.og.bottom:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.bottom=+t,this._a("boxTypeContentPaddingBottom",this.i.og.bottom),this.i.og=this.i.og},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeContentPaddingLeft",{get:function(){return this.i.og?this.i.og.left:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.left=+t,this._a("boxTypeContentPaddingLeft",this.i.og.left),this.i.og=this.i.og},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeContentPaddingRight",{get:function(){return this.i.og?this.i.og.right:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.right=+t,this._a("boxTypeContentPaddingRight",this.i.og.right),this.i.og=this.i.og},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeContentPaddingTop",{get:function(){return this.i.og?this.i.og.top:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.top=+t,this._a("boxTypeContentPaddingTop",this.i.og.top),this.i.og=this.i.og},enumerable:!1,configurable:!0}),n.prototype.ensureBoxTypeContentPadding=function(){this.i.og||(this.i.og=new i.Thickness(2))},Object.defineProperty(n.prototype,"boxTypeUnderlineWidth",{get:function(){return this.i.da},set:function(t){this.i.da=+t,this._a("boxTypeUnderlineWidth",this.i.da)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineRippleWidth",{get:function(){return this.i.c9},set:function(t){this.i.c9=+t,this._a("boxTypeUnderlineRippleWidth",this.i.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeHoverUnderlineWidth",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("boxTypeHoverUnderlineWidth",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineColor",{get:function(){return i.brushToString(this.i.mq)},set:function(t){this.i.mq=i.stringToBrush(t),this._a("boxTypeUnderlineColor",i.brushToString(this.i.mq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.mr)},set:function(t){this.i.mr=i.stringToBrush(t),this._a("boxTypeUnderlineRippleColor",i.brushToString(this.i.mr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.mp)},set:function(t){this.i.mp=i.stringToBrush(t),this._a("boxTypeHoverUnderlineColor",i.brushToString(this.i.mp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.mo)},set:function(t){this.i.mo=i.stringToBrush(t),this._a("boxTypeFocusUnderlineColor",i.brushToString(this.i.mo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineOpacity",{get:function(){return this.i.c7},set:function(t){this.i.c7=+t,this._a("boxTypeUnderlineOpacity",this.i.c7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeHoverUnderlineOpacity",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t,this._a("boxTypeHoverUnderlineOpacity",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusUnderlineOpacity",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("boxTypeFocusUnderlineOpacity",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("boxTypeFocusUnderlineRippleOpacity",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineRippleOpacity",{get:function(){return this.i.c8},set:function(t){this.i.c8=+t,this._a("boxTypeUnderlineRippleOpacity",this.i.c8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeBackgroundColor",{get:function(){return i.brushToString(this.i.ml)},set:function(t){this.i.ml=i.stringToBrush(t),this._a("boxTypeBackgroundColor",i.brushToString(this.i.ml))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeBorderWidth",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("borderTypeBorderWidth",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusBorderWidth",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("borderTypeFocusBorderWidth",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.mg)},set:function(t){this.i.mg=i.stringToBrush(t),this._a("borderTypeFocusBorderColor",i.brushToString(this.i.mg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeBorderColor",{get:function(){return i.brushToString(this.i.mf)},set:function(t){this.i.mf=i.stringToBrush(t),this._a("borderTypeBorderColor",i.brushToString(this.i.mf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusBottomRight",{get:function(){return this.i.kp?this.i.kp.c:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.c=+t,this._a("borderTypeCornerRadiusBottomRight",this.i.kp.c),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusBottomLeft",{get:function(){return this.i.kp?this.i.kp.b:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.b=+t,this._a("borderTypeCornerRadiusBottomLeft",this.i.kp.b),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopLeft",{get:function(){return this.i.kp?this.i.kp.d:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.d=+t,this._a("borderTypeCornerRadiusTopLeft",this.i.kp.d),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopRight",{get:function(){return this.i.kp?this.i.kp.e:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.e=+t,this._a("borderTypeCornerRadiusTopRight",this.i.kp.e),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),n.prototype.ensureBorderTypeCornerRadius=function(){this.i.kp||(this.i.kp=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"borderTypeContentPaddingBottom",{get:function(){return this.i.of?this.i.of.bottom:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.bottom=+t,this._a("borderTypeContentPaddingBottom",this.i.of.bottom),this.i.of=this.i.of},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeContentPaddingLeft",{get:function(){return this.i.of?this.i.of.left:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.left=+t,this._a("borderTypeContentPaddingLeft",this.i.of.left),this.i.of=this.i.of},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeContentPaddingRight",{get:function(){return this.i.of?this.i.of.right:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.right=+t,this._a("borderTypeContentPaddingRight",this.i.of.right),this.i.of=this.i.of},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeContentPaddingTop",{get:function(){return this.i.of?this.i.of.top:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.top=+t,this._a("borderTypeContentPaddingTop",this.i.of.top),this.i.of=this.i.of},enumerable:!1,configurable:!0}),n.prototype.ensureBorderTypeContentPadding=function(){this.i.of||(this.i.of=new i.Thickness(2))},Object.defineProperty(n.prototype,"borderTypeUnderlineWidth",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("borderTypeUnderlineWidth",this.i.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineRippleWidth",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("borderTypeUnderlineRippleWidth",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeHoverUnderlineWidth",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t,this._a("borderTypeHoverUnderlineWidth",this.i.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineColor",{get:function(){return i.brushToString(this.i.mj)},set:function(t){this.i.mj=i.stringToBrush(t),this._a("borderTypeUnderlineColor",i.brushToString(this.i.mj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.mk)},set:function(t){this.i.mk=i.stringToBrush(t),this._a("borderTypeUnderlineRippleColor",i.brushToString(this.i.mk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.mi)},set:function(t){this.i.mi=i.stringToBrush(t),this._a("borderTypeHoverUnderlineColor",i.brushToString(this.i.mi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.mh)},set:function(t){this.i.mh=i.stringToBrush(t),this._a("borderTypeFocusUnderlineColor",i.brushToString(this.i.mh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineOpacity",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("borderTypeUnderlineOpacity",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeHoverUnderlineOpacity",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t,this._a("borderTypeHoverUnderlineOpacity",this.i.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusUnderlineOpacity",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("borderTypeFocusUnderlineOpacity",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("borderTypeFocusUnderlineRippleOpacity",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineRippleOpacity",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("borderTypeUnderlineRippleOpacity",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeBackgroundColor",{get:function(){return i.brushToString(this.i.me)},set:function(t){this.i.me=i.stringToBrush(t),this._a("borderTypeBackgroundColor",i.brushToString(this.i.me))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeBorderWidth",{get:function(){return this.i.ev},set:function(t){this.i.ev=+t,this._a("searchTypeBorderWidth",this.i.ev)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusBorderWidth",{get:function(){return this.i.ew},set:function(t){this.i.ew=+t,this._a("searchTypeFocusBorderWidth",this.i.ew)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.n0)},set:function(t){this.i.n0=i.stringToBrush(t),this._a("searchTypeFocusBorderColor",i.brushToString(this.i.n0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeBorderColor",{get:function(){return i.brushToString(this.i.nz)},set:function(t){this.i.nz=i.stringToBrush(t),this._a("searchTypeBorderColor",i.brushToString(this.i.nz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusBottomRight",{get:function(){return this.i.ky?this.i.ky.c:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.c=+t,this._a("searchTypeCornerRadiusBottomRight",this.i.ky.c),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusBottomLeft",{get:function(){return this.i.ky?this.i.ky.b:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.b=+t,this._a("searchTypeCornerRadiusBottomLeft",this.i.ky.b),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopLeft",{get:function(){return this.i.ky?this.i.ky.d:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.d=+t,this._a("searchTypeCornerRadiusTopLeft",this.i.ky.d),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopRight",{get:function(){return this.i.ky?this.i.ky.e:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.e=+t,this._a("searchTypeCornerRadiusTopRight",this.i.ky.e),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),n.prototype.ensureSearchTypeCornerRadius=function(){this.i.ky||(this.i.ky=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"searchTypeContentPaddingBottom",{get:function(){return this.i.oo?this.i.oo.bottom:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.bottom=+t,this._a("searchTypeContentPaddingBottom",this.i.oo.bottom),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeContentPaddingLeft",{get:function(){return this.i.oo?this.i.oo.left:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.left=+t,this._a("searchTypeContentPaddingLeft",this.i.oo.left),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeContentPaddingRight",{get:function(){return this.i.oo?this.i.oo.right:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.right=+t,this._a("searchTypeContentPaddingRight",this.i.oo.right),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeContentPaddingTop",{get:function(){return this.i.oo?this.i.oo.top:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.top=+t,this._a("searchTypeContentPaddingTop",this.i.oo.top),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),n.prototype.ensureSearchTypeContentPadding=function(){this.i.oo||(this.i.oo=new i.Thickness(2))},Object.defineProperty(n.prototype,"searchTypeUnderlineWidth",{get:function(){return this.i.e4},set:function(t){this.i.e4=+t,this._a("searchTypeUnderlineWidth",this.i.e4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineRippleWidth",{get:function(){return this.i.e3},set:function(t){this.i.e3=+t,this._a("searchTypeUnderlineRippleWidth",this.i.e3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeHoverUnderlineWidth",{get:function(){return this.i.e0},set:function(t){this.i.e0=+t,this._a("searchTypeHoverUnderlineWidth",this.i.e0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineColor",{get:function(){return i.brushToString(this.i.n3)},set:function(t){this.i.n3=i.stringToBrush(t),this._a("searchTypeUnderlineColor",i.brushToString(this.i.n3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.n4)},set:function(t){this.i.n4=i.stringToBrush(t),this._a("searchTypeUnderlineRippleColor",i.brushToString(this.i.n4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.n2)},set:function(t){this.i.n2=i.stringToBrush(t),this._a("searchTypeHoverUnderlineColor",i.brushToString(this.i.n2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.n1)},set:function(t){this.i.n1=i.stringToBrush(t),this._a("searchTypeFocusUnderlineColor",i.brushToString(this.i.n1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineOpacity",{get:function(){return this.i.e1},set:function(t){this.i.e1=+t,this._a("searchTypeUnderlineOpacity",this.i.e1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeHoverUnderlineOpacity",{get:function(){return this.i.ez},set:function(t){this.i.ez=+t,this._a("searchTypeHoverUnderlineOpacity",this.i.ez)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusUnderlineOpacity",{get:function(){return this.i.ex},set:function(t){this.i.ex=+t,this._a("searchTypeFocusUnderlineOpacity",this.i.ex)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.ey},set:function(t){this.i.ey=+t,this._a("searchTypeFocusUnderlineRippleOpacity",this.i.ey)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineRippleOpacity",{get:function(){return this.i.e2},set:function(t){this.i.e2=+t,this._a("searchTypeUnderlineRippleOpacity",this.i.e2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeBackgroundColor",{get:function(){return i.brushToString(this.i.ny)},set:function(t){this.i.ny=i.stringToBrush(t),this._a("searchTypeBackgroundColor",i.brushToString(this.i.ny))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isExpanded",{get:function(){return this.i.an},set:function(t){this.i.an=i.ensureBool(t),this._a("isExpanded",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHovered",{get:function(){return this.i.ap},set:function(t){this.i.ap=i.ensureBool(t),this._a("isHovered",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFocused",{get:function(){return this.i.ao},set:function(t){this.i.ao=i.ensureBool(t),this._a("isFocused",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIsExpanded",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("actualIsExpanded",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBorderColor",{get:function(){return i.brushToString(this.i.no)},set:function(t){this.i.no=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.no))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.hk},set:function(t){this.i.hk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.inputs&&this.inputs.findByName&&this.inputs.findByName(t)?this.inputs.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("XInputGroupComponent");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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.fe()},n.prototype.exportSerializedVisualModel=function(){return this.i.hb()},n._observedAttributesIgcXInputGroupComponent=null,n.htmlTagName="igc-x-input-group",n._isElementRegistered=!1,n}(i.IgcHTMLElement),wt=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),xt.register(),jt.register(),Tt.register(),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Tt),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Tt),i.TypeRegistrar.register("XInputGroup",dt.$type)},t}(),St=function(t){return t[t.DateShort=0]="DateShort",t[t.DateLong=1]="DateLong",t}({}),Ot=i.markEnum("DateFormats","DateShort,0|DateLong,1"),It=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=!1,e.f=null,e.e=null,e.c=null,e.d=null,e.g=null,e.h=null,e}return e.__extends(n,t),n.prototype.l=function(){this.b=!0},n.prototype.k=function(t){this.a=t,this.b=!1},n.prototype.i=function(t){if(+t==+i.dateMinValue())return"";if(Intl&&Intl.DateTimeFormat){var e=null;switch(this.a){case 1:null==this.c&&(this.c=new Intl.DateTimeFormat([],{weekday:"long",month:"long",day:"numeric",year:"numeric"})),e=this.c;break;case 0:null==this.d&&(this.d=new Intl.DateTimeFormat([],{month:"numeric",day:"numeric",year:"numeric"})),e=this.d}var n=t;return e.format(n)}n=t;switch(this.a){case 1:case 0:return n.toLocaleDateString()}return t.toString()},n.prototype.j=function(){if(Intl&&Intl.DateTimeFormat){var t=null;switch(this.a){case 1:null==this.c&&(this.c=new Intl.DateTimeFormat([],{weekday:"long",month:"long",day:"numeric",year:"numeric"})),t=this.c;break;case 0:null==this.d&&(this.d=new Intl.DateTimeFormat([],{month:"numeric",day:"numeric",year:"numeric"})),t=this.d}for(var e=t.formatToParts(new Date),i="",n=0;n<e.length;n++)switch(e[n].type){case"day":i+="d";break;case"month":i+="m";break;case"year":i+="yyyy";break;default:i+=e[n].value}return i}return"m/d/yyyy"},n.$t=i.markType(n,"DateTimeValueFormatter"),n}(i.Base),Nt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"GotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Ut=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"LostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Ft=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.d=0,e.j=null,e.k=null,e.l=null,e.f=0,e.h=null,e.i=null,e.c=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.prototype.g=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("density : "+this.e+", "),t.l("baseTheme : "+this.d+", "),i.stringIsNullOrEmpty(this.j)||t.l('textStyleFontStyle : "'+this.j+'", '),i.stringIsNullOrEmpty(this.k)||t.l('textStyleFontVariant : "'+this.k+'", '),i.stringIsNullOrEmpty(this.l)||t.l('textStyleFontWeight : "'+this.l+'", '),i.stringIsNullOrEmpty(this.h)||t.l('textStyleFontFamily : "'+this.h+'", '),i.stringIsNullOrEmpty(this.i)||t.l('textStyleFontStretch : "'+this.i+'", '),i.isNaN_(this.f)||t.l("textStyleFontSize : "+this.f+", ");t.l("popupModel: "+this.c.f()+", ");t.l("inputGroupModel: "+this.b.y()+", ");var e="calendarModel";return this.c.d?t.l(e+": "+this.a.o()+", "):t.l(e+":{}, "),t.l("}"),t.toString()},n.$t=i.markType(n,"DatePickerVisualModelExport"),n}(i.Base),At=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.d=null,e.k=null,e.e=null,e.m=null,e.l=null,e.j=null,e.g=null,e.f=null,e.i=null,e.h=null,e.o=null,e.document_Click=e.document_Click.bind(e),e.window_Resize=e.window_Resize.bind(e),e}return e.__extends(n,t),n.prototype.am=function(){},Object.defineProperty(n.prototype,"n",{get:function(){return this.e},enumerable:!1,configurable:!0}),n.prototype.ak=function(t){if(null!=t){this.d=t;Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.ad(),this.ae();var e=this.d.rootWrapper.getChildAt(0);e.listen("keydown",i.runOn(this,this.y)),e.listen("focusin",i.runOn(this,this.w)),e.listen("focusout",i.runOn(this,this.x)),document.addEventListener("click",this.document_Click,!1),window.addEventListener("resize",this.window_Resize,!1),this.o=new MutationObserver(i.runOn(this,this.al))}else{this.b.cr(),null!=this.d&&(this.d.rootWrapper.getChildAt(0).unlistenAll(),document.removeEventListener("click",this.document_Click,!1),window.removeEventListener("resize",this.window_Resize,!1)),this.d=null}},n.prototype.ad=function(){null!=this.d&&(this.k=this.d.rootWrapper.getChildAt(0),this.k.setAttribute("tabIndex",this.b.bf.toString()),this.k.setStyleProperty("display","flex"),this.k.setStyleProperty("height","100%"),this.l=this.d.createElement("div"),this.j=this.d.createElement("div"),this.j.setRawStyleProperty("flex-grow","1"),this.g=this.d.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.f=this.d.createElement("div"),this.g.setStyleProperty("padding-right","2px"),this.i=this.d.createElement("div"),this.i.setAttribute("aria-hidden","true"),this.h=this.d.createElement("div"),this.b.cs(),this.j.getChildAt(0).setAttribute("aria-expanded","fasle"),this.j.getChildAt(0).setAttribute("aria-invalid","false"),this.f.setStyleProperty("height","16px"),this.f.setStyleProperty("width","16px"),this.h.setStyleProperty("height","16px"),this.h.setStyleProperty("width","16px"),this.f.listen("click",i.runOn(this,this.ac)),this.f.listen("mousedown",i.runOn(this,this.aa)),this.f.listen("mouseleave",i.runOn(this,this.ab)),this.h.listen("click",i.runOn(this,this.ag)))},n.prototype.aq=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.k);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.as=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.l);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.ar=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.j);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.au=function(t,e){if(null!=this.d){var i=this.d.getSubRenderer(e);t.provideContainer(i);i.getExternal(t,i.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.ap=function(t,e){if(null!=this.d){var i=this.d.getSubRenderer(e);t.provideContainer(i);i.getExternal(t,i.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.v=function(){return this.l},n.prototype.u=function(){return this.j},n.prototype.r=function(){return this.g},n.prototype.q=function(){return this.f},n.prototype.t=function(){return this.i},n.prototype.s=function(){return this.h},n.prototype.aw=function(t){null!=this.j&&(t?this.j.getChildAt(0).setAttribute("aria-expanded","true"):this.j.getChildAt(0).setAttribute("aria-expanded","false"))},n.prototype.ay=function(t){null!=t&&""!=t?this.j.getChildAt(0).setAttribute("aria-label",t):this.j.getChildAt(0).setAttribute("aria-label","Select a date")},n.prototype.av=function(){null!=this.f&&(1==this.b.a0?this.f.show():this.f.hide())},n.prototype.ah=function(){null!=this.f&&this.f.hide()},n.prototype.ax=function(){this.k.setAttribute("tabIndex",this.b.bf.toString())},n.prototype.an=function(){this.o.observe(document,{childList:!0,subtree:!0})},n.prototype.aj=function(){this.o.disconnect()},n.prototype.ae=function(){null!=this.d&&(this.m=this.d.rootWrapper.getChildAt(1),this.e=this.d.createElement("div"),this.e.setStyleProperty("width","100%"),this.e.setStyleProperty("height","100%"),this.e.setStyleProperty("display","flex"),this.b.ct(),this.e.parent().setStyleProperty("height","100%"),1==this.b.a2?this.e.parent().parent().setStyleProperty("max-width","245px"):this.e.parent().parent().setStyleProperty("max-width","232px"))},n.prototype.z=function(){null!=this.d&&(1==this.b.a2?this.e.parent().parent().setStyleProperty("max-width","245px"):this.e.parent().parent().setStyleProperty("max-width","232px"))},n.prototype.at=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.m);t.provideRenderer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.ao=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.e);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.p=function(){return this.e},n.prototype.ac=function(t){1!=this.b.av&&(this.b.cq(),null!=this.f&&this.f.hide())},n.prototype.aa=function(t){this.b.c9()},n.prototype.ab=function(t){this.b.da()},n.prototype.ag=function(t){t.stopPropagation(),this.b.cy()},n.prototype.y=function(t){27==t.which&&this.b.cr()},n.prototype.w=function(t){this.b.focus();var e=t.originalEvent.relatedTarget;this.c(e)||this.b.c4()},n.prototype.x=function(t){var e=t.originalEvent.relatedTarget;this.c(e)||(this.b.cx(),this.b.c5())},n.prototype.al=function(t,e){if(null!=this.d){var i=this.d.rootWrapper.getNativeElement();document.documentElement.contains(i)||this.b.cr()}else this.b.cr()},n.prototype.document_Click=function(t){var e=t.target;this.c(e)||this.b.cr()},n.prototype.window_Resize=function(t){this.b.dn()},n.prototype.a0=function(t){if(null!=this.d){var e=this.d.rootWrapper.getNativeElement().getBoundingClientRect();return t&&(e=new i.Rect(0,e.left+window.pageXOffset,e.top+window.pageYOffset,e.width,e.height)),e}return null},n.prototype.a=function(){var t=window.innerWidth,e=window.innerHeight,i=new Array(2);return i[0]=t,i[1]=e,i},n.prototype.c=function(t){if(null==t)return!1;var e=this.d.rootWrapper.getNativeElement(),i=this.e.getNativeElement();return e.contains(t)||i.contains(t)},n.prototype.ai=function(){},n.$t=i.markType(n,"DatePickerView"),n}(i.Base),Rt=function(t){function n(){var e=t.call(this)||this;e.h=null,e.u=null,e.q=null,e.o=null,e.r=null,e.m=null,e.n=null,e.c=null,e.bh="dd",e.bl="mm",e.bo="yyyy",e.bi="mdy",e.bn="/",e.ah=!1,e.at=!1,e.ar=!1,e.a6=i.dateMinValue(),e.ai=!1,e.propertyChanged=null,e.selectedValueChanged=null,e.ae=null,e.a8=i.dateMinValue(),e.a7=i.dateMinValue(),e.bk="",e.du=i.BrushUtil.j(255,24,29,31),e.z=null,e.bm="",e.a5=i.dateMinValue(),e.a4=i.dateMaxValue(),e.x=2,e.v=1,e.aa=null,e.dv=i.BrushUtil.j(255,24,29,31),e.dt=i.BrushUtil.j(255,163,172,184),e.ao=!0,e.ap=!1,e.ag=!0,e.an=!0,e.i=0,e.k=0,e.aq=!1,e.a=new It,e.d=0,e.bj=null,e.aj=!1,e.be=0,e.ak=!1,e.am=!1,e.as=!1,e.al=!1,e.gotFocus=null,e.lostFocus=null,e.keyDown=null,e.changing=null;var n=new At;return n.b=e,e.h=n,e.h.am(),e.cp(),e}return e.__extends(n,t),n.prototype.dc=function(t,e){var i;null!=this.u&&(this.ah=!0,this.cr()),this.dm(),null!=this.selectedValueChanged&&this.selectedValueChanged(this,((i=new O).oldValue=t,i.newValue=e,i)),this.ai&&this.dg()},n.prototype.notifySizeChanged=function(){this.h.ai()},n.prototype.destroy=function(){if(null!=this.c){var t=this.c;t.selectedValueChanged=i.delegateRemove(t.selectedValueChanged,i.runOn(this,this.co));var e=this.c;e.close=i.delegateRemove(e.close,i.runOn(this,this.cn))}this.provideContainer(null)},n.prototype.provideContainer=function(t){this.h.ak(t)},n.prototype.setName=function(t){this.o.e=t},Object.defineProperty(n.prototype,"af",{get:function(){return null==this.ae&&(this.ae=new i.SRProvider(this.h.d),this.ae.cb("Calendar")),this.ae},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a6=e,this.a8=t,+e!=+this.a8&&this.db("Value",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,+e!=+this.a7&&this.db("Today",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.db("Label",e,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dx",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.db("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.db("LabelTextStyle",e,this.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.db("Placeholder",e,this.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,+e!=+this.a5&&this.db("MinDate",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,+e!=+this.a4&&this.db("MaxDate",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.db("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.db("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.db("TextStyle",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dy",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.db("TextColor",e,this.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dw",{get:function(){return this.dt},set:function(t){var e=this.dt;this.dt=t,e!=this.dt&&this.db("IconColor",e,this.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a0",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.db("ShowClearButton",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.db("ShowTodayButton",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.db("AllowTextInput",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.db("OpenOnFocus",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.db("FirstDayOfWeek",i.enumGetBox(P,e),i.enumGetBox(P,this.i))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.db("FirstWeekOfYear",i.enumGetBox(S,e),i.enumGetBox(S,this.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.db("ShowWeekNumbers",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.d!=e&&this.db("DateFormat",i.enumGetBox(Ot,e),i.enumGetBox(Ot,this.d))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.db("FormatString",e,this.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.db("IsDisabled",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.db("TabIndex",e,this.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.db("IsFixed",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ax",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.db("OpenAsChild",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.db("UseTopLayer",e,this.as)},enumerable:!1,configurable:!0}),n.prototype.db=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.de(t,e,n)},n.prototype.de=function(t,e,n){switch(t){case"Density":this.dh();break;case"BaseTheme":this.dj();break;case"Value":+i.dateGetDate(this.value)!=+i.dateGetDate(i.dateMinValue())&&(i.dateGetDate(this.value)<i.dateGetDate(this.ba)||i.dateGetDate(this.value)>i.dateGetDate(this.a9))&&(this.ai=!0,this.value=this.a6,this.ai=!1),this.dc(this.a6,this.value),this.a6=this.value,null!=this.c&&(+i.dateGetDate(this.value)==+i.dateGetDate(i.dateMinValue())?this.c.value=i.dateMinValue():this.c.value=this.value);break;case"Label":null!=this.r&&(this.r.text=this.b4,null!=this.b4&&""!=this.b4?this.q.inputs.contains(this.r)||this.q.inputs.insert(0,this.r):this.q.inputs.contains(this.r)&&this.q.inputs.remove(this.r));break;case"Placeholder":null!=this.o&&(this.o.cg=this.cc,this.h.ay(this.cc));break;case"Today":null!=this.c&&(this.c.av=this.bb);break;case"MaxDate":if(null!=this.c)i.Base.compareSimple(this.ba,this.a9)>=0&&(this.a9=i.dateMaxValue()),this.c.at=this.a4;i.dateGetDate(this.value)>i.dateGetDate(this.a9)&&(this.a6=i.dateMinValue(),this.ai=!0,this.value=i.dateMinValue(),this.ai=!1);break;case"MinDate":if(null!=this.c)this.c.au=this.a5,i.Base.compareSimple(this.ba,this.a9)>=0&&(this.a6=i.dateMaxValue(),this.c.at=this.a9);i.dateGetDate(this.value)<i.dateGetDate(this.ba)&&(this.a6=i.dateMinValue(),this.ai=!0,this.value=i.dateMinValue(),this.ai=!1);break;case"TextStyle":this.dp();break;case"ShowClearButton":null!=this.o&&""!=this.o.cq&&this.h.av();break;case"LabelTextColor":case"LabelTextStyle":case"TextColor":case"IconColor":this.dq();break;case"ShowTodayButton":null!=this.c&&(this.c.ae=this.a1,this.h.z());break;case"AllowTextInput":null!=this.o&&(this.o.disabled=this.az());break;case"OpenOnFocus":break;case"DateFormat":this.a.k(this.e),this.dm();break;case"FormatString":this.cp(),this.dm();break;case"FirstDayOfWeek":null!=this.c&&(this.c.l=this.j);break;case"ShowWeekNumbers":null!=this.c&&(this.c.af=this.a2,this.h.z());break;case"FirstWeekOfYear":null!=this.c&&(this.c.o=this.l);break;case"IsDisabled":null!=this.q&&(this.q.disabled=this.av),null!=this.o&&(this.o.disabled=this.az());break;case"TabIndex":this.h.ax();break;case"IsFixed":null!=this.u&&(this.u.ar=this.aw);break;case"UseTopLayer":null!=this.u&&(this.u.ay=this.a3)}},n.prototype.az=function(){return this.av||!this.au},n.prototype.cp=function(){var t="/",e=null!=this.bz?this.bz.toLowerCase():this.a.j();i.stringContains(e,"/")?t="/":i.stringContains(e,"-")?t="-":i.stringContains(e," ")?t=" ":i.stringContains(e,".")?t=".":i.stringContains(e,",")&&(t=","),this.bn=t.toString();var n=e.split(t);if(3==n.length){for(var r="",o=0;o<3;o++)if(i.stringContains(n[o],"d"))switch(r+="d",n[o]){case"d":case"dd":case"ddd":case"dddd":this.bh=n[o];break;default:this.bh="dd"}else if(i.stringContains(n[o],"m")){switch(r+="m",n[o]){case"m":case"mm":case"mmm":case"mmmm":this.bl=n[o];break;default:this.bl="mm"}this.bl=n[o]}else if(i.stringContains(n[o],"y"))switch(r+="y",n[o]){case"yy":case"yyyy":this.bo=n[o];break;default:this.bo="yyyy"}this.bi="dmy"==r||"mdy"==r||"ymd"==r?r:"mdy"}},n.prototype.dq=function(){null!=this.o&&(this.o.d8=this.dy),null!=this.m&&(this.m.fill=this.dw),null!=this.n&&(this.n.fill=this.dw),null!=this.r&&(this.r.dj=this.dx,this.r.y=this.ac)},n.prototype.dl=function(){this.q},n.prototype.dp=function(){null!=this.aa&&(this.o.af=this.aa)},n.prototype.cs=function(){this.q=new dt,this.h.aq(this.q),this.q.d=0,this.q.p=this.w,this.q.t=this.y,this.r=new bt,this.h.as(this.r),this.r.dj=this.dx,this.r.y=this.ac,this.q.appendContentChild(this.h.v()),null!=this.b4&&""!=this.b4&&(this.r.text=this.b4,this.q.inputs.add(this.r)),this.o=new gt,this.h.ar(this.o),this.o.b8="text",null!=this.aa&&(this.o.af=this.aa),this.o.disabled=this.az(),this.o.d8=this.dy,this.q.appendContentChild(this.h.u()),this.q.inputs.add(this.o),this.o.cg=this.cc,this.h.ay(this.cc);var t=this.o;t.change=i.delegateCombine(t.change,i.runOn(this,this.cz));var e=this.o;e.changing=i.delegateCombine(e.changing,i.runOn(this,this.c0));var r=this.o;r.keyDown=i.delegateCombine(r.keyDown,i.runOn(this,this.c1));var o=new ct;this.h.au(o,this.h.r()),this.m=new k,this.h.ap(this.m,this.h.q()),this.m.svgPath=n.bs,this.m.fill=this.dw,o.appendContentChild(this.h.q()),this.q.appendContentChild(this.h.r()),this.q.inputs.add(o),this.dm();var s=new ct;this.h.au(s,this.h.t()),this.n=new k,this.h.ap(this.n,this.h.s()),this.n.svgPath=n.br,this.n.fill=this.dw,s.appendContentChild(this.h.s()),this.q.appendContentChild(this.h.t()),this.q.inputs.add(s)},n.prototype.c1=function(t,e){if(this.c7(e),!e.defaultPrevented){var i=e.keyCode,n=e.modifiers;switch(i){case 9:case 13:this.ar=!0,this.at||this.ds(this.o.cq),this.ah=!0,this.cr(),this.ar=!1;break;case 40:1==n&&(this.dd(),this.cw());break;case 38:1==n&&this.cr()}}},n.prototype.c0=function(t,e){this.c3(e),e.value.length>0?this.h.av():this.h.ah()},n.prototype.cz=function(t,e){this.at=!0,this.ds(e.value),this.at=!1},n.prototype.ds=function(t){var e=i.stringSplit(t,["/","-"," ",".",","],1),n=0,r=0,o=0,s=!0;if(3==e.length){if(0!=e[0].length&&0!=e[1].length&&0!=e[2].length||(s=!1),"dmy"==this.bi?(n=parseInt(e[0]),r=parseInt(e[1]),o=parseInt(e[2])):"mdy"==this.bi?(r=parseInt(e[0]),n=parseInt(e[1]),o=parseInt(e[2])):"ymd"==this.bi&&(o=parseInt(e[0]),r=parseInt(e[1]),n=parseInt(e[2])),(i.isNaN_(n)||i.isNaN_(o))&&(s=!1),o<50&&(o+=2e3),i.isNaN_(r)){var a="";"dmy"==this.bi?a=e[1].toLowerCase():"mdy"==this.bi?a=e[0].toLowerCase():"ymd"==this.bi&&(a=e[1].toLowerCase());var h=i.stringIsNullOrWhiteSpace(this.af.b1("January_Full"))?"january":this.af.b1("January_Full").toLowerCase(),u=i.stringIsNullOrWhiteSpace(this.af.b1("January_Short"))?"jan":this.af.b1("January_Short").toLowerCase(),l=i.stringIsNullOrWhiteSpace(this.af.b1("February_Full"))?"february":this.af.b1("February_Full").toLowerCase(),c=i.stringIsNullOrWhiteSpace(this.af.b1("February_Short"))?"feb":this.af.b1("February_Short").toLowerCase(),p=i.stringIsNullOrWhiteSpace(this.af.b1("March_Full"))?"march":this.af.b1("March_Full").toLowerCase(),d=i.stringIsNullOrWhiteSpace(this.af.b1("March_Short"))?"mar":this.af.b1("March_Short").toLowerCase(),f=i.stringIsNullOrWhiteSpace(this.af.b1("April_Full"))?"april":this.af.b1("April_Full").toLowerCase(),b=i.stringIsNullOrWhiteSpace(this.af.b1("April_Short"))?"apr":this.af.b1("April_Short").toLowerCase(),g=i.stringIsNullOrWhiteSpace(this.af.b1("May_Full"))?"may":this.af.b1("May_Full").toLowerCase(),y=i.stringIsNullOrWhiteSpace(this.af.b1("May_Short"))?"may":this.af.b1("May_Short").toLowerCase(),m=i.stringIsNullOrWhiteSpace(this.af.b1("June_Full"))?"june":this.af.b1("June_Full").toLowerCase(),v=i.stringIsNullOrWhiteSpace(this.af.b1("June_Short"))?"jun":this.af.b1("June_Short").toLowerCase(),_=i.stringIsNullOrWhiteSpace(this.af.b1("July_Full"))?"july":this.af.b1("July_Full").toLowerCase(),C=i.stringIsNullOrWhiteSpace(this.af.b1("July_Short"))?"jul":this.af.b1("July_Short").toLowerCase(),k=i.stringIsNullOrWhiteSpace(this.af.b1("August_Full"))?"august":this.af.b1("August_Full").toLowerCase(),x=i.stringIsNullOrWhiteSpace(this.af.b1("August_Short"))?"aug":this.af.b1("August_Short").toLowerCase(),B=i.stringIsNullOrWhiteSpace(this.af.b1("September_Full"))?"september":this.af.b1("September_Full").toLowerCase(),j=i.stringIsNullOrWhiteSpace(this.af.b1("September_Short"))?"sep":this.af.b1("September_Short").toLowerCase(),P=i.stringIsNullOrWhiteSpace(this.af.b1("October_Full"))?"october":this.af.b1("October_Full").toLowerCase(),T=i.stringIsNullOrWhiteSpace(this.af.b1("October_Short"))?"oct":this.af.b1("October_Short").toLowerCase(),w=i.stringIsNullOrWhiteSpace(this.af.b1("November_Full"))?"november":this.af.b1("November_Full").toLowerCase(),S=i.stringIsNullOrWhiteSpace(this.af.b1("November_Short"))?"nov":this.af.b1("November_Short").toLowerCase(),O=i.stringIsNullOrWhiteSpace(this.af.b1("December_Full"))?"december":this.af.b1("December_Full").toLowerCase(),I=i.stringIsNullOrWhiteSpace(this.af.b1("December_Short"))?"dec":this.af.b1("December_Short").toLowerCase();a==h||a==u?r=1:a==l||a==c?r=2:a==p||a==d?r=3:a==f||a==b?r=4:a==g||a==y?r=5:a==m||a==v?r=6:a==_||a==C?r=7:a==k||a==x?r=8:a==B||a==j?r=9:a==P||a==T?r=10:a==w||a==S?r=11:a==O||a==I?r=12:s=!1}(r>12||r<1)&&(s=!1)}else s=!1;if(s){var N=i.dateFromValues(o,r,n,0,0,0,0),U=i.Base.compareSimple(N,this.ba),F=i.Base.compareSimple(N,this.a9);U<0||F>0?this.dm():(this.dr(N),this.h.av())}else i.stringIsNullOrEmpty(t)?this.cq():this.dm()},n.prototype.dr=function(t){this.value;this.value=t},n.prototype.dm=function(){if(null!=this.o)if(+i.dateGetDate(this.a8)!=+i.dateGetDate(i.dateMinValue())){var t="";if(null==this.bz)t=this.a.i(this.value);else{var e=this.value.getDate().toString(),n=e;if("dd"==this.bh)this.value.getDate()<10&&(e="0"+e);else if("ddd"==this.bh)switch(this.value.getDay()){case 0:e=i.stringIsNullOrWhiteSpace(this.af.b1("Sunday_Short"))?"Sun":this.af.b1("Sunday_Short");break;case 1:e=i.stringIsNullOrWhiteSpace(this.af.b1("Monday_Short"))?"Mon":this.af.b1("Monday_Short");break;case 2:e=i.stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Short"))?"Tue":this.af.b1("Tuesday_Short");break;case 3:e=i.stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Short"))?"Wed":this.af.b1("Wednesday_Short");break;case 4:e=i.stringIsNullOrWhiteSpace(this.af.b1("Thursday_Short"))?"Thu":this.af.b1("Thursday_Short");break;case 5:e=i.stringIsNullOrWhiteSpace(this.af.b1("Friday_Short"))?"Fri":this.af.b1("Friday_Short");break;case 6:e=i.stringIsNullOrWhiteSpace(this.af.b1("Saturday_Short"))?"Sat":this.af.b1("Saturday_Short")}else if("dddd"==this.bh)switch(this.value.getDay()){case 0:e=i.stringIsNullOrWhiteSpace(this.af.b1("Sunday_Full"))?"Sunday":this.af.b1("Sunday_Full");break;case 1:e=i.stringIsNullOrWhiteSpace(this.af.b1("Monday_Full"))?"Monday":this.af.b1("Monday_Full");break;case 2:e=i.stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Full"))?"Tuesday":this.af.b1("Tuesday_Full");break;case 3:e=i.stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Full"))?"Wednesday":this.af.b1("Wednesday_Full");break;case 4:e=i.stringIsNullOrWhiteSpace(this.af.b1("Thursday_Full"))?"Thursday":this.af.b1("Thursday_Full");break;case 5:e=i.stringIsNullOrWhiteSpace(this.af.b1("Friday_Full"))?"Friday":this.af.b1("Friday_Full");break;case 6:e=i.stringIsNullOrWhiteSpace(this.af.b1("Saturday_Full"))?"Saturday":this.af.b1("Saturday_Full")}var r=i.dateGetMonth(this.value).toString();if("mm"==this.bl)i.dateGetMonth(this.value)<10&&(r="0"+r);else if("mmm"==this.bl)switch(i.dateGetMonth(this.value)){case 1:r=i.stringIsNullOrWhiteSpace(this.af.b1("January_Short"))?"Jan":this.af.b1("January_Short");break;case 2:r=i.stringIsNullOrWhiteSpace(this.af.b1("February_Short"))?"Feb":this.af.b1("February_Short");break;case 3:r=i.stringIsNullOrWhiteSpace(this.af.b1("March_Short"))?"Mar":this.af.b1("March_Short");break;case 4:r=i.stringIsNullOrWhiteSpace(this.af.b1("April_Short"))?"Apr":this.af.b1("April_Short");break;case 5:r=i.stringIsNullOrWhiteSpace(this.af.b1("May_Short"))?"May":this.af.b1("May_Short");break;case 6:r=i.stringIsNullOrWhiteSpace(this.af.b1("June_Short"))?"Jun":this.af.b1("June_Short");break;case 7:r=i.stringIsNullOrWhiteSpace(this.af.b1("July_Short"))?"Jul":this.af.b1("July_Short");break;case 8:r=i.stringIsNullOrWhiteSpace(this.af.b1("August_Short"))?"Aug":this.af.b1("August_Short");break;case 9:r=i.stringIsNullOrWhiteSpace(this.af.b1("September_Short"))?"Sep":this.af.b1("September_Short");break;case 10:r=i.stringIsNullOrWhiteSpace(this.af.b1("October_Short"))?"Oct":this.af.b1("October_Short");break;case 11:r=i.stringIsNullOrWhiteSpace(this.af.b1("November_Short"))?"Nov":this.af.b1("November_Short");break;case 12:r=i.stringIsNullOrWhiteSpace(this.af.b1("December_Short"))?"Dec":this.af.b1("December_Short")}else if("mmmm"==this.bl)switch(i.dateGetMonth(this.value)){case 1:r=i.stringIsNullOrWhiteSpace(this.af.b1("January_Full"))?"January":this.af.b1("January_Full");break;case 2:r=i.stringIsNullOrWhiteSpace(this.af.b1("February_Full"))?"February":this.af.b1("February_Full");break;case 3:r=i.stringIsNullOrWhiteSpace(this.af.b1("March_Full"))?"March":this.af.b1("March_Full");break;case 4:r=i.stringIsNullOrWhiteSpace(this.af.b1("April_Full"))?"April":this.af.b1("April_Full");break;case 5:r=i.stringIsNullOrWhiteSpace(this.af.b1("May_Full"))?"May":this.af.b1("May_Full");break;case 6:r=i.stringIsNullOrWhiteSpace(this.af.b1("June_Full"))?"June":this.af.b1("June_Full");break;case 7:r=i.stringIsNullOrWhiteSpace(this.af.b1("July_Full"))?"July":this.af.b1("July_Full");break;case 8:r=i.stringIsNullOrWhiteSpace(this.af.b1("August_Full"))?"August":this.af.b1("August_Full");break;case 9:r=i.stringIsNullOrWhiteSpace(this.af.b1("September_Full"))?"September":this.af.b1("September_Full");break;case 10:r=i.stringIsNullOrWhiteSpace(this.af.b1("October_Full"))?"October":this.af.b1("October_Full");break;case 11:r=i.stringIsNullOrWhiteSpace(this.af.b1("November_Full"))?"November":this.af.b1("November_Full");break;case 12:r=i.stringIsNullOrWhiteSpace(this.af.b1("December_Full"))?"December":this.af.b1("December_Full")}var o=this.value.getFullYear().toString();"yy"==this.bo&&(o=o.substr(2)),"dmy"==this.bi?t="ddd"==this.bh||"dddd"==this.bh?e+this.bn+r+" "+n+this.bn+o:e+this.bn+r+this.bn+o:"mdy"==this.bi?t="ddd"==this.bh||"dddd"==this.bh?r+" "+n+this.bn+e+this.bn+o:r+this.bn+e+this.bn+o:"ymd"==this.bi&&(t="ddd"==this.bh||"dddd"==this.bh?o+this.bn+r+" "+n+this.bn+e:o+this.bn+r+this.bn+e)}this.o.cq=t,this.h.av()}else this.o.cq="",this.h.ah()},n.prototype.cq=function(){1!=this.av&&(null!=this.o&&(this.o.cq=""),this.value=i.dateMinValue(),this.c.ch(),this.al=!1)},n.prototype.c9=function(){this.al=!0},n.prototype.da=function(){this.al=!1},n.prototype.ct=function(){this.u=new i.Popup,this.u.ar=this.aw,this.u.ay=this.a3,this.u.c0=i.BrushUtil.j(255,255,255,255),this.u.a9=150,this.h.at(this.u),this.c=new F,this.h.ao(this.c),+this.ba!=+i.dateMinValue()&&(this.c.au=this.ba),+this.a9!=+i.dateMaxValue()&&(this.c.at=this.a9),+this.bb!=+i.dateMinValue()&&(this.c.av=this.bb),this.c.ae=this.a1,this.c.l=this.j,this.c.af=this.a2,this.c.o=this.l;var t=this.c;t.selectedValueChanged=i.delegateCombine(t.selectedValueChanged,i.runOn(this,this.co));var e=this.c;e.close=i.delegateCombine(e.close,i.runOn(this,this.cn)),this.u.appendPopupContent(this.h.p())},n.prototype.co=function(t,e){this.ai=!0,this.value=e.newValue,this.ai=!1},n.prototype.cn=function(t){this.u.ax&&(this.ah=!0,this.cr())},n.prototype.cy=function(){0==this.ah?this.u.ax?this.cr():this.dd():this.ah=!1},n.prototype.dd=function(){if(!this.av&&null!=this.u){var t=this.h.a0(!1),e=this.h.a()[1],i=240;if(1==this.a1&&(i=270),e<t.bottom+i)t.top-i<0?this.dk(1,0):this.dk(2,0);else this.dk(1,0);this.h.an(),this.h.aw(!0)}},n.prototype.dk=function(t,e){if(this.ax)this.u.cr(this.h.d.rootWrapper.getNativeElement(),t,e);else{var i=this.h.a0(!0);this.u.showRelativeToExclusionRect(i,t,e)}},n.prototype.dn=function(){if(this.u.ax){var t=this.h.a0(!1),e=new i.Rect(0,t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height),n=this.h.a()[1],r=240;if(1==this.a1&&(r=270),n<t.bottom+r)t.top-r<0?1!=this.u.r&&(this.u.r=1,this.u.ca(e)):2!=this.u.r&&(this.u.r=2,this.u.ca(e));else 1!=this.u.r&&(this.u.r=1,this.u.ca(e))}},n.prototype.cr=function(){var t=this;null!=this.u&&window.setTimeout((function(){return t.u.b6()}),0),null!=this.c&&this.c.cy(),this.h.aw(!1),this.ah=!1,this.h.aj()},n.prototype.focus=function(t){var e=this;if(void 0===t&&(t=!1),null!=this.o&&this.o.focus(t),!this.u.ax&&1==this.ay)if(0==this.ah){if(this.al)return;(0==this.au||1==this.ay&&0==this.ar)&&(this.dd(),this.ah=!0,window.setTimeout((function(){return e.cw()}),0))}else this.ah=!1},n.prototype.cx=function(){this.ah=!1},n.prototype.dg=function(){null!=this.o&&this.o.dp()},n.prototype.cw=function(){this.c.cq()},n.prototype.c4=function(){var t=new Nt;this.c6(t)},n.prototype.c5=function(){var t=new Ut;this.c8(t)},n.prototype.dj=function(){},n.prototype.dh=function(){},n.prototype.bg=function(){return this.b()},n.prototype.bw=function(){return this.b().g()},n.prototype.b=function(){var t=new Ft;if(t.e=this.y,t.d=this.w,t.c=this.u.bd(),t.b=this.q.fe(),t.a=this.c.bj(),null!=this.ad){var e=this.ad;if(null!=this.h&&null==e.q){var n=this.h.d,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.h=e.q),i.isNaN_(e.f)||(t.f=e.f),null!=e.v&&(t.l=e.v),null!=e.t&&(t.j=e.t),null!=e.r&&(t.i=e.t)}return t},n.prototype.c6=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},n.prototype.c8=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},n.prototype.c7=function(t){null!=this.keyDown&&this.keyDown(this,t)},n.prototype.c3=function(t){null!=this.changing&&this.changing(this,t)},n.$t=i.markType(n,"XDatePicker",i.Base.$,[i.INotifyPropertyChanged_$type]),n.br="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z",n.bs="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.ab=null,n}(i.Base),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 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()},t}(),Et=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ut},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}(),qt=function(t){function n(){var e=t.call(this)||this;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._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._gotFocus=null,e._gotFocus_wrapped=null,e._lostFocus=null,e._lostFocus_wrapped=null,e._keyDown=null,e._keyDown_wrapped=null,e._changing=null,e._changing_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._renderer=new i.WebComponentRenderer(e,document,!0,null),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._container=e._renderer.createElement("div"),e._renderer.updateRoot(e._container);var n=e.i;return e._datePicker=n,e._renderer.addSizeWatcher((function(){e._datePicker.notifySizeChanged()})),e}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.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._datePicker.destroy()},n.prototype.createImplementation=function(){return new Rt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this._datePicker.provideContainer(null)},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-x-date-picker"),this.classList.add("igc-x-date-picker");var t=this._renderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width;var e=this._renderer.createElement("div");this._container.append(e);var i=this._renderer.createElement("div");this._container.append(i),this._datePicker.provideContainer(this._renderer),this._datePicker.notifySizeChanged(),this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype.attributeSynced=function(t,e){"name"===t&&this.i.setName(e)},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._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._observedAttributesIgcXDatePickerComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXDatePickerComponent=t}return n._observedAttributesIgcXDatePickerComponent},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,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"today",{get:function(){return this.i.bb},set:function(t){this.i.bb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.b4},set:function(t){this.i.b4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.dx)},set:function(t){this.i.dx=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.dx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextStyle",{get:function(){return null==this.i.ac?null:this.i.ac.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ac=e,this._a("labelTextStyle",null!=this.i.ac?this.i.ac.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"placeholder",{get:function(){return this.i.cc},set:function(t){this.i.cc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this.i.ba},set:function(t){this.i.ba=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this.i.a9},set:function(t){this.i.a9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.y},set:function(t){this.i.y=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.y))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{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("textStyle",null!=this.i.ad?this.i.ad.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dy)},set:function(t){this.i.dy=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconColor",{get:function(){return i.brushToString(this.i.dw)},set:function(t){this.i.dw=i.stringToBrush(t),this._a("iconColor",i.brushToString(this.i.dw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showClearButton",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureBool(t),this._a("showClearButton",this.i.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTodayButton",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureBool(t),this._a("showTodayButton",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowTextInput",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("allowTextInput",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openOnFocus",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("openOnFocus",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstDayOfWeek",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureEnum(P,t),this._a("firstDayOfWeek",i.enumToString(P,this.i.j))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstWeekOfYear",{get:function(){return this.i.l},set:function(t){this.i.l=i.ensureEnum(S,t),this._a("firstWeekOfYear",i.enumToString(S,this.i.l))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showWeekNumbers",{get:function(){return this.i.a2},set:function(t){this.i.a2=i.ensureBool(t),this._a("showWeekNumbers",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dateFormat",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(Ot,t),this._a("dateFormat",i.enumToString(Ot,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"formatString",{get:function(){return this.i.bz},set:function(t){this.i.bz=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.av},set:function(t){this.i.av=i.ensureBool(t),this._a("isDisabled",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFixed",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("isFixed",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openAsChild",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("openAsChild",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useTopLayer",{get:function(){return this.i.a3},set:function(t){this.i.a3=i.ensureBool(t),this._a("useTopLayer",this.i.a3)},enumerable:!1,configurable:!0}),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("XDatePickerComponent");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.select=function(){this.i.dg()},n.prototype.exportVisualModel=function(){return this.i.bg()},n.prototype.exportSerializedVisualModel=function(){return this.i.bw()},Object.defineProperty(n.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 A;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(n.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 Dt;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(n.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 Et;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(n.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(n.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 n=new mt;n._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,n),e._changing&&e._changing(e,n)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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}),n._observedAttributesIgcXDatePickerComponent=null,n.htmlTagName="igc-x-date-picker",n._isElementRegistered=!1,n}(i.IgcHTMLElement),$t=function(){function t(){}return t.register=function(){D.register(),m.register(),B.register(),wt.register(),qt.register(),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.register("XDatePicker",Rt.$type)},t}(),Wt=function(t){function n(e){var i=t.call(this)||this;return i.s=null,i.s=e,i}return e.__extends(n,t),Object.defineProperty(n.prototype,"t",{get:function(){return this.s},enumerable:!1,configurable:!0}),n.prototype.getTargetForProperty=function(t,e){switch(t){case 14:case 9:case 10:case 13:case 16:case 15:case 17:case 7:case 21:return e}return null!=this.s?this.s:e},n.prototype.getMethodTarget=function(t){return null!=this.s?this.s:t},n.prototype.getTargetForBuildInEvent=function(t,e){return null!=this.s?this.s:t},n.prototype.getTargetForBuildInProperty=function(t,e){switch(e){case 108:return t}return null!=this.s?this.s:t},n.$t=i.markType(n,"XComponentBridge",i.NativeUIElementBridge.$),n}(i.NativeUIElementBridge),Gt=function(t){function n(e){var i=t.call(this,e)||this;return i.ab=null,i.aa=null,i.ag=null,i.af=null,i.x=null,i.am=null,i.y=null,i.z=null,i.ai=null,i.ak=null,i.ac=null,i.ah=null,i.ad=null,i.aj=null,i.ae=null,i.al=null,i.u=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t,s=i.typeCast(gt.$,o.inputs._inner[0]);switch(n){case 0:s.changing=i.delegateCombine(s.changing,i.runOn(this,this.av)),this.ab=r,this.ag=e;break;case 27:s.compositionEnd=i.delegateCombine(s.compositionEnd,i.runOn(this,this.ap)),this.ac=r,this.ah=e;break;case 28:s.keyDown=i.delegateCombine(s.keyDown,i.runOn(this,this.ar)),this.ad=r,this.aj=e;break;case 9:s.mouseDown=i.delegateCombine(s.mouseDown,i.runOn(this,this.at)),this.ae=r,this.al=e;break;case 2:s.change=i.delegateCombine(s.change,i.runOn(this,this.au)),this.aa=r,this.af=e;break;case 25:this.ao(t);this.w(t);var a=this.u;a.clicked=i.delegateCombine(a.clicked,i.runOn(this,this.aw)),this.x=r,this.am=e;break;case 13:s.gotFocus=i.delegateCombine(s.gotFocus,i.runOn(this,this.aq)),this.y=r,this.ai=e;break;case 14:s.lostFocus=i.delegateCombine(s.lostFocus,i.runOn(this,this.as)),this.z=r,this.ak=e}},n.prototype.at=function(t,e){if(null!=this.ae){var n=new i.NativeUIMouseEventArgs;n.b=e.originalSource,this.ae(this.al,n)}},n.prototype.ar=function(t,e){if(null!=this.ad){var n=new i.NativeUIKeyEventArgs;n.g=e.keyCode,n.b=e.ctrl,n.e=e.shift,n.a=e.alt,n.h=e.originalEvent,this.ad(this.aj,n)}},n.prototype.ap=function(t,e){if(null!=this.ac){var n=new i.NativeUIInputChangingEventArgs;n.b=e.value,this.ac(this.ah,n)}},n.prototype.as=function(t,e){if(null!=this.z){var n=new i.NativeUIFocusEventArgs;this.z(this.ak,n)}},n.prototype.aq=function(t,e){if(null!=this.y){var n=new i.NativeUIFocusEventArgs;this.y(this.ai,n)}},n.prototype.aw=function(t,e){if(null!=this.x){var n=new i.NativeUIClickedEventArgs;this.x(this.am,n),n.a&&(e.handled=!0)}},n.prototype.removeHandler=function(t,e,n,r){var o=t,s=i.typeCast(gt.$,o.inputs._inner[0]);switch(n){case 0:s.changing=i.delegateRemove(s.changing,i.runOn(this,this.av)),this.ab=null,this.ag=null;break;case 27:s.compositionEnd=i.delegateRemove(s.compositionEnd,i.runOn(this,this.ap)),this.ac=null,this.ah=null;break;case 28:s.keyDown=i.delegateRemove(s.keyDown,i.runOn(this,this.ar)),this.ad=null,this.aj=null;break;case 9:s.mouseDown=i.delegateRemove(s.mouseDown,i.runOn(this,this.at)),this.ae=null,this.al=null;break;case 2:s.change=i.delegateRemove(s.change,i.runOn(this,this.au)),this.aa=null,this.af=null;break;case 25:this.ao(t);this.w(t);var a=this.u;a.clicked=i.delegateRemove(a.clicked,i.runOn(this,this.aw)),this.x=null,this.am=null;break;case 13:s.gotFocus=i.delegateRemove(s.gotFocus,i.runOn(this,this.aq)),this.y=null,this.ai=null;break;case 14:s.lostFocus=i.delegateRemove(s.lostFocus,i.runOn(this,this.as)),this.z=null,this.ak=null}},n.prototype.av=function(t,e){if(null!=this.ab){var n=new i.NativeUIInputChangingEventArgs;n.a=e.isCompositionInProgress,n.b=e.value,this.ab(this.ag,n)}},n.prototype.au=function(t,e){if(null!=this.aa){var n=new i.NativeUIInputChangingEventArgs;n.a=e.isCompositionInProgress,n.b=e.value,this.aa(this.af,n)}},n.prototype.v=function(t){for(var e=0;e<t.inputs.count;e++){var n=t.inputs._inner[e];if(null!==i.typeCast(bt.$,n))return n}return null},n.prototype.an=function(t){var e=this.v(t);if(null==e){e=new bt;var i=t.view.l,n=i.createElement("div"),r=i.getSubRenderer(n);e.provideContainer(r),t.inputs.add(e),t.appendContentChild(n)}},n.prototype.w=function(t){for(var e=0;e<t.inputs.count;e++){var n=t.inputs._inner[e];if(null!==i.typeCast(ct.$,n))return n}return null},n.prototype.ao=function(t){if(null==this.w(t)){var e=t.view.l,i=new ct,n=e.createElement("div"),r=e.getSubRenderer(n);i.provideContainer(r),this.u=new k;var o=e.createElement("div"),s=e.getSubRenderer(o);this.u.provideContainer(s),i.appendContentChild(o),t.inputs.add(i),t.appendContentChild(n)}},n.prototype.getValue=function(t,e){var n=t,r=i.typeCast(gt.$,n.inputs._inner[0]);switch(e){case 103:return t.mc;case 3:return this.an(t),this.v(t).text;case 100:return this.ao(t),this.u.svgPath;case 101:return this.ao(t),this.u.fill;case 102:return this.ao(t),this.u.ea;case 2:return r.cq;case 1:switch(n.t){case 0:return i.enumGetBox(i.NativeUIDisplayDensity_$type,0);case 1:return i.enumGetBox(i.NativeUIDisplayDensity_$type,1);case 3:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,2);case 4:return i.enumGetBox(i.NativeUIDisplayDensity_$type,4)}break;case 0:switch(n.d){case 2:return i.enumGetBox(i.NativeUIInputDisplayType_$type,1);case 1:return i.enumGetBox(i.NativeUIInputDisplayType_$type,2);case 0:return i.enumGetBox(i.NativeUIInputDisplayType_$type,0)}break;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.p);case 19:switch(r.b8){case"text":return i.enumGetBox(i.NativeUIInputType_$type,0);case"number":return i.enumGetBox(i.NativeUIInputType_$type,1)}break;case 20:switch(r.dy){case 0:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,0);case 2:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,2);case 1:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,1);case 3:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,3)}break;case 21:return r.a1;case 32:return r.disabled;case 33:return r.d8;case 105:return r.selectionStart;case 106:return r.selectionEnd;case 107:return n.an}return null},n.prototype.setValue=function(t,e,n){var r=t,o=i.typeCast(gt.$,r.inputs._inner[0]);switch(e){case 103:t.mc=n;break;case 3:this.an(t),this.v(t).text=n;break;case 100:this.ao(t),this.u.svgPath=n;break;case 101:this.ao(t),this.u.fill=n;break;case 102:this.ao(t),this.u.ea=n;break;case 2:o.cq=null==n?null:n.toString();break;case 1:switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,n)){case 0:r.t=0;break;case 1:r.t=1;break;case 3:r.t=3;break;case 2:r.t=2;break;case 4:r.t=4}break;case 0:switch(i.EnumUtil.getEnumValue(i.NativeUIInputDisplayType_$type,n)){case 1:r.d=2;break;case 2:r.d=1;break;case 0:r.d=0}break;case 18:r.p=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 19:switch(i.EnumUtil.getEnumValue(i.NativeUIInputType_$type,n)){case 0:o.b8="text";break;case 1:o.b8="number"}break;case 20:switch(i.EnumUtil.getEnumValue(i.NativeUIComponentHorizontalAlignment_$type,n)){case 0:o.dy=0;break;case 2:o.dy=2;break;case 1:o.dy=1;break;case 3:o.dy=3}break;case 21:o.a1=n;break;case 32:o.disabled=n;break;case 33:o.d8=n;break;case 105:o.selectionStart=i.typeGetValue(n);break;case 106:o.selectionEnd=i.typeGetValue(n);break;case 107:r.an=n}},n.prototype.getTargetForProperty=function(e,i){switch(e){case 9:case 10:case 2:case 3:case 4:return i}return t.prototype.getTargetForProperty.call(this,e,i)},n.prototype.focus=function(t){this.t.inputs._inner[0].focus(!0)},n.prototype.select=function(t){var e=t.inputs._inner[0];window.setTimeout((function(){return e.dp()}),0)},n.prototype.resetIsExpanded=function(t){t.j8()},n.prototype.setSelectionRange=function(t,e,i){var n=t.inputs._inner[0];window.setTimeout((function(){return n.dr(e,i)}),0)},n.prototype.exportVisualData=function(t){if(null===i.typeCast(dt.$,t))return null;var e=t;return null==e.inputs||0==e.inputs.count||null===i.typeCast(gt.$,e.inputs._inner[0])?null:e.inputs._inner[0].bg()},n.$t=i.markType(n,"XInputBridge",Wt.$,[i.INativeUIInputBridge_$type]),n}(Wt),zt=function(t){function n(e){var i=t.call(this,e)||this;return i.ac=null,i.aa=null,i.u=null,i.z=null,i.x=null,i.ae=null,i.y=null,i.af=null,i.v=null,i.ab=null,i.w=null,i.ad=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 1:o.clicked=i.delegateCombine(o.clicked,i.runOn(this,this.ag)),this.u=r,this.z=e;break;case 7:o.mouseEnter=i.delegateCombine(o.mouseEnter,i.runOn(this,this.aj)),this.x=r,this.ae=e;break;case 8:o.mouseLeave=i.delegateCombine(o.mouseLeave,i.runOn(this,this.ak)),this.y=r,this.af=e;break;case 13:o.gotFocus=i.delegateCombine(o.gotFocus,i.runOn(this,this.ah)),this.v=r,this.ab=e;break;case 14:o.lostFocus=i.delegateCombine(o.lostFocus,i.runOn(this,this.ai)),this.w=r,this.ad=e}},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 1:o.clicked=i.delegateRemove(o.clicked,i.runOn(this,this.ag)),this.u=null,this.z=null;break;case 7:o.mouseEnter=i.delegateRemove(o.mouseEnter,i.runOn(this,this.aj)),this.x=null,this.ae=null;break;case 8:o.mouseLeave=i.delegateRemove(o.mouseLeave,i.runOn(this,this.ak)),this.y=null,this.af=null}},n.prototype.ag=function(t,e){if(null!=this.u){var n=new i.NativeUIButtonClickedEventArgs;this.u(this.z,n)}},n.prototype.aj=function(t,e){if(null!=this.x){var n=new i.NativeUIMouseEventArgs;this.x(this.ae,n)}},n.prototype.ak=function(t,e){if(null!=this.y){var n=new i.NativeUIMouseEventArgs;this.y(this.af,n)}},n.prototype.ah=function(t,e){null!=this.v&&this.v(this.ab,new i.NativeUIFocusEventArgs)},n.prototype.ai=function(t,e){var n;null!=this.w&&this.w(this.ad,((n=new i.NativeUIFocusEventArgs).b=e.b,n.a=e.a,n))},n.prototype.setValue=function(t,e,n){var r=t;switch(e){case 3:if(r.clearButtonContent(),null!==i.typeCast(i.NativeUIComponent.$,n))this.ac=n,r.appendButtonContent(this.ac.an);else{this.ac=n;var o=r.view.l.createElement("span");o.setText(null==this.ac?null:this.ac.toString()),r.appendButtonContent(o)}break;case 1:switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,n)){case 0:r.r=0;break;case 1:r.r=1;break;case 3:r.r=3;break;case 2:r.r=2;break;case 4:r.r=4}break;case 18:r.n=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 54:null!==i.typeCast(i.NativeUIComponent.$,n)&&(this.aa=n,r.appendButtonContent(this.aa.an));break;case 0:switch(i.EnumUtil.getEnumValue(i.NativeUIButtonDisplayType_$type,n)){case 3:r.e=3;break;case 1:r.e=1;break;case 4:r.e=4;break;case 2:r.e=2;break;case 0:r.e=0}break;case 4:r.aw=n;break;case 32:r.disabled=n;break;case 5:r.au=n;break;case 6:r.a2=!n;break;case 24:r.qg=n;break;case 55:r.bm=n.left,r.bo=n.top,r.bn=n.right,r.bl=n.bottom;break;case 57:r.ay=n;break;case 56:r.av=n;break;case 58:r.at=n;break;case 17:r.k1=n;break;case 11:r.aa=n;break;case 88:r.by=n;break;case 59:r.a5=n}},n.prototype.getValue=function(t,e){var n=t;switch(e){case 3:return this.ac;case 54:return this.aa;case 1:switch(n.r){case 0:return i.enumGetBox(i.NativeUIDisplayDensity_$type,0);case 1:return i.enumGetBox(i.NativeUIDisplayDensity_$type,1);case 3:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,2);case 4:return i.enumGetBox(i.NativeUIDisplayDensity_$type,4)}break;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.n);case 0:switch(n.e){case 3:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,3);case 1:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,1);case 4:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,4);case 2:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,2);case 0:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,0)}return i.enumGetBox(i.NativeUIButtonDisplayType_$type,0);case 4:return n.aw;case 32:return n.disabled;case 5:return n.au;case 6:return!n.a2;case 24:return n.qg;case 55:return new i.Thickness(1,n.bm,n.bo,n.bn,n.bl);case 57:return n.ay;case 56:return n.av;case 58:return n.at;case 17:return n.k1;case 88:return n.by;case 59:return n.a5}return null},n.prototype.setHorizontalContentAlignment=function(t,e){switch(e){case 1:this.t.le=1;break;case 0:this.t.le=0;break;case 2:this.t.le=2;break;case 3:this.t.le=3}},n.prototype.getHorizontalContentAlignment=function(t){switch(this.t.le){case 1:return 1;case 0:return 0;case 2:return 2;default:return 3}},n.prototype.setVerticalContentAlignment=function(t,e){switch(e){case 2:this.t.ri=2;break;case 1:this.t.ri=1;break;case 3:this.t.ri=3;break;case 0:this.t.ri=0}},n.prototype.getVerticalContentAlignment=function(t){switch(this.t.ri){case 2:return 2;case 1:return 1;case 0:return 0;default:return 3}},n.prototype.exportVisualData=function(t){return t.eb()},n.$t=i.markType(n,"XButtonBridge",Wt.$),n}(Wt),Vt=new i.Type(null,"IMultiSliderTrackThumbVisual"),Ht=new i.Type(null,"IMultiSliderTrackRangeVisual"),Mt=new i.Type(null,"IMultiSliderTrackThumbCalloutVisual"),Lt=new i.Type(null,"IMultiSliderTrackBarVisual"),Xt=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.b=-1,e.a=-1,e._barBox=null,e._allPaths=null,e.barBox=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.barBox),e.barBox._fill=e.getBarBoxDefaultBrush(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.getBarBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,218,218,218),t;var t},n.prototype.getBarBoxDefaultOutline=function(){return null},n.prototype.getBarBoxDefaultStrokeThickness=function(){return 0},n.prototype.c=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),e._segments.add(n),t.c.add(e),this.barBox.an=t},Object.defineProperty(n.prototype,"width",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.d()},enumerable:!1,configurable:!0}),n.prototype.d=function(){this.width>0&&this.height>0&&this.c()},Object.defineProperty(n.prototype,"height",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.d()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barBox",{get:function(){return this._barBox},set:function(t){this._barBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackBarVisual",i.Base.$,[Lt]),n}(i.Base),Yt=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.c=-1,e.a=0,e.b=-1,e._thumbBox=null,e._thumbRidges=null,e._allPaths=null,e.thumbBox=new i.Path,e.thumbRidges=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.thumbBox),e.allPaths.add(e.thumbRidges),e.width=e.getTrackThumbDefaultWidth(),e.height=e.getTrackThumbDefaultHeight(),e.thumbBox._stroke=e.getThumbBoxDefaultStroke(),e.thumbBox.ad=e.getThumbBoxDefaultStrokeThickness(),e.thumbBox._fill=e.getThumbBoxDefaultBrush(),e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke(),e.thumbRidges.ad=1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.getTrackThumbDefaultWidth=function(){return 22},n.prototype.getTrackThumbDefaultHeight=function(){return 22},n.prototype.getThumbBoxDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getThumbBoxDefaultStrokeThickness=function(){return 1},n.prototype.getThumbBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,249,249,249),t;var t},n.prototype.getThumbRidgesDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,119,119,119),t;var t},n.prototype.e=function(){if(0==this.orientation){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.LineSegment(1);e._isClosed=!1,e._isFilled=!1,e._startPoint={$type:i.Point_$type,x:-1.5,y:-4},n.c={$type:i.Point_$type,x:-1.5,y:4},e._segments.add(n),t.c.add(e);var r=new i.PathFigure,o=new i.LineSegment(1);r._isClosed=!1,r._isFilled=!1,r._startPoint={$type:i.Point_$type,x:1.5,y:-4},o.c={$type:i.Point_$type,x:1.5,y:4},r._segments.add(o),t.c.add(r),this.thumbRidges.an=t}else{var s=new i.PathGeometry,a=new i.PathFigure,h=new i.LineSegment(1);a._isClosed=!1,a._isFilled=!1,a._startPoint={$type:i.Point_$type,x:-4,y:-1.5},h.c={$type:i.Point_$type,x:4,y:-1.5},a._segments.add(h),s.c.add(a);var u=new i.PathFigure,l=new i.LineSegment(1);u._isClosed=!1,u._isFilled=!1,u._startPoint={$type:i.Point_$type,x:-4,y:1.5},l.c={$type:i.Point_$type,x:4,y:1.5},u._segments.add(l),s.c.add(u),this.thumbRidges.an=s}},n.prototype.d=function(){var t=new i.EllipseGeometry;t.c=Math.max(this.width/2,this.height/2),t.d=Math.max(this.width/2,this.height/2),t.e={$type:i.Point_$type,x:0,y:0},this.thumbBox.an=t},Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.d(),this.e())},Object.defineProperty(n.prototype,"orientation",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbBox",{get:function(){return this._thumbBox},set:function(t){this._thumbBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbRidges",{get:function(){return this._thumbRidges},set:function(t){this._thumbRidges=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackThumbVisual",i.Base.$,[Vt]),n}(i.Base),Kt=function(t){return t[t.PinnedLower=0]="PinnedLower",t[t.PinnedHigher=1]="PinnedHigher",t}({}),Jt=i.markEnum("MultiSliderThumbRangePosition","PinnedLower,0|PinnedHigher,1"),Qt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=0,e.o=0,e.f=1,e.h=null,e.d=null,e.l=0,e.n=0,e.j=!1,e.k=!1,e.propertyUpdated=null,e.propertyChanged=null,e.c=null,e.b=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.u("Owner",e,this.d)},enumerable:!1,configurable:!0}),n.prototype.u=function(t,e,n){this.v(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.v=function(t,e,i){null!=this.e&&("Position"==t&&(this.j=!0,this.p=this.e.updateActualPosition(e,i),this.k||(this.s=this.e.updateThumbValue(this.p)),this.j=!1),"Value"==t&&(this.k=!0,this.j||(this.q=this.e.updateThumbPosition(this.s),this.p=this.e.updateActualPosition(this.q,this.q)),this.e.onThumbValueUpdated(this,e,i),this.k=!1)),this.t()},n.prototype.r=function(t){return this.q+t>1&&(t=1-this.q),this.q+t<0&&(t=-this.q),null!=this.i&&(t=0==this.g?this.i.q(t):this.i.p(t)),this.q+=t,t},n.prototype.t=function(){null!=this.e&&this.e.trackDirty()},Object.defineProperty(n.prototype,"q",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.u("Position",e,this.m)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.u("ActualPosition",e,this.l)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.u("Value",e,this.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.u("RangePosition",i.enumGetBox(Jt,e),i.enumGetBox(Jt,this.f))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.u("Range",e,this.h)},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"MultiSliderThumb",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Zt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.j=0,e.h=0,e.g=1,e.d=null,e.c=null,e.a=null,e.propertyChanged=null,e}return e.__extends(n,t),n.prototype.t=function(t,e,n){this.u(t,e,n),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.u=function(t,e,i){this.s()},n.prototype.s=function(){null!=this.b&&this.b.trackDirty()},Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.t("Owner",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.t("Position",e,this.i)},enumerable:!1,configurable:!0}),n.prototype.o=function(t){return t>0&&this.n+this.r/2+t>1&&(t=1-(this.n+this.r/2)),t<0&&this.n-this.r/2+t<0&&(t=-1*(this.n-this.r/2)),this.f.q+=t,this.e.q+=t,this.n+=t,t},n.prototype.p=function(t){t=this.k(t);var e=this.n-this.r/2;return this.r+=t,this.n=e+this.r/2,t},n.prototype.k=function(t){if(t<0){var e=this.r+t;e<this.m&&(t=(e=this.m)-this.r)}if(t>0){var i=this.r+t;i>this.l&&(t=(i=this.l)-this.r)}return t},n.prototype.q=function(t){t=-1*this.k(-1*t);var e=this.n+this.r/2;return this.r-=t,this.n=e-this.r/2,t},Object.defineProperty(n.prototype,"r",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.t("Width",e,this.j)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.t("MinWidth",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.t("MaxWidth",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.t("LowerThumb",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.t("HigherThumb",e,this.c)},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"MultiSliderTrackThumbRange",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),te=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e._textTranslateX=0,e._textTranslateY=0,e.c=-1,e.b=-1,e.a=!1,e._calloutBox=null,e._calloutText=null,e._allPaths=null,e.calloutBox=new i.Path,e.calloutBox._visibility=1,e.calloutText=new i.TextBlock,e.calloutText._visibility=1,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.calloutBox),e.height=22,e.width=10,e.calloutBox._stroke=e.getCalloutBoxDefaultStroke(),e.calloutBox.ad=e.getCalloutBoxDefaultStrokeThickness(),e.calloutBox._fill=e.getCalloutBoxDefaultBrush(),e.calloutText.ao=e.getCalloutTextDefaultBrush(),e.calloutText.al="",e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textTranslateX",{get:function(){return this._textTranslateX},set:function(t){this._textTranslateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textTranslateY",{get:function(){return this._textTranslateY},set:function(t){this._textTranslateY=t},enumerable:!1,configurable:!0}),n.prototype.getCalloutBoxDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getCalloutBoxDefaultStrokeThickness=function(){return 1},n.prototype.getCalloutBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(200,255,255,255),t;var t},n.prototype.getCalloutTextDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.e=function(){},n.prototype.d=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:0,y:0},n._points.add({$type:i.Point_$type,x:this.width,y:0}),n._points.add({$type:i.Point_$type,x:this.width,y:this.height}),n._points.add({$type:i.Point_$type,x:0,y:this.height}),e._segments.add(n),t.c.add(e),this.calloutBox.an=t},Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.e(),this.d())},Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isVisible",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&(this.calloutBox._visibility=this.a?0:1,this.calloutText._visibility=this.a?0:1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutBox",{get:function(){return this._calloutBox},set:function(t){this._calloutBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutText",{get:function(){return this._calloutText},set:function(t){this._calloutText=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackThumbCalloutVisual",i.Base.$,[Mt]),n}(i.Base),ee=new i.Type(null,"ISliderTrackOwner"),ie=function(t){function n(){return t.call(this,Qt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"MultiSliderThumbCollection",i.ObservableCollection$1.$.specialize(Qt.$)),n}(i.ObservableCollection$1),ne=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=0,e.a=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"MultiSliderHitInfo"),n}(i.Base),re=function(t){return t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical",t[t.TwoDimensional=2]="TwoDimensional",t}({}),oe=i.markEnum("MultiSliderOrientation","Horizontal,0|Vertical,1|TwoDimensional,2"),se=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._position=0,e._value=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(t){this._position=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}),n.$t=i.markType(n,"MultiSliderResolvingToolTipValueEventArgs"),n}(i.Base),ae=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"MultiSliderThumbValueChangingEventArgs"),n}(i.Base),he=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,"MultiSliderYValueChangingEventArgs"),n}(i.Base),ue=function(t){function n(e){var n=t.call(this)||this;return n.n=!1,n.r=null,n.q=null,n.b=null,n.p=null,n.g=null,n.u=null,n.v=null,n.l=null,n.t=0,n.o=!1,n.x=0,n.w=0,n.j=null,n.a=null,n.i=null,n.y=-1,n.s=10,n.h=0,n.z=-1,n.m=!0,n.g=e,n.r=new i.List$1(Vt,0),n.q=new i.List$1(Ht,0),n.b=new Xt,n.p=new i.List$1(Mt,0),n.j=n.k(),n.ap(),n}return e.__extends(n,t),n.prototype.at=function(){this.m=!0,this.ap(),null!=this.a&&this.a.au(this.u.rootWrapper,""),-1==this.z&&(this.z=this.u.setTimeout(i.runOn(this,this.an),200))},n.prototype.au=function(){this.m=!1,null!=this.a&&null!=this.u&&this.a.bi(this.u.rootWrapper,""),-1!=this.z&&(window.clearTimeout(this.z),this.z=-1)},n.prototype.aq=function(){this.n||null!=this.u&&(this.n=!0,this.u.setTimeout(i.runOn(this,this.a6),0))},n.prototype.ak=function(){this.a6()},n.prototype.a6=function(){this.n&&(this.n=!1,this.g.d8(),this.a0())},n.prototype.a0=function(){if(null!=this.l){var t=this.g.e0.width,e=this.g.e0.height,n=Math.round(t*this.t),r=Math.round(e*this.t);this.x==n&&this.w==r||(this.v.setAttribute("width",n.toString()),this.v.setAttribute("height",r.toString()),this.v.setStyleProperty("width",t.toString()+"px"),this.v.setStyleProperty("height",e.toString()+"px"),this.x=i.truncate(Math.round(n)),this.w=i.truncate(Math.round(r))),this.l.d&&1!=this.t&&(this.l.aa(),this.l.ab(this.t,this.t)),this.l.l(this.g.e0.left,this.g.e0.top,this.g.e0.width,this.g.e0.height);for(var o=0;o<this.r.count;o++)this.a4(this.r._inner[o].allPaths,this.r._inner[o].translateX,this.r._inner[o].translateY);for(var s=0;s<this.q.count;s++)this.a4(this.q._inner[s].allPaths,this.q._inner[s].translateX,this.q._inner[s].translateY);this.a4(this.b.allPaths,this.b.translateX,this.b.translateY);for(var a=0;a<this.p.count;a++)this.a4(this.p._inner[a].allPaths,this.p._inner[a].translateX,this.p._inner[a].translateY),this.a5(this.p._inner[a].calloutText,this.p._inner[a].textTranslateX,this.p._inner[a].textTranslateY);this.a1(this.b.allPaths);for(var h=0;h<this.q.count;h++)this.a1(this.q._inner[h].allPaths);for(var u=0;u<this.r.count;u++)this.a1(this.r._inner[u].allPaths);this.l.d&&1!=this.t&&this.l.z()}},n.prototype.a2=function(t){null!=t.j&&this.l.aa(),this.l.k(t.j),this.l.x(t),null!=t.j&&this.l.z()},n.prototype.a1=function(t){for(var e=0;e<t.count;e++){var i=t.item(e);null!=i.j&&this.l.aa(),this.l.k(i.j),this.l.t(i),null!=i.j&&this.l.z()}},n.prototype.a5=function(t,e,n){null==t.j&&(t.j=new i.TranslateTransform);var r=t.j;r.j=e,r.k=n},n.prototype.a4=function(t,e,n){for(var r=0;r<t.count;r++){var o=t.item(r);null==o.j&&(o.j=new i.TranslateTransform);var s=o.j;s.j=e,s.k=n}},n.prototype.ap=function(){var t=i.CanvasScalingHelpers.b(this.u);this.g.a9=i.CanvasScalingHelpers.a(this.g.bh,this.g.a9,t),null!=this.a&&i.CanvasScalingHelpers.h(this.a,t)},n.prototype.ax=function(t){var e=this;if(null==t){var n=this.u;return this.v=null,this.u=null,this.l=null,this.ab(),void(-1!=this.z&&(null!=n?n.clearTimeout(this.z):window.clearTimeout(this.z),this.z=-1))}this.t=i.isNaN_(this.g.bh)?this.g.a9:this.g.bh;var r=t;this.u=r,this.u.rootWrapper.setStyleProperty("min-height",this.g.bm+5+"px"),this.u.rootWrapper.setStyleProperty("min-width",this.g.bo+5+"px"),this.u.rootWrapper.addClass("ui-MultiSlider-container");var o=this.t,s=Math.round(r.rootWrapper.width()),a=Math.round(r.rootWrapper.height()),h=s*o,u=a*o;this.u.rootWrapper.setStyleProperty("position","relative");var l=this.u.createElement("canvas");l.setStyleProperty("position","absolute"),this.u.append(l),this.x=i.truncate(Math.round(h)),this.w=i.truncate(Math.round(u)),l.setAttribute("width",h.toString()),l.setAttribute("height",u.toString()),l.setStyleProperty("width",s.toString()+"px"),l.setStyleProperty("height",a.toString()+"px"),this.v=l;var c=this.u.get2DCanvasContext(this.v);this.l=new i.RenderingContext(new i.CanvasViewRenderer,c),this.l.af(this.j),this.ab(),this.a=new i.CanvasGestureDOMEventProxy(this.u.rootWrapper,this.u,!1),this.a.bm=this.g.e0;var p=this.a;p.onContactStarted=i.delegateCombine(p.onContactStarted,i.runOn(this,this.aj));var d=this.a;d.onContactMoved=i.delegateCombine(d.onContactMoved,i.runOn(this,this.ai));var f=this.a;f.onContactCompleted=i.delegateCombine(f.onContactCompleted,i.runOn(this,this.ah)),this.a.ap=function(t){return e.g.ey.containsPoint(t)},this.g.ds(0,0,s,a),this.s=i.FontUtil.getCurrentFontHeight(this.u,this.j),this.g.trackDirty(),this.z=this.u.setTimeout(i.runOn(this,this.an),200)},n.prototype.ah=function(t,e){this.g.dh(t,e)},n.prototype.ai=function(t,e){this.g.di(t)},n.prototype.aj=function(t,e){this.g.af(t,e)},n.prototype.ab=function(){if(null!=this.a){var t=this.a;t.onContactStarted=i.delegateRemove(t.onContactStarted,i.runOn(this,this.aj));var e=this.a;e.onContactMoved=i.delegateRemove(e.onContactMoved,i.runOn(this,this.ai));var n=this.a;n.onContactCompleted=i.delegateRemove(n.onContactCompleted,i.runOn(this,this.ah)),this.a.ap=null,this.a.aw()}},n.prototype.ay=function(){},n.prototype.ar=function(){this.as(!0)},n.prototype.as=function(t){if(null!=this.u&&null!=this.u.rootWrapper){this.ap();var e=Math.round(this.u.rootWrapper.width()),i=Math.round(this.u.rootWrapper.height()),n=e!=this.g.e0.width||i!=this.g.e0.height;(t||n)&&(this.g.ds(0,0,e,i),null!=this.a&&(this.a.bm=this.g.e0))}},n.prototype.am=function(){},n.prototype.k=function(){return(t=new i.FontInfo).q="Verdana",t.f=10,t;var t},n.prototype.a7=function(t,e,n){t.al!=e&&(t.al=e),this.i!=n&&(this.i=n,this.j=this.i,this.s=i.FontUtil.getCurrentFontHeight(this.u,this.j),this.l.af(this.i),this.g.trackDirty())},n.prototype.ae=function(){4!=this.h&&(this.h=4,this.u.rootWrapper.setStyleProperty("cursor","move"))},n.prototype.ag=function(){3!=this.h&&(this.h=3,this.u.rootWrapper.setStyleProperty("cursor","ns-resize"))},n.prototype.ad=function(){0!=this.h&&(this.h=0,this.u.rootWrapper.setStyleProperty("cursor","inherit"))},n.prototype.af=function(){1!=this.h&&(this.h=1,this.u.rootWrapper.setStyleProperty("cursor","ew-resize"))},n.prototype.ac=function(){2!=this.h&&(this.h=2,this.u.rootWrapper.setStyleProperty("cursor","move"))},n.prototype.a8=function(t){var e=this.s,n=this.l.g(t.al);return new i.Size(1,n,e)},n.prototype.aw=function(){this.t=this.g.a9,this.aq()},n.prototype.a3=function(){null!=this.u&&null!=this.u.rootWrapper&&this.u.rootWrapper.show()},n.prototype.ao=function(){null!=this.u&&null!=this.u.rootWrapper&&this.u.rootWrapper.hide()},n.prototype.an=function(){this.z=-1,null!=this.u&&this.m&&(this.as(!1),this.z=this.u.setTimeout(i.runOn(this,this.an),200))},n.prototype.av=function(){},n.prototype.f=function(t){return t.c},n.prototype.az=function(t){null!=t.c&&(this.r.remove(t.c),t.c=null),null!=t.b&&(this.p.remove(t.b),t.b=null)},n.prototype.e=function(t,e){var i=new Yt;return this.r.insert(e,i),i},n.prototype.c=function(t){throw new i.NotImplementedException(0)},n.prototype.d=function(t){return null==t.b?(t.b=new te,this.p.add(t.b),t.b):t.b},n.prototype.al=function(t){for(var e=0;e<this.p.count;e++)t(this.p._inner[e])},n.$t=i.markType(n,"MultiSliderView"),n}(i.Base),le=function(t){function n(){var e=t.call(this)||this;e.g=new ie,e.ag=new i.List$1(Zt.$,0),e.k=null,e.propertyChanged=null,e.b1=500,e.as=0,e.ar=100,e.aw=NaN,e.a2=100,e.a3=0,e.a5=NaN,e.at=NaN,e.ai=1,e.resolvingToolTipValue=null,e.ex=new i.Rect(0,0,0,1,1),e.x=!1,e.a8=0,e.a4=0,e.aj=0,e.b=null,e.a=null,e.ew=null,e.ev=null,e.e2=new i.Thickness(1,5,5,5,5),e.e0=null,e.ey=null,e.ez=null,e.av=0,e.ap=0,e.a1=15,e.a0=15,e.a7=15,e.a6=15,e.ak=10,e.d=0,e.eh=null,e.ay=1,e.ei=null,e.az=22,e.ax=22,e.d9=null,e.ea=null,e.al=0,e.ee=null,e.ef=null,e.au=1,e.eg=null,e.ej=null,e.eb=null,e.ed=null,e.ec=null,e.am=1,e.t=!1,e.n=null,e.p=null,e.q=!1,e.r=!1,e.ao=0,e.an=0,e.aq=0,e.s=!1,e.thumbValueChanging=null,e.thumbValueChanged=null,e.yValueChanging=null,e.yValueChanged=null;var n,r=e.thumbs;return r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(e,e.dz)),e.a=((n=new ne).c=3,n),e.e0=i.Rect.empty,e.ey=i.Rect.empty,e.ez=i.Rect.empty,e.k=new ue(e),e.n=e.k.k(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"thumbs",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.k.au()},n.prototype.onAttachedToUI=function(){this.k.at()},Object.defineProperty(n.prototype,"bg",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.dl("Min",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.dl("Max",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.dl("Step",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.dl("YMax",e,this.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.dl("YMin",e,this.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.dl("YStep",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.dl("PixelScalingRatio",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.dl("ActualPixelScalingRatio",e,this.ai)},enumerable:!1,configurable:!0}),n.prototype.ds=function(t,e,n,r){if(this.e0=new i.Rect(0,t,e,n,r),0==this.e){var o=Math.max(0,this.e0.width-(this.bk+this.be));this.ey=new i.Rect(0,this.e0.left+this.bk,this.e0.top,o,this.e0.height);var s=Math.max(0,this.ey.width-(this.bq+this.bp));this.ez=new i.Rect(0,this.ey.left+this.bq,this.ey.top,s,this.ey.height)}else if(2==this.e){var a=Math.max(0,this.e0.width-(this.bk+this.be));this.ey=new i.Rect(0,this.e0.left+this.bk,this.e0.top,a,this.e0.height);var h=Math.max(0,this.ey.width-(this.bq+this.bp)),u=Math.max(0,this.ey.height-(this.bz+this.by));this.ez=new i.Rect(0,this.ey.left+this.bq,this.ey.top+this.bz,h,u)}else this.ey=new i.Rect(0,this.e0.left,this.e0.top+this.bk,this.e0.width,this.e0.height-(this.bk+this.be)),this.ez=new i.Rect(0,this.ey.left,this.ey.top+this.bq,this.ey.width,this.ey.height-(this.bq+this.bp));this.trackDirty()},n.prototype.d8=function(){if(this.s){this.s=!1;for(var t=this.k.b,e=0;e<this.thumbs.count;e++)this.d5(this.k.f(this.thumbs._inner[e]),this.thumbs._inner[e]);for(var i=0;i<this.ah.count;i++)this.d3(this.k.c(this.ah._inner[i]),this.ah._inner[i]);this.d0(t)}},Object.defineProperty(n.prototype,"e1",{get:function(){return this.ex},set:function(t){var e=this.ex;this.ex=t,i.Rect.l_op_Inequality(e,this.ex)&&this.dl("WindowRect",e,this.ex)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.dl("YValue",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.dl("YPosition",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.dl("ActualYPosition",e,this.aj)},enumerable:!1,configurable:!0}),n.prototype.dh=function(t,e){var i,n=null;null!=this.a&&3!=this.a.c&&(0==this.a.c&&(n=this.a.a),this.k.ay()),null!=n&&(null!=this.thumbValueChanging&&this.thumbValueChanging(this,((i=new ae).b=n.s,i.a=n,i)),null!=this.thumbValueChanged&&this.thumbValueChanged(this,function(){var t=new ae;return t.b=n.s,t.a=n,t}()),2==this.e&&(null!=this.yValueChanging&&this.yValueChanging(this,function(){var t=new he;return t.a=n.s,t}()),null!=this.yValueChanged&&this.yValueChanged(this,function(){var t=new he;return t.a=n.s,t}()))),this.b=this.c(t,e),this.a=function(){var t=new ne;return t.c=3,t}(),this.c5()},n.prototype.c5=function(){this.k.al((function(t){return t.isVisible=!1})),this.k.aq()},n.prototype.dj=function(t,e){this.b=this.c(t,!1)},n.prototype.af=function(t,e){return this.b=this.c(t,e),null!=this.b&&3!=this.b.c&&(this.ad(this.b)?(this.dy(t,this.b),this.k.am(),!0):!!this.y(this.b)&&this.ae(t,this.b))},n.prototype.ae=function(t,e){if(null==e)return!1;switch(e.c){case 2:return!1}return!1},n.prototype.dy=function(t,e){this.a=e,this.ew=t,this.ev=t},n.prototype.ad=function(t){if(null==t)return!1;switch(t.c){case 0:case 1:return!0}return!1},n.prototype.y=function(t){if(null==t)return!1;switch(t.c){case 2:return!1}return!1},n.prototype.di=function(t){this.b=this.c(t,!1),null!=this.a&&3!=this.a.c?0==this.e?this.dd(t):2==this.e?this.dq(t):this.dr(t):this.c6()},n.prototype.dq=function(t){var e=t.x-this.ev.x,i=t.y-this.ev.y;if(this.ev=t,e/=this.ez.width,i/=this.ez.height,null!=this.a)switch(this.a.c){case 0:this.a.a.r(e),this.bi(i),this.d6(this.a.a),this.c7();break;case 1:this.a.b.o(e),this.bi(i),this.d6(this.a.b.f),this.d6(this.a.b.e),this.c7()}},n.prototype.bi=function(t){return this.bw+t>1&&(t=1-this.bw),this.bw+t<0&&(t=-this.bw),this.bw+=t,t},n.prototype.c6=function(){null!=this.b&&1==this.b.c?this.k.ae():null!=this.b&&0==this.b.c?1==this.e?this.k.ag():2==this.e?this.k.ac():this.k.af():this.k.ad()},n.prototype.dr=function(t){var e=t.y-this.ev.y;if(e/=this.ez.height,this.ev=t,null!=this.a)switch(this.a.c){case 0:this.a.a.r(e),this.d6(this.a.a),this.c7();break;case 1:this.a.b.o(e),this.d6(this.a.b.f),this.d6(this.a.b.e),this.c7()}},n.prototype.d6=function(t){var e,i,n;if(0==this.e||2==this.e){if(e=t.p,i=t.p*this.ez.width+this.ez.left,this.t){var r=e;if(null!=this.resolvingToolTipValue){var o=((n=new se).position=e,n.value=r,n);this.resolvingToolTipValue(this,o),r=o.value}this.dx(t,i,r)}}else if(e=t.p,i=t.p*this.ez.height+this.ez.top,this.t){var s=e;if(null!=this.resolvingToolTipValue){var a=function(){var t=new se;return t.position=e,t.value=s,t}();this.resolvingToolTipValue(this,a),s=a.value}this.dx(t,i,s)}},n.prototype.dx=function(t,e,n){var r=this.k.d(t);r.isVisible=!0;var o="";null!=n&&(o=n.toString()),this.k.a7(r.calloutText,o,this.o());var s=this.k.a8(r.calloutText),a=this.e3();s=new i.Size(1,s.width+a.left+a.right,s.height+a.top+a.bottom);var h=t.p*this.ez.width+this.ez.left,u=t.p*this.ez.width+this.ez.left,l=0,c=0;c=(l=this.e0.right-h<=s.width?h-s.width:h)<u?this.ez.top:this.ez.bottom-s.height,r.width=s.width,r.height=s.height,r.translateX=l,r.translateY=c,r.textTranslateX=l+a.left,r.textTranslateY=c+a.top},n.prototype.e3=function(){return this.e2},n.prototype.o=function(){return null!=this.p?this.p:this.n},n.prototype.dd=function(t){var e=t.x-this.ev.x;if(this.ev=t,e/=this.ez.width,null!=this.a)switch(this.a.c){case 0:this.a.a.r(e),this.d6(this.a.a),this.c7();break;case 1:this.a.b.o(e),this.d6(this.a.b.f),this.d6(this.a.b.e),this.c7()}},n.prototype.df=function(t){this.b=this.c(t,!1)},n.prototype.dg=function(t){this.b=this.c(t,!1)},n.prototype.c=function(t,e){for(var i=function(i){var r,o=n.thumbs._inner[i];if(n.w(t,o,n.k.f(o),e))return{value:(r=new ne,r.a=o,r.c=0,r)}},n=this,r=0;r<this.thumbs.count;r++){var o=i(r);if("object"==typeof o)return o.value}for(var s,a=function(e){var i,n=h.ah._inner[e];if(h.v(t,n,h.k.c(n)))return{value:(i=new ne,i.b=n,i.c=1,i)}},h=this,u=0;u<this.ah.count;u++){var l=a(u);if("object"==typeof l)return l.value}return this.u(t)?((s=new ne).c=2,s):function(){var t=new ne;return t.c=3,t}()},n.prototype.u=function(t){if(0==this.e){if(t.y>this.ez.bottom&&t.x>=this.ez.left&&t.x<=this.ez.right&&t.y<=this.ey.bottom)return!0}else if(2==this.e){if(t.y>this.ez.bottom&&t.x>=this.ez.left&&t.x<=this.ez.right&&t.y<=this.ey.bottom)return!0}else if(t.x>this.ez.right&&t.y>=this.ez.top&&t.y<=this.ez.bottom&&t.x<=this.ey.right)return!0;return!1},n.prototype.v=function(t,e,i){if(0==this.e){var n=e.n*this.ez.width+this.ez.left,r=n-i.width/2,o=n+i.width/2;if(t.y>=this.ey.top&&t.y<=this.ey.bottom&&t.x>=r&&t.x<=o)return!0}else{var s=e.n*this.ez.height+this.ez.top,a=s-i.height/2,h=s+i.height/2;if(t.x>=this.ey.left&&t.x<=this.ey.right&&t.y>=a&&t.y<=h)return!0}return!1},n.prototype.w=function(t,e,n,r){var o=40;if(0==this.e){var s=e.p*this.ez.width+this.ez.left,a=this.ez.top+this.ez.height/2,h=new i.Rect(0,s-n.width/2,a-n.height/2,n.width,n.height);if(r&&(h.width<o&&h.inflate((o-h.width)/2,0),h.height<o&&h.inflate(0,(o-h.height)/2)),h.containsPoint(t))return!0}else if(2==this.e){var u=e.p*this.ez.width+this.ez.left,l=this.ez.top+this.ba*this.ez.height,c=new i.Rect(0,u-n.width/2,l-n.height/2,n.width,n.height);if(r&&(c.width<o&&c.inflate((o-c.width)/2,0),c.height<o&&c.inflate(0,(o-c.height)/2)),c.containsPoint(t))return!0}else{var p=e.p*this.ez.height+this.ez.top,d=this.ez.left+this.ez.width/2,f=new i.Rect(0,d-n.width/2,p-n.height/2,n.width,n.height);if(r&&(f.width<o&&f.inflate((o-f.width)/2,0),f.height<o&&f.inflate(0,(o-f.height)/2)),f.containsPoint(t))return!0}return!1},n.prototype.d3=function(t,e){0==this.e||2==this.e?(t.orientation=this.e,t.width=Math.max(15,this.ez.width*e.r),t.height=this.bb,t.translateX=this.ez.left+this.ez.width*e.n,t.translateY=this.ez.bottom+this.bb/2):(t.orientation=this.e,t.height=Math.max(15,this.ez.height*e.r),t.width=this.bb,t.translateY=this.ez.top+this.ez.height*e.n,t.translateX=this.ez.right+this.bb/2)},n.prototype.d0=function(t){0==this.e?(t.height=this.bb,t.width=this.ez.width,t.translateX=this.ez.left+this.ez.width/2,t.translateY=(this.ey.top+this.ey.bottom)/2):2==this.e?(t.height=this.bb,t.width=this.ez.width,t.translateX=this.ez.left+this.ez.width/2,t.translateY=this.ez.top+this.ba*this.ez.height):(t.width=this.bb,t.height=this.ez.height,t.translateY=this.ez.top+this.ez.height/2,t.translateX=(this.ey.left+this.ey.right)/2)},n.prototype.d5=function(t,e){0==this.e?(t.orientation=this.e,t.translateX=this.ez.left+this.ez.width*e.p,t.translateY=this.ez.top+this.ez.height/2):2==this.e?(t.orientation=this.e,t.translateX=this.ez.left+this.ez.width*e.p,t.translateY=this.ez.top+this.ez.height*this.ba):(t.orientation=this.e,t.translateY=this.ez.top+this.ez.height*e.p,t.translateX=this.ez.left+this.ez.width/2)},Object.defineProperty(n.prototype,"bk",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.dl("StartInset",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.dl("EndInset",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.dl("TrackStartInset",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.dl("TrackEndInset",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.dl("YTrackStartInset",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.dl("YTrackEndInset",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.dl("BarExtent",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.dl("Orientation",i.enumGetBox(oe,e),i.enumGetBox(oe,this.d))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"es",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.dl("ThumbBrush",e,this.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.dl("ThumbStrokeThickness",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"et",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.dl("ThumbOutline",e,this.ei)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.dl("ThumbWidth",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.dl("ThumbHeight",e,this.ax)},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"ek",{get:function(){return this.d9},set:function(t){var e=this.d9;this.d9=t,e!=this.d9&&this.dl("BarBrush",e,this.d9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return this.ea},set:function(t){var e=this.ea;this.ea=t,e!=this.ea&&this.dl("BarOutline",e,this.ea)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.dl("BarStrokeThickness",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ep",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.dl("RangeThumbBrush",e,this.ee)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eq",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.dl("RangeThumbOutline",e,this.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.dl("RangeThumbStrokeThickness",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"er",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.dl("RangeThumbRidgesBrush",e,this.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eu",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.dl("ThumbRidgesBrush",e,this.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"em",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.dl("CalloutBrush",e,this.eb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eo",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.dl("CalloutTextColor",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"en",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.dl("CalloutOutline",e,this.ec)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.dl("CalloutStrokeThickness",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return!1},enumerable:!1,configurable:!0}),n.prototype.dl=function(t,e,n){this.du(t,e,n),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.du=function(t,e,i){switch(t){case"PixelScalingRatio":this.a9=this.bh;break;case"ActualPixelScalingRatio":null!=this.k&&this.k.aw();break;case"YPosition":this.q=!0,this.ba=this.br(e,i),this.trackDirty(),this.r||(this.b0=this.bt(this.ba)),this.q=!1;break;case"YValue":this.r=!0,this.q||(this.bw=this.bs(this.b0),this.ba=this.br(this.bw,this.bw),this.trackDirty()),this.dt(this,e,i),this.r=!1;break;case"Orientation":this.dk(),this.trackDirty();break;case"TrackStartInset":case"TrackEndInset":case"StartInset":case"EndInset":this.de(),this.trackDirty();break;case"Min":case"Max":this.dm(),this.trackDirty();break;case"ThumbBrush":case"ThumbOutline":case"ThumbRidgesBrush":case"ThumbStrokeThickness":this.d7(),this.k.aq();break;case"ThumbWidth":case"ThumbHeight":for(var n=0;n<this.thumbs.count;n++){var r=this.thumbs._inner[n],o=this.k.f(r);o.width=this.bo,o.height=this.bm}this.trackDirty();break;case"RangeThumbBrush":case"RangeThumbOutline":case"RangeThumbRidgesBrush":case"RangeThumbStrokeThickness":this.d4(),this.k.aq();break;case"BarBrush":case"BarOutline":case"BarStrokeThickness":this.d1(),this.k.aq();break;case"CalloutBrush":case"CalloutOutline":case"CalloutTextColor":case"CalloutStrokeThickness":this.d2(),this.k.aq()}},n.prototype.d1=function(){var t=this.k.b;null==this.ek?t.barBox._fill=t.getBarBoxDefaultBrush():t.barBox._fill=this.ek,null==this.el?t.barBox._stroke=t.getBarBoxDefaultOutline():t.barBox._stroke=this.el,i.isNaN_(this.bc)?t.barBox.ad=t.getBarBoxDefaultStrokeThickness():t.barBox.ad=this.bc},n.prototype.d2=function(){for(var t=0;t<this.thumbs.count;t++){var e=this.k.d(this.thumbs._inner[t]);null==this.em?e.calloutBox._fill=e.getCalloutBoxDefaultBrush():e.calloutBox._fill=this.em,null==this.en?e.calloutBox._stroke=e.getCalloutBoxDefaultStroke():e.calloutBox._stroke=this.en,null==this.eo?e.calloutText.ao=e.getCalloutTextDefaultBrush():e.calloutText.ao=this.eo,i.isNaN_(this.bd)?e.calloutBox.ad=e.getCalloutBoxDefaultStrokeThickness():e.calloutBox.ad=this.bd}},n.prototype.d7=function(){for(var t=0;t<this.thumbs.count;t++){var e=this.k.f(this.thumbs._inner[t]);null==this.es?e.thumbBox._fill=e.getThumbBoxDefaultBrush():e.thumbBox._fill=this.es,null==this.et?e.thumbBox._stroke=e.getThumbBoxDefaultStroke():e.thumbBox._stroke=this.et,null==this.eu?e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke():e.thumbRidges._stroke=this.eu,i.isNaN_(this.bn)?e.thumbBox.ad=e.getThumbBoxDefaultStrokeThickness():e.thumbBox.ad=this.bn}},n.prototype.d4=function(){for(var t=0;t<this.ah.count;t++){var e=this.k.c(this.ah._inner[t]);null==this.ep?e.thumbBox._fill=e.getThumbBoxDefaultBrush():e.thumbBox._fill=this.ep,null==this.eq?e.thumbBox._stroke=e.getThumbBoxDefaultStroke():e.thumbBox._stroke=this.eq,null==this.er?e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke():e.thumbRidges._stroke=this.er,i.isNaN_(this.bj)?e.thumbBox.ad=e.getThumbBoxDefaultStrokeThickness():e.thumbBox.ad=this.bj}},n.prototype.dm=function(){},n.prototype.de=function(){this.e0.isEmpty||this.ds(this.e0.left,this.e0.top,this.e0.width,this.e0.height)},n.prototype.dk=function(){if(0==this.e)for(var t=0;t<this.thumbs.count;t++){var e=this.k.f(this.thumbs._inner[t]);e.width=this.bo,e.height=this.bm}else if(2==this.e)for(var i=0;i<this.thumbs.count;i++){var n=this.k.f(this.thumbs._inner[i]);n.width=this.bo,n.height=this.bm}else for(var r=0;r<this.thumbs.count;r++){var o=this.k.f(this.thumbs._inner[r]);o.width=this.bo,o.height=this.bm}this.e0.isEmpty||this.ds(this.e0.left,this.e0.top,this.e0.width,this.e0.height)},n.prototype.provideContainer=function(t){this.k.ax(t)},n.prototype.notifySizeChanged=function(){this.k.ar()},n.prototype.dz=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;null!=l&&(l.propertyUpdated=i.delegateRemove(l.propertyUpdated,i.runOn(this,this.c9))),this.dp(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 d=p.value;null!=d&&(d.propertyUpdated=i.delegateCombine(d.propertyUpdated,i.runOn(this,this.c9))),this.dn(d)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}this.trackDirty()},n.prototype.dn=function(t){t.e=this,t.c=this.k.e(t,this.thumbs.indexOf(t))},n.prototype.dp=function(t){t.e=null,this.k.az(t)},n.prototype.c9=function(t,e){this.trackDirty()},n.prototype.c7=function(){this.k.ak()},n.prototype.trackDirty=function(){this.s=!0,null!=this.k&&this.k.aq()},n.prototype.updateActualPosition=function(t,e){if(i.isNaN_(this.bl))return e;var n=(this.bg+e*(this.bf-this.bg))/this.bl;return((n=Math.round(n))*this.bl-this.bg)/(this.bf-this.bg)},n.prototype.updateThumbValue=function(t){return this.bg+t*(this.bf-this.bg)},n.prototype.updateThumbPosition=function(t){return(t-this.bg)/(this.bf-this.bg)},n.prototype.br=function(t,e){if(i.isNaN_(this.bl))return e;var n=(this.bv+e*(this.bu-this.bv))/this.bl;return((n=Math.round(n))*this.bl-this.bv)/(this.bu-this.bv)},n.prototype.bt=function(t){return this.bv+t*(this.bu-this.bv)},n.prototype.bs=function(t){return(t-this.bv)/(this.bu-this.bv)},n.prototype.onThumbValueUpdated=function(t,e,i){var n;null!=this.thumbValueChanging&&this.thumbValueChanging(this,((n=new ae).b=i,n.a=t,n))},n.prototype.dt=function(t,e,i){var n;null!=this.yValueChanging&&this.yValueChanging(this,((n=new he).a=i,n))},n.prototype.dw=function(){null!=this.k&&this.k.a3()},n.prototype.c8=function(){null!=this.k&&this.k.ao()},n.$t=i.markType(n,"MultiSlider",i.Base.$,[ee,i.INotifyPropertyChanged_$type]),n}(i.Base),ce=function(t){function n(e){var i=t.call(this,e)||this;return i.u=null,i.w=null,i.v=null,i.x=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.thumbValueChanging=i.delegateCombine(o.thumbValueChanging,i.runOn(this,this.z));var s=t;s.yValueChanging=i.delegateCombine(s.yValueChanging,i.runOn(this,this.ab)),this.v=r,this.x=e;break;case 4:var a=t;a.thumbValueChanged=i.delegateCombine(a.thumbValueChanged,i.runOn(this,this.y));var h=t;h.yValueChanged=i.delegateCombine(h.yValueChanged,i.runOn(this,this.aa)),this.u=r,this.w=e}},n.prototype.y=function(t,e){if(null!=this.u){var n=new i.NativeUISliderValueChangedEventArgs;this.u(this.w,n)}},n.prototype.aa=function(t,e){if(null!=this.u){var n=new i.NativeUISliderValueChangedEventArgs;this.u(this.w,n)}},n.prototype.z=function(t,e){if(null!=this.v){var n=new i.NativeUISliderValueChangedEventArgs;this.v(this.x,n)}},n.prototype.ab=function(t,e){if(null!=this.v){var n=new i.NativeUISliderValueChangedEventArgs;this.v(this.x,n)}},n.prototype.getValue=function(t,e){switch(e){case 12:return t.bg;case 13:return t.bf;case 97:return t.bv;case 98:return t.bf;case 14:return t.bl;case 2:return t.thumbs._inner[0].s;case 92:return t.b0;case 93:return t.ek;case 94:return t.es;case 96:return t.eu;case 95:return t.et;case 30:switch(t.e){case 0:return i.enumGetBox(i.NativeUISliderOrientation_$type,0);case 1:return i.enumGetBox(i.NativeUISliderOrientation_$type,1);case 2:return i.enumGetBox(i.NativeUISliderOrientation_$type,2)}}return null},n.prototype.removeHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.thumbValueChanging=i.delegateRemove(o.thumbValueChanging,i.runOn(this,this.z));var s=t;s.yValueChanging=i.delegateRemove(s.yValueChanging,i.runOn(this,this.ab)),this.v=null,this.x=null;break;case 4:var a=t;a.thumbValueChanged=i.delegateRemove(a.thumbValueChanged,i.runOn(this,this.y));var h=t;h.yValueChanged=i.delegateRemove(h.yValueChanged,i.runOn(this,this.aa)),this.u=null,this.w=null}},n.prototype.setValue=function(t,e,n){switch(e){case 12:t.bg=n;break;case 13:t.bf=n;break;case 97:t.bv=n;break;case 98:t.bu=n;break;case 14:t.bl=n;break;case 2:t.thumbs._inner[0].s=n;break;case 92:t.b0=n;break;case 93:t.ek=n;break;case 94:t.es=n;break;case 96:t.eu=n;break;case 95:t.et=n;break;case 30:switch(i.EnumUtil.getEnumValue(i.NativeUISliderOrientation_$type,n)){case 0:t.e=0;break;case 1:t.e=1;break;case 2:t.e=2}}},n.$t=i.markType(n,"MultiSliderBridge",Wt.$),n}(Wt),pe=function(t){return t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical",t}({}),de=i.markEnum("ButtonGroupOrientation","Horizontal,0|Vertical,1"),fe=i.markEnum("ButtonGroupDisplayStyle","Flat,0|Outlined,1"),be=function(t){function n(){var e=t.call(this,b.$,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,"XButtonGroupButtonCollection",i.ObservableCollection$1.$.specialize(b.$)),n}(i.ObservableCollection$1),ge=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ButtonGroupSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),ye=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=0,e.n=0,e.o=0,e.l=0,e.e=0,e.f=0,e.a=null,e.k=0,e.b=null,e.d=null,e.c=null,e.j=0,e.g=!1,e.h=!1,e.i=null,e}return e.__extends(n,t),n.prototype.p=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("left : "+this.m+", "),t.l("top : "+this.n+", "),t.l("height : "+this.l+", "),t.l("width : "+this.o+", "),t.l("baseTheme : "+i.enumGetBox(i.BaseControlTheme_$type,this.e)+", "),t.l("actualDensity : "+i.enumGetBox(i.ControlDisplayDensity_$type,this.f)+", "),t.l("selectedIndices : "+this.a+", "),t.l("actualItemBackgroundColor : "+this.b.serialize()+", "),t.l("actualItemTextColor : "+this.d.serialize()+", "),t.l("actualItemBorderColor : "+this.c.serialize()+", "),t.l("actualItemBorderWidth : "+this.j+", "),t.l("isDisabled : "+this.g+", "),t.l("isMultiSelect : "+this.h+", "),t.l("buttonModels: [");for(var e=0;e<this.i.count;e++)0!=e&&t.l(","),t.l(this.i._inner[e].serialize());return t.l("]"),t.l("}"),t.toString()},n.$t=i.markType(n,"ButtonGroupVisualModelExport"),n}(i.Base),me=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.g=null,e.b=null,e.f=new i.List$1(i.Delegate_$type,0),e.m=null,e.c=!0,e.h=null,e.i=null,e.j=null,e.k=null,e}return e.__extends(n,t),n.prototype.v=function(){},n.prototype.d=function(){return!0},n.prototype.p=function(t){},n.prototype.r=function(t){},n.prototype.q=function(){},Object.defineProperty(n.prototype,"l",{get:function(){return this.h},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var n,r,o=this;if(null==t){try{for(var s=e.__values(i.fromEnum(this.f)),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.f.clear()}this.g=t,t.rootWrapper.setStyleProperty("position","relative");var h=this.g.createElement("div");h.addClass("ig-button-content"),h.setStyleProperty("position","relative"),h.setStyleProperty("display","flex"),h.setStyleProperty("flex-direction","row"),h.setStyleProperty("flex-wrap","no-wrap"),h.setStyleProperty("align-items","center"),this.j=h,this.f.add(h.listen("click",i.runOn(this,this.n))),this.g.append(h),this.g.getPortal(h,"ChildContent",(function(t){var e=t.componentRef;o.k=e,0==o.a.k?(o.j.setStyleProperty("flex-direction","row"),e.display="flex",e.flexDirection="row"):(o.j.setStyleProperty("flex-direction","column"),e.display="flex",e.flexDirection="column")}),!0),this.a.db()},n.prototype.z=function(t){this.m!=t&&(this.m=t,null!=this.i&&this.i.setAttribute("d",this.m))},n.prototype.y=function(){var t=this.k;null!=t&&(0==this.a.k?(this.j.setStyleProperty("flex-direction","row"),t.display="flex",t.flexDirection="row"):(this.j.setStyleProperty("flex-direction","column"),t.display="flex",t.flexDirection="column"))},n.prototype.n=function(t){},n.prototype.w=function(){this.d()},n.prototype.s=function(){this.c=!0},n.prototype.u=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.prototype.aa=function(t){null!=t&&this.g.rootWrapper.setStyleProperty("font",t.fontString)},n.prototype.x=function(t){0==this.a.k?(t.f0="flex",t.g4="row",t.fb="center"):(t.f0="flex",t.g4="column",t.fb="stretch")},n.prototype.o=function(t){this.j.append(t)},n.$t=i.markType(n,"ButtonGroupView"),n}(i.Base),ve=function(t){function n(){var e=t.call(this)||this;e.h=1,e.n=0,e.r=1,e.q=1,e.a=new Array(0),e.u=!1,e._view=null,e.ax=c.m(n.o,n.av,n.ap),e.gz=c.ah(n.o,n.gn,n.fn),e.g1=c.ah(n.o,n.gp,n.fp),e.g0=c.ah(n.o,n.go,n.fo),e.g2=c.ah(n.o,n.gq,n.fq),e.aw=c.m(n.o,n.au,n.ao),e.g6=c.ah(n.o,n.gu,n.fu),e.g3=c.ah(n.o,n.gr,n.fr),e.g7=c.ah(n.o,n.gv,n.fv),e.ha=c.ah(n.o,n.gy,n.fy),e.g4=c.ah(n.o,n.gs,n.fs),e.g5=c.ah(n.o,n.gt,n.ft),e.g8=c.ah(n.o,n.gw,n.fw),e.g9=c.ah(n.o,n.gx,n.fx),e.ar=c.m(n.o,n.at,n.an),e.fz=c.ah(n.o,n.gb,n.fb),e.f1=c.ah(n.o,n.gd,n.fd),e.f0=c.ah(n.o,n.gc,n.fc),e.f2=c.ah(n.o,n.ge,n.fe),e.aq=c.m(n.o,n.as,n.am),e.f6=c.ah(n.o,n.gi,n.fi),e.f3=c.ah(n.o,n.gf,n.ff),e.f7=c.ah(n.o,n.gj,n.fj),e.ga=c.ah(n.o,n.gm,n.fm),e.f4=c.ah(n.o,n.gg,n.fg),e.f5=c.ah(n.o,n.gh,n.fh),e.f8=c.ah(n.o,n.gk,n.fk),e.f9=c.ah(n.o,n.gl,n.fl),e.ad=c.m(n.o,n.av,n.ap),e.dm=c.ah(n.o,n.gn,n.fn),e.dp=c.ah(n.o,n.gp,n.fp),e.du=c.ah(n.o,n.gu,n.fu),e.dr=c.ah(n.o,n.gr,n.fr),e.dn=c.ah(n.o,n.go,n.fo),e.dq=c.ah(n.o,n.gq,n.fq),e.ac=c.m(n.o,n.au,n.ao),e.dv=c.ah(n.o,n.gv,n.fv),e.dy=c.ah(n.o,n.gy,n.fy),e.ds=c.ah(n.o,n.gs,n.fs),e.dt=c.ah(n.o,n.gt,n.ft),e.dw=c.ah(n.o,n.gw,n.fw),e.dx=c.ah(n.o,n.gx,n.fx),e.ah=NaN,e.d7=null,e.d9=null,e.ee=null,e.eb=null,e.ec=null,e.d8=null,e.ea=null,e.ag=NaN,e.ed=null,e.ev=null,e.ey=null,e.ew=null,e.ex=null,e.aj=NaN,e.ef=null,e.eh=null,e.em=null,e.ej=null,e.ek=null,e.eg=null,e.ei=null,e.ai=NaN,e.el=null,e.er=null,e.eu=null,e.es=null,e.et=null,e.af=NaN,e.dz=null,e.d1=null,e.d6=null,e.d3=null,e.d4=null,e.d0=null,e.d2=null,e.ae=NaN,e.d5=null,e.en=null,e.eq=null,e.eo=null,e.ep=null,e.j=0,e.a6="ig-buttongroup-"+n.a4++,e.w=!1,e.v=!1,e.x=!1,e.propertyChanged=null,e.f=new be,e.selectionChanged=null;var r=new me;r.a=e,e.view=r,e.view.v();var o=e.f;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.c3));var s=e.f;return s.collectionResetting=i.delegateCombine(s.collectionResetting,i.runOn(e,e.c4)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.da("DisplayType",i.enumGetBox(fe,e),i.enumGetBox(fe,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.da("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),n.prototype.c4=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.buttons)),a=s.next();!a.done;a=s.next()){var h=a.value;h.clicked=i.delegateRemove(h.clicked,i.runOn(this,this.c6))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}this.df(),this.view.q()},n.prototype.appendContentChild=function(t){this.view.o(t)},n.prototype.c3=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;null!=l&&(l.clicked=i.delegateRemove(l.clicked,i.runOn(this,this.c6))),this.view.r(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 d=p.value;null!=d&&(d.clicked=i.delegateCombine(d.clicked,i.runOn(this,this.c6))),this.view.p(d)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}this.df()},n.prototype.c6=function(t,e){var i=t,n=this.buttons.indexOf(i);this.de(i,n)},Object.defineProperty(n.prototype,"t",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.da("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,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.da("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.da("SelectedIndices",e,t)},enumerable:!1,configurable:!0}),n.prototype.de=function(t,e){this.u=!0,this.aa(t)?this.d=this.b(this.d,t,e):(this.z||(this.d=new Array(0)),this.d=this.c(this.d,t,e)),this.df(),this.u=!1,null!=this.selectionChanged&&this.selectionChanged(this,new ge)},n.prototype.c=function(t,e,i){for(var n=new Array(Math.max(0,this.a.length+1)),r=0,o=0;o<this.a.length;o++)this.a[o]!=i&&(n[r]=this.a[o],r++);return n[r]=i,n},n.prototype.b=function(t,e,i){for(var n=new Array(Math.max(0,this.a.length-1)),r=0,o=0;o<this.a.length;o++)this.a[o]!=i&&(n[r]=this.a[o],r++);return n},Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.da=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.dc(t,e,n)},n.prototype.dc=function(t,e,i){switch(t){case"BaseTheme":this.dh(this.p),this.dg();break;case"DisplayType":case"ItemBorderColor":case"ItemDisabledBorderColor":case"ItemBackgroundColor":case"ItemDisabledBackgroundColor":case"SelectedItemBackgroundColor":case"ItemTextColor":case"ItemDisabledTextColor":case"SelectedItemTextColor":case"ItemHoverBackgroundColor":case"SelectedItemHoverBackgroundColor":case"ItemHoverTextColor":case"SelectedItemHoverTextColor":case"OutlinedItemBorderColor":case"OutlinedItemDisabledBorderColor":case"OutlinedItemBackgroundColor":case"OutlinedItemDisabledBackgroundColor":case"OutlinedSelectedItemBackgroundColor":case"OutlinedItemTextColor":case"OutlinedItemDisabledTextColor":case"OutlinedSelectedItemTextColor":case"OutlinedItemHoverBackgroundColor":case n.cv:case"OutlinedItemHoverTextColor":case"OutlinedSelectedItemHoverTextColor":case"FlatItemBorderColor":case"FlatItemDisabledBorderColor":case"FlatItemBackgroundColor":case"FlatItemDisabledBackgroundColor":case"FlatSelectedItemBackgroundColor":case"FlatItemTextColor":case"FlatItemDisabledTextColor":case"FlatSelectedItemTextColor":case"FlatItemHoverBackgroundColor":case"FlatSelectedItemHoverBackgroundColor":case"FlatItemHoverTextColor":case"FlatSelectedItemHoverTextColor":this.dg();break;case"ActualItemBorderColor":case"ActualItemDisabledBorderColor":case"ActualItemDisabledBackgroundColor":case"ActualItemBackgroundColor":case"ActualItemTextColor":case"ActualItemDisabledTextColor":case"ActualSelectedItemTextColor":case"ActualSelectedItemBackgroundColor":this.df();break;case"Orientation":this.view.y(),this.df();break;case"Density":this.s=0==this.t?1:this.t;break;case"ActualDensity":for(var r=0;r<this.buttons.count;r++)this.buttons._inner[r].r=this.s;break;case"IsDisabled":for(var o=0;o<this.buttons.count;o++)this.buttons._inner[o].disabled=this.disabled;break;case"SelectedIndices":this.u||this.df()}},n.prototype.dl=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.e)?e.e:t.e,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.b)?e.b:t.b)},n.prototype.dg=function(){switch(this.i){case 1:this.al=i.isNaN_(this.a1)?this.ax:this.a1,this.ez=null!=this.hn?this.hn:this.gz,this.e1=null!=this.hp?this.hp:this.g1,this.e6=null!=this.hu?this.hu:this.g6,this.e3=null!=this.hr?this.hr:this.g3,this.e0=null!=this.ho?this.ho:this.g0,this.e2=null!=this.hq?this.hq:this.g2,this.ak=i.isNaN_(this.a0)?this.aw:this.a0,this.e7=null!=this.h7?this.h7:this.g7,this.fa=null!=this.ia?this.ia:this.ha,this.e4=null!=this.hs?this.hs:this.g4,this.e5=null!=this.ht?this.ht:this.g5,this.e8=null!=this.h8?this.h8:this.g8,this.e9=null!=this.h9?this.h9:this.g9;break;case 0:this.al=i.isNaN_(this.a1)?this.ar:this.a1,this.ez=null!=this.hn?this.hn:this.fz,this.e1=null!=this.hp?this.hp:this.f1,this.e6=null!=this.hu?this.hu:this.f6,this.e3=null!=this.hr?this.hr:this.f3,this.e0=null!=this.ho?this.ho:this.f0,this.e2=null!=this.hq?this.hq:this.f2,this.ak=i.isNaN_(this.a0)?this.aq:this.a0,this.e7=null!=this.h7?this.h7:this.f7,this.fa=null!=this.ia?this.ia:this.ga,this.e4=null!=this.hs?this.hs:this.f4,this.e5=null!=this.ht?this.ht:this.f5,this.e8=null!=this.h8?this.h8:this.f8,this.e9=null!=this.h9?this.h9:this.f9}},n.prototype.df=function(){for(var t=0;t<this.buttons.count;t++){var e=this.buttons._inner[t];e.r=this.s,0==t?this.di(e):t==this.buttons.count-1?this.dj(e):this.dk(e),e.e=1,e.a2=!1,this.v&&(e.disabled=this.disabled),e.n2=this.e0,e.bk=this.ak,e.pq=this.e2,e.pp=this.e1,e.pr=this.e3,this.view.x(e),this.aa(e)?(e.n1=this.e7,e.rg=this.fa,e.qg=this.e8,e.qh=this.e9):(e.n1=this.ez,e.rg=this.e6,e.qg=this.e4,e.qh=this.e5)}},n.prototype.aa=function(t){for(var e=this.buttons.indexOf(t),i=0;i<this.d.length;i++)if(this.d[i]==e)return!0;return!1},n.prototype.dk=function(t){t.k1=new i.CornerRadius(1,0,0,0,0)},n.prototype.dj=function(t){1==this.k?t.k1=new i.CornerRadius(1,0,0,this.al,this.al):t.k1=new i.CornerRadius(1,0,this.al,this.al,0)},n.prototype.di=function(t){1==this.k?t.k1=new i.CornerRadius(1,this.al,this.al,0,0):t.k1=new i.CornerRadius(1,this.al,0,0,this.al)},n.prototype.dh=function(t){this.ax=c.m(t,n.av,n.ap),this.gz=c.ah(t,n.gn,n.fn),this.g1=c.ah(t,n.gp,n.fp),this.g0=c.ah(t,n.go,n.fo),this.g2=c.ah(t,n.gq,n.fq),this.aw=c.m(t,n.au,n.ao),this.g6=c.ah(t,n.gu,n.fu),this.g3=c.ah(t,n.gr,n.fr),this.g7=c.ah(t,n.gv,n.fv),this.ha=c.ah(t,n.gy,n.fy),this.g4=c.ah(t,n.gs,n.fs),this.g5=c.ah(t,n.gt,n.ft),this.g8=c.ah(t,n.gw,n.fw),this.g9=c.ah(t,n.gx,n.fx),this.ar=c.m(t,n.at,n.an),this.fz=c.ah(t,n.gb,n.fb),this.f1=c.ah(t,n.gd,n.fd),this.f0=c.ah(t,n.gc,n.fc),this.f2=c.ah(t,n.ge,n.fe),this.aq=c.m(t,n.as,n.am),this.f6=c.ah(t,n.gi,n.fi),this.f3=c.ah(t,n.gf,n.ff),this.f7=c.ah(t,n.gj,n.fj),this.ga=c.ah(t,n.gm,n.fm),this.f4=c.ah(t,n.gg,n.fg),this.f5=c.ah(t,n.gh,n.fh),this.f8=c.ah(t,n.gk,n.fk),this.f9=c.ah(t,n.gl,n.fl)},Object.defineProperty(n.prototype,"al",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.da("ActualItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ez",{get:function(){return this.dm},set:function(t){var e=this.dm;this.dm=t,e!=this.dm&&this.da("ActualItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.dp},set:function(t){var e=this.dp;this.dp=t,e!=this.dp&&this.da("ActualItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e6",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.da("ActualItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e3",{get:function(){return this.dr},set:function(t){var e=this.dr;this.dr=t,e!=this.dr&&this.da("ActualItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e0",{get:function(){return this.dn},set:function(t){var e=this.dn;this.dn=t,e!=this.dn&&this.da("ActualItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e2",{get:function(){return this.dq},set:function(t){var e=this.dq;this.dq=t,e!=this.dq&&this.da("ActualItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.da("ActualItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.da("ActualSelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fa",{get:function(){return this.dy},set:function(t){var e=this.dy;this.dy=t,e!=this.dy&&this.da("ActualSelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e4",{get:function(){return this.ds},set:function(t){var e=this.ds;this.ds=t,e!=this.ds&&this.da("ActualItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.dt},set:function(t){var e=this.dt;this.dt=t,e!=this.dt&&this.da("ActualItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e8",{get:function(){return this.dw},set:function(t){var e=this.dw;this.dw=t,e!=this.dw&&this.da("ActualSelectedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e9",{get:function(){return this.dx},set:function(t){var e=this.dx;this.dx=t,e!=this.dx&&this.da("ActualSelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.da("ItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.d7},set:function(t){var e=this.d7;this.d7=t,e!=this.d7&&this.da("ItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.d9},set:function(t){var e=this.d9;this.d9=t,e!=this.d9&&this.da("ItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.da("ItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.da("ItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.da("ItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.d8},set:function(t){var e=this.d8;this.d8=t,e!=this.d8&&this.da("ItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.ea},set:function(t){var e=this.ea;this.ea=t,e!=this.ea&&this.da("ItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a0",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.da("ItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.da("ItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.ev},set:function(t){var e=this.ev;this.ev=t,e!=this.ev&&this.da("SelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.ey},set:function(t){var e=this.ey;this.ey=t,e!=this.ey&&this.da("SelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.ew},set:function(t){var e=this.ew;this.ew=t,e!=this.ew&&this.da("SelectedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.ex},set:function(t){var e=this.ex;this.ex=t,e!=this.ex&&this.da("SelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.da("OutlinedItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.da("OutlinedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.da("OutlinedItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.em},set:function(t){var e=this.em;this.em=t,e!=this.em&&this.da("OutlinedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.da("OutlinedItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.da("OutlinedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.da("OutlinedItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.da("OutlinedItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.da("OutlinedItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.da("OutlinedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.da("OutlinedSelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.eu},set:function(t){var e=this.eu;this.eu=t,e!=this.eu&&this.da("OutlinedSelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.es},set:function(t){var e=this.es;this.es=t,e!=this.es&&this.da(n.cv,e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.et},set:function(t){var e=this.et;this.et=t,e!=this.et&&this.da("OutlinedSelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.da("FlatItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.dz},set:function(t){var e=this.dz;this.dz=t,e!=this.dz&&this.da("FlatItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.d1},set:function(t){var e=this.d1;this.d1=t,e!=this.d1&&this.da("FlatItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.da("FlatItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.d3},set:function(t){var e=this.d3;this.d3=t,e!=this.d3&&this.da("FlatItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.d4},set:function(t){var e=this.d4;this.d4=t,e!=this.d4&&this.da("FlatItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.d0},set:function(t){var e=this.d0;this.d0=t,e!=this.d0&&this.da("FlatItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.d2},set:function(t){var e=this.d2;this.d2=t,e!=this.d2&&this.da("FlatItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.da("FlatItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.da("FlatItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.da("FlatSelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.eq},set:function(t){var e=this.eq;this.eq=t,e!=this.eq&&this.da("FlatSelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.eo},set:function(t){var e=this.eo;this.eo=t,e!=this.eo&&this.da("FlatSelectedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.ep},set:function(t){var e=this.ep;this.ep=t,e!=this.ep&&this.da("FlatSelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.da("Orientation",i.enumGetBox(de,e),i.enumGetBox(de,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.da("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.v=!0,e!=this.w&&this.da("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.da("IsMultiSelect",e,t)},enumerable:!1,configurable:!0}),n.prototype.db=function(){},n.prototype.onDetachedFromUI=function(){this.view.u()},n.prototype.onAttachedToUI=function(){this.view.s()},n.prototype.ab=function(){return this.view.d()},n.prototype.a5=function(){return this.e()},n.prototype.bq=function(){return this.e().p()},n.prototype.e=function(){var t=new ye;t.e=this.p,t.f=this.s,t.a=this.d,t.k=this.al,t.b=i.AppearanceHelper.a(this.ez),t.d=i.AppearanceHelper.a(this.e6),t.c=i.AppearanceHelper.a(this.e0),t.j=this.ak,t.g=this.disabled,t.h=this.z,t.i=new i.List$1(d.$,0);for(var e=0;e<this.buttons.count;e++)t.i.add1(this.buttons._inner[e].eb());return t},n.prototype.provideContainer=function(t){this.view.t(t)},Object.defineProperty(n.prototype,"buttons",{get:function(){return this.f},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"XButtonGroup",i.Base.$,[i.INotifyPropertyChanged_$type]),n.o=2,n.av=4,n.gn=i.BrushUtil.j(255,255,255,255),n.gp=i.BrushUtil.j(10,0,0,0),n.go=i.BrushUtil.j(255,199,199,199),n.gq=i.BrushUtil.j(255,199,199,199),n.au=1,n.gu=i.BrushUtil.j(255,0,0,0),n.gr=i.BrushUtil.j(66,0,0,0),n.gv=i.BrushUtil.j(60,0,0,0),n.gy=i.BrushUtil.j(255,0,0,0),n.gs=i.BrushUtil.j(30,0,0,0),n.gt=i.BrushUtil.j(255,0,0,0),n.gw=i.BrushUtil.j(96,0,0,0),n.gx=i.BrushUtil.j(255,0,0,0),n.ap=3,n.fn=i.BrushUtil.j(0,255,255,255),n.fp=i.BrushUtil.j(10,0,0,0),n.fo=i.BrushUtil.j(255,33,150,243),n.fq=i.BrushUtil.j(255,199,199,199),n.ao=1,n.fu=i.BrushUtil.j(255,33,150,243),n.fr=i.BrushUtil.j(66,0,0,0),n.fv=i.BrushUtil.j(255,33,150,243),n.fy=i.BrushUtil.j(255,255,255,255),n.fs=i.BrushUtil.j(26,33,150,243),n.ft=i.BrushUtil.j(255,33,150,243),n.fw=i.BrushUtil.j(255,33,150,243),n.fx=i.BrushUtil.j(255,255,255,255),n.at=4,n.gb=i.BrushUtil.j(0,255,255,255),n.gd=i.BrushUtil.j(10,0,0,0),n.gc=i.BrushUtil.j(0,0,0,0),n.ge=i.BrushUtil.j(255,199,199,199),n.as=0,n.gi=i.BrushUtil.j(255,228,28,119),n.gf=i.BrushUtil.j(66,0,0,0),n.gj=i.BrushUtil.j(30,228,28,119),n.gm=i.BrushUtil.j(255,228,28,119),n.gg=i.BrushUtil.j(13,228,28,119),n.gh=i.BrushUtil.j(255,228,28,119),n.gk=i.BrushUtil.j(30,228,28,119),n.gl=i.BrushUtil.j(255,228,28,119),n.an=0,n.fb=i.BrushUtil.j(0,255,255,255),n.fd=i.BrushUtil.j(10,0,0,0),n.fc=i.BrushUtil.j(0,0,0,0),n.fe=i.BrushUtil.j(0,0,0,0),n.am=0,n.fi=i.BrushUtil.j(255,119,119,119),n.ff=i.BrushUtil.j(66,0,0,0),n.fj=i.BrushUtil.j(26,33,150,243),n.fm=i.BrushUtil.j(255,33,150,243),n.fg=i.BrushUtil.j(10,33,150,243),n.fh=i.BrushUtil.j(255,119,119,119),n.fk=i.BrushUtil.j(26,33,150,243),n.fl=i.BrushUtil.j(255,33,150,243),n.cv="OutlinedSelectedItemHoverBackgroundColor",n.a4=0,n}(i.Base),_e=function(t){function n(e){var n=t.call(this,e)||this;return n.u=null,n.w=null,n.v=new i.List$1(i.NativeUIButton.$,0),n}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 3:o.selectionChanged=i.delegateCombine(o.selectionChanged,i.runOn(this,this.x)),this.u=r,this.w=e}},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 3:o.selectionChanged=i.delegateRemove(o.selectionChanged,i.runOn(this,this.x)),this.u=null,this.w=null}},n.prototype.x=function(t,e){if(null!=this.u){var n=new i.NativeUIButtonGroupSelectionChangedEventArgs,r=t.d;n.a=r,this.u(this.w,n)}},n.prototype.getValue=function(t,e){var n=t;switch(e){case 1:var r=1;switch(n.t){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 18:return i.enumGetBox(i.BaseControlTheme_$type,n.p);case 87:return n.d;case 0:switch(n.i){case 0:return i.enumGetBox(i.NativeUIButtonGroupDisplayType_$type,0);case 1:return i.enumGetBox(i.NativeUIButtonGroupDisplayType_$type,1)}return i.enumGetBox(i.NativeUIButtonDisplayType_$type,0);case 32:return n.disabled;case 24:return n.hs;case 17:return n.a1}return null},n.prototype.setValue=function(t,e,n){var r=t;switch(e){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,n)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}r.t=o;break;case 18:r.p=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 87:r.d=n;break;case 0:switch(i.EnumUtil.getEnumValue(i.NativeUIButtonGroupDisplayType_$type,n)){case 0:r.i=0;break;case 1:r.i=1}break;case 32:r.disabled=n;break;case 24:r.hs=n;break;case 17:r.a1=n.e}},n.prototype.exportVisualData=function(t){var e=t.a5(),i=this.getBoundingRect(t);return e.m=i.left,e.n=i.top,e.o=i.width,e.l=i.height,e},n.prototype.addButton=function(t,e){this.v.add(e),t.buttons.add(e.d.getMethodTarget(null)),t.appendContentChild(e.an)},n.prototype.updateButton=function(t,e,i){this.v._inner[e]=i,t.buttons._inner[e]=i.d.getMethodTarget(null)},n.prototype.insertButton=function(t,e,i){this.v.insert(e,i),t.buttons.insert(e,i.d.getMethodTarget(null)),t.appendContentChild(i.an)},n.prototype.removeButton=function(t,e){this.v.removeAt(e),t.buttons.removeAt(e)},n.prototype.getButtonAt=function(t,e){return this.v._inner[e]},n.prototype.clearSelection=function(t){t.d=new Array(0)},n.$t=i.markType(n,"XButtonGroupBridge",Wt.$,[i.INativeUIButtonGroupBridge_$type]),n}(Wt),Ce=i.markEnum("CheckboxLabelPosition","After,0|Before,1"),ke=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._isChecked=!1,e._isIndeterminate=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this._isChecked},set:function(t){this._isChecked=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndeterminate",{get:function(){return this._isIndeterminate},set:function(t){this._isIndeterminate=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"CheckboxChangeEventArgs",i.EventArgs.$),n}(i.EventArgs),xe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.r=0,e.t=0,e.u=0,e.q=0,e.f=0,e.d=null,e.c=null,e.e=null,e.b=null,e.o=0,e.l=0,e.p=0,e.s=0,e.n=0,e.m=0,e.a=null,e.v=null,e.j=!1,e.g=!1,e.h=!1,e.k=!1,e.i=!1,e}return e.__extends(n,t),n.prototype.w=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left : "+this.r+", "),t.l("top : "+this.t+", "),t.l("height : "+this.q+", "),t.l("width : "+this.u+", "),t.l("baseTheme : "+this.f+", "),t.l("actualUncheckedBackgroundColor : "+this.d.serialize()+", "),t.l("actualTickColor : "+this.c+", "),t.l("actualUncheckedBorderColor : "+this.e.serialize()+", "),t.l("actualCheckedBorderColor : "+this.b.serialize()+", "),t.l("borderWidth : "+this.o+", "),t.l("actualBorderWidth : "+this.l+", "),t.l("tickStrokeWidth : "+this.s+", "),t.l("actualTickStrokeWidth : "+this.n+", "),t.l("actualCheckedBackgroundColor : "+this.a.serialize()+", "),null!=this.v&&t.l('value : "'+this.v.toString()+'", '),t.l("isFocused : "+this.j+", "),t.l("disableRipple : "+this.g+", "),t.l("isChecked : "+this.h+", "),t.l("isIndeterminate : "+this.k+", "),t.l("isDisabled : "+this.i+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"CheckboxVisualModelExport"),n}(i.Base),Be=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.m=null,e.g=null,e.k=new i.List$1(i.Delegate_$type,0),e.h=!0,e.s=null,e.n=null,e.r=null,e.o=null,e.p=null,e.e=null,e.q=null,e}return e.__extends(n,t),n.prototype.ag=function(){},n.prototype.j=function(){return!0},n.prototype.ae=function(t){var n,r;if(null!=t){this.m=t,this.m.rootWrapper.setStyleProperty("display","flex"),this.m.rootWrapper.setStyleProperty("flex-direction","row"),this.m.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.m.rootWrapper.setStyleProperty("align-items","center");var s=this.m.createElement("input");this.s=s,this.s.addClass("ig-native-checkbox"),this.s.setStyleProperty("position","absolute"),this.s.setStyleProperty("width","1px"),this.s.setStyleProperty("height","1px"),this.s.setStyleProperty("margin","-1px"),this.s.setStyleProperty("border","none"),this.s.setStyleProperty("clip","rect(0, 0, 0, 0)"),this.s.setStyleProperty("outline","0"),this.s.setStyleProperty("pointer-events","none"),this.s.setStyleProperty("overflow","hidden"),this.s.setStyleProperty("-webkit-appearance","none"),this.s.setStyleProperty("-moz-appearance","none"),this.s.setStyleProperty("appearance","none"),this.s.setAttribute("type","checkbox"),this.s.setAttribute("id",this.d.b1),this.ak(),this.k.add(s.listen("change",i.runOn(this,this.y))),this.k.add(s.listen("click",i.runOn(this,this.z))),this.k.add(s.listen("focus",i.runOn(this,this.aa))),this.k.add(s.listen("blur",i.runOn(this,this.x))),this.m.append(s);var a=this.m.createElement("div");a.addClass("ig-checkbox-box"),a.setStyleProperty("width","1.25em"),a.setStyleProperty("height","1.25em"),a.setStyleProperty("position","relative"),this.n=a,this.m.append(a);var h=this.m.createElement("label");h.setAttribute("for",this.d.b1),h.addClass("ig-checkbox-composite"),h.setStyleProperty("box-sizing","border-box"),h.setStyleProperty("position","relative"),h.setStyleProperty("display","inline-block"),h.setStyleProperty("cursor","pointer"),h.setStyleProperty("width","1.25em"),h.setStyleProperty("height","1.25em"),h.setStyleProperty("min-width","1.25em"),h.setStyleProperty("border-width","0.125rem"),h.setStyleProperty("border-style","solid"),h.setStyleProperty("border-color","rgba(0,0,0,0.54)"),h.setStyleProperty("border-top-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-right-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-bottom-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-left-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-radius","2px"),h.setStyleProperty("-webkit-tap-highlight-color","transparent"),h.setStyleProperty("overflow","hidden"),this.r=h,this.n.append(h);var u=this.m.createElementNS("svg","http://www.w3.org/2000/svg");u.setAttribute("viewBox","0 0 24 24"),u.addClass("ig-checkbox-mark"),u.setStyleProperty("position","absolute"),u.setStyleProperty("top","0"),u.setStyleProperty("left","0"),u.setStyleProperty("right","0"),u.setStyleProperty("bottom","0"),u.setStyleProperty("stroke","#fff"),u.setStyleProperty("stroke-linecap","square"),u.setStyleProperty("stroke-width","3"),u.setStyleProperty("stroke-dasharray","24"),u.setStyleProperty("stroke-dashoffset","24"),u.setStyleProperty("fill","none"),u.setStyleProperty("opacity","0"),u.setStyleProperty("z-index","1"),this.p=u,h.append(u);var l=this.m.createElementNS("path","http://www.w3.org/2000/svg");l.setAttribute("d",this.d.bf),u.append(l),this.o=l;var c=this.m.createElement("div"),p=this.m.getSubRenderer(c);c.setStyleProperty("position","absolute"),c.setStyleProperty("width","3em"),c.setStyleProperty("height","3em"),c.setStyleProperty("right","calc(50% - 1.5em)"),c.setStyleProperty("top","calc(50% - 1.5em)"),c.setStyleProperty("border-radius","24px"),c.setStyleProperty("overflow","hidden");var d=new o;d.provideContainer(p),d.q=a;this.m.getExternal(d,this.m.rootWrapper,this.m.getExternal(this.d,null,null));d.h=!0,d.k=!0,this.e=d,a.append(c);var f=this.m.createElement("span");f.addClass("ig-checkbox-label"),f.setStyleProperty("font-family","Verdana"),f.setStyleProperty("font-weight","400"),f.setStyleProperty("font-size","1rem"),f.setStyleProperty("letter-spacing",".00937rem"),f.setStyleProperty("text-transform","none"),f.setStyleProperty("line-height","1.5rem"),f.setStyleProperty("margin-left","8px"),f.setStyleProperty("margin-top","0"),f.setStyleProperty("margin-bottom","0"),f.setStyleProperty("cursor","pointer"),f.setStyleProperty("role","label"),this.q=f,this.k.add(f.listen("click",i.runOn(this,this.w))),this.m.append(f),this.m.getPortal(f,"ChildContent",(function(t){}),!0),this.d.cp()}else{try{for(var b=e.__values(i.fromEnum(this.k)),g=b.next();!g.done;g=b.next()){(0,g.value)()}}catch(t){n={error:t}}finally{try{g&&!g.done&&(r=b.return)&&r.call(b)}finally{if(n)throw n.error}}this.k.clear()}},n.prototype.w=function(t){this.d.toggle()},n.prototype.ak=function(){if(this.j()){this.d.b1;this.s.setAttribute("name",this.d.ca),this.s.setProperty("value",this.d.a4),this.d.aa&&this.s.setAttribute("tabindex",this.d.az.toString()),this.s.setProperty("disabled",this.d.disabled),this.s.setProperty("indeterminate",this.d.indeterminate),this.s.setProperty("checked",this.d.checked),this.s.setProperty("required",this.d.ay),this.d.indeterminate?this.s.setAttribute("aria-checked","mixed"):this.s.setAttribute("aria-checked",this.d.checked?"true":"false"),this.s.setAttribute("aria-labelledby",this.d.bn),this.s.setAttribute("aria-label",this.d.bm)}},n.prototype.am=function(){return new i.Size(1,this.r.width(),this.r.height())},n.prototype.a=function(){var t=this.r.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.aj=function(){this.o.setAttribute("d",this.d.bf)},n.prototype.ah=function(){if(this.j()){var t=this.d.b1;this.s.setAttribute("id",t),this.r.setAttribute("for",t)}},n.prototype.x=function(t){this.d.focused=!1},n.prototype.aa=function(t){this.d.focused=!0},n.prototype.z=function(t){(t.stopPropagation(),this.i())&&this.s.getNativeElement().blur();this.d.toggle()},n.prototype.i=function(){return!1},n.prototype.y=function(t){t.stopPropagation()},n.prototype.ab=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.m)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.r,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.ac=function(t){},Object.defineProperty(n.prototype,"u",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.p},enumerable:!1,configurable:!0}),n.prototype.ad=function(){this.h=!0,this.k.add(this.s.listen("change",i.runOn(this,this.y))),this.k.add(this.s.listen("click",i.runOn(this,this.z))),this.k.add(this.s.listen("focus",i.runOn(this,this.aa))),this.k.add(this.s.listen("blur",i.runOn(this,this.x))),this.k.add(this.q.listen("click",i.runOn(this,this.w)))},n.prototype.af=function(){var t,n;this.h=!1;try{for(var r=e.__values(i.fromEnum(this.k)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.k.clear()},n.prototype.ai=function(){var t=this.d;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.al=function(t,e){this.e.ax=t,this.e.aw=e},n.prototype.l=function(){var t=this.r.getStyleProperty("border-top-width");return t=i.stringReplace(t,"px",""),parseFloat(t)},n.$t=i.markType(n,"CheckboxView"),n}(i.Base),je=function(t){function n(){var e=t.call(this)||this;e._view=null,e.l=0,e.s=!1,e.ag=!1,e.c6=null,e.c1=c.ah(n.m,i.BrushUtil.j(0,0,0,0),i.BrushUtil.j(0,0,0,0)),e.c3=null,e.c5=null,e.c0=c.ag(n.m,n.k,"TickColor"),e.c7=null,e.c4=null,e.bv=n.k.v(n.m,"CheckPath"),e.dj=n.k.ae(n.m,"UncheckedBorderColor"),e.dg=n.k.ae(n.m,"CheckedBorderColor"),e.as=n.k.j(n.m,"BorderWidth"),e.df=n.k.ae(n.m,"CheckedBackgroundColor"),e.at=n.k.j(n.m,"CornerRadius"),e.dh=n.k.ae(n.m,"TickColor"),e.au=n.k.j(n.m,"TickStrokeWidth"),e.di=n.k.ae(n.m,"UncheckedBackgroundColor"),e.a5=c.x(n.m,n.k,"CheckPath"),e.c2=c.ag(n.m,n.k,"UncheckedBorderColor"),e.cz=c.ag(n.m,n.k,"CheckedBorderColor"),e.ak=NaN,e.ah=c.l(n.m,n.k,"BorderWidth"),e.al=NaN,e.am=NaN,e.aj=c.l(n.m,n.k,"TickStrokeWidth"),e.ai=c.l(n.m,n.k,"CornerRadius"),e.cy=c.ag(n.m,n.k,"CheckedBackgroundColor"),e.a9="ig-native-checkbox-"+n.a1++,e.a8="ig-checkbox-"+n.a0++,e.ba=null,e.bb=null,e.ax=0,e.t=!1,e.aw=0,e.a7=null,e.a6=null,e.a2=null,e.w=!1,e.change=null,e.d=0,e.q=!1,e.u=!1,e.x=!1,e.v=!1,e.r=!1,e.o=null,e.p=null,e.propertyChanged=null,e.ba=e.a8+"-label",e.a7=e.ba;var r=new Be;return r.d=e,e.view=r,e.view.ag(),e}var r;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,"n",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.co("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.co=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cq(t,e,n)},n.prototype.cu=function(){this.da=null!=this.dk?this.dk:this.dh,this.dc=null!=this.dm?this.dm:this.dj,this.c9=null!=this.de?this.de:this.dg,this.an=i.isNaN_(this.aq)?this.as:this.aq,this.c8=null!=this.dd?this.dd:this.df,this.db=null!=this.dl?this.dl:this.di,this.ao=i.isNaN_(this.ar)?this.at:this.ar,this.ap=i.isNaN_(this.av)?this.au:this.av,this.bf=this.bv},n.prototype.cq=function(t,e,n){switch(t){case"BaseTheme":this.cx(this.n),this.cu();break;case"TickColor":this.da=null!=this.dk?this.dk:this.dh;break;case"UncheckedBorderColor":this.dc=null!=this.dm?this.dm:this.dj;break;case"CheckedBorderColor":this.c9=null!=this.de?this.de:this.dg;break;case"BorderWidth":this.an=i.isNaN_(this.aq)?this.as:this.aq;break;case"CheckedBackgroundColor":this.c8=null!=this.dd?this.dd:this.df;break;case"UncheckedBackgroundColor":this.db=null!=this.dl?this.dl:this.di;break;case"CornerRadius":this.ao=i.isNaN_(this.ar)?this.at:this.ar;break;case"TickStrokeWidth":this.ap=i.isNaN_(this.av)?this.au:this.av;break;case"ActualTickStrokeWidth":case"ActualTickColor":this.cw();break;case"ActualCheckedBackgroundColor":case"ActualUncheckedBackgroundColor":case"ActualUncheckedBorderColor":case"ActualCheckedBorderColor":case"ActualBorderWidth":null!=this.o&&this.o.cancel(),null!=this.p&&this.p.cancel(),this.o=null,this.p=null,this.ct();var r=this.z;this.z=!0,this.cv(this.indeterminate),this.z=r;break;case"ActualCornerRadius":this.ct();break;case"ActualCheckPath":this.view.aj();break;case"IsChecked":if(!this.s){var o=this.indeterminate;this.s=!0,this.indeterminate=!1,this.s=!1;var s=this.z;this.z=!0,this.cv(o),this.z=s}break;case"IsIndeterminate":this.s||this.cv(e);break;case"DisableRipple":this.view.f.i=this.y;break;case"InputId":this.view.ah()}},n.prototype.ct=function(){var t=this.view.u,e=this.view.t;null!=t&&null!=e&&(i.NativeUI.o(t,new i.CornerRadius(0,this.ao)),i.NativeUI.o(e,new i.CornerRadius(0,this.ao)),i.isNaN_(this.an)||i.NativeUI.p(e,new i.Thickness(0,this.an)),this.checked?(i.NativeUI.m(t,this.c8),i.NativeUI.n(e,this.c9)):(i.NativeUI.m(t,this.db),i.NativeUI.n(e,this.dc)))},n.prototype.cw=function(){var t=this.view.v;null!=t&&(i.NativeUI.aa(t,this.da),i.NativeUI.ad(t,this.ap))},Object.defineProperty(n.prototype,"dl",{get:function(){return this.c6},set:function(t){var e=this.c6;this.c6=t,e!=this.c6&&this.co("UncheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"db",{get:function(){return this.c1},set:function(t){var e=this.c1;this.c1=t,e!=this.c1&&this.co("ActualUncheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dd",{get:function(){return this.c3},set:function(t){var e=this.c3;this.c3=t,e!=this.c3&&this.co("CheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dk",{get:function(){return this.c5},set:function(t){var e=this.c5;this.c5=t,e!=this.c5&&this.co("TickColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.c0},set:function(t){var e=this.c0;this.c0=t,e!=this.c0&&this.co("ActualTickColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.c7},set:function(t){var e=this.c7;this.c7=t,e!=this.c7&&this.co("UncheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"de",{get:function(){return this.c4},set:function(t){var e=this.c4;this.c4=t,e!=this.c4&&this.co("CheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.cx=function(t){this.bv=n.k.v(t,"CheckPath"),this.dj=n.k.ae(t,"UncheckedBorderColor"),this.dg=n.k.ae(t,"CheckedBorderColor"),this.as=n.k.j(t,"BorderWidth"),this.df=n.k.ae(t,"CheckedBackgroundColor"),this.at=n.k.j(t,"CornerRadius"),this.dh=n.k.ae(t,"TickColor"),this.au=n.k.j(t,"TickStrokeWidth"),this.di=n.k.ae(t,"UncheckedBackgroundColor")},Object.defineProperty(n.prototype,"bf",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.co("ActualCheckPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dc",{get:function(){return this.c2},set:function(t){var e=this.c2;this.c2=t,e!=this.c2&&this.co("ActualUncheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.cz},set:function(t){var e=this.cz;this.cz=t,e!=this.cz&&this.co("ActualCheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.co("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.co("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.co("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.co("TickStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.co("ActualTickStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.co("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c8",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.co("ActualCheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.co("InputId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.co("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelId",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.co("LabelId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.co("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,this.t=!0,e!=this.ax&&this.co("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.co("Required",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.co("AriaLabelledBy",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.co("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.co("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.co("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.co("LabelPosition",i.enumGetBox(Ce,e),i.enumGetBox(Ce,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.co("DisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checked",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.co("IsChecked",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indeterminate",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.co("IsIndeterminate",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.co("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.co("DisableTransitions",e,t)},enumerable:!1,configurable:!0}),n.prototype.cp=function(){this.ck(),this.checked?this.view.al(i.BrushUtil.s(this.c8,.6),i.BrushUtil.s(this.c8,.1)):this.view.al(i.BrushUtil.s(this.c8,.6),i.BrushUtil.s(this.dc,.1))},Object.defineProperty(n.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.ck=function(){this.view.ab();var t=!1;null==this.o&&(t||(t=!0,this.view.ai()),this.o=i.KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new i.AnimationKeyFrameProperty(2,this.db),new i.AnimationKeyFrameProperty(3,this.dc)).m(new i.AnimationKeyFrameProperty(2,this.c8),new i.AnimationKeyFrameProperty(3,this.c9))),this.p=i.KeyFrameAnimationFactory.f.c(this.view.c(this.a).m(new i.AnimationKeyFrameProperty(19,24),new i.AnimationKeyFrameProperty(1,0)).m(new i.AnimationKeyFrameProperty(19,0),new i.AnimationKeyFrameProperty(1,1))))},n.prototype.toggle=function(){if(!this.disabled){this.ck(),this.focused=!1,this.s=!0;var t=!1;if(this.indeterminate&&(t=!0,this.checked=!0),this.indeterminate=!1,this.checked=!this.checked,this.s=!1,this.cv(t),null!=this.change){var e=new ke;e.isChecked=this.checked,e.isIndeterminate=this.indeterminate,this.change(this,e)}}},n.prototype.cv=function(t){var e=this;this.ck();var n=this.checked;this.indeterminate&&(n=!0);var r,o=1;if(n||(o=-1),n?this.view.al(i.BrushUtil.s(this.c8,.6),i.BrushUtil.s(this.c8,.1)):this.view.al(i.BrushUtil.s(this.c8,.6),i.BrushUtil.s(this.dc,.1)),this.indeterminate||i.NativeUI.af(this.view.v,null),this.z||this.indeterminate||t){var s=this.view.u,a=this.view.t,h=this.view.v;if(this.indeterminate){var u=new i.TransformGroup;this.view.am();u.j.add(((r=new i.RotateTransform).j=45,r)),u.j.add(function(){var t=new i.TranslateTransform;return t.j=-e.view.l(),t}()),i.NativeUI.m(s,this.c8),i.NativeUI.n(a,this.c9),i.NativeUI.y(h,1),i.NativeUI.ac(h,41),i.NativeUI.af(h,u)}else n?(i.NativeUI.m(s,this.c8),i.NativeUI.n(a,this.c9),i.NativeUI.y(h,1),i.NativeUI.ac(h,0)):(i.NativeUI.m(s,this.db),i.NativeUI.n(a,this.dc),i.NativeUI.y(h,0),i.NativeUI.ac(h,24));return 1==this.o.playState&&this.o.cancel(),void(1==this.p.playState&&this.p.cancel())}o>0&&this.o.playbackRate<0||o<0&&this.o.playbackRate>0?(this.o.reverse(),this.o.finished.f((function(t){null!=e.o&&e.o.commitStyles()})),this.p.reverse(),this.p.finished.f((function(t){null!=e.p&&e.p.commitStyles()}))):(this.o.play(),this.o.finished.f((function(t){null!=e.o&&e.o.commitStyles()})),this.p.play(),this.p.finished.f((function(t){null!=e.p&&e.p.commitStyles()})))},n.prototype.onDetachedFromUI=function(){this.view.af()},n.prototype.onAttachedToUI=function(){this.view.ad()},n.prototype.onContentReady=function(){this.indeterminate&&this.cv(!1)},n.prototype.af=function(){return this.view.j()},n.prototype.a3=function(){return this.b()},n.prototype.by=function(){return this.b().w()},n.prototype.b=function(){var t=new xe,e=this.view.am(),n=this.view.a();return t.u=e.width,t.q=e.height,t.t=n[0],t.r=n[1],t.f=this.n,t.d=i.AppearanceHelper.a(this.db),t.c=i.AppearanceHelper.a(this.da),t.e=i.AppearanceHelper.a(this.dc),t.b=i.AppearanceHelper.a(this.c9),t.o=this.aq,t.l=this.an,t.p=this.ar,t.s=this.av,t.n=this.ap,t.m=this.ao,t.a=i.AppearanceHelper.a(this.c8),t.v=this.a4,t.j=this.focused,t.g=this.y,t.h=this.checked,t.k=this.indeterminate,t.i=this.disabled,t},n.prototype.provideContainer=function(t){this.view.ae(t)},n.$t=i.markType(n,"XCheckbox",i.Base.$,[i.INotifyPropertyChanged_$type]),n.g=c.a(((r=new i.Dictionary$2(i.String_$type,i.Base.$,0)).addItem("CheckPath","M4.1,12.7 9,17.6 20.3,6.3"),r.addItem("UncheckedBorderColor",i.BrushUtil.j(255,153,153,153)),r.addItem("CheckedBorderColor",i.BrushUtil.j(138,33,150,243)),r.addItem("UncheckedBackgroundColor",i.BrushUtil.j(255,255,255,255)),r.addItem("CheckedBackgroundColor",i.BrushUtil.j(255,33,150,243)),r.addItem("TickColor",i.BrushUtil.j(255,255,255,255)),r.addItem("TickStrokeWidth",3),r.addItem("BorderWidth",NaN),r.addItem("CornerRadius",2),r)),n.h=c.a(function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("CheckPath","M4.1,12.7 9,17.6 20.3,6.3"),t.addItem("UncheckedBorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("CheckedBorderColor",i.BrushUtil.j(138,0,0,0)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.j(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.j(255,228,28,119)),t.addItem("TickColor",i.BrushUtil.j(255,255,255,255)),t.addItem("TickStrokeWidth",3),t.addItem("BorderWidth",NaN),t.addItem("CornerRadius",2),t}()),n.j=c.a(function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("CheckPath","M5.1,12.7 9,17.6 19,9"),t.addItem("UncheckedBorderColor",i.BrushUtil.j(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.j(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.j(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.j(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.j(255,255,255,255)),t.addItem("TickStrokeWidth",3),t.addItem("BorderWidth",1),t.addItem("CornerRadius",2),t}()),n.i=c.a(function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("CheckPath","M5.1,12.7 9,17.6 19,9"),t.addItem("UncheckedBorderColor",i.BrushUtil.j(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.j(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.j(255,55,63,86)),t.addItem("CheckedBackgroundColor",i.BrushUtil.j(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.j(255,255,255,255)),t.addItem("TickStrokeWidth",3),t.addItem("BorderWidth",1),t.addItem("CornerRadius",2),t}()),n.k=new c(1,function(){var t=new i.Dictionary$2(i.BaseControlTheme_$type,l.$,0);return t.addItem(2,n.h),t.addItem(1,n.g),t.addItem(3,n.j),t.addItem(4,n.i),t.addItem(5,n.j),t.addItem(6,n.i),t}(),2),n.m=2,n.a1=0,n.a0=0,n}(i.Base),Pe=function(t){function n(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 2:o.change=i.delegateCombine(o.change,i.runOn(this,this.w)),this.u=r,this.v=e}},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 2:o.change=i.delegateRemove(o.change,i.runOn(this,this.w)),this.u=null,this.v=null}},n.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUICheckboxChangeEventArgs;this.u(this.v,n)}},n.prototype.getValue=function(t,e){var n=t;switch(e){case 4:return n.y;case 7:return n.checked;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.n);case 17:return n.ar;case 66:return n.dl;case 68:return n.dm;case 67:return n.dd;case 69:return n.de}return null},n.prototype.setValue=function(t,e,n){var r=t;switch(e){case 4:return void(r.y=n);case 7:return void(r.checked=n);case 18:r.n=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 17:r.ar=n;break;case 66:r.dl=n;break;case 68:r.dm=n;break;case 67:r.dd=n;break;case 69:r.de=n}},n.prototype.exportVisualData=function(t){return t.a3()},n.$t=i.markType(n,"XCheckboxBridge",Wt.$),n}(Wt),Te=function(t){function n(e){var i=t.call(this,e)||this;return i.u="default",i.v=null,i}return e.__extends(n,t),n.prototype.getValue=function(e,n){var r=e;switch(n){case 16:return this.v;case 15:return this.u;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.m);case 44:return r.a6;case 45:return r.a7;case 46:return r.a8;case 47:return r.a5;case 48:return r.a9;case 49:return r.a1;case 63:return r.e;case 64:return r.f;case 65:return r.a4}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,i,n){t.prototype.setValue.call(this,e,i,n);var r=e;switch(i){case 15:this.u=n,this.w(r);break;case 16:this.v=n,this.w(r);break;case 44:r.a6=n;break;case 45:r.a7=n;break;case 46:r.a8=n;break;case 47:r.a5=n;break;case 48:r.a9=n;break;case 49:r.a1=n;break;case 63:r.e=n;break;case 64:r.f=n;break;case 65:r.a4=n}},n.prototype.getTargetForProperty=function(e,i){switch(e){case 24:return i}return t.prototype.getTargetForProperty.call(this,e,i)},n.prototype.w=function(t){t.svg=null,t.svgPath=null,t.b=null,t.b0=null,t.bh=null;var e=i.SvgIconRegistry.instance.getSvgPathString(this.u,this.v);if(null==e){var n=i.SvgIconRegistry.instance.getSvgPathsString(this.u,this.v);if(null==n){var r=i.SvgIconRegistry.instance.getDataURLString(this.u,this.v);if(null==r){var o=i.SvgIconRegistry.instance.getIconSource(this.u,this.v);null!=o&&(t.bh=o)}else t.b0=r}else t.b=n}else i.stringStartsWith(i.trimStart(e," ","\n","\r","\t"),"<svg")?t.svg=e:t.svgPath=e},n.prototype.exportVisualData=function(t){return t.bg()},n.$t=i.markType(n,"XIconBridge",Wt.$),n}(Wt),we=function(t){function n(e){var n=t.call(this,e)||this;return n.ak=null,n.af=null,n.ai=null,n.aj=null,n.ag=null,n.ah=null,n.ad=null,n.ab=null,n.z=null,n.aa=null,n.x=null,n.y=null,n.ac=null,n.w=null,n.ae=null,n.ae=new i.List$1(i.NativeUIComponent.$,0),n}return e.__extends(n,t),n.prototype.contains=function(t,e){return this.t.contains(e)},n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 5:o.onPopup=i.delegateCombine(o.onPopup,i.runOn(this,this.aq)),this.ad=r,this.ak=e;break;case 6:o.onClosed=i.delegateCombine(o.onClosed,i.runOn(this,this.al)),this.ab=r,this.af=e;break;case 7:o.popupMouseEnter=i.delegateCombine(o.popupMouseEnter,i.runOn(this,this.ao)),this.z=r,this.ai=e;break;case 8:o.popupMouseLeave=i.delegateCombine(o.popupMouseLeave,i.runOn(this,this.ap)),this.aa=r,this.aj=e;break;case 13:o.popupGotFocus=i.delegateCombine(o.popupGotFocus,i.runOn(this,this.am)),this.x=r,this.ag=e;break;case 14:o.popupLostFocus=i.delegateCombine(o.popupLostFocus,i.runOn(this,this.an)),this.y=r,this.ah=e;break;case 29:o.measuringContentSize=i.delegateCombine(o.measuringContentSize,i.runOn(this,this.ar)),this.ac=r,this.w=e}},n.prototype.ar=function(t,e){null!=this.ac&&this.ac(this.w,new i.NativeUIPopupMeasuringContentEventArgs)},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 5:o.onPopup=i.delegateRemove(o.onPopup,i.runOn(this,this.aq)),this.ad=null,this.ak=null;break;case 6:o.onClosed=i.delegateRemove(o.onClosed,i.runOn(this,this.al)),this.ab=null,this.af=null;break;case 7:o.popupMouseEnter=i.delegateRemove(o.popupMouseEnter,i.runOn(this,this.ao)),this.z=null,this.ai=null;break;case 8:o.popupMouseLeave=i.delegateRemove(o.popupMouseLeave,i.runOn(this,this.ap)),this.aa=null,this.aj=null;break;case 13:o.popupGotFocus=i.delegateRemove(o.popupGotFocus,i.runOn(this,this.am)),this.x=null,this.ag=null;break;case 14:o.popupLostFocus=i.delegateRemove(o.popupLostFocus,i.runOn(this,this.an)),this.y=null,this.ah=null;break;case 29:o.measuringContentSize=i.delegateRemove(o.measuringContentSize,i.runOn(this,this.ar)),this.ac=null,this.w=null}},n.prototype.aq=function(t,e){null!=this.ad&&this.ad(this.ak,new i.NativeUIPopupOpenedEventArgs)},n.prototype.al=function(t,e){null!=this.ab&&this.ab(this.af,new i.NativeUIPopupClosedEventArgs)},n.prototype.ao=function(t,e){null!=this.z&&this.z(this.ai,new i.NativeUIMouseEventArgs)},n.prototype.ap=function(t,e){null!=this.aa&&this.aa(this.aj,new i.NativeUIMouseEventArgs)},n.prototype.am=function(t,e){null!=this.x&&this.x(this.ag,new i.NativeUIFocusEventArgs)},n.prototype.an=function(t,e){var n;null!=this.y&&this.y(this.ah,((n=new i.NativeUIFocusEventArgs).b=e.b,n.a=e.a,n))},n.prototype.getValue=function(e,n){var r=e;switch(n){case 22:return r.ax;case 60:return r.av;case 61:return r.aq;case 25:return r.am;case 26:return r.a9;case 17:return r.a1;case 23:return r.c0;case 35:switch(r.p){case 1:return i.enumGetBox(i.NativeUIPopupAnimationType_$type,1);default:return i.enumGetBox(i.NativeUIPopupAnimationType_$type,0)}case 36:return r.at;case 37:return r.as;case 40:return r.bb;case 41:return r.au;case 43:switch(r.v){case 1:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,1);default:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,2)}case 42:return r.c4;case 39:return r.ao;case 62:return r.a4;case 110:return r.ay}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,n,r){var o=e;switch(n){case 25:o.am=r;break;case 26:o.a9=i.typeGetValue(r);break;case 17:o.a1=r;break;case 23:o.c0=r;break;case 35:switch(i.EnumUtil.getEnumValue(i.NativeUIPopupAnimationType_$type,r)){case 1:o.p=1;break;default:o.p=0}break;case 36:o.at=r;break;case 37:o.as=r;break;case 40:o.bb=i.typeGetValue(r);break;case 41:o.au=r;break;case 42:o.c4=r;break;case 43:switch(i.EnumUtil.getEnumValue(i.NativeUIPopupPointerPosition_$type,r)){case 1:o.v=1;break;case 2:o.v=2}break;case 39:o.ao=r;break;case 62:o.a4=r;break;case 110:o.ay=r}t.prototype.setValue.call(this,e,n,r)},n.prototype.showRelativeToExclusionRect=function(t,e,i,n){t.showRelativeToExclusionRect(e,this.v(i),this.u(n))},n.prototype.showRelativeToTarget=function(t,e,i,n){var r=e.an.getNativeElement();t.cr(r,this.v(i),this.u(n))},n.prototype.close=function(t){t.b6()},n.prototype.notifyContentSizeChanged=function(t){t.b9()},n.prototype.notifyExclusionRectChanged=function(t,e){t.ca(e)},n.prototype.v=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}},n.prototype.u=function(t){switch(t){case 0:return 0;case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},n.prototype.exportVisualData=function(t){return t.bg()},n.prototype.addChild=function(t,e){this.ae.add(e),t.appendPopupContent(e.an)},n.prototype.insertChild=function(t,e,i){this.ae.add(i),t.appendPopupContent(i.an)},n.prototype.getChildAt=function(t,e){return this.ae._inner[e]},n.prototype.getChildrenCount=function(t){return this.ae.count},n.prototype.removeChild=function(t,e){t.removePopupContent(e.an),this.ae.remove(e)},n.prototype.removeChildAt=function(t,e){t.removePopupContent(this.ae._inner[e].an),this.ae.removeAt(e)},n.$t=i.markType(n,"XPopupBridge",Wt.$,[i.INativeUIPopupBridge_$type]),n}(Wt),Se=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._oldValue=null,e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this._oldValue},set:function(t){this._oldValue=t},enumerable:!1,configurable:!0}),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,"ColorEditorPanelSelectedValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Oe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.f=0,e.g=0,e.d=0,e.b=0,e.a=null,e.c=!1,e}return e.__extends(n,t),n.prototype.h=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left : "+this.e+", "),t.l("top : "+this.f+", "),t.l("height : "+this.d+", "),t.l("width : "+this.g+", "),t.l("baseTheme : "+this.b+", "),t.l("value : "+this.a.serialize()+", "),t.l("isDisabled : "+this.c+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"ColorEditorVisualModelExport"),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,"ColorEditorPanelClosedEventArgs"),n}(i.Base),Ne=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ColorEditorGotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Ue=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ColorEditorLostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Fe=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.m=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 1:this.d(t,i);break;case 6:this.f(t,i);break;case 10:this.i(t,i);break;case 2:this.j(t,i);break;case 11:this.h(t,i);break;case 12:this.k(t,i);break;case 17:this.e(t,i);break;case 20:this.g(t,i);break;case 5:this.l(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 1:case 6:case 10:case 2:case 11:case 12:case 17:case 20:case 5:return!0}return!1},n.prototype.j=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new dt;s.provideContainer(o);o.getExternal(s,o.rootWrapper,null);var a=n.createElement("div");a.setRawStyleProperty("width","100%");var h=n.getSubRenderer(a),u=new gt;u.provideContainer(h);o.getExternal(u,h.rootWrapper,null);s.appendContentChild(a),s.inputs.add(u);var l=new Gt(s),c=new i.NativeUIInput;c.an=r,c.d=l,e(c)},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new b;s.provideContainer(o),s.fj="none";o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new zt(s),h=new i.NativeUIButton;h.an=r,h.d=a,e(h)},n.prototype.l=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new le,a=new Qt;s.provideContainer(o),s.thumbs.add(a);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var h=new ce(s),u=new i.NativeUISlider;u.an=r,u.d=h,e(u)},n.prototype.e=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new ve;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new _e(s),h=new i.NativeUIButtonGroup;h.an=r,h.d=a,e(h)},n.prototype.g=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new Ee;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Ae(s),h=new i.NativeUIColorEditor;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new je;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Pe(s),h=new i.NativeUICheckbox;h.an=r,h.d=a,e(h)},n.prototype.i=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new k;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Te(s),h=new i.NativeUIIcon;h.an=r,h.d=a;var u=n.createElement("div"),l=n.getSubRenderer(u),c=new b;c.provideContainer(l),c.e=4,c.fj="none";l.getExternal(c,l.rootWrapper,l.getExternal(c,null,null));var p=new zt(c),d=new i.NativeUIButton;d.an=u,d.d=p,d.bo=h,e(d)},n.prototype.h=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new k;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Te(s),h=new i.NativeUIIcon;h.an=r,h.d=a,e(h)},n.prototype.k=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new i.Popup;s.provideRenderer(o);var a=new we(s),h=new i.NativeUIPopup;h.an=r,h.d=a,e(h)},n.$t=i.markType(n,"NativeUIXInputsFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),Ae=function(t){function n(e){var i=t.call(this,e)||this;return i.u=null,i.w=null,i.v=null,i.x=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.valueChanging=i.delegateCombine(o.valueChanging,i.runOn(this,this.z)),this.v=r,this.x=e;break;case 4:var s=t;s.valueChanged=i.delegateCombine(s.valueChanged,i.runOn(this,this.y)),this.u=r,this.w=e}},n.prototype.y=function(t,e){if(null!=this.u){var n=new i.NativeUIColorEditorValueChangedEventArgs;this.u(this.w,n)}},n.prototype.z=function(t,e){if(null!=this.v){var n=new i.NativeUIColorEditorValueChangedEventArgs;this.v(this.x,n)}},n.prototype.getValue=function(t,e){switch(e){case 2:return t.value}return null},n.prototype.removeHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.valueChanging=i.delegateRemove(o.valueChanging,i.runOn(this,this.z)),this.v=null,this.x=null;break;case 4:var s=t;s.valueChanged=i.delegateRemove(s.valueChanged,i.runOn(this,this.y)),this.u=null,this.w=null}},n.prototype.setValue=function(t,e,i){switch(e){case 2:t.value=i}},n.prototype.exportVisualData=function(t){var e=t.as(),i=this.getBoundingRect(t);return e.e=i.left,e.f=i.top,e.g=i.width,e.d=i.height,e},n.$t=i.markType(n,"ColorEditorBridge",Wt.$),n}(Wt),Re=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.aa=null,e.c=null,e.g=new i.List$1(i.Delegate_$type,0),e.d=!0,e.af=null,e.o=NaN,e.n=NaN,e.ab=null,e.b=null,e.ac=null,e.a1=null,e.ag=null,e.ae=null,e.m=-1,e.l=-1,e.au=-1,e.at=-1,e.a3=null,e.k=-1,e.j=-1,e.h=-1,e.i=-1,e.a2=null,e.t=-1,e.p=-1,e.aw=-1,e.av=-1,e.z=-1,e.v=-1,e.a0=-1,e.az=-1,e.u=-1,e.a6=null,e.ai=null,e.w=-1,e.s=-1,e.r=-1,e.ay=-1,e.ax=-1,e.a5=null,e.y=-1,e.x=-1,e.ad=null,e.ak=null,e.ao=null,e.as=-1,e.ar=-1,e.aj=null,e.an=null,e.ah=null,e.al=null,e.ap=null,e.am=null,e.aq=null,e.a4=null,e.q=-1,e.e=!1,e}return e.__extends(n,t),n.prototype.bj=function(){},n.prototype.f=function(){return!0},n.prototype.bh=function(t){var n,r;if(null!=t)this.aa=t,i.isNaN_(this.a.ae)&&(this.a.ab=window.devicePixelRatio),this.a.a4();else{try{for(var o=e.__values(i.fromEnum(this.g)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.g.clear()}},n.prototype.bd=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.aa)},n.prototype.bg=function(){this.d=!0},n.prototype.bi=function(){this.d=!1},n.prototype.a7=function(){return this.aa},n.prototype.bf=function(t){},n.prototype.a8=function(t){this.aa.append(this.aa.getWrapper(t.an))},n.prototype.be=function(t,e,n,r,o,s,a){var h=i.truncate(Math.round(s*this.a.ab)),u=i.truncate(Math.round(a*this.a.ab));return s==e&&a==n&&h==r&&u==o||(t.setProperty("width",h),t.setProperty("height",u),t.setStyleProperty("width",s+"px"),t.setStyleProperty("height",a+"px"),e=s,n=a,r=h,o=u),{p1:e,p2:n,p3:r,p4:o}},n.prototype.ba=function(t){if(null==this.ae||null==t.ao){t.ao="image";var e=this.aa.createElement("canvas");this.ae=e;var i=this.be(this.ae,this.m,this.l,this.au,this.at,148,148);this.m=i.p1,this.l=i.p2,this.au=i.p3,this.at=i.p4,this.ae.setStyleProperty("justify-self","center"),this.ae.setStyleProperty("align-self","center"),t.an.append(this.ae),this.bm(this.a.ad())}},n.prototype.bm=function(t){if((this.k!=t||this.e)&&null!=this.ae){this.k=t;var e=this.be(this.ae,this.m,this.l,this.au,this.at,148,148);this.m=e.p1,this.l=e.p2,this.au=e.p3,this.at=e.p4;var i=this.au,n=this.at,r=this.a3;if(null==this.ak){var o=this.ae.getNativeElement().getContext("2d");this.ak=o}null!=r&&r.length==i*n*4||(this.ao=this.ak.getImageData(0,0,i,n),r=this.ao.data,this.a3=r),this.a.a0(r,i,n),this.ak.putImageData(this.ao,0,0)}},n.prototype.a9=function(t){if(null==this.ad||null==t.ao){t.ao="image";var e=this.aa.createElement("canvas");this.ad=e;var i=this.be(this.ad,this.j,this.h,this.as,this.ar,248,19);this.j=i.p1,this.h=i.p2,this.as=i.p3,this.ar=i.p4,this.ad.setStyleProperty("justify-self","center"),this.ad.setStyleProperty("align-self","center"),t.an.append(this.ad),this.bl(0)}},n.prototype.bl=function(t){if((t!=this.i||this.e)&&null!=this.ad){this.i=t;var e=this.be(this.ad,this.j,this.h,this.as,this.ar,248,19);this.j=e.p1,this.h=e.p2,this.as=e.p3,this.ar=e.p4;var i=this.as,n=this.ar,r=this.a2;if(null==this.aj){var o=this.ad.getNativeElement().getContext("2d");this.aj=o}null!=r&&r.length==i*n*4||(this.an=this.aj.getImageData(0,0,i,n),r=this.an.data,this.a2=r),this.a.az(r,i,n),this.aj.putImageData(this.an,0,0)}},n.prototype.bb=function(t){var e=t.an;if(1==e.getChildCount()){t.ao="image";var i=this.aa.createElement("canvas");this.ah=i;var n=this.be(this.ah,this.t,this.p,this.aw,this.av,85,148);this.t=n.p1,this.p=n.p2,this.aw=n.p3,this.av=n.p4,this.ah.setStyleProperty("margin-left","5px"),this.ah.setStyleProperty("margin-top","16px"),this.ah.setStyleProperty("margin-right","0px"),this.ah.setStyleProperty("margin-bottom","11px"),this.ah.setStyleProperty("grid-row-start","1"),this.ah.setStyleProperty("grid-row-end","2"),this.ah.setStyleProperty("grid-column-start","1"),this.ah.setStyleProperty("grid-column-end","2"),this.bn(0),e.getChildAt(0).before(i)}},n.prototype.bc=function(t){if(null==this.ai||null==t.ao){t.ao="image";var e=this.aa.createElement("canvas");this.ai=e;var i=this.be(this.ai,this.z,this.v,this.aw,this.av,25,148);this.z=i.p1,this.v=i.p2,this.aw=i.p3,this.av=i.p4,this.ai.setStyleProperty("justify-self","center"),this.ai.setStyleProperty("align-self","center"),t.an.append(this.ai),this.bo(0,1,.5)}},n.prototype.bn=function(t){if((this.q!=t||this.e)&&null!=this.ah){this.q=t;var e=this.be(this.ah,this.s,this.r,this.ay,this.ax,85,148);this.s=e.p1,this.r=e.p2,this.ay=e.p3,this.ax=e.p4;var i=this.ay,n=this.ax,r=this.a4;if(null==this.al){var o=this.ah.getNativeElement().getContext("2d");this.al=o}null!=r&&r.length==i*n*4||(this.ap=this.al.getImageData(0,0,i,n),r=this.ap.data,this.a4=r),this.a.a1(r,i,n),this.al.putImageData(this.ap,0,0)}},n.prototype.bo=function(t,e,i){if((this.w!=t||this.y!=e||this.x!=i||this.e)&&null!=this.ai){this.w=t,this.y=e,this.x=i;var n=this.be(this.ai,this.z,this.v,this.a0,this.az,25,148);this.z=n.p1,this.v=n.p2,this.a0=n.p3,this.az=n.p4;var r=this.a0,o=this.az,s=this.a5;if(null==this.am){var a=this.ai.getNativeElement().getContext("2d");this.am=a}null!=s&&s.length==r*o*4||(this.aq=this.am.getImageData(0,0,r,o),s=this.aq.data,this.a5=s),this.a.a2(s,r,o),this.am.putImageData(this.aq,0,0)}},n.prototype.bk=function(){this.e=!0,this.bm(this.k),this.bl(this.i),this.bn(this.q),this.bo(this.u,this.y,this.x),this.e=!1},n.$t=i.markType(n,"ColorEditorPanelView"),n}(i.Base),De=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.h=null,e.d=null,e.g=new i.List$1(i.Delegate_$type,0),e.e=!0,e.b=null,e}return e.__extends(n,t),n.prototype.q=function(){},n.prototype.f=function(){return!0},n.prototype.o=function(t){var n,r;if(null!=t)null==this.a.a&&(this.a.a=new i.DOMExecutionContext(t)),this.h=t,this.a.bj();else{try{for(var o=e.__values(i.fromEnum(this.g)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.g.clear()}},n.prototype.m=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.h)},n.prototype.n=function(){this.e=!0},n.prototype.p=function(){this.e=!1},n.prototype.j=function(){return this.h},n.prototype.i=function(){var t=new qe;this.b=t;var e=this.h.createElement("div"),i=this.h.getSubRenderer(e);t.provideContainer(i);this.h.getExternal(t,null,null);return e},n.prototype.k=function(t,e){t.an.append(this.h.getWrapper(e))},n.prototype.l=function(t){this.h.append(this.h.getWrapper(t.an))},n.prototype.c=function(t){return this.b},n.prototype.r=function(t){if(null!=this.h){var e=this.h.rootWrapper.getNativeElement().getBoundingClientRect();return t&&(e=new i.Rect(0,e.left+window.pageXOffset,e.top+window.pageYOffset,e.width,e.height)),e}return null},n.prototype.s=function(){return new i.Size(1,NaN,NaN)},n.$t=i.markType(n,"ColorEditorView"),n}(i.Base),Ee=function(t){function n(){var e=t.call(this)||this;e.h=null,e.s=null,e.r=null,e.e=null,e.w=!1,e.ag=!1,e.ae=!1,e.cm=i.BrushUtil.j(0,0,0,0),e.x=!1,e.propertyChanged=null,e.valueChanged=null,e.valueChanging=null,e.t=null,e.a=null,e.co=i.BrushUtil.j(255,0,0,255),e.at="",e.cl=i.BrushUtil.j(255,24,29,31),e.m=null,e.k=2,e.i=1,e.n=null,e.cn=i.BrushUtil.j(255,24,29,31),e.ck=i.BrushUtil.j(255,163,172,184),e.ad=!0,e.v=!0,e.ac=!0,e.y=!1,e.aq=0,e.z=!1,e.ab=!1,e.af=!1,e.aa=!1,e.gotFocus=null,e.lostFocus=null,i.NativeUIInputsFactory.n(),Fe.m();var n=new De;return n.a=e,e.h=n,e.h.q(),e}return e.__extends(n,t),n.prototype.onAttachedToUI=function(){this.h.n()},n.prototype.onDetachedFromUI=function(){this.h.p()},n.prototype.b4=function(t,e){var i;null!=this.valueChanging&&this.valueChanging(this,((i=new Se).oldValue=t,i.newValue=e,i)),this.x},n.prototype.notifySizeChanged=function(){},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.h.o(t)},Object.defineProperty(n.prototype,"u",{get:function(){return null==this.t&&(this.t=new i.SRProvider(this.h.h),this.t.cb("ColorEditor")),this.t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.co},set:function(t){var e=this.co;this.cm=e,this.co=t,e!=this.co&&this.b3("Value",e,this.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.b3("Label",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.b3("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.b3("LabelTextStyle",e,this.m)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.b3("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.b3("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.i))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b3("TextStyle",e,this.n)},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.b3("TextColor",e,this.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.b3("IconColor",e,this.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.b3("ShowClearButton",e,this.ad)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.b3("AllowTextInput",e,this.v)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.b3("OpenOnFocus",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.b3("IsDisabled",e,this.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.b3("TabIndex",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.b3("IsFixed",e,this.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.b3("OpenAsChild",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.b3("UseTopLayer",e,this.af)},enumerable:!1,configurable:!0}),n.prototype.b3=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.b9(t,e,n)},n.prototype.b9=function(t,e,i){switch(t){case"Density":this.cc();break;case"BaseTheme":this.cd();break;case"Value":this.b4(this.cm,this.value),this.cm=this.value,null==this.e||this.x||(this.e.value=this.value);break;case"Label":null!=this.r&&(this.r.b5=this.a2);break;case"TextStyle":this.ci();break;case"ShowClearButton":null!=this.r&&this.r.b7;break;case"LabelTextColor":case"LabelTextStyle":case"TextColor":case"IconColor":this.cj();break;case"AllowTextInput":null!=this.r&&(this.r.b0=this.am());break;case"OpenOnFocus":break;case"IsDisabled":null!=this.r&&(this.r.b0=this.am())}},n.prototype.am=function(){return this.ai||!this.ah},n.prototype.cj=function(){null!=this.r&&(this.r.ce=this.cr)},n.prototype.ch=function(){this.r},n.prototype.ci=function(){null!=this.n&&(this.r.bk=this.n)},n.prototype.bh=function(){1!=this.ai&&(null!=this.r&&(this.r.b7=""),this.value=i.BrushUtil.j(0,0,0,0),this.e.ax(),this.aa=!1)},n.prototype.b1=function(){this.aa=!0},n.prototype.b2=function(){this.aa=!1},n.prototype.br=function(){i.NativeUIWindow.h(15,i.runOn(this,this.b7),this.h.h),i.NativeUIWindow.h(9,i.runOn(this,this.b6),this.h.h)},n.prototype.bv=function(){i.NativeUIWindow.i(15,i.runOn(this,this.b7)),i.NativeUIWindow.i(9,i.runOn(this,this.b6))},n.prototype.b6=function(t){var e=t;null!=this.r&&(!this.s.b6||this.s.t(e.b)||this.r.t(e.b)||this.bi())},n.prototype.b7=function(t){if(null!=this.r){var e=this.r.be();this.s.ce(e)}},n.prototype.bj=function(){var t=this;i.NativeUIComponent.av(this.h.j(),[12,2,7,0],[2,2,2,2],(function(e){var r=e[0],o=e[1],s=e[2],a=e[3],h=t.h.i();t.h.k(a,h),r.bn(s),s.bn(a),t.h.l(o),r.ch=i.BrushUtil.j(255,255,255,255),r.ca=150,r.b8=8,r.cb=4,r.b1=!0,t.r=o,t.r.c=t.j,t.r.bp=t.l,t.r.b6=n.a8,t.r.cc=i.BrushUtil.j(255,255,255,255),t.r.cd=i.BrushUtil.j(255,0,0,0),t.r.bn=i.runOn(t,t.cf),t.r.n=i.runOn(t,t.by),t.r.o=i.runOn(t,t.b0),t.r.cb=i.BrushUtil.j(255,0,0,255),t.s=r,t.e=t.h.c(h),t.e.value=t.value;var u=t.e;u.closed=i.delegateCombine(u.closed,i.runOn(t,t.bf));var l=t.e;l.valueChanged=i.delegateCombine(l.valueChanged,i.runOn(t,t.bg)),s.o=i.runOn(t,t.b0);var c=t.e;c.valueChanged=i.delegateCombine(c.valueChanged,i.runOn(t,t.bm))}))},n.prototype.bg=function(t,e){null!=this.valueChanged&&this.valueChanged(this,e)},n.prototype.bf=function(t,e){this.bl(t)},n.prototype.b0=function(t,e){this.s.t(e.b)||this.r.t(e.b)||this.r.an==e.b||this.bp()},n.prototype.by=function(t,e){this.focus()},n.prototype.cf=function(t,e){this.cg()},n.prototype.bm=function(t,e){this.x=!0,this.value=e.newValue,this.x=!1,this.b5(e.oldValue,e.newValue)},n.prototype.b5=function(t,e){null!=this.r&&(this.r.cb=e)},n.prototype.bl=function(t){this.s.b6&&(this.w=!0,this.bi())},n.prototype.cg=function(){0==this.w?this.s.b6?this.bi():this.b8():this.w=!1},n.prototype.b8=function(){if(!this.ai&&null!=this.s){var t=this.h.r(!1),e=this.h.s().height,n=t.bottom+240;if(!i.isNaN_(e)&&e<n)t.top-240<0?this.ce(1,0):this.ce(2,0);else this.ce(1,0)}},n.prototype.ce=function(t,e){var i=this.h.r(!0);this.s.cf(i,t,e)},n.prototype.bi=function(){var t=this;null!=this.s&&this.a.executeDelayed((function(){return t.s.cc()}),0),null!=this.e&&this.e.bg(),this.w=!1},n.prototype.focus=function(t){var e=this;if(void 0===t&&(t=!1),null!=this.r&&this.r.a0(),!this.s.b6&&1==this.al)if(0==this.w){if(this.aa)return;(0==this.ah||1==this.al&&0==this.ae)&&(this.b8(),this.w=!0,this.a.executeDelayed((function(){return e.bo()}),0))}else this.w=!1},n.prototype.bp=function(){this.w=!1},n.prototype.cb=function(){null!=this.r&&this.r.b9()},n.prototype.bo=function(){this.e.a3()},n.prototype.bt=function(){var t=new Ne;this.bx(t)},n.prototype.bu=function(){var t=new Ue;this.bz(t)},n.prototype.cd=function(){},n.prototype.cc=function(){},n.prototype.as=function(){return this.b()},n.prototype.ay=function(){return this.b().h()},n.prototype.b=function(){var t=new Oe;return t.b=this.j,t.a=i.AppearanceHelper.a(this.value),t.c=this.ai,t},n.prototype.bx=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},n.prototype.bz=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},n.$t=i.markType(n,"ColorEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),n.a8="M13.093 6.743a1.074 1.074 0 011.306.251l.237.237-6.4 6.4-.242-.231a1.074 1.074 0 01-.251-1.306c.446-.693 1.553-2.516.515-3.554-1.584-1.585-2.225-.94-3.809-2.528S2.714 3 3.354 2.354s2.073-.489 3.658 1.095.943 2.225 2.527 3.809c1.038 1.042 2.861-.069 3.554-.515zm6.93 5.874L15.31 7.9 8.9 14.31l4.433 4.433c-.039.159-.084.327-.137.508 0 0-.8 2.749.8 2.749s.8-2.749.8-2.749a10.75 10.75 0 01-.272-1.14L16.2 16.44a8.944 8.944 0 00-2.072-3.314s.555-.545 3.323 2.063l.811-.811-1.54-2.5 2.5 1.539z",n.o=null,n}(i.Base),qe=function(t){function n(){var e=t.call(this)||this;e.d=null,e.bv=i.BrushUtil.j(0,0,0,0),e.bo=null,e.bs=i.BrushUtil.j(0,0,0,0),e.propertyChanged=null,e.closed=null,e.valueChanged=null,e.valueChanging=null,e.v=null,e.bx=i.BrushUtil.j(255,0,0,255),e.g=3,e.e=1,e.bp=i.BrushUtil.j(0,255,255,255),e.bt=i.BrushUtil.j(255,33,150,243),e.bu=i.BrushUtil.j(255,21,112,184),e.bq=i.BrushUtil.j(76,33,150,243),e.br=i.BrushUtil.j(50,186,191,199),e.bw=i.BrushUtil.j(255,24,29,31),e.i=null,e.n=null,e.s=null,e.u=null,e.m=null,e.t=null,e.o=null,e.r=null,e.q=null,e.l=null,e.k=null,e.p=null,e.aa=NaN,e.z=1,e.y=!1,e.x=!1,i.NativeUIInputsFactory.n(),Fe.m(),e.bo=i.BrushUtil.j(0,0,0,0);var n=new Re;return n.a=e,e.d=n,e.d.bj(),e}return e.__extends(n,t),n.prototype.a8=function(){null!=this.closed&&this.closed(this,new Ie)},n.prototype.bc=function(t){var e,i=this.bx;this.bx=t,null!=this.valueChanged&&this.valueChanged(this,((e=new Se).oldValue=i,e.newValue=t,e)),this.bv=this.value},n.prototype.notifySizeChanged=function(t){this.d.bf(t)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.d.bh(t)},Object.defineProperty(n.prototype,"w",{get:function(){return null==this.v&&(this.v=new i.SRProvider(this.d.aa),this.v.cb("ColorEditorPanel")),this.v},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bs=e,this.bx=t,e!=this.bx&&this.bb("Value",e,this.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.bb("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.bb("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.bb("BackgroundColor",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.bb("SelectedColorBorderColor",e,this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.bb("SelectedFocusColorBorderColor",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.bb("FocusColorBorderColor",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.bb("HoverBackgroundColor",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.bb("TextColor",e,this.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.bb("TextStyle",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.bb("PixelScalingRatio",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.bb("ActualPixelScalingRatio",e,t)},enumerable:!1,configurable:!0}),n.prototype.bb=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.bd(t,e,n)},n.prototype.bd=function(t,e,n){switch(t){case"Density":this.bi();break;case"BaseTheme":this.bj();break;case"Value":if(this.bs=this.value,this.bv=this.value,null!=e&&null!=n&&i.BrushUtil.d(e,n))break;this.bf(),this.bc(this.value);break;case"TextColor":case"BackgroundColor":case"FocusColorBorderColor":case"SelectedFocusColorBorderColor":case"SelectedColorBorderColor":case"HoverBackgroundColor":this.bk();break;case"TextStyle":this.bl();break;case"PixelScalingRatio":i.isNaN_(n)||(this.ab=n);break;case"ActualPixelScalingRatio":null!=this.d&&this.d.bk()}},n.prototype.a4=function(){var t=this;i.NativeUIContent.av(this.d.a7(),[7,7,0,5,0,5,0,5,2,7,1,1,7,2,7],[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],(function(e){var n=e[0],r=e[1],o=e[2],s=e[3],a=e[4],h=e[5],u=e[6],l=e[7],c=e[8],p=e[9],d=e[10],f=e[11],b=e[12],g=e[13],y=e[14];s.bk=2,l.bk=0,h.bk=1,s.bw=i.BrushUtil.j(0,0,0,0),l.bw=i.BrushUtil.j(0,0,0,0),h.bw=i.BrushUtil.j(0,0,0,0),h.bh=new i.Thickness(1,0,5,5,0),a.bh=new i.Thickness(1,0,5,5,0),d.bz="Ok",d.c=t.f,f.bz="Cancel",f.c=t.f,l.bh=new i.Thickness(1,5,0,5,2),u.bh=new i.Thickness(1,5,0,5,2),s.bh=new i.Thickness(1,5,5,5,0),o.bh=new i.Thickness(1,5,5,5,0),y.bh=new i.Thickness(1,5,16,0,11),y.a8=i.BrushUtil.j(255,255,0,0),r.cc(y,0),r.ca(y,0),r.bn(y),b.b2(0,2,1),b.b2(1,2,1),b.bh=new i.Thickness(1,5,2,5,2),b.ca(c,0),c.bh=new i.Thickness(1,0,0,2,0),c.bu=1,c.bp=t.h,c.c=t.f,c.b5="rgba",g.bh=new i.Thickness(1,0,0,2,0),g.bu=1,g.bp=t.h,g.c=t.f,g.b5="hex",b.ca(g,1),b.bn(c),b.bn(g),d.bh=new i.Thickness(1,5,2,5,2),f.bh=new i.Thickness(1,5,2,5,2),d.bp=t.h,f.bp=t.h,d.bm=i.runOn(t,t.a6),f.bm=i.runOn(t,t.bh),n.b4(0,1,175),n.b4(1,0,0),n.b4(2,0,0),n.b4(3,0,0),n.b2(0,1,90),n.b2(1,1,175),n.b2(2,1,25),n.cc(r,0),n.ca(r,0),n.cc(o,0),n.ca(o,1),n.cc(s,0),n.ca(s,1),n.cc(a,0),n.ca(a,3),n.cc(h,0),n.ca(h,3),n.cc(u,1),n.ca(u,0),n.cb(u,3),n.cc(l,1),n.ca(l,0),n.cb(l,3),n.cc(b,2),n.ca(b,0),n.cb(b,3),n.cc(p,3),n.ca(p,0),n.cb(p,3),p.b2(0,2,1),p.b2(1,2,1),p.ca(d,0),p.ca(f,1),p.bn(d),p.bn(f),n.bn(r),n.bn(o),n.bn(s),n.bn(a),n.bn(h),n.bn(u),n.bn(l),n.bn(b),n.bn(p),t.d.a8(n),t.n=n,t.n.bw=!0,t.s=l,t.u=h,t.m=a,t.t=s,t.o=y,t.r=c,t.q=g,t.s.bq=0,t.s.bp=360,t.s.by=i.BrushUtil.j(255,255,255,255),t.s.bz=i.BrushUtil.j(255,255,255,255),t.u.bq=0,t.u.bp=1,t.t.by=i.BrushUtil.j(255,155,155,155),t.t.bz=i.BrushUtil.j(255,255,255,255),t.t.bq=0,t.t.bp=1,t.t.bu=0,t.t.bt=1,t.s.bo=i.runOn(t,t.au),t.s.bn=i.runOn(t,t.au),t.u.bo=i.runOn(t,t.aw),t.u.bn=i.runOn(t,t.aw),t.t.bo=i.runOn(t,t.av),t.t.bn=i.runOn(t,t.av),t.l=o,t.k=u,t.p=r,t.ba()}))},n.prototype.bh=function(t,e){this.value=this.bs,this.a8()},n.prototype.a6=function(t,e){var i,n=this;this.bs=this.value,null!=this.valueChanged&&this.valueChanged(this,((i=new Se).oldValue=n.bs,i.newValue=n.value,i)),this.a8()},n.prototype.av=function(t,e){this.bn()},n.prototype.aw=function(t,e){this.bn()},n.prototype.bn=function(){if(!this.y){var t=i.Color.u(0,0,0,0),e=i.Color.u(255,255,0,0);if(null!=this.s){var n=this.s.bs,r=this.t.bs,o=1-this.t.bv,s=1-this.u.bs;e=i.ColorUtil.r(1,n,1,.5),t=i.ColorUtil.r(s,n,r,o),this.s.bx=i.BrushUtil.j(e.l,e.o,e.n,e.m),this.t.bx=i.BrushUtil.j(t.l,t.o,t.n,t.m),this.o.a8=i.BrushUtil.j(t.l,t.o,t.n,t.m),this.d.bm(this.s.bs),this.d.bn(0),this.d.bo(this.s.bs,this.t.bs,1-this.t.bv)}if(null!=this.r){var a=t.o+", "+t.n+", "+t.m+", "+Math.round(t.l/255*1e3)/1e3;this.r.b7=a}if(null!=this.q){var h=i.ColorUtil.k(t,!1);this.q.b7=h}this.bx=i.BrushUtil.j(t.l,t.o,t.n,t.m),this.bc(this.value)}},n.prototype.au=function(t,e){this.bn()},n.prototype.bk=function(){},n.prototype.bl=function(){},n.prototype.a3=function(){this.n.az()},n.prototype.onAttachedToUI=function(){this.d.bg()},n.prototype.onDetachedFromUI=function(){this.d.bi()},n.prototype.bj=function(){},n.prototype.bi=function(){},n.prototype.ax=function(){this.value=i.BrushUtil.j(0,0,0,0)},Object.defineProperty(n.prototype,"b5",{get:function(){var t=i.ColorUtil.p(this.value);return t.c?t.d:i.Color.u(255,0,0,255)},enumerable:!1,configurable:!0}),n.prototype.bf=function(){var t=this.b5,e=i.ColorUtil.a(t);this.y=!0,this.s.bs=-1==e[1]?0:e[1],this.u.bs=1-e[0],this.t.bs=e[2],this.t.bv=1-e[3],this.y=!1,this.x&&this.bn()},n.prototype.bm=function(){},n.prototype.bg=function(){},n.prototype.ba=function(){this.x=!0,this.d.ba(this.l),this.d.a9(this.k),this.d.bb(this.p),this.d.bc(this.m),this.bf(),this.bn()},n.prototype.a0=function(t,e,n){for(var r=this.s.bs,o=0;o<n;o++)for(var s=o/n,a=0;a<e;a++){var h=a/e,u=1-s,l=void 0,c=void 0,p=void 0;if(0==h)l=u,c=u,p=u;else{var d=u<.5?u*(1+h):u+h-u*h,f=2*u-d,b=r/360,g=b+1/3;l=(g=g<0?g+1:g>1?g-1:g)<1/6?f+6*(d-f)*g:g<.5?d:g<2/3?f+6*(d-f)*(2/3-g):f,c=(g=(g=b)<0?g+1:g>1?g-1:g)<1/6?f+6*(d-f)*g:g<.5?d:g<2/3?f+6*(d-f)*(2/3-g):f,p=(g=(g=b-1/3)<0?g+1:g>1?g-1:g)<1/6?f+6*(d-f)*g:g<.5?d:g<2/3?f+6*(d-f)*(2/3-g):f}l*=255,c*=255,p*=255;var y=i.truncate(1*l),m=i.truncate(1*c),v=i.truncate(1*p),_=4*(o*e+a);t[_+0]=y,t[_+1]=m,t[_+2]=v,t[_+3]=255}},n.prototype.az=function(t,e,n){for(var r=0;r<n;r++)for(var o=0;o<e;o++){var s=void 0,a=void 0,h=void 0,u=360*(o/e)/360,l=u+1/3;s=(l=l<0?l+1:l>1?l-1:l)<1/6?0+6*l:l<.5?1:l<2/3?0+6*(2/3-l):0,a=(l=(l=u)<0?l+1:l>1?l-1:l)<1/6?0+6*l:l<.5?1:l<2/3?0+6*(2/3-l):0,h=(l=(l=u-1/3)<0?l+1:l>1?l-1:l)<1/6?0+6*l:l<.5?1:l<2/3?0+6*(2/3-l):0,s*=255,a*=255,h*=255;var c=i.truncate(1*s),p=i.truncate(1*a),d=i.truncate(1*h),f=4*(r*e+o);t[f+0]=c,t[f+1]=p,t[f+2]=d,t[f+3]=255}},n.prototype.ad=function(){return null!=this.s?this.s.bs:0},n.prototype.a1=function(t,e,n){this.s.bs;for(var r=0;r<n;r++)for(var o=0;o<e;o++){var s=100,a=100,h=100;(i.intDivide(o,10)+i.intDivide(r,10))%2==0||(s=255,a=255,h=255);var u=i.truncate(s),l=i.truncate(a),c=i.truncate(h);u>255&&(u=255),l>255&&(l=255),c>255&&(c=255);var p=4*(r*e+o);t[p+0]=u,t[p+1]=l,t[p+2]=c,t[p+3]=255}},n.prototype.a2=function(t,e,n){for(var r=this.s.bs,o=1-this.t.bv,s=this.t.bs,a=0;a<n;a++)for(var h=a/n,u=0;u<e;u++){var l=void 0,c=void 0,p=void 0;if(0==s)l=o,c=o,p=o;else{var d=o<.5?o*(1+s):o+s-o*s,f=2*o-d,b=r/360,g=b+1/3;l=(g=g<0?g+1:g>1?g-1:g)<1/6?f+6*(d-f)*g:g<.5?d:g<2/3?f+6*(d-f)*(2/3-g):f,c=(g=(g=b)<0?g+1:g>1?g-1:g)<1/6?f+6*(d-f)*g:g<.5?d:g<2/3?f+6*(d-f)*(2/3-g):f,p=(g=(g=b-1/3)<0?g+1:g>1?g-1:g)<1/6?f+6*(d-f)*g:g<.5?d:g<2/3?f+6*(d-f)*(2/3-g):f}l*=255,c*=255,p*=255;var y=1*(1-h),m=100;(i.intDivide(u,10)+i.intDivide(a,10))%2==0||(m=255,255,255);var v=i.truncate(l*y+m*(1-y)),_=i.truncate(c*y+m*(1-y)),C=i.truncate(p*y+m*(1-y));v>255&&(v=255),_>255&&(_=255),C>255&&(C=255);var k=4*(a*e+u);t[k+0]=v,t[k+1]=_,t[k+2]=C,t[k+3]=255}},n.$t=i.markType(n,"ColorEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.ag="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",n.ah="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",n}(i.Base),$e=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Se},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 i.brushToString(this.i.oldValue)},set:function(t){this.i.oldValue=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return i.brushToString(this.i.newValue)},set:function(t){this.i.newValue=i.stringToBrush(t)},enumerable:!1,configurable:!0}),t}(),We=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()},t}(),Ge=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}(),ze=function(t){function n(){var n=t.call(this)||this;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._valueChanged=null,n._valueChanged_wrapped=null,n._valueChanging=null,n._valueChanging_wrapped=null,n._gotFocus=null,n._gotFocus_wrapped=null,n._lostFocus=null,n._lostFocus_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("colorEditorContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._colorEditor=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._colorEditor.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new Ee},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-color-editor"),this.classList.add("igc-color-editor"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcColorEditorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcColorEditorComponent=t}return n._observedAttributesIgcColorEditorComponent},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,"value",{get:function(){return i.brushToString(this.i.value)},set:function(t){this.i.value=i.stringToBrush(t),this._a("value",i.brushToString(this.i.value))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.cq)},set:function(t){this.i.cq=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.cq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextStyle",{get:function(){return null==this.i.p?null:this.i.p.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.p=e,this._a("labelTextStyle",null!=this.i.p?this.i.p.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.l},set:function(t){this.i.l=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.l))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.j))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.q?null:this.i.q.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.q=e,this._a("textStyle",null!=this.i.q?this.i.q.fontString:"")},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}),Object.defineProperty(n.prototype,"iconColor",{get:function(){return i.brushToString(this.i.cp)},set:function(t){this.i.cp=i.stringToBrush(t),this._a("iconColor",i.brushToString(this.i.cp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showClearButton",{get:function(){return this.i.an},set:function(t){this.i.an=i.ensureBool(t),this._a("showClearButton",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowTextInput",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureBool(t),this._a("allowTextInput",this.i.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openOnFocus",{get:function(){return this.i.al},set:function(t){this.i.al=i.ensureBool(t),this._a("openOnFocus",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("isDisabled",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFixed",{get:function(){return this.i.aj},set:function(t){this.i.aj=i.ensureBool(t),this._a("isFixed",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openAsChild",{get:function(){return this.i.ak},set:function(t){this.i.ak=i.ensureBool(t),this._a("openAsChild",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useTopLayer",{get:function(){return this.i.ao},set:function(t){this.i.ao=i.ensureBool(t),this._a("useTopLayer",this.i.ao)},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("ColorEditorComponent");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.select=function(){this.i.cb()},n.prototype.exportVisualModel=function(){return this.i.as()},n.prototype.exportSerializedVisualModel=function(){return this.i.ay()},Object.defineProperty(n.prototype,"valueChanged",{get:function(){return this._valueChanged},set:function(t){var e=this;null!==this._valueChanged_wrapped&&(this.i.valueChanged=i.delegateRemove(this.i.valueChanged,this._valueChanged_wrapped),this._valueChanged_wrapped=null,this._valueChanged=null),this._valueChanged=t,this._valueChanged_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanged&&e.beforeValueChanged(e,n),e._valueChanged&&e._valueChanged(e,n)},this.i.valueChanged=i.delegateCombine(this.i.valueChanged,this._valueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueChanging",{get:function(){return this._valueChanging},set:function(t){var e=this;null!==this._valueChanging_wrapped&&(this.i.valueChanging=i.delegateRemove(this.i.valueChanging,this._valueChanging_wrapped),this._valueChanging_wrapped=null,this._valueChanging=null),this._valueChanging=t,this._valueChanging_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanging&&e.beforeValueChanging(e,n),e._valueChanging&&e._valueChanging(e,n)},this.i.valueChanging=i.delegateCombine(this.i.valueChanging,this._valueChanging_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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 Ge;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(n.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 We;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}),n._observedAttributesIgcColorEditorComponent=null,n.htmlTagName="igc-color-editor",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Ve=function(t){function n(){var n=t.call(this)||this;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._valueChanged=null,n._valueChanged_wrapped=null,n._valueChanging=null,n._valueChanging_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("colorEditorPanelContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._colorEditorPanel=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._colorEditorPanel.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new qe},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-color-editor-panel"),this.classList.add("igc-color-editor-panel"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcColorEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcColorEditorPanelComponent=t}return n._observedAttributesIgcColorEditorPanelComponent},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,"value",{get:function(){return i.brushToString(this.i.value)},set:function(t){this.i.value=i.stringToBrush(t),this._a("value",i.brushToString(this.i.value))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.h},set:function(t){this.i.h=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.h))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.f},set:function(t){this.i.f=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.f))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedColorBorderColor",{get:function(){return i.brushToString(this.i.b1)},set:function(t){this.i.b1=i.stringToBrush(t),this._a("selectedColorBorderColor",i.brushToString(this.i.b1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedFocusDateBackgroundColor",{get:function(){return i.brushToString(this.i.b2)},set:function(t){this.i.b2=i.stringToBrush(t),this._a("selectedFocusDateBackgroundColor",i.brushToString(this.i.b2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusColorBorderColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("focusColorBorderColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.b0)},set:function(t){this.i.b0=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.b0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.b3)},set:function(t){this.i.b3=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.b3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.j?null:this.i.j.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.j=e,this._a("textStyle",null!=this.i.j?this.i.j.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pixelScalingRatio",{get:function(){return this.i.ae},set:function(t){this.i.ae=+t,this._a("pixelScalingRatio",this.i.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPixelScalingRatio",{get:function(){return this.i.ab},set:function(t){this.i.ab=+t,this._a("actualPixelScalingRatio",this.i.ab)},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("ColorEditorPanelComponent");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,"valueChanged",{get:function(){return this._valueChanged},set:function(t){var e=this;null!==this._valueChanged_wrapped&&(this.i.valueChanged=i.delegateRemove(this.i.valueChanged,this._valueChanged_wrapped),this._valueChanged_wrapped=null,this._valueChanged=null),this._valueChanged=t,this._valueChanged_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanged&&e.beforeValueChanged(e,n),e._valueChanged&&e._valueChanged(e,n)},this.i.valueChanged=i.delegateCombine(this.i.valueChanged,this._valueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueChanging",{get:function(){return this._valueChanging},set:function(t){var e=this;null!==this._valueChanging_wrapped&&(this.i.valueChanging=i.delegateRemove(this.i.valueChanging,this._valueChanging_wrapped),this._valueChanging_wrapped=null,this._valueChanging=null),this._valueChanging=t,this._valueChanging_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanging&&e.beforeValueChanging(e,n),e._valueChanging&&e._valueChanging(e,n)},this.i.valueChanging=i.delegateCombine(this.i.valueChanging,this._valueChanging_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcColorEditorPanelComponent=null,n.htmlTagName="igc-color-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),He=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,"position",{get:function(){return this.i.n},set:function(t){this.i.n=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.r},set:function(t){this.i.r=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minWidth",{get:function(){return this.i.m},set:function(t){this.i.m=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this.i.l},set:function(t){this.i.l=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lowerThumb",{get:function(){var t=this.i.f;if(null==t)return null;if(!t.externalObject){var e=new Me;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.f=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"higherThumb",{get:function(){var t=this.i.e;if(null==t)return null;if(!t.externalObject){var e=new Me;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.e=null==t?null:t.i},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.lowerThumb&&this.lowerThumb.name&&this.lowerThumb.name==t?this.lowerThumb:this.higherThumb&&this.higherThumb.name&&this.higherThumb.name==t?this.higherThumb:null},t}(),Me=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 Qt},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.s},set:function(t){this.i.s=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangePosition",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(Jt,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"range",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new He;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}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.range&&this.range.name&&this.range.name==t?this.range:null},t.prototype.push=function(t){return this.i.r(t)},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}(),Le=function(t){function n(e){var n=t.call(this)||this;if(Me.$type||(Me.$type=i.markType(Me,"IgcMultiSliderThumb")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Me.$type||(Me.$type=i.markType(Me,"IgcMultiSliderThumb"));var t=new i.SyncableObservableCollection$2(Me.$type,Qt.$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 Me)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Xe=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new se},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,"position",{get:function(){return this.i.position},set:function(t){this.i.position=+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}),t}(),Ye=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()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"thumb",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new Me;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}),t}(),Ke=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()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),Je=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._thumbs=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._resolvingToolTipValue=null,e._resolvingToolTipValue_wrapped=null,e._thumbValueChanging=null,e._thumbValueChanging_wrapped=null,e._thumbValueChanged=null,e._thumbValueChanged_wrapped=null,e._yValueChanging=null,e._yValueChanging_wrapped=null,e._yValueChanged=null,e._yValueChanged_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 le},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._observedAttributesIgcMultiSliderComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcMultiSliderComponent=t}return n._observedAttributesIgcMultiSliderComponent},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,"thumbs",{get:function(){if(null===this._thumbs){var t=new Le,e=this.i.thumbs;e||(e=new ie),this._thumbs=t._fromInner(e)}return this._thumbs},set:function(t){null!==this._thumbs&&(this._thumbs._setSyncTarget(null),this._thumbs=null);var e=new Le;this._thumbs=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Qt.$type),r=this.i.thumbs;r||(r=new ie),n._inner=r,n.clear(),this._thumbs._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("min",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("max",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("step",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yMax",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("yMax",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yMin",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("yMin",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yStep",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("yStep",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pixelScalingRatio",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("pixelScalingRatio",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPixelScalingRatio",{get:function(){return this.i.a9},set:function(t){this.i.a9=+t,this._a("actualPixelScalingRatio",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"windowRect",{get:function(){return i.fromRect(this.i.e1)},set:function(t){this.i.e1=i.toRect(t),this._a("windowRect",i.rectToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yValue",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("yValue",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"startInset",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("startInset",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endInset",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("endInset",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"trackStartInset",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("trackStartInset",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"trackEndInset",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("trackEndInset",this.i.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yTrackStartInset",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("yTrackStartInset",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yTrackEndInset",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("yTrackEndInset",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barExtent",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("barExtent",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(oe,t),this._a("orientation",i.enumToString(oe,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbBrush",{get:function(){return i.brushToString(this.i.es)},set:function(t){this.i.es=i.stringToBrush(t),this._a("thumbBrush",i.brushToString(this.i.es))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbStrokeThickness",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("thumbStrokeThickness",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbOutline",{get:function(){return i.brushToString(this.i.et)},set:function(t){this.i.et=i.stringToBrush(t),this._a("thumbOutline",i.brushToString(this.i.et))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbWidth",{get:function(){return this.i.bo},set:function(t){this.i.bo=+t,this._a("thumbWidth",this.i.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbHeight",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("thumbHeight",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barBrush",{get:function(){return i.brushToString(this.i.ek)},set:function(t){this.i.ek=i.stringToBrush(t),this._a("barBrush",i.brushToString(this.i.ek))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barOutline",{get:function(){return i.brushToString(this.i.el)},set:function(t){this.i.el=i.stringToBrush(t),this._a("barOutline",i.brushToString(this.i.el))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barStrokeThickness",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("barStrokeThickness",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbBrush",{get:function(){return i.brushToString(this.i.ep)},set:function(t){this.i.ep=i.stringToBrush(t),this._a("rangeThumbBrush",i.brushToString(this.i.ep))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbOutline",{get:function(){return i.brushToString(this.i.eq)},set:function(t){this.i.eq=i.stringToBrush(t),this._a("rangeThumbOutline",i.brushToString(this.i.eq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbStrokeThickness",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("rangeThumbStrokeThickness",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbRidgesBrush",{get:function(){return i.brushToString(this.i.er)},set:function(t){this.i.er=i.stringToBrush(t),this._a("rangeThumbRidgesBrush",i.brushToString(this.i.er))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbRidgesBrush",{get:function(){return i.brushToString(this.i.eu)},set:function(t){this.i.eu=i.stringToBrush(t),this._a("thumbRidgesBrush",i.brushToString(this.i.eu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutBrush",{get:function(){return i.brushToString(this.i.em)},set:function(t){this.i.em=i.stringToBrush(t),this._a("calloutBrush",i.brushToString(this.i.em))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutTextColor",{get:function(){return i.brushToString(this.i.eo)},set:function(t){this.i.eo=i.stringToBrush(t),this._a("calloutTextColor",i.brushToString(this.i.eo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutOutline",{get:function(){return i.brushToString(this.i.en)},set:function(t){this.i.en=i.stringToBrush(t),this._a("calloutOutline",i.brushToString(this.i.en))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutStrokeThickness",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("calloutStrokeThickness",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomThumbProvided",{get:function(){return this.i.ac},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRangeThumbProvided",{get:function(){return this.i.aa},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomBarProvided",{get:function(){return this.i.z},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomShadeProvided",{get:function(){return this.i.ab},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"areThumbCalloutsEnabled",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureBool(t),this._a("areThumbCalloutsEnabled",this.i.t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbCalloutTextStyle",{get:function(){return null==this.i.p?null:this.i.p.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.p=e,this._a("thumbCalloutTextStyle",null!=this.i.p?this.i.p.fontString:"")},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.thumbs&&this.thumbs.findByName&&this.thumbs.findByName(t)?this.thumbs.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("MultiSliderComponent");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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.provideContainer=function(t){this.i.provideContainer(t)},n.prototype.flush=function(){this.i.c7()},n.prototype.trackDirty=function(){this.i.trackDirty()},n.prototype.show=function(){this.i.dw()},n.prototype.hide=function(){this.i.c8()},Object.defineProperty(n.prototype,"resolvingToolTipValue",{get:function(){return this._resolvingToolTipValue},set:function(t){var e=this;null!==this._resolvingToolTipValue_wrapped&&(this.i.resolvingToolTipValue=i.delegateRemove(this.i.resolvingToolTipValue,this._resolvingToolTipValue_wrapped),this._resolvingToolTipValue_wrapped=null,this._resolvingToolTipValue=null),this._resolvingToolTipValue=t,this._resolvingToolTipValue_wrapped=function(t,i){var n=new Xe;n._provideImplementation(i),e.beforeResolvingToolTipValue&&e.beforeResolvingToolTipValue(e,n),e._resolvingToolTipValue&&e._resolvingToolTipValue(e,n)},this.i.resolvingToolTipValue=i.delegateCombine(this.i.resolvingToolTipValue,this._resolvingToolTipValue_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbValueChanging",{get:function(){return this._thumbValueChanging},set:function(t){var e=this;null!==this._thumbValueChanging_wrapped&&(this.i.thumbValueChanging=i.delegateRemove(this.i.thumbValueChanging,this._thumbValueChanging_wrapped),this._thumbValueChanging_wrapped=null,this._thumbValueChanging=null),this._thumbValueChanging=t,this._thumbValueChanging_wrapped=function(t,i){var n=new Ye;n._provideImplementation(i),e.beforeThumbValueChanging&&e.beforeThumbValueChanging(e,n),e._thumbValueChanging&&e._thumbValueChanging(e,n)},this.i.thumbValueChanging=i.delegateCombine(this.i.thumbValueChanging,this._thumbValueChanging_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbValueChanged",{get:function(){return this._thumbValueChanged},set:function(t){var e=this;null!==this._thumbValueChanged_wrapped&&(this.i.thumbValueChanged=i.delegateRemove(this.i.thumbValueChanged,this._thumbValueChanged_wrapped),this._thumbValueChanged_wrapped=null,this._thumbValueChanged=null),this._thumbValueChanged=t,this._thumbValueChanged_wrapped=function(t,i){var n=new Ye;n._provideImplementation(i),e.beforeThumbValueChanged&&e.beforeThumbValueChanged(e,n),e._thumbValueChanged&&e._thumbValueChanged(e,n)},this.i.thumbValueChanged=i.delegateCombine(this.i.thumbValueChanged,this._thumbValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yValueChanging",{get:function(){return this._yValueChanging},set:function(t){var e=this;null!==this._yValueChanging_wrapped&&(this.i.yValueChanging=i.delegateRemove(this.i.yValueChanging,this._yValueChanging_wrapped),this._yValueChanging_wrapped=null,this._yValueChanging=null),this._yValueChanging=t,this._yValueChanging_wrapped=function(t,i){var n=new Ke;n._provideImplementation(i),e.beforeYValueChanging&&e.beforeYValueChanging(e,n),e._yValueChanging&&e._yValueChanging(e,n)},this.i.yValueChanging=i.delegateCombine(this.i.yValueChanging,this._yValueChanging_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yValueChanged",{get:function(){return this._yValueChanged},set:function(t){var e=this;null!==this._yValueChanged_wrapped&&(this.i.yValueChanged=i.delegateRemove(this.i.yValueChanged,this._yValueChanged_wrapped),this._yValueChanged_wrapped=null,this._yValueChanged=null),this._yValueChanged=t,this._yValueChanged_wrapped=function(t,i){var n=new Ke;n._provideImplementation(i),e.beforeYValueChanged&&e.beforeYValueChanged(e,n),e._yValueChanged&&e._yValueChanged(e,n)},this.i.yValueChanged=i.delegateCombine(this.i.yValueChanged,this._yValueChanged_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcMultiSliderComponent=null,n.htmlTagName="igc-multi-slider",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Qe=function(){function t(){}return t.register=function(){Je.register(),i.TypeRegistrar.registerCons("IgcMultiSliderComponent",Je),i.TypeRegistrar.registerCons("IgcMultiSliderComponent",Je),i.TypeRegistrar.register("MultiSlider",le.$type)},t}(),Ze=function(){function t(){}return t.register=function(){Ve.register(),i.TypeRegistrar.registerCons("IgcColorEditorPanelComponent",Ve),i.TypeRegistrar.registerCons("IgcColorEditorPanelComponent",Ve),Qe.register(),m.register(),wt.register(),xt.register(),i.TypeRegistrar.register("ColorEditorPanel",qe.$type)},t}(),ti=function(){function t(){}return t.register=function(){ze.register(),i.TypeRegistrar.registerCons("IgcColorEditorComponent",ze),i.TypeRegistrar.registerCons("IgcColorEditorComponent",ze),Ze.register(),i.TypeRegistrar.register("ColorEditor",Ee.$type)},t}(),ei=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ke},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,"isChecked",{get:function(){return this.i.isChecked},set:function(t){this.i.isChecked=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isIndeterminate",{get:function(){return this.i.isIndeterminate},set:function(t){this.i.isIndeterminate=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),ii=function(t){function n(){var n=t.call(this)||this;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._change=null,n._change_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("checkboxLabel"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._checkbox=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._checkbox.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new je},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-checkbox"),this.classList.add("igc-x-checkbox"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.i.onContentReady()},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._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._observedAttributesIgcXCheckboxComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXCheckboxComponent=t}return n._observedAttributesIgcXCheckboxComponent},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.n},set:function(t){this.i.n=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.dl)},set:function(t){this.i.dl=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.dl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.db)},set:function(t){this.i.db=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.db))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.dd)},set:function(t){this.i.dd=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.dd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tickColor",{get:function(){return i.brushToString(this.i.dk)},set:function(t){this.i.dk=i.stringToBrush(t),this._a("tickColor",i.brushToString(this.i.dk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTickColor",{get:function(){return i.brushToString(this.i.da)},set:function(t){this.i.da=i.stringToBrush(t),this._a("actualTickColor",i.brushToString(this.i.da))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.dm)},set:function(t){this.i.dm=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.dm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.de)},set:function(t){this.i.de=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.de))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.dc)},set:function(t){this.i.dc=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.dc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.c9)},set:function(t){this.i.c9=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.c9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("borderWidth",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.an},set:function(t){this.i.an=+t,this._a("actualBorderWidth",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("cornerRadius",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tickStrokeWidth",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("tickStrokeWidth",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTickStrokeWidth",{get:function(){return this.i.ap},set:function(t){this.i.ap=+t,this._a("actualTickStrokeWidth",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadius",{get:function(){return this.i.ao},set:function(t){this.i.ao=+t,this._a("actualCornerRadius",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.c8)},set:function(t){this.i.c8=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.c8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputId",{get:function(){return this.i.b1},set:function(t){this.i.b1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bz},set:function(t){this.i.bz=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelId",{get:function(){return this.i.labelId},set:function(t){this.i.labelId=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.ca},set:function(t){this.i.ca=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("tabIndex",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"required",{get:function(){return this.i.ay},set:function(t){this.i.ay=+t,this._a("required",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabelledBy",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bm},set:function(t){this.i.bm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.i.focused},set:function(t){this.i.focused=i.ensureBool(t),this._a("focused",this.i.focused)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelPosition",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(Ce,t),this._a("labelPosition",i.enumToString(Ce,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this.i.y},set:function(t){this.i.y=i.ensureBool(t),this._a("disableRipple",this.i.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checked",{get:function(){return this.i.checked},set:function(t){this.i.checked=i.ensureBool(t),this._a("checked",this.i.checked)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indeterminate",{get:function(){return this.i.indeterminate},set:function(t){this.i.indeterminate=i.ensureBool(t),this._a("indeterminate",this.i.indeterminate)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableTransitions",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureBool(t),this._a("disableTransitions",this.i.z)},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("XCheckboxComponent");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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.a3()},n.prototype.exportSerializedVisualModel=function(){return this.i.by()},Object.defineProperty(n.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 n=new ei;n._provideImplementation(i),e.beforeChange&&e.beforeChange(e,n),e._change&&e._change(e,n)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXCheckboxComponent=null,n.htmlTagName="igc-x-checkbox",n._isElementRegistered=!1,n}(i.IgcHTMLElement),ni=function(){function t(){}return t.register=function(){a.register(),i.IgcChildContentModule.register(),ii.register(),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",ii),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",ii),i.TypeRegistrar.register("XCheckbox",je.$type)},t}(),ri=function(t){function n(e){var n=t.call(this)||this;if(y.$type||(y.$type=i.markType(y,"IgcXButtonComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){y.$type||(y.$type=i.markType(y,"IgcXButtonComponent"));var t=new i.SyncableObservableCollection$2(y.$type,b.$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=y._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),oi=function(){function t(){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()},t}(),si=function(t){function n(){var n=t.call(this)||this;n.contentButtons=[],n.actualButtons=[],n._buttons=null,n._buttonsAdapter=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._selectionChanged=null,n._selectionChanged_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("buttonContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._buttonGroup=r,n._buttonsAdapter=new i.CollectionAdapter(n.contentButtons,n.i.buttons,n.actualButtons,(function(t){return t.i}),(function(t){n._container&&n._container.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged(),n.updateButtons())}}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}return e.__extends(n,t),Object.defineProperty(n.prototype,"buttons",{get:function(){var t=this;if(null===this._buttons){var e=new ri;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._buttonsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._buttonsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._buttonsAdapter.removeManualItemAt(n.oldStartingIndex),t._buttonsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._buttonsAdapter.clearManualItems()}})),this._buttons=e}return this._buttons},enumerable:!1,configurable:!0}),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateButtons=function(){this.contentButtons.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof y&&this.contentButtons.push(this.children[t]);var e=this.querySelector("igc-child-content");if(e)for(t=0;t<e.children.length;t++)e.children[t]instanceof y&&this.contentButtons.push(e.children[t]);null!=this._buttonsAdapter&&this._buttonsAdapter.notifyContentChanged()},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._buttonGroup.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new ve},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-button-group"),this.classList.add("igc-x-button-group"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXButtonGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXButtonGroupComponent=t}return n._observedAttributesIgcXButtonGroupComponent},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,"displayType",{get:function(){return this.i.i},set:function(t){this.i.i=i.ensureEnum(fe,t),this._a("displayType",i.enumToString(fe,this.i.i))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.p},set:function(t){this.i.p=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.p))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.s))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedIndices",{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,"actualItemCornerRadius",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("actualItemCornerRadius",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemBackgroundColor",{get:function(){return i.brushToString(this.i.ez)},set:function(t){this.i.ez=i.stringToBrush(t),this._a("actualItemBackgroundColor",i.brushToString(this.i.ez))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.e1)},set:function(t){this.i.e1=i.stringToBrush(t),this._a("actualItemDisabledBackgroundColor",i.brushToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemTextColor",{get:function(){return i.brushToString(this.i.e6)},set:function(t){this.i.e6=i.stringToBrush(t),this._a("actualItemTextColor",i.brushToString(this.i.e6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemDisabledTextColor",{get:function(){return i.brushToString(this.i.e3)},set:function(t){this.i.e3=i.stringToBrush(t),this._a("actualItemDisabledTextColor",i.brushToString(this.i.e3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemBorderColor",{get:function(){return i.brushToString(this.i.e0)},set:function(t){this.i.e0=i.stringToBrush(t),this._a("actualItemBorderColor",i.brushToString(this.i.e0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemDisabledBorderColor",{get:function(){return i.brushToString(this.i.e2)},set:function(t){this.i.e2=i.stringToBrush(t),this._a("actualItemDisabledBorderColor",i.brushToString(this.i.e2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemBorderWidth",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("actualItemBorderWidth",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.e7)},set:function(t){this.i.e7=i.stringToBrush(t),this._a("actualSelectedItemBackgroundColor",i.brushToString(this.i.e7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemTextColor",{get:function(){return i.brushToString(this.i.fa)},set:function(t){this.i.fa=i.stringToBrush(t),this._a("actualSelectedItemTextColor",i.brushToString(this.i.fa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.e4)},set:function(t){this.i.e4=i.stringToBrush(t),this._a("actualItemHoverBackgroundColor",i.brushToString(this.i.e4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemHoverTextColor",{get:function(){return i.brushToString(this.i.e5)},set:function(t){this.i.e5=i.stringToBrush(t),this._a("actualItemHoverTextColor",i.brushToString(this.i.e5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.e8)},set:function(t){this.i.e8=i.stringToBrush(t),this._a("actualSelectedItemHoverBackgroundColor",i.brushToString(this.i.e8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.e9)},set:function(t){this.i.e9=i.stringToBrush(t),this._a("actualSelectedItemHoverTextColor",i.brushToString(this.i.e9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemCornerRadius",{get:function(){return this.i.a1},set:function(t){this.i.a1=+t,this._a("itemCornerRadius",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemBackgroundColor",{get:function(){return i.brushToString(this.i.hn)},set:function(t){this.i.hn=i.stringToBrush(t),this._a("itemBackgroundColor",i.brushToString(this.i.hn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("itemDisabledBackgroundColor",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemTextColor",{get:function(){return i.brushToString(this.i.hu)},set:function(t){this.i.hu=i.stringToBrush(t),this._a("itemTextColor",i.brushToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemDisabledTextColor",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("itemDisabledTextColor",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("itemHoverBackgroundColor",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemBorderColor",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("itemBorderColor",i.brushToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemDisabledBorderColor",{get:function(){return i.brushToString(this.i.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("itemDisabledBorderColor",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemBorderWidth",{get:function(){return this.i.a0},set:function(t){this.i.a0=+t,this._a("itemBorderWidth",this.i.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHoverTextColor",{get:function(){return i.brushToString(this.i.ht)},set:function(t){this.i.ht=i.stringToBrush(t),this._a("itemHoverTextColor",i.brushToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("selectedItemBackgroundColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemTextColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("selectedItemTextColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("selectedItemHoverBackgroundColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("selectedItemHoverTextColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemCornerRadius",{get:function(){return this.i.a3},set:function(t){this.i.a3=+t,this._a("outlinedItemCornerRadius",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemBackgroundColor",{get:function(){return i.brushToString(this.i.hv)},set:function(t){this.i.hv=i.stringToBrush(t),this._a("outlinedItemBackgroundColor",i.brushToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("outlinedItemDisabledBackgroundColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemTextColor",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("outlinedItemTextColor",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemDisabledTextColor",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("outlinedItemDisabledTextColor",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("outlinedItemHoverBackgroundColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemBorderColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("outlinedItemBorderColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemDisabledBorderColor",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t),this._a("outlinedItemDisabledBorderColor",i.brushToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemBorderWidth",{get:function(){return this.i.a2},set:function(t){this.i.a2=+t,this._a("outlinedItemBorderWidth",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemHoverTextColor",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("outlinedItemHoverTextColor",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("outlinedSelectedItemBackgroundColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemTextColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("outlinedSelectedItemTextColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("outlinedSelectedItemHoverBackgroundColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("outlinedSelectedItemHoverTextColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemCornerRadius",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("flatItemCornerRadius",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemBackgroundColor",{get:function(){return i.brushToString(this.i.hb)},set:function(t){this.i.hb=i.stringToBrush(t),this._a("flatItemBackgroundColor",i.brushToString(this.i.hb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("flatItemDisabledBackgroundColor",i.brushToString(this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemTextColor",{get:function(){return i.brushToString(this.i.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("flatItemTextColor",i.brushToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemDisabledTextColor",{get:function(){return i.brushToString(this.i.hf)},set:function(t){this.i.hf=i.stringToBrush(t),this._a("flatItemDisabledTextColor",i.brushToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.hg)},set:function(t){this.i.hg=i.stringToBrush(t),this._a("flatItemHoverBackgroundColor",i.brushToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemBorderColor",{get:function(){return i.brushToString(this.i.hc)},set:function(t){this.i.hc=i.stringToBrush(t),this._a("flatItemBorderColor",i.brushToString(this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemDisabledBorderColor",{get:function(){return i.brushToString(this.i.he)},set:function(t){this.i.he=i.stringToBrush(t),this._a("flatItemDisabledBorderColor",i.brushToString(this.i.he))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemBorderWidth",{get:function(){return this.i.ay},set:function(t){this.i.ay=+t,this._a("flatItemBorderWidth",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemHoverTextColor",{get:function(){return i.brushToString(this.i.hh)},set:function(t){this.i.hh=i.stringToBrush(t),this._a("flatItemHoverTextColor",i.brushToString(this.i.hh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("flatSelectedItemBackgroundColor",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemTextColor",{get:function(){return i.brushToString(this.i.hm)},set:function(t){this.i.hm=i.stringToBrush(t),this._a("flatSelectedItemTextColor",i.brushToString(this.i.hm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.hk)},set:function(t){this.i.hk=i.stringToBrush(t),this._a("flatSelectedItemHoverBackgroundColor",i.brushToString(this.i.hk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.hl)},set:function(t){this.i.hl=i.stringToBrush(t),this._a("flatSelectedItemHoverTextColor",i.brushToString(this.i.hl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureEnum(de,t),this._a("orientation",i.enumToString(de,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.b5},set:function(t){this.i.b5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isMultiSelect",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureBool(t),this._a("isMultiSelect",this.i.z)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.buttons&&this.buttons.findByName&&this.buttons.findByName(t)?this.buttons.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("XButtonGroupComponent");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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.a5()},n.prototype.exportSerializedVisualModel=function(){return this.i.bq()},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 oi;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}),n._observedAttributesIgcXButtonGroupComponent=null,n.htmlTagName="igc-x-button-group",n._isElementRegistered=!1,n}(i.IgcHTMLElement),ai=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),m.register(),si.register(),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",si),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",si),i.TypeRegistrar.register("XButtonGroup",ve.$type)},t}(),hi=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("prefixContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._prefix=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._prefix.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new pt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-prefix"),this.classList.add("igc-x-prefix"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXPrefixComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXPrefixComponent=t}return n._observedAttributesIgcXPrefixComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"id",{get:function(){return this.i.z},set:function(t){this.i.z=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.w},set:function(t){this.i.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.q},set:function(t){this.i.q=i.ensureBool(t),this._a("isHover",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.t()},n.prototype.exportSerializedVisualModel=function(){return this.i.y()},n._observedAttributesIgcXPrefixComponent=null,n.htmlTagName="igc-x-prefix",n._isElementRegistered=!1,n}(yt),ui=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),hi.register(),i.TypeRegistrar.registerCons("IgcXPrefixComponent",hi),i.TypeRegistrar.registerCons("IgcXPrefixComponent",hi),i.TypeRegistrar.register("XPrefix",pt.$type)},t}(),li=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("suffixContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._suffix=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._suffix.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new ct},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-suffix"),this.classList.add("igc-x-suffix"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXSuffixComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXSuffixComponent=t}return n._observedAttributesIgcXSuffixComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"id",{get:function(){return this.i.z},set:function(t){this.i.z=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.w},set:function(t){this.i.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.q},set:function(t){this.i.q=i.ensureBool(t),this._a("isHover",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.t()},n.prototype.exportSerializedVisualModel=function(){return this.i.y()},n._observedAttributesIgcXSuffixComponent=null,n.htmlTagName="igc-x-suffix",n._isElementRegistered=!1,n}(yt),ci=function(t){function n(e,i){var n=t.call(this,e)||this;return n.al=null,n.al=new Te(i),n}return e.__extends(n,t),n.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 15:case 16:case 44:case 45:case 46:case 47:case 48:case 49:return this.al.t}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},n.prototype.getTargetForProperty=function(e,i){switch(e){case 16:case 15:case 17:return this.al.t.view.v}return t.prototype.getTargetForProperty.call(this,e,i)},n.prototype.getValue=function(e,n){switch(n){case 16:case 15:case 44:case 45:case 46:case 47:case 48:case 49:return this.al.getValue(e,n);case 18:return i.enumGetBox(i.BaseControlTheme_$type,e.n)}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,n,r){switch(t.prototype.setValue.call(this,e,n,r),n){case 16:case 15:case 44:case 45:case 46:case 47:case 48:case 49:this.al.setValue(e,n,r);break;case 18:e.n=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r)}},n.$t=i.markType(n,"XIconButtonBridge",zt.$),n}(zt),pi=i.markEnum("KEYCODES","ENTER,13|SPACE,32|ESCAPE,27|LEFT_ARROW,37|UP_ARROW,38|RIGHT_ARROW,39|DOWN_ARROW,40|F2,113|TAB,9|CTRL,17|C,67|Z,90|Y,89|X,88|BACKSPACE,8|DELETE,46|INPUT_METHOD,229"),di=i.markEnum("MultiSliderCursor","Default,0|LeftRight,1|AllWay,2|UpDown,3|Move,4"),fi=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()},t}(),bi=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.a=0,e.c=-1,e.b=-1,e._thumbBox=null,e._thumbRidges=null,e._allPaths=null,e.thumbBox=new i.Path,e.thumbRidges=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.thumbBox),e.allPaths.add(e.thumbRidges),e.thumbBox._stroke=e.getThumbBoxDefaultStroke(),e.thumbBox.ad=1,e.thumbBox._fill=e.getThumbBoxDefaultBrush(),e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke(),e.thumbRidges.ad=1,e}return e.__extends(n,t),n.prototype.getThumbBoxDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getThumbBoxDefaultStrokeThickness=function(){return 1},n.prototype.getThumbBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,249,249,249),t;var t},n.prototype.getThumbRidgesDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,119,119,119),t;var t},Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.e=function(){if(0==this.orientation){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.LineSegment(1);e._isClosed=!1,e._isFilled=!1,e._startPoint={$type:i.Point_$type,x:-3,y:this.height/-2*.5},n.c={$type:i.Point_$type,x:-3,y:this.height/2*.5},e._segments.add(n),t.c.add(e);var r=new i.PathFigure,o=new i.LineSegment(1);r._isClosed=!1,r._isFilled=!1,r._startPoint={$type:i.Point_$type,x:0,y:this.height/-2*.5},o.c={$type:i.Point_$type,x:0,y:this.height/2*.5},r._segments.add(o),t.c.add(r);var s=new i.PathFigure,a=new i.LineSegment(1);s._isClosed=!1,s._isFilled=!1,s._startPoint={$type:i.Point_$type,x:3,y:this.height/-2*.5},a.c={$type:i.Point_$type,x:3,y:this.height/2*.5},s._segments.add(a),t.c.add(s),this.thumbRidges.an=t}else{var h=new i.PathGeometry,u=new i.PathFigure,l=new i.LineSegment(1);u._isClosed=!1,u._isFilled=!1,u._startPoint={$type:i.Point_$type,x:this.width/-2*.5,y:-3},l.c={$type:i.Point_$type,x:this.width/2*.5,y:-3},u._segments.add(l),h.c.add(u);var c=new i.PathFigure,p=new i.LineSegment(1);c._isClosed=!1,c._isFilled=!1,c._startPoint={$type:i.Point_$type,x:this.width/-2*.5,y:0},p.c={$type:i.Point_$type,x:this.width/2*.5,y:0},c._segments.add(p),h.c.add(c);var d=new i.PathFigure,f=new i.LineSegment(1);d._isClosed=!1,d._isFilled=!1,u._startPoint={$type:i.Point_$type,x:this.width/-2*.5,y:3},l.c={$type:i.Point_$type,x:this.width/2*.5,y:3},d._segments.add(f),h.c.add(d),this.thumbRidges.an=h}},n.prototype.d=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),e._segments.add(n),t.c.add(e),this.thumbBox.an=t},Object.defineProperty(n.prototype,"orientation",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.d(),this.e())},Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbBox",{get:function(){return this._thumbBox},set:function(t){this._thumbBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbRidges",{get:function(){return this._thumbRidges},set:function(t){this._thumbRidges=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackRangeVisual",i.Base.$,[Ht]),n}(i.Base),gi=new i.Type(null,"IMultiSliderTrackShadeVisual"),yi=i.markEnum("MultiSliderTrackShadeOrientation","HorizontalLower,0|HorizontalHigher,1|VerticalLower,2|VerticalHigher,3"),mi=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.a=0,e.c=-1,e.b=-1,e._shadeBox=null,e._shadeOutline=null,e._allPaths=null,e.shadeBox=new i.Path,e.shadeOutline=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.shadeBox),e.allPaths.add(e.shadeOutline),e.shadeBox._fill=e.getShadeBoxDefaultBrush(),e.shadeOutline._stroke=e.getShadeOutlineDefaultBrush(),e.shadeOutline.ad=e.getShadeOutlineDefaultStrokeThickness(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.getShadeBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(128,255,255,255),t;var t},n.prototype.getShadeOutlineDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getShadeOutlineDefaultStrokeThickness=function(){return 1},n.prototype.d=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),e._segments.add(n),t.c.add(e),this.shadeBox.an=t},n.prototype.e=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;switch(e._isClosed=!1,e._isFilled=!1,this.orientation){case 0:e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2});break;case 1:e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/2},n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2});break;case 2:e._startPoint={$type:i.Point_$type,x:this.width/2,y:this.height/2},n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/-2});break;case 3:e._startPoint={$type:i.Point_$type,x:this.width/2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2})}e._segments.add(n),t.c.add(e),this.shadeOutline.an=t},Object.defineProperty(n.prototype,"orientation",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.d(),this.e())},Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shadeBox",{get:function(){return this._shadeBox},set:function(t){this._shadeBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shadeOutline",{get:function(){return this._shadeOutline},set:function(t){this._shadeOutline=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiTrackShadeVisual",i.Base.$,[gi]),n}(i.Base),vi=i.markEnum("MultiSliderVisualArea","Thumb,0|RangeThumb,1|Bar,2|None,3"),_i=i.markEnum("IconViewType","SVG,0|SVGPath,1|SVGPaths,2|DataURL,3|Source,4|None,5"),Ci=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.g=0,e.h=0,e.e=0,e.c=0,e.b=null,e.a=null,e.d=0,e}return e.__extends(n,t),n.prototype.i=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left : "+this.f+", "),t.l("top : "+this.g+", "),t.l("height : "+this.e+", "),t.l("width : "+this.h+", "),t.l("baseTheme : "+i.enumGetBox(i.BaseControlTheme_$type,this.c)+", "),t.l("backgroundColor : "+this.b.serialize()+", "),t.l("actualSelectAllCaptionTextColor : "+this.a.serialize()+", "),t.l("actualRowHeight : "+this.d),t.l("}"),t.toString()},n.$t=i.markType(n,"CheckboxListVisualModelExport"),n}(i.Base),ki=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=0,e.e=0,e.f=0,e.b=0,e.a=null,e.k=null,e.l=null,e.m=null,e.d=0,e.i=null,e.j=null,e.h=null,e}return e.__extends(n,t),n.prototype.g=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left: "+this.c+", "),t.l("top: "+this.e+", "),t.l("width: "+this.f+", "),t.l("height: "+this.b+", "),t.l('text : "'+this.h+'", '),t.l("actualTextColor: "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.k)||t.l('textStyleFontStyle: "'+this.k+'", '),i.stringIsNullOrEmpty(this.l)||t.l('textStyleFontVariant: "'+this.l+'", '),i.stringIsNullOrEmpty(this.m)||t.l('textStyleFontWeight: "'+this.m+'", '),i.stringIsNullOrEmpty(this.i)||t.l('textStyleFontFamily: "'+this.i+'", '),i.stringIsNullOrEmpty(this.j)||t.l('textStyleFontStretch: "'+this.j+'", '),i.isNaN_(this.d)||t.l("textStyleFontSize: "+this.d+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"TextBlockVisualModelExport"),n}(i.Base);t.ButtonClickEventArgs=p,t.ButtonDisplayStyle_$type=u,t.ButtonGroupDisplayStyle_$type=fe,t.ButtonGroupOrientation=pe,t.ButtonGroupOrientation_$type=de,t.ButtonGroupSelectionChangedEventArgs=ge,t.ButtonGroupView=me,t.ButtonGroupVisualModelExport=ye,t.ButtonView=f,t.ButtonVisualModelExport=d,t.CalendarView=U,t.CalendarVisualModelExport=I,t.CheckboxChangeEventArgs=ke,t.CheckboxLabelPosition_$type=Ce,t.CheckboxListVisualModelExport=Ci,t.CheckboxView=Be,t.CheckboxVisualModelExport=xe,t.ColorEditor=Ee,t.ColorEditorBridge=Ae,t.ColorEditorGotFocusEventArgs=Ne,t.ColorEditorLostFocusEventArgs=Ue,t.ColorEditorPanel=qe,t.ColorEditorPanelClosedEventArgs=Ie,t.ColorEditorPanelSelectedValueChangedEventArgs=Se,t.ColorEditorPanelView=Re,t.ColorEditorView=De,t.ColorEditorVisualModelExport=Oe,t.DateFormats=St,t.DateFormats_$type=Ot,t.DatePickerView=At,t.DatePickerVisualModelExport=Ft,t.DateTimeValueFormatter=It,t.DayInfo=T,t.DayOfWeek=j,t.DayOfWeek_$type=P,t.DefaultMultiSliderTrackBarVisual=Xt,t.DefaultMultiSliderTrackRangeVisual=bi,t.DefaultMultiSliderTrackThumbCalloutVisual=te,t.DefaultMultiSliderTrackThumbVisual=Yt,t.DefaultMultiTrackShadeVisual=mi,t.ElevationHelper=h,t.FirstWeek=w,t.FirstWeek_$type=S,t.GotFocusEventArgs=Nt,t.IMultiSliderTrackBarVisual_$type=Lt,t.IMultiSliderTrackRangeVisual_$type=Ht,t.IMultiSliderTrackShadeVisual_$type=gi,t.IMultiSliderTrackThumbCalloutVisual_$type=Mt,t.IMultiSliderTrackThumbVisual_$type=Vt,t.ISliderTrackOwner_$type=ee,t.IconClickedEventArgs=v,t.IconView=C,t.IconViewType_$type=_i,t.IconVisualModelExport=_,t.IgcButtonClickEventArgs=g,t.IgcButtonGroupSelectionChangedEventArgs=oi,t.IgcCheckboxChangeEventArgs=ei,t.IgcColorEditorComponent=ze,t.IgcColorEditorGotFocusEventArgs=Ge,t.IgcColorEditorLostFocusEventArgs=We,t.IgcColorEditorModule=ti,t.IgcColorEditorPanelClosedEventArgs=fi,t.IgcColorEditorPanelComponent=Ve,t.IgcColorEditorPanelModule=Ze,t.IgcColorEditorPanelSelectedValueChangedEventArgs=$e,t.IgcGotFocusEventArgs=Dt,t.IgcInputChangeEventArgs=mt,t.IgcLostFocusEventArgs=Et,t.IgcMultiSliderComponent=Je,t.IgcMultiSliderModule=Qe,t.IgcMultiSliderResolvingToolTipValueEventArgs=Xe,t.IgcMultiSliderThumb=Me,t.IgcMultiSliderThumbCollection=Le,t.IgcMultiSliderThumbValueChangingEventArgs=Ye,t.IgcMultiSliderTrackThumbRange=He,t.IgcMultiSliderYValueChangingEventArgs=Ke,t.IgcSelectedValueChangedEventArgs=A,t.IgcXButtonComponent=y,t.IgcXButtonGroupButtonCollection=ri,t.IgcXButtonGroupComponent=si,t.IgcXButtonGroupModule=ai,t.IgcXButtonModule=m,t.IgcXCalendarComponent=R,t.IgcXCalendarLocaleEnModule=q,t.IgcXCalendarModule=D,t.IgcXCheckboxComponent=ii,t.IgcXCheckboxModule=ni,t.IgcXDatePickerComponent=qt,t.IgcXDatePickerModule=$t,t.IgcXIconComponent=x,t.IgcXIconModule=B,t.IgcXInputComponent=kt,t.IgcXInputGroupComponent=Tt,t.IgcXInputGroupInputCollection=Pt,t.IgcXInputGroupItemComponent=yt,t.IgcXInputGroupModule=wt,t.IgcXInputModule=xt,t.IgcXLabelComponent=Bt,t.IgcXLabelModule=jt,t.IgcXPrefixComponent=hi,t.IgcXPrefixModule=ui,t.IgcXRippleComponent=s,t.IgcXRippleModule=a,t.IgcXSuffixComponent=li,t.InputChangeEventArgs=nt,t.InputGroupDisplayType=K,t.InputGroupDisplayType_$type=J,t.InputGroupView=ot,t.InputGroupVisualModelExport=Q,t.InputShiftType=M,t.InputShiftType_$type=L,t.InputView=ut,t.InputVisualModelExport=tt,t.KEYCODES_$type=pi,t.LabelShiftType=V,t.LabelShiftType_$type=H,t.LabelView=ht,t.LabelVisualModelExport=Z,t.LostFocusEventArgs=Ut,t.MaskOptions=rt,t.MaskParsingService=it,t.MultiSlider=le,t.MultiSliderBridge=ce,t.MultiSliderCursor_$type=di,t.MultiSliderHitInfo=ne,t.MultiSliderOrientation=re,t.MultiSliderOrientation_$type=oe,t.MultiSliderResolvingToolTipValueEventArgs=se,t.MultiSliderThumb=Qt,t.MultiSliderThumbCollection=ie,t.MultiSliderThumbRangePosition=Kt,t.MultiSliderThumbRangePosition_$type=Jt,t.MultiSliderThumbValueChangingEventArgs=ae,t.MultiSliderTrackShadeOrientation_$type=yi,t.MultiSliderTrackThumbRange=Zt,t.MultiSliderView=ue,t.MultiSliderVisualArea_$type=vi,t.MultiSliderYValueChangingEventArgs=he,t.NativeUIXInputsFactory=Fe,t.PrefixShiftType=G,t.PrefixShiftType_$type=z,t.PrefixView=at,t.PrefixVisualModelExport=Y,t.Replaced=et,t.RippleView=r,t.RippleVisualModelExport=n,t.SelectedValueChangedEventArgs=O,t.SuffixShiftType=$,t.SuffixShiftType_$type=W,t.SuffixView=st,t.SuffixVisualModelExport=X,t.TextBlockVisualModelExport=ki,t.TextElementsVisualModelExport=N,t.Theme=l,t.ThemeResolver=c,t.XButton=b,t.XButtonBridge=zt,t.XButtonGroup=ve,t.XButtonGroupBridge=_e,t.XButtonGroupButtonCollection=be,t.XCalendar=F,t.XCalendarLocaleEn=E,t.XCheckbox=je,t.XCheckboxBridge=Pe,t.XComponentBridge=Wt,t.XDatePicker=Rt,t.XIcon=k,t.XIconBridge=Te,t.XIconButtonBridge=ci,t.XInput=gt,t.XInputBridge=Gt,t.XInputGroup=dt,t.XInputGroupInputCollection=ft,t.XInputGroupItem=lt,t.XLabel=bt,t.XPopupBridge=we,t.XPrefix=pt,t.XRipple=o,t.XSuffix=ct,Object.defineProperty(t,"__esModule",{value:!0})}));
7
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core"],e):e((t=t||self)["igniteui-webcomponents-inputs"]={},t.tslib,t.igniteuiWebcomponentsCore)}(this,(function(t,e,i){"use strict";var n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=null,e.f=0,e.d=!1,e.c=!1,e.e=!1,e}return e.__extends(n,t),n.prototype.g=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("ActualHoverColor : "+this.a.serialize()+", "),t.l("ActualRippleColor : "+this.b.serialize()+", "),t.l("RippleDuration : "+this.f+", "),t.l("IsDisabled : "+this.d+", "),t.l("IsCentered : "+this.c+", "),t.l("IsHoverEnabled : "+this.e+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"RippleVisualModelExport"),n}(i.Base),r=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.g=null,e.c=null,e.f=new i.List$1(i.Delegate_$type,0),e.l=null,e.d=!0,e.k=null,e.h=null,e.j=null,e.i=null,e}return e.__extends(n,t),n.prototype.w=function(){},n.prototype.e=function(){return!0},n.prototype.t=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.f)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.f.clear()}this.g=t,this.b.ai()},n.prototype.v=function(){var t,n;if(null==this.b.q){this.l=null;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()}else{var s=this.b.q,a=this.g.getWrapper(s);this.l=a,this.f.add(a.listen("click",i.runOn(this,this.p))),this.f.add(a.listen("mouseenter",i.runOn(this,this.q))),this.f.add(a.listen("mouseleave",i.runOn(this,this.r)))}},n.prototype.r=function(t){this.b.ag()},n.prototype.q=function(t){this.b.af()},n.prototype.p=function(t){if(null!=this.l){var e=this.g.rootWrapper.getOffset(),i=t.pageX-e.left,n=t.pageY-e.top;this.b.al(i,n,this.g.rootWrapper.outerWidth(),this.g.rootWrapper.outerHeight())}},n.prototype.aa=function(){this.b.j&&this.g.rootWrapper.setStyleProperty("background-color",this.b.as._fill)},n.prototype.x=function(){this.g.rootWrapper.setStyleProperty("background-color","transparent")},n.prototype.z=function(){this.g.rootWrapper.setStyleProperty("background-color",this.b.as._fill)},n.prototype.m=function(t,e,n){var r,o=this.g.createElement("span");return o.setStyleProperty("width",2*n+"px"),o.setStyleProperty("height",2*n+"px"),o.setStyleProperty("top",e+"px"),o.setStyleProperty("left",t+"px"),o.setStyleProperty("background-color",this.b.at._fill),o.setStyleProperty("position","absolute"),o.setStyleProperty("pointer-events","none"),o.setStyleProperty("border-radius",n+"px"),o.setStyleProperty("opacity",".5"),i.NativeUI.af(o,((r=new i.ScaleTransform).l=.3,r.m=.3,r)),this.g.append(o),o},n.prototype.y=function(t){t.remove()},n.prototype.n=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.g)},n.prototype.a=function(t,e){return new i.AnimationKeyFrameEffect(0,t,0,null,e)},n.prototype.o=function(t){},n.prototype.s=function(){this.d=!0,this.v()},n.prototype.u=function(){var t,n;this.d=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.$t=i.markType(n,"RippleView"),n}(i.Base),o=function(t){function o(){var e=t.call(this)||this;e.c=null,e.j=!1,e.p=null,e.ar=null,e.aq=null,e.ao=o.au,e.m=new i.LinkedList$1(i.IKeyFrameAnimation_$type),e.ap=o.av,e.n=600,e.f=!1,e.e=!1,e.g=!1,e.propertyChanged=null;var n=new r;return n.b=e,e.c=n,e.c.w(),e}return e.__extends(o,t),o.prototype.destroy=function(){this.provideContainer(null)},o.prototype.ah=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.aj(t,e,n)},o.prototype.aj=function(t,e,i){switch(t){case"RippleColor":this.at=null!=this.ax?this.ax:o.av;break;case"HoverColor":this.as=null!=this.aw?this.aw:o.au;break;case"EventSource":this.c.e()&&this.c.v();break;case"ActualRippleColor":this.an();break;case"ActualHoverColor":this.am()}},o.prototype.am=function(){this.i?this.c.x():this.c.aa()},o.prototype.an=function(){},o.prototype.af=function(){this.j=!0,this.i?this.c.x():this.k&&this.c.z()},o.prototype.ag=function(){this.j=!1,(this.k||this.i)&&this.c.x()},Object.defineProperty(o.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.ah("EventSource",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"ax",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.ah("RippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"aw",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.ah("HoverColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"as",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.ah("ActualHoverColor",e,t)},enumerable:!1,configurable:!0}),o.prototype.al=function(t,e,i,n){var r=this;if(!this.i){var o=Math.max(i,n)/2,s=t-o,a=e-o;this.h&&(s=0,a=0);var h=this.c.m(s,a,o),l=this.d(h);this.m.f(l);var u=this.m.d;l.play(),l.finished.f((function(t){l.commitStyles(),r.m.h(u),r.c.y(h)}))}},o.prototype.d=function(t){var e,n=this.a;return i.KeyFrameAnimationFactory.f.c(this.c.a(t,n).m(new i.AnimationKeyFrameProperty(1,.5),new i.AnimationKeyFrameProperty(14,(e=new i.ScaleTransform,e.l=.3,e.m=.3,e))).m(new i.AnimationKeyFrameProperty(1,0),new i.AnimationKeyFrameProperty(14,function(){var t=new i.ScaleTransform;return t.l=2,t.m=2,t}())))},Object.defineProperty(o.prototype,"at",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.ah("ActualRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.ah("RippleDuration",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"i",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.ah("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.ah("IsCentered",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"k",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.ah("IsHoverEnabled",e,t)},enumerable:!1,configurable:!0}),o.prototype.ai=function(){this.c.v()},Object.defineProperty(o.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=this.o,t.b=0,t},enumerable:!1,configurable:!0}),o.prototype.onDetachedFromUI=function(){this.c.u()},o.prototype.onAttachedToUI=function(){this.c.s()},o.prototype.l=function(){return this.c.e()},o.prototype.r=function(){return this.b()},o.prototype.v=function(){return this.b().g()},o.prototype.b=function(){var t=new n;return t.a=i.AppearanceHelper.a(this.as),t.b=i.AppearanceHelper.a(this.at),t.f=this.o,t.d=this.i,t.c=this.h,t.e=this.k,t},o.prototype.provideContainer=function(t){this.c.t(t)},o.$t=i.markType(o,"XRipple",i.Base.$,[i.INotifyPropertyChanged_$type]),o.au=i.BrushUtil.l(40,0,0,0),o.av=i.BrushUtil.l(189,0,0,0),o}(i.Base),s=function(t){function n(){var e=t.call(this)||this;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._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._renderer=new i.WebComponentRenderer(e,document,!0,{}),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._container=e._renderer.createElement("div"),e._renderer.updateRoot(e._container),e._container.setStyleProperty("display","inline-block"),e._container,null!=e._container.getNativeElement()&&e._container.getNativeElement(),e._wrapper=e._renderer;var n=e.i;return e._ripple=n,n.provideContainer(e._renderer),e}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}),Object.defineProperty(n.prototype,"top",{get:function(){return this._top},set:function(t){this._top=t,this.style.top=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"left",{get:function(){return this._left},set:function(t){this._left=t,this.style.left=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(t){this._position=t,this.style.position=t},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._ripple.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new o},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-ripple"),this.classList.add("igc-x-ripple"),this.appendChild(this._renderer.rootWrapper.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXRippleComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXRippleComponent=t}return n._observedAttributesIgcXRippleComponent},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,"eventSource",{get:function(){return this.i.q},set:function(t){this.i.q=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleColor",{get:function(){return i.brushToString(this.i.ax)},set:function(t){this.i.ax=i.stringToBrush(t),this._a("rippleColor",i.brushToString(this.i.ax))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverColor",{get:function(){return i.brushToString(this.i.aw)},set:function(t){this.i.aw=i.stringToBrush(t),this._a("hoverColor",i.brushToString(this.i.aw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverColor",{get:function(){return i.brushToString(this.i.as)},set:function(t){this.i.as=i.stringToBrush(t),this._a("actualHoverColor",i.brushToString(this.i.as))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRippleColor",{get:function(){return i.brushToString(this.i.at)},set:function(t){this.i.at=i.stringToBrush(t),this._a("actualRippleColor",i.brushToString(this.i.at))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleDuration",{get:function(){return this.i.o},set:function(t){this.i.o=+t,this._a("rippleDuration",this.i.o)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.i},set:function(t){this.i.i=i.ensureBool(t),this._a("isDisabled",this.i.i)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCentered",{get:function(){return this.i.h},set:function(t){this.i.h=i.ensureBool(t),this._a("isCentered",this.i.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHoverEnabled",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureBool(t),this._a("isHoverEnabled",this.i.k)},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("XRippleComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.r()},n.prototype.exportSerializedVisualModel=function(){return this.i.v()},n._observedAttributesIgcXRippleComponent=null,n.htmlTagName="igc-x-ripple",n._isElementRegistered=!1,n}(i.IgcHTMLElement),a=function(){function t(){}return t.register=function(){s.register(),i.TypeRegistrar.registerCons("IgcXRippleComponent",s),i.TypeRegistrar.registerCons("IgcXRippleComponent",s),i.TypeRegistrar.register("XRipple",o.$type)},t}(),h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.g=function(t,e){return null==n.c&&(n.c=["0 1px 3px 0 ","0 1px 5px 0 ","0 1px 8px 0 ","0 2px 4px -1px ","0 3px 5px -1px ","0 3px 5px -1px ","0 4px 5px -2px ","0 5px 5px -3px ","0 5px 6px -3px ","0 6px 6px -3px ","0 6px 7px -4px ","0 7px 8px -4px ","0 7px 8px -4px ","0 7px 9px -4px ","0 8px 9px -5px ","0 8px 10px -5px ","0 8px 11px -5px ","0 9px 11px -5px ","0 9px 12px -6px ","0 10px 13px -6px ","0 10px 13px -6px ","0 10px 14px -6px ","0 11px 14px -7px ","0 11px 15px -7px "]),--t<0?"":(t>n.c.length-1&&(t=n.c.length-1),n.c[t]+e)},n.f=function(t,e){return null==n.b&&(n.b=["0 1px 1px 0 ","0 2px 2px 0 ","0 3px 4px 0 ","0 4px 5px 0 ","0 5px 8px 0 ","0 6px 10px 0 ","0 7px 10px 1px ","0 8px 10px 1px ","0 9px 12px 1px ","0 10px 14px 1px ","0 11px 15px 1px ","0 12px 17px 2px ","0 13px 19px 2px ","0 14px 21px 2px ","0 15px 22px 2px ","0 16px 24px 2px ","0 17px 26px 2px ","0 18px 28px 2px ","0 19px 29px 2px ","0 20px 31px 3px ","0 21px 33px 3px ","0 22px 35px 3px ","0 23px 36px 3px ","0 24px 38px 3px "]),--t<0?"":(t>n.b.length-1&&(t=n.b.length-1),n.b[t]+e)},n.d=function(t,e){return null==n.a&&(n.a=["0 2px 1px -1px ","0 3px 1px -2px ","0 3px 3px -2px ","0 1px 10px 0 ","0 1px 14px 0 ","0 1px 18px 0 ","0 2px 16px 1px ","0 3px 14px 2px ","0 3px 16px 2px ","0 4px 18px 3px ","0 4px 20px 3px ","0 5px 22px 4px ","0 5px 24px 4px ","0 5px 26px 4px ","0 6px 28px 5px ","0 6px 30px 5px ","0 6px 32px 5px ","0 7px 34px 6px ","0 7px 36px 6px ","0 8px 38px 7px ","0 8px 40px 7px ","0 8px 42px 7px ","0 9px 44px 8px ","0 9px 46px 8px "]),--t<0?"":(t>n.a.length-1&&(t=n.a.length-1),n.a[t]+e)},n.e=function(t,e,i,r,o){return 2==o?"0 0 "+t+"px "+t/20+"rem "+e._fill:0==t?"":n.g(t,e._fill)+", "+n.f(t,i._fill)+", "+n.d(t,r._fill)},n.$t=i.markType(n,"ElevationHelper"),n.c=null,n.b=null,n.a=null,n}(i.Base),l=i.markEnum("ButtonDisplayStyle","Raised,0|Flat,1|Outlined,2|Fab,3|Icon,4"),u=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.b=null,r.a=null,e=null==e?0:e){case 0:var o=i[0];r.b=o;break;case 1:o=i[0];var s=i[1],a=[o],h=a[0];r.b=h,r.a=s}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},enumerable:!1,configurable:!0}),n.prototype.item=function(t){return this.b.item(t)},n.$t=i.markType(n,"Theme"),n}(i.Base),c=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.b=0,r.h=null,e=null==e?0:e){case 0:break;case 1:var o=i[0],s=i[1];r.h=o,r.b=s}return r}return e.__extends(n,t),n.aj=function(t,e,i){return 1==t?i:e},n.r=function(t,e,i){return 1==t?i:e},n.m=function(t,e,i){return 1==t?i:e},n.ae=function(t,e,i){return 1==t?i:e},n.ao=function(t,e,i){return 1==t?i:e},n.g=function(t,e,i){return 1==t?i:e},n.a=function(t){return new u(0,t)},n.ai=function(t,e,i){return e.ag(t,i)},n.ah=function(t,e,i,n){return e.af(t,i,n)},n.q=function(t,e,i){return e.o(t,i)},n.p=function(t,e,i,n){return e.n(t,i,n)},n.l=function(t,e,i){return e.j(t,i)},n.k=function(t,e,i,n){return e.i(t,i,n)},n.x=function(t,e,i){return e.v(t,i)},n.w=function(t,e,i,n){return e.u(t,i,n)},n.f=function(t,e,i){return e.d(t,i)},n.e=function(t,e,i,n){return e.c(t,i,n)},n.ac=function(t,e,i){return e.aa(t,i)},n.ab=function(t,e,i,n){return e.z(t,i,n)},n.ad=function(t,e,i,n,r){return i.y(t,e,n,r)},n.an=function(t,e,i){return e.al(t,i)},n.am=function(t,e,i,n){return e.ak(t,i,n)},n.prototype.t=function(t,e){return this.h.containsKey(t)?this.h.item(t).item(e):this.h.item(this.b).item(e)},n.prototype.s=function(t,e,i){return this.h.containsKey(t)?this.h.item(t).c.item(e).item(i):this.h.item(this.b).c.item(e).item(i)},n.prototype.ag=function(t,e){return this.t(t,e)},n.prototype.af=function(t,e,i){return this.s(t,e,i)},n.prototype.o=function(t,e){return i.typeGetValue(this.t(t,e))},n.prototype.n=function(t,e,n){return i.typeGetValue(this.s(t,e,n))},n.prototype.j=function(t,e){return this.t(t,e)},n.prototype.i=function(t,e,n){var r=this.s(t,e,n);return null!==i.typeCast(i.CornerRadius.$,r)?r.d:null!==i.typeCast(i.Thickness.$,r)?r.left:this.s(t,e,n)},n.prototype.v=function(t,e){return this.t(t,e)},n.prototype.u=function(t,e,i){return this.s(t,e,i)},n.prototype.d=function(t,e){return i.EnumUtil.getEnumValue(i.ElevationMode_$type,this.t(t,e))},n.prototype.c=function(t,e,n){return i.EnumUtil.getEnumValue(i.ElevationMode_$type,this.s(t,e,n))},n.prototype.aa=function(t,e){return this.t(t,e)},n.prototype.z=function(t,e,i){return this.s(t,e,i)},n.prototype.y=function(t,e,i,n){return this.s(t,i,n).item(e)},n.prototype.al=function(t,e){return this.t(t,e)},n.prototype.ak=function(t,e,i){return this.s(t,e,i)},n.$t=i.markType(n,"ThemeResolver"),n}(i.Base),p=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),d=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.s=0,e.q=0,e.p=0,e.t=0,e.h=0,e.i=0,e.c=null,e.g=null,e.d=null,e.a=null,e.u=0,e.e=null,e.ag=null,e.b=null,e.j=0,e.f=null,e.o=0,e.ad=null,e.ae=null,e.af=null,e.r=0,e.ab=null,e.ac=null,e.x=null,e.y=null,e.z=null,e.w=null,e.v=null,e.aa=null,e.m=!1,e.k=!1,e.n=!1,e.l=!1,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.s+", "),t.l("left : "+this.q+", "),t.l("height : "+this.p+", "),t.l("width : "+this.t+", "),t.l("baseTheme : "+this.h+", "),t.l("actualDensity : "+this.i+", "),t.l("actualBorderColor : "+this.c.serialize()+", "),t.l("actualUmbraShadowColor : "+this.g.serialize()+", "),t.l("actualPenumbraShadowColor : "+this.d.serialize()+", "),t.l("actualAmbientShadowColor : "+this.a.serialize()+", "),t.l("actualRestingElevation : "+this.u+", "),null!=this.e&&t.l("actualRippleColor : "+this.e.serialize()+", "),t.l("actualBackgroundColor : "+this.b.serialize()+", "),t.l("actualElevationMode : "+this.j+", "),t.l("actualTextColor : "+this.f.serialize()+", "),t.l("actualBorderWidth : "+this.o+", "),i.stringIsNullOrEmpty(this.ad)||t.l('textStyleFontStyle : "'+this.ad+'", '),i.stringIsNullOrEmpty(this.ae)||t.l('textStyleFontVariant : "'+this.ae+'", '),i.stringIsNullOrEmpty(this.af)||t.l('textStyleFontWeight : "'+this.af+'", '),i.stringIsNullOrEmpty(this.ab)||t.l('textStyleFontFamily : "'+this.ab+'", '),i.stringIsNullOrEmpty(this.ac)||t.l('textStyleFontStretch : "'+this.ac+'", '),i.isNaN_(this.r)||t.l("textStyleFontSize : "+this.r+", "),t.l('display : "'+this.x+'", '),t.l('flexDirection : "'+this.y+'", '),t.l('flexGrow : "'+this.z+'", '),t.l('alignItems : "'+this.w+'", '),null!=this.v&&t.l('value : "'+this.v.toString()+'", '),t.l('name : "'+this.aa+'", '),t.l("isFocused : "+this.m+", "),t.l("actualDisableRipple : "+this.k+", "),t.l("isHover : "+this.n+", "),t.l("isDisabled : "+this.l+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"ButtonVisualModelExport",i.Base.$,[i.IVisualData_$type]),n}(i.Base),f=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.l=null,e.e=null,e.i=new i.List$1(i.Delegate_$type,0),e.f=!0,e.o=null,e.k=NaN,e.j=NaN,e.m=null,e.d=null,e.n=null,e.q=null,e.p=null,e}return e.__extends(n,t),n.prototype.ar=function(){},n.prototype.h=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return this.o},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.n},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var n,r,s=this;if(null!=t){this.l=t,this.l.rootWrapper.setStyleProperty("display","flex"),this.l.rootWrapper.setStyleProperty("flex-direction","row"),this.l.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.l.rootWrapper.setStyleProperty("align-items","center");var a=this.l.createElement("button");this.o=a,this.o.setStyleProperty("position","relative"),this.o.setStyleProperty("display","inline-flex"),this.o.setStyleProperty("align-items","center"),this.o.setStyleProperty("justify-content","center"),this.a1(),this.o.setStyleProperty("border","none"),this.o.setStyleProperty("cursor","pointer"),this.o.setStyleProperty("user-select","none"),this.o.setStyleProperty("outline-style","none"),this.o.setStyleProperty("-webkit-tap-highlight-color","transparent"),this.o.setStyleProperty("overflow","hidden"),this.o.setStyleProperty("white-space","no-wrap"),this.o.setStyleProperty("color","#000"),this.o.setStyleProperty("background",this.c.nt._fill),i.NativeUI.o(this.o,this.c.k4),this.o.setAttribute("id",this.c.hz),this.ay(),this.i.add(a.listen("change",i.runOn(this,this.aa))),this.i.add(a.listen("click",i.runOn(this,this.ab))),this.i.add(a.listen("focus",i.runOn(this,this.ac))),this.i.add(a.listen("blur",i.runOn(this,this.z))),this.i.add(this.l.rootWrapper.listen("mouseenter",i.runOn(this,this.w))),this.i.add(this.l.rootWrapper.listen("mouseleave",i.runOn(this,this.x))),this.i.add(this.l.rootWrapper.listen("mousedown",i.runOn(this,this.v))),this.i.add(this.l.rootWrapper.listen("mouseup",i.runOn(this,this.y))),this.i.add(this.l.rootWrapper.listen("focusin",i.runOn(this,this.ad))),this.i.add(this.l.rootWrapper.listen("focusout",i.runOn(this,this.ae))),this.l.append(a);var h=this.l.createElement("div"),l=this.l.getSubRenderer(h);h.setStyleProperty("position","absolute"),h.setStyleProperty("width","100%"),h.setStyleProperty("height","100%"),h.setStyleProperty("left","0px"),h.setStyleProperty("top","0px"),h.setStyleProperty("overflow","hidden");var u=new o;u.provideContainer(l),u.q=a;this.l.getExternal(u,this.l.rootWrapper,this.l.getExternal(this.c,null,null));u.h=!1,u.k=!0,this.d=u,this.o.append(h);var c=this.l.createElement("div");c.addClass("ig-button-content"),c.setStyleProperty("font-family","Verdana"),c.setStyleProperty("font-weight","400"),c.setStyleProperty("font-size",".875rem"),this.n=c,this.i.add(c.listen("click",i.runOn(this,this.u))),this.o.append(c),this.p=c,this.l.getPortal(c,"ChildContent",(function(t){var e=t.componentRef;s.q=e,s.p.setStyleProperty("flex-direction",s.c.g5),s.p.setStyleProperty("align-items",s.c.fc);var i=s.c.g5,n=null!=s.c.fk?s.c.fk:s.c.f1,r=s.c.fc;e.display=n,e.flexDirection=i,e.alignItems=r}),!0),this.c.kq()}else{try{for(var p=e.__values(i.fromEnum(this.i)),d=p.next();!d.done;d=p.next()){(0,d.value)()}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}this.i.clear()}},n.prototype.an=function(){this.d.i=this.c.at},n.prototype.a1=function(){var t="2.25rem",e="2.25rem",n="2.25rem",r="2.25rem",o="3.5rem",s="3.5rem",a="3.5rem",h="3.5rem",l="2.25rem",u=".9375rem",c=".5625rem 1rem";switch(this.c.r){case 2:c=".375rem .75rem",l="1.875rem",o="3rem",s="3rem",a="3rem",h="3rem",u=".6875rem";break;case 3:c=".1875rem 1rem",l="1.5rem",s="2.5rem",o="2.5rem",h="2.5rem",a="2.5rem",u=".4375rem";break;case 4:c="0.09375rem 0.5rem",l="0.5rem",s="1.5rem",o="1.5rem",h="1.5rem",a="1.5rem",u="0.21875rem",e="1rem",t="1rem",r="1rem",n="1rem"}i.isNaN_(this.c.bn)||i.isNaN_(this.c.bp)||i.isNaN_(this.c.bo)||i.isNaN_(this.c.bm)||(c=this.c.bp+"px "+this.c.bo+"px "+this.c.bm+"px "+this.c.bn+"px"),4==this.c.e?(this.o.setStyleProperty("min-width",t),this.o.setStyleProperty("min-height",e),this.o.setStyleProperty("padding","0px"),this.o.setStyleProperty("width",n),this.o.setStyleProperty("height",r)):3==this.c.e?(this.o.setStyleProperty("min-width",o),this.o.setStyleProperty("min-height",s),this.o.setStyleProperty("padding",u),this.o.setStyleProperty("width",a),this.o.setStyleProperty("height",h)):(this.o.setStyleProperty("width","auto"),this.o.setStyleProperty("height","auto"),this.o.setStyleProperty("min-width","5.5rem"),this.o.setStyleProperty("min-height",l),this.o.setStyleProperty("padding",c)),this.l.rootWrapper.setStyleProperty("height","auto"),!i.isNaN_(this.c.bk)&&this.c.bk>0?this.o.setStyleProperty("border-style","solid"):this.o.setStyleProperty("border-style","none"),i.isNaN_(this.k)||this.o.setStyleProperty("min-width",this.k.toString()+"px"),i.isNaN_(this.j)||this.o.setStyleProperty("min-height",this.j.toString()+"px"),this.c.az&&(this.o.setStyleProperty("width","100%"),this.o.setStyleProperty("height","100%"),this.l.rootWrapper.setStyleProperty("height","100%"))},n.prototype.av=function(){switch(this.c.lj){case 1:this.o.setStyleProperty("justify-content","center"),this.p.setStyleProperty("flex-grow","unset");break;case 3:this.o.setStyleProperty("justify-content","stretch"),this.p.setStyleProperty("flex-grow","1");break;case 0:this.o.setStyleProperty("justify-content","left"),this.p.setStyleProperty("flex-grow","unset");break;case 2:this.o.setStyleProperty("justify-content","right"),this.p.setStyleProperty("flex-grow","unset")}},n.prototype.ax=function(t){this.k=t},n.prototype.aw=function(t){this.j=t},n.prototype.at=function(){this.o.setAttribute("disabled",this.c.disabled?"true":"false"),this.o.setProperty("disabled",this.c.disabled)},n.prototype.ao=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("display",this.c.f1);var t=this.q;if(null!=this.q){this.p.setStyleProperty("display",this.c.f1);var e=null!=this.c.fk?this.c.f1:this.c.fk;t.display=e}var i=this.l.getExternal(this.c,null,null);i&&i._onDisplayChanged&&i._onDisplayChanged()}},n.prototype.ak=function(){if(null!=this.l){var t=this.q;if(null!=this.q){var e=null!=this.c.fk?this.c.fk:this.c.f1;t.display=e}}},n.prototype.ai=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("align-items",this.c.fc),this.o.setStyleProperty("align-items",this.c.fc);var t=this.q;if(null!=this.q){this.p.setStyleProperty("align-items",this.c.fc);var e=this.c.fc;t.alignItems=e}var i=this.l.getExternal(this.c,null,null);i&&i._onAlignItemsChanged&&i._onAlignItemsChanged()}},n.prototype.ap=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("flex-direction",this.c.g5),this.o.setStyleProperty("flex-direction",this.c.g5);var t=this.l.getExternal(this.c,null,null),e=this.q;if(null!=this.q){this.p.setStyleProperty("flex-direction",this.c.g5);var i=this.c.g5;e.flexDirection=i}t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.aq=function(){if(null!=this.l){this.l.rootWrapper.setStyleProperty("flex-grow",this.c.g7),this.o.setStyleProperty("flex-grow",this.c.g7);var t=this.l.getExternal(this.c,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.u=function(t){},n.prototype.ay=function(){if(this.h()){this.c.hz;this.o.setAttribute("name",this.c.h7),this.o.setProperty("value",this.c.ef),this.c.a0&&this.o.setAttribute("tabindex",this.c.d8.toString()),this.o.setProperty("disabled",this.c.disabled),this.o.setAttribute("aria-label",this.c.fe),this.o.setStyleProperty("cursor",this.c.aw?"unset":"pointer")}},n.prototype.as=function(){if(this.h()){var t=this.c.hz;this.o.setAttribute("id",t)}},n.prototype.w=function(t){this.c.km(),this.c.a6&&t.stopPropagation()},n.prototype.x=function(t){this.c.kn(),this.c.a6&&t.stopPropagation()},n.prototype.v=function(t){this.c.kl(),this.c.a6&&t.stopPropagation()},n.prototype.y=function(t){this.c.ko(),this.c.a6&&t.stopPropagation()},n.prototype.z=function(t){this.c.kf()},n.prototype.ac=function(t){this.c.ki()},n.prototype.ab=function(t){this.c.kg(),this.c.au||t.preventDefault(),this.c.a6&&t.stopPropagation()},n.prototype.ad=function(t){this.c.kj()},n.prototype.ae=function(t){this.c.kk(t.originalEvent.relatedTarget,t.originalEvent.target)},n.prototype.g=function(){return!1},n.prototype.aa=function(t){},n.prototype.ah=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.aj=function(){this.f=!0,this.i.add(this.o.listen("change",i.runOn(this,this.aa))),this.i.add(this.o.listen("click",i.runOn(this,this.ab))),this.i.add(this.o.listen("focus",i.runOn(this,this.ac))),this.i.add(this.o.listen("blur",i.runOn(this,this.z))),this.i.add(this.n.listen("click",i.runOn(this,this.u))),this.i.add(this.o.listen("mouseenter",i.runOn(this,this.w))),this.i.add(this.o.listen("mouseleave",i.runOn(this,this.x))),this.i.add(this.o.listen("mousedown",i.runOn(this,this.v))),this.i.add(this.o.listen("mouseup",i.runOn(this,this.y))),this.i.add(this.o.listen("focusin",i.runOn(this,this.ad))),this.i.add(this.o.listen("focusout",i.runOn(this,this.ae)))},n.prototype.am=function(){var t,n;this.f=!1;try{for(var r=e.__values(i.fromEnum(this.i)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.i.clear()},n.prototype.au=function(){var t=this.c;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.az=function(t,e){this.d.ax=t,this.d.aw=e},n.prototype.a0=function(t,e){var i=h.e(t,this.c.n5,this.c.n2,this.c.ns,e);this.o.setStyleProperty("box-shadow",i)},n.prototype.a2=function(t){null!=t&&this.n.setStyleProperty("font",t.fontString)},n.prototype.af=function(t){this.n.append(t)},n.prototype.ag=function(){this.n.removeChildren()},n.prototype.s=function(){return this.n.getChildCount()>0?this.n.getChildAt(0):null},n.prototype.b=function(){var t=this.l.rootWrapper.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.a=function(){var t=new Array(2);return t[0]=i.NativeUI.k(this.r),t[1]=i.NativeUI.d(this.r),t},n.$t=i.markType(n,"ButtonView"),n}(i.Base),b=function(t){function n(){var e=t.call(this)||this;e._view=null,e.ee=null,e.pt=n.l.ag(n.n,"UmbraShadowColor"),e.ph=n.l.ag(n.n,"PenumbraShadowColor"),e.n8=n.l.ag(n.n,"AmbientShadowColor"),e.w=n.l.d(n.n,"ElevationMode"),e.pk=n.l.af(n.n,i.enumGetBox(l,0),"DisabledBackgroundColor"),e.pl=n.l.af(n.n,i.enumGetBox(l,0),"DisabledBorderColor"),e.pm=n.l.af(n.n,i.enumGetBox(l,0),"DisabledTextColor"),e.df=n.l.n(n.n,i.enumGetBox(l,0),"DisabledElevation"),e.di=n.l.n(n.n,i.enumGetBox(l,0),"RestingElevation"),e.dh=n.l.n(n.n,i.enumGetBox(l,0),"HoverElevation"),e.dg=n.l.n(n.n,i.enumGetBox(l,0),"FocusElevation"),e.pj=n.l.af(n.n,i.enumGetBox(l,0),"BorderColor"),e.pr=n.l.af(n.n,i.enumGetBox(l,0),"RippleColor"),e.lb=n.l.y(n.n,1,i.enumGetBox(l,0),"CornerRadius"),e.bu=n.l.i(n.n,i.enumGetBox(l,0),"BorderWidth"),e.pi=n.l.af(n.n,i.enumGetBox(l,0),"BackgroundColor"),e.ps=n.l.af(n.n,i.enumGetBox(l,0),"TextColor"),e.pq=n.l.af(n.n,i.enumGetBox(l,0),"HoverTextColor"),e.pp=n.l.af(n.n,i.enumGetBox(l,0),"HoverBackgroundColor"),e.pn=n.l.af(n.n,i.enumGetBox(l,0),"FocusBackgroundColor"),e.po=n.l.af(n.n,i.enumGetBox(l,0),"FocusTextColor"),e.om=n.l.af(n.n,i.enumGetBox(l,1),"DisabledBackgroundColor"),e.on=n.l.af(n.n,i.enumGetBox(l,1),"DisabledBorderColor"),e.oo=n.l.af(n.n,i.enumGetBox(l,1),"DisabledTextColor"),e.c3=n.l.n(n.n,i.enumGetBox(l,1),"DisabledElevation"),e.c6=n.l.n(n.n,i.enumGetBox(l,1),"RestingElevation"),e.c5=n.l.n(n.n,i.enumGetBox(l,1),"HoverElevation"),e.c4=n.l.n(n.n,i.enumGetBox(l,1),"FocusElevation"),e.ol=n.l.af(n.n,i.enumGetBox(l,1),"BorderColor"),e.ot=n.l.af(n.n,i.enumGetBox(l,1),"RippleColor"),e.k8=n.l.y(n.n,1,i.enumGetBox(l,1),"CornerRadius"),e.br=n.l.i(n.n,i.enumGetBox(l,1),"BorderWidth"),e.ok=n.l.af(n.n,i.enumGetBox(l,1),"BackgroundColor"),e.ou=n.l.af(n.n,i.enumGetBox(l,1),"TextColor"),e.os=n.l.af(n.n,i.enumGetBox(l,1),"HoverTextColor"),e.or=n.l.af(n.n,i.enumGetBox(l,1),"HoverBackgroundColor"),e.op=n.l.af(n.n,i.enumGetBox(l,1),"FocusBackgroundColor"),e.oq=n.l.af(n.n,i.enumGetBox(l,1),"FocusTextColor"),e.o8=n.l.af(n.n,i.enumGetBox(l,2),"DisabledBackgroundColor"),e.o9=n.l.af(n.n,i.enumGetBox(l,2),"DisabledBorderColor"),e.pa=n.l.af(n.n,i.enumGetBox(l,2),"DisabledTextColor"),e.db=n.l.n(n.n,i.enumGetBox(l,2),"DisabledElevation"),e.de=n.l.n(n.n,i.enumGetBox(l,2),"RestingElevation"),e.dd=n.l.n(n.n,i.enumGetBox(l,2),"HoverElevation"),e.dc=n.l.n(n.n,i.enumGetBox(l,2),"FocusElevation"),e.o7=n.l.af(n.n,i.enumGetBox(l,2),"BorderColor"),e.pf=n.l.af(n.n,i.enumGetBox(l,2),"RippleColor"),e.la=n.l.y(n.n,1,i.enumGetBox(l,2),"CornerRadius"),e.bt=n.l.i(n.n,i.enumGetBox(l,2),"BorderWidth"),e.o6=n.l.af(n.n,i.enumGetBox(l,2),"BackgroundColor"),e.pg=n.l.af(n.n,i.enumGetBox(l,2),"TextColor"),e.pe=n.l.af(n.n,i.enumGetBox(l,2),"HoverTextColor"),e.pd=n.l.af(n.n,i.enumGetBox(l,2),"HoverBackgroundColor"),e.pb=n.l.af(n.n,i.enumGetBox(l,2),"FocusBackgroundColor"),e.pc=n.l.af(n.n,i.enumGetBox(l,2),"FocusTextColor"),e.ox=n.l.af(n.n,i.enumGetBox(l,4),"DisabledBackgroundColor"),e.oy=n.l.af(n.n,i.enumGetBox(l,4),"DisabledBorderColor"),e.oz=n.l.af(n.n,i.enumGetBox(l,4),"DisabledTextColor"),e.c7=n.l.n(n.n,i.enumGetBox(l,4),"DisabledElevation"),e.da=n.l.n(n.n,i.enumGetBox(l,4),"RestingElevation"),e.c9=n.l.n(n.n,i.enumGetBox(l,4),"HoverElevation"),e.c8=n.l.n(n.n,i.enumGetBox(l,4),"FocusElevation"),e.ow=n.l.af(n.n,i.enumGetBox(l,4),"BorderColor"),e.o4=n.l.af(n.n,i.enumGetBox(l,4),"RippleColor"),e.k9=n.l.y(n.n,1,i.enumGetBox(l,4),"CornerRadius"),e.bs=n.l.i(n.n,i.enumGetBox(l,4),"BorderWidth"),e.ov=n.l.af(n.n,i.enumGetBox(l,4),"BackgroundColor"),e.o5=n.l.af(n.n,i.enumGetBox(l,4),"TextColor"),e.o3=n.l.af(n.n,i.enumGetBox(l,4),"HoverTextColor"),e.o2=n.l.af(n.n,i.enumGetBox(l,4),"HoverBackgroundColor"),e.o0=n.l.af(n.n,i.enumGetBox(l,4),"FocusBackgroundColor"),e.o1=n.l.af(n.n,i.enumGetBox(l,4),"FocusTextColor"),e.ob=n.l.af(n.n,i.enumGetBox(l,3),"DisabledBackgroundColor"),e.oc=n.l.af(n.n,i.enumGetBox(l,3),"DisabledBorderColor"),e.od=n.l.af(n.n,i.enumGetBox(l,3),"DisabledTextColor"),e.cz=n.l.n(n.n,i.enumGetBox(l,3),"DisabledElevation"),e.c2=n.l.n(n.n,i.enumGetBox(l,3),"RestingElevation"),e.c1=n.l.n(n.n,i.enumGetBox(l,3),"HoverElevation"),e.c0=n.l.n(n.n,i.enumGetBox(l,3),"FocusElevation"),e.oa=n.l.af(n.n,i.enumGetBox(l,3),"BorderColor"),e.oi=n.l.af(n.n,i.enumGetBox(l,3),"RippleColor"),e.k7=n.l.y(n.n,1,i.enumGetBox(l,3),"CornerRadius"),e.bq=n.l.i(n.n,i.enumGetBox(l,3),"BorderWidth"),e.n9=n.l.af(n.n,i.enumGetBox(l,3),"BackgroundColor"),e.oj=n.l.af(n.n,i.enumGetBox(l,3),"TextColor"),e.oh=n.l.af(n.n,i.enumGetBox(l,3),"HoverTextColor"),e.og=n.l.af(n.n,i.enumGetBox(l,3),"HoverBackgroundColor"),e.oe=n.l.af(n.n,i.enumGetBox(l,3),"FocusBackgroundColor"),e.of=n.l.af(n.n,i.enumGetBox(l,3),"FocusTextColor"),e.bh=NaN,e.bg=NaN,e.d=0,e.q=0,e.m=0,e.p=1,e.lm=c.ah(n.n,n.l,i.enumGetBox(l,0),"BorderColor"),e.lx=c.ai(n.n,n.l,"UmbraShadowColor"),e.lu=c.ai(n.n,n.l,"PenumbraShadowColor"),e.lk=c.ai(n.n,n.l,"AmbientShadowColor"),e.b5=c.p(n.n,n.l,i.enumGetBox(l,0),"RestingElevation"),e.b3=c.p(n.n,n.l,i.enumGetBox(l,0),"FocusElevation"),e.b4=c.p(n.n,n.l,i.enumGetBox(l,0),"HoverElevation"),e.lv=c.ah(n.n,n.l,i.enumGetBox(l,0),"RippleColor"),e.kx=c.ad(n.n,1,n.l,i.enumGetBox(l,0),"CornerRadius"),e.ll=c.ah(n.n,n.l,i.enumGetBox(l,0),"BackgroundColor"),e.ln=c.ah(n.n,n.l,i.enumGetBox(l,0),"DisabledBackgroundColor"),e.lo=c.ah(n.n,n.l,i.enumGetBox(l,0),"DisabledBorderColor"),e.lp=c.ah(n.n,n.l,i.enumGetBox(l,0),"DisabledTextColor"),e.b2=c.p(n.n,n.l,i.enumGetBox(l,0),"DisabledElevation"),e.t=c.f(n.n,n.l,"ElevationMode"),e.lw=c.ah(n.n,n.l,i.enumGetBox(l,0),"TextColor"),e.lt=c.ah(n.n,n.l,i.enumGetBox(l,0),"HoverTextColor"),e.lq=c.ah(n.n,n.l,i.enumGetBox(l,0),"FocusBackgroundColor"),e.lr=c.ah(n.n,n.l,i.enumGetBox(l,0),"FocusTextColor"),e.ls=c.ah(n.n,n.l,i.enumGetBox(l,0),"HoverBackgroundColor"),e.a7=c.k(n.n,n.l,i.enumGetBox(l,0),"BorderWidth"),e.nf=null,e.nh=null,e.ni=null,e.nj=null,e.cp=-1,e.nm=null,e.ng=null,e.cs=-1,e.cr=-1,e.cq=-1,e.bj=NaN,e.k3=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.no=null,e.md=null,e.mf=null,e.mg=null,e.mh=null,e.cb=-1,e.mk=null,e.me=null,e.ce=-1,e.cd=-1,e.cc=-1,e.mm=null,e.mn=null,e.ml=null,e.mi=null,e.mj=null,e.be=NaN,e.k0=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.ly=null,e.l0=null,e.l1=null,e.l2=null,e.b6=-1,e.u=0,e.mq=null,e.lz=null,e.ct=-1,e.cg=-1,e.cf=-1,e.aa=null,e.nr=null,e.ms=null,e.nq=null,e.np=null,e.nn=null,e.nk=null,e.nl=null,e.mo=null,e.mp=null,e.a8=NaN,e.ky=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.m4=null,e.m6=null,e.m7=null,e.m8=null,e.cl=-1,e.nb=null,e.m5=null,e.co=-1,e.cn=-1,e.cm=-1,e.bi=NaN,e.k2=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.nd=null,e.ne=null,e.nc=null,e.m9=null,e.na=null,e.l3=null,e.l5=null,e.l6=null,e.l7=null,e.b7=-1,e.mr=null,e.l4=null,e.ca=-1,e.b9=-1,e.b8=-1,e.bd=NaN,e.kz=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mb=null,e.mc=null,e.ma=null,e.l8=null,e.l9=null,e.mt=null,e.mv=null,e.mw=null,e.mx=null,e.ch=-1,e.m0=null,e.mu=null,e.ck=-1,e.cj=-1,e.ci=-1,e.bf=NaN,e.k1=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.m2=null,e.m3=null,e.m1=null,e.my=null,e.mz=null,e.en="ig-native-button-"+n.ea++,e.em="ig-button-"+n.d9++,e.ej="inline-block",e.ei=null,e.ek="inline-block",e.el=null,e.eg="center",e.eb=null,e.eo=null,e.cu=0,e.an=!1,e.eh=null,e.am=!1,e.ap=!1,e.aq=!0,e.ak=!1,e.ag=!1,e.ai=!1,e.ar=!1,e.ao=!1,e.al=!1,e.aj=!1,e.ba=NaN,e.bc=NaN,e.bb=NaN,e.a9=NaN,e.li=1,e.rm=1,e.ah=!0,e.as=!1,e.propertyChanged=null,e.clicked=null,e.mouseEnter=null,e.mouseLeave=null,e.mouseDown=null,e.mouseUp=null,e.gotFocus=null,e.lostFocus=null;var r=new f;return r.c=e,e.view=r,e.view.ar(),e}var r;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}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.kp=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.kr(t,e,n)},n.prototype.kr=function(t,e,i){switch(t){case"CornerRadius":case"BorderColor":case"RestingElevation":case"HoverElevation":case"FocusElevation":case"RippleColor":case"BorderWidth":case"BackgroundColor":case"DisabledBackgroundColor":case"DisabledBorderColor":case"DisabledTextColor":case"DisabledElevation":case"HoverBackgroundColor":case"FocusTextColor":case"TextColor":case"HoverTextColor":case"FocusBackgroundColor":case"RaisedBorderColor":case"RaisedRestingElevation":case"RaisedFocusElevation":case"RaisedHoverElevation":case"RaisedRippleColor":case"RaisedBorderWidth":case"RaisedBackgroundColor":case"RaisedDisabledBackgroundColor":case"RaisedDisabledBorderColor":case"RaisedDisabledTextColor":case"RaisedDisabledElevation":case"RaisedHoverBackgroundColor":case"RaisedCornerRadius":case"RaisedFocusBackgroundColor":case"RaisedFocusTextColor":case"RaisedTextColor":case"RaisedHoverTextColor":case"FlatBorderColor":case"FlatRestingElevation":case"FlatFocusElevation":case"FlatHoverElevation":case"FlatRippleColor":case"FlatBorderWidth":case"FlatBackgroundColor":case"FlatDisabledBackgroundColor":case"FlatDisabledBorderColor":case"FlatDisabledTextColor":case"FlatDisabledElevation":case"FlatHoverBackgroundColor":case"FlatCornerRadius":case"FlatFocusBackgroundColor":case"FlatFocusTextColor":case"FlatTextColor":case"FlatHoverTextColor":case"OutlinedRippleColor":case"OutlinedRestingElevation":case"OutlinedFocusElevation":case"OutlinedHoverElevation":case"OutlinedBorderColor":case"OutlinedBorderWidth":case"OutlinedBackgroundColor":case"OutlinedDisabledBackgroundColor":case"OutlinedDisabledBorderColor":case"OutlinedDisabledTextColor":case"OutlinedDisabledElevation":case"OutlinedHoverBackgroundColor":case"OutlinedCornerRadius":case"OutlinedFocusBackgroundColor":case"OutlinedFocusTextColor":case"OutlinedTextColor":case"OutlinedHoverTextColor":case"FabBorderColor":case"FabRippleColor":case"FabRestingElevation":case"FabFocusElevation":case"FabHoverElevation":case"FabBorderWidth":case"FabBackgroundColor":case"FabDisabledBackgroundColor":case"FabDisabledBorderColor":case"FabDisabledTextColor":case"FabDisabledElevation":case"FabHoverBackgroundColor":case"FabCornerRadius":case"FabFocusBackgroundColor":case"FabFocusTextColor":case"FabTextColor":case"FabHoverTextColor":case"IconRestingElevation":case"IconFocusElevation":case"IconHoverElevation":case"IconBorderColor":case"IconRippleColor":case"IconBorderWidth":case"IconBackgroundColor":case"IconDisabledBackgroundColor":case"IconDisabledBorderColor":case"IconDisabledTextColor":case"IconDisabledElevation":case"IconHoverBackgroundColor":case"IconCornerRadius":case"IconFocusBackgroundColor":case"IconFocusTextColor":case"IconTextColor":case"IconHoverTextColor":case"ElevationMode":this.kv();break;case"BaseTheme":this.kw(0==this.o?2:this.o),this.kv();break;case"IsDisabled":this.at=this.disabled||this.ax,this.kv(),this.view.at(),this.ku();break;case"DisableRipple":this.at=this.disabled||this.ax,this.kv();break;case"TextStyle":case"DisableHover":this.ku();break;case"ActualDisableRipple":this.view.an();break;case"ActualBackgroundColor":case"ActualDisabledBackgroundColor":case"ActualDisabledBorderColor":case"ActualDisabledTextColor":case"ActualDisabledElevation":case"ActualHoverBackgroundColor":case"ActualBorderColor":case"ActualFocusTextColor":case"ActualHoverTextColor":case"ActualElevationMode":this.ku();break;case"Density":this.r=0==this.s?1:this.s,this.kw(0==this.o?2:this.o),this.kv();break;case"ActualDensity":case"ActualBorderWidth":case"ActualCornerRadius":4==this.e&&this.kt(),this.view.a1(),this.ku();break;case"DisplayType":this.view.a1(),this.kv(),this.ku();break;case"ContentPaddingLeft":case"ContentPaddingTop":case"ContentPaddingRight":case"ContentPaddingBottom":case"FillAvailableSpace":this.view.a1();break;case"HorizontalContentAlignment":case"VerticalContentAlignment":this.view.av();break;case"InputId":this.view.as();break;case"Display":this.view.ao();break;case"ChildContentDisplay":this.view.ak();break;case"FlexDirection":this.view.ap();break;case"FlexGrow":this.view.aq();break;case"AlignItems":this.view.ai();break;case"TabIndex":case"DisablePointer":this.view.ay();break;case"MinWidth":this.view.ax(this.bz),this.view.a1();break;case"MinHeight":this.view.aw(this.by),this.view.a1()}},n.prototype.k5=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.e)?e.e:t.e,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.b)?e.b:t.b)},n.prototype.kv=function(){switch(this.v=0!=this.x?this.x:this.w,this.n5=this.pt,this.n2=this.ph,this.ns=this.n8,this.e){case 0:this.nv=null!=this.pu?this.pu:null!=this.rb?this.rb:this.pk,this.nw=null!=this.pv?this.pv:null!=this.rc?this.rc:this.pl,this.nx=null!=this.pw?this.pw:null!=this.rd?this.rd:this.pm,this.cv=this.dj>=0?this.dj:this.d3>=0?this.d3:this.df,this.cy=this.d7>=0?this.d7:this.d6>=0?this.d6:this.di,this.cx=this.du>=0?this.du:this.d5>=0?this.d5:this.dh,this.cw=this.dt>=0?this.dt:this.d4>=0?this.d4:this.dg,this.nu=null!=this.n7?this.n7:null!=this.ra?this.ra:this.pj,this.nt=null!=this.n6?this.n6:null!=this.q9?this.q9:this.pi,this.n0=null!=this.ql?this.ql:null!=this.rg?this.rg:this.pp,this.k4=this.k5(this.k6,this.k5(this.lh,this.lb)),this.bk=i.isNaN_(this.bl)?i.isNaN_(this.b1)?this.bu:this.b1:this.bl,this.n3=null!=this.rk?this.rk:null!=this.ri?this.ri:this.pr,this.ny=null!=this.qj?this.qj:null!=this.re?this.re:this.pn,this.nz=null!=this.qk?this.qk:null!=this.rf?this.rf:this.po,this.n4=null!=this.rl?this.rl:null!=this.rj?this.rj:this.ps,this.n1=null!=this.qm?this.qm:null!=this.rh?this.rh:this.pq;break;case 2:this.nv=null!=this.pu?this.pu:null!=this.q0?this.q0:this.o8,this.nw=null!=this.pv?this.pv:null!=this.q1?this.q1:this.o9,this.nx=null!=this.pw?this.pw:null!=this.q2?this.q2:this.pa,this.cv=this.dj>=0?this.dj:this.dz>=0?this.dz:this.db,this.cy=this.d7>=0?this.d7:this.d2>=0?this.d2:this.de,this.cx=this.du>=0?this.du:this.d1>=0?this.d1:this.dd,this.cw=this.dt>=0?this.dt:this.d0>=0?this.d0:this.dc,this.nu=null!=this.n7?this.n7:null!=this.qz?this.qz:this.o7,this.nt=null!=this.ql?this.ql:null!=this.n6?this.n6:null!=this.qy?this.qy:this.o6,this.n0=null!=this.q5?this.q5:this.pd,this.k4=this.k5(this.k6,this.k5(this.lg,this.la)),this.bk=i.isNaN_(this.bl)?i.isNaN_(this.b0)?this.bt:this.b0:this.bl,this.n3=null!=this.rk?this.rk:null!=this.q7?this.q7:this.pf,this.ny=null!=this.qj?this.qj:null!=this.q3?this.q3:this.pb,this.nz=null!=this.qk?this.qk:null!=this.q4?this.q4:this.pc,this.n4=null!=this.rl?this.rl:null!=this.q8?this.q8:this.pg,this.n1=null!=this.qm?this.qm:null!=this.q6?this.q6:this.pe;break;case 1:this.nv=null!=this.pu?this.pu:null!=this.qa?this.qa:this.om,this.nw=null!=this.pv?this.pv:null!=this.qb?this.qb:this.on,this.nx=null!=this.pw?this.pw:null!=this.qc?this.qc:this.oo,this.cv=this.dj>=0?this.dj:this.dp>=0?this.dp:this.c3,this.cy=this.d7>=0?this.d7:this.ds>=0?this.ds:this.c6,this.cx=this.du>=0?this.du:this.dr>=0?this.dr:this.c5,this.cw=this.dt>=0?this.dt:this.dq>=0?this.dq:this.c4,this.nu=null!=this.n7?this.n7:null!=this.p9?this.p9:this.ol,this.nt=null!=this.n6?this.n6:null!=this.p8?this.p8:this.ok,this.n0=null!=this.ql?this.ql:null!=this.qf?this.qf:this.or,this.k4=this.k5(this.k6,this.k5(this.ld,this.k8)),this.bk=i.isNaN_(this.bl)?i.isNaN_(this.bw)?this.br:this.bw:this.bl,this.n3=null!=this.rk?this.rk:null!=this.qh?this.qh:this.ot,this.ny=null!=this.qj?this.qj:null!=this.qd?this.qd:this.op,this.nz=null!=this.qk?this.qk:null!=this.qe?this.qe:this.oq,this.n4=null!=this.rl?this.rl:null!=this.qi?this.qi:this.ou,this.n1=null!=this.qm?this.qm:null!=this.qg?this.qg:this.os;break;case 4:this.nv=null!=this.pu?this.pu:null!=this.qp?this.qp:this.ox,this.nw=null!=this.pv?this.pv:null!=this.qq?this.qq:this.oy,this.nx=null!=this.pw?this.pw:null!=this.qr?this.qr:this.oz,this.cv=this.dj>=0?this.dj:this.dv>=0?this.dv:this.c7,this.cy=this.d7>=0?this.d7:this.dy>=0?this.dy:this.da,this.cx=this.du>=0?this.du:this.dx>=0?this.dx:this.c9,this.cw=this.dt>=0?this.dt:this.dw>=0?this.dw:this.c8,this.nu=null!=this.n7?this.n7:null!=this.qo?this.qo:this.ow,this.nt=null!=this.n6?this.n6:null!=this.qn?this.qn:this.ov,this.n0=null!=this.ql?this.ql:null!=this.qu?this.qu:this.o2,this.kt(),this.bk=i.isNaN_(this.bl)?i.isNaN_(this.bx)?this.bs:this.bx:this.bl,this.n3=null!=this.rk?this.rk:null!=this.qw?this.qw:this.o4,this.ny=null!=this.qj?this.qj:null!=this.qs?this.qs:this.o0,this.nz=null!=this.qk?this.qk:null!=this.qt?this.qt:this.o1,this.n4=null!=this.rl?this.rl:null!=this.qx?this.qx:this.o5,this.n1=null!=this.qm?this.qm:null!=this.qv?this.qv:this.o3;break;case 3:this.nv=null!=this.pu?this.pu:null!=this.pz?this.pz:this.ob,this.nw=null!=this.pv?this.pv:null!=this.p0?this.p0:this.oc,this.nx=null!=this.pw?this.pw:null!=this.p1?this.p1:this.od,this.cv=this.dj>=0?this.dj:this.dk>=0?this.dk:this.cz,this.cy=this.d7>=0?this.d7:this.dn>=0?this.dn:this.c2,this.cx=this.du>=0?this.du:this.dm>=0?this.dm:this.c1,this.cw=this.dt>=0?this.dt:this.dl>=0?this.dl:this.c0,this.nu=null!=this.n7?this.n7:null!=this.py?this.py:this.oa,this.nt=null!=this.n6?this.n6:null!=this.px?this.px:this.n9,this.n0=null!=this.ql?this.ql:null!=this.p4?this.p4:this.og,this.k4=this.k5(this.k6,this.k5(this.lc,this.k7)),this.bk=i.isNaN_(this.bl)?i.isNaN_(this.bv)?this.bq:this.bv:this.bl,this.n3=null!=this.rk?this.rk:null!=this.p6?this.p6:this.pr,this.ny=null!=this.qj?this.qj:null!=this.p2?this.p2:this.oe,this.nz=null!=this.qk?this.qk:null!=this.p3?this.p3:this.of,this.n4=null!=this.rl?this.rl:null!=this.p7?this.p7:this.oj,this.n1=null!=this.qm?this.qm:null!=this.p5?this.p5:this.oh}},n.prototype.kt=function(){this.k4=this.k5(this.k6,this.k5(this.lf,this.le(this.k9)))},n.prototype.le=function(t){switch(this.r){case 1:case 2:case 3:return t;case 4:return new i.CornerRadius(0,16)}return t},n.prototype.kg=function(){this.disabled||null!=this.clicked&&this.clicked(this,new p)},n.prototype.kl=function(){this.disabled||null!=this.mouseDown&&this.mouseDown(this,new i.MouseEventArgs)},n.prototype.ko=function(){this.disabled||null!=this.mouseUp&&this.mouseUp(this,new i.MouseEventArgs)},n.prototype.kf=function(){this.focused=!1,this.ku()},n.prototype.ki=function(){this.focused=!0,this.ku()},n.prototype.kn=function(){this.a4=!1,this.ku(),null!=this.mouseLeave&&this.mouseLeave(this,new i.MouseEventArgs)},n.prototype.km=function(){this.a4=!0,this.ku(),null!=this.mouseEnter&&this.mouseEnter(this,new i.MouseEventArgs)},n.prototype.kj=function(){null!=this.gotFocus&&this.gotFocus(this,new i.FocusEventArgs)},n.prototype.kk=function(t,e){var n;null!=this.lostFocus&&this.lostFocus(this,((n=new i.FocusEventArgs).b=t,n.a=e,n))},n.prototype.ku=function(){var t=this.view.r;null!=t&&(i.NativeUI.o(t,this.k4),i.NativeUI.n(t,this.nu),i.isNaN_(this.bk)||i.NativeUI.p(t,new i.Thickness(0,this.bk)),this.disabled?this.view.a0(this.cv,this.v):this.focused&&this.a3?this.view.a0(this.cw,this.v):this.a4&&!this.av?this.view.a0(this.cx,this.v):this.view.a0(this.cy,this.v),this.disabled?i.NativeUI.m(t,this.nv):this.focused&&this.a3?i.NativeUI.m(t,this.ny):this.a4&&!this.av?i.NativeUI.m(t,this.n0):i.NativeUI.m(t,this.nt),this.view.az(this.n3,i.BrushUtil.l(0,0,0,0)),null!=this.ab&&this.view.a2(this.ab),this.disabled?(i.NativeUI.q(this.view.t,this.nx),i.NativeUI.r(this.view.t,this.nx)):this.focused&&this.a3?(i.NativeUI.q(this.view.t,this.nz),i.NativeUI.r(this.view.t,this.nz)):this.a4&&!this.av?(i.NativeUI.q(this.view.t,this.n1),i.NativeUI.r(this.view.t,this.n1)):(i.NativeUI.q(this.view.t,this.n4),i.NativeUI.r(this.view.t,this.n4)))},n.prototype.kw=function(t){this.pt=n.l.ag(t,"UmbraShadowColor"),this.ph=n.l.ag(t,"PenumbraShadowColor"),this.n8=n.l.ag(t,"AmbientShadowColor"),this.w=n.l.d(t,"ElevationMode"),this.pk=n.l.af(t,i.enumGetBox(l,0),"DisabledBackgroundColor"),this.pl=n.l.af(t,i.enumGetBox(l,0),"DisabledBorderColor"),this.pm=n.l.af(t,i.enumGetBox(l,0),"DisabledTextColor"),this.df=n.l.n(t,i.enumGetBox(l,0),"DisabledElevation"),this.di=n.l.n(t,i.enumGetBox(l,0),"RestingElevation"),this.dh=n.l.n(t,i.enumGetBox(l,0),"HoverElevation"),this.dg=n.l.n(t,i.enumGetBox(l,0),"FocusElevation"),this.pj=n.l.af(t,i.enumGetBox(l,0),"BorderColor"),this.pr=n.l.af(t,i.enumGetBox(l,0),"RippleColor"),this.lb=n.l.y(t,this.p,i.enumGetBox(l,0),"CornerRadius"),this.bu=n.l.i(t,i.enumGetBox(l,0),"BorderWidth"),this.pi=n.l.af(t,i.enumGetBox(l,0),"BackgroundColor"),this.ps=n.l.af(t,i.enumGetBox(l,0),"TextColor"),this.pq=n.l.af(t,i.enumGetBox(l,0),"HoverTextColor"),this.pp=n.l.af(t,i.enumGetBox(l,0),"HoverBackgroundColor"),this.pn=n.l.af(t,i.enumGetBox(l,0),"FocusBackgroundColor"),this.po=n.l.af(t,i.enumGetBox(l,0),"FocusTextColor"),this.om=n.l.af(t,i.enumGetBox(l,1),"DisabledBackgroundColor"),this.on=n.l.af(t,i.enumGetBox(l,1),"DisabledBorderColor"),this.oo=n.l.af(t,i.enumGetBox(l,1),"DisabledTextColor"),this.c3=n.l.n(t,i.enumGetBox(l,1),"DisabledElevation"),this.c6=n.l.n(t,i.enumGetBox(l,1),"RestingElevation"),this.c5=n.l.n(t,i.enumGetBox(l,1),"HoverElevation"),this.c4=n.l.n(t,i.enumGetBox(l,1),"FocusElevation"),this.ol=n.l.af(t,i.enumGetBox(l,1),"BorderColor"),this.ot=n.l.af(t,i.enumGetBox(l,1),"RippleColor"),this.k8=n.l.y(t,this.p,i.enumGetBox(l,1),"CornerRadius"),this.br=n.l.i(t,i.enumGetBox(l,1),"BorderWidth"),this.ok=n.l.af(t,i.enumGetBox(l,1),"BackgroundColor"),this.ou=n.l.af(t,i.enumGetBox(l,1),"TextColor"),this.os=n.l.af(t,i.enumGetBox(l,1),"HoverTextColor"),this.or=n.l.af(t,i.enumGetBox(l,1),"HoverBackgroundColor"),this.op=n.l.af(t,i.enumGetBox(l,1),"FocusBackgroundColor"),this.oq=n.l.af(t,i.enumGetBox(l,1),"FocusTextColor"),this.o8=n.l.af(t,i.enumGetBox(l,2),"DisabledBackgroundColor"),this.o9=n.l.af(t,i.enumGetBox(l,2),"DisabledBorderColor"),this.pa=n.l.af(t,i.enumGetBox(l,2),"DisabledTextColor"),this.db=n.l.n(t,i.enumGetBox(l,2),"DisabledElevation"),this.de=n.l.n(t,i.enumGetBox(l,2),"RestingElevation"),this.dd=n.l.n(t,i.enumGetBox(l,2),"HoverElevation"),this.dc=n.l.n(t,i.enumGetBox(l,2),"FocusElevation"),this.o7=n.l.af(t,i.enumGetBox(l,2),"BorderColor"),this.pf=n.l.af(t,i.enumGetBox(l,2),"RippleColor"),this.la=n.l.y(t,this.p,i.enumGetBox(l,2),"CornerRadius"),this.bt=n.l.i(t,i.enumGetBox(l,2),"BorderWidth"),this.o6=n.l.af(t,i.enumGetBox(l,2),"BackgroundColor"),this.pg=n.l.af(t,i.enumGetBox(l,2),"TextColor"),this.pe=n.l.af(t,i.enumGetBox(l,2),"HoverTextColor"),this.pd=n.l.af(t,i.enumGetBox(l,2),"HoverBackgroundColor"),this.pb=n.l.af(t,i.enumGetBox(l,2),"FocusBackgroundColor"),this.pc=n.l.af(t,i.enumGetBox(l,2),"FocusTextColor"),this.ox=n.l.af(t,i.enumGetBox(l,4),"DisabledBackgroundColor"),this.oy=n.l.af(t,i.enumGetBox(l,4),"DisabledBorderColor"),this.oz=n.l.af(t,i.enumGetBox(l,4),"DisabledTextColor"),this.c7=n.l.n(t,i.enumGetBox(l,4),"DisabledElevation"),this.da=n.l.n(t,i.enumGetBox(l,4),"RestingElevation"),this.c9=n.l.n(t,i.enumGetBox(l,4),"HoverElevation"),this.c8=n.l.n(t,i.enumGetBox(l,4),"FocusElevation"),this.ow=n.l.af(t,i.enumGetBox(l,4),"BorderColor"),this.o4=n.l.af(t,i.enumGetBox(l,4),"RippleColor"),this.k9=n.l.y(t,this.p,i.enumGetBox(l,4),"CornerRadius"),this.bs=n.l.i(t,i.enumGetBox(l,4),"BorderWidth"),this.ov=n.l.af(t,i.enumGetBox(l,4),"BackgroundColor"),this.o5=n.l.af(t,i.enumGetBox(l,4),"TextColor"),this.o3=n.l.af(t,i.enumGetBox(l,4),"HoverTextColor"),this.o2=n.l.af(t,i.enumGetBox(l,4),"HoverBackgroundColor"),this.o0=n.l.af(t,i.enumGetBox(l,4),"FocusBackgroundColor"),this.o1=n.l.af(t,i.enumGetBox(l,4),"FocusTextColor"),this.ob=n.l.af(t,i.enumGetBox(l,3),"DisabledBackgroundColor"),this.oc=n.l.af(t,i.enumGetBox(l,3),"DisabledBorderColor"),this.od=n.l.af(t,i.enumGetBox(l,3),"DisabledTextColor"),this.cz=n.l.n(t,i.enumGetBox(l,3),"DisabledElevation"),this.c2=n.l.n(t,i.enumGetBox(l,3),"RestingElevation"),this.c1=n.l.n(t,i.enumGetBox(l,3),"HoverElevation"),this.c0=n.l.n(t,i.enumGetBox(l,3),"FocusElevation"),this.oa=n.l.af(t,i.enumGetBox(l,3),"BorderColor"),this.oi=n.l.af(t,i.enumGetBox(l,3),"RippleColor"),this.k7=n.l.y(t,this.p,i.enumGetBox(l,3),"CornerRadius"),this.bq=n.l.i(t,i.enumGetBox(l,3),"BorderWidth"),this.n9=n.l.af(t,i.enumGetBox(l,3),"BackgroundColor"),this.oj=n.l.af(t,i.enumGetBox(l,3),"TextColor"),this.oh=n.l.af(t,i.enumGetBox(l,3),"HoverTextColor"),this.og=n.l.af(t,i.enumGetBox(l,3),"HoverBackgroundColor"),this.oe=n.l.af(t,i.enumGetBox(l,3),"FocusBackgroundColor"),this.of=n.l.af(t,i.enumGetBox(l,3),"FocusTextColor")},Object.defineProperty(n.prototype,"bz",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.kp("MinWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.kp("MinHeight",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.kp("DisplayType",i.enumGetBox(l,e),i.enumGetBox(l,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.kp("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.kp("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.kp("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nu",{get:function(){return this.lm},set:function(t){var e=this.lm;this.lm=t,e!=this.lm&&this.kp("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n5",{get:function(){return this.lx},set:function(t){var e=this.lx;this.lx=t,e!=this.lx&&this.kp("ActualUmbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n2",{get:function(){return this.lu},set:function(t){var e=this.lu;this.lu=t,e!=this.lu&&this.kp("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ns",{get:function(){return this.lk},set:function(t){var e=this.lk;this.lk=t,e!=this.lk&&this.kp("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.b5},set:function(t){var e=this.b5;this.b5=t,e!=this.b5&&this.kp("ActualRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return this.b3},set:function(t){var e=this.b3;this.b3=t,e!=this.b3&&this.kp("ActualFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return this.b4},set:function(t){var e=this.b4;this.b4=t,e!=this.b4&&this.kp("ActualHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n3",{get:function(){return this.lv},set:function(t){var e=this.lv;this.lv=t,e!=this.lv&&this.kp("ActualRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k4",{get:function(){return this.kx},set:function(t){var e=this.kx;this.kx=t,e.equals(this.kx)||this.kp("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nt",{get:function(){return this.ll},set:function(t){var e=this.ll;this.ll=t,e!=this.ll&&this.kp("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nv",{get:function(){return this.ln},set:function(t){var e=this.ln;this.ln=t,e!=this.ln&&this.kp("ActualDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nw",{get:function(){return this.lo},set:function(t){var e=this.lo;this.lo=t,e!=this.lo&&this.kp("ActualDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nx",{get:function(){return this.lp},set:function(t){var e=this.lp;this.lp=t,e!=this.lp&&this.kp("ActualDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cv",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.kp("ActualDisabledElevation",e,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,e!=this.t&&this.kp("ActualElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n4",{get:function(){return this.lw},set:function(t){var e=this.lw;this.lw=t,e!=this.lw&&this.kp("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n1",{get:function(){return this.lt},set:function(t){var e=this.lt;this.lt=t,e!=this.lt&&this.kp("ActualHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ny",{get:function(){return this.lq},set:function(t){var e=this.lq;this.lq=t,e!=this.lq&&this.kp("ActualFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nz",{get:function(){return this.lr},set:function(t){var e=this.lr;this.lr=t,e!=this.lr&&this.kp("ActualFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n0",{get:function(){return this.ls},set:function(t){var e=this.ls;this.ls=t,e!=this.ls&&this.kp("ActualHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.kp("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q9",{get:function(){return this.nf},set:function(t){var e=this.nf;this.nf=t,e!=this.nf&&this.kp("RaisedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rb",{get:function(){return this.nh},set:function(t){var e=this.nh;this.nh=t,e!=this.nh&&this.kp("RaisedDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rc",{get:function(){return this.ni},set:function(t){var e=this.ni;this.ni=t,e!=this.ni&&this.kp("RaisedDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rd",{get:function(){return this.nj},set:function(t){var e=this.nj;this.nj=t,e!=this.nj&&this.kp("RaisedDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.kp("RaisedDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rg",{get:function(){return this.nm},set:function(t){var e=this.nm;this.nm=t,e!=this.nm&&this.kp("RaisedHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ra",{get:function(){return this.ng},set:function(t){var e=this.ng;this.ng=t,e!=this.ng&&this.kp("RaisedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d6",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.kp("RaisedRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d5",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.kp("RaisedHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d4",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.kp("RaisedFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.kp("RaisedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lh",{get:function(){return this.k3},set:function(t){var e=this.k3;this.k3=t,this.kp("RaisedCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ri",{get:function(){return this.no},set:function(t){var e=this.no;this.no=t,e!=this.no&&this.kp("RaisedRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p8",{get:function(){return this.md},set:function(t){var e=this.md;this.md=t,e!=this.md&&this.kp("FlatBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qa",{get:function(){return this.mf},set:function(t){var e=this.mf;this.mf=t,e!=this.mf&&this.kp("FlatDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qb",{get:function(){return this.mg},set:function(t){var e=this.mg;this.mg=t,e!=this.mg&&this.kp("FlatDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qc",{get:function(){return this.mh},set:function(t){var e=this.mh;this.mh=t,e!=this.mh&&this.kp("FlatDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.cb},set:function(t){var e=this.cb;this.cb=t,e!=this.cb&&this.kp("FlatDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qf",{get:function(){return this.mk},set:function(t){var e=this.mk;this.mk=t,e!=this.mk&&this.kp("FlatHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p9",{get:function(){return this.me},set:function(t){var e=this.me;this.me=t,e!=this.me&&this.kp("FlatBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ds",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.kp("FlatRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dr",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.kp("FlatHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dq",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.kp("FlatFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qh",{get:function(){return this.mm},set:function(t){var e=this.mm;this.mm=t,e!=this.mm&&this.kp("FlatRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qi",{get:function(){return this.mn},set:function(t){var e=this.mn;this.mn=t,e!=this.mn&&this.kp("FlatTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qg",{get:function(){return this.ml},set:function(t){var e=this.ml;this.ml=t,e!=this.ml&&this.kp("FlatHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qd",{get:function(){return this.mi},set:function(t){var e=this.mi;this.mi=t,e!=this.mi&&this.kp("FlatFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qe",{get:function(){return this.mj},set:function(t){var e=this.mj;this.mj=t,e!=this.mj&&this.kp("FlatFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.kp("FlatBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ld",{get:function(){return this.k0},set:function(t){var e=this.k0;this.k0=t,this.kp("FlatCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n6",{get:function(){return this.ly},set:function(t){var e=this.ly;this.ly=t,e!=this.ly&&this.kp("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pu",{get:function(){return this.l0},set:function(t){var e=this.l0;this.l0=t,e!=this.l0&&this.kp("DisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pv",{get:function(){return this.l1},set:function(t){var e=this.l1;this.l1=t,e!=this.l1&&this.kp("DisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pw",{get:function(){return this.l2},set:function(t){var e=this.l2;this.l2=t,e!=this.l2&&this.kp("DisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dj",{get:function(){return this.b6},set:function(t){var e=this.b6;this.b6=t,e!=this.b6&&this.kp("DisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.kp("ElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ql",{get:function(){return this.mq},set:function(t){var e=this.mq;this.mq=t,e!=this.mq&&this.kp("HoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n7",{get:function(){return this.lz},set:function(t){var e=this.lz;this.lz=t,e!=this.lz&&this.kp("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d7",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.kp("RestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"du",{get:function(){return this.cg},set:function(t){var e=this.cg;this.cg=t,e!=this.cg&&this.kp("HoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dt",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.kp("FocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.kp("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rl",{get:function(){return this.nr},set:function(t){var e=this.nr;this.nr=t,e!=this.nr&&this.kp("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qm",{get:function(){return this.ms},set:function(t){var e=this.ms;this.ms=t,e!=this.ms&&this.kp("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rk",{get:function(){return this.nq},set:function(t){var e=this.nq;this.nq=t,e!=this.nq&&this.kp("RippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rj",{get:function(){return this.np},set:function(t){var e=this.np;this.np=t,e!=this.np&&this.kp("RaisedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rh",{get:function(){return this.nn},set:function(t){var e=this.nn;this.nn=t,e!=this.nn&&this.kp("RaisedHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"re",{get:function(){return this.nk},set:function(t){var e=this.nk;this.nk=t,e!=this.nk&&this.kp("RaisedFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rf",{get:function(){return this.nl},set:function(t){var e=this.nl;this.nl=t,e!=this.nl&&this.kp("RaisedFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qj",{get:function(){return this.mo},set:function(t){var e=this.mo;this.mo=t,e!=this.mo&&this.kp("FocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qk",{get:function(){return this.mp},set:function(t){var e=this.mp;this.mp=t,e!=this.mp&&this.kp("FocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.kp("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k6",{get:function(){return this.ky},set:function(t){var e=this.ky;this.ky=t,this.kp("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qy",{get:function(){return this.m4},set:function(t){var e=this.m4;this.m4=t,e!=this.m4&&this.kp("OutlinedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q0",{get:function(){return this.m6},set:function(t){var e=this.m6;this.m6=t,e!=this.m6&&this.kp("OutlinedDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q1",{get:function(){return this.m7},set:function(t){var e=this.m7;this.m7=t,e!=this.m7&&this.kp("OutlinedDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q2",{get:function(){return this.m8},set:function(t){var e=this.m8;this.m8=t,e!=this.m8&&this.kp("OutlinedDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dz",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.kp("OutlinedDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q5",{get:function(){return this.nb},set:function(t){var e=this.nb;this.nb=t,e!=this.nb&&this.kp("OutlinedHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qz",{get:function(){return this.m5},set:function(t){var e=this.m5;this.m5=t,e!=this.m5&&this.kp("OutlinedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d2",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.kp("OutlinedRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d1",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.kp("OutlinedHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d0",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.kp("OutlinedFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.kp("OutlinedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lg",{get:function(){return this.k2},set:function(t){var e=this.k2;this.k2=t,this.kp("OutlinedCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q7",{get:function(){return this.nd},set:function(t){var e=this.nd;this.nd=t,e!=this.nd&&this.kp("OutlinedRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q8",{get:function(){return this.ne},set:function(t){var e=this.ne;this.ne=t,e!=this.ne&&this.kp("OutlinedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q6",{get:function(){return this.nc},set:function(t){var e=this.nc;this.nc=t,e!=this.nc&&this.kp("OutlinedHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q3",{get:function(){return this.m9},set:function(t){var e=this.m9;this.m9=t,e!=this.m9&&this.kp("OutlinedFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q4",{get:function(){return this.na},set:function(t){var e=this.na;this.na=t,e!=this.na&&this.kp("OutlinedFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"px",{get:function(){return this.l3},set:function(t){var e=this.l3;this.l3=t,e!=this.l3&&this.kp("FabBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pz",{get:function(){return this.l5},set:function(t){var e=this.l5;this.l5=t,e!=this.l5&&this.kp("FabDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p0",{get:function(){return this.l6},set:function(t){var e=this.l6;this.l6=t,e!=this.l6&&this.kp("FabDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p1",{get:function(){return this.l7},set:function(t){var e=this.l7;this.l7=t,e!=this.l7&&this.kp("FabDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dk",{get:function(){return this.b7},set:function(t){var e=this.b7;this.b7=t,e!=this.b7&&this.kp("FabDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p4",{get:function(){return this.mr},set:function(t){var e=this.mr;this.mr=t,e!=this.mr&&this.kp("FabHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"py",{get:function(){return this.l4},set:function(t){var e=this.l4;this.l4=t,e!=this.l4&&this.kp("FabBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dn",{get:function(){return this.ca},set:function(t){var e=this.ca;this.ca=t,e!=this.ca&&this.kp("FabRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.b9},set:function(t){var e=this.b9;this.b9=t,e!=this.b9&&this.kp("FabHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dl",{get:function(){return this.b8},set:function(t){var e=this.b8;this.b8=t,e!=this.b8&&this.kp("FabFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.kp("FabBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lc",{get:function(){return this.kz},set:function(t){var e=this.kz;this.kz=t,this.kp("FabCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p6",{get:function(){return this.mb},set:function(t){var e=this.mb;this.mb=t,e!=this.mb&&this.kp("FabRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p7",{get:function(){return this.mc},set:function(t){var e=this.mc;this.mc=t,e!=this.mc&&this.kp("FabTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p5",{get:function(){return this.ma},set:function(t){var e=this.ma;this.ma=t,e!=this.ma&&this.kp("FabHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p2",{get:function(){return this.l8},set:function(t){var e=this.l8;this.l8=t,e!=this.l8&&this.kp("FabFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p3",{get:function(){return this.l9},set:function(t){var e=this.l9;this.l9=t,e!=this.l9&&this.kp("FabFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qn",{get:function(){return this.mt},set:function(t){var e=this.mt;this.mt=t,e!=this.mt&&this.kp("IconBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qp",{get:function(){return this.mv},set:function(t){var e=this.mv;this.mv=t,e!=this.mv&&this.kp("IconDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qq",{get:function(){return this.mw},set:function(t){var e=this.mw;this.mw=t,e!=this.mw&&this.kp("IconDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qr",{get:function(){return this.mx},set:function(t){var e=this.mx;this.mx=t,e!=this.mx&&this.kp("IconDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dv",{get:function(){return this.ch},set:function(t){var e=this.ch;this.ch=t,e!=this.ch&&this.kp("IconDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qu",{get:function(){return this.m0},set:function(t){var e=this.m0;this.m0=t,e!=this.m0&&this.kp("IconHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qo",{get:function(){return this.mu},set:function(t){var e=this.mu;this.mu=t,e!=this.mu&&this.kp("IconBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dy",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.kp("IconRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dx",{get:function(){return this.cj},set:function(t){var e=this.cj;this.cj=t,e!=this.cj&&this.kp("IconHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dw",{get:function(){return this.ci},set:function(t){var e=this.ci;this.ci=t,e!=this.ci&&this.kp("IconFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.kp("IconBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lf",{get:function(){return this.k1},set:function(t){var e=this.k1;this.k1=t,this.kp("IconCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qw",{get:function(){return this.m2},set:function(t){var e=this.m2;this.m2=t,e!=this.m2&&this.kp("IconRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qx",{get:function(){return this.m3},set:function(t){var e=this.m3;this.m3=t,e!=this.m3&&this.kp("IconTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qv",{get:function(){return this.m1},set:function(t){var e=this.m1;this.m1=t,e!=this.m1&&this.kp("IconHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qs",{get:function(){return this.my},set:function(t){var e=this.my;this.my=t,e!=this.my&&this.kp("IconFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qt",{get:function(){return this.mz},set:function(t){var e=this.mz;this.mz=t,e!=this.mz&&this.kp("IconFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.kp("InputId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.em},set:function(t){var e=this.em;this.em=t,e!=this.em&&this.kp("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f1",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.kp("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fk",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.kp("ChildContentDisplay",e,this.ei)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g5",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.kp("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.kp("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fc",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.kp("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ef",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.kp("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.eo},set:function(t){var e=this.eo;this.eo=t,e!=this.eo&&this.kp("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a0",{get:function(){return this.an},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d8",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,this.an=!0,e!=this.cu&&this.kp("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fe",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.kp("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.kp("FillAvailableSpace",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.kp("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.kp("IsFocusStyleEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ax",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.kp("DisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.kp("ActualDisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.kp("DisableHover",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.kp("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.kp("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.kp("DisableTransitions",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.kp("DisablePointer",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.kp("ContentPaddingLeft",e,this.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.kp("ContentPaddingTop",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.kp("ContentPaddingRight",e,this.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.kp("ContentPaddingBottom",e,this.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lj",{get:function(){return this.li},set:function(t){var e=this.li;this.li=t,e!=this.li&&this.kp("HorizontalContentAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,this.li))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rn",{get:function(){return this.rm},set:function(t){var e=this.rm;this.rm=t,e!=this.rm&&this.kp("VerticalContentAlignment",i.enumGetBox(i.VerticalAlignment_$type,e),i.enumGetBox(i.VerticalAlignment_$type,this.rm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.kp("ClickTunneling",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.kp("StopPropagation",e,this.as)},enumerable:!1,configurable:!0}),n.prototype.kq=function(){this.kd(),this.view.az(this.n3,i.BrushUtil.l(0,0,0,0)),this.ku()},Object.defineProperty(n.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.kd=function(){this.view.ah()},n.prototype.onDetachedFromUI=function(){this.view.am()},n.prototype.onAttachedToUI=function(){this.view.aj()},n.prototype.appendButtonContent=function(t){this.view.af(t)},n.prototype.clearButtonContent=function(){this.view.ag()},n.prototype.getButtonContent=function(){return this.view.s()},n.prototype.a5=function(){return this.view.h()},n.prototype.ec=function(){return this.b()},n.prototype.f5=function(){return this.b().serialize()},n.prototype.b=function(){var t=this.view.r,e=this.view.t,n=new d,r=this.view.b();n.s=r[0],n.q=r[1];var o=this.view.a();if(n.t=o[0],n.p=o[1],n.h=this.o,n.i=this.r,n.c=i.AppearanceHelper.a(i.NativeUI.ak(t)),n.g=i.AppearanceHelper.a(this.n5),n.d=i.AppearanceHelper.a(this.n2),n.a=i.AppearanceHelper.a(this.ns),n.u=this.cy,n.e=i.AppearanceHelper.a(this.n3),n.ag=this.k4,n.b=i.AppearanceHelper.a(i.NativeUI.aj(t)),n.j=this.v,n.f=i.AppearanceHelper.a(i.NativeUI.al(e)),n.o=this.bk,n.x=this.f1,n.y=this.g5,n.z=this.g7,n.w=this.fc,n.v=this.view.t.getNativeElement().innerText,n.aa=this.h7,n.m=this.focused,n.k=this.at,n.n=this.a4,n.l=this.disabled,null!=this.ab){var s=this.ab;if(null!=this.view&&null==s.q){var a=this.view.l,h=i.FontUtil.getFontInfoFromString(a,s.fontString);s.q=h.q,s.f=h.f,s.r=h.r,s.t=h.t,s.u=h.u,s.v=h.v}null!=s.q&&(n.ab=s.q),i.isNaN_(s.f)||(n.r=s.f),null!=s.v&&(n.af=s.v),null!=s.t&&(n.ad=s.t),null!=s.r&&(n.ac=s.t)}return n},n.prototype.provideContainer=function(t){this.view.al(t)},n.$t=i.markType(n,"XButton",i.Base.$,[i.INotifyPropertyChanged_$type]),n.n=2,n.ea=0,n.d9=0,n.i=new u(1,((r=new i.Dictionary$2(i.String_$type,i.Base.$,0)).addItem("UmbraShadowColor",i.BrushUtil.l(66,0,0,0)),r.addItem("PenumbraShadowColor",i.BrushUtil.l(30,0,0,0)),r.addItem("AmbientShadowColor",i.BrushUtil.l(20,0,0,0)),r.addItem("ElevationMode",i.enumGetBox(i.ElevationMode_$type,1)),r),function(){var t=new i.Dictionary$2(i.Base.$,u.$,0);return t.addItem(i.enumGetBox(l,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",2),t.addItem("HoverElevation",4),t.addItem("FocusElevation",8),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(138,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,4)),t.addItem(2,new i.CornerRadius(0,4)),t.addItem(3,new i.CornerRadius(0,4)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.l(255,0,0,0)),t}())),t.addItem(i.enumGetBox(l,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",0),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(138,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,4)),t.addItem(2,new i.CornerRadius(0,4)),t.addItem(3,new i.CornerRadius(0,4)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(63,228,28,119)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(38,183,22,95)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,228,28,119)),t}())),t.addItem(i.enumGetBox(l,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",0),t.addItem("BorderColor",i.BrushUtil.l(255,228,28,119)),t.addItem("RippleColor",i.BrushUtil.l(138,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,4)),t.addItem(2,new i.CornerRadius(0,4)),t.addItem(3,new i.CornerRadius(0,4)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(63,228,28,119)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,228,28,119)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(38,183,22,95)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,228,28,119)),t}())),t.addItem(i.enumGetBox(l,4),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",0),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(138,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.l(255,0,0,0)),t}())),t.addItem(i.enumGetBox(l,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",6),t.addItem("HoverElevation",12),t.addItem("FocusElevation",12),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(138,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.l(255,0,0,0)),t}())),t}()),n.h=new u(1,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("UmbraShadowColor",i.BrushUtil.l(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.l(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.l(40,33,150,243)),t.addItem("ElevationMode",i.enumGetBox(i.ElevationMode_$type,2)),t}(),function(){var t=new i.Dictionary$2(i.Base.$,u.$,0);return t.addItem(i.enumGetBox(l,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(255,255,255,255)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,3)),t.addItem(2,new i.CornerRadius(0,3)),t.addItem(3,new i.CornerRadius(0,3)),t.addItem(4,new i.CornerRadius(0,3)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.l(255,255,255,255)),t}())),t.addItem(i.enumGetBox(l,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(100,33,150,243)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,3)),t.addItem(2,new i.CornerRadius(0,3)),t.addItem(3,new i.CornerRadius(0,3)),t.addItem(4,new i.CornerRadius(0,3)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.l(255,33,150,243)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(26,33,150,243)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(26,33,150,243)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,33,150,243)),t}())),t.addItem(i.enumGetBox(l,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(255,33,150,243)),t.addItem("RippleColor",i.BrushUtil.l(0,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,3)),t.addItem(2,new i.CornerRadius(0,3)),t.addItem(3,new i.CornerRadius(0,3)),t.addItem(4,new i.CornerRadius(0,3)),t}()),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverTextColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(255,33,150,243)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,255,255,255)),t}())),t.addItem(i.enumGetBox(l,4),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",null),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.l(255,33,150,243)),t}())),t.addItem(i.enumGetBox(l,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(255,255,255,255)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.l(255,255,255,255)),t}())),t}()),n.k=new u(1,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("UmbraShadowColor",i.BrushUtil.l(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.l(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.l(40,33,150,243)),t.addItem("ElevationMode",i.enumGetBox(i.ElevationMode_$type,2)),t}(),function(){var t=new i.Dictionary$2(i.Base.$,u.$,0);return t.addItem(i.enumGetBox(l,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(255,255,255,255)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,18)),t.addItem(2,new i.CornerRadius(0,15)),t.addItem(3,new i.CornerRadius(0,12)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,110,137,247)),t.addItem("TextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,94,117,210)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,76,95,171)),t.addItem("FocusTextColor",i.BrushUtil.l(255,255,255,255)),t}())),t.addItem(i.enumGetBox(l,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(100,33,150,243)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,18)),t.addItem(2,new i.CornerRadius(0,15)),t.addItem(3,new i.CornerRadius(0,12)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.l(255,33,150,243)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(76,33,150,243)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(51,33,150,243)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,119,119,119)),t}())),t.addItem(i.enumGetBox(l,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(255,110,137,247)),t.addItem("RippleColor",i.BrushUtil.l(0,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,18)),t.addItem(2,new i.CornerRadius(0,15)),t.addItem(3,new i.CornerRadius(0,12)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,110,137,247)),t.addItem("HoverTextColor",i.BrushUtil.l(255,94,117,210)),t.addItem("FocusTextColor",i.BrushUtil.l(255,76,95,171)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(26,110,137,247)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(50,110,137,247)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(76,110,137,247)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,110,137,247)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(51,110,137,247)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,110,137,247)),t}())),t.addItem(i.enumGetBox(l,4),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",null),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(51,178,191,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(51,178,191,220)),t.addItem("FocusTextColor",i.BrushUtil.l(255,0,0,0)),t}())),t.addItem(i.enumGetBox(l,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(255,255,255,255)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,110,137,247)),t.addItem("TextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,94,117,210)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,76,95,171)),t.addItem("FocusTextColor",i.BrushUtil.l(255,255,255,255)),t}())),t}()),n.j=new u(1,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("UmbraShadowColor",i.BrushUtil.l(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.l(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.l(40,33,150,243)),t.addItem("ElevationMode",i.enumGetBox(i.ElevationMode_$type,2)),t}(),function(){var t=new i.Dictionary$2(i.Base.$,u.$,0);return t.addItem(i.enumGetBox(l,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(90,110,137,247)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(90,255,255,255)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",0),t.addItem("BorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(0,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,18)),t.addItem(2,new i.CornerRadius(0,15)),t.addItem(3,new i.CornerRadius(0,12)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,110,137,247)),t.addItem("TextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,94,117,210)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,83,103,186)),t.addItem("FocusTextColor",i.BrushUtil.l(255,255,255,255)),t}())),t.addItem(i.enumGetBox(l,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(90,255,255,255)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(0,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,18)),t.addItem(2,new i.CornerRadius(0,15)),t.addItem(3,new i.CornerRadius(0,12)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.l(255,33,150,243)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(76,110,137,247)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,119,119,119)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(51,110,137,247)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,119,119,119)),t}())),t.addItem(i.enumGetBox(l,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(90,110,137,247)),t.addItem("DisabledTextColor",i.BrushUtil.l(90,255,255,255)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(255,110,137,247)),t.addItem("RippleColor",i.BrushUtil.l(0,0,0,0)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,18)),t.addItem(2,new i.CornerRadius(0,15)),t.addItem(3,new i.CornerRadius(0,12)),t.addItem(4,new i.CornerRadius(0,4)),t}()),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,110,137,247)),t.addItem("HoverTextColor",i.BrushUtil.l(255,110,137,247)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(26,110,137,247)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.l(255,110,137,247)),t.addItem("SelectedBackgroundColor",i.BrushUtil.l(76,110,137,247)),t.addItem("SelectedTextColor",i.BrushUtil.l(255,110,137,247)),t.addItem("HoverSelectedBackgroundColor",i.BrushUtil.l(51,110,137,247)),t.addItem("HoverSelectedTextColor",i.BrushUtil.l(255,110,137,247)),t}())),t.addItem(i.enumGetBox(l,4),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",null),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.l(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(51,178,191,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(51,178,191,220)),t.addItem("FocusTextColor",i.BrushUtil.l(255,0,0,0)),t}())),t.addItem(i.enumGetBox(l,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("DisabledBackgroundColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.l(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.l(66,0,0,0)),t.addItem("DisabledElevation",0),t.addItem("RestingElevation",0),t.addItem("HoverElevation",0),t.addItem("FocusElevation",2),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.l(255,255,255,255)),t.addItem("CornerRadius",function(){var t=new i.Dictionary$2(i.ControlDisplayDensity_$type,i.CornerRadius.$,0);return t.addItem(1,new i.CornerRadius(0,28)),t.addItem(2,new i.CornerRadius(0,28)),t.addItem(3,new i.CornerRadius(0,28)),t.addItem(4,new i.CornerRadius(0,28)),t}()),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.l(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.l(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.l(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.l(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.l(255,255,255,255)),t}())),t}()),n.l=new c(1,function(){var t=new i.Dictionary$2(i.BaseControlTheme_$type,u.$,0);return t.addItem(2,n.i),t.addItem(1,n.h),t.addItem(3,n.k),t.addItem(4,n.j),t.addItem(5,n.k),t.addItem(6,n.j),t}(),2),n}(i.Base),y=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new p},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}(),g=function(t){function n(){var n=t.call(this)||this;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._clicked=null,n._clicked_wrapped=null,n._gotFocus=null,n._gotFocus_wrapped=null,n._lostFocus=null,n._lostFocus_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("buttonContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._button=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onDisplayChanged=function(){this.style.display=this.display},n.prototype._onFlexDirectionChanged=function(){this.style.flexDirection=this.flexDirection},n.prototype._onFlexGrowChanged=function(){this.style.flexGrow=this.flexGrow},n.prototype._onAlignItemsChanged=function(){this.style.alignItems=this.alignItems},n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._button.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new b},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-button"),this.classList.add("igc-x-button"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display=this.display,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXButtonComponent=t}return n._observedAttributesIgcXButtonComponent},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,"minWidth",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("minWidth",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minHeight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("minHeight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(l,t),this._a("displayType",i.enumToString(l,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.s))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.nu)},set:function(t){this.i.nu=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.nu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.n5)},set:function(t){this.i.n5=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.n5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.n2)},set:function(t){this.i.n2=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.n2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.ns)},set:function(t){this.i.ns=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.ns))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRestingElevation",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("actualRestingElevation",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusElevation",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("actualFocusElevation",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverElevation",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("actualHoverElevation",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRippleColor",{get:function(){return i.brushToString(this.i.n3)},set:function(t){this.i.n3=i.stringToBrush(t),this._a("actualRippleColor",i.brushToString(this.i.n3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.k4?this.i.k4.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.k4.c=+t,this._a("actualCornerRadiusBottomRight",this.i.k4.c),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.k4?this.i.k4.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.k4.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.k4.b),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.k4?this.i.k4.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.k4.d=+t,this._a("actualCornerRadiusTopLeft",this.i.k4.d),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.k4?this.i.k4.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.k4.e=+t,this._a("actualCornerRadiusTopRight",this.i.k4.e),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),n.prototype.ensureActualCornerRadius=function(){this.i.k4||(this.i.k4=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.nt)},set:function(t){this.i.nt=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.nt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.nv)},set:function(t){this.i.nv=i.stringToBrush(t),this._a("actualDisabledBackgroundColor",i.brushToString(this.i.nv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBorderColor",{get:function(){return i.brushToString(this.i.nw)},set:function(t){this.i.nw=i.stringToBrush(t),this._a("actualDisabledBorderColor",i.brushToString(this.i.nw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.nx)},set:function(t){this.i.nx=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.nx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledElevation",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t,this._a("actualDisabledElevation",this.i.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevationMode",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ElevationMode_$type,t),this._a("actualElevationMode",i.enumToString(i.ElevationMode_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.n4)},set:function(t){this.i.n4=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.n4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.n1)},set:function(t){this.i.n1=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.n1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBackgroundColor",{get:function(){return i.brushToString(this.i.ny)},set:function(t){this.i.ny=i.stringToBrush(t),this._a("actualFocusBackgroundColor",i.brushToString(this.i.ny))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusTextColor",{get:function(){return i.brushToString(this.i.nz)},set:function(t){this.i.nz=i.stringToBrush(t),this._a("actualFocusTextColor",i.brushToString(this.i.nz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.n0)},set:function(t){this.i.n0=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.n0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("actualBorderWidth",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBackgroundColor",{get:function(){return i.brushToString(this.i.q9)},set:function(t){this.i.q9=i.stringToBrush(t),this._a("raisedBackgroundColor",i.brushToString(this.i.q9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.rb)},set:function(t){this.i.rb=i.stringToBrush(t),this._a("raisedDisabledBackgroundColor",i.brushToString(this.i.rb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBorderColor",{get:function(){return i.brushToString(this.i.rc)},set:function(t){this.i.rc=i.stringToBrush(t),this._a("raisedDisabledBorderColor",i.brushToString(this.i.rc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledTextColor",{get:function(){return i.brushToString(this.i.rd)},set:function(t){this.i.rd=i.stringToBrush(t),this._a("raisedDisabledTextColor",i.brushToString(this.i.rd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledElevation",{get:function(){return this.i.d3},set:function(t){this.i.d3=+t,this._a("raisedDisabledElevation",this.i.d3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.rg)},set:function(t){this.i.rg=i.stringToBrush(t),this._a("raisedHoverBackgroundColor",i.brushToString(this.i.rg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderColor",{get:function(){return i.brushToString(this.i.ra)},set:function(t){this.i.ra=i.stringToBrush(t),this._a("raisedBorderColor",i.brushToString(this.i.ra))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedRestingElevation",{get:function(){return this.i.d6},set:function(t){this.i.d6=+t,this._a("raisedRestingElevation",this.i.d6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverElevation",{get:function(){return this.i.d5},set:function(t){this.i.d5=+t,this._a("raisedHoverElevation",this.i.d5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusElevation",{get:function(){return this.i.d4},set:function(t){this.i.d4=+t,this._a("raisedFocusElevation",this.i.d4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderWidth",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("raisedBorderWidth",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomRight",{get:function(){return this.i.lh?this.i.lh.c:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lh.c=+t,this._a("raisedCornerRadiusBottomRight",this.i.lh.c),this.i.lh=this.i.lh},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomLeft",{get:function(){return this.i.lh?this.i.lh.b:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lh.b=+t,this._a("raisedCornerRadiusBottomLeft",this.i.lh.b),this.i.lh=this.i.lh},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopLeft",{get:function(){return this.i.lh?this.i.lh.d:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lh.d=+t,this._a("raisedCornerRadiusTopLeft",this.i.lh.d),this.i.lh=this.i.lh},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopRight",{get:function(){return this.i.lh?this.i.lh.e:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.lh.e=+t,this._a("raisedCornerRadiusTopRight",this.i.lh.e),this.i.lh=this.i.lh},enumerable:!1,configurable:!0}),n.prototype.ensureRaisedCornerRadius=function(){this.i.lh||(this.i.lh=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"raisedRippleColor",{get:function(){return i.brushToString(this.i.ri)},set:function(t){this.i.ri=i.stringToBrush(t),this._a("raisedRippleColor",i.brushToString(this.i.ri))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBackgroundColor",{get:function(){return i.brushToString(this.i.p8)},set:function(t){this.i.p8=i.stringToBrush(t),this._a("flatBackgroundColor",i.brushToString(this.i.p8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qa)},set:function(t){this.i.qa=i.stringToBrush(t),this._a("flatDisabledBackgroundColor",i.brushToString(this.i.qa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBorderColor",{get:function(){return i.brushToString(this.i.qb)},set:function(t){this.i.qb=i.stringToBrush(t),this._a("flatDisabledBorderColor",i.brushToString(this.i.qb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledTextColor",{get:function(){return i.brushToString(this.i.qc)},set:function(t){this.i.qc=i.stringToBrush(t),this._a("flatDisabledTextColor",i.brushToString(this.i.qc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledElevation",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("flatDisabledElevation",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qf)},set:function(t){this.i.qf=i.stringToBrush(t),this._a("flatHoverBackgroundColor",i.brushToString(this.i.qf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderColor",{get:function(){return i.brushToString(this.i.p9)},set:function(t){this.i.p9=i.stringToBrush(t),this._a("flatBorderColor",i.brushToString(this.i.p9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRestingElevation",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("flatRestingElevation",this.i.ds)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverElevation",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("flatHoverElevation",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusElevation",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("flatFocusElevation",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRippleColor",{get:function(){return i.brushToString(this.i.qh)},set:function(t){this.i.qh=i.stringToBrush(t),this._a("flatRippleColor",i.brushToString(this.i.qh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatTextColor",{get:function(){return i.brushToString(this.i.qi)},set:function(t){this.i.qi=i.stringToBrush(t),this._a("flatTextColor",i.brushToString(this.i.qi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverTextColor",{get:function(){return i.brushToString(this.i.qg)},set:function(t){this.i.qg=i.stringToBrush(t),this._a("flatHoverTextColor",i.brushToString(this.i.qg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qd)},set:function(t){this.i.qd=i.stringToBrush(t),this._a("flatFocusBackgroundColor",i.brushToString(this.i.qd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusTextColor",{get:function(){return i.brushToString(this.i.qe)},set:function(t){this.i.qe=i.stringToBrush(t),this._a("flatFocusTextColor",i.brushToString(this.i.qe))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderWidth",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("flatBorderWidth",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomRight",{get:function(){return this.i.ld?this.i.ld.c:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.ld.c=+t,this._a("flatCornerRadiusBottomRight",this.i.ld.c),this.i.ld=this.i.ld},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomLeft",{get:function(){return this.i.ld?this.i.ld.b:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.ld.b=+t,this._a("flatCornerRadiusBottomLeft",this.i.ld.b),this.i.ld=this.i.ld},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopLeft",{get:function(){return this.i.ld?this.i.ld.d:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.ld.d=+t,this._a("flatCornerRadiusTopLeft",this.i.ld.d),this.i.ld=this.i.ld},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopRight",{get:function(){return this.i.ld?this.i.ld.e:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.ld.e=+t,this._a("flatCornerRadiusTopRight",this.i.ld.e),this.i.ld=this.i.ld},enumerable:!1,configurable:!0}),n.prototype.ensureFlatCornerRadius=function(){this.i.ld||(this.i.ld=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.n6)},set:function(t){this.i.n6=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.n6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBackgroundColor",{get:function(){return i.brushToString(this.i.pu)},set:function(t){this.i.pu=i.stringToBrush(t),this._a("disabledBackgroundColor",i.brushToString(this.i.pu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBorderColor",{get:function(){return i.brushToString(this.i.pv)},set:function(t){this.i.pv=i.stringToBrush(t),this._a("disabledBorderColor",i.brushToString(this.i.pv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.pw)},set:function(t){this.i.pw=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.pw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledElevation",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("disabledElevation",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevationMode",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.ElevationMode_$type,t),this._a("elevationMode",i.enumToString(i.ElevationMode_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.ql)},set:function(t){this.i.ql=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.ql))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.brushToString(this.i.n7)},set:function(t){this.i.n7=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.n7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"restingElevation",{get:function(){return this.i.d7},set:function(t){this.i.d7=+t,this._a("restingElevation",this.i.d7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverElevation",{get:function(){return this.i.du},set:function(t){this.i.du=+t,this._a("hoverElevation",this.i.du)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusElevation",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("focusElevation",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{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("textStyle",null!=this.i.ab?this.i.ab.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.rl)},set:function(t){this.i.rl=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.rl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.qm)},set:function(t){this.i.qm=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.qm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleColor",{get:function(){return i.brushToString(this.i.rk)},set:function(t){this.i.rk=i.stringToBrush(t),this._a("rippleColor",i.brushToString(this.i.rk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedTextColor",{get:function(){return i.brushToString(this.i.rj)},set:function(t){this.i.rj=i.stringToBrush(t),this._a("raisedTextColor",i.brushToString(this.i.rj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverTextColor",{get:function(){return i.brushToString(this.i.rh)},set:function(t){this.i.rh=i.stringToBrush(t),this._a("raisedHoverTextColor",i.brushToString(this.i.rh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.re)},set:function(t){this.i.re=i.stringToBrush(t),this._a("raisedFocusBackgroundColor",i.brushToString(this.i.re))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusTextColor",{get:function(){return i.brushToString(this.i.rf)},set:function(t){this.i.rf=i.stringToBrush(t),this._a("raisedFocusTextColor",i.brushToString(this.i.rf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBackgroundColor",{get:function(){return i.brushToString(this.i.qj)},set:function(t){this.i.qj=i.stringToBrush(t),this._a("focusBackgroundColor",i.brushToString(this.i.qj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusTextColor",{get:function(){return i.brushToString(this.i.qk)},set:function(t){this.i.qk=i.stringToBrush(t),this._a("focusTextColor",i.brushToString(this.i.qk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("borderWidth",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.k6?this.i.k6.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.k6.c=+t,this._a("cornerRadiusBottomRight",this.i.k6.c),this.i.k6=this.i.k6},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.k6?this.i.k6.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.k6.b=+t,this._a("cornerRadiusBottomLeft",this.i.k6.b),this.i.k6=this.i.k6},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.k6?this.i.k6.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.k6.d=+t,this._a("cornerRadiusTopLeft",this.i.k6.d),this.i.k6=this.i.k6},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.k6?this.i.k6.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.k6.e=+t,this._a("cornerRadiusTopRight",this.i.k6.e),this.i.k6=this.i.k6},enumerable:!1,configurable:!0}),n.prototype.ensureCornerRadius=function(){this.i.k6||(this.i.k6=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedBackgroundColor",{get:function(){return i.brushToString(this.i.qy)},set:function(t){this.i.qy=i.stringToBrush(t),this._a("outlinedBackgroundColor",i.brushToString(this.i.qy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.q0)},set:function(t){this.i.q0=i.stringToBrush(t),this._a("outlinedDisabledBackgroundColor",i.brushToString(this.i.q0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBorderColor",{get:function(){return i.brushToString(this.i.q1)},set:function(t){this.i.q1=i.stringToBrush(t),this._a("outlinedDisabledBorderColor",i.brushToString(this.i.q1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledTextColor",{get:function(){return i.brushToString(this.i.q2)},set:function(t){this.i.q2=i.stringToBrush(t),this._a("outlinedDisabledTextColor",i.brushToString(this.i.q2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledElevation",{get:function(){return this.i.dz},set:function(t){this.i.dz=+t,this._a("outlinedDisabledElevation",this.i.dz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.q5)},set:function(t){this.i.q5=i.stringToBrush(t),this._a("outlinedHoverBackgroundColor",i.brushToString(this.i.q5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderColor",{get:function(){return i.brushToString(this.i.qz)},set:function(t){this.i.qz=i.stringToBrush(t),this._a("outlinedBorderColor",i.brushToString(this.i.qz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedRestingElevation",{get:function(){return this.i.d2},set:function(t){this.i.d2=+t,this._a("outlinedRestingElevation",this.i.d2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverElevation",{get:function(){return this.i.d1},set:function(t){this.i.d1=+t,this._a("outlinedHoverElevation",this.i.d1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusElevation",{get:function(){return this.i.d0},set:function(t){this.i.d0=+t,this._a("outlinedFocusElevation",this.i.d0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderWidth",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("outlinedBorderWidth",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomRight",{get:function(){return this.i.lg?this.i.lg.c:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lg.c=+t,this._a("outlinedCornerRadiusBottomRight",this.i.lg.c),this.i.lg=this.i.lg},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomLeft",{get:function(){return this.i.lg?this.i.lg.b:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lg.b=+t,this._a("outlinedCornerRadiusBottomLeft",this.i.lg.b),this.i.lg=this.i.lg},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopLeft",{get:function(){return this.i.lg?this.i.lg.d:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lg.d=+t,this._a("outlinedCornerRadiusTopLeft",this.i.lg.d),this.i.lg=this.i.lg},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopRight",{get:function(){return this.i.lg?this.i.lg.e:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.lg.e=+t,this._a("outlinedCornerRadiusTopRight",this.i.lg.e),this.i.lg=this.i.lg},enumerable:!1,configurable:!0}),n.prototype.ensureOutlinedCornerRadius=function(){this.i.lg||(this.i.lg=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedRippleColor",{get:function(){return i.brushToString(this.i.q7)},set:function(t){this.i.q7=i.stringToBrush(t),this._a("outlinedRippleColor",i.brushToString(this.i.q7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedTextColor",{get:function(){return i.brushToString(this.i.q8)},set:function(t){this.i.q8=i.stringToBrush(t),this._a("outlinedTextColor",i.brushToString(this.i.q8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverTextColor",{get:function(){return i.brushToString(this.i.q6)},set:function(t){this.i.q6=i.stringToBrush(t),this._a("outlinedHoverTextColor",i.brushToString(this.i.q6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.q3)},set:function(t){this.i.q3=i.stringToBrush(t),this._a("outlinedFocusBackgroundColor",i.brushToString(this.i.q3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusTextColor",{get:function(){return i.brushToString(this.i.q4)},set:function(t){this.i.q4=i.stringToBrush(t),this._a("outlinedFocusTextColor",i.brushToString(this.i.q4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBackgroundColor",{get:function(){return i.brushToString(this.i.px)},set:function(t){this.i.px=i.stringToBrush(t),this._a("fabBackgroundColor",i.brushToString(this.i.px))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.pz)},set:function(t){this.i.pz=i.stringToBrush(t),this._a("fabDisabledBackgroundColor",i.brushToString(this.i.pz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBorderColor",{get:function(){return i.brushToString(this.i.p0)},set:function(t){this.i.p0=i.stringToBrush(t),this._a("fabDisabledBorderColor",i.brushToString(this.i.p0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledTextColor",{get:function(){return i.brushToString(this.i.p1)},set:function(t){this.i.p1=i.stringToBrush(t),this._a("fabDisabledTextColor",i.brushToString(this.i.p1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledElevation",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("fabDisabledElevation",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverBackgroundColor",{get:function(){return i.brushToString(this.i.p4)},set:function(t){this.i.p4=i.stringToBrush(t),this._a("fabHoverBackgroundColor",i.brushToString(this.i.p4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderColor",{get:function(){return i.brushToString(this.i.py)},set:function(t){this.i.py=i.stringToBrush(t),this._a("fabBorderColor",i.brushToString(this.i.py))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabRestingElevation",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("fabRestingElevation",this.i.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverElevation",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("fabHoverElevation",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusElevation",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("fabFocusElevation",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderWidth",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("fabBorderWidth",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomRight",{get:function(){return this.i.lc?this.i.lc.c:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.lc.c=+t,this._a("fabCornerRadiusBottomRight",this.i.lc.c),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomLeft",{get:function(){return this.i.lc?this.i.lc.b:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.lc.b=+t,this._a("fabCornerRadiusBottomLeft",this.i.lc.b),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopLeft",{get:function(){return this.i.lc?this.i.lc.d:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.lc.d=+t,this._a("fabCornerRadiusTopLeft",this.i.lc.d),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopRight",{get:function(){return this.i.lc?this.i.lc.e:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.lc.e=+t,this._a("fabCornerRadiusTopRight",this.i.lc.e),this.i.lc=this.i.lc},enumerable:!1,configurable:!0}),n.prototype.ensureFabCornerRadius=function(){this.i.lc||(this.i.lc=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"fabRippleColor",{get:function(){return i.brushToString(this.i.p6)},set:function(t){this.i.p6=i.stringToBrush(t),this._a("fabRippleColor",i.brushToString(this.i.p6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabTextColor",{get:function(){return i.brushToString(this.i.p7)},set:function(t){this.i.p7=i.stringToBrush(t),this._a("fabTextColor",i.brushToString(this.i.p7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverTextColor",{get:function(){return i.brushToString(this.i.p5)},set:function(t){this.i.p5=i.stringToBrush(t),this._a("fabHoverTextColor",i.brushToString(this.i.p5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusBackgroundColor",{get:function(){return i.brushToString(this.i.p2)},set:function(t){this.i.p2=i.stringToBrush(t),this._a("fabFocusBackgroundColor",i.brushToString(this.i.p2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusTextColor",{get:function(){return i.brushToString(this.i.p3)},set:function(t){this.i.p3=i.stringToBrush(t),this._a("fabFocusTextColor",i.brushToString(this.i.p3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBackgroundColor",{get:function(){return i.brushToString(this.i.qn)},set:function(t){this.i.qn=i.stringToBrush(t),this._a("iconBackgroundColor",i.brushToString(this.i.qn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qp)},set:function(t){this.i.qp=i.stringToBrush(t),this._a("iconDisabledBackgroundColor",i.brushToString(this.i.qp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBorderColor",{get:function(){return i.brushToString(this.i.qq)},set:function(t){this.i.qq=i.stringToBrush(t),this._a("iconDisabledBorderColor",i.brushToString(this.i.qq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledTextColor",{get:function(){return i.brushToString(this.i.qr)},set:function(t){this.i.qr=i.stringToBrush(t),this._a("iconDisabledTextColor",i.brushToString(this.i.qr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledElevation",{get:function(){return this.i.dv},set:function(t){this.i.dv=+t,this._a("iconDisabledElevation",this.i.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qu)},set:function(t){this.i.qu=i.stringToBrush(t),this._a("iconHoverBackgroundColor",i.brushToString(this.i.qu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderColor",{get:function(){return i.brushToString(this.i.qo)},set:function(t){this.i.qo=i.stringToBrush(t),this._a("iconBorderColor",i.brushToString(this.i.qo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconRestingElevation",{get:function(){return this.i.dy},set:function(t){this.i.dy=+t,this._a("iconRestingElevation",this.i.dy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverElevation",{get:function(){return this.i.dx},set:function(t){this.i.dx=+t,this._a("iconHoverElevation",this.i.dx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusElevation",{get:function(){return this.i.dw},set:function(t){this.i.dw=+t,this._a("iconFocusElevation",this.i.dw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderWidth",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("iconBorderWidth",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomRight",{get:function(){return this.i.lf?this.i.lf.c:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.lf.c=+t,this._a("iconCornerRadiusBottomRight",this.i.lf.c),this.i.lf=this.i.lf},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomLeft",{get:function(){return this.i.lf?this.i.lf.b:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.lf.b=+t,this._a("iconCornerRadiusBottomLeft",this.i.lf.b),this.i.lf=this.i.lf},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopLeft",{get:function(){return this.i.lf?this.i.lf.d:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.lf.d=+t,this._a("iconCornerRadiusTopLeft",this.i.lf.d),this.i.lf=this.i.lf},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopRight",{get:function(){return this.i.lf?this.i.lf.e:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.lf.e=+t,this._a("iconCornerRadiusTopRight",this.i.lf.e),this.i.lf=this.i.lf},enumerable:!1,configurable:!0}),n.prototype.ensureIconCornerRadius=function(){this.i.lf||(this.i.lf=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"iconRippleColor",{get:function(){return i.brushToString(this.i.qw)},set:function(t){this.i.qw=i.stringToBrush(t),this._a("iconRippleColor",i.brushToString(this.i.qw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconTextColor",{get:function(){return i.brushToString(this.i.qx)},set:function(t){this.i.qx=i.stringToBrush(t),this._a("iconTextColor",i.brushToString(this.i.qx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverTextColor",{get:function(){return i.brushToString(this.i.qv)},set:function(t){this.i.qv=i.stringToBrush(t),this._a("iconHoverTextColor",i.brushToString(this.i.qv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qs)},set:function(t){this.i.qs=i.stringToBrush(t),this._a("iconFocusBackgroundColor",i.brushToString(this.i.qs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusTextColor",{get:function(){return i.brushToString(this.i.qt)},set:function(t){this.i.qt=i.stringToBrush(t),this._a("iconFocusTextColor",i.brushToString(this.i.qt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputId",{get:function(){return this.i.hz},set:function(t){this.i.hz=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.hx},set:function(t){this.i.hx=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.f1},set:function(t){this.i.f1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.g5},set:function(t){this.i.g5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.g7},set:function(t){this.i.g7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.fc},set:function(t){this.i.fc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.ef},set:function(t){this.i.ef=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.h7},set:function(t){this.i.h7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.d8},set:function(t){this.i.d8=+t,this._a("tabIndex",this.i.d8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.fe},set:function(t){this.i.fe=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fillAvailableSpace",{get:function(){return this.i.az},set:function(t){this.i.az=i.ensureBool(t),this._a("fillAvailableSpace",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.i.focused},set:function(t){this.i.focused=i.ensureBool(t),this._a("focused",this.i.focused)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFocusStyleEnabled",{get:function(){return this.i.a3},set:function(t){this.i.a3=i.ensureBool(t),this._a("isFocusStyleEnabled",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("disableRipple",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisableRipple",{get:function(){return this.i.at},set:function(t){this.i.at=i.ensureBool(t),this._a("actualDisableRipple",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableHover",{get:function(){return this.i.av},set:function(t){this.i.av=i.ensureBool(t),this._a("disableHover",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.a4},set:function(t){this.i.a4=i.ensureBool(t),this._a("isHover",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableTransitions",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("disableTransitions",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disablePointer",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("disablePointer",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("contentPaddingLeft",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("contentPaddingTop",this.i.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.bo},set:function(t){this.i.bo=+t,this._a("contentPaddingRight",this.i.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("contentPaddingBottom",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"horizontalContentAlignment",{get:function(){return this.i.lj},set:function(t){this.i.lj=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("horizontalContentAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.lj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"verticalContentAlignment",{get:function(){return this.i.rn},set:function(t){this.i.rn=i.ensureEnum(i.VerticalAlignment_$type,t),this._a("verticalContentAlignment",i.enumToString(i.VerticalAlignment_$type,this.i.rn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"clickTunneling",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("clickTunneling",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.a6},set:function(t){this.i.a6=i.ensureBool(t),this._a("stopPropagation",this.i.a6)},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("XButtonComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.ec()},n.prototype.exportSerializedVisualModel=function(){return this.i.f5()},Object.defineProperty(n.prototype,"clicked",{get:function(){return this._clicked},set:function(t){var e=this;null!==this._clicked_wrapped&&(this.i.clicked=i.delegateRemove(this.i.clicked,this._clicked_wrapped),this._clicked_wrapped=null,this._clicked=null),this._clicked=t,this._clicked_wrapped=function(t,i){var n=new y;n._provideImplementation(i),e.beforeClicked&&e.beforeClicked(e,n),e._clicked&&e._clicked(e,n)},this.i.clicked=i.delegateCombine(this.i.clicked,this._clicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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,n){var r=new i.IgcFocusEventArgs;r._provideImplementation(n),e.beforeGotFocus&&e.beforeGotFocus(e,r),e._gotFocus&&e._gotFocus(e,r)},this.i.gotFocus=i.delegateCombine(this.i.gotFocus,this._gotFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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,n){var r=new i.IgcFocusEventArgs;r._provideImplementation(n),e.beforeLostFocus&&e.beforeLostFocus(e,r),e._lostFocus&&e._lostFocus(e,r)},this.i.lostFocus=i.delegateCombine(this.i.lostFocus,this._lostFocus_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXButtonComponent=null,n.htmlTagName="igc-x-button",n._isElementRegistered=!1,n}(i.IgcHTMLElement),m=function(){function t(){}return t.register=function(){a.register(),i.IgcChildContentModule.register(),g.register(),i.TypeRegistrar.registerCons("IgcXButtonComponent",g),i.TypeRegistrar.registerCons("IgcXButtonComponent",g),i.TypeRegistrar.register("XButton",b.$type)},t}(),v=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._handled=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"handled",{get:function(){return this._handled},set:function(t){this._handled=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"IconClickedEventArgs",i.EventArgs.$),n}(i.EventArgs),_=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.g=0,e.f=0,e.j=0,e.a=null,e.b=null,e.d=null,e.c=null,e.e=0,e._svgPath=null,e._svg=null,e.k=null,e.q=null,e.r=null,e.s=null,e.h=0,e.o=null,e.p=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this._svgPath},set:function(t){this._svgPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this._svg},set:function(t){this._svg=t},enumerable:!1,configurable:!0}),n.prototype.l=function(){var t=new i.StringBuilder(0);if(t.l("{"),t.l("shapes: ["),null!=this.a&&this.a.length>0)for(var e=0;e<this.a.length;e++){var n=this.a[e].serialize();t=e<this.a.length-1?t.l(n+", "):t.l(n)}return t.u("], "),t.l("top : "+this.i+", "),t.l("left : "+this.g+", "),t.l("height : "+this.f+", "),t.l("width : "+this.j+", "),t.l('svg : "'+this.svg+'", '),t.l('svgPath : "'+this.svgPath+'", '),t.l('dataURL : "'+this.k+'", '),i.stringIsNullOrEmpty(this.q)||t.l('textStyleFontStyle : "'+this.q+'", '),i.stringIsNullOrEmpty(this.r)||t.l('textStyleFontVariant : "'+this.r+'", '),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontWeight : "'+this.s+'", '),i.stringIsNullOrEmpty(this.o)||t.l('textStyleFontFamily : "'+this.o+'", '),i.stringIsNullOrEmpty(this.p)||t.l('textStyleFontStretch : "'+this.p+'", '),i.isNaN_(this.h)||t.l("textStyleFontSize : "+this.h+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"IconVisualModelExport"),n}(i.Base),C=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.v=null,e.g=null,e.o=new i.List$1(i.Delegate_$type,0),e.q=null,e.r=null,e.s=null,e.t=null,e.u=null,e.e=null,e.f=null,e.ac=null,e.n=new i.Dictionary$2(i.Brush.$,i.String_$type,0),e.j=!0,e.y=null,e.x=null,e.z=null,e.w=null,e.p=new i.List$1(i.DomWrapper_$type,0),e.q=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.r=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.s=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.t=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.u=new i.List$1(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$),0),e.e=new i.FastIterationDictionary$2(i.String_$type,i.List$1.$.specialize(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$)),0),e.f=new i.FastIterationDictionary$2(i.String_$type,i.List$1.$.specialize(i.Tuple$2.$.specialize(i.SVGNode.$,i.Base.$)),0),e}return e.__extends(n,t),n.prototype.an=function(){},n.prototype.l=function(){return!0},Object.defineProperty(n.prototype,"aa",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.p.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.o)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.o.clear(),null!=this.y&&this.y.unlistenAll(),null!=this.x&&this.x.unlistenAll()}this.v=t,t.rootWrapper.setStyleProperty("position","relative"),this.v.rootWrapper.setStyleProperty("display","flex"),this.v.rootWrapper.setStyleProperty("flex-direction","row"),this.v.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.v.rootWrapper.setStyleProperty("align-items","center"),this.v.rootWrapper.setStyleProperty("justify-content","center"),this.av();var a=this.v.createElementNS("svg","http://www.w3.org/2000/svg");a.setStyleProperty("position","absolute"),a.setStyleProperty("top","0"),a.setStyleProperty("left","0"),a.setStyleProperty("right","0"),a.setStyleProperty("bottom","0"),this.y=a;var h=this.v.createElement("img");h.setStyleProperty("height","100%"),h.setStyleProperty("width","100%"),h.setStyleProperty("object-fit","contain"),this.x=h,this.a1(),this.w=t.createElementNS("defs","http://www.w3.org/2000/svg"),this.y.append(this.w),this.v.append(this.y),this.o.add(a.listen("click",i.runOn(this,this.ak))),this.d.c6()},n.prototype.ay=function(t){if(this.z=null,this.n.clear(),this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.y),this.y.removeChildren(),this.w.removeChildren(),this.p.clear(),null!=t){var e=this.v.createElementNS("path","http://www.w3.org/2000/svg");e.setAttribute("d",t),this.y.append(this.w),this.y.append(e),this.p.add(e)}},n.prototype.az=function(t){if(this.z=null,this.n.clear(),this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.y),this.y.removeChildren(),this.w.removeChildren(),this.p.clear(),null!=t&&t.length>0){this.y.append(this.w);for(var e=0;e<t.length;e++){var i=this.v.createElementNS("path","http://www.w3.org/2000/svg");i.setAttribute("d",t[e]),this.y.append(i),this.p.add(i)}}},n.prototype.ax=function(t){if(this.z=null,this.v.rootWrapper.removeChildren(),null!=t){this.v.rootWrapper.getNativeElement().innerHTML=t,this.z=this.v.rootWrapper.getChildAt(0);var e=this.z.getAttribute("viewbox");if(null!=e){var i=e.split(" ");if(1==i.length&&(i=e.split(",")),4==i.length){var n=parseFloat(i[0].trim()),r=parseFloat(i[1].trim()),o=parseFloat(i[2].trim()),s=parseFloat(i[3].trim());this.d.dd(n,r,o,s)}}else this.d.dd(NaN,NaN,NaN,NaN)}},n.prototype.at=function(t){this.z=null,this.ac!=t&&(this.ac=t,this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.x),this.x.setAttribute("src",t))},n.prototype.aw=function(t){"string"==typeof t&&this.at(i.typeCast(i.String_$type,t))},n.prototype.ai=function(){3!=this.d.k&&4!=this.d.k&&(this.ac=null)},n.prototype.k=function(){return null!=this.d.svgPath||null!=this.d.svg||null!=this.d.b},n.prototype.av=function(){this.v.rootWrapper.setStyleProperty("width",i.isNaN_(this.d.a9)?"1.5rem":this.d.a9+"px"),this.v.rootWrapper.setStyleProperty("height",i.isNaN_(this.d.a1)?"1.5rem":this.d.a1+"px")},n.prototype.a1=function(){var t=this.d.as,e=this.d.at,i=this.d.au,n=this.d.ar;this.y.setAttribute("viewBox",t+" "+e+" "+i+" "+n),null!=this.z&&this.z.setAttribute("viewBox",t+" "+e+" "+i+" "+n)},n.prototype.ap=function(t,e){t.color;if(!this.n.containsKey(t))if(t.isGradient){var i=this.w.getChildCount(),n=t,r=this.v.createElementNS("linearGradient","http://www.w3.org/2000/svg"),o="ig_gradient_"+e+"_"+i;r.setAttribute("id",o),r.setAttribute("x1",n.startX.toString()),r.setAttribute("x2",n.endX.toString()),r.setAttribute("y1",n.startY.toString()),r.setAttribute("y2",n.endY.toString());for(var s=n.gradientStops,a=0;a<s.length;a++){var h=s[a],l=this.v.createElementNS("stop","http://www.w3.org/2000/svg");l.setAttribute("offset",100*h.offset+"%"),l.setAttribute("stop-color",h._fill),r.append(l)}this.w.append(r),this.n.addItem(t,o)}else t.isRadialGradient},n.prototype.aq=function(t,e){var n=t;this.n.containsKey(e)?(n.setAttribute("fill","url(#"+this.n.item(e)+")"),this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.y)):i.NativeUI.r(t,e)},n.prototype.ar=function(t,e){var n=t;this.n.containsKey(e)?n.setAttribute("stroke","url('#"+this.n.item(e)+"')"):i.NativeUI.aa(t,e)},n.prototype.ad=function(t){},n.prototype.ao=function(){this.l()},n.prototype.ae=function(t){this.d.c3()},n.prototype.af=function(t){this.d.c4()},n.prototype.aj=function(){this.j=!0,this.o.add(this.v.rootWrapper.listen("mouseenter",i.runOn(this,this.ae))),this.o.add(this.v.rootWrapper.listen("mouseleave",i.runOn(this,this.af)))},n.prototype.am=function(){var t,n;this.j=!1;try{for(var r=e.__values(i.fromEnum(this.o)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.o.clear()},n.prototype.a0=function(t){null!=t&&this.v.rootWrapper.setStyleProperty("font",t.fontString)},n.prototype.a2=function(){return new i.Size(1,this.v.rootWrapper.width(),this.v.rootWrapper.height())},n.prototype.b=function(){var t=this.v.rootWrapper.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.ak=function(t){this.d.x()&&(t.stopPropagation(),t.preventDefault())},n.prototype.a=function(){var t=new i.List$1(i.PrimitiveVisualData.$,0);this.v.rootWrapper.getNativeElement();return t.toArray()},n.prototype.ah=function(t,e){for(var i=0;i<e.e.count;i++){var n=e.e._inner[i],r=this.h(n);null!=r?t.add(r):this.ah(t,n)}},n.prototype.h=function(t){var e,n=null;switch(t.c){case 7:var r=((e=new i.Path).an=t.w,e);this.au(r,t),n=new i.PathVisualData(1,"path1",r);break;case 3:var o=t,s=new i.Line;s.an=o.w,s.ao=o.x,s.ap=o.y,s.aq=o.z,this.au(s,t),n=new i.LineVisualData(1,"line1",s);break;case 4:var a=t,h=new i.Rectangle;h.width=a.z,h.height=a.w,h.ap=a.x,h.aq=a.y,this.au(h,t),n=new i.RectangleVisualData(1,"rect1",h);break;case 5:case 6:var l=t,u=new i.Ellipse;u.width=2*l.y,u.height=2*l.z,this.au(u,t),n=new i.EllipseVisualData(1,"ellipse1",u)}return n},n.prototype.au=function(t,e){var n=e;if(t.ad=e.t,t.j=n.h,t.am=n.v,t.al=n.u,t.ak=n.u,t._opacity=n.q,null!=n.i){for(var r=new i.DoubleCollection,o=n.i,s=0;s<o.length;s++){var a=o[s];r.add(a)}t.ai=r}},n.prototype.i=function(t){return null!==i.typeCast(i.Path.$,t)?new i.PathVisualData(1,"path1",t):null!==i.typeCast(i.Line.$,t)?new i.LineVisualData(1,"line1",t):null!==i.typeCast(i.Rectangle.$,t)?new i.RectangleVisualData(1,"rect1",t):null!==i.typeCast(i.Ellipse.$,t)?new i.EllipseVisualData(1,"ellipse1",t):null},n.prototype.as=function(t,e){this.v.rootWrapper.removeChildren(),null!=t&&i.LegendItemHelper.c(this.v,0,0,24,24,e,null,t,null)},n.prototype.ag=function(){this.v.rootWrapper.removeChildren()},n.$t=i.markType(n,"IconView"),n}(i.Base),B=function(t){function n(){var e=t.call(this)||this;e._view=null,e.k=0,e.l=0,e.dg=n.dx,e.dh=n.d1,e.di=n.d2,e.y=n.aw,e.dj=n.dx,e.ds=n.d1,e.ak=n.aw,e.dt=n.d2,e.dk=n.dy,e.dl=n.dz,e.ae=n.av,e.dm=null,e.c=null,e.d=null,e.dn=null,e.dp=null,e.dq=null,e.dr=null,e.be=null,e.bj=null,e.bm=null,e.bl=null,e.a=null,e.de=null,e.bd=null,e.n=null,e.bk="ig-icon-"+n.bc++,e.ba=0,e.p=!1,e.bi=null,e.r=!1,e.q=!1,e.af=1,e.aa=0,e.am=NaN,e.ab=0,e.an=NaN,e.ac=24,e.ao=NaN,e.z=24,e.al=NaN,e.ap=NaN,e.ad=NaN,e.clicked=null,e.propertyChanged=null,e.ah=NaN,e.ai=NaN,e.aj=NaN,e.ag=NaN;var i=new C;return i.d=e,e.view=i,e.view.an(),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}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.c5=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.c8(t,e,n)},n.prototype.c8=function(t,e,n){switch(t){case"Fill":case"Stroke":case"StrokeWidth":case"HoverFill":case"HoverStroke":case"HoverStrokeThickness":case"IsHover":this.dc();break;case"FillColors":case"StrokeColors":case"ActualFill":case"ActualStroke":case"ActualStrokeWidth":this.da();break;case"SVG":this.bm=null,this.a=null,this.da();break;case"SVGPath":this.bl=null,this.a=null,this.da();break;case"SVGPaths":this.bl=null,this.bm=null,this.da();break;case"DataURL":case"Source":this.bl=null,this.bm=null,this.a=null,this.da();break;case"DataTemplate":case"DataTemplateContext":this.bl=null,this.bm=null,this.a=null,this.da();break;case"Opacity":this.db();break;case"ViewBoxLeft":this.as=i.isNaN_(this.a6)?i.isNaN_(this.ah)?0:this.ah:this.a6;break;case"ViewBoxTop":this.at=i.isNaN_(this.a7)?i.isNaN_(this.ai)?0:this.ai:this.a7;break;case"ViewBoxWidth":this.au=i.isNaN_(this.a8)?i.isNaN_(this.aj)?24:this.aj:this.a8;break;case"ViewBoxHeight":this.ar=i.isNaN_(this.a5)?i.isNaN_(this.ag)?24:this.ag:this.a5;break;case"ActualViewBoxLeft":case"ActualViewBoxTop":case"ActualViewBoxWidth":case"ActualViewBoxHeight":this.view.a1();break;case"Width":case"Height":this.view.av()}},n.prototype.dc=function(){var t=null!=this.fill?this.fill:n.dx,e=null!=this.ea?this.ea:n.d1,r=i.isNaN_(this.a4)?n.aw:this.a4,o=null!=this.eb?this.eb:n.d2;this.v?(this.du=null!=this.d3?this.d3:t,this.dv=null!=this.d4?this.d4:e,this.aq=i.isNaN_(this.a2)?r:this.a2,this.dw=null!=this.d5?this.d5:o):(this.du=t,this.dv=e,this.aq=r,this.dw=o)},Object.defineProperty(n.prototype,"t",{get:function(){return null!=this.svgPath&&!this.view.m},enumerable:!1,configurable:!0}),n.prototype.db=function(){i.NativeUI.y(this.view.aa,this.a3)},n.prototype.cz=function(){this.view.ag()},n.prototype.da=function(){this.view.aa;if(this.t){var t=this.view.ab;i.NativeUI.r(t,this.du),i.NativeUI.aa(t,this.dv),i.NativeUI.ad(t,this.aq)}else{var e=this.j();e!=this.k&&(this.k=e,this.view.ai());var n=!1;if(null!=this.df)this.view.as(this.df,this.bf);else if(null!=this.svgPath)i.stringStartsWith(i.trimStart(this.svgPath," ","\n","\r","\t"),"<svg")?(this.view.ax(this.svgPath),n=!0):this.view.ay(this.svgPath);else{if(null!=this.b){this.view.az(this.b);var r=this.view.c;if(null!=r&&r.length>0){var o=i.NativeUI.r,s=i.NativeUI.aa;this.c7(),o=i.runOn(this.view,this.view.aq),s=i.runOn(this.view,this.view.ar);for(var a=0;a<r.length;a++)null!=this.du&&o(r[a],this.du),null!=this.dv&&s(r[a],this.dv),i.isNaN_(this.aq)||i.NativeUI.ad(r[a],this.aq),null!=this.dw&&i.NativeUI.q(r[a],this.dw),null!=this.e&&this.e.count==r.length&&o(r[a],this.e.item(a)),null!=this.f&&this.f.count==r.length&&s(r[a],this.f.item(a))}return void(null!=this.o&&this.view.a0(this.o))}null!=this.svg?(this.view.ax(this.svg),n=!0):null!=this.b0?this.view.at(this.b0):null!=this.bh&&this.view.aw(this.bh)}if(n){for(var h=0;h<this.view.r.count;h++){var l=this.view.r._inner[h].c;i.NativeUI.r(this.view.r._inner[h].d,l.l.f(this.d6))}for(var u=0;u<this.view.s.count;u++){var c=this.view.s._inner[u].c;i.NativeUI.aa(this.view.s._inner[u].d,c.m.f(this.d7))}for(var p=0;p<this.view.t.count;p++){var d=this.view.t._inner[p].c;i.NativeUI.r(this.view.t._inner[p].d,d.l.f(this.d8))}for(var f=0;f<this.view.u.count;f++){var b=this.view.u._inner[f].c;i.NativeUI.aa(this.view.u._inner[f].d,b.m.f(this.d9))}for(var y=0;y<this.view.e.o.count;y++){var g=this.view.e.o._inner[y].split("-"),m=parseInt(g[g.length-1]);if(m<this.e.count)for(var v=0;v<this.view.e.q._inner[y].count;v++){var _=this.view.e.q._inner[y]._inner[v].c;i.NativeUI.r(this.view.e.q._inner[y]._inner[v].d,_.l.f(this.e.item(m)))}}for(var C=0;C<this.view.f.o.count;C++){var B=this.view.f.o._inner[C].split("-"),x=parseInt(B[B.length-1]);if(x<this.f.count)for(var k=0;k<this.view.f.q._inner[C].count;k++){var w=this.view.f.q._inner[C]._inner[k].c;i.NativeUI.aa(this.view.f.q._inner[C]._inner[k].d,w.m.f(this.f.item(x)))}}for(var T=0;T<this.view.q.count;T++){var P=this.view.q._inner[T].c;i.NativeUI.r(this.view.q._inner[T].d,P.l.f(this.du)),i.NativeUI.aa(this.view.q._inner[T].d,P.m.f(this.dv))}}var S=this.view.aa;null!=this.du&&i.NativeUI.r(S,this.du),null!=this.dv&&i.NativeUI.aa(S,this.dv),i.isNaN_(this.aq)||i.NativeUI.ad(S,this.aq)}null!=this.o&&this.view.a0(this.o),null!=this.dw&&i.NativeUI.q(this.view.aa,this.dw)},n.prototype.c7=function(){var t,n,r,o;if(null!=this.du&&this.view.ap(this.du,"fill"),null!=this.dv&&this.view.ap(this.dv,"stroke"),null!=this.e)try{for(var s=e.__values(i.fromEnum(this.e)),a=s.next();!a.done;a=s.next()){var h=a.value;this.view.ap(h,"fills")}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}if(null!=this.f)try{for(var l=e.__values(i.fromEnum(this.f)),u=l.next();!u.done;u=l.next()){var c=u.value;this.view.ap(c,"strokes")}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}},n.prototype.j=function(){var t=5;return null!=this.svgPath?t=1:null!=this.b&&this.b.length>0?t=2:null!=this.svg?t=0:null!=this.b0?t=3:null!=this.bh&&(t=4),t},Object.defineProperty(n.prototype,"m",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.c5("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"du",{get:function(){return this.dg},set:function(t){var e=this.dg;this.dg=t,e!=this.dg&&this.c5("ActualFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dv",{get:function(){return this.dh},set:function(t){var e=this.dh;this.dh=t,e!=this.dh&&this.c5("ActualStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dw",{get:function(){return this.di},set:function(t){var e=this.di;this.di=t,e!=this.di&&this.c5("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.c5("ActualStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return this.dj},set:function(t){var e=this.dj;this.dj=t,e!=this.dj&&this.c5("Fill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ea",{get:function(){return this.ds},set:function(t){var e=this.ds;this.ds=t,e!=this.ds&&this.c5("Stroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.c5("StrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eb",{get:function(){return this.dt},set:function(t){var e=this.dt;this.dt=t,e!=this.dt&&this.c5("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.dk},set:function(t){var e=this.dk;this.dk=t,e!=this.dk&&this.c5("HoverFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d4",{get:function(){return this.dl},set:function(t){var e=this.dl;this.dl=t,e!=this.dl&&this.c5("HoverStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.c5("HoverStrokeThickness",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d5",{get:function(){return this.dm},set:function(t){var e=this.dm;this.dm=t,e!=this.dm&&this.c5("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.c5("FillColors",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.c5("StrokeColors",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d6",{get:function(){return this.dn},set:function(t){var e=this.dn;this.dn=t,e!=this.dn&&this.c5("PrimaryFillColor",e,this.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d7",{get:function(){return this.dp},set:function(t){var e=this.dp;this.dp=t,e!=this.dp&&this.c5("PrimaryStrokeColor",e,this.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d8",{get:function(){return this.dq},set:function(t){var e=this.dq;this.dq=t,e!=this.dq&&this.c5("SecondaryFillColor",e,this.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d9",{get:function(){return this.dr},set:function(t){var e=this.dr;this.dr=t,e!=this.dr&&this.c5("SecondaryStrokeColor",e,this.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.c5("Source",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.c5("DataURL",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.c5("SVGPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.c5("SVG",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.c5("SVGPaths",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"df",{get:function(){return this.de},set:function(t){var e=this.de;this.de=t,e!=this.de&&this.c5("DataTemplate",e,this.de)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.c5("DataTemplateContext",e,this.bd)},enumerable:!1,configurable:!0}),n.prototype.c3=function(){this.v=!0},n.prototype.c4=function(){this.v=!1},Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.c5("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.c5("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,this.p=!0,e!=this.ba&&this.c5("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.c5("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.c5("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.c5("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.c5("Opacity",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.c5("ActualViewBoxLeft",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.c5("ViewBoxLeft",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.c5("ActualViewBoxTop",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.c5("ViewBoxTop",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.c5("ActualViewBoxWidth",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.c5("ViewBoxWidth",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.c5("ActualViewBoxHeight",e,this.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.c5("ViewBoxHeight",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.c5("Width",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.c5("Height",e,this.ad)},enumerable:!1,configurable:!0}),n.prototype.c6=function(){},n.prototype.onDetachedFromUI=function(){this.view.am()},n.prototype.onAttachedToUI=function(){this.view.aj()},n.prototype.x=function(){if(this.disabled)return!1;if(null!=this.clicked){var t=new v;return this.clicked(this,t),t.handled}return!1},n.prototype.w=function(){return this.view.l()},n.prototype.bg=function(){return this.g()},n.prototype.b2=function(){return this.g().l()},n.prototype.g=function(){var t=new _,e=this.view.b();t.i=e[0],t.g=e[1];var n=this.view.a2();if(t.f=n.height,t.j=n.width,t.a=this.view.a(),t.svg=this.svg,t.svgPath=this.svgPath,t.k=this.b0,null!=this.o){var r=this.o;if(null!=this.view&&null==r.q){var o=this.view.v,s=i.FontUtil.getFontInfoFromString(o,r.fontString);r.q=s.q,r.f=s.f,r.r=s.r,r.t=s.t,r.u=s.u,r.v=s.v}null!=r.q&&(t.o=r.q),i.isNaN_(r.f)||(t.h=r.f),null!=r.v&&(t.s=r.v),null!=r.t&&(t.q=r.t),null!=r.r&&(t.p=r.t)}return t},n.prototype.provideContainer=function(t){this.view.al(t)},n.prototype.dd=function(t,e,n,r){this.ah=t,this.ai=e,this.aj=n,this.ag=r,this.aa=i.isNaN_(this.a6)?i.isNaN_(this.ah)?0:this.ah:this.a6,this.ab=i.isNaN_(this.a7)?i.isNaN_(this.ai)?0:this.ai:this.a7,this.ac=i.isNaN_(this.a8)?i.isNaN_(this.aj)?24:this.aj:this.a8,this.z=i.isNaN_(this.a5)?i.isNaN_(this.ag)?24:this.ag:this.a5,this.view.a1()},n.$t=i.markType(n,"XIcon",i.Base.$,[i.INotifyPropertyChanged_$type,i.IIcon_$type]),n.dx=null,n.d2=null,n.d1=null,n.dy=null,n.dz=null,n.d0=null,n.aw=NaN,n.av=NaN,n.bc=0,n}(i.Base),x=function(t){function n(){var n=t.call(this)||this;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._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("iconContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._icon=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._icon.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new B},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-icon"),this.classList.add("igc-x-icon"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXIconComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXIconComponent=t}return n._observedAttributesIgcXIconComponent},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.m},set:function(t){this.i.m=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFill",{get:function(){return i.brushToString(this.i.du)},set:function(t){this.i.du=i.stringToBrush(t),this._a("actualFill",i.brushToString(this.i.du))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStroke",{get:function(){return i.brushToString(this.i.dv)},set:function(t){this.i.dv=i.stringToBrush(t),this._a("actualStroke",i.brushToString(this.i.dv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.dw)},set:function(t){this.i.dw=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.dw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStrokeWidth",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("actualStrokeWidth",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return i.brushToString(this.i.fill)},set:function(t){this.i.fill=i.stringToBrush(t),this._a("fill",i.brushToString(this.i.fill))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stroke",{get:function(){return i.brushToString(this.i.ea)},set:function(t){this.i.ea=i.stringToBrush(t),this._a("stroke",i.brushToString(this.i.ea))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"strokeWidth",{get:function(){return this.i.a4},set:function(t){this.i.a4=+t,this._a("strokeWidth",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.eb)},set:function(t){this.i.eb=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.eb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverFill",{get:function(){return i.brushToString(this.i.d3)},set:function(t){this.i.d3=i.stringToBrush(t),this._a("hoverFill",i.brushToString(this.i.d3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStroke",{get:function(){return i.brushToString(this.i.d4)},set:function(t){this.i.d4=i.stringToBrush(t),this._a("hoverStroke",i.brushToString(this.i.d4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStrokeThickness",{get:function(){return this.i.a2},set:function(t){this.i.a2=+t,this._a("hoverStrokeThickness",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.d5)},set:function(t){this.i.d5=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.d5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fillColors",{get:function(){return i.fromBrushCollection(this.i.e)},set:function(t){this.i.e=i.toBrushCollection(t),this._a("fillColors",i.brushCollectionToString(this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"strokeColors",{get:function(){return i.fromBrushCollection(this.i.f)},set:function(t){this.i.f=i.toBrushCollection(t),this._a("strokeColors",i.brushCollectionToString(this.i.f))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryFillColor",{get:function(){return i.brushToString(this.i.d6)},set:function(t){this.i.d6=i.stringToBrush(t),this._a("primaryFillColor",i.brushToString(this.i.d6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryStrokeColor",{get:function(){return i.brushToString(this.i.d7)},set:function(t){this.i.d7=i.stringToBrush(t),this._a("primaryStrokeColor",i.brushToString(this.i.d7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryFillColor",{get:function(){return i.brushToString(this.i.d8)},set:function(t){this.i.d8=i.stringToBrush(t),this._a("secondaryFillColor",i.brushToString(this.i.d8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryStrokeColor",{get:function(){return i.brushToString(this.i.d9)},set:function(t){this.i.d9=i.stringToBrush(t),this._a("secondaryStrokeColor",i.brushToString(this.i.d9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"source",{get:function(){return this.i.bh},set:function(t){this.i.bh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataURL",{get:function(){return this.i.b0},set:function(t){this.i.b0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this.i.svgPath},set:function(t){this.i.svgPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this.i.svg},set:function(t){this.i.svg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sVGPaths",{get:function(){return this.i.b},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.o?null:this.i.o.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.o=e,this._a("textStyle",null!=this.i.o?this.i.o.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.ca},set:function(t){this.i.ca=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("tabIndex",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bv},set:function(t){this.i.bv=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureBool(t),this._a("isHover",this.i.v)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"opacity",{get:function(){return this.i.a3},set:function(t){this.i.a3=+t,this._a("opacity",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxLeft",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("actualViewBoxLeft",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxLeft",{get:function(){return this.i.a6},set:function(t){this.i.a6=+t,this._a("viewBoxLeft",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxTop",{get:function(){return this.i.at},set:function(t){this.i.at=+t,this._a("actualViewBoxTop",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxTop",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("viewBoxTop",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxWidth",{get:function(){return this.i.au},set:function(t){this.i.au=+t,this._a("actualViewBoxWidth",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxWidth",{get:function(){return this.i.a8},set:function(t){this.i.a8=+t,this._a("viewBoxWidth",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualViewBoxHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualViewBoxHeight",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxHeight",{get:function(){return this.i.a5},set:function(t){this.i.a5=+t,this._a("viewBoxHeight",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.a9},set:function(t){this.i.a9=+t,this._a("width",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.a1},set:function(t){this.i.a1=+t,this._a("height",this.i.a1)},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("XIconComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.bg()},n.prototype.exportSerializedVisualModel=function(){return this.i.b2()},n._observedAttributesIgcXIconComponent=null,n.htmlTagName="igc-x-icon",n._isElementRegistered=!1,n}(i.IgcHTMLElement),k=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),x.register(),i.TypeRegistrar.registerCons("IgcXIconComponent",x),i.TypeRegistrar.registerCons("IgcXIconComponent",x),i.TypeRegistrar.register("XIcon",B.$type)},t}(),w=function(t){return t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday",t}({}),T=i.markEnum("DayOfWeek","Sunday,0|Monday,1|Tuesday,2|Wednesday,3|Thursday,4|Friday,5|Saturday,6"),P=function(t){function n(){var e=t.call(this)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"DayInfo"),n}(i.Base),S=function(t){return t[t.FirstDay=0]="FirstDay",t[t.FirstFullWeek=1]="FirstFullWeek",t[t.FirstFourDayWeek=2]="FirstFourDayWeek",t}({}),O=i.markEnum("FirstWeek","FirstDay,0|FirstFullWeek,1|FirstFourDayWeek,2"),j=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._oldValue=new Date,e._newValue=new Date,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this._oldValue},set:function(t){this._oldValue=t},enumerable:!1,configurable:!0}),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,"SelectedValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),I=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.h=0,e.e=null,e.g=null,e.c=null,e.f=null,e.d=null,e.b=null,e.a=null,e.r=null,e.s=null,e.t=null,e.m=0,e.p=null,e.q=null,e.n=null,e.j=null,e.k=null,e.l=null,e}return e.__extends(n,t),n.prototype.o=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("Density : "+this.i+", "),t.l("BaseTheme : "+this.h+", "),t.l("SelectedDateBackgroundColor : "+this.e.serialize()+", "),t.l("SelectedFocusDateBackgroundColor : "+this.g.serialize()+", "),t.l("FocusDateBackgroundColor : "+this.c.serialize()+", "),t.l("SelectedDateTextColor : "+this.f.serialize()+", "),t.l("FocusDateTextColor : "+this.d.serialize()+", "),t.l("CurrentDateTextColor : "+this.b.serialize()+", "),t.l("CurrentDateBorderColor : "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.r)||t.l('textStyleFontStyle : "'+this.r+'", '),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontVariant : "'+this.s+'", '),i.stringIsNullOrEmpty(this.t)||t.l('textStyleFontWeight : "'+this.t+'", '),i.stringIsNullOrEmpty(this.p)||t.l('textStyleFontFamily : "'+this.p+'", '),i.stringIsNullOrEmpty(this.q)||t.l('textStyleFontStretch : "'+this.q+'", '),i.isNaN_(this.m)||t.l("textStyleFontSize : "+this.m+", "),t.l('activePicker : "'+this.n+'", '),t.l("buttonsModels: [");for(var e=0;e<this.j.count;e++){0!=e&&t.l(",");this.j._inner[e].aa.charAt(0).toString().toLowerCase(),this.j._inner[e].aa.substr(1);t.l(this.j._inner[e].serialize())}t.l("],"),t.l("dayNamesModels: [");for(var n=0;n<this.k.count;n++)0!=n&&t.l(","),t.l(this.k._inner[n].h());t.l("],"),t.l("weekNumbersModels: [");for(var r=0;r<this.l.count;r++)0!=r&&t.l(","),t.l(this.l._inner[r].h());return t.l("]"),t.l("}"),t.toString()},n.$t=i.markType(n,"CalendarVisualModelExport"),n}(i.Base),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.d=0,e.c=0,e.f=0,e.g=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.prototype.h=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.e+", "),t.l("left : "+this.d+", "),t.l("height : "+this.c+", "),t.l("width : "+this.f+", "),null!=this.g&&t.l('value : "'+this.g.toString()+'", '),t.l("textColor : "+this.b.serialize()+", "),null!=this.a&&t.l("borderColor : "+this.a.serialize()+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"TextElementsVisualModelExport"),n}(i.Base),N=function(t){function n(){var e=t.call(this)||this;return e.n=null,e.o=null,e.t=null,e.q=null,e.u=null,e.s=null,e.r=null,e.g=new i.List$1(i.DomWrapper_$type,0),e.f=new i.List$1(i.DomWrapper_$type,0),e.h=new i.List$1(i.DomWrapper_$type,0),e.j=new i.List$1(i.DomWrapper_$type,0),e.i=new i.List$1(i.DomWrapper_$type,0),e.e=new i.List$1(i.DomWrapper_$type,0),e.p=null,e.x=null,e.w=0,e.c=null,e.m=null,e.x="day",e.p=null,e}return e.__extends(n,t),n.prototype.k=function(){return this.e},n.prototype.l=function(){return this.i},n.prototype.ap=function(){},n.prototype.ao=function(t){if(null!=t){this.m=t,this.m.rootWrapper.setStyleProperty("background-color","rgb(255, 255, 255)");Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.ab(),this.a3(),this.a4(),this.a1();var e=this.m.rootWrapper;e.listen("keydown",i.runOn(this,this.aa)),e.listen("focus",i.runOn(this,this.z))}else this.m=null},n.prototype.y=function(){return this.x},n.prototype.ab=function(){if(null!=this.m){this.n=this.m.createElement("div"),this.n.setStyleProperty("display","flex"),this.n.setStyleProperty("width","100%"),this.n.setStyleProperty("height","100%"),this.o=this.m.createElement("div"),this.o.setStyleProperty("height","100%"),this.o.setStyleProperty("width","100%"),this.t=this.m.createElement("div"),this.ae(),this.n.append(this.o),this.m.append(this.n);for(var t=0;t<42;t++){var e=this.m.createElement("div");this.f.add(e)}this.ac(),this.a9(),this.q=this.m.createElement("div"),this.q.setStyleProperty("height","100%"),this.m.append(this.q);for(var n=0;n<12;n++){var r=this.m.createElement("div");this.h.add(r)}this.ad();for(var o=0;o<12;o++){this.q.getChildAt(o).listen("click",i.runOn(this,this.aj))}this.q.hide(),this.u=this.m.createElement("div"),this.u.setStyleProperty("height","100%"),this.m.append(this.u);for(var s=0;s<7;s++){var a=this.m.createElement("div");this.j.add(a)}this.af();for(var h=0;h<7;h++){this.u.getChildAt(h).listen("click",i.runOn(this,this.be))}this.u.listen("wheel",i.runOn(this,this.bh)),this.u.listen("touchstart",i.runOn(this,this.bg)),this.u.listen("touchmove",i.runOn(this,this.bf)),this.u.hide()}},n.prototype.ae=function(){if(null!=this.m){this.t.setStyleProperty("display","flex"),this.t.setStyleProperty("flex-direction","column"),this.t.setStyleProperty("padding-top","26px"),this.t.setStyleProperty("width","12%");for(var t=this.c.ag(),e=0;e<6;e++){var i=this.m.createElement("div");i.setAttribute("aria-hidden","true"),i.setStyleProperty("text-align","center"),i.setStyleProperty("vertical-align","middle"),i.setStyleProperty("height","30px"),i.setStyleProperty("width","25px"),i.setStyleProperty("border-width","0px 1px 0px 0px"),i.setStyleProperty("border-style","solid"),i.setStyleProperty("border-color","rgb(163, 172, 184)");var n=this.m.createElement("span");n.setAttribute("aria-hidden","true"),n.setStyleProperty("font","14px Verdana"),n.setStyleProperty("color","rgb(24, 29, 31)"),i.append(n),this.i.add(n),n.setText(t._inner[e].toString()),this.t.append(i)}}},n.prototype.a5=function(){if(null!=this.t){var t=this.c.ag();this.i.clear();for(var e=0;e<6;e++){var i=this.t.getChildAt(e).getChildAt(0);i.setText(t._inner[e].toString()),this.i.add(i)}}},n.prototype.a9=function(){null!=this.t&&(1==this.c.af?(this.t.show(),this.t.setStyleProperty("width","12%"),this.t.parent().setStyleProperty("max-width","245px"),this.t.parent().getChildAt(1).setStyleProperty("width","88%")):(this.t.hide(),this.t.parent().setStyleProperty("max-width","231px"),this.t.parent().getChildAt(1).setStyleProperty("width","100%")))},n.prototype.ac=function(){if(null!=this.m){this.o.setStyleProperty("display","flex"),this.o.setStyleProperty("flex-direction","column"),this.o.setStyleProperty("justify-content","space-evenly");var t=this.m.createElement("div");t.setStyleProperty("display","flex"),t.setStyleProperty("justify-content","space-evenly"),t.setStyleProperty("width","100%"),t.setAttribute("role","row");var e=this.m.createElement("div");e.setStyleProperty("width","15%");var i=this.m.createElement("div");i.setStyleProperty("width","20%");var n=this.m.createElement("div");n.setStyleProperty("width","20%");var r=this.m.createElement("div");r.setStyleProperty("width","15%"),t.append(e),t.append(i),t.append(n),t.append(r),this.o.append(t);var o=this.m.createElement("div");o.setStyleProperty("width","100%"),o.setStyleProperty("height","100%"),o.setStyleProperty("display","flex"),o.setStyleProperty("flex-direction","row"),o.setStyleProperty("justify-content","space-evenly"),this.t.setStyleProperty("padding-bottom","6px"),o.append(this.t);var s=this.m.createElement("div");s.setStyleProperty("display","flex"),s.setStyleProperty("flex-direction","column"),s.setStyleProperty("width","88%"),s.setAttribute("role","grid"),s.setAttribute("aria-readonly","true"),o.append(s),this.o.append(o);for(var a=0,h=0;h<7;h++){var l=this.m.createElement("div");if(l.setAttribute("role","row"),l.setStyleProperty("display","flex"),l.setStyleProperty("justify-content","space-evenly"),0==h){for(var u=0;u<7;u++){var c=this.m.createElement("div");c.setAttribute("role","columnheader"),c.setAttribute("scope","col"),c.setStyleProperty("text-align","center"),c.setStyleProperty("vertical-align","middle"),c.setStyleProperty("width","12%");var p=this.m.createElement("span");p.setStyleProperty("font","16px Verdana"),p.setStyleProperty("color","rgb(24, 29, 31)"),c.append(p),this.e.add(p),l.append(c)}s.append(l)}else{for(var d=0;d<7;d++){var f=this.m.createElement("div");f.setAttribute("role","gridcell"),f.setStyleProperty("justify-content","center");var b=this.f._inner[a],y=this.m.createElement("span");y.setAttribute("aria-hidden","true"),b.append(y),this.ag(f,b,a),b.parent().setStyleProperty("max-height","30px"),b.parent().setStyleProperty("display","flex"),f.setStyleProperty("width","12%"),f.setStyleProperty("height","100%"),l.append(f),a++}s.append(l)}}this.s=this.m.createElement("div"),this.s.setStyleProperty("display","flex"),this.s.setStyleProperty("padding-bottom","4px");var g=this.m.createElement("div");g.setStyleProperty("width","100%"),g.setStyleProperty("justify-content","center"),this.r=this.m.createElement("div"),this.r.setAttribute("aria-hidden","true");var m=this.m.createElement("span");m.setAttribute("aria-hidden","true"),this.r.append(m),this.c.cm(g,this.r),this.r.parent().setAttribute("aria-hidden","true"),this.r.parent().parent().setAttribute("tabindex","-1"),this.r.parent().parent().setAttribute("aria-readonly","true"),this.r.parent().parent().setAttribute("aria-selected","false"),this.r.parent().parent().setAttribute("aria-disabled","false"),this.r.parent().parent().setAttribute("data-is-focusable","true"),this.s.append(g),this.o.append(this.s),this.a8(),this.c.cf()}},n.prototype.ad=function(){if(null!=this.m){this.q.setStyleProperty("display","flex"),this.q.setStyleProperty("flex-direction","row"),this.q.setStyleProperty("flex-wrap","wrap"),this.q.setStyleProperty("margin","2px"),this.q.setStyleProperty("justify-content","center"),this.q.setStyleProperty("width","100%"),this.q.setStyleProperty("height","100%"),this.q.setAttribute("role","grid"),this.q.setAttribute("aria-readonly","true");for(var t=0;t<12;t++){var e=this.m.createElement("div");e.setStyleProperty("margin","5px"),e.setAttribute("data-month",(t+1).toString());var i=this.h._inner[t];i.setAttribute("aria-hidden","true"),this.c.cl(e,i),e.setStyleProperty("width","28%"),e.getChildAt(0).setStyleProperty("width","100%");var n=this.m.createElement("span");n.setAttribute("aria-hidden","true");var r,o=t+1;r=this.c.e(o,t),i.parent().parent().setAttribute("aria-label",r[0]),n.setText(r[1]),i.append(n),i.parent().setAttribute("aria-hidden","true"),i.parent().parent().setAttribute("tabindex","-1"),i.parent().parent().setAttribute("aria-readonly","true"),i.parent().parent().setAttribute("aria-selected","false"),i.parent().parent().setAttribute("aria-disabled","false"),i.parent().parent().setAttribute("data-is-focusable","true"),i.setAttribute("data-index",t.toString()),this.q.append(e)}}},n.prototype.bd=function(){for(var t=0;t<12;t++){var e,i=this.h._inner[t],n=t+1;e=this.c.e(n,t),i.parent().parent().setAttribute("aria-label",e[0]),i.getChildAt(0).setText(e[1])}},n.prototype.af=function(){if(null!=this.m){this.u.setStyleProperty("width","100%"),this.u.setStyleProperty("height","100%");var t=this.c.aq.getFullYear()-3;this.u.setStyleProperty("padding","5px"),this.u.setAttribute("role","grid"),this.u.setAttribute("aria-readonly","true");for(var e=0;e<7;e++){var i=this.m.createElement("div"),n=this.j._inner[e];n.setAttribute("aria-hidden","true"),this.c.cn(i,n,e),n.parent().setAttribute("aria-hidden","true"),n.parent().parent().setAttribute("tabindex","-1"),n.parent().parent().setAttribute("aria-readonly","true"),n.parent().parent().setAttribute("aria-selected","false"),n.parent().parent().setAttribute("aria-disabled","false"),n.parent().parent().setAttribute("data-is-focusable","true"),i.setStyleProperty("width","100%"),i.setStyleProperty("height","14%"),i.setStyleProperty("justify-content","center"),i.getChildAt(0).setStyleProperty("width","98%");var r=this.m.createElement("span");r.setAttribute("aria-hidden","true"),r.setText(t.toString()),t++,n.setAttribute("data-index",e.toString()),n.append(r),this.u.append(i)}}},n.prototype.a8=function(){null!=this.m&&(1==this.c.ae?this.s.setStyleProperty("display","flex"):this.s.setStyleProperty("display","none"))},n.prototype.a3=function(){if(null!=this.m){for(var t=this.o.getChildAt(0),e=0;e<4;e++){var n=this.m.createElement("div");this.g.add(n)}var r=t.getChildAt(0),o=this.g._inner[0],s=this.m.createElement("div");s.setAttribute("aria-hidden","true"),o.append(s),this.c.ck(r,s,o,"prev"),o.parent().parent().setAttribute("aria-label","Previous Month"),o.parent().setStyleProperty("max-height","30px"),o.parent().setStyleProperty("display","flex"),o.setAttribute("data-index","0"),this.aw(o);var a=t.getChildAt(1),h=this.g._inner[1],l=this.m.createElement("span");l.setAttribute("aria-hidden","true"),h.append(l),this.c.cj(a,h,"month"),l=h.getChildAt(0);var u=this.c.bx();l.setText(u),h.parent().parent().setAttribute("aria-label","Select Month"),h.parent().setStyleProperty("min-width","40px"),h.parent().setStyleProperty("max-height","30px"),h.parent().setStyleProperty("display","flex"),h.setAttribute("data-index","1"),this.aw(h);var c=t.getChildAt(2),p=this.g._inner[2],d=this.m.createElement("span");d.setAttribute("aria-hidden","true"),p.append(d),this.c.cj(c,p,"year"),d=this.g._inner[2].getChildAt(0);var f=this.c.by();d.setText(f),p.parent().parent().setAttribute("aria-label","Select Year"),p.parent().setStyleProperty("min-width","40px"),p.parent().setStyleProperty("max-height","30px"),p.parent().setStyleProperty("display","flex"),p.setAttribute("data-index","2"),this.aw(p);var b=t.getChildAt(3),y=this.g._inner[3],g=this.m.createElement("div");g.setAttribute("aria-hidden","true"),y.append(g),this.c.ck(b,g,y,"next"),y.parent().parent().setAttribute("aria-label","Next Month"),y.parent().setStyleProperty("max-height","30px"),y.parent().setStyleProperty("display","flex"),y.setAttribute("data-index","3"),this.aw(y);for(var m=this.c.a(),v=0;v<this.g.count;v++)1==m[v]?this.g._inner[v].setAttribute("data-disabled","true"):this.g._inner[v].setAttribute("data-disabled","false");r.listen("click",i.runOn(this,this.aq)),b.listen("click",i.runOn(this,this.al)),a.listen("click",i.runOn(this,this.ak)),c.listen("click",i.runOn(this,this.bi))}},n.prototype.bc=function(){var t=this.g._inner[1].getChildAt(0),e=this.c.bx();t.setText(e)},n.prototype.aw=function(t){t.setAttribute("aria-hidden","true"),t.parent().setAttribute("aria-hidden","true"),t.parent().parent().setAttribute("tabindex","-1"),t.parent().parent().setAttribute("aria-readonly","true"),t.parent().parent().setAttribute("aria-selected","false"),t.parent().parent().setAttribute("aria-disabled","false"),t.parent().parent().setAttribute("data-is-focusable","true"),t.setAttribute("data-section","header"),t.setAttribute("data-disabled","false")},n.prototype.a4=function(){if(null!=this.m){var t=this.o.getChildAt(1).getChildAt(1).getChildAt(0),e=new i.List$1(T,0);switch(this.c.l){case 0:e.add(0),e.add(1),e.add(2),e.add(3),e.add(4),e.add(5),e.add(6);break;case 1:e.add(1),e.add(2),e.add(3),e.add(4),e.add(5),e.add(6),e.add(0);break;case 2:e.add(2),e.add(3),e.add(4),e.add(5),e.add(6),e.add(0),e.add(1);break;case 3:e.add(3),e.add(4),e.add(5),e.add(6),e.add(0),e.add(1),e.add(2);break;case 4:e.add(4),e.add(5),e.add(6),e.add(0),e.add(1),e.add(2),e.add(3);break;case 5:e.add(5),e.add(6),e.add(0),e.add(1),e.add(2),e.add(3),e.add(4);break;case 6:e.add(6),e.add(0),e.add(1),e.add(2),e.add(3),e.add(4),e.add(5)}this.e.clear();for(var n=0;n<e.count;n++){var r=t.getChildAt(n),o=r.getChildAt(0),s=this.c.d(e._inner[n]);r.setAttribute("title",s[0]),r.setAttribute("aria-label",s[0]),o.setText(s[1]),this.e.add(o)}}},n.prototype.a1=function(){if(null!=this.m){this.a2(),this.a5();for(var t=this.o.getChildAt(1).getChildAt(1),e=1;e<7;e++)for(var n=t.getChildAt(e),r=0;r<7;r++){n.getChildAt(r).listen("click",i.runOn(this,this.ah))}}},n.prototype.a2=function(t,e){if(void 0===t&&(t=!1),void 0===e&&(e=!1),null!=this.m){for(var n=null,r=null,o=null,s=this.c.value,a=this.c.aq,h=this.c.av,l=0;l<42;l++){var u=this.f._inner[l],c=u.getChildAt(0),p=this.c.j(l);if(null!=p)u.parent().parent().setAttribute("aria-label",p.c.toString()+"/"+p.b.toString()+"/"+p.d.toString()),u.setAttribute("data-section","days"),u.setAttribute("data-index",l.toString()),u.setAttribute("data-date",p.b.toString()+"/"+p.c.toString()+"/"+p.d.toString()),u.setAttribute("data-selected","false"),u.setAttribute("data-disabled","false"),u.setAttribute("data-today","false"),c.setText(p.b.toString()),+s!=+i.dateMinValue()&&p.b==s.getDate()&&p.c==i.dateGetMonth(s)&&p.d==s.getFullYear()?(n=u,u.parent().parent().setAttribute("aria-selected","true"),u.setAttribute("data-selected","true")):p.b==h.getDate()&&p.c==i.dateGetMonth(h)&&p.d==h.getFullYear()&&(r=u,u.setAttribute("data-today","true")),this.c.ad(l)&&u.setAttribute("data-disabled","true"),1==p.b&&p.c==i.dateGetMonth(a)&&(o=u)}if(1==t)if(null!=n&&+s!=+i.dateMinValue()&&s.getFullYear()==a.getFullYear()&&i.dateGetMonth(s)==i.dateGetMonth(a))this.d(n);else if(null!=r&&h.getFullYear()==a.getFullYear()&&i.dateGetMonth(h)==i.dateGetMonth(a))this.d(r);else if(null!=o){if(1==e)for(var d=41;d>=0;d--){if(this.c.j(d).c==i.dateGetMonth(a))if("false"==this.f._inner[d].getAttribute("data-disabled")){o=this.f._inner[d];break}}else for(var f=0;f<42;f++){if(this.c.j(f).c==i.dateGetMonth(a))if("false"==this.f._inner[f].getAttribute("data-disabled")){o=this.f._inner[f];break}}this.d(o)}}},n.prototype.ag=function(t,e,i){if(null!=this.m){e.setAttribute("aria-hidden","true");var n=this.m.createElement("span");n.setAttribute("aria-hidden","true"),e.append(n),this.c.ci(t,e,i),e.parent().setAttribute("aria-hidden","true"),e.parent().parent().setAttribute("tabindex","-1"),e.parent().parent().setAttribute("aria-readonly","true"),e.parent().parent().setAttribute("aria-selected","false"),e.parent().parent().setAttribute("aria-disabled","false"),e.parent().parent().setAttribute("data-is-focusable","true")}},n.prototype.at=function(t,e){if(null!=this.m){var i=this.m.getSubRenderer(t);e.provideContainer(i);i.getExternal(e,i.rootWrapper,i.getExternal(this.c,null,null))}},n.prototype.a0=function(t){this.r.getChildAt(0).setText(t),this.r.parent().parent().setAttribute("aria-label",t)},n.prototype.ax=function(t,e){if(null!=this.m){var i=this.m.getSubRenderer(t);e.provideContainer(i);i.getExternal(e,i.rootWrapper,i.getExternal(this.c,null,null))}},n.prototype.az=function(){if(null!=this.m){var t=this.g._inner[1].getChildAt(0),e=this.c.bx();t.setText(e);var i=this.g._inner[2].getChildAt(0),n=this.c.by();i.setText(n)}},n.prototype.au=function(t,e){if(void 0===t&&(t=!1),void 0===e&&(e=!1),null!=this.m){this.a2(t,e),this.a5();for(var i=this.c.a(),n=0;n<this.g.count;n++)1==i[n]?this.g._inner[n].setAttribute("data-disabled","true"):this.g._inner[n].setAttribute("data-disabled","false")}},n.prototype.ay=function(){if(null!=this.m&&0!=this.h.count){for(var t=null,e=null,n=0,r=0,o=0,s=0;s<12;s++){var a=this.h._inner[s];a.setAttribute("data-section","months"),a.setAttribute("data-disabled","false"),a.parent().parent().setAttribute("aria-selected","false");var h=s+1,l=this.c.value,u=this.c.av;+l!=+i.dateMinValue()&&i.dateGetMonth(l)==h&&(e=a,n=s,a.parent().parent().setAttribute("aria-selected","true")),i.dateGetMonth(u)==h&&(t=a,r=s),this.c.aa(s,h)&&a.setAttribute("data-disabled","true")}for(var c=0;c<this.h.count;c++){if("false"==this.h._inner[c].getAttribute("data-disabled")){o=c;break}}var p=this.h._inner[n].getAttribute("data-disabled"),d=this.h._inner[r].getAttribute("data-disabled"),f=this.h._inner[o].getAttribute("data-disabled");null!=e&&"false"==p?this.d(e):null!=t&&"false"==d?this.d(t):"false"==f?this.d(this.h._inner[o]):this.as()}},n.prototype.a7=function(){if(null!=this.m&&0!=this.j.count){var t=this.c.aq.getFullYear();this.a6(t,!0)}},n.prototype.a6=function(t,e){void 0===e&&(e=!1),t<this.c.au.getFullYear()&&(t=this.c.au.getFullYear()),t>this.c.at.getFullYear()&&(t=this.c.at.getFullYear());for(var i=t-3,n=!1,r=0;r<7;r++){var o=this.j._inner[r];o.setAttribute("data-section","years"),o.setAttribute("data-disabled","false"),o.parent().parent().setAttribute("aria-selected","false");var s=this.c.ab(r,i);o.setAttribute("data-disabled",s.toString()),o.getChildAt(0).setText(i.toString()),o.parent().parent().setAttribute("aria-label",i.toString()),i==t&&e&&0==s&&(o.parent().parent().setAttribute("aria-selected","true"),n=!0,this.d(o)),i++}if(0==n&&"false"==this.j._inner[3].getAttribute("data-disabled")){var a=this.j._inner[3];this.d(a)}},n.prototype.as=function(t){void 0===t&&(t=!1),this.au(),this.az(),this.x="day",this.n.show(),this.n.setStyleProperty("display","flex"),this.q.hide(),this.u.hide(),this.av(t),this.ai()},n.prototype.av=function(t){void 0===t&&(t=!1);for(var e=null,n=null,r=null,o=0;o<this.f.count;o++){var s=this.f._inner[o],a=i.parseBool(s.getAttribute("data-disabled").toString()),h=s.getAttribute("data-date").toString().split("/")[1],l=i.parseBool(s.getAttribute("data-selected").toString()),u=i.parseBool(s.getAttribute("data-today").toString());1==l&&(n=s),1==u&&(r=s);var c=i.dateGetMonth(this.c.aq).toString();0==a&&c==h&&null==e&&(e=s)}if(null!=r&&(e=r),null!=n&&0==t&&(e=n),null==e)for(var p=0;p<this.g.count;p++){if(0==i.parseBool(this.g._inner[p].getAttribute("data-disabled").toString())){e=this.g._inner[p];break}}null!=e&&this.d(e)},n.prototype.d=function(t){return null!=t&&(!i.parseBool(t.getAttribute("data-disabled").toString())&&(this.p=t,!0))},n.prototype.ai=function(){null!=this.p&&this.p.parent().parent().focus(!0)},n.prototype.ar=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),i.parseBool(this.g._inner[0].getAttribute("data-disabled").toString())||(this.c.cc(-1),this.au(t,e),this.az())},n.prototype.am=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!1),i.parseBool(this.g._inner[3].getAttribute("data-disabled").toString())||(this.c.cc(1),this.au(t,e),this.az())},n.prototype.ba=function(){this.n.hide(),this.q.show(),this.q.setStyleProperty("display","flex"),this.u.hide(),this.x="month",this.ay(),this.ai()},n.prototype.bb=function(){this.n.hide(),this.q.hide(),this.u.show(),this.x="year",this.a7(),this.ai()},n.prototype.z=function(t){},n.prototype.aa=function(t){var e=t.which;if("day"==this.x){var n=this.p.getAttribute("data-section").toString(),r=parseInt(this.p.getAttribute("data-index").toString());if("header"==n)if(37==e)if(r>0){var o=this.g._inner[r-1];0==this.d(o)&&r>1&&(o=this.g._inner[r-2],this.d(o)),this.ai()}else{this.ar(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.av(),this.ai())}else if(39==e)if(r<3){var s=this.g._inner[r+1];0==this.d(s)&&r<2&&(s=this.g._inner[r+2],this.d(s)),this.ai()}else{this.am(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.av(),this.ai())}else 9==e?t.shiftKey?this.c.cs():(t.preventDefault(),this.au(!0),this.ai()):13==e&&(t.preventDefault(),0==r?this.ar(!1):1==r?this.ba():2==r?this.bb():3==r&&this.am(!1));else if("days"==n){var a=this.p.getAttribute("data-date").toString().split("/"),h=a[0],l=a[1];if(37==e)if(0==r)this.ar(!0,!0),this.ai();else{var u=this.f._inner[r-1],c=u.getAttribute("data-date").toString().split("/"),p=c[0],d=c[1];if(l==d)this.d(u),this.ai();else{this.ar();var f=this.v(p,d);this.d(f),this.ai()}}else if(39==e)if(41==r)this.am(!0,!1),this.ai();else{var b=this.f._inner[r+1],y=b.getAttribute("data-date").toString().split("/"),g=y[0],m=y[1];if(l==m)this.d(b),this.ai();else{this.am();var v=this.v(g,m);this.d(v),this.ai()}}else if(40==e)if(r>=35){this.am();var _=this.v(h,l),C=parseInt(_.getAttribute("data-index").toString()),B=this.f._inner[C+7].getAttribute("data-date").toString().split("/"),x=B[0],k=B[1],w=this.v(x,k);this.d(w),this.ai()}else{var T=this.f._inner[r+7],P=T.getAttribute("data-date").toString().split("/"),S=P[0],O=P[1];if(l==O)this.d(T),this.ai();else{this.am();var j=this.v(S,O);this.d(j),this.ai()}}else if(38==e)if(r<=6){this.ar();var I=this.v(h,l),U=parseInt(I.getAttribute("data-index").toString()),N=this.f._inner[U-7].getAttribute("data-date").toString().split("/"),F=N[0],A=N[1],R=this.v(F,A);this.d(R),this.ai()}else{var D=this.f._inner[r-7],E=D.getAttribute("data-date").toString().split("/"),q=E[0],$=E[1];if(l==$)this.d(D),this.ai();else{this.ar();var G=this.v(q,$);this.d(G),this.ai()}}else if(34==e)this.am(),this.ai();else if(33==e)this.ar(),this.ai();else if(9==e)if(t.shiftKey){t.preventDefault();var W=this.g._inner[1];this.d(W),this.ai()}else this.c.cs()}}else if("month"==this.x){var z=parseInt(this.p.getAttribute("data-index").toString());if(37==e)if(0==z){var V=this.h._inner[11];this.d(V),this.ai()}else{var H=this.h._inner[z-1];this.d(H),this.ai()}else if(39==e)if(11==z){var M=this.h._inner[0];this.d(M),this.ai()}else{var L=this.h._inner[z+1];this.d(L),this.ai()}else if(40==e)if(z>=9){var X=this.h._inner[z-9];this.d(X),this.ai()}else{var Y=this.h._inner[z+3];this.d(Y),this.ai()}else if(38==e)if(z<=2){var K=this.h._inner[z+9];this.d(K),this.ai()}else{var J=this.h._inner[z-3];this.d(J),this.ai()}else 13==e&&(this.d(this.g._inner[1]),this.ai())}else if("year"==this.x){parseInt(this.p.getAttribute("data-index").toString());var Q=parseInt(this.j._inner[3].getChildAt(0).getText());40==e?(this.c.cz(Q,1),this.ai()):38==e?(this.c.cz(Q,-1),this.ai()):13==e&&(this.d(this.g._inner[2]),this.ai())}27==e&&(this.as(),this.c.cs()),1==t.altKey&&38==e&&(this.as(),this.c.cs())},n.prototype.v=function(t,e){for(var i=null,n=null,r=0;r<42;r++){var o=this.f._inner[r],s=o.getAttribute("data-date").toString().split("/"),a=s[0],h=s[1];if(e==h&&null==n&&(n=o),e==h&&t==a){i=o;break}}return null==i&&(i=n),i},n.prototype.aq=function(t){var e=this.g._inner[0];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.ar()},n.prototype.al=function(t){var e=this.g._inner[3];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.am()},n.prototype.ak=function(t){var e=this.g._inner[1];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.ba()},n.prototype.bi=function(t){var e=this.g._inner[2];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.bb()},n.prototype.ah=function(t){var e=t.originalEvent.currentTarget,n=e.textContent;if(""!=n){var r=e.lastChild.lastChild.lastChild;if(0==i.parseBool(r.getAttribute("data-disabled").toString())){var o=r.getAttribute("data-date").toString().split("/"),s=o[1],a=o[2];this.c.co(n,s,a)}}},n.prototype.aj=function(t){var e=t.originalEvent.currentTarget,n=e.getAttribute("data-month").toString();if(""!=n){var r=parseInt(n),o=e.lastChild.lastChild.lastChild;0==i.parseBool(o.getAttribute("data-disabled").toString())&&(this.c.cd(r),this.as())}},n.prototype.be=function(t){var e=t.originalEvent.currentTarget,n=e.innerText;if(""!=n){var r=parseInt(n),o=e.lastChild.lastChild.lastChild;0==i.parseBool(o.getAttribute("data-disabled").toString())&&(this.c.ce(r),this.as())}},n.prototype.bh=function(t){t.preventDefault();var e=t.originalEvent.deltaY,i=parseInt(this.j._inner[3].getChildAt(0).getText());this.c.cz(i,e)},n.prototype.bg=function(t){this.w=t.pageY},n.prototype.bf=function(t){var e=i.truncate((this.w-t.pageY)/6);if(e>1||e<-1){this.w=t.pageY;var n=parseInt(this.j._inner[3].getChildAt(0).getText());this.c.cz(n,e)}},n.prototype.a=function(){var t=this.m.rootWrapper.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.b=function(t){var e=t.getNativeElement().getBoundingClientRect(),i=e.top,n=e.left,r=new Array(2);return r[0]=i,r[1]=n,r},n.prototype.an=function(){},n.$t=i.markType(n,"CalendarView"),n}(i.Base),F=function(t){function n(){var e=t.call(this)||this;e.h=null,e.aq=i.dateNow(),e.am=new Date,e.ai=null,e.aj=null,e.ah=null,e.ak=null,e.al=null,e.g=null,e.ap=i.dateMinValue(),e.propertyChanged=null,e.close=null,e.selectedValueChanged=null,e.w=null,e.as=i.dateMinValue(),e.ar=i.dateNow(),e.ao=i.dateMinValue(),e.an=i.dateMaxValue(),e.s=3,e.q=1,e.c6=i.BrushUtil.l(0,255,255,255),e.dc=i.BrushUtil.l(255,33,150,243),e.de=i.BrushUtil.l(255,21,112,184),e.c9=i.BrushUtil.l(76,33,150,243),e.db=i.BrushUtil.l(50,186,191,199),e.df=i.BrushUtil.l(255,24,29,31),e.dd=i.BrushUtil.l(255,255,255,255),e.da=i.BrushUtil.l(255,24,29,31),e.c8=i.BrushUtil.l(255,33,150,243),e.c7=i.BrushUtil.l(255,33,150,243),e.y=!1,e.u=null,e.k=0,e.n=0,e.z=!1,e.am=i.dateAddYears(e.am,-200),e.ai=new i.ObservableCollection$1(P.$,0),e.aj=new i.ObservableCollection$1(b.$,0),e.ah=new i.ObservableCollection$1(b.$,0),e.ak=new i.ObservableCollection$1(b.$,0),e.al=new i.ObservableCollection$1(b.$,0);var n=new N;return n.c=e,e.h=n,e.h.ap(),e}return e.__extends(n,t),n.prototype.cs=function(){null!=this.close&&this.close(this)},n.prototype.cu=function(t){var e,n=this.as;this.as=t,null!=this.selectedValueChanged&&this.selectedValueChanged(this,((e=new j).oldValue=n,e.newValue=t,e)),+this.value!=+i.dateMinValue()&&(this.aq=this.value),this.cx()},n.prototype.co=function(t,e,n){var r=i.dateFromValues(parseInt(n),parseInt(e),parseInt(t),0,0,0,0);this.cu(r)},n.prototype.notifySizeChanged=function(){this.h.an()},n.prototype.destroy=function(){if(null!=this.g){var t=this.g;t.clicked=i.delegateRemove(t.clicked,i.runOn(this,this.c2))}this.provideContainer(null)},n.prototype.provideContainer=function(t){this.h.ao(t)},Object.defineProperty(n.prototype,"x",{get:function(){return null==this.w&&(this.w=new i.SRProvider(this.h.m),this.w.cb("Calendar")),this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.as},set:function(t){var e=this.as;this.ap=e,this.as=t,+e!=+this.as&&this.ct("Value",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,+e!=+this.ar&&this.ct("Today",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,+e!=+this.ao&&this.ct("MinDate",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,+e!=+this.an&&this.ct("MaxDate",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.ct("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.s))},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.ct("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dg",{get:function(){return this.c6},set:function(t){var e=this.c6;this.c6=t,e!=this.c6&&this.ct("BackgroundColor",e,this.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.dc},set:function(t){var e=this.dc;this.dc=t,e!=this.dc&&this.ct("SelectedDateBackgroundColor",e,this.dc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.de},set:function(t){var e=this.de;this.de=t,e!=this.de&&this.ct("SelectedFocusDateBackgroundColor",e,this.de)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dj",{get:function(){return this.c9},set:function(t){var e=this.c9;this.c9=t,e!=this.c9&&this.ct("FocusDateBackgroundColor",e,this.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dl",{get:function(){return this.db},set:function(t){var e=this.db;this.db=t,e!=this.db&&this.ct("HoverBackgroundColor",e,this.db)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dq",{get:function(){return this.df},set:function(t){var e=this.df;this.df=t,e!=this.df&&this.ct("TextColor",e,this.df)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dn",{get:function(){return this.dd},set:function(t){var e=this.dd;this.dd=t,e!=this.dd&&this.ct("SelectedDateTextColor",e,this.dd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dk",{get:function(){return this.da},set:function(t){var e=this.da;this.da=t,e!=this.da&&this.ct("FocusDateTextColor",e,this.da)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"di",{get:function(){return this.c8},set:function(t){var e=this.c8;this.c8=t,e!=this.c8&&this.ct("CurrentDateTextColor",e,this.c8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dh",{get:function(){return this.c7},set:function(t){var e=this.c7;this.c7=t,e!=this.c7&&this.ct("CurrentDateBorderColor",e,this.c7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.ct("ShowTodayButton",e,this.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.ct("TextStyle",e,this.u)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.ct("FirstDayOfWeek",i.enumGetBox(T,e),i.enumGetBox(T,this.k))},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.ct("FirstWeekOfYear",i.enumGetBox(O,e),i.enumGetBox(O,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.ct("ShowWeekNumbers",e,this.z)},enumerable:!1,configurable:!0}),n.prototype.ct=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cv(t,e,n)},n.prototype.cv=function(t,e,n){switch(t){case"Density":this.c0();break;case"BaseTheme":this.c1();break;case"Value":+this.value!=+i.dateMinValue()&&(i.dateGetDate(this.value)<i.dateGetDate(this.au)||i.dateGetDate(this.value)>i.dateGetDate(this.at))&&(this.value=this.ap),this.ap=this.value,+this.value!=+i.dateMinValue()&&(this.aq=this.value),this.cx();break;case"Today":var r=i.Base.compareSimple(this.av,this.au),o=i.Base.compareSimple(this.av,this.at);r<0?this.ar=this.au:o>0&&(this.ar=this.at),+this.value==+i.dateMinValue()&&(this.aq=this.av),this.cx();break;case"MaxDate":case"MinDate":i.Base.compareSimple(this.au,this.at)>=0&&(this.at=i.dateMaxValue());var s=i.Base.compareSimple(this.aq,this.au),a=i.Base.compareSimple(this.aq,this.at);s<0?this.aq=this.au:a>0&&(this.aq=this.at),this.cx();break;case"TextColor":case"SelectedDateTextColor":case"FocusDateTextColor":case"CurrentDateTextColor":case"CurrentDateBorderColor":case"BackgroundColor":case"FocusDateBackgroundColor":case"SelectedFocusDateBackgroundColor":case"SelectedDateBackgroundColor":case"HoverBackgroundColor":this.c3();break;case"TextStyle":this.c4();break;case"ShowTodayButton":this.h.a8();break;case"FirstDayOfWeek":this.cx();break;case"FirstWeekOfYear":case"ShowWeekNumbers":this.h.a9(),this.cx()}},n.prototype.c3=function(){for(var t=0;t<this.aj.count;t++)null!=this.dq&&(this.aj._inner[t].qi=this.dq),null!=this.dk&&(this.aj._inner[t].qe=this.dk),null!=this.dg&&(this.aj._inner[t].p8=this.dg),null!=this.dj&&(this.aj._inner[t].qd=this.dj),null!=this.dl&&(this.aj._inner[t].qf=this.dl);for(var e=0;e<this.ah.count;e++)null!=this.dq&&(this.ah._inner[e].qi=this.dq),null!=this.dk&&(this.ah._inner[e].qe=this.dk),null!=this.dg&&(this.ah._inner[e].p8=this.dg),null!=this.dj&&(this.ah._inner[e].qd=this.dj),null!=this.dl&&(this.ah._inner[e].qf=this.dl);for(var i=0;i<this.ak.count;i++)null!=this.dq&&(this.ak._inner[i].qi=this.dq),null!=this.dk&&(this.ak._inner[i].qe=this.dk),null!=this.dg&&(this.ak._inner[i].p8=this.dg),null!=this.dj&&(this.ak._inner[i].qd=this.dj),null!=this.dl&&(this.ak._inner[i].qf=this.dl);for(var n=0;n<this.al.count;n++)null!=this.dq&&(this.al._inner[n].qi=this.dq),null!=this.dk&&(this.al._inner[n].qe=this.dk),null!=this.dg&&(this.al._inner[n].p8=this.dg),null!=this.dj&&(this.al._inner[n].qd=this.dj),null!=this.dl&&(this.al._inner[n].qf=this.dl)},n.prototype.c4=function(){for(var t=0;t<this.aj.count;t++)null!=this.u&&(this.aj._inner[t].ab=this.u);for(var e=0;e<this.ah.count;e++)null!=this.u&&(this.ah._inner[e].ab=this.u);for(var i=0;i<this.ak.count;i++)null!=this.u&&(this.ak._inner[i].ab=this.u);for(var n=0;n<this.al.count;n++)null!=this.u&&(this.al._inner[n].ab=this.u)},n.prototype.cq=function(){this.cx(),this.h.av(),this.h.ai()},n.prototype.c1=function(){},n.prototype.c0=function(){},n.prototype.ch=function(){this.value=i.dateMinValue(),this.h.au()},n.prototype.cx=function(){this.c5(),this.h.a4(),this.cg(),this.h.az(),this.h.a7(),this.h.au()},n.prototype.c5=function(){var t=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.a0(t),this.h.bd(),this.h.bc()},n.prototype.cf=function(){this.cg()},n.prototype.ci=function(t,e,n){var r=new b;this.h.at(t,r),r.o=this.r,r.s=this.t,r.ab=this.u,r.d8=-1,r.e=1,null!=this.u&&(r.ab=this.u);var o=new i.CornerRadius(0,2);r.k6=o,r.ld=o,r.dq=0,r.appendButtonContent(e),r.qi=this.dq,r.qe=this.dk,r.p8=this.dg,r.qd=this.dj,r.qf=this.dl,r.bz=30,r.by=30,this.ah.add(r),r.h7="btnDays"+n.toString()},n.prototype.cm=function(t,e){var n=new b;this.h.at(t,n),n.o=this.r,n.s=this.t,n.ab=this.u,n.d8=-1,n.e=1,null!=this.u&&(n.ab=this.u);var r=new i.CornerRadius(0,2);n.k6=r,n.ld=r,n.dq=0,n.appendButtonContent(e);var o=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.a0(o),n.qi=this.dq,n.qe=this.dk,n.p8=this.dg,n.qd=this.dj,n.qf=this.dl,this.g=n;var s=this.g;s.clicked=i.delegateCombine(s.clicked,i.runOn(this,this.c2))},n.prototype.c2=function(t,e){this.aq=this.av,this.cg(),this.h.as(!0)},n.prototype.cl=function(t,e){var n=new b;this.h.at(t,n),n.o=this.r,n.s=this.t,n.ab=this.u,n.d8=-1,n.e=1,null!=this.u&&(n.ab=this.u);var r=new i.CornerRadius(0,2);n.k6=r,n.ld=r,n.dq=0,n.appendButtonContent(e),n.qi=this.dq,n.qe=this.dk,n.p8=this.dg,n.qd=this.dj,n.qf=this.dl,n.bz=40,this.ak.add(n)},n.prototype.e=function(t,e){var n=new Array(2);switch(n[0]="",n[1]="",t){case 1:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("January_Full"))?"January":this.x.b1("January_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("January_Short"))?"Jan":this.x.b1("January_Short");break;case 2:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("February_Full"))?"February":this.x.b1("February_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("February_Short"))?"Feb":this.x.b1("February_Short");break;case 3:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("March_Full"))?"March":this.x.b1("March_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("March_Short"))?"Mar":this.x.b1("March_Short");break;case 4:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("April_Full"))?"April":this.x.b1("April_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("April_Short"))?"Apr":this.x.b1("April_Short");break;case 5:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("May_Full"))?"May":this.x.b1("May_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("May_Short"))?"May":this.x.b1("May_Short");break;case 6:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("June_Full"))?"June":this.x.b1("June_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("June_Short"))?"Jun":this.x.b1("June_Short");break;case 7:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("July_Full"))?"July":this.x.b1("July_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("July_Short"))?"Jul":this.x.b1("July_Short");break;case 8:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("August_Full"))?"August":this.x.b1("August_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("August_Short"))?"Aug":this.x.b1("August_Short");break;case 9:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("September_Full"))?"September":this.x.b1("September_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("September_Short"))?"Sep":this.x.b1("September_Short");break;case 10:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("October_Full"))?"October":this.x.b1("October_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("October_Short"))?"Oct":this.x.b1("October_Short");break;case 11:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("November_Full"))?"November":this.x.b1("November_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("November_Short"))?"Nov":this.x.b1("November_Short");break;case 12:n[0]=i.stringIsNullOrWhiteSpace(this.x.b1("December_Full"))?"December":this.x.b1("December_Full"),n[1]=i.stringIsNullOrWhiteSpace(this.x.b1("December_Short"))?"Dec":this.x.b1("December_Short")}return this.ak._inner[e].h7="btnMonth"+n[1],n},n.prototype.cn=function(t,e,n){var r=new b;this.h.at(t,r),r.o=this.r,r.s=this.t,r.ab=this.u,r.d8=-1,r.e=1,null!=this.u&&(r.ab=this.u);var o=new i.CornerRadius(0,2);r.k6=o,r.ld=o,r.dq=0,r.appendButtonContent(e),r.qi=this.dq,r.qe=this.dk,r.p8=this.dg,r.qd=this.dj,r.qf=this.dl,r.h7="btnYear"+n.toString(),this.al.add(r)},n.prototype.cg=function(){+this.aq==+i.dateMinValue()&&(this.aq=i.dateNow()),this.ai.clear();for(var t=i.dateAddDays(this.aq,-(this.aq.getDate()-1)),e=this.l,n=t.getDay();n!=e;)n=(t=i.dateAddDays(t,-1)).getDay();for(;this.ai.count<42;){var r=new P;r.b=t.getDate(),r.c=i.dateGetMonth(t),r.d=t.getFullYear(),r.a=t.getDay(),this.ai.add(r),t=i.dateAddDays(t,1)}},n.prototype.ag=function(){var t=new i.List$1(i.Number_$type,0);if(0==this.af){for(var e=0;e<6;e++)t.add(e);return t}for(var n=i.dateFromValues(this.aq.getFullYear(),i.dateGetMonth(this.aq),1,0,0,0,0),r=0;r<6;r++){var o=0;if(o=(this.o,this.ba(n,this.o,this.l)),(0==this.o||2==this.o)&&2==o&&53==t._inner[r-1])for(var s=n,a=0;a<6;a++)s.getDay()==this.l?s.getDate()>1?t._inner[r-1]=1:o=1:s.getDay()<this.l?s=i.dateAddDays(s,1):s.getDay()>this.l&&(s=i.dateAddDays(s,-1));t.add(o),n=i.dateAddDays(n,7)}return t},n.prototype.a9=function(t){var e=i.dateAddMonths(i.dateAddDays(t,1-t.getDate()),1-i.dateGetMonth(t)),n=i.dateAddDays(i.dateAddYears(e,1),-1),r=i.truncate(i.timeSpanTotalDays(+t-+e))+[6,7,8,9,10,4,5][e.getDay()],o=i.intDivide(r,7);switch(o){case 0:return this.a9(i.dateAddDays(e,-1));case 53:return n.getDay()<4?1:o;default:return o}},n.prototype.ba=function(t,e,i){if(i<0||i>6)return-1;switch(e){case 0:return this.a8(t,i);case 1:return this.bb(t,i,7);case 2:return this.bb(t,i,4)}return-1},n.prototype.a8=function(t,e){var n=this.a7(t)-1,r=(t.getDay()-n%7-e+14)%7;return i.intDivide(n+r,7)+1},n.prototype.bb=function(t,e,n){var r,o,s=this.a7(t)-1;return 0!=(r=(e-(t.getDay()-s%7)+14)%7)&&r>=n&&(r-=7),(o=s-r)>=0?i.intDivide(o,7)+1:t<=i.dateAddDays(this.au,s)?this.bc(e,n):this.bb(i.dateAddDays(t,-(s+1)),e,n)},n.prototype.bc=function(t,e){var n=this.a7(this.au)-1,r=this.m(this.au)-n%7,o=(t+7-r)%7;if(0==o||o>=e)return 1;var s=(t-(r-1-0)+14)%7,a=364-s;return s>=e&&(a+=7),i.intDivide(a,7)+1},n.prototype.a7=function(t){return this.a6(t,1)},n.prototype.m=function(t){return(i.intDivide(t.getTime(),864e9)+1)%7},n.prototype.a6=function(t,e){var r=this.bd(t.getFullYear(),i.dateGetMonth(t),t.getDate()),o=i.intDivide(r,864e9),s=i.intDivide(o,146097);o-=146097*s;var a=i.intDivide(o,36524);4==a&&(a=3),o-=36524*a;var h=i.intDivide(o,1461);o-=1461*h;var l=i.intDivide(o,365);if(4==l&&(l=3),0==e)return 400*s+100*a+4*h+l+1;if(o-=365*l,1==e)return o+1;for(var u=3==l&&(24!=h||3==a)?n.c:n.b,c=o>>6;o>=u[c];)c++;return 2==e?c:o-u[c-1]+1},n.prototype.bd=function(t,e,r){if(t>=1&&t<=9999&&e>=1&&e<=12){var o=n.ac(t)?n.c:n.b;if(r>=1&&r<=o[e]-o[e-1]){var s=t-1;return 864e9*(365*s+i.intDivide(s,4)-i.intDivide(s,100)+i.intDivide(s,400)+o[e-1]+r-1)}}return-1},n.ac=function(t){return t%4==0&&(t%100!=0||t%400==0)},n.prototype.ck=function(t,e,r,o){var s=new b;this.h.at(t,s),s.o=this.r,s.s=this.t,s.ab=this.u,s.d8=-1,s.e=1;var a=new i.CornerRadius(0,2);s.k6=a,s.ld=a,s.dq=0;var h=new B;this.h.ax(e,h),"prev"==o?(h.svgPath=n.bk,s.h7="btnPrev"):"next"==o&&(h.svgPath=n.bl,s.h7="btnNext"),s.appendButtonContent(r),s.qi=this.dq,s.qe=this.dk,s.p8=this.dg,s.qd=this.dj,s.qf=this.dl,s.bz=28,s.by=28,this.aj.add(s)},n.prototype.cj=function(t,e,n){var r=new b;this.h.at(t,r),r.o=this.r,r.s=this.t,r.ab=this.u,r.d8=-1,r.e=1,null!=this.u&&(r.ab=this.u);var o=new i.CornerRadius(0,2);r.k6=o,r.ld=o,r.dq=0,r.appendButtonContent(e),r.qi=this.dq,r.qe=this.dk,r.p8=this.dg,r.qd=this.dj,r.qf=this.dl,r.bz=40,"month"==n?r.h7="btnMonth":"year"==n&&(r.h7="btnYear"),this.aj.add(r)},n.prototype.a=function(){var t=new Array(4);t[0]=!1,t[1]=!1,t[2]=!1,t[3]=!1;var e=this.aq.getFullYear(),n=i.dateGetMonth(this.aq);e==this.au.getFullYear()&&e==this.at.getFullYear()?(this.aj._inner[2].disabled=!0,n==i.dateGetMonth(this.au)&&n==i.dateGetMonth(this.at)?(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!0,this.aj._inner[3].disabled=!0):n==i.dateGetMonth(this.au)?(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):n==i.dateGetMonth(this.at)?(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!0):(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1)):(this.aj._inner[0].disabled=!1,this.aj._inner[2].disabled=!1,this.aj._inner[3].disabled=!1,e==this.au.getFullYear()?n==i.dateGetMonth(this.au)?(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):e==this.at.getFullYear()?n==i.dateGetMonth(this.at)?(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!0):(this.aj._inner[0].disabled=!1,this.aj._inner[1].disabled=!1,this.aj._inner[3].disabled=!1):(e>this.at.getFullYear()||e<this.au.getFullYear())&&(this.aj._inner[0].disabled=!0,this.aj._inner[1].disabled=!0,this.aj._inner[3].disabled=!0));for(var r=0;r<this.aj.count;r++)t[r]=this.aj._inner[r].disabled;return t},n.prototype.bx=function(){var t="";switch(i.dateGetMonth(this.aq)){case 1:t=i.stringIsNullOrWhiteSpace(this.x.b1("January_Short"))?"Jan":this.x.b1("January_Short");break;case 2:t=i.stringIsNullOrWhiteSpace(this.x.b1("February_Short"))?"Feb":this.x.b1("February_Short");break;case 3:t=i.stringIsNullOrWhiteSpace(this.x.b1("March_Short"))?"Mar":this.x.b1("March_Short");break;case 4:t=i.stringIsNullOrWhiteSpace(this.x.b1("April_Short"))?"Apr":this.x.b1("April_Short");break;case 5:t=i.stringIsNullOrWhiteSpace(this.x.b1("May_Short"))?"May":this.x.b1("May_Short");break;case 6:t=i.stringIsNullOrWhiteSpace(this.x.b1("June_Short"))?"Jun":this.x.b1("June_Short");break;case 7:t=i.stringIsNullOrWhiteSpace(this.x.b1("July_Short"))?"Jul":this.x.b1("July_Short");break;case 8:t=i.stringIsNullOrWhiteSpace(this.x.b1("August_Short"))?"Aug":this.x.b1("August_Short");break;case 9:t=i.stringIsNullOrWhiteSpace(this.x.b1("September_Short"))?"Sep":this.x.b1("September_Short");break;case 10:t=i.stringIsNullOrWhiteSpace(this.x.b1("October_Short"))?"Oct":this.x.b1("October_Short");break;case 11:t=i.stringIsNullOrWhiteSpace(this.x.b1("November_Short"))?"Nov":this.x.b1("November_Short");break;case 12:t=i.stringIsNullOrWhiteSpace(this.x.b1("December_Short"))?"Dec":this.x.b1("December_Short")}return t},n.prototype.by=function(){return this.aq.getFullYear().toString()},n.prototype.d=function(t){var e=new Array(2);return e[0]="",e[1]="",0==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Sunday_Full"))?"Sunday":this.x.b1("Sunday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Sunday_Single"))?"S":this.x.b1("Sunday_Single")):1==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Monday_Full"))?"Monday":this.x.b1("Monday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Monday_Single"))?"M":this.x.b1("Monday_Single")):2==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Tuesday_Full"))?"Tuesday":this.x.b1("Tuesday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Tuesday_Single"))?"T":this.x.b1("Tuesday_Single")):3==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Wednesday_Full"))?"Wednesday":this.x.b1("Wednesday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Wednesday_Single"))?"W":this.x.b1("Wednesday_Single")):4==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Thursday_Full"))?"Thursday":this.x.b1("Thursday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Thursday_Single"))?"T":this.x.b1("Thursday_Single")):5==t?(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Friday_Full"))?"Friday":this.x.b1("Friday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Friday_Single"))?"F":this.x.b1("Friday_Single")):6==t&&(e[0]=i.stringIsNullOrWhiteSpace(this.x.b1("Saturday_Full"))?"Saturday":this.x.b1("Saturday_Full"),e[1]=i.stringIsNullOrWhiteSpace(this.x.b1("Saturday_Single"))?"S":this.x.b1("Saturday_Single")),e},n.prototype.j=function(t){return this.ai._inner[t]},n.prototype.ad=function(t){var e=this.ai._inner[t],n=this.ah._inner[t];return+this.value!=+i.dateMinValue()&&e.b==this.value.getDate()&&e.c==i.dateGetMonth(this.value)&&e.d==this.value.getFullYear()?(n.qi=this.dn,n.qe=this.dn,n.p8=this.dm,n.qd=this.dp,n.p9=this.dg):e.b==this.av.getDate()&&e.c==i.dateGetMonth(this.av)&&e.d==this.av.getFullYear()?(n.qi=this.di,n.qe=this.dk,n.p8=this.dg,n.qd=this.dj,n.p9=this.dh,n.bw=1):(0!=e.a&&6!=e.a&&(e.c,i.dateGetMonth(this.aq)),n.qi=this.dq,n.qe=this.dk,n.p8=this.dg,n.qd=this.dj,n.p9=this.dg),e.d>=this.au.getFullYear()&&e.d<=this.at.getFullYear()?e.d==this.au.getFullYear()&&e.d==this.at.getFullYear()?e.c==i.dateGetMonth(this.au)&&e.c==i.dateGetMonth(this.at)?e.b>=this.au.getDate()&&e.b<=this.at.getDate()?n.disabled=!1:n.disabled=!0:e.c>=i.dateGetMonth(this.au)&&e.c<=i.dateGetMonth(this.at)?e.c==i.dateGetMonth(this.au)?e.b>=this.au.getDate()?n.disabled=!1:n.disabled=!0:e.c==i.dateGetMonth(this.at)?e.b<=this.at.getDate()?n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0:e.d==this.au.getFullYear()?e.c>=i.dateGetMonth(this.au)?e.c==i.dateGetMonth(this.au)?e.b>=this.au.getDate()?n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0:e.d==this.at.getFullYear()?e.c<=i.dateGetMonth(this.at)?e.c==i.dateGetMonth(this.at)?e.b<=this.at.getDate()?n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0:n.disabled=!1:n.disabled=!0,n.disabled},n.prototype.aa=function(t,e){return this.aq.getFullYear()>=this.au.getFullYear()&&this.aq.getFullYear()<=this.at.getFullYear()?this.aq.getFullYear()==this.au.getFullYear()&&this.aq.getFullYear()==this.at.getFullYear()?e<i.dateGetMonth(this.au)||e>i.dateGetMonth(this.at)?this.ak._inner[t].disabled=!0:this.ak._inner[t].disabled=!1:this.aq.getFullYear()==this.au.getFullYear()?e<i.dateGetMonth(this.au)?this.ak._inner[t].disabled=!0:this.ak._inner[t].disabled=!1:this.aq.getFullYear()==this.at.getFullYear()&&e>i.dateGetMonth(this.at)?this.ak._inner[t].disabled=!0:this.ak._inner[t].disabled=!1:this.ak._inner[t].disabled=!0,this.ak._inner[t].disabled},n.prototype.ab=function(t,e){return e<this.au.getFullYear()||e>this.at.getFullYear()?this.al._inner[t].disabled=!0:this.al._inner[t].disabled=!1,this.al._inner[t].disabled},n.prototype.cc=function(t){this.aq=i.dateAddMonths(this.aq,t),this.cg()},n.prototype.cd=function(t){this.aq=i.dateFromValues(this.aq.getFullYear(),t,this.aq.getDate(),0,0,0,0),this.cg()},n.prototype.ce=function(t){var e=i.dateGetMonth(this.aq),n=this.aq.getDate();t==this.au.getFullYear()&&t==this.at.getFullYear()?e<i.dateGetMonth(this.au)?(e=i.dateGetMonth(this.au),n<this.au.getDate()&&(n=this.au.getDate())):e>i.dateGetMonth(this.at)?(e=i.dateGetMonth(this.at),n>this.at.getDate()&&(n=this.at.getDate())):e==i.dateGetMonth(this.au)&&e==i.dateGetMonth(this.at)?n<this.au.getDate()?n=this.au.getDate():n>this.at.getDate()&&(n=this.at.getDate()):e==i.dateGetMonth(this.au)?n<this.au.getDate()&&(n=this.au.getDate()):e==i.dateGetMonth(this.at)&&n>this.at.getDate()&&(n=this.at.getDate()):t==this.au.getFullYear()?e<i.dateGetMonth(this.au)?(e=i.dateGetMonth(this.au),n<this.au.getDate()&&(n=this.au.getDate())):e==i.dateGetMonth(this.au)&&n<this.au.getDate()&&(n=this.au.getDate()):t==this.at.getFullYear()&&(e>i.dateGetMonth(this.at)?(e=i.dateGetMonth(this.at),n>this.at.getDate()&&(n=this.at.getDate())):e==i.dateGetMonth(this.at)&&n>this.at.getDate()&&(n=this.at.getDate())),this.aq=i.dateFromValues(t,e,n,0,0,0,0),this.cg()},n.prototype.cz=function(t,e){e<0?t--:t++,this.h.a6(t)},n.prototype.cy=function(){this.h.as()},n.prototype.bj=function(){return this.f()},n.prototype.bs=function(){return this.f().o()},n.prototype.f=function(){var t=new I;t.i=this.t,t.h=this.r,t.e=i.AppearanceHelper.a(this.dm),t.g=i.AppearanceHelper.a(this.dp),t.c=i.AppearanceHelper.a(this.dj),t.f=i.AppearanceHelper.a(this.dn),t.d=i.AppearanceHelper.a(this.dk),t.b=i.AppearanceHelper.a(this.di),t.a=i.AppearanceHelper.a(this.dh),t.j=new i.List$1(d.$,0),t.k=new i.List$1(U.$,0),t.l=new i.List$1(U.$,0);var e=this.h.y();t.n=e;var n=this.h.a(),r=n[0],o=n[1];if("day"==e){for(var s=0;s<this.aj.count;s++){null==this.aj._inner[s].h7&&(this.aj._inner[s].h7="header"+s.toString());var a=this.aj._inner[s].ec();a.s=a.s-r,a.q=a.q-o,t.j.add(a)}for(var h=0;h<this.ah.count;h++){null==this.ah._inner[h].h7&&(this.ah._inner[h].h7="days"+h.toString());var l=this.ah._inner[h].ec();l.s=l.s-r,l.q=l.q-o,t.j.add(l)}if(1==this.ae){this.g.h7="todayButton";var u=this.g.ec();u.s=u.s-r,u.q=u.q-o,t.j.add(u)}for(var c=this.h.k(),p=0;p<c.count;p++){var f=new U,b=this.h.b(c._inner[p]);f.e=b[0]-r,f.d=b[1]-o,f.c=i.NativeUI.d(c._inner[p].parent()),f.f=i.NativeUI.k(c._inner[p].parent()),f.b=i.AppearanceHelper.a(i.NativeUI.al(c._inner[p])),f.g=c._inner[p].getText(),t.k.add(f)}if(1==this.af)for(var y=this.h.l(),g=0;g<y.count;g++){var m=new U,v=this.h.b(y._inner[g]);m.e=v[0]-r,m.d=v[1]-o,m.c=i.NativeUI.d(y._inner[g].parent()),m.f=i.NativeUI.k(y._inner[g].parent()),m.b=i.AppearanceHelper.a(i.NativeUI.al(y._inner[g])),m.a=i.AppearanceHelper.a(i.NativeUI.ak(y._inner[g])),m.g=y._inner[g].getText(),t.l.add(m)}}else if("month"==e)for(var _=0;_<this.ak.count;_++){null==this.ak._inner[_].h7&&(this.ak._inner[_].h7="months"+_.toString());var C=this.ak._inner[_].ec();C.s=C.s-r,C.q=C.q-o,t.j.add(C)}else if("year"==e)for(var B=0;B<this.al.count;B++){null==this.al._inner[B].h7&&(this.al._inner[B].h7="years"+B.toString());var x=this.al._inner[B].ec();x.s=x.s-r,x.q=x.q-o,t.j.add(x)}if(null!=this.v){var k=this.v;if(null!=this.h&&null==k.q){var w=this.h.m,T=i.FontUtil.getFontInfoFromString(w,k.fontString);k.q=T.q,k.f=T.f,k.r=T.r,k.t=T.t,k.u=T.u,k.v=T.v}null!=k.q&&(t.p=k.q),i.isNaN_(k.f)||(t.m=k.f),null!=k.v&&(t.t=k.v),null!=k.t&&(t.r=k.t),null!=k.r&&(t.q=k.t)}return t},n.$t=i.markType(n,"XCalendar",i.Base.$,[i.INotifyPropertyChanged_$type]),n.bk="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",n.bl="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",n.b=[0,31,59,90,120,151,181,212,243,273,304,334,365],n.c=[0,31,60,91,121,152,182,213,244,274,305,335,366],n}(i.Base),A=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new j},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},set:function(t){this.i.oldValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),R=function(t){function n(){var e=t.call(this)||this;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._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._renderer=new i.WebComponentRenderer(e,document,!0,null),e._implementation=e.createImplementation(),e._container=e._renderer.createElement("div"),e._renderer.updateRoot(e._container);var n=e.i;return e._calendar=n,e._renderer.addSizeWatcher((function(){e._calendar.notifySizeChanged()})),e}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.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._calendar.destroy()},n.prototype.createImplementation=function(){return new F},n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-x-calendar"),this.classList.add("igc-x-calendar");var t=this._renderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._calendar.provideContainer(this._renderer),this._calendar.notifySizeChanged(),this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},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._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._observedAttributesIgcXCalendarComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXCalendarComponent=t}return n._observedAttributesIgcXCalendarComponent},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,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"today",{get:function(){return this.i.av},set:function(t){this.i.av=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this.i.au},set:function(t){this.i.au=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this.i.at},set:function(t){this.i.at=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.dg)},set:function(t){this.i.dg=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.dg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedDateBackgroundColor",{get:function(){return i.brushToString(this.i.dm)},set:function(t){this.i.dm=i.stringToBrush(t),this._a("selectedDateBackgroundColor",i.brushToString(this.i.dm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedFocusDateBackgroundColor",{get:function(){return i.brushToString(this.i.dp)},set:function(t){this.i.dp=i.stringToBrush(t),this._a("selectedFocusDateBackgroundColor",i.brushToString(this.i.dp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusDateBackgroundColor",{get:function(){return i.brushToString(this.i.dj)},set:function(t){this.i.dj=i.stringToBrush(t),this._a("focusDateBackgroundColor",i.brushToString(this.i.dj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.dl)},set:function(t){this.i.dl=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.dl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dq)},set:function(t){this.i.dq=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedDateTextColor",{get:function(){return i.brushToString(this.i.dn)},set:function(t){this.i.dn=i.stringToBrush(t),this._a("selectedDateTextColor",i.brushToString(this.i.dn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusDateTextColor",{get:function(){return i.brushToString(this.i.dk)},set:function(t){this.i.dk=i.stringToBrush(t),this._a("focusDateTextColor",i.brushToString(this.i.dk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentDateTextColor",{get:function(){return i.brushToString(this.i.di)},set:function(t){this.i.di=i.stringToBrush(t),this._a("currentDateTextColor",i.brushToString(this.i.di))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentDateBorderColor",{get:function(){return i.brushToString(this.i.dh)},set:function(t){this.i.dh=i.stringToBrush(t),this._a("currentDateBorderColor",i.brushToString(this.i.dh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTodayButton",{get:function(){return this.i.ae},set:function(t){this.i.ae=i.ensureBool(t),this._a("showTodayButton",this.i.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.v?null:this.i.v.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.v=e,this._a("textStyle",null!=this.i.v?this.i.v.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstDayOfWeek",{get:function(){return this.i.l},set:function(t){this.i.l=i.ensureEnum(T,t),this._a("firstDayOfWeek",i.enumToString(T,this.i.l))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstWeekOfYear",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(O,t),this._a("firstWeekOfYear",i.enumToString(O,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showWeekNumbers",{get:function(){return this.i.af},set:function(t){this.i.af=i.ensureBool(t),this._a("showWeekNumbers",this.i.af)},enumerable:!1,configurable:!0}),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("XCalendarComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.exportVisualModel=function(){return this.i.bj()},n.prototype.exportSerializedVisualModel=function(){return this.i.bs()},Object.defineProperty(n.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 A;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(n.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}),n._observedAttributesIgcXCalendarComponent=null,n.htmlTagName="igc-x-calendar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),D=function(){function t(){}return t.register=function(){m.register(),k.register(),R.register(),i.TypeRegistrar.registerCons("IgcXCalendarComponent",R),i.TypeRegistrar.registerCons("IgcXCalendarComponent",R),i.TypeRegistrar.register("XCalendar",F.$type)},t}(),E=function(){return function(){this.April_Full="April",this.April_Short="Apr",this.August_Full="August",this.August_Short="Aug",this.December_Full="December",this.December_Short="Dec",this.February_Full="February",this.February_Short="Feb",this.Friday_Full="Friday",this.Friday_Short="Fri",this.Friday_Single="F",this.January_Full="January",this.January_Short="Jan",this.July_Full="July",this.July_Short="Jul",this.June_Full="June",this.June_Short="Jun",this.March_Full="March",this.March_Short="Mar",this.May_Full="May",this.May_Short="May",this.Monday_Full="Monday",this.Monday_Short="Mon",this.Monday_Single="M",this.November_Full="November",this.November_Short="Nov",this.October_Full="October",this.October_Short="Oct",this.Saturday_Full="Saturday",this.Saturday_Short="Sat",this.Saturday_Single="S",this.September_Full="September",this.September_Short="Sep",this.Sunday_Full="Sunday",this.Sunday_Short="Sun",this.Sunday_Single="S",this.Thursday_Full="Thursday",this.Thursday_Short="Thu",this.Thursday_Single="T",this.Today="Today",this.Tuesday_Full="Tuesday",this.Tuesday_Short="Tue",this.Tuesday_Single="T",this.Wednesday_Full="Wednesday",this.Wednesday_Short="Wed",this.Wednesday_Single="W"}}(),q=function(){function t(){}return t.register=function(){i.Localization.register("XCalendar-en",new E)},t}(),$=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),G=i.markEnum("SuffixShiftType","Line,0|Box,1|Border,2"),W=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),z=i.markEnum("PrefixShiftType","Line,0|Box,1|Border,2"),V=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),H=i.markEnum("LabelShiftType","Line,0|Box,1|Border,2"),M=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),L=i.markEnum("InputShiftType","Line,0|Box,1|Border,2"),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=!1,e.b=!1,e.d=null,e}return e.__extends(n,t),n.prototype.e=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("shiftType : "+this.a+", "),t.l("isHover : "+this.c+", "),t.l("isDisabled : "+this.b+", "),t.l('name : "'+this.d+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"SuffixVisualModelExport"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=!1,e.b=!1,e.d=null,e}return e.__extends(n,t),n.prototype.e=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("shiftType : "+i.enumGetBox(z,this.a)+", "),t.l("isHover : "+this.c+", "),t.l("isDisabled : "+this.b+", "),t.l('name : "'+this.d+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"PrefixVisualModelExport"),n}(i.Base),K=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t[t.Search=3]="Search",t}({}),J=i.markEnum("InputGroupDisplayType","Line,0|Box,1|Border,2|Search,3"),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.e=0,e.b=null,e.o=0,e.p=0,e.z=null,e.aa=null,e.x=0,e.w=0,e.t=0,e.c=null,e.d=null,e.u=0,e.s=0,e.q=0,e.r=0,e.v=0,e.a=null,e.g=!1,e.j=!1,e.i=!1,e.h=!1,e.m=null,e.l=null,e.k=null,e.n=null,e}return e.__extends(n,t),n.prototype.y=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("actualDensity : "+this.f+", "),t.l("baseTheme : "+this.e+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.o+", "),t.l("actualFocusBorderWidth : "+this.p+", "),t.l("actualContentPadding : { left: "+this.aa.left+",top: "+this.aa.top+",right: "+this.aa.right+",bottom: "+this.aa.bottom+"},"),t.l("actualUnderlineWidth : "+this.x+", "),t.l("actualUnderlineRippleWidth : "+this.w+", "),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualHoverUnderlineWidth : "+this.t+", "),t.l("actualUnderlineColor : "+this.c.serialize()+", "),t.l("actualUnderlineRippleColor : "+this.d.serialize()+", "),t.l("actualUnderlineOpacity : "+this.u+", "),t.l("actualHoverUnderlineOpacity : "+this.s+", "),t.l("actualFocusUnderlineOpacity : "+this.q+", "),t.l("actualFocusUnderlineRippleOpacity : "+this.r+", "),t.l("actualUnderlineRippleOpacity : "+this.v+", "),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualIsExpanded : "+this.g+", "),t.l("isHovered : "+this.j+", "),t.l("isFocused : "+this.i+", "),t.l("isDisabled : "+this.h+", "),t.l("prefixModels : [");for(var e=0;e<this.m.count;e++)0!=e&&t.l(","),t.l(this.m._inner[e].e());t.l("],"),t.l("labelModels: [");for(var n=0;n<this.l.count;n++){0!=n&&t.l(",");this.l._inner[n].p.charAt(0).toString().toLowerCase(),this.l._inner[n].p.substr(1);t.l(this.l._inner[n].q())}t.l("],"),t.l("inputModels : [");for(var r=0;r<this.k.count;r++){0!=r&&t.l(",");this.k._inner[r].m.charAt(0).toString().toLowerCase(),this.k._inner[r].m.substr(1);t.l(this.k._inner[r].p())}t.l("],"),t.l("suffixModels : [");for(var o=0;o<this.n.count;o++){0!=o&&t.l(",");this.n._inner[o].d.charAt(0).toString().toLowerCase(),this.n._inner[o].d.substr(1);t.l(this.n._inner[o].e())}return t.l("]"),t.l("}"),t.toString()},n.$t=i.markType(n,"InputGroupVisualModelExport"),n}(i.Base),Z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=0,e.e=0,e.d=0,e.a=null,e.u=null,e.v=null,e.w=null,e.k=0,e.s=null,e.t=null,e.b=0,e.i=!1,e.g=!1,e.m=null,e.n=null,e.o=null,e.l=null,e.r=null,e.h=!1,e.j=!1,e.f=!1,e.p=null,e}return e.__extends(n,t),n.prototype.q=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("baseTheme : "+this.c+", "),t.l("density : "+this.e+", "),t.l("actualDensity : "+this.d+", "),t.l("actualTextColor : "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.u)||t.l('textStyleFontStyle : "'+this.u+'", '),i.stringIsNullOrEmpty(this.v)||t.l('textStyleFontVariant : "'+this.v+'", '),i.stringIsNullOrEmpty(this.w)||t.l('textStyleFontWeight : "'+this.w+'", '),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontFamily : "'+this.s+'", '),i.stringIsNullOrEmpty(this.t)||t.l('textStyleFontStretch : "'+this.t+'", '),i.isNaN_(this.k)||t.l("textStyleFontSize : "+this.k+", "),t.l("shiftType : "+this.b+", "),t.l("isShifted : "+this.i+", "),t.l("isHighlighted : "+this.g+", "),t.l('display : "'+this.m+'", '),t.l('flexDirection : "'+this.n+'", '),t.l('flexGrow : "'+this.o+'", '),t.l('alignItems :"'+this.l+'", '),t.l('text : "'+this.r+'", '),t.l("isHover : "+this.h+", "),t.l("value : "+this.j+", "),t.l("isDisabled : "+this.f+", "),t.l('name : "'+this.p+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"LabelVisualModelExport"),n}(i.Base),tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.g=0,e.j=0,e.f=0,e.b=0,e.c=0,e.l=null,e.o=null,e.d=!1,e.a=null,e.s=null,e.t=null,e.u=null,e.h=0,e.q=null,e.r=null,e.k=null,e.n=null,e.e=!1,e.v=null,e.m=null,e}return e.__extends(n,t),n.prototype.p=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.i+", "),t.l("left : "+this.g+", "),t.l("shiftType : "+this.b+", "),t.l("actualDensity : "+this.c+", "),t.l('mask : "'+this.l+'", '),t.l('promptChar : "'+this.o+'", '),t.l("includeLiterals : "+this.d+", "),t.l("actualTextColor : "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.s)||t.l('textStyleFontStyle : "'+this.s+'", '),i.stringIsNullOrEmpty(this.t)||t.l('textStyleFontVariant : "'+this.t+'", '),i.stringIsNullOrEmpty(this.u)||t.l('textStyleFontWeight : "'+this.u+'", '),i.stringIsNullOrEmpty(this.q)||t.l('textStyleFontFamily : "'+this.q+'", '),i.stringIsNullOrEmpty(this.r)||t.l('textStyleFontStretch : "'+this.r+'", '),i.isNaN_(this.h)||t.l("textStyleFontSize : "+this.h+", "),t.l('inputType : "'+this.k+'", '),t.l('placeholder : "'+this.n+'", '),t.l("isHover : "+this.e+", "),t.l('value : "'+this.v+'", '),t.l('name : "'+this.m+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"InputVisualModelExport"),n}(i.Base),et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"Replaced"),n}(i.Base),it=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}var r;return e.__extends(n,t),n.prototype.h=function(t,n){var r,o,s,a,h="",l="",u=n.a,c=this.d(u),p=new i.List$1(i.Number_$type,1,c.keys),d=this.e(u,p),f=new i.List$1(i.String_$type,1,c.values);null!=t&&(l=t.toString());for(var b=0;b<u.length;b++)h+=n.b;try{for(var y=e.__values(i.fromEnum(c)),g=y.next();!g.done;g=y.next()){var m=g.value;h=this.j(h,m.key,m.value)}}catch(t){r={error:t}}finally{try{g&&!g.done&&(o=y.return)&&o.call(y)}finally{if(r)throw r.error}}if(""==l)return h;for(var v=this.f(l,f),_=0;_<v.count;_++){var C=v._inner[_];this.c(C,d._inner[_],u)||C==n.b||(v._inner[_]=n.b)}v.count>d.count&&v.v(d.count+1,v.count);var B=0;try{for(var x=e.__values(i.fromEnum(v)),k=x.next();!k.done;k=x.next()){var w=k.value;h=this.j(h,d._inner[B++],w)}}catch(t){s={error:t}}finally{try{k&&!k.done&&(a=x.return)&&a.call(x)}finally{if(s)throw s.error}}return h},n.prototype.i=function(t,n){var r,o,s="",a=n.a,h=this.d(a),l=new i.HashSet$1(i.String_$type,0);try{for(var u=e.__values(i.fromEnum(h.values)),c=u.next();!c.done;c=u.next()){var p=c.value;l.add_1(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}for(var d=0;d<t.length;d++){var f=t.charAt(d).toString();l.contains(f)||f!=n.b&&(s+=f)}return s},n.prototype.a=function(t,e,n,r,o){for(var s=this.d(n.a),a=new i.ObservableCollection$1(i.String_$type,0),h=0;h<e.length;h++)a.add(e.charAt(h).toString());var l=r;o=Math.min(o,t.length);for(var u=r;u<o||a.count>0&&u<t.length;u++)if(s.containsKey(u))a._inner[0]==t.charAt(u).toString()&&(l=u+1,a.removeAt(0));else{if(null!=a._inner[0]&&!this.c(a._inner[0].toString(),u,n.a)&&a._inner[0].toString()!=n.b)break;var c=n.b;a.count>0&&(l=u+1,c=a._inner[0],a.removeAt(0)),t=this.j(t,u,c)}var p=new et;return p.b=t,p.a=l,p},n.prototype.j=function(t,e,i){return null!=t?t.substr(0,e)+i+t.substr(e+1):null},n.prototype.b=function(t,e){return t.test(e)},n.prototype.c=function(t,e,i){var n,r;switch(i.charAt(e)){case"C":r=""!=t;break;case"&":n=new RegExp("[\\u0020]"),r=!this.b(n,t);break;case"a":n=new RegExp("[\\d\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z\\u0020]"),r=this.b(n,t);break;case"A":n=new RegExp("[\\d\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z]"),r=this.b(n,t);break;case"?":n=new RegExp("[\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z\\u0020]"),r=this.b(n,t);break;case"L":n=new RegExp("[\\u00C0-\\u1FFF\\u2C00-\\uD7FFa-zA-Z]"),r=this.b(n,t);break;case"0":n=new RegExp("[\\d]"),r=this.b(n,t);break;case"9":n=new RegExp("[\\d\\u0020]"),r=this.b(n,t);break;case"#":n=new RegExp("[\\d-\\+\\s]"),r=this.b(n,t);break;default:r=!1}return r},n.prototype.d=function(t){for(var e=new i.Dictionary$2(i.Number_$type,i.String_$type,0),r=0;r<t.length;r++){var o=t.charAt(r);n.g.contains(o)||e.addItem(r,o.toString())}return e},n.prototype.e=function(t,e){for(var n=new i.List$1(i.Number_$type,0),r=0;r<t.length;r++)e.contains(r)||n.add(r);return n},n.prototype.f=function(t,e){for(var n=new i.List$1(i.String_$type,0),r=0;r<t.length;r++){var o=t.charAt(r).toString();e.contains(o)||(e.remove(o),n.add(o))}return n},n.$t=i.markType(n,"MaskParsingService"),n.g=((r=new i.List$1(i.String_$type,0)).add("C"),r.add("&"),r.add("a"),r.add("A"),r.add("?"),r.add("L"),r.add("9"),r.add("0"),r.add("#"),r),n}(i.Base),nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._isCompositionInProgress=!1,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,"isCompositionInProgress",{get:function(){return this._isCompositionInProgress},set:function(t){this._isCompositionInProgress=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"InputChangeEventArgs",i.EventArgs.$),n}(i.EventArgs),rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"MaskOptions"),n}(i.Base),ot=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.l=null,e.e=null,e.i=new i.List$1(i.Delegate_$type,0),e.z=null,e.f=!0,e.n=null,e.o=null,e.p=null,e.t=null,e.r=null,e.q=null,e.m=null,e}return e.__extends(n,t),n.prototype.ak=function(){},n.prototype.ac=function(t){null!==i.typeCast(bt.$,t)&&(t.be="flex-start")},n.prototype.ae=function(t){},n.prototype.ad=function(){},n.prototype.g=function(){return!0},Object.defineProperty(n.prototype,"w",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.ah=function(t){var n,r,o=this;if(null==t){try{for(var s=e.__values(i.fromEnum(this.i)),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.i.clear()}this.l=t,t.rootWrapper.setStyleProperty("position","relative"),t.rootWrapper.setStyleProperty("box-sizing","border-box"),t.rootWrapper.setStyleProperty("border-width","0px"),t.rootWrapper.setStyleProperty("border-style","solid");var h=this.v;this.i.add(h.listen("focusin",i.runOn(this,this.aj))),this.i.add(h.listen("focusout",i.runOn(this,this.am)));var l=this.l.createElement("div");l.setStyleProperty("position","absolute"),l.setStyleProperty("width","100%"),l.setStyleProperty("height","100%"),l.setStyleProperty("border-style","solid"),l.setStyleProperty("box-sizing","border-box"),l.setStyleProperty("left","0px"),l.setStyleProperty("top","0px"),this.l.append(l),this.m=l;var u=this.l.createElement("div");u.addClass("ig-input-content"),u.setStyleProperty("width","100%"),u.setStyleProperty("position","relative"),u.setStyleProperty("display","flex"),u.setStyleProperty("flex-direction","row"),u.setStyleProperty("flex-wrap","no-wrap"),u.setStyleProperty("flex-flow","row nowrap"),u.setStyleProperty("flex-grow","1"),u.setStyleProperty("align-items","center"),u.setStyleProperty("padding-top","1.125rem"),this.p=u,this.i.add(u.listen("click",i.runOn(this,this.aa))),this.l.append(u),this.l.getPortal(u,"ChildContent",(function(t){var e=t.componentRef;o.t=e,o.p.setStyleProperty("flex-direction","row")}),!0);var c=this.l.createElement("div");c.setStyleProperty("position","absolute"),c.setStyleProperty("width","100%"),c.setStyleProperty("background-color","rgba(0, 0, 0, 0.54)"),c.setStyleProperty("height","1px"),c.setStyleProperty("pointer-events","none"),c.setStyleProperty("left","0px"),c.setStyleProperty("bottom","1px"),c.setStyleProperty("overflow","visible");var p,d=this.l.createElement("span");d.setStyleProperty("width","100%"),d.setStyleProperty("height","2px"),d.setStyleProperty("display","block"),d.setStyleProperty("pointer-events","none"),i.NativeUI.af(d,((p=new i.ScaleTransform).l=.5,p.m=1,p)),d.setStyleProperty("opacity","0"),this.r=d,c.append(this.r),this.q=c,this.l.append(c),this.d.j3()},Object.defineProperty(n.prototype,"s",{get:function(){return this.p},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.l.rootWrapper},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.m},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.r},enumerable:!1,configurable:!0}),n.prototype.aq=function(t){this.z!=t&&(this.z=t,null!=this.o&&this.o.setAttribute("d",this.z))},n.prototype.ap=function(){switch(this.d.s){case 1:this.p.setStyleProperty("padding-top","1.125rem");break;case 2:this.p.setStyleProperty("padding-top",".94737rem");break;case 3:this.p.setStyleProperty("padding-top",".81818rem");break;case 4:this.p.setStyleProperty("padding-top",".68899rem")}},n.prototype.aa=function(t){},n.prototype.al=function(){this.g()},n.prototype.j=function(){var t=this.l.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.ag=function(){this.f=!0},n.prototype.ai=function(){var t,n;this.f=!1;try{for(var r=e.__values(i.fromEnum(this.i)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.i.clear()},n.prototype.ar=function(t){null!=t&&this.l.rootWrapper.setStyleProperty("font",t.fontString)},n.prototype.k=function(t){return t.view.j()},n.prototype.af=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.u,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.x,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.r,0,null,t)},n.prototype.ao=function(t){},n.prototype.ab=function(t){this.p.append(t)},n.prototype.an=function(t){this.p.removeChild(t)},n.prototype.aj=function(t){this.d.jz()},n.prototype.am=function(t){this.d.j1()},n.$t=i.markType(n,"InputGroupView"),n}(i.Base),st=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.h=null,e.b=null,e.f=new i.List$1(i.Delegate_$type,0),e.d=!1,e.c=!0,e.i=null,e}return e.__extends(n,t),n.prototype.p=function(){},n.prototype.e=function(){return!0},Object.defineProperty(n.prototype,"s",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.n=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.f)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.f.clear()}this.h=t,this.h.rootWrapper.setStyleProperty("display","inline-block");var a=this.h.createElement("div");a.addClass("ig-suffix-content"),this.h.append(a),a.setStyleProperty("cursor","pointer"),this.i=a,this.h.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.r=function(){var t=this,e=this.g();(i.isNaN_(e)||0==e)&&(this.d||(this.d=!0,this.h.setTimeout((function(){t.d=!1,t.r()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.a.k?-.25*t.g():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.h.rootWrapper,r),this.h.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.g=function(){var t=this.h.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.q=function(){this.e()},n.prototype.j=function(t){this.a.aj()},n.prototype.k=function(t){this.a.ak()},n.prototype.m=function(){this.c=!0,this.f.add(this.h.rootWrapper.listen("mouseenter",i.runOn(this,this.j))),this.f.add(this.h.rootWrapper.listen("mouseleave",i.runOn(this,this.k)))},n.prototype.o=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.prototype.l=function(t){this.i.append(t)},n.$t=i.markType(n,"SuffixView"),n}(i.Base),at=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.h=null,e.b=null,e.f=new i.List$1(i.Delegate_$type,0),e.d=!1,e.c=!0,e.i=null,e}return e.__extends(n,t),n.prototype.p=function(){},n.prototype.e=function(){return!0},Object.defineProperty(n.prototype,"s",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.n=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.f)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.f.clear()}this.h=t,this.h.rootWrapper.setStyleProperty("display","inline-block");var a=this.h.createElement("div");a.addClass("ig-prefix-content"),this.h.append(a),a.setStyleProperty("cursor","pointer"),this.i=a,this.h.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.r=function(){var t=this,e=this.g();(i.isNaN_(e)||0==e)&&(this.d||(this.d=!0,this.h.setTimeout((function(){t.d=!1,t.r()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.a.k?-.25*t.g():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.h.rootWrapper,r),this.h.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.g=function(){var t=this.h.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.q=function(){this.e()},n.prototype.j=function(t){this.a.aj()},n.prototype.k=function(t){this.a.ak()},n.prototype.m=function(){this.c=!0,this.f.add(this.h.rootWrapper.listen("mouseenter",i.runOn(this,this.j))),this.f.add(this.h.rootWrapper.listen("mouseleave",i.runOn(this,this.k)))},n.prototype.o=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.prototype.l=function(t){this.i.append(t)},n.$t=i.markType(n,"PrefixView"),n}(i.Base),ht=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.m=null,e.d=null,e.i=new i.List$1(i.Delegate_$type,0),e.r=null,e.f=!0,e.n=null,e.o=null,e.p=-1,e}return e.__extends(n,t),n.prototype.ae=function(){},n.prototype.g=function(){return!0},Object.defineProperty(n.prototype,"q",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.v=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.m)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.m.rootWrapper,0,null,t)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.m.rootWrapper,0,null,t)},n.prototype.z=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.i)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.i.clear()}this.m=t,this.m.rootWrapper.setStyleProperty("display","inline-block"),this.m.rootWrapper.setStyleProperty("position","relative");var a=this.m.createElement("label");a.setStyleProperty("position","relative"),a.setStyleProperty("display","inline-block"),a.setStyleProperty("white-space","nowrap"),a.setStyleProperty("text-overflow","ellipsis"),a.setStyleProperty("line-height","1"),a.setStyleProperty("overflow","hidden"),a.setStyleProperty("height","1.125rem"),a.setStyleProperty("backface-visibility","hidden"),i.NativeUI.q(this.m.rootWrapper,this.c.c3),a.setStyleProperty("outline-style","none"),a.setStyleProperty("box-shadow","none"),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.n=a,this.m.append(this.n),this.c.cl()},n.prototype.l=function(){return 0==this.c.l?.5*this.j():0},n.prototype.aj=function(){var t=this;this.c.bk="block";var e,n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=0==t.c.l?.5*t.j():0,e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.m.rootWrapper,n),this.n.setStyleProperty("height","1.125rem"),this.m.rootWrapper.setStyleProperty("position","absolute"),this.m.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.ak=function(){switch(this.c.s){case 1:this.m.rootWrapper.setStyleProperty("margin-top","0px");break;case 2:this.m.rootWrapper.setStyleProperty("margin-top","-.125rem");break;case 3:this.m.rootWrapper.setStyleProperty("margin-top","-.25rem");break;case 4:this.m.rootWrapper.setStyleProperty("margin-top","-.5rem")}},n.prototype.ai=function(){this.n.setText(null!=this.c.text?this.c.text:"")},n.prototype.al=function(t){this.r!=t&&(this.r=t,null!=this.o&&this.o.setAttribute("d",this.r))},n.prototype.ab=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("display",this.c.bk),this.n.setStyleProperty("display",this.c.bk);var t=this.m.getExternal(this.c,null,null);t&&t._onDisplayChanged&&t._onDisplayChanged()}},n.prototype.w=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("align-items",this.c.bc),this.n.setStyleProperty("align-items",this.c.bc);var t=this.m.getExternal(this.c,null,null);t&&t._onAlignItemsChanged&&t._onAlignItemsChanged()}},n.prototype.x=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("align-self",this.c.be),this.n.setStyleProperty("align-self",this.c.be);var t=this.m.getExternal(this.c,null,null);t&&t._onAlignSelfChanged&&t._onAlignSelfChanged()}},n.prototype.ac=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("flex-direction",this.c.bn),this.n.setStyleProperty("flex-direction",this.c.bn);var t=this.m.getExternal(this.c,null,null);t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.ad=function(){if(null!=this.m){this.m.rootWrapper.setStyleProperty("flex-grow",this.c.bp),this.n.setStyleProperty("flex-grow",this.c.bp);var t=this.m.getExternal(this.c,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.s=function(t){},n.prototype.ag=function(){this.g()},n.prototype.j=function(){var t=this.k();if(0==t||i.isNaN_(t)){var e=NaN,n=this.m.rootWrapper.parent();if(null!=n)if(n.getChildCount()>1){for(var r=null,o=0;o<n.getChildCount();o++){if(n.getChildAt(o).getNativeElement()==this.m.rootWrapper.getNativeElement()){o==n.getChildCount()-1?n.getChildAt(o-1):r=n.getChildAt(o+1);break}}this.m.rootWrapper.remove(),document.body.appendChild(this.m.rootWrapper.getNativeElement()),e=this.k(),this.m.rootWrapper.remove(),null!=r?r.before(this.m.rootWrapper):n.append(this.m.rootWrapper)}else this.m.rootWrapper.remove(),document.body.appendChild(this.m.rootWrapper.getNativeElement()),e=this.k(),this.m.rootWrapper.remove(),n.append(this.m.rootWrapper);else this.m.rootWrapper.remove(),document.body.appendChild(this.m.rootWrapper.getNativeElement()),e=this.k(),this.m.rootWrapper.remove();return e}return t},n.prototype.k=function(){var t=this.m.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.t=function(t){this.c.ch()},n.prototype.u=function(t){this.c.ci()},n.prototype.y=function(){this.f=!0,this.i.add(this.m.rootWrapper.listen("mouseenter",i.runOn(this,this.t))),this.i.add(this.m.rootWrapper.listen("mouseleave",i.runOn(this,this.u)))},n.prototype.aa=function(){var t,n;this.f=!1;try{for(var r=e.__values(i.fromEnum(this.i)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.i.clear()},n.prototype.am=function(t){null!=t&&this.n.setStyleProperty("font",t.fontString)},n.prototype.ah=function(t){i.NativeUI.q(this.n,t)},n.prototype.e=function(){return(t=new i.FontInfo).q="Verdana",t.f=13,t;var t},n.prototype.af=function(){},n.$t=i.markType(n,"LabelView"),n}(i.Base),lt=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.m=null,e.d=null,e.k=new i.List$1(i.Delegate_$type,0),e.h=!1,e.g=!1,e.s=null,e.e=!0,e.n=null,e.o=null,e.h=!1,e}return e.__extends(n,t),n.prototype.at=function(){},n.prototype.i=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.aq=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.k)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.k.clear()}this.m=t,this.m.rootWrapper.setStyleProperty("display","inline-block");var a=this.m.createElement("input");a.setAttribute("type",this.c.b8),a.setStyleProperty("position","relative"),a.setStyleProperty("box-sizing","border-box"),a.setStyleProperty("display","inline-block"),a.setStyleProperty("border","none"),a.setStyleProperty("height","2rem"),a.setStyleProperty("line-height","0"),a.setStyleProperty("width","100%"),a.setStyleProperty("min-width","0"),a.setStyleProperty("overflow","visible"),a.setStyleProperty("background","transparent"),a.setStyleProperty("background-position-x","initial"),a.setStyleProperty("background-position-y","initial"),a.setStyleProperty("background-size","initial"),a.setStyleProperty("background-repeat-x","initial"),a.setStyleProperty("background-repeat-y","initial"),a.setStyleProperty("background-attachment","initial"),a.setStyleProperty("background-origin","initial"),a.setStyleProperty("background-color","transparent"),i.NativeUI.q(a,this.c.d4),a.setStyleProperty("outline-style","none"),a.setStyleProperty("box-shadow","none"),a.setStyleProperty("border-top","0.1875rem solid transparent"),a.setStyleProperty("padding-bottom","0.1875rem"),a.setStyleProperty("text-align",this.u(this.c.dy)),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.k.add(a.listen("change",i.runOn(this,this.z))),this.k.add(a.listen("input",i.runOn(this,this.aa))),this.k.add(a.listen("focus",i.runOn(this,this.af))),this.k.add(a.listen("blur",i.runOn(this,this.y))),this.k.add(a.listen("mouseenter",i.runOn(this,this.w))),this.k.add(a.listen("mouseleave",i.runOn(this,this.x))),this.k.add(a.listen("keydown",i.runOn(this,this.ag))),this.k.add(a.listen("keyup",i.runOn(this,this.ai))),this.k.add(a.listen("keypress",i.runOn(this,this.ah))),this.k.add(a.listen("paste",i.runOn(this,this.al))),this.k.add(a.listen("dragenter",i.runOn(this,this.ad))),this.k.add(a.listen("dragleave",i.runOn(this,this.ae))),this.k.add(a.listen("compositionstart",i.runOn(this,this.ac))),this.k.add(a.listen("compositionend",i.runOn(this,this.ab))),this.k.add(a.listen("mousedown",i.runOn(this,this.aj))),this.k.add(a.listen("mouseup",i.runOn(this,this.ak))),this.n=a,this.m.append(this.n),this.an(),this.c.dl()},n.prototype.a1=function(t){t?this.n.setAttribute("readonly",t.toString()):this.n.getNativeElement().removeAttribute("readonly")},n.prototype.az=function(t){t?this.n.setAttribute("disabled","true"):this.n.getNativeElement().removeAttribute("disabled")},n.prototype.a6=function(t){this.n.setStyleProperty("text-align",this.u(t))},n.prototype.a5=function(t){t?this.n.removeClass("ig-input-hide-spinner"):this.n.addClass("ig-input-hide-spinner")},n.prototype.ac=function(t){this.h=!0,this.c.c3()},n.prototype.ab=function(t){this.h=!1;var e=null;null!=t.originalEvent&&(e=t.originalEvent.data),this.c.c2(e)},n.prototype.u=function(t){switch(t){case 0:return"left";case 2:return"right";case 1:return"center"}return"left"},n.prototype.ax=function(){this.n.setAttribute("type",this.c.b8),"date"==this.c.b8?this.n.setStyleProperty("line-height","normal"):this.n.setStyleProperty("line-height","0")},n.prototype.av=function(){this.n.setAttribute("placeholder",this.c.cg)},n.prototype.ba=function(){switch(this.c.z){case 1:this.n.setStyleProperty("height","2rem"),this.n.setStyleProperty("font-size","1rem");break;case 2:this.n.setStyleProperty("height","1.68421rem"),this.n.setStyleProperty("font-size","1rem");break;case 3:this.n.setStyleProperty("height","1.45455rem"),this.n.setStyleProperty("font-size",".95455rem");break;case 4:this.n.setStyleProperty("height","1.388445rem"),this.n.setStyleProperty("font-size","0.91116rem")}},n.prototype.a9=function(){var t=this,e=this.l();(i.isNaN_(e)||0==e)&&(this.g||(this.g=!0,this.m.setTimeout((function(){t.g=!1,t.a9()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.c.o?-.25*t.l():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.m.rootWrapper,r),this.m.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.l=function(){var t=this.m.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.ay=function(t){this.n.setProperty("value",t)},n.prototype.a0=function(t){this.n.setAttribute("name",t)},n.prototype.y=function(t){this.c.cz()},n.prototype.af=function(t){this.c.c7()},n.prototype.aj=function(t){var e=this.bd(t);this.c.dd(e),e.handled&&t.preventDefault()},n.prototype.ak=function(t){var e=this.bd(t);this.c.dg(e),e.handled&&t.preventDefault()},n.prototype.bd=function(t){var e=new i.MouseButtonEventArgs;return e.position={$type:i.Point_$type,x:t.offsetX,y:t.offsetY},e},n.prototype.z=function(t){this.c.c0()},n.prototype.aa=function(t){this.c.c1()},n.prototype.ag=function(t){var e=new i.KeyEventArgs(0,t);this.c.da(e)},n.prototype.ai=function(t){var e=new i.KeyEventArgs(0,t);this.c.dc(e)},n.prototype.ah=function(t){var e=new i.KeyEventArgs(0,t);this.c.db(e)},n.prototype.al=function(t){this.c.dh()},n.prototype.ad=function(t){this.c.c5()},n.prototype.ae=function(t){this.c.c6()},n.prototype.bb=function(t){this.s!=t&&(this.s=t,null!=this.o&&this.o.setAttribute("d",this.s))},n.prototype.t=function(){return this.n.getProperty("value")},n.prototype.v=function(t){},n.prototype.a8=function(){this.i()&&(this.c.as?this.n.setAttribute("tabindex",this.c.be.toString()):this.n.getNativeElement().removeAttribute("tabindex"))},n.prototype.q=function(){var t=this.n.getProperty("selectionStart");return i.typeGetValue(t)},n.prototype.p=function(){var t=this.n.getProperty("selectionEnd");return i.typeGetValue(t)},n.prototype.a4=function(t){this.n.setProperty("selectionStart",t)},n.prototype.a2=function(t){this.n.setProperty("selectionEnd",t)},n.prototype.au=function(){this.i()},n.prototype.w=function(t){this.c.de()},n.prototype.x=function(t){this.c.df()},n.prototype.ao=function(){this.e=!0,this.k.add(this.n.listen("change",i.runOn(this,this.z))),this.k.add(this.n.listen("input",i.runOn(this,this.aa))),this.k.add(this.n.listen("focus",i.runOn(this,this.af))),this.k.add(this.n.listen("blur",i.runOn(this,this.y))),this.k.add(this.n.listen("mouseenter",i.runOn(this,this.w))),this.k.add(this.n.listen("mouseleave",i.runOn(this,this.x))),this.k.add(this.n.listen("keydown",i.runOn(this,this.ag))),this.k.add(this.n.listen("paste",i.runOn(this,this.al))),this.k.add(this.n.listen("dragenter",i.runOn(this,this.ad))),this.k.add(this.n.listen("dragleave",i.runOn(this,this.ae))),this.k.add(this.n.listen("compositionstart",i.runOn(this,this.ac))),this.k.add(this.n.listen("compositionend",i.runOn(this,this.ab))),this.k.add(this.n.listen("mousedown",i.runOn(this,this.aj))),this.k.add(this.n.listen("mouseup",i.runOn(this,this.ak)))},n.prototype.ar=function(){var t,n;this.e=!1;try{for(var r=e.__values(i.fromEnum(this.k)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.k.clear()},n.prototype.bc=function(t){null!=t&&this.n.setStyleProperty("font",t.fontString)},n.prototype.a7=function(){},n.prototype.ap=function(){null!=this.n&&this.n.getNativeElement().blur()},n.prototype.as=function(t){null!=this.n&&this.n.focus(t)},n.prototype.aw=function(){null!=this.n&&this.n.getNativeElement().select()},n.prototype.a3=function(t,e){null!=this.n&&this.n.getNativeElement().setSelectionRange(t,e)},n.prototype.am=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.m)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.m.rootWrapper,0,null,t)},n.prototype.an=function(){if(!n.f){var t=this.m.createElement("style");t.setRawText("\r\n.ig-input-hide-spinner::-webkit-outer-spin-button,\r\n.ig-input-hide-spinner::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\r\n}"),document.head.appendChild(t.getNativeElement()),n.f=!0}},n.prototype.a=function(){var t=this.n.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.$t=i.markType(n,"InputView"),n.f=!1,n}(i.Base),ut=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.a=null,e.propertyChanged=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.g("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.g("InputGroup",e,t)},enumerable:!1,configurable:!0}),n.prototype.g=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.h(t,e,n)},n.prototype.h=function(t,e,i){},n.$t=i.markType(n,"XInputGroupItem",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),ct=function(t){function n(){var e=t.call(this)||this;e._view=null,e.j=0,e.v="ig-suffix-"+n.s++,e.u=null,e.n=!1,e.m=!1,e.o=!1;var i=new st;return i.a=e,e.view=i,e.view.p(),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}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.g("ShiftType",i.enumGetBox(G,e),i.enumGetBox(G,t))},enumerable:!1,configurable:!0}),n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"InputGroup":this.ai();break;case"ShiftType":this.al()}},n.prototype.al=function(){this.view.r()},n.prototype.ai=function(){this.view.r()},n.prototype.ap=function(){},n.prototype.ao=function(){},n.prototype.aj=function(){this.q=!0},n.prototype.ak=function(){this.q=!1},Object.defineProperty(n.prototype,"z",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("Id",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,e!=this.u&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.am=function(){},n.prototype.onDetachedFromUI=function(){this.view.o()},n.prototype.onAttachedToUI=function(){this.view.m()},n.prototype.r=function(){return this.view.e()},n.prototype.t=function(){return this.i()},n.prototype.y=function(){return this.i().e()},n.prototype.i=function(){var t=new X;return t.a=this.k,t.c=this.q,t.b=this.disabled,t.d=this.e,t},n.prototype.appendContentChild=function(t){this.view.l(t)},n.prototype.provideContainer=function(t){this.view.n(t)},n.$t=i.markType(n,"XSuffix",ut.$),n.s=0,n}(ut),pt=function(t){function n(){var e=t.call(this)||this;e._view=null,e.j=0,e.v="ig-prefix-"+n.s++,e.u=null,e.n=!1,e.m=!1,e.o=!1;var i=new at;return i.a=e,e.view=i,e.view.p(),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}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.g("ShiftType",i.enumGetBox(z,e),i.enumGetBox(z,t))},enumerable:!1,configurable:!0}),n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"InputGroup":this.ai();break;case"ShiftType":this.al()}},n.prototype.al=function(){this.view.r()},n.prototype.ai=function(){this.view.r()},n.prototype.ap=function(){},n.prototype.ao=function(){},n.prototype.aj=function(){this.q=!0},n.prototype.ak=function(){this.q=!1},Object.defineProperty(n.prototype,"z",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("Id",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,e!=this.u&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.am=function(){},n.prototype.onDetachedFromUI=function(){this.view.o()},n.prototype.onAttachedToUI=function(){this.view.m()},n.prototype.r=function(){return this.view.e()},n.prototype.t=function(){return this.i()},n.prototype.y=function(){return this.i().e()},n.prototype.i=function(){var t=new Y;return t.a=this.k,t.c=this.q,t.b=this.disabled,t.d=this.e,t},n.prototype.appendContentChild=function(t){this.view.l(t)},n.prototype.provideContainer=function(t){this.view.n(t)},n.$t=i.markType(n,"XPrefix",ut.$),n.s=0,n}(ut),dt=function(t){function n(){var e=t.call(this)||this;e.c=0,e.r=1,e.q=1,e.aj=!1,e.n=0,e._view=null,e.w=null,e.u=null,e.lostFocus=null,e.gotFocus=null,e.dw=n.m.i(n.o,i.enumGetBox(J,0),"BorderWidth"),e.dx=n.m.i(n.o,i.enumGetBox(J,0),"FocusBorderWidth"),e.kv=n.m.z(n.o,i.enumGetBox(J,0),"CornerRadius"),e.ol=n.m.ak(n.o,i.enumGetBox(J,0),"ContentPadding"),e.m9=n.m.af(n.o,i.enumGetBox(J,0),"BorderColor"),e.na=n.m.af(n.o,i.enumGetBox(J,0),"FocusBorderColor"),e.nb=n.m.af(n.o,i.enumGetBox(J,0),"FocusLabelColor"),e.d5=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineWidth"),e.d4=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineRippleWidth"),e.d1=n.m.i(n.o,i.enumGetBox(J,0),"HoverUnderlineWidth"),e.ne=n.m.af(n.o,i.enumGetBox(J,0),"UnderlineColor"),e.nf=n.m.af(n.o,i.enumGetBox(J,0),"UnderlineRippleColor"),e.nd=n.m.af(n.o,i.enumGetBox(J,0),"HoverUnderlineColor"),e.nc=n.m.af(n.o,i.enumGetBox(J,0),"FocusUnderlineColor"),e.d2=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineOpacity"),e.d0=n.m.i(n.o,i.enumGetBox(J,0),"HoverUnderlineOpacity"),e.dy=n.m.i(n.o,i.enumGetBox(J,0),"FocusUnderlineOpacity"),e.dz=n.m.i(n.o,i.enumGetBox(J,0),"FocusUnderlineRippleOpacity"),e.d3=n.m.i(n.o,i.enumGetBox(J,0),"UnderlineRippleOpacity"),e.m8=n.m.af(n.o,i.enumGetBox(J,0),"BackgroundColor"),e.dl=n.m.i(n.o,i.enumGetBox(J,1),"BorderWidth"),e.dm=n.m.i(n.o,i.enumGetBox(J,1),"FocusBorderWidth"),e.ku=n.m.z(n.o,i.enumGetBox(J,1),"CornerRadius"),e.ok=n.m.ak(n.o,i.enumGetBox(J,1),"ContentPadding"),e.m1=n.m.af(n.o,i.enumGetBox(J,1),"BorderColor"),e.m2=n.m.af(n.o,i.enumGetBox(J,1),"FocusBorderColor"),e.m3=n.m.af(n.o,i.enumGetBox(J,1),"FocusLabelColor"),e.dv=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineWidth"),e.du=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineRippleWidth"),e.dr=n.m.i(n.o,i.enumGetBox(J,1),"HoverUnderlineWidth"),e.m6=n.m.af(n.o,i.enumGetBox(J,1),"UnderlineColor"),e.m7=n.m.af(n.o,i.enumGetBox(J,1),"UnderlineRippleColor"),e.m5=n.m.af(n.o,i.enumGetBox(J,1),"HoverUnderlineColor"),e.m4=n.m.af(n.o,i.enumGetBox(J,1),"FocusUnderlineColor"),e.ds=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineOpacity"),e.dq=n.m.i(n.o,i.enumGetBox(J,1),"HoverUnderlineOpacity"),e.dn=n.m.i(n.o,i.enumGetBox(J,1),"FocusUnderlineOpacity"),e.dp=n.m.i(n.o,i.enumGetBox(J,1),"FocusUnderlineRippleOpacity"),e.dt=n.m.i(n.o,i.enumGetBox(J,1),"UnderlineRippleOpacity"),e.m0=n.m.af(n.o,i.enumGetBox(J,1),"BackgroundColor"),e.db=n.m.i(n.o,i.enumGetBox(J,2),"BorderWidth"),e.dc=n.m.i(n.o,i.enumGetBox(J,2),"FocusBorderWidth"),e.kt=n.m.z(n.o,i.enumGetBox(J,2),"CornerRadius"),e.oj=n.m.ak(n.o,i.enumGetBox(J,2),"ContentPadding"),e.mt=n.m.af(n.o,i.enumGetBox(J,2),"BorderColor"),e.mu=n.m.af(n.o,i.enumGetBox(J,2),"FocusBorderColor"),e.mv=n.m.af(n.o,i.enumGetBox(J,2),"FocusLabelColor"),e.dk=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineWidth"),e.dj=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineRippleWidth"),e.dg=n.m.i(n.o,i.enumGetBox(J,2),"HoverUnderlineWidth"),e.my=n.m.af(n.o,i.enumGetBox(J,2),"UnderlineColor"),e.mz=n.m.af(n.o,i.enumGetBox(J,2),"UnderlineRippleColor"),e.mx=n.m.af(n.o,i.enumGetBox(J,2),"HoverUnderlineColor"),e.mw=n.m.af(n.o,i.enumGetBox(J,2),"FocusUnderlineColor"),e.dh=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineOpacity"),e.df=n.m.i(n.o,i.enumGetBox(J,2),"HoverUnderlineOpacity"),e.dd=n.m.i(n.o,i.enumGetBox(J,2),"FocusUnderlineOpacity"),e.de=n.m.i(n.o,i.enumGetBox(J,2),"FocusUnderlineRippleOpacity"),e.di=n.m.i(n.o,i.enumGetBox(J,2),"UnderlineRippleOpacity"),e.ms=n.m.af(n.o,i.enumGetBox(J,2),"BackgroundColor"),e.d6=n.m.i(n.o,i.enumGetBox(J,3),"BorderWidth"),e.d7=n.m.i(n.o,i.enumGetBox(J,3),"FocusBorderWidth"),e.kw=n.m.z(n.o,i.enumGetBox(J,3),"CornerRadius"),e.om=n.m.ak(n.o,i.enumGetBox(J,3),"ContentPadding"),e.nh=n.m.af(n.o,i.enumGetBox(J,3),"BorderColor"),e.ni=n.m.af(n.o,i.enumGetBox(J,3),"FocusBorderColor"),e.nj=n.m.af(n.o,i.enumGetBox(J,3),"FocusLabelColor"),e.ef=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineWidth"),e.ee=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineRippleWidth"),e.eb=n.m.i(n.o,i.enumGetBox(J,3),"HoverUnderlineWidth"),e.nm=n.m.af(n.o,i.enumGetBox(J,3),"UnderlineColor"),e.nn=n.m.af(n.o,i.enumGetBox(J,3),"UnderlineRippleColor"),e.nl=n.m.af(n.o,i.enumGetBox(J,3),"HoverUnderlineColor"),e.nk=n.m.af(n.o,i.enumGetBox(J,3),"FocusUnderlineColor"),e.ec=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineOpacity"),e.ea=n.m.i(n.o,i.enumGetBox(J,3),"HoverUnderlineOpacity"),e.d8=n.m.i(n.o,i.enumGetBox(J,3),"FocusUnderlineOpacity"),e.d9=n.m.i(n.o,i.enumGetBox(J,3),"FocusUnderlineRippleOpacity"),e.ed=n.m.i(n.o,i.enumGetBox(J,3),"UnderlineRippleOpacity"),e.ng=n.m.af(n.o,i.enumGetBox(J,3),"BackgroundColor"),e.k0=c.ah(n.o,n.m,i.enumGetBox(J,0),"BorderColor"),e.k1=c.ah(n.o,n.m,i.enumGetBox(J,0),"FocusBorderColor"),e.as=c.k(n.o,n.m,i.enumGetBox(J,0),"BorderWidth"),e.at=c.k(n.o,n.m,i.enumGetBox(J,0),"FocusBorderWidth"),e.ki=c.ab(n.o,n.m,i.enumGetBox(J,0),"CornerRadius"),e.n8=c.am(n.o,n.m,i.enumGetBox(J,0),"ContentPadding"),e.a1=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineWidth"),e.a0=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineRippleWidth"),e.ax=c.k(n.o,n.m,i.enumGetBox(J,0),"HoverUnderlineWidth"),e.k4=c.ah(n.o,n.m,i.enumGetBox(J,0),"UnderlineColor"),e.k5=c.ah(n.o,n.m,i.enumGetBox(J,0),"UnderlineRippleColor"),e.k3=c.ah(n.o,n.m,i.enumGetBox(J,0),"HoverUnderlineColor"),e.k2=c.ah(n.o,n.m,i.enumGetBox(J,0),"FocusUnderlineColor"),e.ay=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineOpacity"),e.aw=c.k(n.o,n.m,i.enumGetBox(J,0),"HoverUnderlineOpacity"),e.au=c.k(n.o,n.m,i.enumGetBox(J,0),"FocusUnderlineOpacity"),e.av=c.k(n.o,n.m,i.enumGetBox(J,0),"FocusUnderlineRippleOpacity"),e.az=c.k(n.o,n.m,i.enumGetBox(J,0),"UnderlineRippleOpacity"),e.kz=c.ah(n.o,n.m,i.enumGetBox(J,0),"BackgroundColor"),e.bc=NaN,e.bn=NaN,e.k7=null,e.kl=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.ob=new i.Thickness(1,NaN,NaN,NaN,NaN),e.cf=NaN,e.ce=NaN,e.br=NaN,e.l3=null,e.l4=null,e.lo=null,e.ln=null,e.cc=NaN,e.bq=NaN,e.bo=NaN,e.bp=NaN,e.cd=NaN,e.k6=null,e.bs=NaN,e.bt=NaN,e.lr=null,e.lq=null,e.km=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.oc=new i.Thickness(1,NaN,NaN,NaN,NaN),e.b1=NaN,e.b0=NaN,e.bx=NaN,e.lu=null,e.lv=null,e.lt=null,e.ls=null,e.by=NaN,e.bw=NaN,e.bu=NaN,e.bv=NaN,e.bz=NaN,e.lp=null,e.bd=NaN,e.be=NaN,e.lh=null,e.lg=null,e.kk=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.oa=new i.Thickness(1,NaN,NaN,NaN,NaN),e.bm=NaN,e.bl=NaN,e.bi=NaN,e.lk=null,e.ll=null,e.lj=null,e.li=null,e.bj=NaN,e.bh=NaN,e.bf=NaN,e.bg=NaN,e.bk=NaN,e.lf=null,e.a2=NaN,e.a3=NaN,e.la=null,e.k9=null,e.kj=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.n9=new i.Thickness(1,NaN,NaN,NaN,NaN),e.bb=NaN,e.ba=NaN,e.a7=NaN,e.ld=null,e.le=null,e.lc=null,e.lb=null,e.a8=NaN,e.a6=NaN,e.a4=NaN,e.a5=NaN,e.a9=NaN,e.k8=null,e.b2=NaN,e.b3=NaN,e.ly=null,e.lx=null,e.kn=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.od=new i.Thickness(1,NaN,NaN,NaN,NaN),e.cb=NaN,e.ca=NaN,e.b7=NaN,e.l1=null,e.l2=null,e.l0=null,e.lz=null,e.b8=NaN,e.b6=NaN,e.b4=NaN,e.b5=NaN,e.b9=NaN,e.lw=null,e.ad=!1,e.z=!1,e.af=!1,e.ab=!1,e.ae=!1,e.aa=!1,e.x=!1,e.lm=null,e.ff="ig-inputgroup-"+n.fc++,e.ac=!1,e.propertyChanged=null,e.f=new ft,e.v=null,e.ah=!1,e.y=!1,e.ag=!1,e.fd=i.toNullable(i.Number_$type,null);var r=new ot;r.d=e,e.view=r,e.view.ak();var o=e.f;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.jl));var s=e.f;return s.collectionResetting=i.delegateCombine(s.collectionResetting,i.runOn(e,e.jm)),e}var r;return e.__extends(n,t),n.prototype.jm=function(t,e){this.kb(),this.view.ad()},n.prototype.appendContentChild=function(t){this.view.ab(t)},n.prototype.j7=function(t){this.view.an(t)},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.j2("DisplayType",i.enumGetBox(J,e),i.enumGetBox(J,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.j2("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,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.j2("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),n.prototype.js=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(bt.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.jt=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(pt.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.jr=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(yt.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.ju=function(t){for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(ct.$,this.inputs._inner[e])&&t(this.inputs._inner[e])},n.prototype.jl=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),l=h.next();!l.done;l=h.next()){var u=l.value;null!=u&&(u.b=null),this.view.ae(u)}}catch(t){r={error:t}}finally{try{l&&!l.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 d=p.value;null!=d&&(d.b=this),this.view.ac(d)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}this.j9(),this.aj=!0;try{this.kh()}finally{this.aj=!1}this.ke(),this.kd(),this.kf(),this.kg(),this.kb()},Object.defineProperty(n.prototype,"p",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.j2("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.j2=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.j5(t,e,n)},n.prototype.j5=function(t,e,n){var r=this;switch(t){case"BaseTheme":this.ka(this.p),this.kc(),this.js((function(t){return t.p=0==r.p?2:r.p}));break;case"ActualBorderColor":case"ActualBackgroundColor":case"ActualBorderWidth":case"ActualFocusBorderColor":case"ActualFocusBorderWidth":case"ActualCornerRadius":case"ActualContentPadding":case"ActualUnderlineOpacity":case"ActualUnderlineRippleOpacity":case"ActualUnderlineRippleWidth":case"ActualUnderlineRippleColor":case"ActualUnderlineColor":case"ActualHoverUnderlineColor":case"ActualUnderlineWidth":case"ActualHoverUnderlineWidth":case"ActualHoverUnderlineOpacity":case"ActualFocusUnderlineColor":case"ActualFocusUnderlineOpacity":case"ActualFocusUnderlineRippleOpacity":case"IsHovered":this.ag=!0,this.ah=!0,this.y=!0,this.kb();break;case"BorderColor":case"BackgroundColor":case"BorderWidth":case"FocusBorderColor":case"FocusBorderWidth":case"CornerRadius":case"ContentPadding":case"UnderlineOpacity":case"UnderlineRippleOpacity":case"UnderlineRippleWidth":case"UnderlineRippleColor":case"UnderlineColor":case"HoverUnderlineColor":case"UnderlineWidth":case"HoverUnderlineWidth":case"HoverUnderlineOpacity":case"FocusUnderlineColor":case"FocusUnderlineOpacity":case"FocusUnderlineRippleOpacity":case"LineTypeBorderColor":case"LineTypeBackgroundColor":case"LineTypeBorderWidth":case"LineTypeFocusBorderColor":case"LineTypeFocusBorderWidth":case"LineTypeCornerRadius":case"LineTypeContentPadding":case"LineTypeUnderlineOpacity":case"LineTypeUnderlineRippleOpacity":case"LineTypeUnderlineRippleWidth":case"LineTypeUnderlineRippleColor":case"LineTypeUnderlineColor":case"LineTypeHoverUnderlineColor":case"LineTypeUnderlineWidth":case"LineTypeHoverUnderlineWidth":case"LineTypeHoverUnderlineOpacity":case"LineTypeFocusUnderlineColor":case"LineTypeFocusUnderlineOpacity":case"LineTypeFocusUnderlineRippleOpacity":case"BoxTypeBorderColor":case"BoxTypeBackgroundColor":case"BoxTypeBorderWidth":case"BoxTypeFocusBorderColor":case"BoxTypeFocusBorderWidth":case"BoxTypeCornerRadius":case"BoxTypeContentPadding":case"BoxTypeUnderlineOpacity":case"BoxTypeUnderlineRippleOpacity":case"BoxTypeUnderlineRippleWidth":case"BoxTypeUnderlineRippleColor":case"BoxTypeUnderlineColor":case"BoxTypeHoverUnderlineColor":case"BoxTypeUnderlineWidth":case"BoxTypeHoverUnderlineWidth":case"BoxTypeHoverUnderlineOpacity":case"BoxTypeFocusUnderlineColor":case"BoxTypeFocusUnderlineOpacity":case"BoxTypeFocusUnderlineRippleOpacity":case"BorderTypeBorderColor":case"BorderTypeBackgroundColor":case"BorderTypeBorderWidth":case"BorderTypeFocusBorderColor":case"BorderTypeFocusBorderWidth":case"BorderTypeCornerRadius":case"BorderTypeContentPadding":case"BorderTypeUnderlineOpacity":case"BorderTypeUnderlineRippleOpacity":case"BorderTypeUnderlineRippleWidth":case"BorderTypeUnderlineRippleColor":case"BorderTypeUnderlineColor":case"BorderTypeHoverUnderlineColor":case"BorderTypeUnderlineWidth":case"BorderTypeHoverUnderlineWidth":case"BorderTypeHoverUnderlineOpacity":case"BorderTypeFocusUnderlineColor":case"BorderTypeFocusUnderlineOpacity":case"BorderTypeFocusUnderlineRippleOpacity":case"DisplayType":this.kc();break;case"ActualDensity":this.view.ap(),this.kc();break;case"Density":this.s=0==this.t?1:this.t;break;case"IsFocused":this.j0(),this.kb();break;case"IsExpanded":this.z=!0,this.ai=this.an;break;case"ActualIsExpanded":this.jv();break;case"IsDisabled":i.NativeUI.u(this.view.v,!this.disabled)}},n.kr=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.e)?e.e:t.e,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.b)?e.b:t.b)},n.oh=function(t,e){return new i.Thickness(1,i.isNaN_(t.left)?e.left:t.left,i.isNaN_(t.top)?e.top:t.top,i.isNaN_(t.right)?e.right:t.right,i.isNaN_(t.bottom)?e.bottom:t.bottom)},n.prototype.ke=function(){var t=this;this.js((function(e){switch(e.t=t.s,e.p=0==t.p?2:t.p,t.d){case 0:e.l=0;break;case 1:e.l=1;break;case 2:case 3:e.l=2}e.co(t.ai,!1)}))},n.prototype.kf=function(){var t=this;this.jt((function(e){switch(t.d){case 0:e.k=0;break;case 1:e.k=1;break;case 2:case 3:e.k=2}}))},n.prototype.kd=function(){var t=this;this.jr((function(e){switch(e.aa=t.s,t.d){case 0:e.o=0;break;case 1:e.o=1;break;case 2:case 3:e.o=2}e.dq(t.ar,!1)}))},n.prototype.kg=function(){var t=this;this.ju((function(e){switch(t.d){case 0:e.k=0;break;case 1:e.k=1;break;case 2:case 3:e.k=2}}))},n.prototype.kc=function(){switch(this.ke(),this.kd(),this.kf(),this.kg(),this.d){case 0:this.l6=null!=this.md?this.md:null!=this.ns?this.ns:this.m9,this.l5=null!=this.mc?this.mc:null!=this.nr?this.nr:this.m8,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.el)?this.dw:this.el:this.c0,this.l7=null!=this.no?this.no:null!=this.nt?this.nt:this.na,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.em)?this.dx:this.em:this.eg,this.ko=n.kr(this.ks,n.kr(this.kx,this.kv)),this.oe=n.oh(this.oi,n.oh(this.on,this.ol)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.er)?this.d2:this.er:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.es)?this.d3:this.es:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.et)?this.d4:this.et:this.e7,this.mb=null!=this.n7?this.n7:null!=this.nx?this.nx:this.nf,this.ma=null!=this.n6?this.n6:null!=this.nw?this.nw:this.ne,this.l9=null!=this.nq?this.nq:null!=this.nv?this.nv:this.nd,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.eu)?this.d5:this.eu:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.eq)?this.d1:this.eq:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.ep)?this.d0:this.ep:this.ej,this.l8=null!=this.np?this.np:null!=this.nu?this.nu:this.nc,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.en)?this.dy:this.en:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.eo)?this.dz:this.eo:this.ei;break;case 1:this.l6=null!=this.md?this.md:null!=this.mm?this.mm:this.m1,this.l5=null!=this.mc?this.mc:null!=this.ml?this.ml:this.m0,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.c1)?this.dl:this.c1:this.c0,this.l7=null!=this.no?this.no:null!=this.mn?this.mn:this.m2,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.c2)?this.dm:this.c2:this.eg,this.ko=n.kr(this.ks,n.kr(this.kq,this.ku)),this.oe=n.oh(this.oi,n.oh(this.og,this.ok)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.c7)?this.ds:this.c7:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.c8)?this.dt:this.c8:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.c9)?this.du:this.c9:this.e7,this.mb=null!=this.n7?this.n7:null!=this.mr?this.mr:this.m7,this.ma=null!=this.n6?this.n6:null!=this.mq?this.mq:this.m6,this.l9=null!=this.nq?this.nq:null!=this.mp?this.mp:this.m5,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.da)?this.dv:this.da:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.c6)?this.dr:this.c6:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.c5)?this.dq:this.c5:this.ej,this.l8=null!=this.np?this.np:null!=this.mo?this.mo:this.m4,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.c3)?this.dn:this.c3:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.c4)?this.dp:this.c4:this.ei;break;case 2:this.l6=null!=this.md?this.md:null!=this.mf?this.mf:this.mt,this.l5=null!=this.mc?this.mc:null!=this.me?this.me:this.ms,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.cq)?this.db:this.cq:this.c0,this.l7=null!=this.no?this.no:null!=this.mg?this.mg:this.mu,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.cr)?this.dc:this.cr:this.eg,this.ko=n.kr(this.ks,n.kr(this.kp,this.kt)),this.oe=n.oh(this.oi,n.oh(this.of,this.oj)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.cw)?this.dh:this.cw:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.cx)?this.di:this.cx:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.cy)?this.dj:this.cy:this.e7,this.mb=null!=this.n7?this.n7:null!=this.mk?this.mk:this.mz,this.ma=null!=this.n6?this.n6:null!=this.mj?this.mj:this.my,this.l9=null!=this.nq?this.nq:null!=this.mi?this.mi:this.mx,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.cz)?this.dk:this.cz:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.cv)?this.dg:this.cv:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.cu)?this.df:this.cu:this.ej,this.l8=null!=this.np?this.np:null!=this.mh?this.mh:this.mw,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.cs)?this.dd:this.cs:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.ct)?this.de:this.ct:this.ei;break;case 3:this.l6=null!=this.md?this.md:null!=this.nz?this.nz:this.nh,this.l5=null!=this.mc?this.mc:null!=this.ny?this.ny:this.ng,this.cg=i.isNaN_(this.c0)?i.isNaN_(this.ev)?this.d6:this.ev:this.c0,this.l7=null!=this.no?this.no:null!=this.n0?this.n0:this.ni,this.ch=i.isNaN_(this.eg)?i.isNaN_(this.ew)?this.d7:this.ew:this.eg,this.ko=n.kr(this.ks,n.kr(this.ky,this.kw)),this.oe=n.oh(this.oi,n.oh(this.oo,this.om)),this.cm=i.isNaN_(this.e5)?i.isNaN_(this.e1)?this.ec:this.e1:this.e5,this.cn=i.isNaN_(this.e6)?i.isNaN_(this.e2)?this.ed:this.e2:this.e6,this.co=i.isNaN_(this.e7)?i.isNaN_(this.e3)?this.ee:this.e3:this.e7,this.mb=null!=this.n7?this.n7:null!=this.n4?this.n4:this.nn,this.ma=null!=this.n6?this.n6:null!=this.n3?this.n3:this.nm,this.l9=null!=this.nq?this.nq:null!=this.n2?this.n2:this.nl,this.cp=i.isNaN_(this.e8)?i.isNaN_(this.e4)?this.ef:this.e4:this.e8,this.cl=i.isNaN_(this.ek)?i.isNaN_(this.e0)?this.eb:this.e0:this.ek,this.ck=i.isNaN_(this.ej)?i.isNaN_(this.ez)?this.ea:this.ez:this.ej,this.l8=null!=this.np?this.np:null!=this.n1?this.n1:this.nk,this.ci=i.isNaN_(this.eh)?i.isNaN_(this.ex)?this.d8:this.ex:this.eh,this.cj=i.isNaN_(this.ei)?i.isNaN_(this.ey)?this.d9:this.ey:this.ei}},n.prototype.kb=function(){this.js((function(t){})),this.jr((function(t){}));var t=this.view.v,e=this.view.u,n=this.view.x,r=this.view.y,o=null!=this.v&&1==this.v.playState,s=null!=this.w&&1==this.w.playState,a=null!=this.u&&1==this.u.playState;i.NativeUI.o(t,this.ko),i.NativeUI.o(e,this.ko),i.NativeUI.m(t,this.l5),i.NativeUI.z(t,this.oe),this.ao?(a||(i.NativeUI.n(e,this.l7),i.NativeUI.p(e,new i.Thickness(0,this.ch))),s||i.NativeUI.m(n,this.l8)):(s||(this.ap?(i.NativeUI.m(n,this.l9),i.NativeUI.y(n,this.ck),i.NativeUI.t(n,this.cl)):(i.NativeUI.m(n,this.ma),i.NativeUI.y(n,this.cm),i.NativeUI.t(n,this.cp))),a||(i.NativeUI.n(e,this.l6),i.NativeUI.p(e,new i.Thickness(0,this.cg))),s||i.NativeUI.m(t,this.l5)),o||(i.NativeUI.m(r,this.mb),i.NativeUI.t(r,this.co),i.NativeUI.y(r,this.cn))},Object.defineProperty(n.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.onChildrenMutated=function(){this.jr((function(t){return t.view.a9()})),this.js((function(t){return t.view.aj()})),this.jt((function(t){return t.view.r()})),this.ju((function(t){return t.view.r()}))},n.prototype.jp=function(){this.view.af();var t;null==this.w&&(this.w=i.KeyFrameAnimationFactory.f.c(this.view.c(this.a).m(new i.AnimationKeyFrameProperty(2,this.l6)).m(new i.AnimationKeyFrameProperty(2,this.l7)))),null==this.u&&(this.u=i.KeyFrameAnimationFactory.f.c(this.view.a(this.a).m(new i.AnimationKeyFrameProperty(3,this.l6),new i.AnimationKeyFrameProperty(4,2==this.d||3==this.d?new i.Thickness(0,this.cg):new i.Thickness(0,0))).m(new i.AnimationKeyFrameProperty(3,this.l7),new i.AnimationKeyFrameProperty(4,2==this.d||3==this.d?new i.Thickness(0,this.ch):new i.Thickness(0,0))))),null==this.v&&(this.v=i.KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new i.AnimationKeyFrameProperty(2,this.l7),new i.AnimationKeyFrameProperty(14,(t=new i.ScaleTransform,t.l=.5,t.m=1,t)),new i.AnimationKeyFrameProperty(1,0)).m(new i.AnimationKeyFrameProperty(2,this.l7),new i.AnimationKeyFrameProperty(14,function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),new i.AnimationKeyFrameProperty(1,1))))},Object.defineProperty(n.prototype,"al",{get:function(){var t=!1;return this.jr((function(e){e.at&&(t=!0)})),t},enumerable:!1,configurable:!0}),n.prototype.j1=function(){this.ai=this.z?this.an:!!this.al,this.ao=!1,null!=this.lostFocus&&this.lostFocus(this,i.EventArgs.empty)},n.prototype.ka=function(t){this.dw=n.m.i(t,i.enumGetBox(J,0),"BorderWidth"),this.dx=n.m.i(t,i.enumGetBox(J,0),"FocusBorderWidth"),this.kv=n.m.z(t,i.enumGetBox(J,0),"CornerRadius"),this.ol=n.m.ak(t,i.enumGetBox(J,0),"ContentPadding"),this.m9=n.m.af(t,i.enumGetBox(J,0),"BorderColor"),this.na=n.m.af(t,i.enumGetBox(J,0),"FocusBorderColor"),this.nb=n.m.af(t,i.enumGetBox(J,0),"FocusLabelColor"),this.d5=n.m.i(t,i.enumGetBox(J,0),"UnderlineWidth"),this.d4=n.m.i(t,i.enumGetBox(J,0),"UnderlineRippleWidth"),this.d1=n.m.i(t,i.enumGetBox(J,0),"HoverUnderlineWidth"),this.ne=n.m.af(t,i.enumGetBox(J,0),"UnderlineColor"),this.nf=n.m.af(t,i.enumGetBox(J,0),"UnderlineRippleColor"),this.nd=n.m.af(t,i.enumGetBox(J,0),"HoverUnderlineColor"),this.nc=n.m.af(t,i.enumGetBox(J,0),"FocusUnderlineColor"),this.d2=n.m.i(t,i.enumGetBox(J,0),"UnderlineOpacity"),this.d0=n.m.i(t,i.enumGetBox(J,0),"HoverUnderlineOpacity"),this.dy=n.m.i(t,i.enumGetBox(J,0),"FocusUnderlineOpacity"),this.dz=n.m.i(t,i.enumGetBox(J,0),"FocusUnderlineRippleOpacity"),this.d3=n.m.i(t,i.enumGetBox(J,0),"UnderlineRippleOpacity"),this.m8=n.m.af(t,i.enumGetBox(J,0),"BackgroundColor"),this.dl=n.m.i(t,i.enumGetBox(J,1),"BorderWidth"),this.dm=n.m.i(t,i.enumGetBox(J,1),"FocusBorderWidth"),this.ku=n.m.z(t,i.enumGetBox(J,1),"CornerRadius"),this.ok=n.m.ak(t,i.enumGetBox(J,1),"ContentPadding"),this.m1=n.m.af(t,i.enumGetBox(J,1),"BorderColor"),this.m2=n.m.af(t,i.enumGetBox(J,1),"FocusBorderColor"),this.m3=n.m.af(t,i.enumGetBox(J,1),"FocusLabelColor"),this.dv=n.m.i(t,i.enumGetBox(J,1),"UnderlineWidth"),this.du=n.m.i(t,i.enumGetBox(J,1),"UnderlineRippleWidth"),this.dr=n.m.i(t,i.enumGetBox(J,1),"HoverUnderlineWidth"),this.m6=n.m.af(t,i.enumGetBox(J,1),"UnderlineColor"),this.m7=n.m.af(t,i.enumGetBox(J,1),"UnderlineRippleColor"),this.m5=n.m.af(t,i.enumGetBox(J,1),"HoverUnderlineColor"),this.m4=n.m.af(t,i.enumGetBox(J,1),"FocusUnderlineColor"),this.ds=n.m.i(t,i.enumGetBox(J,1),"UnderlineOpacity"),this.dq=n.m.i(t,i.enumGetBox(J,1),"HoverUnderlineOpacity"),this.dn=n.m.i(t,i.enumGetBox(J,1),"FocusUnderlineOpacity"),this.dp=n.m.i(t,i.enumGetBox(J,1),"FocusUnderlineRippleOpacity"),this.dt=n.m.i(t,i.enumGetBox(J,1),"UnderlineRippleOpacity"),this.m0=n.m.af(t,i.enumGetBox(J,1),"BackgroundColor"),this.db=n.m.i(t,i.enumGetBox(J,2),"BorderWidth"),this.dc=n.m.i(t,i.enumGetBox(J,2),"FocusBorderWidth"),this.kt=n.m.z(t,i.enumGetBox(J,2),"CornerRadius"),this.oj=n.m.ak(t,i.enumGetBox(J,2),"ContentPadding"),this.mt=n.m.af(t,i.enumGetBox(J,2),"BorderColor"),this.mu=n.m.af(t,i.enumGetBox(J,2),"FocusBorderColor"),this.mv=n.m.af(t,i.enumGetBox(J,2),"FocusLabelColor"),this.dk=n.m.i(t,i.enumGetBox(J,2),"UnderlineWidth"),this.dj=n.m.i(t,i.enumGetBox(J,2),"UnderlineRippleWidth"),this.dg=n.m.i(t,i.enumGetBox(J,2),"HoverUnderlineWidth"),this.my=n.m.af(t,i.enumGetBox(J,2),"UnderlineColor"),this.mz=n.m.af(t,i.enumGetBox(J,2),"UnderlineRippleColor"),this.mx=n.m.af(t,i.enumGetBox(J,2),"HoverUnderlineColor"),this.mw=n.m.af(t,i.enumGetBox(J,2),"FocusUnderlineColor"),this.dh=n.m.i(t,i.enumGetBox(J,2),"UnderlineOpacity"),this.df=n.m.i(t,i.enumGetBox(J,2),"HoverUnderlineOpacity"),this.dd=n.m.i(t,i.enumGetBox(J,2),"FocusUnderlineOpacity"),this.de=n.m.i(t,i.enumGetBox(J,2),"FocusUnderlineRippleOpacity"),this.di=n.m.i(t,i.enumGetBox(J,2),"UnderlineRippleOpacity"),this.ms=n.m.af(t,i.enumGetBox(J,2),"BackgroundColor"),this.d6=n.m.i(t,i.enumGetBox(J,3),"BorderWidth"),this.d7=n.m.i(t,i.enumGetBox(J,3),"FocusBorderWidth"),this.kw=n.m.z(t,i.enumGetBox(J,3),"CornerRadius"),this.om=n.m.ak(t,i.enumGetBox(J,3),"ContentPadding"),this.nh=n.m.af(t,i.enumGetBox(J,3),"BorderColor"),this.ni=n.m.af(t,i.enumGetBox(J,3),"FocusBorderColor"),this.nj=n.m.af(t,i.enumGetBox(J,3),"FocusLabelColor"),this.ef=n.m.i(t,i.enumGetBox(J,3),"UnderlineWidth"),this.ee=n.m.i(t,i.enumGetBox(J,3),"UnderlineRippleWidth"),this.eb=n.m.i(t,i.enumGetBox(J,3),"HoverUnderlineWidth"),this.nm=n.m.af(t,i.enumGetBox(J,3),"UnderlineColor"),this.nn=n.m.af(t,i.enumGetBox(J,3),"UnderlineRippleColor"),this.nl=n.m.af(t,i.enumGetBox(J,3),"HoverUnderlineColor"),this.nk=n.m.af(t,i.enumGetBox(J,3),"FocusUnderlineColor"),this.ec=n.m.i(t,i.enumGetBox(J,3),"UnderlineOpacity"),this.ea=n.m.i(t,i.enumGetBox(J,3),"HoverUnderlineOpacity"),this.d8=n.m.i(t,i.enumGetBox(J,3),"FocusUnderlineOpacity"),this.d9=n.m.i(t,i.enumGetBox(J,3),"FocusUnderlineRippleOpacity"),this.ed=n.m.i(t,i.enumGetBox(J,3),"UnderlineRippleOpacity"),this.ng=n.m.af(t,i.enumGetBox(J,3),"BackgroundColor")},n.prototype.jv=function(){var t=this;this.jp(),this.ai?(this.js((function(e){return e.co(!0,!t.aj)})),this.jr((function(e){return e.dq(t.ar,!t.aj)}))):(this.js((function(e){return e.co(!1,!t.aj)})),this.jr((function(e){return e.dq(t.ar,!t.aj)})))},n.prototype.j0=function(){if(this.jp(),this.ao){this.js((function(t){return t.an=!0})),this.j4(1)}else{this.js((function(t){return t.an=!1})),this.j4(-1)}},n.prototype.jz=function(){this.ai=!this.z||this.an,this.ao=!0,null!=this.gotFocus&&this.gotFocus(this,i.EventArgs.empty)},n.prototype.kh=function(){this.z?this.ai=this.z:this.ao?this.ai=!0:this.ai=!!this.al},n.prototype.j4=function(t){var e=this;t>0&&this.w.playbackRate<0||t<0&&this.w.playbackRate>0?(this.w.reverse(),this.w.finished.f((function(t){null!=e.w&&e.w.commitStyles(),e.ah&&(e.w=null,e.ah=!1)})),this.u.reverse(),this.u.finished.f((function(t){null!=e.u&&e.u.commitStyles(),e.y&&(e.u=null,e.y=!1)})),this.v.reverse(),this.v.finished.f((function(t){null!=e.v&&e.v.commitStyles(),e.ag&&(e.v=null,e.ag=!1)}))):(this.w.play(),this.w.finished.f((function(t){null!=e.w&&e.w.commitStyles(),e.ah&&(e.w=null,e.ah=!1)})),this.u.play(),this.u.finished.f((function(t){null!=e.u&&e.u.commitStyles(),e.y&&(e.u=null,e.y=!1)})),this.v.play(),this.v.finished.f((function(t){null!=e.v&&e.v.commitStyles(),e.ag&&(e.v=null,e.ag=!1)})))},Object.defineProperty(n.prototype,"l6",{get:function(){return this.k0},set:function(t){var e=this.k0;this.k0=t,e!=this.k0&&this.j2("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l7",{get:function(){return this.k1},set:function(t){var e=this.k1;this.k1=t,e!=this.k1&&this.j2("ActualFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.j2("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.j2("ActualFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ko",{get:function(){return this.ki},set:function(t){var e=this.ki;this.ki=t,e!=this.ki&&this.j2("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oe",{get:function(){return this.n8},set:function(t){var e=this.n8;this.n8=t,e!=this.n8&&this.j2("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.j2("ActualUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.j2("ActualUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.j2("ActualHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ma",{get:function(){return this.k4},set:function(t){var e=this.k4;this.k4=t,e!=this.k4&&this.j2("ActualUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mb",{get:function(){return this.k5},set:function(t){var e=this.k5;this.k5=t,e!=this.k5&&this.j2("ActualUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l9",{get:function(){return this.k3},set:function(t){var e=this.k3;this.k3=t,e!=this.k3&&this.j2("ActualHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l8",{get:function(){return this.k2},set:function(t){var e=this.k2;this.ln=t,e!=this.k2&&this.j2("ActualFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.j2("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.j2("ActualHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.j2("ActualFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.j2("ActualFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.j2("ActualUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l5",{get:function(){return this.kz},set:function(t){var e=this.kz;this.kz=t,e!=this.kz&&this.j2("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c0",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.j2("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eg",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.j2("FocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"md",{get:function(){return this.k7},set:function(t){var e=this.k7;this.k7=t,e!=this.k7&&this.j2("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ks",{get:function(){return this.kl},set:function(t){var e=this.kl;this.kl=t,e!=this.kl&&this.j2("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oi",{get:function(){return this.ob},set:function(t){var e=this.ob;this.ob=t,e!=this.ob&&this.j2("ContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e8",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.j2("UnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.j2("UnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ek",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.j2("HoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n6",{get:function(){return this.l3},set:function(t){var e=this.l3;this.l3=t,e!=this.l3&&this.j2("UnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n7",{get:function(){return this.l4},set:function(t){var e=this.l4;this.l4=t,e!=this.l4&&this.j2("UnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nq",{get:function(){return this.lo},set:function(t){var e=this.lo;this.lo=t,e!=this.lo&&this.j2("HoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"np",{get:function(){return this.ln},set:function(t){var e=this.ln;this.ln=t,e!=this.ln&&this.j2("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.j2("UnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ej",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.j2("HoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eh",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.j2("FocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ei",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.j2("FocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e6",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.j2("UnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mc",{get:function(){return this.k6},set:function(t){var e=this.k6;this.k6=t,e!=this.k6&&this.j2("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.j2("LineTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"em",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.j2("LineTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nt",{get:function(){return this.lr},set:function(t){var e=this.lr;this.lr=t,e!=this.lr&&this.j2("LineTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ns",{get:function(){return this.lq},set:function(t){var e=this.lq;this.lq=t,e!=this.lq&&this.j2("LineTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kx",{get:function(){return this.km},set:function(t){var e=this.km;this.km=t,e!=this.km&&this.j2("LineTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"on",{get:function(){return this.oc},set:function(t){var e=this.oc;this.oc=t,e!=this.oc&&this.j2("LineTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eu",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.j2("LineTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"et",{get:function(){return this.b0},set:function(t){var e=this.b0;this.b0=t,e!=this.b0&&this.j2("LineTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eq",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bx=t,e!=this.bx&&this.j2("LineTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nw",{get:function(){return this.lu},set:function(t){var e=this.lu;this.lu=t,e!=this.lu&&this.j2("LineTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nx",{get:function(){return this.lv},set:function(t){var e=this.lv;this.lv=t,e!=this.lv&&this.j2("LineTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nv",{get:function(){return this.lt},set:function(t){var e=this.lt;this.lo=t,e!=this.lt&&this.j2("LineTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nu",{get:function(){return this.ls},set:function(t){var e=this.ls;this.ls=t,e!=this.ls&&this.j2("LineTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"er",{get:function(){return this.by},set:function(t){var e=this.by;this.by=t,e!=this.by&&this.j2("LineTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ep",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.j2("LineTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"en",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.j2("LineTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eo",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.j2("LineTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"es",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.j2("LineTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nr",{get:function(){return this.lp},set:function(t){var e=this.lp;this.lp=t,e!=this.lp&&this.j2("LineTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c1",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.j2("BoxTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c2",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.j2("BoxTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mn",{get:function(){return this.lh},set:function(t){var e=this.lh;this.lh=t,e!=this.lh&&this.j2("BoxTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mm",{get:function(){return this.lg},set:function(t){var e=this.lg;this.lg=t,e!=this.lg&&this.j2("BoxTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kq",{get:function(){return this.kk},set:function(t){var e=this.kk;this.kk=t,e!=this.kk&&this.j2("BoxTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"og",{get:function(){return this.oa},set:function(t){var e=this.oa;this.oa=t,e!=this.oa&&this.j2("BoxTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.j2("BoxTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.j2("BoxTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c6",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.j2("BoxTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mq",{get:function(){return this.lk},set:function(t){var e=this.lk;this.lk=t,e!=this.lk&&this.j2("BoxTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mr",{get:function(){return this.ll},set:function(t){var e=this.ll;this.ll=t,e!=this.ll&&this.j2("BoxTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mp",{get:function(){return this.lj},set:function(t){var e=this.lj;this.lo=t,e!=this.lj&&this.j2("BoxTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mo",{get:function(){return this.li},set:function(t){var e=this.li;this.li=t,e!=this.li&&this.j2("BoxTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c7",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.j2("BoxTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c5",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.j2("BoxTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c3",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.j2("BoxTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c4",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.j2("BoxTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c8",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.j2("BoxTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ml",{get:function(){return this.lf},set:function(t){var e=this.lf;this.lf=t,e!=this.lf&&this.j2("BoxTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.j2("BorderTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.j2("BorderTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mg",{get:function(){return this.la},set:function(t){var e=this.la;this.la=t,e!=this.la&&this.j2("BorderTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mf",{get:function(){return this.k9},set:function(t){var e=this.k9;this.k9=t,e!=this.k9&&this.j2("BorderTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kp",{get:function(){return this.kj},set:function(t){var e=this.kj;this.kj=t,e!=this.kj&&this.j2("BorderTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"of",{get:function(){return this.n9},set:function(t){var e=this.n9;this.n9=t,e!=this.n9&&this.j2("BorderTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cz",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.j2("BorderTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.j2("BorderTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cv",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.j2("BorderTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mj",{get:function(){return this.ld},set:function(t){var e=this.ld;this.ld=t,e!=this.ld&&this.j2("BorderTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mk",{get:function(){return this.le},set:function(t){var e=this.le;this.le=t,e!=this.le&&this.j2("BorderTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mi",{get:function(){return this.lc},set:function(t){var e=this.lc;this.lo=t,e!=this.lc&&this.j2("BorderTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mh",{get:function(){return this.lb},set:function(t){var e=this.lb;this.lb=t,e!=this.lb&&this.j2("BorderTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.j2("BorderTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cu",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.j2("BorderTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.j2("BorderTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ct",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.j2("BorderTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.j2("BorderTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"me",{get:function(){return this.k8},set:function(t){var e=this.k8;this.k8=t,e!=this.k8&&this.j2("BorderTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ev",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.j2("SearchTypeBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ew",{get:function(){return this.b3},set:function(t){var e=this.b3;this.b3=t,e!=this.b3&&this.j2("SearchTypeFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n0",{get:function(){return this.ly},set:function(t){var e=this.ly;this.ly=t,e!=this.ly&&this.j2("SearchTypeFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nz",{get:function(){return this.lx},set:function(t){var e=this.lx;this.lx=t,e!=this.lx&&this.j2("SearchTypeBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ky",{get:function(){return this.kn},set:function(t){var e=this.kn;this.kn=t,e!=this.kn&&this.j2("SearchTypeCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oo",{get:function(){return this.od},set:function(t){var e=this.od;this.od=t,e!=this.od&&this.j2("SearchTypeContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e4",{get:function(){return this.cb},set:function(t){var e=this.cb;this.cb=t,e!=this.cb&&this.j2("SearchTypeUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e3",{get:function(){return this.ca},set:function(t){var e=this.ca;this.ca=t,e!=this.ca&&this.j2("SearchTypeUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e0",{get:function(){return this.b7},set:function(t){var e=this.b7;this.b7=t,e!=this.b7&&this.j2("SearchTypeHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n3",{get:function(){return this.l1},set:function(t){var e=this.l1;this.l1=t,e!=this.l1&&this.j2("SearchTypeUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n4",{get:function(){return this.l2},set:function(t){var e=this.l2;this.l2=t,e!=this.l2&&this.j2("SearchTypeUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n2",{get:function(){return this.l0},set:function(t){var e=this.l0;this.lo=t,e!=this.l0&&this.j2("SearchTypeHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n1",{get:function(){return this.lz},set:function(t){var e=this.lz;this.lz=t,e!=this.lz&&this.j2("SearchTypeFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.b8},set:function(t){var e=this.b8;this.b8=t,e!=this.b8&&this.j2("SearchTypeUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ez",{get:function(){return this.b6},set:function(t){var e=this.b6;this.b6=t,e!=this.b6&&this.j2("SearchTypeHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ex",{get:function(){return this.b4},set:function(t){var e=this.b4;this.b4=t,e!=this.b4&&this.j2("SearchTypeFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ey",{get:function(){return this.b5},set:function(t){var e=this.b5;this.b5=t,e!=this.b5&&this.j2("SearchTypeFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e2",{get:function(){return this.b9},set:function(t){var e=this.b9;this.b9=t,e!=this.b9&&this.j2("SearchTypeUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ny",{get:function(){return this.lw},set:function(t){var e=this.lw;this.lw=t,e!=this.lw&&this.j2("SearchTypeBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.j2("IsExpanded",e,t)},enumerable:!1,configurable:!0}),n.prototype.j8=function(){this.ad=!1,this.z=!1,this.kh()},Object.defineProperty(n.prototype,"ap",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.j2("IsHovered",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.j2("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.j2("ActualIsExpanded",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"no",{get:function(){return this.lm},set:function(t){var e=this.lm;this.lm=t,e!=this.lm&&this.j2("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.j2("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.j2("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.j3=function(){},n.prototype.onDetachedFromUI=function(){this.view.ai()},n.prototype.onAttachedToUI=function(){this.view.ag()},n.prototype.ensureShift=function(){this.jr((function(t){return t.view.a9()})),this.js((function(t){return t.view.aj()})),this.jt((function(t){return t.view.r()})),this.ju((function(t){return t.view.r()}))},n.prototype.aq=function(){return this.view.g()},n.prototype.fe=function(){return this.b()},n.prototype.hb=function(){return this.b().y()},n.prototype.b=function(){var t=new Q;t.f=this.s,t.e=this.p,t.b=i.AppearanceHelper.a(this.l6),t.o=this.cg,t.p=this.ch,t.z=this.ko,t.aa=this.oe,t.x=this.cp,t.w=this.co,t.t=this.cl,t.c=i.AppearanceHelper.a(this.ma),t.d=i.AppearanceHelper.a(this.mb),t.u=this.cm,t.s=this.ck,t.q=this.ci,t.r=this.cj,t.v=this.cn,t.a=i.AppearanceHelper.a(this.l5),t.g=this.ai,t.j=this.ap,t.i=this.ao,t.h=this.disabled,t.m=new i.List$1(Y.$,0),t.l=new i.List$1(Z.$,0),t.k=new i.List$1(tt.$,0),t.n=new i.List$1(X.$,0);for(var e=0;e<this.inputs.count;e++)null!==i.typeCast(pt.$,this.inputs._inner[e])?(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Prefix"+t.m.count.toString()),t.m.add1(this.inputs._inner[e].t())):null!==i.typeCast(bt.$,this.inputs._inner[e])?(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Label"+t.l.count.toString()),t.l.add1(this.inputs._inner[e].aw())):null!==i.typeCast(yt.$,this.inputs._inner[e])?(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Input"+t.k.count.toString()),t.k.add1(this.inputs._inner[e].bg())):null!==i.typeCast(ct.$,this.inputs._inner[e])&&(null==this.inputs._inner[e].e&&(this.inputs._inner[e].e="Suffix"+t.n.count.toString()),t.n.add1(this.inputs._inner[e].t()));return t},n.prototype.provideContainer=function(t){this.view.ah(t)},Object.defineProperty(n.prototype,"inputs",{get:function(){return this.f},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fb",{get:function(){if(!this.fd.hasValue){var t=0;this.js((function(e){return t++})),this.fd=i.toNullable(i.Number_$type,t)}return this.fd.value},enumerable:!1,configurable:!0}),n.prototype.j9=function(){this.fd=i.toNullable(i.Number_$type,null)},Object.defineProperty(n.prototype,"ak",{get:function(){return this.fb>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return!this.ak||this.ai},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"XInputGroup",i.Base.$,[i.INotifyPropertyChanged_$type]),n.o=2,n.fc=0,n.j=new u(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),((r=new i.Dictionary$2(i.Base.$,u.$,0)).addItem(i.enumGetBox(J,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,4,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),r.addItem(i.enumGetBox(J,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(20,0,0,0)),t}())),r.addItem(i.enumGetBox(J,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),r.addItem(i.enumGetBox(J,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,0,153,155)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),r)),n.i=new u(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),function(){var t=new i.Dictionary$2(i.Base.$,u.$,0);return t.addItem(i.enumGetBox(J,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(20,0,0,0)),t}())),t.addItem(i.enumGetBox(J,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.l(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.l(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.l(255,33,150,243)),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t}()),n.n5=i.BrushUtil.l(255,105,136,255),n.l=new u(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),function(){var t=new i.Dictionary$2(i.Base.$,u.$,0);return t.addItem(i.enumGetBox(J,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,8,0,8,0)),t.addItem("BorderColor",i.BrushUtil.l(25,0,0,0)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(25,0,0,0)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,0,0,0)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(25,0,0,0)),t}())),t.addItem(i.enumGetBox(J,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(255,186,191,199)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t}()),n.k=new u(1,new i.Dictionary$2(i.String_$type,i.Base.$,0),function(){var t=new i.Dictionary$2(i.Base.$,u.$,0);return t.addItem(i.enumGetBox(J,2),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,8,0,8,0)),t.addItem("BorderColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,1),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(1,4,4,0,0)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(128,55,63,86)),t}())),t.addItem(i.enumGetBox(J,0),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(0)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(0)),t.addItem("CornerRadius",new i.CornerRadius(0,0)),t.addItem("ContentPadding",new i.Thickness(0,0)),t.addItem("BorderColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",1),t.addItem("HoverUnderlineOpacity",1),t.addItem("FocusUnderlineOpacity",1),t.addItem("FocusUnderlineRippleOpacity",1),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t.addItem(i.enumGetBox(J,3),new u(0,function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("BorderWidth",i.DeviceUtils.g(1)),t.addItem("FocusBorderWidth",i.DeviceUtils.g(2)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("ContentPadding",new i.Thickness(1,16,0,16,0)),t.addItem("BorderColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusBorderColor",n.n5),t.addItem("FocusLabelColor",n.n5),t.addItem("UnderlineWidth",i.DeviceUtils.g(1)),t.addItem("UnderlineRippleWidth",i.DeviceUtils.g(2)),t.addItem("HoverUnderlineWidth",i.DeviceUtils.g(2)),t.addItem("UnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.l(51,255,255,255)),t.addItem("FocusUnderlineColor",n.n5),t.addItem("UnderlineOpacity",0),t.addItem("HoverUnderlineOpacity",0),t.addItem("FocusUnderlineOpacity",0),t.addItem("FocusUnderlineRippleOpacity",0),t.addItem("UnderlineRippleOpacity",0),t.addItem("BackgroundColor",i.BrushUtil.l(0,0,0,0)),t}())),t}()),n.m=new c(1,function(){var t=new i.Dictionary$2(i.BaseControlTheme_$type,u.$,0);return t.addItem(2,n.j),t.addItem(1,n.i),t.addItem(3,n.l),t.addItem(4,n.k),t}(),2),n}(i.Base),ft=function(t){function n(){var e=t.call(this,ut.$,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,"XInputGroupInputCollection",i.ObservableCollection$1.$.specialize(ut.$)),n}(i.ObservableCollection$1),bt=function(t){function n(){var e=t.call(this)||this;e.n=0,e._view=null,e.ak=!1,e.aa=null,e.z=null,e.ab=!1,e.r=0,e.q=1,e.cv=c.aj(n.o,n.de,n.c7),e.cs=c.aj(n.o,n.db,n.c4),e.ct=c.aj(n.o,n.dc,n.c5),e.cu=c.aj(n.o,n.dd,n.c6),e.u=null,e.cz=n.df,e.cw=n.c8,e.cx=n.c9,e.k=0,e.ag=!1,e.ae=!1,e.v=null,e.cy=null,e.a4="ig-label-"+n.av++,e.a0="inline-block",e.a1="inline-block",e.a2=null,e.ax="center",e.ay="center",e.at=0,e.ac=!1,e.a3=null,e.az=null,e.a5=null,e.af=!1,e.aj=!1,e.ad=!1,e.ai=!1,e.ah=!1,e.ar=!1;var i=new ht;return i.c=e,e.view=i,e.view.ae(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"p",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"i",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.cb=function(){var t=this;this.view.v();var e;if(null==this.aa){var n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=t.view.l(),e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}());var r=-1.3*this.view.j();2==this.s&&(r=-1.05*this.view.j()),3==this.s&&(r=-1.01*this.view.j()),4==this.s&&(r=-1.05*this.view.j());var o=new i.TransformGroup;o.j.add(function(){var e=new i.TranslateTransform;return e.k=2==t.l?r:-.65*t.view.j(),e}()),o.j.add(function(){var t=new i.ScaleTransform;return t.l=.75,t.m=.75,t}()),this.aa=i.KeyFrameAnimationFactory.f.c(this.view.b(this.i).m(new i.AnimationKeyFrameProperty(14,n),new i.AnimationKeyFrameProperty(2,i.BrushUtil.l(0,255,255,255))).m(new i.AnimationKeyFrameProperty(14,o),new i.AnimationKeyFrameProperty(2,i.BrushUtil.l(2==this.l?255:0,255,255,255))))}null==this.z&&(this.z=i.KeyFrameAnimationFactory.f.c(this.view.a(this.i).m(new i.AnimationKeyFrameProperty(7,this.c3)).m(new i.AnimationKeyFrameProperty(7,this.c0))))},n.prototype.cm=function(t,e){var i=this;if(e>0&&t.playbackRate<0||e<0&&t.playbackRate>0){if(t.reverse(),this.ar)return t.finish(),void this.cc(t);t.finished.f((function(e){return i.cc(t)}))}else{if(t.play(),this.ar)return t.finish(),void this.cc(t);t.finished.f((function(e){return i.cc(t)}))}},n.prototype.cc=function(t){t.commitStyles(),t==this.aa&&this.ai&&(this.aa=null,this.ab&&(this.ab=!1,this.cg())),t==this.z&&this.ah&&(this.z=null)},n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"BaseTheme":this.cp(this.p),this.cr();break;case"TextColor":case"HoverTextColor":case"TextStyle":case"HighlightTextColor":case"HoverHighlightTextColor":this.cr();break;case"ActualTextColor":case"ActualHoverTextColor":case"ActualTextStyle":case"ActualHighlightTextColor":case"ActualHoverHighlightTextColor":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ai=!0),null!=this.z&&(3==this.z.playState?this.z=null:this.ah=!0),this.cq();break;case"Text":this.view.ai();break;case"Density":this.s=0==this.t?1:this.t;break;case"ActualDensity":this.view.ak(),this.view.aj();break;case"InputGroup":this.view.aj();break;case"IsHighlighted":this.cf();break;case"IsShifted":this.cg();break;case"ShiftType":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ai=!0),this.cj();break;case"Display":this.view.ab();break;case"FlexDirection":this.view.ac();break;case"FlexGrow":this.view.ad();break;case"AlignItems":this.view.w();break;case"AlignSelf":this.view.x()}},n.prototype.cj=function(){this.view.aj()},n.prototype.cg=function(){if(this.view.af(),!this.ak){this.cb();var t=1;this.ap||(t=-1),this.cm(this.aa,t)}},n.prototype.cf=function(){if(!this.ak){this.cb();var t=1;this.an||(t=-1),this.cm(this.z,t)}},n.prototype.onSizeReady=function(){null!=this.aa&&(this.ca(),this.ap&&(this.view.aj(),this.cg()))},n.prototype.ca=function(){null!=this.aa&&3==this.aa.playState?this.aa=null:(this.ab=!0,this.ai=!0)},n.prototype.cr=function(){this.c3=null!=this.dj?this.dj:n.df,this.c2=null!=this.di?this.di:n.df,this.c0=null!=this.dg?this.dg:n.c8,this.w=null!=this.y?this.y:n.x},n.prototype.cq=function(){null!=this.w?this.view.am(this.w):this.view.am(this.view.e()),this.view.ah(this.c3)},n.prototype.cp=function(t){n.df=c.aj(t,n.de,n.c7),n.c8=c.aj(t,n.db,n.c4),n.da=c.aj(t,n.dd,n.c6),n.c9=c.aj(t,n.dc,n.c5)},Object.defineProperty(n.prototype,"t",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.g("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,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.g("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c3",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.g("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c0",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.g("ActualHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c1",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.g("ActualHoverHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c2",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.g("ActualHoverTextColor",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,e!=this.u&&this.g("ActualTextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dj",{get:function(){return this.cz},set:function(t){var e=this.cz;this.cz=t,e!=this.cz&&this.g("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dg",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.g("HighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dh",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.g("HoverHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.g("ShiftType",i.enumGetBox(H,e),i.enumGetBox(H,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.g("IsShifted",e,t)},enumerable:!1,configurable:!0}),n.prototype.co=function(t,e){void 0===e&&(e=!0);var i=this.ar;e||(this.ar=!0);try{this.ap=t}finally{e||(this.ar=i)}},Object.defineProperty(n.prototype,"an",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.g("IsHighlighted",e,t)},enumerable:!1,configurable:!0}),n.prototype.ch=function(){this.ao=!0},n.prototype.ci=function(){this.ao=!1},Object.defineProperty(n.prototype,"y",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"di",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.g("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.g("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.g("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.g("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.g("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.g("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.g("AlignSelf",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ac},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,this.ac=!0,e!=this.at&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.g("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.g("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.cl=function(){this.view.ai()},n.prototype.onDetachedFromUI=function(){this.view.aa()},n.prototype.onAttachedToUI=function(){this.view.y()},n.prototype.aq=function(){return this.view.g()},n.prototype.aw=function(){return this.j()},n.prototype.bm=function(){return this.j().q()},n.prototype.j=function(){var t=new Z,e=this.view.q;if(t.c=this.p,t.e=this.t,t.d=this.s,t.a=i.AppearanceHelper.a(i.NativeUI.al(e)),t.b=this.l,t.i=this.ap,t.g=this.an,t.m=this.bk,t.n=this.bn,t.o=this.bp,t.l=this.bc,t.r=this.text,t.h=this.ao,t.j=this.as,t.f=this.disabled,t.p=this.e,null!=this.w){var n=this.w;if(null!=this.view&&null==n.q){var r=this.view.m,o=i.FontUtil.getFontInfoFromString(r,n.fontString);n.q=o.q,n.f=o.f,n.r=o.r,n.t=o.t,n.u=o.u,n.v=o.v}null!=n.q&&(t.s=n.q),i.isNaN_(n.f)||(t.k=n.f),null!=n.v&&(t.w=n.v),null!=n.t&&(t.u=n.t),null!=n.r&&(t.t=n.t)}return t},n.prototype.provideContainer=function(t){this.view.z(t)},n.$t=i.markType(n,"XLabel",ut.$),n.de=i.BrushUtil.l(221,0,0,0),n.db=i.BrushUtil.l(255,0,153,155),n.dd=i.BrushUtil.l(221,0,0,0),n.dc=i.BrushUtil.l(255,0,153,155),n.c7=i.BrushUtil.l(255,24,29,31),n.c4=i.BrushUtil.l(255,33,150,243),n.c6=i.BrushUtil.l(255,24,29,31),n.c5=i.BrushUtil.l(255,33,150,243),n.o=2,n.df=c.aj(n.o,n.de,n.c7),n.c8=c.aj(n.o,n.db,n.c4),n.da=c.aj(n.o,n.dd,n.c6),n.c9=c.aj(n.o,n.dc,n.c5),n.x=null,n.av=0,n}(ut),yt=function(t){function n(){var e=t.call(this)||this;e.u=null,e.a7=0,e.a8=0,e.q=0,e.bp="",e.bj="",e.ah=!1,e.bk=null,e.ai=!1,e.aq=!1,e._view=null,e.n=0,e.v=0,e.y=1,e.x=1,e.bo=null,e.br="_",e.ak=!1,e.ar=!0,e.d0=n.d6,e.dz=n.d5,e.ab=null,e.d2=n.d6,e.keyDown=null,e.keyUp=null,e.keyPress=null,e.gotFocus=null,e.lostFocus=null,e.mouseDown=null,e.mouseUp=null,e.ac=null,e.bn="text",e.bq="text",e.d1=null,e.bm="ig-input-"+n.bf++,e.a9=0,e.aj=!1,e.bl=null,e.bi=null,e.an=!1,e.bh=null,e.bs=null,e.am=!1,e.al=!1,e.ao=!1,e.dx=0,e.change=null,e.changing=null,e.compositionStart=null,e.compositionEnd=null,e.ap=!0,e.ag=null,e.a0=!1,e.u=new it;var r=new lt;return r.c=e,e.view=r,e.view.at(),n.ae=new i.FontInfo,n.ae.q="Verdana",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}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.g("ShiftType",i.enumGetBox(L,e),i.enumGetBox(L,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.g("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.g("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.g("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.g("Mask",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.g("PromptChar",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.g("IncludeLiterals",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.g("ShowSpinner",e,t)},enumerable:!1,configurable:!0}),n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"TextColor":case"HoverTextColor":case"TextStyle":this.dv();break;case"ActualTextColor":case"ActualHoverTextColor":case"ActualTextStyle":this.du();break;case"Value":this.al||(this.view.ay(this.cq),null!=this.b&&this.b.kh(),null==this.ce||this.aq||this.dw(this.cq));break;case"Name":this.view.a0(this.e);break;case"Density":this.z=0==this.aa?1:this.aa;break;case"ActualDensity":this.view.ba(),this.view.a9();break;case"InputGroup":this.c8();break;case"ShiftType":this.dj();break;case"InputType":this.dk();break;case"Placeholder":this.di();break;case"Mask":this.cg=this.ce;break;case"PromptChar":case"IncludeLiterals":break;case"IsShown":this.c9();break;case"IsDisabled":this.view.az(this.am);break;case"IsReadOnly":this.view.a1(this.ao);break;case"TextAlignment":this.view.a6(this.dy);break;case"ShowSpinner":this.view.a5(this.a1);break;case"TabIndex":this.view.a8()}},n.prototype.di=function(){this.view.av()},n.prototype.dk=function(){this.view.ax()},n.prototype.dj=function(){this.view.a9()},n.prototype.c8=function(){this.view.a9()},n.prototype.dv=function(){this.d4=null!=this.d8?this.d8:n.d6,this.d3=null!=this.d7?this.d7:n.d6,this.ad=null!=this.af?this.af:n.ae},n.prototype.du=function(){null!=this.ad&&this.view.bc(this.ad),i.NativeUI.q(this.view.r,this.d4),this.view.a7()},Object.defineProperty(n.prototype,"d4",{get:function(){return this.d0},set:function(t){var e=this.d0;this.d0=t,e!=this.d0&&this.g("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.dz},set:function(t){var e=this.dz;this.dz=t,e!=this.dz&&this.g("ActualHoverTextColor",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.g("ActualTextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d8",{get:function(){return this.d2},set:function(t){var e=this.d2;this.d2=t,e!=this.d2&&this.g("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.cz=function(){null!=this.ce&&this.ds(this.cq),null!=this.lostFocus&&this.lostFocus(this,i.EventArgs.empty)},n.prototype.c7=function(){null!=this.ce&&this.dt(this.cq),null!=this.gotFocus&&this.gotFocus(this,i.EventArgs.empty)},n.prototype.da=function(t){if(null!=this.ce){var e=t.keyCode;(17==e&&90==e||17==e&&89==e)&&t.preventDefault(),this.q=e,this.a8=this.bb(),this.a7=this.ba()}null!=this.keyDown&&this.keyDown(this,t)},n.prototype.dc=function(t){null!=this.keyUp&&this.keyUp(this,t)},n.prototype.db=function(t){null!=this.keyPress&&this.keyPress(this,t)},n.prototype.dd=function(t){null!=this.mouseDown&&this.mouseDown(this,t)},n.prototype.dg=function(t){null!=this.mouseUp&&this.mouseUp(this,t)},n.prototype.dh=function(){null!=this.ce&&(this.bp=this.cq,this.a8=this.bb())},n.prototype.c5=function(){null!=this.ce&&(this.ah||this.dt(this.bj))},n.prototype.c6=function(){null!=this.ce&&(this.ah||this.ds(this.cq))},n.prototype.c0=function(){var t,e=this;this.al=!0,this.cq=this.view.t(),null!=this.change&&this.change(this,((t=new nt).value=e.cq,t.isCompositionInProgress=e.view.h,t)),this.al=!1},n.prototype.c1=function(){var t,e=this;if(this.al=!0,this.cq=this.view.t(),this.al=!1,null!=this.ce){this.aq=!0,this.ai&&(this.a8=this.bb()),this.cq.length<this.bp.length&&229==this.q&&(this.q=8);this.bb(),this.ba();var i="";switch(this.q){case 46:this.a7=this.a8==this.a7?++this.a7:this.a7;break;case 8:this.a8=this.bb();break;default:i=this.cq.substr(this.a8,this.ba()-this.a8)}var n=new rt;n.a=this.ce,n.b=this.ci;var r=this.u.a(this.bp,i,n,this.a8,this.a7);this.cq=r.b,8==this.q&&(r.a=this.a8),this.dr(r.a,r.a);var o=this.u.i(this.cq,n);this.bj=this.au?this.cq:o,this.cs(),this.aq=!1}this.al=!0,null!=this.changing&&this.changing(this,((t=new nt).value=e.cq,t.isCompositionInProgress=e.view.h,t)),this.al=!1},n.prototype.c3=function(){null!=this.compositionStart&&this.compositionStart(this,new i.EventArgs)},n.prototype.c2=function(t){var e;null!=this.compositionEnd&&this.compositionEnd(this,((e=new nt).value=t,e))},n.prototype.de=function(){this.aw=!0},n.prototype.df=function(){this.aw=!1},Object.defineProperty(n.prototype,"af",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.g("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.g("InputType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.g("Placeholder",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d7",{get:function(){return this.d1},set:function(t){var e=this.d1;this.d1=t,e!=this.d1&&this.g("HoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.g("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.aj},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,this.aj=!0,e!=this.a9&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),n.prototype.cu=function(){this.a9=0,this.aj=!1,this.view.a8()},Object.defineProperty(n.prototype,"b2",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.g("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return!i.stringIsNullOrEmpty(this.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.g("IsReadOnly",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dy",{get:function(){return this.dx},set:function(t){var e=this.dx;this.dx=t,e!=this.dx&&this.g("TextAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,this.dx))},enumerable:!1,configurable:!0}),n.prototype.dl=function(){},n.prototype.onDetachedFromUI=function(){this.view.ar()},n.prototype.onAttachedToUI=function(){this.view.ao()},n.prototype.az=function(){return this.view.i()},n.prototype.bg=function(){return this.j()},n.prototype.b1=function(){return this.j().p()},n.prototype.j=function(){var t=new tt,e=this.view.r,n=this.view.a();if(t.i=n[0],t.g=n[1],t.f=this.view.m.rootWrapper.height(),t.j=this.view.m.rootWrapper.width(),t.b=this.o,t.c=this.z,t.l=this.ce,t.o=this.ci,t.d=this.au,t.a=i.AppearanceHelper.a(i.NativeUI.al(e)),t.k=this.b8,t.n=this.cg,t.e=this.aw,t.v=this.cq,t.m=this.e,null!=this.ad){var r=this.ad;if(null!=this.view&&null==r.q){var o=this.view.m,s=i.FontUtil.getFontInfoFromString(o,r.fontString);r.q=s.q,r.f=s.f,r.r=s.r,r.t=s.t,r.u=s.u,r.v=s.v}null!=r.q&&(t.q=r.q),i.isNaN_(r.f)||(t.h=r.f),null!=r.v&&(t.u=r.v),null!=r.t&&(t.s=r.t),null!=r.r&&(t.r=r.t)}return t},n.prototype.dr=function(t,e){this.view.a3(t,e)},n.prototype.provideContainer=function(t){this.view.aq(t)},n.prototype.ct=function(){this.cz(),this.view.ap()},n.prototype.focus=function(t){void 0===t&&(t=!1),this.c7(),this.view.as(t)},n.prototype.dp=function(){this.view.aw()},n.prototype.dt=function(t){this.aq=!0;var e=new rt;e.a=this.ce,e.b=this.ci,this.cq=this.u.h(this.cq,e),this.bp=this.cq,this.aq=!1},n.prototype.ds=function(t){this.aq=!0;var e=new rt;e.a=this.ce,e.b=this.ci,t==this.u.h(null,e)&&(this.cq=""),this.aq=!1},n.prototype.dw=function(t){var e,i=this,n=new rt;n.a=this.ce,n.b=this.ci,null!=this.ci&&this.ci.length>1&&(n.b=this.ci.substr(0,1)),this.cq=null!=t?this.u.h(t,n):"",this.bj=this.au?this.cq:t,null!=this.changing&&this.changing(this,((e=new nt).value=i.cq,e.isCompositionInProgress=i.view.h,e))},n.prototype.cs=function(){this.bp=this.cq,this.ai=!1,this.a8=0,this.a7=0,this.q=0},n.prototype.bb=function(){var t=this.view.q(),e=this.view.p();return t==e&&this.ai?e-this.bk.length:t},n.prototype.ba=function(){return this.view.p()},Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this.bb()},set:function(t){this.view.a4(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this.ba()},set:function(t){this.view.a2(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.g("IsShown",e,t)},enumerable:!1,configurable:!0}),n.prototype.dq=function(t,e){void 0===e&&(e=!0);var i=this.a0;e||(this.a0=!0);try{this.ay=t}finally{e||(this.a0=i)}},n.prototype.c9=function(){this.cw(),this.dm(this.ag,this.ay)},n.prototype.cw=function(){this.view.am(),null==this.ag&&(this.ag=i.KeyFrameAnimationFactory.f.c(this.view.b(this.i).m(new i.AnimationKeyFrameProperty(1,0)).m(new i.AnimationKeyFrameProperty(1,1))))},Object.defineProperty(n.prototype,"i",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.dm=function(t,e){if(e!=t.playbackRate<0?t.play():t.reverse(),this.a0)return t.finish(),void t.commitStyles();t.finished.f((function(e){return t.commitStyles()}))},n.$t=i.markType(n,"XInput",ut.$),n.d6=i.BrushUtil.l(221,0,0,0),n.d5=i.BrushUtil.l(221,0,0,0),n.ae=null,n.bf=0,n}(ut),gt=function(t){function n(){var e=t.call(this)||this;return 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._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._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._observedAttributesIgcXInputGroupItemComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXInputGroupItemComponent=t}return n._observedAttributesIgcXInputGroupItemComponent},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,"name",{get:function(){return this.i.e},set:function(t){this.i.e=t},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("XInputGroupItemComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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._observedAttributesIgcXInputGroupItemComponent=null,n}(i.IgcHTMLElement),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 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,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCompositionInProgress",{get:function(){return this.i.isCompositionInProgress},set:function(t){this.i.isCompositionInProgress=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),vt=[],_t=new WeakMap;function Ct(){document&&(_t.has(document)||(!function(t,e,i){void 0===i&&(i=null);for(var n=0;n<document.head.children.length;n++){var r=document.head.children[n];if(r.tagName&&"style"==r.tagName.toLowerCase()&&r.hasAttribute(e))return}var o=document.createElement("style");if(o.textContent=t,o.setAttribute(e,"true"),i){o.onload=function(){o.onload=null,i()}}document.head.appendChild(o)}("\n\n","data-ig-input-style",(function(){var t=vt;vt=null,t.forEach((function(t,e,i){}))})),_t.set(document,!0)))}var Bt=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._keyDown=null,n._keyDown_wrapped=null,n._keyUp=null,n._keyUp_wrapped=null,n._keyPress=null,n._keyPress_wrapped=null,n._change=null,n._change_wrapped=null,n._changing=null,n._changing_wrapped=null,n._compositionEnd=null,n._compositionEnd_wrapped=null,Ct(),n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("inputContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._input=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._input.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new yt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-input"),this.classList.add("igc-x-input"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXInputComponent=t}return n._observedAttributesIgcXInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.aa},set:function(t){this.i.aa=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.aa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mask",{get:function(){return this.i.ce},set:function(t){this.i.ce=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"promptChar",{get:function(){return this.i.ci},set:function(t){this.i.ci=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"includeLiterals",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("includeLiterals",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSpinner",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureBool(t),this._a("showSpinner",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.d4)},set:function(t){this.i.d4=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.d4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.d3)},set:function(t){this.i.d3=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.d3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.d8)},set:function(t){this.i.d8=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.d8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{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("textStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputType",{get:function(){return this.i.b8},set:function(t){this.i.b8=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"placeholder",{get:function(){return this.i.cg},set:function(t){this.i.cg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.d7)},set:function(t){this.i.d7=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.d7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.b5},set:function(t){this.i.b5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("tabIndex",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"for",{get:function(){return this.i.b2},set:function(t){this.i.b2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bx},set:function(t){this.i.bx=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("isHover",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.cq},set:function(t){this.i.cq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasValue",{get:function(){return this.i.at},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{get:function(){return this.i.readonly},set:function(t){this.i.readonly=i.ensureBool(t),this._a("readonly",this.i.readonly)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textAlignment",{get:function(){return this.i.dy},set:function(t){this.i.dy=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("textAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.dy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this.i.selectionStart},set:function(t){this.i.selectionStart=+t,this._a("selectionStart",this.i.selectionStart)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this.i.selectionEnd},set:function(t){this.i.selectionEnd=+t,this._a("selectionEnd",this.i.selectionEnd)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.bg()},n.prototype.exportSerializedVisualModel=function(){return this.i.b1()},n.prototype.setSelectionRange=function(t,e){this.i.dr(t,e)},n.prototype.blur=function(){this.i.ct()},n.prototype.select=function(){this.i.dp()},Object.defineProperty(n.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(n.prototype,"keyUp",{get:function(){return this._keyUp},set:function(t){var e=this;null!==this._keyUp_wrapped&&(this.i.keyUp=i.delegateRemove(this.i.keyUp,this._keyUp_wrapped),this._keyUp_wrapped=null,this._keyUp=null),this._keyUp=t,this._keyUp_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyUp&&e.beforeKeyUp(e,r),e._keyUp&&e._keyUp(e,r)},this.i.keyUp=i.delegateCombine(this.i.keyUp,this._keyUp_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"keyPress",{get:function(){return this._keyPress},set:function(t){var e=this;null!==this._keyPress_wrapped&&(this.i.keyPress=i.delegateRemove(this.i.keyPress,this._keyPress_wrapped),this._keyPress_wrapped=null,this._keyPress=null),this._keyPress=t,this._keyPress_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyPress&&e.beforeKeyPress(e,r),e._keyPress&&e._keyPress(e,r)},this.i.keyPress=i.delegateCombine(this.i.keyPress,this._keyPress_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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 n=new mt;n._provideImplementation(i),e.beforeChange&&e.beforeChange(e,n),e._change&&e._change(e,n)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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 n=new mt;n._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,n),e._changing&&e._changing(e,n)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"compositionEnd",{get:function(){return this._compositionEnd},set:function(t){var e=this;null!==this._compositionEnd_wrapped&&(this.i.compositionEnd=i.delegateRemove(this.i.compositionEnd,this._compositionEnd_wrapped),this._compositionEnd_wrapped=null,this._compositionEnd=null),this._compositionEnd=t,this._compositionEnd_wrapped=function(t,i){var n=new mt;n._provideImplementation(i),e.beforeCompositionEnd&&e.beforeCompositionEnd(e,n),e._compositionEnd&&e._compositionEnd(e,n)},this.i.compositionEnd=i.delegateCombine(this.i.compositionEnd,this._compositionEnd_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXInputComponent=null,n.htmlTagName="igc-x-input",n._isElementRegistered=!1,n}(gt),xt=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),Bt.register(),i.TypeRegistrar.registerCons("IgcXInputComponent",Bt),i.TypeRegistrar.registerCons("IgcXInputComponent",Bt),i.TypeRegistrar.register("XInput",yt.$type)},t}(),kt=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("labelContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._label=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._label.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new bt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-label"),this.classList.add("igc-label"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.i.onSizeReady()},n.prototype._onDisplayChanged=function(){this.style.display=this.display},n.prototype._onFlexDirectionChanged=function(){this.style.flexDirection=this.flexDirection},n.prototype._onFlexGrowChanged=function(){this.style.flexGrow=this.flexGrow},n.prototype._onAlignItemsChanged=function(){this.style.alignItems=this.alignItems},n.prototype._onAlignSelfChanged=function(){this.style.alignSelf=this.alignSelf},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXLabelComponent=t}return n._observedAttributesIgcXLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.p},set:function(t){this.i.p=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.p))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.s))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.c3)},set:function(t){this.i.c3=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.c3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightTextColor",{get:function(){return i.brushToString(this.i.c0)},set:function(t){this.i.c0=i.stringToBrush(t),this._a("actualHighlightTextColor",i.brushToString(this.i.c0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverHighlightTextColor",{get:function(){return i.brushToString(this.i.c1)},set:function(t){this.i.c1=i.stringToBrush(t),this._a("actualHoverHighlightTextColor",i.brushToString(this.i.c1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.c2)},set:function(t){this.i.c2=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.c2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dj)},set:function(t){this.i.dj=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightTextColor",{get:function(){return i.brushToString(this.i.dg)},set:function(t){this.i.dg=i.stringToBrush(t),this._a("highlightTextColor",i.brushToString(this.i.dg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverHighlightTextColor",{get:function(){return i.brushToString(this.i.dh)},set:function(t){this.i.dh=i.stringToBrush(t),this._a("hoverHighlightTextColor",i.brushToString(this.i.dh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.y?null:this.i.y.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.y=e,this._a("textStyle",null!=this.i.y?this.i.y.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.di)},set:function(t){this.i.di=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.di))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bw},set:function(t){this.i.bw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.bk},set:function(t){this.i.bk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.bp},set:function(t){this.i.bp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.bc},set:function(t){this.i.bc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignSelf",{get:function(){return this.i.be},set:function(t){this.i.be=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.au},set:function(t){this.i.au=+t,this._a("tabIndex",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"for",{get:function(){return this.i.br},set:function(t){this.i.br=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bg},set:function(t){this.i.bg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.i.text},set:function(t){this.i.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.ao},set:function(t){this.i.ao=i.ensureBool(t),this._a("isHover",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureBool(t),this._a("value",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.aw()},n.prototype.exportSerializedVisualModel=function(){return this.i.bm()},n._observedAttributesIgcXLabelComponent=null,n.htmlTagName="igc-x-label",n._isElementRegistered=!1,n}(gt),wt=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),kt.register(),i.TypeRegistrar.registerCons("IgcXLabelComponent",kt),i.TypeRegistrar.registerCons("IgcXLabelComponent",kt),i.TypeRegistrar.register("XInput",yt.$type)},t}(),Tt=function(t){function n(e){var n=t.call(this)||this;if(gt.$type||(gt.$type=i.markType(gt,"IgcXInputGroupItemComponent")),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,"IgcXInputGroupItemComponent"));var t=new i.SyncableObservableCollection$2(gt.$type,ut.$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=gt._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Pt=function(t){function n(){var n=t.call(this)||this;n.contentInputs=[],n.actualInputs=[],n._inputs=null,n._inputsAdapter=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._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("inputContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._inputGroup=r,n._inputsAdapter=new i.CollectionAdapter(n.contentInputs,n.i.inputs,n.actualInputs,(function(t){return t.i}),(function(t){n._container&&n._container.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged(),n.updateInputs())}}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}return e.__extends(n,t),Object.defineProperty(n.prototype,"inputs",{get:function(){var t=this;if(null===this._inputs){var e=new Tt;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._inputsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._inputsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._inputsAdapter.removeManualItemAt(n.oldStartingIndex),t._inputsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._inputsAdapter.clearManualItems()}})),this._inputs=e}return this._inputs},enumerable:!1,configurable:!0}),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateInputs=function(){this.contentInputs.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof gt&&this.contentInputs.push(this.children[t]);var e=this.querySelector("igc-child-content");if(e)for(t=0;t<e.children.length;t++)e.children[t]instanceof gt&&this.contentInputs.push(e.children[t]);null!=this._inputsAdapter&&this._inputsAdapter.notifyContentChanged()},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._inputGroup.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new dt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-input-group"),this.classList.add("igc-x-input-group"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.i.ensureShift()},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._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._observedAttributesIgcXInputGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXInputGroupComponent=t}return n._observedAttributesIgcXInputGroupComponent},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,"displayType",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(J,t),this._a("displayType",i.enumToString(J,this.i.d))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.s))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.p},set:function(t){this.i.p=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.p))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputHasValue",{get:function(){return this.i.al},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.l6)},set:function(t){this.i.l6=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.l6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.l7)},set:function(t){this.i.l7=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.l7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("actualBorderWidth",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBorderWidth",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("actualFocusBorderWidth",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.ko?this.i.ko.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.c=+t,this._a("actualCornerRadiusBottomRight",this.i.ko.c),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.ko?this.i.ko.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.ko.b),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.ko?this.i.ko.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.d=+t,this._a("actualCornerRadiusTopLeft",this.i.ko.d),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.ko?this.i.ko.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.e=+t,this._a("actualCornerRadiusTopRight",this.i.ko.e),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),n.prototype.ensureActualCornerRadius=function(){this.i.ko||(this.i.ko=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.oe?this.i.oe.bottom:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.bottom=+t,this._a("actualContentPaddingBottom",this.i.oe.bottom),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.oe?this.i.oe.left:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.left=+t,this._a("actualContentPaddingLeft",this.i.oe.left),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.oe?this.i.oe.right:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.right=+t,this._a("actualContentPaddingRight",this.i.oe.right),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.oe?this.i.oe.top:NaN},set:function(t){this.ensureActualContentPadding(),this.i.oe.top=+t,this._a("actualContentPaddingTop",this.i.oe.top),this.i.oe=this.i.oe},enumerable:!1,configurable:!0}),n.prototype.ensureActualContentPadding=function(){this.i.oe||(this.i.oe=new i.Thickness(2))},Object.defineProperty(n.prototype,"actualUnderlineWidth",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("actualUnderlineWidth",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineRippleWidth",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("actualUnderlineRippleWidth",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverUnderlineWidth",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("actualHoverUnderlineWidth",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.ma)},set:function(t){this.i.ma=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.ma))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.mb)},set:function(t){this.i.mb=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.mb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.l9)},set:function(t){this.i.l9=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.l9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.l8)},set:function(t){this.i.l8=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.l8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineOpacity",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("actualUnderlineOpacity",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverUnderlineOpacity",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("actualHoverUnderlineOpacity",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusUnderlineOpacity",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("actualFocusUnderlineOpacity",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusUnderlineRippleOpacity",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("actualFocusUnderlineRippleOpacity",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUnderlineRippleOpacity",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("actualUnderlineRippleOpacity",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.l5)},set:function(t){this.i.l5=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.l5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("borderWidth",this.i.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBorderWidth",{get:function(){return this.i.eg},set:function(t){this.i.eg=+t,this._a("focusBorderWidth",this.i.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.brushToString(this.i.md)},set:function(t){this.i.md=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.md))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.ks?this.i.ks.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.c=+t,this._a("cornerRadiusBottomRight",this.i.ks.c),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.ks?this.i.ks.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.b=+t,this._a("cornerRadiusBottomLeft",this.i.ks.b),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.ks?this.i.ks.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.d=+t,this._a("cornerRadiusTopLeft",this.i.ks.d),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.ks?this.i.ks.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.e=+t,this._a("cornerRadiusTopRight",this.i.ks.e),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),n.prototype.ensureCornerRadius=function(){this.i.ks||(this.i.ks=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.oi?this.i.oi.bottom:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.bottom=+t,this._a("contentPaddingBottom",this.i.oi.bottom),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.oi?this.i.oi.left:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.left=+t,this._a("contentPaddingLeft",this.i.oi.left),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.oi?this.i.oi.right:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.right=+t,this._a("contentPaddingRight",this.i.oi.right),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.oi?this.i.oi.top:NaN},set:function(t){this.ensureContentPadding(),this.i.oi.top=+t,this._a("contentPaddingTop",this.i.oi.top),this.i.oi=this.i.oi},enumerable:!1,configurable:!0}),n.prototype.ensureContentPadding=function(){this.i.oi||(this.i.oi=new i.Thickness(2))},Object.defineProperty(n.prototype,"underlineWidth",{get:function(){return this.i.e8},set:function(t){this.i.e8=+t,this._a("underlineWidth",this.i.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineRippleWidth",{get:function(){return this.i.e7},set:function(t){this.i.e7=+t,this._a("underlineRippleWidth",this.i.e7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverUnderlineWidth",{get:function(){return this.i.ek},set:function(t){this.i.ek=+t,this._a("hoverUnderlineWidth",this.i.ek)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineColor",{get:function(){return i.brushToString(this.i.n6)},set:function(t){this.i.n6=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.n6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineRippleColor",{get:function(){return i.brushToString(this.i.n7)},set:function(t){this.i.n7=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.n7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverUnderlineColor",{get:function(){return i.brushToString(this.i.nq)},set:function(t){this.i.nq=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.nq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusUnderlineColor",{get:function(){return i.brushToString(this.i.np)},set:function(t){this.i.np=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.np))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineOpacity",{get:function(){return this.i.e5},set:function(t){this.i.e5=+t,this._a("underlineOpacity",this.i.e5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverUnderlineOpacity",{get:function(){return this.i.ej},set:function(t){this.i.ej=+t,this._a("hoverUnderlineOpacity",this.i.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusUnderlineOpacity",{get:function(){return this.i.eh},set:function(t){this.i.eh=+t,this._a("focusUnderlineOpacity",this.i.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusUnderlineRippleOpacity",{get:function(){return this.i.ei},set:function(t){this.i.ei=+t,this._a("focusUnderlineRippleOpacity",this.i.ei)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"underlineRippleOpacity",{get:function(){return this.i.e6},set:function(t){this.i.e6=+t,this._a("underlineRippleOpacity",this.i.e6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.mc)},set:function(t){this.i.mc=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.mc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeBorderWidth",{get:function(){return this.i.el},set:function(t){this.i.el=+t,this._a("lineTypeBorderWidth",this.i.el)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusBorderWidth",{get:function(){return this.i.em},set:function(t){this.i.em=+t,this._a("lineTypeFocusBorderWidth",this.i.em)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.nt)},set:function(t){this.i.nt=i.stringToBrush(t),this._a("lineTypeFocusBorderColor",i.brushToString(this.i.nt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeBorderColor",{get:function(){return i.brushToString(this.i.ns)},set:function(t){this.i.ns=i.stringToBrush(t),this._a("lineTypeBorderColor",i.brushToString(this.i.ns))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusBottomRight",{get:function(){return this.i.kx?this.i.kx.c:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.c=+t,this._a("lineTypeCornerRadiusBottomRight",this.i.kx.c),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusBottomLeft",{get:function(){return this.i.kx?this.i.kx.b:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.b=+t,this._a("lineTypeCornerRadiusBottomLeft",this.i.kx.b),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopLeft",{get:function(){return this.i.kx?this.i.kx.d:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.d=+t,this._a("lineTypeCornerRadiusTopLeft",this.i.kx.d),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopRight",{get:function(){return this.i.kx?this.i.kx.e:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.e=+t,this._a("lineTypeCornerRadiusTopRight",this.i.kx.e),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),n.prototype.ensureLineTypeCornerRadius=function(){this.i.kx||(this.i.kx=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"lineTypeContentPaddingBottom",{get:function(){return this.i.on?this.i.on.bottom:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.bottom=+t,this._a("lineTypeContentPaddingBottom",this.i.on.bottom),this.i.on=this.i.on},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeContentPaddingLeft",{get:function(){return this.i.on?this.i.on.left:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.left=+t,this._a("lineTypeContentPaddingLeft",this.i.on.left),this.i.on=this.i.on},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeContentPaddingRight",{get:function(){return this.i.on?this.i.on.right:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.right=+t,this._a("lineTypeContentPaddingRight",this.i.on.right),this.i.on=this.i.on},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeContentPaddingTop",{get:function(){return this.i.on?this.i.on.top:NaN},set:function(t){this.ensureLineTypeContentPadding(),this.i.on.top=+t,this._a("lineTypeContentPaddingTop",this.i.on.top),this.i.on=this.i.on},enumerable:!1,configurable:!0}),n.prototype.ensureLineTypeContentPadding=function(){this.i.on||(this.i.on=new i.Thickness(2))},Object.defineProperty(n.prototype,"lineTypeUnderlineWidth",{get:function(){return this.i.eu},set:function(t){this.i.eu=+t,this._a("lineTypeUnderlineWidth",this.i.eu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineRippleWidth",{get:function(){return this.i.et},set:function(t){this.i.et=+t,this._a("lineTypeUnderlineRippleWidth",this.i.et)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeHoverUnderlineWidth",{get:function(){return this.i.eq},set:function(t){this.i.eq=+t,this._a("lineTypeHoverUnderlineWidth",this.i.eq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineColor",{get:function(){return i.brushToString(this.i.nw)},set:function(t){this.i.nw=i.stringToBrush(t),this._a("lineTypeUnderlineColor",i.brushToString(this.i.nw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.nx)},set:function(t){this.i.nx=i.stringToBrush(t),this._a("lineTypeUnderlineRippleColor",i.brushToString(this.i.nx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.nv)},set:function(t){this.i.nv=i.stringToBrush(t),this._a("lineTypeHoverUnderlineColor",i.brushToString(this.i.nv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.nu)},set:function(t){this.i.nu=i.stringToBrush(t),this._a("lineTypeFocusUnderlineColor",i.brushToString(this.i.nu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineOpacity",{get:function(){return this.i.er},set:function(t){this.i.er=+t,this._a("lineTypeUnderlineOpacity",this.i.er)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeHoverUnderlineOpacity",{get:function(){return this.i.ep},set:function(t){this.i.ep=+t,this._a("lineTypeHoverUnderlineOpacity",this.i.ep)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusUnderlineOpacity",{get:function(){return this.i.en},set:function(t){this.i.en=+t,this._a("lineTypeFocusUnderlineOpacity",this.i.en)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.eo},set:function(t){this.i.eo=+t,this._a("lineTypeFocusUnderlineRippleOpacity",this.i.eo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeUnderlineRippleOpacity",{get:function(){return this.i.es},set:function(t){this.i.es=+t,this._a("lineTypeUnderlineRippleOpacity",this.i.es)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeBackgroundColor",{get:function(){return i.brushToString(this.i.nr)},set:function(t){this.i.nr=i.stringToBrush(t),this._a("lineTypeBackgroundColor",i.brushToString(this.i.nr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeBorderWidth",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("boxTypeBorderWidth",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusBorderWidth",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("boxTypeFocusBorderWidth",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.mn)},set:function(t){this.i.mn=i.stringToBrush(t),this._a("boxTypeFocusBorderColor",i.brushToString(this.i.mn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeBorderColor",{get:function(){return i.brushToString(this.i.mm)},set:function(t){this.i.mm=i.stringToBrush(t),this._a("boxTypeBorderColor",i.brushToString(this.i.mm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusBottomRight",{get:function(){return this.i.kq?this.i.kq.c:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.c=+t,this._a("boxTypeCornerRadiusBottomRight",this.i.kq.c),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusBottomLeft",{get:function(){return this.i.kq?this.i.kq.b:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.b=+t,this._a("boxTypeCornerRadiusBottomLeft",this.i.kq.b),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopLeft",{get:function(){return this.i.kq?this.i.kq.d:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.d=+t,this._a("boxTypeCornerRadiusTopLeft",this.i.kq.d),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopRight",{get:function(){return this.i.kq?this.i.kq.e:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.e=+t,this._a("boxTypeCornerRadiusTopRight",this.i.kq.e),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),n.prototype.ensureBoxTypeCornerRadius=function(){this.i.kq||(this.i.kq=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"boxTypeContentPaddingBottom",{get:function(){return this.i.og?this.i.og.bottom:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.bottom=+t,this._a("boxTypeContentPaddingBottom",this.i.og.bottom),this.i.og=this.i.og},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeContentPaddingLeft",{get:function(){return this.i.og?this.i.og.left:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.left=+t,this._a("boxTypeContentPaddingLeft",this.i.og.left),this.i.og=this.i.og},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeContentPaddingRight",{get:function(){return this.i.og?this.i.og.right:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.right=+t,this._a("boxTypeContentPaddingRight",this.i.og.right),this.i.og=this.i.og},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeContentPaddingTop",{get:function(){return this.i.og?this.i.og.top:NaN},set:function(t){this.ensureBoxTypeContentPadding(),this.i.og.top=+t,this._a("boxTypeContentPaddingTop",this.i.og.top),this.i.og=this.i.og},enumerable:!1,configurable:!0}),n.prototype.ensureBoxTypeContentPadding=function(){this.i.og||(this.i.og=new i.Thickness(2))},Object.defineProperty(n.prototype,"boxTypeUnderlineWidth",{get:function(){return this.i.da},set:function(t){this.i.da=+t,this._a("boxTypeUnderlineWidth",this.i.da)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineRippleWidth",{get:function(){return this.i.c9},set:function(t){this.i.c9=+t,this._a("boxTypeUnderlineRippleWidth",this.i.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeHoverUnderlineWidth",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("boxTypeHoverUnderlineWidth",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineColor",{get:function(){return i.brushToString(this.i.mq)},set:function(t){this.i.mq=i.stringToBrush(t),this._a("boxTypeUnderlineColor",i.brushToString(this.i.mq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.mr)},set:function(t){this.i.mr=i.stringToBrush(t),this._a("boxTypeUnderlineRippleColor",i.brushToString(this.i.mr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.mp)},set:function(t){this.i.mp=i.stringToBrush(t),this._a("boxTypeHoverUnderlineColor",i.brushToString(this.i.mp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.mo)},set:function(t){this.i.mo=i.stringToBrush(t),this._a("boxTypeFocusUnderlineColor",i.brushToString(this.i.mo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineOpacity",{get:function(){return this.i.c7},set:function(t){this.i.c7=+t,this._a("boxTypeUnderlineOpacity",this.i.c7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeHoverUnderlineOpacity",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t,this._a("boxTypeHoverUnderlineOpacity",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusUnderlineOpacity",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("boxTypeFocusUnderlineOpacity",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("boxTypeFocusUnderlineRippleOpacity",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeUnderlineRippleOpacity",{get:function(){return this.i.c8},set:function(t){this.i.c8=+t,this._a("boxTypeUnderlineRippleOpacity",this.i.c8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeBackgroundColor",{get:function(){return i.brushToString(this.i.ml)},set:function(t){this.i.ml=i.stringToBrush(t),this._a("boxTypeBackgroundColor",i.brushToString(this.i.ml))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeBorderWidth",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("borderTypeBorderWidth",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusBorderWidth",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("borderTypeFocusBorderWidth",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.mg)},set:function(t){this.i.mg=i.stringToBrush(t),this._a("borderTypeFocusBorderColor",i.brushToString(this.i.mg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeBorderColor",{get:function(){return i.brushToString(this.i.mf)},set:function(t){this.i.mf=i.stringToBrush(t),this._a("borderTypeBorderColor",i.brushToString(this.i.mf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusBottomRight",{get:function(){return this.i.kp?this.i.kp.c:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.c=+t,this._a("borderTypeCornerRadiusBottomRight",this.i.kp.c),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusBottomLeft",{get:function(){return this.i.kp?this.i.kp.b:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.b=+t,this._a("borderTypeCornerRadiusBottomLeft",this.i.kp.b),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopLeft",{get:function(){return this.i.kp?this.i.kp.d:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.d=+t,this._a("borderTypeCornerRadiusTopLeft",this.i.kp.d),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopRight",{get:function(){return this.i.kp?this.i.kp.e:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.e=+t,this._a("borderTypeCornerRadiusTopRight",this.i.kp.e),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),n.prototype.ensureBorderTypeCornerRadius=function(){this.i.kp||(this.i.kp=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"borderTypeContentPaddingBottom",{get:function(){return this.i.of?this.i.of.bottom:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.bottom=+t,this._a("borderTypeContentPaddingBottom",this.i.of.bottom),this.i.of=this.i.of},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeContentPaddingLeft",{get:function(){return this.i.of?this.i.of.left:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.left=+t,this._a("borderTypeContentPaddingLeft",this.i.of.left),this.i.of=this.i.of},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeContentPaddingRight",{get:function(){return this.i.of?this.i.of.right:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.right=+t,this._a("borderTypeContentPaddingRight",this.i.of.right),this.i.of=this.i.of},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeContentPaddingTop",{get:function(){return this.i.of?this.i.of.top:NaN},set:function(t){this.ensureBorderTypeContentPadding(),this.i.of.top=+t,this._a("borderTypeContentPaddingTop",this.i.of.top),this.i.of=this.i.of},enumerable:!1,configurable:!0}),n.prototype.ensureBorderTypeContentPadding=function(){this.i.of||(this.i.of=new i.Thickness(2))},Object.defineProperty(n.prototype,"borderTypeUnderlineWidth",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("borderTypeUnderlineWidth",this.i.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineRippleWidth",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("borderTypeUnderlineRippleWidth",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeHoverUnderlineWidth",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t,this._a("borderTypeHoverUnderlineWidth",this.i.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineColor",{get:function(){return i.brushToString(this.i.mj)},set:function(t){this.i.mj=i.stringToBrush(t),this._a("borderTypeUnderlineColor",i.brushToString(this.i.mj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.mk)},set:function(t){this.i.mk=i.stringToBrush(t),this._a("borderTypeUnderlineRippleColor",i.brushToString(this.i.mk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.mi)},set:function(t){this.i.mi=i.stringToBrush(t),this._a("borderTypeHoverUnderlineColor",i.brushToString(this.i.mi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.mh)},set:function(t){this.i.mh=i.stringToBrush(t),this._a("borderTypeFocusUnderlineColor",i.brushToString(this.i.mh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineOpacity",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("borderTypeUnderlineOpacity",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeHoverUnderlineOpacity",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t,this._a("borderTypeHoverUnderlineOpacity",this.i.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusUnderlineOpacity",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("borderTypeFocusUnderlineOpacity",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("borderTypeFocusUnderlineRippleOpacity",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeUnderlineRippleOpacity",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("borderTypeUnderlineRippleOpacity",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeBackgroundColor",{get:function(){return i.brushToString(this.i.me)},set:function(t){this.i.me=i.stringToBrush(t),this._a("borderTypeBackgroundColor",i.brushToString(this.i.me))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeBorderWidth",{get:function(){return this.i.ev},set:function(t){this.i.ev=+t,this._a("searchTypeBorderWidth",this.i.ev)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusBorderWidth",{get:function(){return this.i.ew},set:function(t){this.i.ew=+t,this._a("searchTypeFocusBorderWidth",this.i.ew)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusBorderColor",{get:function(){return i.brushToString(this.i.n0)},set:function(t){this.i.n0=i.stringToBrush(t),this._a("searchTypeFocusBorderColor",i.brushToString(this.i.n0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeBorderColor",{get:function(){return i.brushToString(this.i.nz)},set:function(t){this.i.nz=i.stringToBrush(t),this._a("searchTypeBorderColor",i.brushToString(this.i.nz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusBottomRight",{get:function(){return this.i.ky?this.i.ky.c:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.c=+t,this._a("searchTypeCornerRadiusBottomRight",this.i.ky.c),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusBottomLeft",{get:function(){return this.i.ky?this.i.ky.b:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.b=+t,this._a("searchTypeCornerRadiusBottomLeft",this.i.ky.b),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopLeft",{get:function(){return this.i.ky?this.i.ky.d:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.d=+t,this._a("searchTypeCornerRadiusTopLeft",this.i.ky.d),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopRight",{get:function(){return this.i.ky?this.i.ky.e:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.e=+t,this._a("searchTypeCornerRadiusTopRight",this.i.ky.e),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),n.prototype.ensureSearchTypeCornerRadius=function(){this.i.ky||(this.i.ky=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"searchTypeContentPaddingBottom",{get:function(){return this.i.oo?this.i.oo.bottom:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.bottom=+t,this._a("searchTypeContentPaddingBottom",this.i.oo.bottom),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeContentPaddingLeft",{get:function(){return this.i.oo?this.i.oo.left:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.left=+t,this._a("searchTypeContentPaddingLeft",this.i.oo.left),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeContentPaddingRight",{get:function(){return this.i.oo?this.i.oo.right:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.right=+t,this._a("searchTypeContentPaddingRight",this.i.oo.right),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeContentPaddingTop",{get:function(){return this.i.oo?this.i.oo.top:NaN},set:function(t){this.ensureSearchTypeContentPadding(),this.i.oo.top=+t,this._a("searchTypeContentPaddingTop",this.i.oo.top),this.i.oo=this.i.oo},enumerable:!1,configurable:!0}),n.prototype.ensureSearchTypeContentPadding=function(){this.i.oo||(this.i.oo=new i.Thickness(2))},Object.defineProperty(n.prototype,"searchTypeUnderlineWidth",{get:function(){return this.i.e4},set:function(t){this.i.e4=+t,this._a("searchTypeUnderlineWidth",this.i.e4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineRippleWidth",{get:function(){return this.i.e3},set:function(t){this.i.e3=+t,this._a("searchTypeUnderlineRippleWidth",this.i.e3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeHoverUnderlineWidth",{get:function(){return this.i.e0},set:function(t){this.i.e0=+t,this._a("searchTypeHoverUnderlineWidth",this.i.e0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineColor",{get:function(){return i.brushToString(this.i.n3)},set:function(t){this.i.n3=i.stringToBrush(t),this._a("searchTypeUnderlineColor",i.brushToString(this.i.n3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineRippleColor",{get:function(){return i.brushToString(this.i.n4)},set:function(t){this.i.n4=i.stringToBrush(t),this._a("searchTypeUnderlineRippleColor",i.brushToString(this.i.n4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeHoverUnderlineColor",{get:function(){return i.brushToString(this.i.n2)},set:function(t){this.i.n2=i.stringToBrush(t),this._a("searchTypeHoverUnderlineColor",i.brushToString(this.i.n2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusUnderlineColor",{get:function(){return i.brushToString(this.i.n1)},set:function(t){this.i.n1=i.stringToBrush(t),this._a("searchTypeFocusUnderlineColor",i.brushToString(this.i.n1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineOpacity",{get:function(){return this.i.e1},set:function(t){this.i.e1=+t,this._a("searchTypeUnderlineOpacity",this.i.e1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeHoverUnderlineOpacity",{get:function(){return this.i.ez},set:function(t){this.i.ez=+t,this._a("searchTypeHoverUnderlineOpacity",this.i.ez)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusUnderlineOpacity",{get:function(){return this.i.ex},set:function(t){this.i.ex=+t,this._a("searchTypeFocusUnderlineOpacity",this.i.ex)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeFocusUnderlineRippleOpacity",{get:function(){return this.i.ey},set:function(t){this.i.ey=+t,this._a("searchTypeFocusUnderlineRippleOpacity",this.i.ey)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeUnderlineRippleOpacity",{get:function(){return this.i.e2},set:function(t){this.i.e2=+t,this._a("searchTypeUnderlineRippleOpacity",this.i.e2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeBackgroundColor",{get:function(){return i.brushToString(this.i.ny)},set:function(t){this.i.ny=i.stringToBrush(t),this._a("searchTypeBackgroundColor",i.brushToString(this.i.ny))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isExpanded",{get:function(){return this.i.an},set:function(t){this.i.an=i.ensureBool(t),this._a("isExpanded",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHovered",{get:function(){return this.i.ap},set:function(t){this.i.ap=i.ensureBool(t),this._a("isHovered",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFocused",{get:function(){return this.i.ao},set:function(t){this.i.ao=i.ensureBool(t),this._a("isFocused",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIsExpanded",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("actualIsExpanded",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBorderColor",{get:function(){return i.brushToString(this.i.no)},set:function(t){this.i.no=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.no))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.hk},set:function(t){this.i.hk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.inputs&&this.inputs.findByName&&this.inputs.findByName(t)?this.inputs.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("XInputGroupComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.fe()},n.prototype.exportSerializedVisualModel=function(){return this.i.hb()},n._observedAttributesIgcXInputGroupComponent=null,n.htmlTagName="igc-x-input-group",n._isElementRegistered=!1,n}(i.IgcHTMLElement),St=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),xt.register(),wt.register(),Pt.register(),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Pt),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Pt),i.TypeRegistrar.register("XInputGroup",dt.$type)},t}(),Ot=function(t){return t[t.DateShort=0]="DateShort",t[t.DateLong=1]="DateLong",t}({}),jt=i.markEnum("DateFormats","DateShort,0|DateLong,1"),It=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=!1,e.f=null,e.e=null,e.c=null,e.d=null,e.g=null,e.h=null,e}return e.__extends(n,t),n.prototype.l=function(){this.b=!0},n.prototype.k=function(t){this.a=t,this.b=!1},n.prototype.i=function(t){if(+t==+i.dateMinValue())return"";if(Intl&&Intl.DateTimeFormat){var e=null;switch(this.a){case 1:null==this.c&&(this.c=new Intl.DateTimeFormat([],{weekday:"long",month:"long",day:"numeric",year:"numeric"})),e=this.c;break;case 0:null==this.d&&(this.d=new Intl.DateTimeFormat([],{month:"numeric",day:"numeric",year:"numeric"})),e=this.d}var n=t;return e.format(n)}n=t;switch(this.a){case 1:case 0:return n.toLocaleDateString()}return t.toString()},n.prototype.j=function(){if(Intl&&Intl.DateTimeFormat){var t=null;switch(this.a){case 1:null==this.c&&(this.c=new Intl.DateTimeFormat([],{weekday:"long",month:"long",day:"numeric",year:"numeric"})),t=this.c;break;case 0:null==this.d&&(this.d=new Intl.DateTimeFormat([],{month:"numeric",day:"numeric",year:"numeric"})),t=this.d}for(var e=t.formatToParts(new Date),i="",n=0;n<e.length;n++)switch(e[n].type){case"day":i+="d";break;case"month":i+="m";break;case"year":i+="yyyy";break;default:i+=e[n].value}return i}return"m/d/yyyy"},n.$t=i.markType(n,"DateTimeValueFormatter"),n}(i.Base),Ut=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"GotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Nt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"LostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Ft=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.d=0,e.j=null,e.k=null,e.l=null,e.f=0,e.h=null,e.i=null,e.c=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.prototype.g=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("density : "+this.e+", "),t.l("baseTheme : "+this.d+", "),i.stringIsNullOrEmpty(this.j)||t.l('textStyleFontStyle : "'+this.j+'", '),i.stringIsNullOrEmpty(this.k)||t.l('textStyleFontVariant : "'+this.k+'", '),i.stringIsNullOrEmpty(this.l)||t.l('textStyleFontWeight : "'+this.l+'", '),i.stringIsNullOrEmpty(this.h)||t.l('textStyleFontFamily : "'+this.h+'", '),i.stringIsNullOrEmpty(this.i)||t.l('textStyleFontStretch : "'+this.i+'", '),i.isNaN_(this.f)||t.l("textStyleFontSize : "+this.f+", ");t.l("popupModel: "+this.c.f()+", ");t.l("inputGroupModel: "+this.b.y()+", ");var e="calendarModel";return this.c.d?t.l(e+": "+this.a.o()+", "):t.l(e+":{}, "),t.l("}"),t.toString()},n.$t=i.markType(n,"DatePickerVisualModelExport"),n}(i.Base),At=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.d=null,e.k=null,e.e=null,e.m=null,e.l=null,e.j=null,e.g=null,e.f=null,e.i=null,e.h=null,e.o=null,e.document_Click=e.document_Click.bind(e),e.window_Resize=e.window_Resize.bind(e),e}return e.__extends(n,t),n.prototype.am=function(){},Object.defineProperty(n.prototype,"n",{get:function(){return this.e},enumerable:!1,configurable:!0}),n.prototype.ak=function(t){if(null!=t){this.d=t;Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.ad(),this.ae();var e=this.d.rootWrapper.getChildAt(0);e.listen("keydown",i.runOn(this,this.y)),e.listen("focusin",i.runOn(this,this.w)),e.listen("focusout",i.runOn(this,this.x)),document.addEventListener("click",this.document_Click,!1),window.addEventListener("resize",this.window_Resize,!1),this.o=new MutationObserver(i.runOn(this,this.al))}else{this.b.cr(),null!=this.d&&(this.d.rootWrapper.getChildAt(0).unlistenAll(),document.removeEventListener("click",this.document_Click,!1),window.removeEventListener("resize",this.window_Resize,!1)),this.d=null}},n.prototype.ad=function(){null!=this.d&&(this.k=this.d.rootWrapper.getChildAt(0),this.k.setAttribute("tabIndex",this.b.bf.toString()),this.k.setStyleProperty("display","flex"),this.k.setStyleProperty("height","100%"),this.l=this.d.createElement("div"),this.j=this.d.createElement("div"),this.j.setRawStyleProperty("flex-grow","1"),this.g=this.d.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.f=this.d.createElement("div"),this.g.setStyleProperty("padding-right","2px"),this.i=this.d.createElement("div"),this.i.setAttribute("aria-hidden","true"),this.h=this.d.createElement("div"),this.b.cs(),this.j.getChildAt(0).setAttribute("aria-expanded","fasle"),this.j.getChildAt(0).setAttribute("aria-invalid","false"),this.f.setStyleProperty("height","16px"),this.f.setStyleProperty("width","16px"),this.h.setStyleProperty("height","16px"),this.h.setStyleProperty("width","16px"),this.f.listen("click",i.runOn(this,this.ac)),this.f.listen("mousedown",i.runOn(this,this.aa)),this.f.listen("mouseleave",i.runOn(this,this.ab)),this.h.listen("click",i.runOn(this,this.ag)))},n.prototype.aq=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.k);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.as=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.l);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.ar=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.j);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.au=function(t,e){if(null!=this.d){var i=this.d.getSubRenderer(e);t.provideContainer(i);i.getExternal(t,i.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.ap=function(t,e){if(null!=this.d){var i=this.d.getSubRenderer(e);t.provideContainer(i);i.getExternal(t,i.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.v=function(){return this.l},n.prototype.u=function(){return this.j},n.prototype.r=function(){return this.g},n.prototype.q=function(){return this.f},n.prototype.t=function(){return this.i},n.prototype.s=function(){return this.h},n.prototype.aw=function(t){null!=this.j&&(t?this.j.getChildAt(0).setAttribute("aria-expanded","true"):this.j.getChildAt(0).setAttribute("aria-expanded","false"))},n.prototype.ay=function(t){null!=t&&""!=t?this.j.getChildAt(0).setAttribute("aria-label",t):this.j.getChildAt(0).setAttribute("aria-label","Select a date")},n.prototype.av=function(){null!=this.f&&(1==this.b.a0?this.f.show():this.f.hide())},n.prototype.ah=function(){null!=this.f&&this.f.hide()},n.prototype.ax=function(){this.k.setAttribute("tabIndex",this.b.bf.toString())},n.prototype.an=function(){this.o.observe(document,{childList:!0,subtree:!0})},n.prototype.aj=function(){this.o.disconnect()},n.prototype.ae=function(){null!=this.d&&(this.m=this.d.rootWrapper.getChildAt(1),this.e=this.d.createElement("div"),this.e.setStyleProperty("width","100%"),this.e.setStyleProperty("height","100%"),this.e.setStyleProperty("display","flex"),this.b.ct(),this.e.parent().setStyleProperty("height","100%"),1==this.b.a2?this.e.parent().parent().setStyleProperty("max-width","245px"):this.e.parent().parent().setStyleProperty("max-width","232px"))},n.prototype.z=function(){null!=this.d&&(1==this.b.a2?this.e.parent().parent().setStyleProperty("max-width","245px"):this.e.parent().parent().setStyleProperty("max-width","232px"))},n.prototype.at=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.m);t.provideRenderer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.ao=function(t){if(null!=this.d){var e=this.d.getSubRenderer(this.e);t.provideContainer(e);e.getExternal(t,e.rootWrapper,this.d.getExternal(this.b,null,null))}},n.prototype.p=function(){return this.e},n.prototype.ac=function(t){1!=this.b.av&&(this.b.cq(),null!=this.f&&this.f.hide())},n.prototype.aa=function(t){this.b.c9()},n.prototype.ab=function(t){this.b.da()},n.prototype.ag=function(t){t.stopPropagation(),this.b.cy()},n.prototype.y=function(t){27==t.which&&this.b.cr()},n.prototype.w=function(t){this.b.focus();var e=t.originalEvent.relatedTarget;this.c(e)||this.b.c4()},n.prototype.x=function(t){var e=t.originalEvent.relatedTarget;this.c(e)||(this.b.cx(),this.b.c5())},n.prototype.al=function(t,e){if(null!=this.d){var i=this.d.rootWrapper.getNativeElement();document.documentElement.contains(i)||this.b.cr()}else this.b.cr()},n.prototype.document_Click=function(t){var e=t.target;this.c(e)||this.b.cr()},n.prototype.window_Resize=function(t){this.b.dn()},n.prototype.a0=function(t){if(null!=this.d){var e=this.d.rootWrapper.getNativeElement().getBoundingClientRect();return t&&(e=new i.Rect(0,e.left+window.pageXOffset,e.top+window.pageYOffset,e.width,e.height)),e}return null},n.prototype.a=function(){var t=window.innerWidth,e=window.innerHeight,i=new Array(2);return i[0]=t,i[1]=e,i},n.prototype.c=function(t){if(null==t)return!1;var e=this.d.rootWrapper.getNativeElement(),i=this.e.getNativeElement();return e.contains(t)||i.contains(t)},n.prototype.ai=function(){},n.$t=i.markType(n,"DatePickerView"),n}(i.Base),Rt=function(t){function n(){var e=t.call(this)||this;e.h=null,e.u=null,e.q=null,e.o=null,e.r=null,e.m=null,e.n=null,e.c=null,e.bh="dd",e.bl="mm",e.bo="yyyy",e.bi="mdy",e.bn="/",e.ah=!1,e.at=!1,e.ar=!1,e.a6=i.dateMinValue(),e.ai=!1,e.propertyChanged=null,e.selectedValueChanged=null,e.ae=null,e.a8=i.dateMinValue(),e.a7=i.dateMinValue(),e.bk="",e.du=i.BrushUtil.l(255,24,29,31),e.z=null,e.bm="",e.a5=i.dateMinValue(),e.a4=i.dateMaxValue(),e.x=2,e.v=1,e.aa=null,e.dv=i.BrushUtil.l(255,24,29,31),e.dt=i.BrushUtil.l(255,163,172,184),e.ao=!0,e.ap=!1,e.ag=!0,e.an=!0,e.i=0,e.k=0,e.aq=!1,e.a=new It,e.d=0,e.bj=null,e.aj=!1,e.be=0,e.ak=!1,e.am=!1,e.as=!1,e.al=!1,e.gotFocus=null,e.lostFocus=null,e.keyDown=null,e.changing=null;var n=new At;return n.b=e,e.h=n,e.h.am(),e.cp(),e}return e.__extends(n,t),n.prototype.dc=function(t,e){var i;null!=this.u&&(this.ah=!0,this.cr()),this.dm(),null!=this.selectedValueChanged&&this.selectedValueChanged(this,((i=new j).oldValue=t,i.newValue=e,i)),this.ai&&this.dg()},n.prototype.notifySizeChanged=function(){this.h.ai()},n.prototype.destroy=function(){if(null!=this.c){var t=this.c;t.selectedValueChanged=i.delegateRemove(t.selectedValueChanged,i.runOn(this,this.co));var e=this.c;e.close=i.delegateRemove(e.close,i.runOn(this,this.cn))}this.provideContainer(null)},n.prototype.provideContainer=function(t){this.h.ak(t)},n.prototype.setName=function(t){this.o.e=t},Object.defineProperty(n.prototype,"af",{get:function(){return null==this.ae&&(this.ae=new i.SRProvider(this.h.d),this.ae.cb("Calendar")),this.ae},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a6=e,this.a8=t,+e!=+this.a8&&this.db("Value",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,+e!=+this.a7&&this.db("Today",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.db("Label",e,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dx",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.db("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.db("LabelTextStyle",e,this.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.db("Placeholder",e,this.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,+e!=+this.a5&&this.db("MinDate",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,+e!=+this.a4&&this.db("MaxDate",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.db("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.db("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.db("TextStyle",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dy",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.db("TextColor",e,this.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dw",{get:function(){return this.dt},set:function(t){var e=this.dt;this.dt=t,e!=this.dt&&this.db("IconColor",e,this.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a0",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.db("ShowClearButton",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.db("ShowTodayButton",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.db("AllowTextInput",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.db("OpenOnFocus",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.db("FirstDayOfWeek",i.enumGetBox(T,e),i.enumGetBox(T,this.i))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.db("FirstWeekOfYear",i.enumGetBox(O,e),i.enumGetBox(O,this.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.db("ShowWeekNumbers",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.d!=e&&this.db("DateFormat",i.enumGetBox(jt,e),i.enumGetBox(jt,this.d))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.db("FormatString",e,this.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.db("IsDisabled",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.db("TabIndex",e,this.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.db("IsFixed",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ax",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.db("OpenAsChild",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.db("UseTopLayer",e,this.as)},enumerable:!1,configurable:!0}),n.prototype.db=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.de(t,e,n)},n.prototype.de=function(t,e,n){switch(t){case"Density":this.dh();break;case"BaseTheme":this.dj();break;case"Value":+i.dateGetDate(this.value)!=+i.dateGetDate(i.dateMinValue())&&(i.dateGetDate(this.value)<i.dateGetDate(this.ba)||i.dateGetDate(this.value)>i.dateGetDate(this.a9))&&(this.ai=!0,this.value=this.a6,this.ai=!1),this.dc(this.a6,this.value),this.a6=this.value,null!=this.c&&(+i.dateGetDate(this.value)==+i.dateGetDate(i.dateMinValue())?this.c.value=i.dateMinValue():this.c.value=this.value);break;case"Label":null!=this.r&&(this.r.text=this.b4,null!=this.b4&&""!=this.b4?this.q.inputs.contains(this.r)||this.q.inputs.insert(0,this.r):this.q.inputs.contains(this.r)&&this.q.inputs.remove(this.r));break;case"Placeholder":null!=this.o&&(this.o.cg=this.cc,this.h.ay(this.cc));break;case"Today":null!=this.c&&(this.c.av=this.bb);break;case"MaxDate":if(null!=this.c)i.Base.compareSimple(this.ba,this.a9)>=0&&(this.a9=i.dateMaxValue()),this.c.at=this.a4;i.dateGetDate(this.value)>i.dateGetDate(this.a9)&&(this.a6=i.dateMinValue(),this.ai=!0,this.value=i.dateMinValue(),this.ai=!1);break;case"MinDate":if(null!=this.c)this.c.au=this.a5,i.Base.compareSimple(this.ba,this.a9)>=0&&(this.a6=i.dateMaxValue(),this.c.at=this.a9);i.dateGetDate(this.value)<i.dateGetDate(this.ba)&&(this.a6=i.dateMinValue(),this.ai=!0,this.value=i.dateMinValue(),this.ai=!1);break;case"TextStyle":this.dp();break;case"ShowClearButton":null!=this.o&&""!=this.o.cq&&this.h.av();break;case"LabelTextColor":case"LabelTextStyle":case"TextColor":case"IconColor":this.dq();break;case"ShowTodayButton":null!=this.c&&(this.c.ae=this.a1,this.h.z());break;case"AllowTextInput":null!=this.o&&(this.o.disabled=this.az());break;case"OpenOnFocus":break;case"DateFormat":this.a.k(this.e),this.dm();break;case"FormatString":this.cp(),this.dm();break;case"FirstDayOfWeek":null!=this.c&&(this.c.l=this.j);break;case"ShowWeekNumbers":null!=this.c&&(this.c.af=this.a2,this.h.z());break;case"FirstWeekOfYear":null!=this.c&&(this.c.o=this.l);break;case"IsDisabled":null!=this.q&&(this.q.disabled=this.av),null!=this.o&&(this.o.disabled=this.az());break;case"TabIndex":this.h.ax();break;case"IsFixed":null!=this.u&&(this.u.ar=this.aw);break;case"UseTopLayer":null!=this.u&&(this.u.ay=this.a3)}},n.prototype.az=function(){return this.av||!this.au},n.prototype.cp=function(){var t="/",e=null!=this.bz?this.bz.toLowerCase():this.a.j();i.stringContains(e,"/")?t="/":i.stringContains(e,"-")?t="-":i.stringContains(e," ")?t=" ":i.stringContains(e,".")?t=".":i.stringContains(e,",")&&(t=","),this.bn=t.toString();var n=e.split(t);if(3==n.length){for(var r="",o=0;o<3;o++)if(i.stringContains(n[o],"d"))switch(r+="d",n[o]){case"d":case"dd":case"ddd":case"dddd":this.bh=n[o];break;default:this.bh="dd"}else if(i.stringContains(n[o],"m")){switch(r+="m",n[o]){case"m":case"mm":case"mmm":case"mmmm":this.bl=n[o];break;default:this.bl="mm"}this.bl=n[o]}else if(i.stringContains(n[o],"y"))switch(r+="y",n[o]){case"yy":case"yyyy":this.bo=n[o];break;default:this.bo="yyyy"}this.bi="dmy"==r||"mdy"==r||"ymd"==r?r:"mdy"}},n.prototype.dq=function(){null!=this.o&&(this.o.d8=this.dy),null!=this.m&&(this.m.fill=this.dw),null!=this.n&&(this.n.fill=this.dw),null!=this.r&&(this.r.dj=this.dx,this.r.y=this.ac)},n.prototype.dl=function(){this.q},n.prototype.dp=function(){null!=this.aa&&(this.o.af=this.aa)},n.prototype.cs=function(){this.q=new dt,this.h.aq(this.q),this.q.d=0,this.q.p=this.w,this.q.t=this.y,this.r=new bt,this.h.as(this.r),this.r.dj=this.dx,this.r.y=this.ac,this.q.appendContentChild(this.h.v()),null!=this.b4&&""!=this.b4&&(this.r.text=this.b4,this.q.inputs.add(this.r)),this.o=new yt,this.h.ar(this.o),this.o.b8="text",null!=this.aa&&(this.o.af=this.aa),this.o.disabled=this.az(),this.o.d8=this.dy,this.q.appendContentChild(this.h.u()),this.q.inputs.add(this.o),this.o.cg=this.cc,this.h.ay(this.cc);var t=this.o;t.change=i.delegateCombine(t.change,i.runOn(this,this.cz));var e=this.o;e.changing=i.delegateCombine(e.changing,i.runOn(this,this.c0));var r=this.o;r.keyDown=i.delegateCombine(r.keyDown,i.runOn(this,this.c1));var o=new ct;this.h.au(o,this.h.r()),this.m=new B,this.h.ap(this.m,this.h.q()),this.m.svgPath=n.bs,this.m.fill=this.dw,o.appendContentChild(this.h.q()),this.q.appendContentChild(this.h.r()),this.q.inputs.add(o),this.dm();var s=new ct;this.h.au(s,this.h.t()),this.n=new B,this.h.ap(this.n,this.h.s()),this.n.svgPath=n.br,this.n.fill=this.dw,s.appendContentChild(this.h.s()),this.q.appendContentChild(this.h.t()),this.q.inputs.add(s)},n.prototype.c1=function(t,e){if(this.c7(e),!e.defaultPrevented){var i=e.keyCode,n=e.modifiers;switch(i){case 9:case 13:this.ar=!0,this.at||this.ds(this.o.cq),this.ah=!0,this.cr(),this.ar=!1;break;case 40:1==n&&(this.dd(),this.cw());break;case 38:1==n&&this.cr()}}},n.prototype.c0=function(t,e){this.c3(e),e.value.length>0?this.h.av():this.h.ah()},n.prototype.cz=function(t,e){this.at=!0,this.ds(e.value),this.at=!1},n.prototype.ds=function(t){var e=i.stringSplit(t,["/","-"," ",".",","],1),n=0,r=0,o=0,s=!0;if(3==e.length){if(0!=e[0].length&&0!=e[1].length&&0!=e[2].length||(s=!1),"dmy"==this.bi?(n=parseInt(e[0]),r=parseInt(e[1]),o=parseInt(e[2])):"mdy"==this.bi?(r=parseInt(e[0]),n=parseInt(e[1]),o=parseInt(e[2])):"ymd"==this.bi&&(o=parseInt(e[0]),r=parseInt(e[1]),n=parseInt(e[2])),(i.isNaN_(n)||i.isNaN_(o))&&(s=!1),o<50&&(o+=2e3),i.isNaN_(r)){var a="";"dmy"==this.bi?a=e[1].toLowerCase():"mdy"==this.bi?a=e[0].toLowerCase():"ymd"==this.bi&&(a=e[1].toLowerCase());var h=i.stringIsNullOrWhiteSpace(this.af.b1("January_Full"))?"january":this.af.b1("January_Full").toLowerCase(),l=i.stringIsNullOrWhiteSpace(this.af.b1("January_Short"))?"jan":this.af.b1("January_Short").toLowerCase(),u=i.stringIsNullOrWhiteSpace(this.af.b1("February_Full"))?"february":this.af.b1("February_Full").toLowerCase(),c=i.stringIsNullOrWhiteSpace(this.af.b1("February_Short"))?"feb":this.af.b1("February_Short").toLowerCase(),p=i.stringIsNullOrWhiteSpace(this.af.b1("March_Full"))?"march":this.af.b1("March_Full").toLowerCase(),d=i.stringIsNullOrWhiteSpace(this.af.b1("March_Short"))?"mar":this.af.b1("March_Short").toLowerCase(),f=i.stringIsNullOrWhiteSpace(this.af.b1("April_Full"))?"april":this.af.b1("April_Full").toLowerCase(),b=i.stringIsNullOrWhiteSpace(this.af.b1("April_Short"))?"apr":this.af.b1("April_Short").toLowerCase(),y=i.stringIsNullOrWhiteSpace(this.af.b1("May_Full"))?"may":this.af.b1("May_Full").toLowerCase(),g=i.stringIsNullOrWhiteSpace(this.af.b1("May_Short"))?"may":this.af.b1("May_Short").toLowerCase(),m=i.stringIsNullOrWhiteSpace(this.af.b1("June_Full"))?"june":this.af.b1("June_Full").toLowerCase(),v=i.stringIsNullOrWhiteSpace(this.af.b1("June_Short"))?"jun":this.af.b1("June_Short").toLowerCase(),_=i.stringIsNullOrWhiteSpace(this.af.b1("July_Full"))?"july":this.af.b1("July_Full").toLowerCase(),C=i.stringIsNullOrWhiteSpace(this.af.b1("July_Short"))?"jul":this.af.b1("July_Short").toLowerCase(),B=i.stringIsNullOrWhiteSpace(this.af.b1("August_Full"))?"august":this.af.b1("August_Full").toLowerCase(),x=i.stringIsNullOrWhiteSpace(this.af.b1("August_Short"))?"aug":this.af.b1("August_Short").toLowerCase(),k=i.stringIsNullOrWhiteSpace(this.af.b1("September_Full"))?"september":this.af.b1("September_Full").toLowerCase(),w=i.stringIsNullOrWhiteSpace(this.af.b1("September_Short"))?"sep":this.af.b1("September_Short").toLowerCase(),T=i.stringIsNullOrWhiteSpace(this.af.b1("October_Full"))?"october":this.af.b1("October_Full").toLowerCase(),P=i.stringIsNullOrWhiteSpace(this.af.b1("October_Short"))?"oct":this.af.b1("October_Short").toLowerCase(),S=i.stringIsNullOrWhiteSpace(this.af.b1("November_Full"))?"november":this.af.b1("November_Full").toLowerCase(),O=i.stringIsNullOrWhiteSpace(this.af.b1("November_Short"))?"nov":this.af.b1("November_Short").toLowerCase(),j=i.stringIsNullOrWhiteSpace(this.af.b1("December_Full"))?"december":this.af.b1("December_Full").toLowerCase(),I=i.stringIsNullOrWhiteSpace(this.af.b1("December_Short"))?"dec":this.af.b1("December_Short").toLowerCase();a==h||a==l?r=1:a==u||a==c?r=2:a==p||a==d?r=3:a==f||a==b?r=4:a==y||a==g?r=5:a==m||a==v?r=6:a==_||a==C?r=7:a==B||a==x?r=8:a==k||a==w?r=9:a==T||a==P?r=10:a==S||a==O?r=11:a==j||a==I?r=12:s=!1}(r>12||r<1)&&(s=!1)}else s=!1;if(s){var U=i.dateFromValues(o,r,n,0,0,0,0),N=i.Base.compareSimple(U,this.ba),F=i.Base.compareSimple(U,this.a9);N<0||F>0?this.dm():(this.dr(U),this.h.av())}else i.stringIsNullOrEmpty(t)?this.cq():this.dm()},n.prototype.dr=function(t){this.value;this.value=t},n.prototype.dm=function(){if(null!=this.o)if(+i.dateGetDate(this.a8)!=+i.dateGetDate(i.dateMinValue())){var t="";if(null==this.bz)t=this.a.i(this.value);else{var e=this.value.getDate().toString(),n=e;if("dd"==this.bh)this.value.getDate()<10&&(e="0"+e);else if("ddd"==this.bh)switch(this.value.getDay()){case 0:e=i.stringIsNullOrWhiteSpace(this.af.b1("Sunday_Short"))?"Sun":this.af.b1("Sunday_Short");break;case 1:e=i.stringIsNullOrWhiteSpace(this.af.b1("Monday_Short"))?"Mon":this.af.b1("Monday_Short");break;case 2:e=i.stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Short"))?"Tue":this.af.b1("Tuesday_Short");break;case 3:e=i.stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Short"))?"Wed":this.af.b1("Wednesday_Short");break;case 4:e=i.stringIsNullOrWhiteSpace(this.af.b1("Thursday_Short"))?"Thu":this.af.b1("Thursday_Short");break;case 5:e=i.stringIsNullOrWhiteSpace(this.af.b1("Friday_Short"))?"Fri":this.af.b1("Friday_Short");break;case 6:e=i.stringIsNullOrWhiteSpace(this.af.b1("Saturday_Short"))?"Sat":this.af.b1("Saturday_Short")}else if("dddd"==this.bh)switch(this.value.getDay()){case 0:e=i.stringIsNullOrWhiteSpace(this.af.b1("Sunday_Full"))?"Sunday":this.af.b1("Sunday_Full");break;case 1:e=i.stringIsNullOrWhiteSpace(this.af.b1("Monday_Full"))?"Monday":this.af.b1("Monday_Full");break;case 2:e=i.stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Full"))?"Tuesday":this.af.b1("Tuesday_Full");break;case 3:e=i.stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Full"))?"Wednesday":this.af.b1("Wednesday_Full");break;case 4:e=i.stringIsNullOrWhiteSpace(this.af.b1("Thursday_Full"))?"Thursday":this.af.b1("Thursday_Full");break;case 5:e=i.stringIsNullOrWhiteSpace(this.af.b1("Friday_Full"))?"Friday":this.af.b1("Friday_Full");break;case 6:e=i.stringIsNullOrWhiteSpace(this.af.b1("Saturday_Full"))?"Saturday":this.af.b1("Saturday_Full")}var r=i.dateGetMonth(this.value).toString();if("mm"==this.bl)i.dateGetMonth(this.value)<10&&(r="0"+r);else if("mmm"==this.bl)switch(i.dateGetMonth(this.value)){case 1:r=i.stringIsNullOrWhiteSpace(this.af.b1("January_Short"))?"Jan":this.af.b1("January_Short");break;case 2:r=i.stringIsNullOrWhiteSpace(this.af.b1("February_Short"))?"Feb":this.af.b1("February_Short");break;case 3:r=i.stringIsNullOrWhiteSpace(this.af.b1("March_Short"))?"Mar":this.af.b1("March_Short");break;case 4:r=i.stringIsNullOrWhiteSpace(this.af.b1("April_Short"))?"Apr":this.af.b1("April_Short");break;case 5:r=i.stringIsNullOrWhiteSpace(this.af.b1("May_Short"))?"May":this.af.b1("May_Short");break;case 6:r=i.stringIsNullOrWhiteSpace(this.af.b1("June_Short"))?"Jun":this.af.b1("June_Short");break;case 7:r=i.stringIsNullOrWhiteSpace(this.af.b1("July_Short"))?"Jul":this.af.b1("July_Short");break;case 8:r=i.stringIsNullOrWhiteSpace(this.af.b1("August_Short"))?"Aug":this.af.b1("August_Short");break;case 9:r=i.stringIsNullOrWhiteSpace(this.af.b1("September_Short"))?"Sep":this.af.b1("September_Short");break;case 10:r=i.stringIsNullOrWhiteSpace(this.af.b1("October_Short"))?"Oct":this.af.b1("October_Short");break;case 11:r=i.stringIsNullOrWhiteSpace(this.af.b1("November_Short"))?"Nov":this.af.b1("November_Short");break;case 12:r=i.stringIsNullOrWhiteSpace(this.af.b1("December_Short"))?"Dec":this.af.b1("December_Short")}else if("mmmm"==this.bl)switch(i.dateGetMonth(this.value)){case 1:r=i.stringIsNullOrWhiteSpace(this.af.b1("January_Full"))?"January":this.af.b1("January_Full");break;case 2:r=i.stringIsNullOrWhiteSpace(this.af.b1("February_Full"))?"February":this.af.b1("February_Full");break;case 3:r=i.stringIsNullOrWhiteSpace(this.af.b1("March_Full"))?"March":this.af.b1("March_Full");break;case 4:r=i.stringIsNullOrWhiteSpace(this.af.b1("April_Full"))?"April":this.af.b1("April_Full");break;case 5:r=i.stringIsNullOrWhiteSpace(this.af.b1("May_Full"))?"May":this.af.b1("May_Full");break;case 6:r=i.stringIsNullOrWhiteSpace(this.af.b1("June_Full"))?"June":this.af.b1("June_Full");break;case 7:r=i.stringIsNullOrWhiteSpace(this.af.b1("July_Full"))?"July":this.af.b1("July_Full");break;case 8:r=i.stringIsNullOrWhiteSpace(this.af.b1("August_Full"))?"August":this.af.b1("August_Full");break;case 9:r=i.stringIsNullOrWhiteSpace(this.af.b1("September_Full"))?"September":this.af.b1("September_Full");break;case 10:r=i.stringIsNullOrWhiteSpace(this.af.b1("October_Full"))?"October":this.af.b1("October_Full");break;case 11:r=i.stringIsNullOrWhiteSpace(this.af.b1("November_Full"))?"November":this.af.b1("November_Full");break;case 12:r=i.stringIsNullOrWhiteSpace(this.af.b1("December_Full"))?"December":this.af.b1("December_Full")}var o=this.value.getFullYear().toString();"yy"==this.bo&&(o=o.substr(2)),"dmy"==this.bi?t="ddd"==this.bh||"dddd"==this.bh?e+this.bn+r+" "+n+this.bn+o:e+this.bn+r+this.bn+o:"mdy"==this.bi?t="ddd"==this.bh||"dddd"==this.bh?r+" "+n+this.bn+e+this.bn+o:r+this.bn+e+this.bn+o:"ymd"==this.bi&&(t="ddd"==this.bh||"dddd"==this.bh?o+this.bn+r+" "+n+this.bn+e:o+this.bn+r+this.bn+e)}this.o.cq=t,this.h.av()}else this.o.cq="",this.h.ah()},n.prototype.cq=function(){1!=this.av&&(null!=this.o&&(this.o.cq=""),this.value=i.dateMinValue(),this.c.ch(),this.al=!1)},n.prototype.c9=function(){this.al=!0},n.prototype.da=function(){this.al=!1},n.prototype.ct=function(){this.u=new i.Popup,this.u.ar=this.aw,this.u.ay=this.a3,this.u.c0=i.BrushUtil.l(255,255,255,255),this.u.a9=150,this.h.at(this.u),this.c=new F,this.h.ao(this.c),+this.ba!=+i.dateMinValue()&&(this.c.au=this.ba),+this.a9!=+i.dateMaxValue()&&(this.c.at=this.a9),+this.bb!=+i.dateMinValue()&&(this.c.av=this.bb),this.c.ae=this.a1,this.c.l=this.j,this.c.af=this.a2,this.c.o=this.l;var t=this.c;t.selectedValueChanged=i.delegateCombine(t.selectedValueChanged,i.runOn(this,this.co));var e=this.c;e.close=i.delegateCombine(e.close,i.runOn(this,this.cn)),this.u.appendPopupContent(this.h.p())},n.prototype.co=function(t,e){this.ai=!0,this.value=e.newValue,this.ai=!1},n.prototype.cn=function(t){this.u.ax&&(this.ah=!0,this.cr())},n.prototype.cy=function(){0==this.ah?this.u.ax?this.cr():this.dd():this.ah=!1},n.prototype.dd=function(){if(!this.av&&null!=this.u){var t=this.h.a0(!1),e=this.h.a()[1],i=240;if(1==this.a1&&(i=270),e<t.bottom+i)t.top-i<0?this.dk(1,0):this.dk(2,0);else this.dk(1,0);this.h.an(),this.h.aw(!0)}},n.prototype.dk=function(t,e){if(this.ax)this.u.cr(this.h.d.rootWrapper.getNativeElement(),t,e);else{var i=this.h.a0(!0);this.u.showRelativeToExclusionRect(i,t,e)}},n.prototype.dn=function(){if(this.u.ax){var t=this.h.a0(!1),e=new i.Rect(0,t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height),n=this.h.a()[1],r=240;if(1==this.a1&&(r=270),n<t.bottom+r)t.top-r<0?1!=this.u.r&&(this.u.r=1,this.u.ca(e)):2!=this.u.r&&(this.u.r=2,this.u.ca(e));else 1!=this.u.r&&(this.u.r=1,this.u.ca(e))}},n.prototype.cr=function(){var t=this;null!=this.u&&window.setTimeout((function(){return t.u.b6()}),0),null!=this.c&&this.c.cy(),this.h.aw(!1),this.ah=!1,this.h.aj()},n.prototype.focus=function(t){var e=this;if(void 0===t&&(t=!1),null!=this.o&&this.o.focus(t),!this.u.ax&&1==this.ay)if(0==this.ah){if(this.al)return;(0==this.au||1==this.ay&&0==this.ar)&&(this.dd(),this.ah=!0,window.setTimeout((function(){return e.cw()}),0))}else this.ah=!1},n.prototype.cx=function(){this.ah=!1},n.prototype.dg=function(){null!=this.o&&this.o.dp()},n.prototype.cw=function(){this.c.cq()},n.prototype.c4=function(){var t=new Ut;this.c6(t)},n.prototype.c5=function(){var t=new Nt;this.c8(t)},n.prototype.dj=function(){},n.prototype.dh=function(){},n.prototype.bg=function(){return this.b()},n.prototype.bw=function(){return this.b().g()},n.prototype.b=function(){var t=new Ft;if(t.e=this.y,t.d=this.w,t.c=this.u.bd(),t.b=this.q.fe(),t.a=this.c.bj(),null!=this.ad){var e=this.ad;if(null!=this.h&&null==e.q){var n=this.h.d,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.h=e.q),i.isNaN_(e.f)||(t.f=e.f),null!=e.v&&(t.l=e.v),null!=e.t&&(t.j=e.t),null!=e.r&&(t.i=e.t)}return t},n.prototype.c6=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},n.prototype.c8=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},n.prototype.c7=function(t){null!=this.keyDown&&this.keyDown(this,t)},n.prototype.c3=function(t){null!=this.changing&&this.changing(this,t)},n.$t=i.markType(n,"XDatePicker",i.Base.$,[i.INotifyPropertyChanged_$type]),n.br="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z",n.bs="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.ab=null,n}(i.Base),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 Ut},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}(),Et=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()},t}(),qt=function(t){function n(){var e=t.call(this)||this;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._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._gotFocus=null,e._gotFocus_wrapped=null,e._lostFocus=null,e._lostFocus_wrapped=null,e._keyDown=null,e._keyDown_wrapped=null,e._changing=null,e._changing_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._renderer=new i.WebComponentRenderer(e,document,!0,null),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._container=e._renderer.createElement("div"),e._renderer.updateRoot(e._container);var n=e.i;return e._datePicker=n,e._renderer.addSizeWatcher((function(){e._datePicker.notifySizeChanged()})),e}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.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._datePicker.destroy()},n.prototype.createImplementation=function(){return new Rt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this._datePicker.provideContainer(null)},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-x-date-picker"),this.classList.add("igc-x-date-picker");var t=this._renderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width;var e=this._renderer.createElement("div");this._container.append(e);var i=this._renderer.createElement("div");this._container.append(i),this._datePicker.provideContainer(this._renderer),this._datePicker.notifySizeChanged(),this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype.attributeSynced=function(t,e){"name"===t&&this.i.setName(e)},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._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._observedAttributesIgcXDatePickerComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXDatePickerComponent=t}return n._observedAttributesIgcXDatePickerComponent},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,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"today",{get:function(){return this.i.bb},set:function(t){this.i.bb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.b4},set:function(t){this.i.b4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.dx)},set:function(t){this.i.dx=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.dx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextStyle",{get:function(){return null==this.i.ac?null:this.i.ac.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ac=e,this._a("labelTextStyle",null!=this.i.ac?this.i.ac.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"placeholder",{get:function(){return this.i.cc},set:function(t){this.i.cc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this.i.ba},set:function(t){this.i.ba=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this.i.a9},set:function(t){this.i.a9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.y},set:function(t){this.i.y=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.y))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{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("textStyle",null!=this.i.ad?this.i.ad.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dy)},set:function(t){this.i.dy=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconColor",{get:function(){return i.brushToString(this.i.dw)},set:function(t){this.i.dw=i.stringToBrush(t),this._a("iconColor",i.brushToString(this.i.dw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showClearButton",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureBool(t),this._a("showClearButton",this.i.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTodayButton",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureBool(t),this._a("showTodayButton",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowTextInput",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("allowTextInput",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openOnFocus",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("openOnFocus",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstDayOfWeek",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureEnum(T,t),this._a("firstDayOfWeek",i.enumToString(T,this.i.j))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"firstWeekOfYear",{get:function(){return this.i.l},set:function(t){this.i.l=i.ensureEnum(O,t),this._a("firstWeekOfYear",i.enumToString(O,this.i.l))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showWeekNumbers",{get:function(){return this.i.a2},set:function(t){this.i.a2=i.ensureBool(t),this._a("showWeekNumbers",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dateFormat",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(jt,t),this._a("dateFormat",i.enumToString(jt,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"formatString",{get:function(){return this.i.bz},set:function(t){this.i.bz=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.av},set:function(t){this.i.av=i.ensureBool(t),this._a("isDisabled",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFixed",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("isFixed",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openAsChild",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("openAsChild",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useTopLayer",{get:function(){return this.i.a3},set:function(t){this.i.a3=i.ensureBool(t),this._a("useTopLayer",this.i.a3)},enumerable:!1,configurable:!0}),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("XDatePickerComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.select=function(){this.i.dg()},n.prototype.exportVisualModel=function(){return this.i.bg()},n.prototype.exportSerializedVisualModel=function(){return this.i.bw()},Object.defineProperty(n.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 A;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(n.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 Dt;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(n.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 Et;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(n.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(n.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 n=new mt;n._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,n),e._changing&&e._changing(e,n)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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}),n._observedAttributesIgcXDatePickerComponent=null,n.htmlTagName="igc-x-date-picker",n._isElementRegistered=!1,n}(i.IgcHTMLElement),$t=function(){function t(){}return t.register=function(){D.register(),m.register(),k.register(),St.register(),qt.register(),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.register("XDatePicker",Rt.$type)},t}(),Gt=function(t){function n(e){var i=t.call(this)||this;return i.s=null,i.s=e,i}return e.__extends(n,t),Object.defineProperty(n.prototype,"t",{get:function(){return this.s},enumerable:!1,configurable:!0}),n.prototype.getTargetForProperty=function(t,e){switch(t){case 14:case 9:case 10:case 13:case 16:case 15:case 17:case 7:case 21:return e}return null!=this.s?this.s:e},n.prototype.getMethodTarget=function(t){return null!=this.s?this.s:t},n.prototype.getTargetForBuildInEvent=function(t,e){return null!=this.s?this.s:t},n.prototype.getTargetForBuildInProperty=function(t,e){switch(e){case 108:return t}return null!=this.s?this.s:t},n.$t=i.markType(n,"XComponentBridge",i.NativeUIElementBridge.$),n}(i.NativeUIElementBridge),Wt=function(t){function n(e){var i=t.call(this,e)||this;return i.ab=null,i.aa=null,i.ag=null,i.af=null,i.x=null,i.am=null,i.y=null,i.z=null,i.ai=null,i.ak=null,i.ac=null,i.ah=null,i.ad=null,i.aj=null,i.ae=null,i.al=null,i.u=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t,s=i.typeCast(yt.$,o.inputs._inner[0]);switch(n){case 0:s.changing=i.delegateCombine(s.changing,i.runOn(this,this.av)),this.ab=r,this.ag=e;break;case 27:s.compositionEnd=i.delegateCombine(s.compositionEnd,i.runOn(this,this.ap)),this.ac=r,this.ah=e;break;case 28:s.keyDown=i.delegateCombine(s.keyDown,i.runOn(this,this.ar)),this.ad=r,this.aj=e;break;case 9:s.mouseDown=i.delegateCombine(s.mouseDown,i.runOn(this,this.at)),this.ae=r,this.al=e;break;case 2:s.change=i.delegateCombine(s.change,i.runOn(this,this.au)),this.aa=r,this.af=e;break;case 25:this.ao(t);this.w(t);var a=this.u;a.clicked=i.delegateCombine(a.clicked,i.runOn(this,this.aw)),this.x=r,this.am=e;break;case 13:s.gotFocus=i.delegateCombine(s.gotFocus,i.runOn(this,this.aq)),this.y=r,this.ai=e;break;case 14:s.lostFocus=i.delegateCombine(s.lostFocus,i.runOn(this,this.as)),this.z=r,this.ak=e}},n.prototype.at=function(t,e){if(null!=this.ae){var n=new i.NativeUIMouseEventArgs;n.b=e.originalSource,this.ae(this.al,n)}},n.prototype.ar=function(t,e){if(null!=this.ad){var n=new i.NativeUIKeyEventArgs;n.g=e.keyCode,n.b=e.ctrl,n.e=e.shift,n.a=e.alt,n.h=e.originalEvent,this.ad(this.aj,n)}},n.prototype.ap=function(t,e){if(null!=this.ac){var n=new i.NativeUIInputChangingEventArgs;n.b=e.value,this.ac(this.ah,n)}},n.prototype.as=function(t,e){if(null!=this.z){var n=new i.NativeUIFocusEventArgs;this.z(this.ak,n)}},n.prototype.aq=function(t,e){if(null!=this.y){var n=new i.NativeUIFocusEventArgs;this.y(this.ai,n)}},n.prototype.aw=function(t,e){if(null!=this.x){var n=new i.NativeUIClickedEventArgs;this.x(this.am,n),n.a&&(e.handled=!0)}},n.prototype.removeHandler=function(t,e,n,r){var o=t,s=i.typeCast(yt.$,o.inputs._inner[0]);switch(n){case 0:s.changing=i.delegateRemove(s.changing,i.runOn(this,this.av)),this.ab=null,this.ag=null;break;case 27:s.compositionEnd=i.delegateRemove(s.compositionEnd,i.runOn(this,this.ap)),this.ac=null,this.ah=null;break;case 28:s.keyDown=i.delegateRemove(s.keyDown,i.runOn(this,this.ar)),this.ad=null,this.aj=null;break;case 9:s.mouseDown=i.delegateRemove(s.mouseDown,i.runOn(this,this.at)),this.ae=null,this.al=null;break;case 2:s.change=i.delegateRemove(s.change,i.runOn(this,this.au)),this.aa=null,this.af=null;break;case 25:this.ao(t);this.w(t);var a=this.u;a.clicked=i.delegateRemove(a.clicked,i.runOn(this,this.aw)),this.x=null,this.am=null;break;case 13:s.gotFocus=i.delegateRemove(s.gotFocus,i.runOn(this,this.aq)),this.y=null,this.ai=null;break;case 14:s.lostFocus=i.delegateRemove(s.lostFocus,i.runOn(this,this.as)),this.z=null,this.ak=null}},n.prototype.av=function(t,e){if(null!=this.ab){var n=new i.NativeUIInputChangingEventArgs;n.a=e.isCompositionInProgress,n.b=e.value,this.ab(this.ag,n)}},n.prototype.au=function(t,e){if(null!=this.aa){var n=new i.NativeUIInputChangingEventArgs;n.a=e.isCompositionInProgress,n.b=e.value,this.aa(this.af,n)}},n.prototype.v=function(t){for(var e=0;e<t.inputs.count;e++){var n=t.inputs._inner[e];if(null!==i.typeCast(bt.$,n))return n}return null},n.prototype.an=function(t){var e=this.v(t);if(null==e){e=new bt;var i=t.view.l,n=i.createElement("div"),r=i.getSubRenderer(n);e.provideContainer(r),t.inputs.add(e),t.appendContentChild(n)}},n.prototype.w=function(t){for(var e=0;e<t.inputs.count;e++){var n=t.inputs._inner[e];if(null!==i.typeCast(ct.$,n))return n}return null},n.prototype.ao=function(t){if(null==this.w(t)){var e=t.view.l,i=new ct,n=e.createElement("div"),r=e.getSubRenderer(n);i.provideContainer(r),this.u=new B;var o=e.createElement("div"),s=e.getSubRenderer(o);this.u.provideContainer(s),i.appendContentChild(o),t.inputs.add(i),t.appendContentChild(n)}},n.prototype.getValue=function(t,e){var n=t,r=i.typeCast(yt.$,n.inputs._inner[0]);switch(e){case 103:return t.mc;case 3:return this.an(t),this.v(t).text;case 100:return this.ao(t),this.u.svgPath;case 101:return this.ao(t),this.u.fill;case 102:return this.ao(t),this.u.ea;case 2:return r.cq;case 1:switch(n.t){case 0:return i.enumGetBox(i.NativeUIDisplayDensity_$type,0);case 1:return i.enumGetBox(i.NativeUIDisplayDensity_$type,1);case 3:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,2);case 4:return i.enumGetBox(i.NativeUIDisplayDensity_$type,4)}break;case 0:switch(n.d){case 2:return i.enumGetBox(i.NativeUIInputDisplayType_$type,1);case 1:return i.enumGetBox(i.NativeUIInputDisplayType_$type,2);case 0:return i.enumGetBox(i.NativeUIInputDisplayType_$type,0)}break;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.p);case 19:switch(r.b8){case"text":return i.enumGetBox(i.NativeUIInputType_$type,0);case"number":return i.enumGetBox(i.NativeUIInputType_$type,1)}break;case 20:switch(r.dy){case 0:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,0);case 2:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,2);case 1:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,1);case 3:return i.enumGetBox(i.NativeUIComponentHorizontalAlignment_$type,3)}break;case 21:return r.a1;case 32:return r.disabled;case 33:return r.d8;case 105:return r.selectionStart;case 106:return r.selectionEnd;case 107:return n.an}return null},n.prototype.setValue=function(t,e,n){var r=t,o=i.typeCast(yt.$,r.inputs._inner[0]);switch(e){case 103:t.mc=n;break;case 3:this.an(t),this.v(t).text=n;break;case 100:this.ao(t),this.u.svgPath=n;break;case 101:this.ao(t),this.u.fill=n;break;case 102:this.ao(t),this.u.ea=n;break;case 2:o.cq=null==n?null:n.toString();break;case 1:switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,n)){case 0:r.t=0;break;case 1:r.t=1;break;case 3:r.t=3;break;case 2:r.t=2;break;case 4:r.t=4}break;case 0:switch(i.EnumUtil.getEnumValue(i.NativeUIInputDisplayType_$type,n)){case 1:r.d=2;break;case 2:r.d=1;break;case 0:r.d=0}break;case 18:r.p=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 19:switch(i.EnumUtil.getEnumValue(i.NativeUIInputType_$type,n)){case 0:o.b8="text";break;case 1:o.b8="number"}break;case 20:switch(i.EnumUtil.getEnumValue(i.NativeUIComponentHorizontalAlignment_$type,n)){case 0:o.dy=0;break;case 2:o.dy=2;break;case 1:o.dy=1;break;case 3:o.dy=3}break;case 21:o.a1=n;break;case 32:o.disabled=n;break;case 33:o.d8=n;break;case 105:o.selectionStart=i.typeGetValue(n);break;case 106:o.selectionEnd=i.typeGetValue(n);break;case 107:r.an=n}},n.prototype.getTargetForProperty=function(e,i){switch(e){case 9:case 10:case 2:case 3:case 4:return i}return t.prototype.getTargetForProperty.call(this,e,i)},n.prototype.focus=function(t){this.t.inputs._inner[0].focus(!0)},n.prototype.select=function(t){var e=t.inputs._inner[0];window.setTimeout((function(){return e.dp()}),0)},n.prototype.resetIsExpanded=function(t){t.j8()},n.prototype.setSelectionRange=function(t,e,i){var n=t.inputs._inner[0];window.setTimeout((function(){return n.dr(e,i)}),0)},n.prototype.exportVisualData=function(t){if(null===i.typeCast(dt.$,t))return null;var e=t;return null==e.inputs||0==e.inputs.count||null===i.typeCast(yt.$,e.inputs._inner[0])?null:e.inputs._inner[0].bg()},n.$t=i.markType(n,"XInputBridge",Gt.$,[i.INativeUIInputBridge_$type]),n}(Gt),zt=function(t){function n(e){var i=t.call(this,e)||this;return i.ac=null,i.aa=null,i.u=null,i.z=null,i.x=null,i.ae=null,i.y=null,i.af=null,i.v=null,i.ab=null,i.w=null,i.ad=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 1:o.clicked=i.delegateCombine(o.clicked,i.runOn(this,this.ag)),this.u=r,this.z=e;break;case 7:o.mouseEnter=i.delegateCombine(o.mouseEnter,i.runOn(this,this.aj)),this.x=r,this.ae=e;break;case 8:o.mouseLeave=i.delegateCombine(o.mouseLeave,i.runOn(this,this.ak)),this.y=r,this.af=e;break;case 13:o.gotFocus=i.delegateCombine(o.gotFocus,i.runOn(this,this.ah)),this.v=r,this.ab=e;break;case 14:o.lostFocus=i.delegateCombine(o.lostFocus,i.runOn(this,this.ai)),this.w=r,this.ad=e}},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 1:o.clicked=i.delegateRemove(o.clicked,i.runOn(this,this.ag)),this.u=null,this.z=null;break;case 7:o.mouseEnter=i.delegateRemove(o.mouseEnter,i.runOn(this,this.aj)),this.x=null,this.ae=null;break;case 8:o.mouseLeave=i.delegateRemove(o.mouseLeave,i.runOn(this,this.ak)),this.y=null,this.af=null}},n.prototype.ag=function(t,e){if(null!=this.u){var n=new i.NativeUIButtonClickedEventArgs;this.u(this.z,n)}},n.prototype.aj=function(t,e){if(null!=this.x){var n=new i.NativeUIMouseEventArgs;this.x(this.ae,n)}},n.prototype.ak=function(t,e){if(null!=this.y){var n=new i.NativeUIMouseEventArgs;this.y(this.af,n)}},n.prototype.ah=function(t,e){null!=this.v&&this.v(this.ab,new i.NativeUIFocusEventArgs)},n.prototype.ai=function(t,e){var n;null!=this.w&&this.w(this.ad,((n=new i.NativeUIFocusEventArgs).b=e.b,n.a=e.a,n))},n.prototype.setValue=function(t,e,n){var r=t;switch(e){case 3:if(r.clearButtonContent(),null!==i.typeCast(i.NativeUIComponent.$,n))this.ac=n,r.appendButtonContent(this.ac.an);else{this.ac=n;var o=r.view.l.createElement("span");o.setText(null==this.ac?null:this.ac.toString()),r.appendButtonContent(o)}break;case 1:switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,n)){case 0:r.s=0;break;case 1:r.s=1;break;case 3:r.s=3;break;case 2:r.s=2;break;case 4:r.s=4}break;case 18:r.o=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 54:null!==i.typeCast(i.NativeUIComponent.$,n)&&(this.aa=n,r.appendButtonContent(this.aa.an));break;case 0:switch(i.EnumUtil.getEnumValue(i.NativeUIButtonDisplayType_$type,n)){case 3:r.e=3;break;case 1:r.e=1;break;case 4:r.e=4;break;case 2:r.e=2;break;case 0:r.e=0}break;case 4:r.ax=n;break;case 32:r.disabled=n;break;case 5:r.av=n;break;case 6:r.a3=!n;break;case 24:r.ql=n;break;case 55:r.bn=n.left,r.bp=n.top,r.bo=n.right,r.bm=n.bottom;break;case 57:r.az=n;break;case 56:r.aw=n;break;case 58:r.au=n;break;case 17:r.k6=n;break;case 11:r.ab=n;break;case 88:r.bz=n;break;case 59:r.a6=n;break;case 118:r.n7=n;break;case 23:r.n6=n}},n.prototype.getValue=function(t,e){var n=t;switch(e){case 3:return this.ac;case 54:return this.aa;case 1:switch(n.s){case 0:return i.enumGetBox(i.NativeUIDisplayDensity_$type,0);case 1:return i.enumGetBox(i.NativeUIDisplayDensity_$type,1);case 3:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,2);case 4:return i.enumGetBox(i.NativeUIDisplayDensity_$type,4)}break;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.o);case 0:switch(n.e){case 3:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,3);case 1:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,1);case 4:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,4);case 2:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,2);case 0:return i.enumGetBox(i.NativeUIButtonDisplayType_$type,0)}return i.enumGetBox(i.NativeUIButtonDisplayType_$type,0);case 4:return n.ax;case 32:return n.disabled;case 5:return n.av;case 6:return!n.a3;case 24:return n.ql;case 55:return new i.Thickness(1,n.bn,n.bp,n.bo,n.bm);case 57:return n.az;case 56:return n.aw;case 58:return n.au;case 17:return n.k6;case 88:return n.bz;case 59:return n.a6;case 118:return n.n7;case 23:return n.n6}return null},n.prototype.setHorizontalContentAlignment=function(t,e){switch(e){case 1:this.t.lj=1;break;case 0:this.t.lj=0;break;case 2:this.t.lj=2;break;case 3:this.t.lj=3}},n.prototype.getHorizontalContentAlignment=function(t){switch(this.t.lj){case 1:return 1;case 0:return 0;case 2:return 2;default:return 3}},n.prototype.setVerticalContentAlignment=function(t,e){switch(e){case 2:this.t.rn=2;break;case 1:this.t.rn=1;break;case 3:this.t.rn=3;break;case 0:this.t.rn=0}},n.prototype.getVerticalContentAlignment=function(t){switch(this.t.rn){case 2:return 2;case 1:return 1;case 0:return 0;default:return 3}},n.prototype.exportVisualData=function(t){return t.ec()},n.$t=i.markType(n,"XButtonBridge",Gt.$),n}(Gt),Vt=new i.Type(null,"IMultiSliderTrackThumbVisual"),Ht=new i.Type(null,"IMultiSliderTrackRangeVisual"),Mt=new i.Type(null,"IMultiSliderTrackThumbCalloutVisual"),Lt=new i.Type(null,"IMultiSliderTrackBarVisual"),Xt=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.b=-1,e.a=-1,e._barBox=null,e._allPaths=null,e.barBox=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.barBox),e.barBox._fill=e.getBarBoxDefaultBrush(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.getBarBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,218,218,218),t;var t},n.prototype.getBarBoxDefaultOutline=function(){return null},n.prototype.getBarBoxDefaultStrokeThickness=function(){return 0},n.prototype.c=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),e._segments.add(n),t.c.add(e),this.barBox.an=t},Object.defineProperty(n.prototype,"width",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.d()},enumerable:!1,configurable:!0}),n.prototype.d=function(){this.width>0&&this.height>0&&this.c()},Object.defineProperty(n.prototype,"height",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.d()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barBox",{get:function(){return this._barBox},set:function(t){this._barBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackBarVisual",i.Base.$,[Lt]),n}(i.Base),Yt=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.c=-1,e.a=0,e.b=-1,e._thumbBox=null,e._thumbRidges=null,e._allPaths=null,e.thumbBox=new i.Path,e.thumbRidges=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.thumbBox),e.allPaths.add(e.thumbRidges),e.width=e.getTrackThumbDefaultWidth(),e.height=e.getTrackThumbDefaultHeight(),e.thumbBox._stroke=e.getThumbBoxDefaultStroke(),e.thumbBox.ad=e.getThumbBoxDefaultStrokeThickness(),e.thumbBox._fill=e.getThumbBoxDefaultBrush(),e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke(),e.thumbRidges.ad=1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.getTrackThumbDefaultWidth=function(){return 22},n.prototype.getTrackThumbDefaultHeight=function(){return 22},n.prototype.getThumbBoxDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getThumbBoxDefaultStrokeThickness=function(){return 1},n.prototype.getThumbBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,249,249,249),t;var t},n.prototype.getThumbRidgesDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,119,119,119),t;var t},n.prototype.e=function(){if(0==this.orientation){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.LineSegment(1);e._isClosed=!1,e._isFilled=!1,e._startPoint={$type:i.Point_$type,x:-1.5,y:-4},n.c={$type:i.Point_$type,x:-1.5,y:4},e._segments.add(n),t.c.add(e);var r=new i.PathFigure,o=new i.LineSegment(1);r._isClosed=!1,r._isFilled=!1,r._startPoint={$type:i.Point_$type,x:1.5,y:-4},o.c={$type:i.Point_$type,x:1.5,y:4},r._segments.add(o),t.c.add(r),this.thumbRidges.an=t}else{var s=new i.PathGeometry,a=new i.PathFigure,h=new i.LineSegment(1);a._isClosed=!1,a._isFilled=!1,a._startPoint={$type:i.Point_$type,x:-4,y:-1.5},h.c={$type:i.Point_$type,x:4,y:-1.5},a._segments.add(h),s.c.add(a);var l=new i.PathFigure,u=new i.LineSegment(1);l._isClosed=!1,l._isFilled=!1,l._startPoint={$type:i.Point_$type,x:-4,y:1.5},u.c={$type:i.Point_$type,x:4,y:1.5},l._segments.add(u),s.c.add(l),this.thumbRidges.an=s}},n.prototype.d=function(){var t=new i.EllipseGeometry;t.c=Math.max(this.width/2,this.height/2),t.d=Math.max(this.width/2,this.height/2),t.e={$type:i.Point_$type,x:0,y:0},this.thumbBox.an=t},Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.d(),this.e())},Object.defineProperty(n.prototype,"orientation",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbBox",{get:function(){return this._thumbBox},set:function(t){this._thumbBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbRidges",{get:function(){return this._thumbRidges},set:function(t){this._thumbRidges=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackThumbVisual",i.Base.$,[Vt]),n}(i.Base),Kt=function(t){return t[t.PinnedLower=0]="PinnedLower",t[t.PinnedHigher=1]="PinnedHigher",t}({}),Jt=i.markEnum("MultiSliderThumbRangePosition","PinnedLower,0|PinnedHigher,1"),Qt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=0,e.o=0,e.f=1,e.h=null,e.d=null,e.l=0,e.n=0,e.j=!1,e.k=!1,e.propertyUpdated=null,e.propertyChanged=null,e.c=null,e.b=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.u("Owner",e,this.d)},enumerable:!1,configurable:!0}),n.prototype.u=function(t,e,n){this.v(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.v=function(t,e,i){null!=this.e&&("Position"==t&&(this.j=!0,this.p=this.e.updateActualPosition(e,i),this.k||(this.s=this.e.updateThumbValue(this.p)),this.j=!1),"Value"==t&&(this.k=!0,this.j||(this.q=this.e.updateThumbPosition(this.s),this.p=this.e.updateActualPosition(this.q,this.q)),this.e.onThumbValueUpdated(this,e,i),this.k=!1)),this.t()},n.prototype.r=function(t){return this.q+t>1&&(t=1-this.q),this.q+t<0&&(t=-this.q),null!=this.i&&(t=0==this.g?this.i.q(t):this.i.p(t)),this.q+=t,t},n.prototype.t=function(){null!=this.e&&this.e.trackDirty()},Object.defineProperty(n.prototype,"q",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.u("Position",e,this.m)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.u("ActualPosition",e,this.l)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.u("Value",e,this.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.u("RangePosition",i.enumGetBox(Jt,e),i.enumGetBox(Jt,this.f))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.u("Range",e,this.h)},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"MultiSliderThumb",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Zt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=0,e.j=0,e.h=0,e.g=1,e.d=null,e.c=null,e.a=null,e.propertyChanged=null,e}return e.__extends(n,t),n.prototype.t=function(t,e,n){this.u(t,e,n),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.u=function(t,e,i){this.s()},n.prototype.s=function(){null!=this.b&&this.b.trackDirty()},Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.t("Owner",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.t("Position",e,this.i)},enumerable:!1,configurable:!0}),n.prototype.o=function(t){return t>0&&this.n+this.r/2+t>1&&(t=1-(this.n+this.r/2)),t<0&&this.n-this.r/2+t<0&&(t=-1*(this.n-this.r/2)),this.f.q+=t,this.e.q+=t,this.n+=t,t},n.prototype.p=function(t){t=this.k(t);var e=this.n-this.r/2;return this.r+=t,this.n=e+this.r/2,t},n.prototype.k=function(t){if(t<0){var e=this.r+t;e<this.m&&(t=(e=this.m)-this.r)}if(t>0){var i=this.r+t;i>this.l&&(t=(i=this.l)-this.r)}return t},n.prototype.q=function(t){t=-1*this.k(-1*t);var e=this.n+this.r/2;return this.r-=t,this.n=e-this.r/2,t},Object.defineProperty(n.prototype,"r",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.t("Width",e,this.j)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.t("MinWidth",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.t("MaxWidth",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.t("LowerThumb",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.t("HigherThumb",e,this.c)},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"MultiSliderTrackThumbRange",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),te=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e._textTranslateX=0,e._textTranslateY=0,e.c=-1,e.b=-1,e.a=!1,e._calloutBox=null,e._calloutText=null,e._allPaths=null,e.calloutBox=new i.Path,e.calloutBox._visibility=1,e.calloutText=new i.TextBlock,e.calloutText._visibility=1,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.calloutBox),e.height=22,e.width=10,e.calloutBox._stroke=e.getCalloutBoxDefaultStroke(),e.calloutBox.ad=e.getCalloutBoxDefaultStrokeThickness(),e.calloutBox._fill=e.getCalloutBoxDefaultBrush(),e.calloutText.ao=e.getCalloutTextDefaultBrush(),e.calloutText.al="",e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textTranslateX",{get:function(){return this._textTranslateX},set:function(t){this._textTranslateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textTranslateY",{get:function(){return this._textTranslateY},set:function(t){this._textTranslateY=t},enumerable:!1,configurable:!0}),n.prototype.getCalloutBoxDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getCalloutBoxDefaultStrokeThickness=function(){return 1},n.prototype.getCalloutBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(200,255,255,255),t;var t},n.prototype.getCalloutTextDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.e=function(){},n.prototype.d=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:0,y:0},n._points.add({$type:i.Point_$type,x:this.width,y:0}),n._points.add({$type:i.Point_$type,x:this.width,y:this.height}),n._points.add({$type:i.Point_$type,x:0,y:this.height}),e._segments.add(n),t.c.add(e),this.calloutBox.an=t},Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.e(),this.d())},Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isVisible",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&(this.calloutBox._visibility=this.a?0:1,this.calloutText._visibility=this.a?0:1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutBox",{get:function(){return this._calloutBox},set:function(t){this._calloutBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutText",{get:function(){return this._calloutText},set:function(t){this._calloutText=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackThumbCalloutVisual",i.Base.$,[Mt]),n}(i.Base),ee=new i.Type(null,"ISliderTrackOwner"),ie=function(t){function n(){return t.call(this,Qt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"MultiSliderThumbCollection",i.ObservableCollection$1.$.specialize(Qt.$)),n}(i.ObservableCollection$1),ne=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=0,e.a=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"MultiSliderHitInfo"),n}(i.Base),re=function(t){return t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical",t[t.TwoDimensional=2]="TwoDimensional",t}({}),oe=i.markEnum("MultiSliderOrientation","Horizontal,0|Vertical,1|TwoDimensional,2"),se=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._position=0,e._value=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(t){this._position=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}),n.$t=i.markType(n,"MultiSliderResolvingToolTipValueEventArgs"),n}(i.Base),ae=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"MultiSliderThumbValueChangingEventArgs"),n}(i.Base),he=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,"MultiSliderYValueChangingEventArgs"),n}(i.Base),le=function(t){function n(e){var n=t.call(this)||this;return n.n=!1,n.r=null,n.q=null,n.b=null,n.p=null,n.g=null,n.u=null,n.v=null,n.l=null,n.t=0,n.o=!1,n.x=0,n.w=0,n.j=null,n.a=null,n.i=null,n.y=-1,n.s=10,n.h=0,n.z=-1,n.m=!0,n.g=e,n.r=new i.List$1(Vt,0),n.q=new i.List$1(Ht,0),n.b=new Xt,n.p=new i.List$1(Mt,0),n.j=n.k(),n.ap(),n}return e.__extends(n,t),n.prototype.at=function(){this.m=!0,this.ap(),null!=this.a&&this.a.au(this.u.rootWrapper,""),-1==this.z&&(this.z=this.u.setTimeout(i.runOn(this,this.an),200))},n.prototype.au=function(){this.m=!1,null!=this.a&&null!=this.u&&this.a.bi(this.u.rootWrapper,""),-1!=this.z&&(window.clearTimeout(this.z),this.z=-1)},n.prototype.aq=function(){this.n||null!=this.u&&(this.n=!0,this.u.setTimeout(i.runOn(this,this.a6),0))},n.prototype.ak=function(){this.a6()},n.prototype.a6=function(){this.n&&(this.n=!1,this.g.d8(),this.a0())},n.prototype.a0=function(){if(null!=this.l){var t=this.g.e0.width,e=this.g.e0.height,n=Math.round(t*this.t),r=Math.round(e*this.t);this.x==n&&this.w==r||(this.v.setAttribute("width",n.toString()),this.v.setAttribute("height",r.toString()),this.v.setStyleProperty("width",t.toString()+"px"),this.v.setStyleProperty("height",e.toString()+"px"),this.x=i.truncate(Math.round(n)),this.w=i.truncate(Math.round(r))),this.l.d&&1!=this.t&&(this.l.aa(),this.l.ab(this.t,this.t)),this.l.l(this.g.e0.left,this.g.e0.top,this.g.e0.width,this.g.e0.height);for(var o=0;o<this.r.count;o++)this.a4(this.r._inner[o].allPaths,this.r._inner[o].translateX,this.r._inner[o].translateY);for(var s=0;s<this.q.count;s++)this.a4(this.q._inner[s].allPaths,this.q._inner[s].translateX,this.q._inner[s].translateY);this.a4(this.b.allPaths,this.b.translateX,this.b.translateY);for(var a=0;a<this.p.count;a++)this.a4(this.p._inner[a].allPaths,this.p._inner[a].translateX,this.p._inner[a].translateY),this.a5(this.p._inner[a].calloutText,this.p._inner[a].textTranslateX,this.p._inner[a].textTranslateY);this.a1(this.b.allPaths);for(var h=0;h<this.q.count;h++)this.a1(this.q._inner[h].allPaths);for(var l=0;l<this.r.count;l++)this.a1(this.r._inner[l].allPaths);this.l.d&&1!=this.t&&this.l.z()}},n.prototype.a2=function(t){null!=t.j&&this.l.aa(),this.l.k(t.j),this.l.x(t),null!=t.j&&this.l.z()},n.prototype.a1=function(t){for(var e=0;e<t.count;e++){var i=t.item(e);null!=i.j&&this.l.aa(),this.l.k(i.j),this.l.t(i),null!=i.j&&this.l.z()}},n.prototype.a5=function(t,e,n){null==t.j&&(t.j=new i.TranslateTransform);var r=t.j;r.j=e,r.k=n},n.prototype.a4=function(t,e,n){for(var r=0;r<t.count;r++){var o=t.item(r);null==o.j&&(o.j=new i.TranslateTransform);var s=o.j;s.j=e,s.k=n}},n.prototype.ap=function(){var t=i.CanvasScalingHelpers.b(this.u);this.g.a9=i.CanvasScalingHelpers.a(this.g.bh,this.g.a9,t),null!=this.a&&i.CanvasScalingHelpers.h(this.a,t)},n.prototype.ax=function(t){var e=this;if(null==t){var n=this.u;return this.v=null,this.u=null,this.l=null,this.ab(),void(-1!=this.z&&(null!=n?n.clearTimeout(this.z):window.clearTimeout(this.z),this.z=-1))}this.t=i.isNaN_(this.g.bh)?this.g.a9:this.g.bh;var r=t;this.u=r,this.u.rootWrapper.setStyleProperty("min-height",this.g.bm+5+"px"),this.u.rootWrapper.setStyleProperty("min-width",this.g.bo+5+"px"),this.u.rootWrapper.addClass("ui-MultiSlider-container");var o=this.t,s=Math.round(r.rootWrapper.width()),a=Math.round(r.rootWrapper.height()),h=s*o,l=a*o;this.u.rootWrapper.setStyleProperty("position","relative");var u=this.u.createElement("canvas");u.setStyleProperty("position","absolute"),this.u.append(u),this.x=i.truncate(Math.round(h)),this.w=i.truncate(Math.round(l)),u.setAttribute("width",h.toString()),u.setAttribute("height",l.toString()),u.setStyleProperty("width",s.toString()+"px"),u.setStyleProperty("height",a.toString()+"px"),this.v=u;var c=this.u.get2DCanvasContext(this.v);this.l=new i.RenderingContext(new i.CanvasViewRenderer,c),this.l.af(this.j),this.ab(),this.a=new i.CanvasGestureDOMEventProxy(this.u.rootWrapper,this.u,!1),this.a.bm=this.g.e0;var p=this.a;p.onContactStarted=i.delegateCombine(p.onContactStarted,i.runOn(this,this.aj));var d=this.a;d.onContactMoved=i.delegateCombine(d.onContactMoved,i.runOn(this,this.ai));var f=this.a;f.onContactCompleted=i.delegateCombine(f.onContactCompleted,i.runOn(this,this.ah)),this.a.ap=function(t){return e.g.ey.containsPoint(t)},this.g.ds(0,0,s,a),this.s=i.FontUtil.getCurrentFontHeight(this.u,this.j),this.g.trackDirty(),this.z=this.u.setTimeout(i.runOn(this,this.an),200)},n.prototype.ah=function(t,e){this.g.dh(t,e)},n.prototype.ai=function(t,e){this.g.di(t)},n.prototype.aj=function(t,e){this.g.af(t,e)},n.prototype.ab=function(){if(null!=this.a){var t=this.a;t.onContactStarted=i.delegateRemove(t.onContactStarted,i.runOn(this,this.aj));var e=this.a;e.onContactMoved=i.delegateRemove(e.onContactMoved,i.runOn(this,this.ai));var n=this.a;n.onContactCompleted=i.delegateRemove(n.onContactCompleted,i.runOn(this,this.ah)),this.a.ap=null,this.a.aw()}},n.prototype.ay=function(){},n.prototype.ar=function(){this.as(!0)},n.prototype.as=function(t){if(null!=this.u&&null!=this.u.rootWrapper){this.ap();var e=Math.round(this.u.rootWrapper.width()),i=Math.round(this.u.rootWrapper.height()),n=e!=this.g.e0.width||i!=this.g.e0.height;(t||n)&&(this.g.ds(0,0,e,i),null!=this.a&&(this.a.bm=this.g.e0))}},n.prototype.am=function(){},n.prototype.k=function(){return(t=new i.FontInfo).q="Verdana",t.f=10,t;var t},n.prototype.a7=function(t,e,n){t.al!=e&&(t.al=e),this.i!=n&&(this.i=n,this.j=this.i,this.s=i.FontUtil.getCurrentFontHeight(this.u,this.j),this.l.af(this.i),this.g.trackDirty())},n.prototype.ae=function(){4!=this.h&&(this.h=4,this.u.rootWrapper.setStyleProperty("cursor","move"))},n.prototype.ag=function(){3!=this.h&&(this.h=3,this.u.rootWrapper.setStyleProperty("cursor","ns-resize"))},n.prototype.ad=function(){0!=this.h&&(this.h=0,this.u.rootWrapper.setStyleProperty("cursor","inherit"))},n.prototype.af=function(){1!=this.h&&(this.h=1,this.u.rootWrapper.setStyleProperty("cursor","ew-resize"))},n.prototype.ac=function(){2!=this.h&&(this.h=2,this.u.rootWrapper.setStyleProperty("cursor","move"))},n.prototype.a8=function(t){var e=this.s,n=this.l.g(t.al);return new i.Size(1,n,e)},n.prototype.aw=function(){this.t=this.g.a9,this.aq()},n.prototype.a3=function(){null!=this.u&&null!=this.u.rootWrapper&&this.u.rootWrapper.show()},n.prototype.ao=function(){null!=this.u&&null!=this.u.rootWrapper&&this.u.rootWrapper.hide()},n.prototype.an=function(){this.z=-1,null!=this.u&&this.m&&(this.as(!1),this.z=this.u.setTimeout(i.runOn(this,this.an),200))},n.prototype.av=function(){},n.prototype.f=function(t){return t.c},n.prototype.az=function(t){null!=t.c&&(this.r.remove(t.c),t.c=null),null!=t.b&&(this.p.remove(t.b),t.b=null)},n.prototype.e=function(t,e){var i=new Yt;return this.r.insert(e,i),i},n.prototype.c=function(t){throw new i.NotImplementedException(0)},n.prototype.d=function(t){return null==t.b?(t.b=new te,this.p.add(t.b),t.b):t.b},n.prototype.al=function(t){for(var e=0;e<this.p.count;e++)t(this.p._inner[e])},n.$t=i.markType(n,"MultiSliderView"),n}(i.Base),ue=function(t){function n(){var e=t.call(this)||this;e.g=new ie,e.ag=new i.List$1(Zt.$,0),e.k=null,e.propertyChanged=null,e.b1=500,e.as=0,e.ar=100,e.aw=NaN,e.a2=100,e.a3=0,e.a5=NaN,e.at=NaN,e.ai=1,e.resolvingToolTipValue=null,e.ex=new i.Rect(0,0,0,1,1),e.x=!1,e.a8=0,e.a4=0,e.aj=0,e.b=null,e.a=null,e.ew=null,e.ev=null,e.e2=new i.Thickness(1,5,5,5,5),e.e0=null,e.ey=null,e.ez=null,e.av=0,e.ap=0,e.a1=15,e.a0=15,e.a7=15,e.a6=15,e.ak=10,e.d=0,e.eh=null,e.ay=1,e.ei=null,e.az=22,e.ax=22,e.d9=null,e.ea=null,e.al=0,e.ee=null,e.ef=null,e.au=1,e.eg=null,e.ej=null,e.eb=null,e.ed=null,e.ec=null,e.am=1,e.t=!1,e.n=null,e.p=null,e.q=!1,e.r=!1,e.ao=0,e.an=0,e.aq=0,e.s=!1,e.thumbValueChanging=null,e.thumbValueChanged=null,e.yValueChanging=null,e.yValueChanged=null;var n,r=e.thumbs;return r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(e,e.dz)),e.a=((n=new ne).c=3,n),e.e0=i.Rect.empty,e.ey=i.Rect.empty,e.ez=i.Rect.empty,e.k=new le(e),e.n=e.k.k(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"thumbs",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.k.au()},n.prototype.onAttachedToUI=function(){this.k.at()},Object.defineProperty(n.prototype,"bg",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.dl("Min",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.dl("Max",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.dl("Step",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.dl("YMax",e,this.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.dl("YMin",e,this.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.dl("YStep",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.dl("PixelScalingRatio",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.dl("ActualPixelScalingRatio",e,this.ai)},enumerable:!1,configurable:!0}),n.prototype.ds=function(t,e,n,r){if(this.e0=new i.Rect(0,t,e,n,r),0==this.e){var o=Math.max(0,this.e0.width-(this.bk+this.be));this.ey=new i.Rect(0,this.e0.left+this.bk,this.e0.top,o,this.e0.height);var s=Math.max(0,this.ey.width-(this.bq+this.bp));this.ez=new i.Rect(0,this.ey.left+this.bq,this.ey.top,s,this.ey.height)}else if(2==this.e){var a=Math.max(0,this.e0.width-(this.bk+this.be));this.ey=new i.Rect(0,this.e0.left+this.bk,this.e0.top,a,this.e0.height);var h=Math.max(0,this.ey.width-(this.bq+this.bp)),l=Math.max(0,this.ey.height-(this.bz+this.by));this.ez=new i.Rect(0,this.ey.left+this.bq,this.ey.top+this.bz,h,l)}else this.ey=new i.Rect(0,this.e0.left,this.e0.top+this.bk,this.e0.width,this.e0.height-(this.bk+this.be)),this.ez=new i.Rect(0,this.ey.left,this.ey.top+this.bq,this.ey.width,this.ey.height-(this.bq+this.bp));this.trackDirty()},n.prototype.d8=function(){if(this.s){this.s=!1;for(var t=this.k.b,e=0;e<this.thumbs.count;e++)this.d5(this.k.f(this.thumbs._inner[e]),this.thumbs._inner[e]);for(var i=0;i<this.ah.count;i++)this.d3(this.k.c(this.ah._inner[i]),this.ah._inner[i]);this.d0(t)}},Object.defineProperty(n.prototype,"e1",{get:function(){return this.ex},set:function(t){var e=this.ex;this.ex=t,i.Rect.l_op_Inequality(e,this.ex)&&this.dl("WindowRect",e,this.ex)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.dl("YValue",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.dl("YPosition",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.dl("ActualYPosition",e,this.aj)},enumerable:!1,configurable:!0}),n.prototype.dh=function(t,e){var i,n=null;null!=this.a&&3!=this.a.c&&(0==this.a.c&&(n=this.a.a),this.k.ay()),null!=n&&(null!=this.thumbValueChanging&&this.thumbValueChanging(this,((i=new ae).b=n.s,i.a=n,i)),null!=this.thumbValueChanged&&this.thumbValueChanged(this,function(){var t=new ae;return t.b=n.s,t.a=n,t}()),2==this.e&&(null!=this.yValueChanging&&this.yValueChanging(this,function(){var t=new he;return t.a=n.s,t}()),null!=this.yValueChanged&&this.yValueChanged(this,function(){var t=new he;return t.a=n.s,t}()))),this.b=this.c(t,e),this.a=function(){var t=new ne;return t.c=3,t}(),this.c5()},n.prototype.c5=function(){this.k.al((function(t){return t.isVisible=!1})),this.k.aq()},n.prototype.dj=function(t,e){this.b=this.c(t,!1)},n.prototype.af=function(t,e){return this.b=this.c(t,e),null!=this.b&&3!=this.b.c&&(this.ad(this.b)?(this.dy(t,this.b),this.k.am(),!0):!!this.y(this.b)&&this.ae(t,this.b))},n.prototype.ae=function(t,e){if(null==e)return!1;switch(e.c){case 2:return!1}return!1},n.prototype.dy=function(t,e){this.a=e,this.ew=t,this.ev=t},n.prototype.ad=function(t){if(null==t)return!1;switch(t.c){case 0:case 1:return!0}return!1},n.prototype.y=function(t){if(null==t)return!1;switch(t.c){case 2:return!1}return!1},n.prototype.di=function(t){this.b=this.c(t,!1),null!=this.a&&3!=this.a.c?0==this.e?this.dd(t):2==this.e?this.dq(t):this.dr(t):this.c6()},n.prototype.dq=function(t){var e=t.x-this.ev.x,i=t.y-this.ev.y;if(this.ev=t,e/=this.ez.width,i/=this.ez.height,null!=this.a)switch(this.a.c){case 0:this.a.a.r(e),this.bi(i),this.d6(this.a.a),this.c7();break;case 1:this.a.b.o(e),this.bi(i),this.d6(this.a.b.f),this.d6(this.a.b.e),this.c7()}},n.prototype.bi=function(t){return this.bw+t>1&&(t=1-this.bw),this.bw+t<0&&(t=-this.bw),this.bw+=t,t},n.prototype.c6=function(){null!=this.b&&1==this.b.c?this.k.ae():null!=this.b&&0==this.b.c?1==this.e?this.k.ag():2==this.e?this.k.ac():this.k.af():this.k.ad()},n.prototype.dr=function(t){var e=t.y-this.ev.y;if(e/=this.ez.height,this.ev=t,null!=this.a)switch(this.a.c){case 0:this.a.a.r(e),this.d6(this.a.a),this.c7();break;case 1:this.a.b.o(e),this.d6(this.a.b.f),this.d6(this.a.b.e),this.c7()}},n.prototype.d6=function(t){var e,i,n;if(0==this.e||2==this.e){if(e=t.p,i=t.p*this.ez.width+this.ez.left,this.t){var r=e;if(null!=this.resolvingToolTipValue){var o=((n=new se).position=e,n.value=r,n);this.resolvingToolTipValue(this,o),r=o.value}this.dx(t,i,r)}}else if(e=t.p,i=t.p*this.ez.height+this.ez.top,this.t){var s=e;if(null!=this.resolvingToolTipValue){var a=function(){var t=new se;return t.position=e,t.value=s,t}();this.resolvingToolTipValue(this,a),s=a.value}this.dx(t,i,s)}},n.prototype.dx=function(t,e,n){var r=this.k.d(t);r.isVisible=!0;var o="";null!=n&&(o=n.toString()),this.k.a7(r.calloutText,o,this.o());var s=this.k.a8(r.calloutText),a=this.e3();s=new i.Size(1,s.width+a.left+a.right,s.height+a.top+a.bottom);var h=t.p*this.ez.width+this.ez.left,l=t.p*this.ez.width+this.ez.left,u=0,c=0;c=(u=this.e0.right-h<=s.width?h-s.width:h)<l?this.ez.top:this.ez.bottom-s.height,r.width=s.width,r.height=s.height,r.translateX=u,r.translateY=c,r.textTranslateX=u+a.left,r.textTranslateY=c+a.top},n.prototype.e3=function(){return this.e2},n.prototype.o=function(){return null!=this.p?this.p:this.n},n.prototype.dd=function(t){var e=t.x-this.ev.x;if(this.ev=t,e/=this.ez.width,null!=this.a)switch(this.a.c){case 0:this.a.a.r(e),this.d6(this.a.a),this.c7();break;case 1:this.a.b.o(e),this.d6(this.a.b.f),this.d6(this.a.b.e),this.c7()}},n.prototype.df=function(t){this.b=this.c(t,!1)},n.prototype.dg=function(t){this.b=this.c(t,!1)},n.prototype.c=function(t,e){for(var i=function(i){var r,o=n.thumbs._inner[i];if(n.w(t,o,n.k.f(o),e))return{value:(r=new ne,r.a=o,r.c=0,r)}},n=this,r=0;r<this.thumbs.count;r++){var o=i(r);if("object"==typeof o)return o.value}for(var s,a=function(e){var i,n=h.ah._inner[e];if(h.v(t,n,h.k.c(n)))return{value:(i=new ne,i.b=n,i.c=1,i)}},h=this,l=0;l<this.ah.count;l++){var u=a(l);if("object"==typeof u)return u.value}return this.u(t)?((s=new ne).c=2,s):function(){var t=new ne;return t.c=3,t}()},n.prototype.u=function(t){if(0==this.e){if(t.y>this.ez.bottom&&t.x>=this.ez.left&&t.x<=this.ez.right&&t.y<=this.ey.bottom)return!0}else if(2==this.e){if(t.y>this.ez.bottom&&t.x>=this.ez.left&&t.x<=this.ez.right&&t.y<=this.ey.bottom)return!0}else if(t.x>this.ez.right&&t.y>=this.ez.top&&t.y<=this.ez.bottom&&t.x<=this.ey.right)return!0;return!1},n.prototype.v=function(t,e,i){if(0==this.e){var n=e.n*this.ez.width+this.ez.left,r=n-i.width/2,o=n+i.width/2;if(t.y>=this.ey.top&&t.y<=this.ey.bottom&&t.x>=r&&t.x<=o)return!0}else{var s=e.n*this.ez.height+this.ez.top,a=s-i.height/2,h=s+i.height/2;if(t.x>=this.ey.left&&t.x<=this.ey.right&&t.y>=a&&t.y<=h)return!0}return!1},n.prototype.w=function(t,e,n,r){var o=40;if(0==this.e){var s=e.p*this.ez.width+this.ez.left,a=this.ez.top+this.ez.height/2,h=new i.Rect(0,s-n.width/2,a-n.height/2,n.width,n.height);if(r&&(h.width<o&&h.inflate((o-h.width)/2,0),h.height<o&&h.inflate(0,(o-h.height)/2)),h.containsPoint(t))return!0}else if(2==this.e){var l=e.p*this.ez.width+this.ez.left,u=this.ez.top+this.ba*this.ez.height,c=new i.Rect(0,l-n.width/2,u-n.height/2,n.width,n.height);if(r&&(c.width<o&&c.inflate((o-c.width)/2,0),c.height<o&&c.inflate(0,(o-c.height)/2)),c.containsPoint(t))return!0}else{var p=e.p*this.ez.height+this.ez.top,d=this.ez.left+this.ez.width/2,f=new i.Rect(0,d-n.width/2,p-n.height/2,n.width,n.height);if(r&&(f.width<o&&f.inflate((o-f.width)/2,0),f.height<o&&f.inflate(0,(o-f.height)/2)),f.containsPoint(t))return!0}return!1},n.prototype.d3=function(t,e){0==this.e||2==this.e?(t.orientation=this.e,t.width=Math.max(15,this.ez.width*e.r),t.height=this.bb,t.translateX=this.ez.left+this.ez.width*e.n,t.translateY=this.ez.bottom+this.bb/2):(t.orientation=this.e,t.height=Math.max(15,this.ez.height*e.r),t.width=this.bb,t.translateY=this.ez.top+this.ez.height*e.n,t.translateX=this.ez.right+this.bb/2)},n.prototype.d0=function(t){0==this.e?(t.height=this.bb,t.width=this.ez.width,t.translateX=this.ez.left+this.ez.width/2,t.translateY=(this.ey.top+this.ey.bottom)/2):2==this.e?(t.height=this.bb,t.width=this.ez.width,t.translateX=this.ez.left+this.ez.width/2,t.translateY=this.ez.top+this.ba*this.ez.height):(t.width=this.bb,t.height=this.ez.height,t.translateY=this.ez.top+this.ez.height/2,t.translateX=(this.ey.left+this.ey.right)/2)},n.prototype.d5=function(t,e){0==this.e?(t.orientation=this.e,t.translateX=this.ez.left+this.ez.width*e.p,t.translateY=this.ez.top+this.ez.height/2):2==this.e?(t.orientation=this.e,t.translateX=this.ez.left+this.ez.width*e.p,t.translateY=this.ez.top+this.ez.height*this.ba):(t.orientation=this.e,t.translateY=this.ez.top+this.ez.height*e.p,t.translateX=this.ez.left+this.ez.width/2)},Object.defineProperty(n.prototype,"bk",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.dl("StartInset",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.dl("EndInset",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.dl("TrackStartInset",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.dl("TrackEndInset",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.dl("YTrackStartInset",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.dl("YTrackEndInset",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.dl("BarExtent",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.dl("Orientation",i.enumGetBox(oe,e),i.enumGetBox(oe,this.d))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"es",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.dl("ThumbBrush",e,this.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.dl("ThumbStrokeThickness",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"et",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.dl("ThumbOutline",e,this.ei)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.dl("ThumbWidth",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.dl("ThumbHeight",e,this.ax)},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},Object.defineProperty(n.prototype,"ek",{get:function(){return this.d9},set:function(t){var e=this.d9;this.d9=t,e!=this.d9&&this.dl("BarBrush",e,this.d9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return this.ea},set:function(t){var e=this.ea;this.ea=t,e!=this.ea&&this.dl("BarOutline",e,this.ea)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.dl("BarStrokeThickness",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ep",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.dl("RangeThumbBrush",e,this.ee)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eq",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.dl("RangeThumbOutline",e,this.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.dl("RangeThumbStrokeThickness",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"er",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.dl("RangeThumbRidgesBrush",e,this.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eu",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.dl("ThumbRidgesBrush",e,this.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"em",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.dl("CalloutBrush",e,this.eb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eo",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.dl("CalloutTextColor",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"en",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.dl("CalloutOutline",e,this.ec)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.dl("CalloutStrokeThickness",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return!1},enumerable:!1,configurable:!0}),n.prototype.dl=function(t,e,n){this.du(t,e,n),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.du=function(t,e,i){switch(t){case"PixelScalingRatio":this.a9=this.bh;break;case"ActualPixelScalingRatio":null!=this.k&&this.k.aw();break;case"YPosition":this.q=!0,this.ba=this.br(e,i),this.trackDirty(),this.r||(this.b0=this.bt(this.ba)),this.q=!1;break;case"YValue":this.r=!0,this.q||(this.bw=this.bs(this.b0),this.ba=this.br(this.bw,this.bw),this.trackDirty()),this.dt(this,e,i),this.r=!1;break;case"Orientation":this.dk(),this.trackDirty();break;case"TrackStartInset":case"TrackEndInset":case"StartInset":case"EndInset":this.de(),this.trackDirty();break;case"Min":case"Max":this.dm(),this.trackDirty();break;case"ThumbBrush":case"ThumbOutline":case"ThumbRidgesBrush":case"ThumbStrokeThickness":this.d7(),this.k.aq();break;case"ThumbWidth":case"ThumbHeight":for(var n=0;n<this.thumbs.count;n++){var r=this.thumbs._inner[n],o=this.k.f(r);o.width=this.bo,o.height=this.bm}this.trackDirty();break;case"RangeThumbBrush":case"RangeThumbOutline":case"RangeThumbRidgesBrush":case"RangeThumbStrokeThickness":this.d4(),this.k.aq();break;case"BarBrush":case"BarOutline":case"BarStrokeThickness":this.d1(),this.k.aq();break;case"CalloutBrush":case"CalloutOutline":case"CalloutTextColor":case"CalloutStrokeThickness":this.d2(),this.k.aq()}},n.prototype.d1=function(){var t=this.k.b;null==this.ek?t.barBox._fill=t.getBarBoxDefaultBrush():t.barBox._fill=this.ek,null==this.el?t.barBox._stroke=t.getBarBoxDefaultOutline():t.barBox._stroke=this.el,i.isNaN_(this.bc)?t.barBox.ad=t.getBarBoxDefaultStrokeThickness():t.barBox.ad=this.bc},n.prototype.d2=function(){for(var t=0;t<this.thumbs.count;t++){var e=this.k.d(this.thumbs._inner[t]);null==this.em?e.calloutBox._fill=e.getCalloutBoxDefaultBrush():e.calloutBox._fill=this.em,null==this.en?e.calloutBox._stroke=e.getCalloutBoxDefaultStroke():e.calloutBox._stroke=this.en,null==this.eo?e.calloutText.ao=e.getCalloutTextDefaultBrush():e.calloutText.ao=this.eo,i.isNaN_(this.bd)?e.calloutBox.ad=e.getCalloutBoxDefaultStrokeThickness():e.calloutBox.ad=this.bd}},n.prototype.d7=function(){for(var t=0;t<this.thumbs.count;t++){var e=this.k.f(this.thumbs._inner[t]);null==this.es?e.thumbBox._fill=e.getThumbBoxDefaultBrush():e.thumbBox._fill=this.es,null==this.et?e.thumbBox._stroke=e.getThumbBoxDefaultStroke():e.thumbBox._stroke=this.et,null==this.eu?e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke():e.thumbRidges._stroke=this.eu,i.isNaN_(this.bn)?e.thumbBox.ad=e.getThumbBoxDefaultStrokeThickness():e.thumbBox.ad=this.bn}},n.prototype.d4=function(){for(var t=0;t<this.ah.count;t++){var e=this.k.c(this.ah._inner[t]);null==this.ep?e.thumbBox._fill=e.getThumbBoxDefaultBrush():e.thumbBox._fill=this.ep,null==this.eq?e.thumbBox._stroke=e.getThumbBoxDefaultStroke():e.thumbBox._stroke=this.eq,null==this.er?e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke():e.thumbRidges._stroke=this.er,i.isNaN_(this.bj)?e.thumbBox.ad=e.getThumbBoxDefaultStrokeThickness():e.thumbBox.ad=this.bj}},n.prototype.dm=function(){},n.prototype.de=function(){this.e0.isEmpty||this.ds(this.e0.left,this.e0.top,this.e0.width,this.e0.height)},n.prototype.dk=function(){if(0==this.e)for(var t=0;t<this.thumbs.count;t++){var e=this.k.f(this.thumbs._inner[t]);e.width=this.bo,e.height=this.bm}else if(2==this.e)for(var i=0;i<this.thumbs.count;i++){var n=this.k.f(this.thumbs._inner[i]);n.width=this.bo,n.height=this.bm}else for(var r=0;r<this.thumbs.count;r++){var o=this.k.f(this.thumbs._inner[r]);o.width=this.bo,o.height=this.bm}this.e0.isEmpty||this.ds(this.e0.left,this.e0.top,this.e0.width,this.e0.height)},n.prototype.provideContainer=function(t){this.k.ax(t)},n.prototype.notifySizeChanged=function(){this.k.ar()},n.prototype.dz=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),l=h.next();!l.done;l=h.next()){var u=l.value;null!=u&&(u.propertyUpdated=i.delegateRemove(u.propertyUpdated,i.runOn(this,this.c9))),this.dp(u)}}catch(t){r={error:t}}finally{try{l&&!l.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 d=p.value;null!=d&&(d.propertyUpdated=i.delegateCombine(d.propertyUpdated,i.runOn(this,this.c9))),this.dn(d)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}this.trackDirty()},n.prototype.dn=function(t){t.e=this,t.c=this.k.e(t,this.thumbs.indexOf(t))},n.prototype.dp=function(t){t.e=null,this.k.az(t)},n.prototype.c9=function(t,e){this.trackDirty()},n.prototype.c7=function(){this.k.ak()},n.prototype.trackDirty=function(){this.s=!0,null!=this.k&&this.k.aq()},n.prototype.updateActualPosition=function(t,e){if(i.isNaN_(this.bl))return e;var n=(this.bg+e*(this.bf-this.bg))/this.bl;return((n=Math.round(n))*this.bl-this.bg)/(this.bf-this.bg)},n.prototype.updateThumbValue=function(t){return this.bg+t*(this.bf-this.bg)},n.prototype.updateThumbPosition=function(t){return(t-this.bg)/(this.bf-this.bg)},n.prototype.br=function(t,e){if(i.isNaN_(this.bl))return e;var n=(this.bv+e*(this.bu-this.bv))/this.bl;return((n=Math.round(n))*this.bl-this.bv)/(this.bu-this.bv)},n.prototype.bt=function(t){return this.bv+t*(this.bu-this.bv)},n.prototype.bs=function(t){return(t-this.bv)/(this.bu-this.bv)},n.prototype.onThumbValueUpdated=function(t,e,i){var n;null!=this.thumbValueChanging&&this.thumbValueChanging(this,((n=new ae).b=i,n.a=t,n))},n.prototype.dt=function(t,e,i){var n;null!=this.yValueChanging&&this.yValueChanging(this,((n=new he).a=i,n))},n.prototype.dw=function(){null!=this.k&&this.k.a3()},n.prototype.c8=function(){null!=this.k&&this.k.ao()},n.$t=i.markType(n,"MultiSlider",i.Base.$,[ee,i.INotifyPropertyChanged_$type]),n}(i.Base),ce=function(t){function n(e){var i=t.call(this,e)||this;return i.u=null,i.w=null,i.v=null,i.x=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.thumbValueChanging=i.delegateCombine(o.thumbValueChanging,i.runOn(this,this.z));var s=t;s.yValueChanging=i.delegateCombine(s.yValueChanging,i.runOn(this,this.ab)),this.v=r,this.x=e;break;case 4:var a=t;a.thumbValueChanged=i.delegateCombine(a.thumbValueChanged,i.runOn(this,this.y));var h=t;h.yValueChanged=i.delegateCombine(h.yValueChanged,i.runOn(this,this.aa)),this.u=r,this.w=e}},n.prototype.y=function(t,e){if(null!=this.u){var n=new i.NativeUISliderValueChangedEventArgs;this.u(this.w,n)}},n.prototype.aa=function(t,e){if(null!=this.u){var n=new i.NativeUISliderValueChangedEventArgs;this.u(this.w,n)}},n.prototype.z=function(t,e){if(null!=this.v){var n=new i.NativeUISliderValueChangedEventArgs;this.v(this.x,n)}},n.prototype.ab=function(t,e){if(null!=this.v){var n=new i.NativeUISliderValueChangedEventArgs;this.v(this.x,n)}},n.prototype.getValue=function(t,e){switch(e){case 12:return t.bg;case 13:return t.bf;case 97:return t.bv;case 98:return t.bf;case 14:return t.bl;case 2:return t.thumbs._inner[0].s;case 92:return t.b0;case 93:return t.ek;case 94:return t.es;case 96:return t.eu;case 95:return t.et;case 30:switch(t.e){case 0:return i.enumGetBox(i.NativeUISliderOrientation_$type,0);case 1:return i.enumGetBox(i.NativeUISliderOrientation_$type,1);case 2:return i.enumGetBox(i.NativeUISliderOrientation_$type,2)}}return null},n.prototype.removeHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.thumbValueChanging=i.delegateRemove(o.thumbValueChanging,i.runOn(this,this.z));var s=t;s.yValueChanging=i.delegateRemove(s.yValueChanging,i.runOn(this,this.ab)),this.v=null,this.x=null;break;case 4:var a=t;a.thumbValueChanged=i.delegateRemove(a.thumbValueChanged,i.runOn(this,this.y));var h=t;h.yValueChanged=i.delegateRemove(h.yValueChanged,i.runOn(this,this.aa)),this.u=null,this.w=null}},n.prototype.setValue=function(t,e,n){switch(e){case 12:t.bg=n;break;case 13:t.bf=n;break;case 97:t.bv=n;break;case 98:t.bu=n;break;case 14:t.bl=n;break;case 2:t.thumbs._inner[0].s=n;break;case 92:t.b0=n;break;case 93:t.ek=n;break;case 94:t.es=n;break;case 96:t.eu=n;break;case 95:t.et=n;break;case 30:switch(i.EnumUtil.getEnumValue(i.NativeUISliderOrientation_$type,n)){case 0:t.e=0;break;case 1:t.e=1;break;case 2:t.e=2}}},n.$t=i.markType(n,"MultiSliderBridge",Gt.$),n}(Gt),pe=function(t){return t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical",t}({}),de=i.markEnum("ButtonGroupOrientation","Horizontal,0|Vertical,1"),fe=i.markEnum("ButtonGroupDisplayStyle","Flat,0|Outlined,1"),be=function(t){function n(){var e=t.call(this,b.$,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,"XButtonGroupButtonCollection",i.ObservableCollection$1.$.specialize(b.$)),n}(i.ObservableCollection$1),ye=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ButtonGroupSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),ge=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=0,e.n=0,e.o=0,e.l=0,e.e=0,e.f=0,e.a=null,e.k=0,e.b=null,e.d=null,e.c=null,e.j=0,e.g=!1,e.h=!1,e.i=null,e}return e.__extends(n,t),n.prototype.p=function(){var t=new i.StringBuilder(0);t.l("{"),t.l("left : "+this.m+", "),t.l("top : "+this.n+", "),t.l("height : "+this.l+", "),t.l("width : "+this.o+", "),t.l("baseTheme : "+i.enumGetBox(i.BaseControlTheme_$type,this.e)+", "),t.l("actualDensity : "+i.enumGetBox(i.ControlDisplayDensity_$type,this.f)+", "),t.l("selectedIndices : "+this.a+", "),t.l("actualItemBackgroundColor : "+this.b.serialize()+", "),t.l("actualItemTextColor : "+this.d.serialize()+", "),t.l("actualItemBorderColor : "+this.c.serialize()+", "),t.l("actualItemBorderWidth : "+this.j+", "),t.l("isDisabled : "+this.g+", "),t.l("isMultiSelect : "+this.h+", "),t.l("buttonModels: [");for(var e=0;e<this.i.count;e++)0!=e&&t.l(","),t.l(this.i._inner[e].serialize());return t.l("]"),t.l("}"),t.toString()},n.$t=i.markType(n,"ButtonGroupVisualModelExport"),n}(i.Base),me=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.g=null,e.b=null,e.f=new i.List$1(i.Delegate_$type,0),e.m=null,e.c=!0,e.h=null,e.i=null,e.j=null,e.k=null,e}return e.__extends(n,t),n.prototype.v=function(){},n.prototype.d=function(){return!0},n.prototype.p=function(t){},n.prototype.r=function(t){},n.prototype.q=function(){},Object.defineProperty(n.prototype,"l",{get:function(){return this.h},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var n,r,o=this;if(null==t){try{for(var s=e.__values(i.fromEnum(this.f)),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.f.clear()}this.g=t,t.rootWrapper.setStyleProperty("position","relative");var h=this.g.createElement("div");h.addClass("ig-button-content"),h.setStyleProperty("position","relative"),h.setStyleProperty("display","flex"),h.setStyleProperty("flex-direction","row"),h.setStyleProperty("flex-wrap","no-wrap"),h.setStyleProperty("align-items","center"),this.j=h,this.f.add(h.listen("click",i.runOn(this,this.n))),this.g.append(h),this.g.getPortal(h,"ChildContent",(function(t){var e=t.componentRef;o.k=e,0==o.a.k?(o.j.setStyleProperty("flex-direction","row"),e.display="flex",e.flexDirection="row"):(o.j.setStyleProperty("flex-direction","column"),e.display="flex",e.flexDirection="column")}),!0),this.a.dc()},n.prototype.z=function(t){this.m!=t&&(this.m=t,null!=this.i&&this.i.setAttribute("d",this.m))},n.prototype.y=function(){var t=this.k;null!=t&&(0==this.a.k?(this.j.setStyleProperty("flex-direction","row"),t.display="flex",t.flexDirection="row"):(this.j.setStyleProperty("flex-direction","column"),t.display="flex",t.flexDirection="column"))},n.prototype.n=function(t){},n.prototype.w=function(){this.d()},n.prototype.s=function(){this.c=!0},n.prototype.u=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.f)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.f.clear()},n.prototype.aa=function(t){null!=t&&this.g.rootWrapper.setStyleProperty("font",t.fontString)},n.prototype.x=function(t){0==this.a.k?(t.f1="flex",t.g5="row",t.fc="center"):(t.f1="flex",t.g5="column",t.fc="stretch")},n.prototype.o=function(t){this.j.append(t)},n.$t=i.markType(n,"ButtonGroupView"),n}(i.Base),ve=function(t){function n(){var e=t.call(this)||this;e.h=1,e.o=0,e.s=1,e.r=1,e.a=new Array(0),e.v=!1,e._view=null,e.ay=n.n.y(n.p,1,i.enumGetBox(l,2),"CornerRadius").d,e.g0=n.n.af(n.p,i.enumGetBox(l,2),"BackgroundColor"),e.g2=n.n.af(n.p,i.enumGetBox(l,2),"DisabledBackgroundColor"),e.g1=n.n.af(n.p,i.enumGetBox(l,2),"BorderColor"),e.g3=n.n.af(n.p,i.enumGetBox(l,2),"DisabledBorderColor"),e.ax=n.n.i(n.p,i.enumGetBox(l,2),"BorderWidth"),e.g7=n.n.af(n.p,i.enumGetBox(l,2),"TextColor"),e.g4=n.n.af(n.p,i.enumGetBox(l,2),"DisabledTextColor"),e.g8=n.n.af(n.p,i.enumGetBox(l,2),"SelectedBackgroundColor"),e.hb=n.n.af(n.p,i.enumGetBox(l,2),"SelectedTextColor"),e.g5=n.n.af(n.p,i.enumGetBox(l,2),"HoverBackgroundColor"),e.g6=n.n.af(n.p,i.enumGetBox(l,2),"HoverTextColor"),e.g9=n.n.af(n.p,i.enumGetBox(l,2),"HoverSelectedBackgroundColor"),e.ha=n.n.af(n.p,i.enumGetBox(l,2),"HoverSelectedTextColor"),e.as=n.n.y(n.p,1,i.enumGetBox(l,1),"CornerRadius").d,e.f0=n.n.af(n.p,i.enumGetBox(l,1),"BackgroundColor"),e.f2=n.n.af(n.p,i.enumGetBox(l,1),"DisabledBackgroundColor"),e.f1=n.n.af(n.p,i.enumGetBox(l,1),"BorderColor"),e.f3=n.n.af(n.p,i.enumGetBox(l,1),"DisabledBorderColor"),e.ar=n.n.i(n.p,i.enumGetBox(l,1),"BorderWidth"),e.f7=n.n.af(n.p,i.enumGetBox(l,1),"TextColor"),e.f4=n.n.af(n.p,i.enumGetBox(l,1),"DisabledTextColor"),e.f8=n.n.af(n.p,i.enumGetBox(l,1),"SelectedBackgroundColor"),e.gb=n.n.af(n.p,i.enumGetBox(l,1),"SelectedTextColor"),e.f5=n.n.af(n.p,i.enumGetBox(l,1),"HoverBackgroundColor"),e.f6=n.n.af(n.p,i.enumGetBox(l,1),"HoverTextColor"),e.f9=n.n.af(n.p,i.enumGetBox(l,1),"HoverSelectedBackgroundColor"),e.ga=n.n.af(n.p,i.enumGetBox(l,1),"HoverSelectedTextColor"),e.ae=c.m(n.p,n.aw,n.aq),e.dn=c.aj(n.p,n.go,n.fo),e.dq=c.aj(n.p,n.gq,n.fq),e.dv=c.aj(n.p,n.gv,n.fv),e.ds=c.aj(n.p,n.gs,n.fs),e.dp=c.aj(n.p,n.gp,n.fp),e.dr=c.aj(n.p,n.gr,n.fr),e.ad=c.m(n.p,n.av,n.ap),e.dw=c.aj(n.p,n.gw,n.fw),e.dz=c.aj(n.p,n.gz,n.fz),e.dt=c.aj(n.p,n.gt,n.ft),e.du=c.aj(n.p,n.gu,n.fu),e.dx=c.aj(n.p,n.gx,n.fx),e.dy=c.aj(n.p,n.gy,n.fy),e.ai=NaN,e.d8=null,e.ea=null,e.ef=null,e.ec=null,e.ed=null,e.d9=null,e.eb=null,e.ah=NaN,e.ee=null,e.ew=null,e.ez=null,e.ex=null,e.ey=null,e.ak=NaN,e.eg=null,e.ei=null,e.en=null,e.ek=null,e.el=null,e.eh=null,e.ej=null,e.aj=NaN,e.em=null,e.es=null,e.ev=null,e.et=null,e.eu=null,e.ag=NaN,e.d0=null,e.d2=null,e.d7=null,e.d4=null,e.d5=null,e.d1=null,e.d3=null,e.af=NaN,e.d6=null,e.eo=null,e.er=null,e.ep=null,e.eq=null,e.j=0,e.a7="ig-buttongroup-"+n.a5++,e.x=!1,e.w=!1,e.y=!1,e.propertyChanged=null,e.f=new be,e.selectionChanged=null;var r=new me;r.a=e,e.view=r,e.view.v();var o=e.f;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.c4));var s=e.f;return s.collectionResetting=i.delegateCombine(s.collectionResetting,i.runOn(e,e.c5)),e}var r;return e.__extends(n,t),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&this.db("DisplayType",i.enumGetBox(fe,e),i.enumGetBox(fe,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.db("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),n.prototype.c5=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.buttons)),a=s.next();!a.done;a=s.next()){var h=a.value;h.clicked=i.delegateRemove(h.clicked,i.runOn(this,this.c7))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}this.dg(),this.view.q()},n.prototype.appendContentChild=function(t){this.view.o(t)},n.prototype.c4=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),l=h.next();!l.done;l=h.next()){var u=l.value;null!=u&&(u.clicked=i.delegateRemove(u.clicked,i.runOn(this,this.c7))),this.view.r(u)}}catch(t){r={error:t}}finally{try{l&&!l.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 d=p.value;null!=d&&(d.clicked=i.delegateCombine(d.clicked,i.runOn(this,this.c7))),this.view.p(d)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}this.dg()},n.prototype.c7=function(t,e){var i=t,n=this.buttons.indexOf(i);this.df(i,n)},Object.defineProperty(n.prototype,"u",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.db("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.db("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.db("SelectedIndices",e,t)},enumerable:!1,configurable:!0}),n.prototype.df=function(t,e){this.v=!0,this.ab(t)?this.d=this.b(this.d,t,e):(this.aa||(this.d=new Array(0)),this.d=this.c(this.d,t,e)),this.dg(),this.v=!1,null!=this.selectionChanged&&this.selectionChanged(this,new ye)},n.prototype.c=function(t,e,i){for(var n=new Array(Math.max(0,this.a.length+1)),r=0,o=0;o<this.a.length;o++)this.a[o]!=i&&(n[r]=this.a[o],r++);return n[r]=i,n},n.prototype.b=function(t,e,i){for(var n=new Array(Math.max(0,this.a.length-1)),r=0,o=0;o<this.a.length;o++)this.a[o]!=i&&(n[r]=this.a[o],r++);return n},Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.db=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.dd(t,e,n)},n.prototype.dd=function(t,e,i){switch(t){case"BaseTheme":this.di(this.q),this.dh();break;case"DisplayType":case"ItemBorderColor":case"ItemDisabledBorderColor":case"ItemBackgroundColor":case"ItemDisabledBackgroundColor":case"SelectedItemBackgroundColor":case"ItemTextColor":case"ItemDisabledTextColor":case"SelectedItemTextColor":case"ItemHoverBackgroundColor":case"SelectedItemHoverBackgroundColor":case"ItemHoverTextColor":case"SelectedItemHoverTextColor":case"OutlinedItemBorderColor":case"OutlinedItemDisabledBorderColor":case"OutlinedItemBackgroundColor":case"OutlinedItemDisabledBackgroundColor":case"OutlinedSelectedItemBackgroundColor":case"OutlinedItemTextColor":case"OutlinedItemDisabledTextColor":case"OutlinedSelectedItemTextColor":case"OutlinedItemHoverBackgroundColor":case n.cw:case"OutlinedItemHoverTextColor":case"OutlinedSelectedItemHoverTextColor":case"FlatItemBorderColor":case"FlatItemDisabledBorderColor":case"FlatItemBackgroundColor":case"FlatItemDisabledBackgroundColor":case"FlatSelectedItemBackgroundColor":case"FlatItemTextColor":case"FlatItemDisabledTextColor":case"FlatSelectedItemTextColor":case"FlatItemHoverBackgroundColor":case"FlatSelectedItemHoverBackgroundColor":case"FlatItemHoverTextColor":case"FlatSelectedItemHoverTextColor":this.dh();break;case"ActualItemBorderColor":case"ActualItemDisabledBorderColor":case"ActualItemDisabledBackgroundColor":case"ActualItemBackgroundColor":case"ActualItemTextColor":case"ActualItemDisabledTextColor":case"ActualSelectedItemTextColor":case"ActualSelectedItemBackgroundColor":this.dg();break;case"Orientation":this.view.y(),this.dg();break;case"Density":this.t=0==this.u?1:this.u;break;case"ActualDensity":for(var r=0;r<this.buttons.count;r++)this.buttons._inner[r].s=this.t;break;case"IsDisabled":for(var o=0;o<this.buttons.count;o++)this.buttons._inner[o].disabled=this.disabled;break;case"SelectedIndices":this.v||this.dg()}},n.prototype.dm=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.e)?e.e:t.e,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.b)?e.b:t.b)},n.prototype.dh=function(){switch(this.i){case 1:this.am=i.isNaN_(this.a2)?this.ay:this.a2,this.e0=null!=this.ho?this.ho:this.g0,this.e2=null!=this.hq?this.hq:this.g2,this.e7=null!=this.hv?this.hv:this.g7,this.e4=null!=this.hs?this.hs:this.g4,this.e1=null!=this.hp?this.hp:this.g1,this.e3=null!=this.hr?this.hr:this.g3,this.al=i.isNaN_(this.a1)?this.ax:this.a1,this.e8=null!=this.h8?this.h8:this.g8,this.fb=null!=this.ib?this.ib:this.hb,this.e5=null!=this.ht?this.ht:this.g5,this.e6=null!=this.hu?this.hu:this.g6,this.e9=null!=this.h9?this.h9:this.g9,this.fa=null!=this.ia?this.ia:this.ha;break;case 0:this.am=i.isNaN_(this.a2)?this.as:this.a2,this.e0=null!=this.ho?this.ho:this.f0,this.e2=null!=this.hq?this.hq:this.f2,this.e7=null!=this.hv?this.hv:this.f7,this.e4=null!=this.hs?this.hs:this.f4,this.e1=null!=this.hp?this.hp:this.f1,this.e3=null!=this.hr?this.hr:this.f3,this.al=i.isNaN_(this.a1)?this.ar:this.a1,this.e8=null!=this.h8?this.h8:this.f8,this.fb=null!=this.ib?this.ib:this.gb,this.e5=null!=this.ht?this.ht:this.f5,this.e6=null!=this.hu?this.hu:this.f6,this.e9=null!=this.h9?this.h9:this.f9,this.fa=null!=this.ia?this.ia:this.ga}},n.prototype.dg=function(){for(var t=0;t<this.buttons.count;t++){var e=this.buttons._inner[t];e.s=this.t,0==t?this.dj(e):t==this.buttons.count-1?this.dk(e):this.dl(e),e.e=1,e.a3=!1,this.w&&(e.disabled=this.disabled),e.n7=this.e1,e.bl=this.al,e.pv=this.e3,e.pu=this.e2,e.pw=this.e4,this.view.x(e),this.ab(e)?(e.n6=this.e8,e.rl=this.fb,e.ql=this.e9,e.qm=this.fa):(e.n6=this.e0,e.rl=this.e7,e.ql=this.e5,e.qm=this.e6)}},n.prototype.ab=function(t){for(var e=this.buttons.indexOf(t),i=0;i<this.d.length;i++)if(this.d[i]==e)return!0;return!1},n.prototype.dl=function(t){t.k6=new i.CornerRadius(1,0,0,0,0)},n.prototype.dk=function(t){1==this.k?t.k6=new i.CornerRadius(1,0,0,this.am,this.am):t.k6=new i.CornerRadius(1,0,this.am,this.am,0)},n.prototype.dj=function(t){1==this.k?t.k6=new i.CornerRadius(1,this.am,this.am,0,0):t.k6=new i.CornerRadius(1,this.am,0,0,this.am)},n.prototype.di=function(t){this.ay=n.n.y(t,this.r,i.enumGetBox(l,2),"CornerRadius").d,this.g0=n.n.af(t,i.enumGetBox(l,2),"BackgroundColor"),this.g2=n.n.af(t,i.enumGetBox(l,2),"DisabledBackgroundColor"),this.g1=n.n.af(t,i.enumGetBox(l,2),"BorderColor"),this.g3=n.n.af(t,i.enumGetBox(l,2),"DisabledBorderColor"),this.ax=n.n.i(t,i.enumGetBox(l,2),"BorderWidth"),this.g7=n.n.af(t,i.enumGetBox(l,2),"TextColor"),this.g4=n.n.af(t,i.enumGetBox(l,2),"DisabledTextColor"),this.g8=n.n.af(t,i.enumGetBox(l,2),"SelectedBackgroundColor"),this.hb=n.n.af(t,i.enumGetBox(l,2),"SelectedTextColor"),this.g5=n.n.af(t,i.enumGetBox(l,2),"HoverBackgroundColor"),this.g6=n.n.af(t,i.enumGetBox(l,2),"HoverTextColor"),this.g9=n.n.af(t,i.enumGetBox(l,2),"HoverSelectedBackgroundColor"),this.ha=n.n.af(t,i.enumGetBox(l,2),"HoverSelectedTextColor"),this.as=n.n.y(t,this.r,i.enumGetBox(l,1),"CornerRadius").d,this.f0=n.n.af(t,i.enumGetBox(l,1),"BackgroundColor"),this.f2=n.n.af(t,i.enumGetBox(l,1),"DisabledBackgroundColor"),this.f1=n.n.af(t,i.enumGetBox(l,1),"BorderColor"),this.f3=n.n.af(t,i.enumGetBox(l,1),"DisabledBorderColor"),this.ar=n.n.i(t,i.enumGetBox(l,1),"BorderWidth"),this.f7=n.n.af(t,i.enumGetBox(l,1),"TextColor"),this.f4=n.n.af(t,i.enumGetBox(l,1),"DisabledTextColor"),this.f8=n.n.af(t,i.enumGetBox(l,1),"SelectedBackgroundColor"),this.gb=n.n.af(t,i.enumGetBox(l,1),"SelectedTextColor"),this.f5=n.n.af(t,i.enumGetBox(l,1),"HoverBackgroundColor"),this.f6=n.n.af(t,i.enumGetBox(l,1),"HoverTextColor"),this.f9=n.n.af(t,i.enumGetBox(l,1),"HoverSelectedBackgroundColor"),this.ga=n.n.af(t,i.enumGetBox(l,1),"HoverSelectedTextColor")},Object.defineProperty(n.prototype,"am",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.db("ActualItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e0",{get:function(){return this.dn},set:function(t){var e=this.dn;this.dn=t,e!=this.dn&&this.db("ActualItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e2",{get:function(){return this.dq},set:function(t){var e=this.dq;this.dq=t,e!=this.dq&&this.db("ActualItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.db("ActualItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e4",{get:function(){return this.ds},set:function(t){var e=this.ds;this.ds=t,e!=this.ds&&this.db("ActualItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.dp},set:function(t){var e=this.dp;this.dp=t,e!=this.dp&&this.db("ActualItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e3",{get:function(){return this.dr},set:function(t){var e=this.dr;this.dr=t,e!=this.dr&&this.db("ActualItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.db("ActualItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e8",{get:function(){return this.dw},set:function(t){var e=this.dw;this.dw=t,e!=this.dw&&this.db("ActualSelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fb",{get:function(){return this.dz},set:function(t){var e=this.dz;this.dz=t,e!=this.dz&&this.db("ActualSelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.dt},set:function(t){var e=this.dt;this.dt=t,e!=this.dt&&this.db("ActualItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e6",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.db("ActualItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e9",{get:function(){return this.dx},set:function(t){var e=this.dx;this.dx=t,e!=this.dx&&this.db("ActualSelectedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fa",{get:function(){return this.dy},set:function(t){var e=this.dy;this.dy=t,e!=this.dy&&this.db("ActualSelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.db("ItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.d8},set:function(t){var e=this.d8;this.d8=t,e!=this.d8&&this.db("ItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.ea},set:function(t){var e=this.ea;this.ea=t,e!=this.ea&&this.db("ItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.db("ItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.db("ItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.db("ItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.d9},set:function(t){var e=this.d9;this.d9=t,e!=this.d9&&this.db("ItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.db("ItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.db("ItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.db("ItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.ew},set:function(t){var e=this.ew;this.ew=t,e!=this.ew&&this.db("SelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.ez},set:function(t){var e=this.ez;this.ez=t,e!=this.ez&&this.db("SelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.ex},set:function(t){var e=this.ex;this.ex=t,e!=this.ex&&this.db("SelectedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.ey},set:function(t){var e=this.ey;this.ey=t,e!=this.ey&&this.db("SelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.db("OutlinedItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.db("OutlinedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.db("OutlinedItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.db("OutlinedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.db("OutlinedItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.db("OutlinedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.db("OutlinedItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.db("OutlinedItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.db("OutlinedItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.em},set:function(t){var e=this.em;this.em=t,e!=this.em&&this.db("OutlinedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.es},set:function(t){var e=this.es;this.es=t,e!=this.es&&this.db("OutlinedSelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.ev},set:function(t){var e=this.ev;this.ev=t,e!=this.ev&&this.db("OutlinedSelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.et},set:function(t){var e=this.et;this.et=t,e!=this.et&&this.db(n.cw,e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.eu},set:function(t){var e=this.eu;this.eu=t,e!=this.eu&&this.db("OutlinedSelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a0",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.db("FlatItemCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.d0},set:function(t){var e=this.d0;this.d0=t,e!=this.d0&&this.db("FlatItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.d2},set:function(t){var e=this.d2;this.d2=t,e!=this.d2&&this.db("FlatItemDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.d7},set:function(t){var e=this.d7;this.d7=t,e!=this.d7&&this.db("FlatItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.d4},set:function(t){var e=this.d4;this.d4=t,e!=this.d4&&this.db("FlatItemDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.db("FlatItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.d1},set:function(t){var e=this.d1;this.d1=t,e!=this.d1&&this.db("FlatItemBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.d3},set:function(t){var e=this.d3;this.d3=t,e!=this.d3&&this.db("FlatItemDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.db("FlatItemBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.db("FlatItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.eo},set:function(t){var e=this.eo;this.eo=t,e!=this.eo&&this.db("FlatSelectedItemBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.db("FlatSelectedItemTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.ep},set:function(t){var e=this.ep;this.ep=t,e!=this.ep&&this.db("FlatSelectedItemHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.eq},set:function(t){var e=this.eq;this.eq=t,e!=this.eq&&this.db("FlatSelectedItemHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.db("Orientation",i.enumGetBox(de,e),i.enumGetBox(de,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.db("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.w=!0,e!=this.x&&this.db("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.db("IsMultiSelect",e,t)},enumerable:!1,configurable:!0}),n.prototype.dc=function(){},n.prototype.onDetachedFromUI=function(){this.view.u()},n.prototype.onAttachedToUI=function(){this.view.s()},n.prototype.ac=function(){return this.view.d()},n.prototype.a6=function(){return this.e()},n.prototype.br=function(){return this.e().p()},n.prototype.e=function(){var t=new ge;t.e=this.q,t.f=this.t,t.a=this.d,t.k=this.am,t.b=i.AppearanceHelper.a(this.e0),t.d=i.AppearanceHelper.a(this.e7),t.c=i.AppearanceHelper.a(this.e1),t.j=this.al,t.g=this.disabled,t.h=this.aa,t.i=new i.List$1(d.$,0);for(var e=0;e<this.buttons.count;e++)t.i.add1(this.buttons._inner[e].ec());return t},n.prototype.provideContainer=function(t){this.view.t(t)},Object.defineProperty(n.prototype,"buttons",{get:function(){return this.f},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"XButtonGroup",i.Base.$,[i.INotifyPropertyChanged_$type]),n.p=2,n.aw=4,n.go=i.BrushUtil.l(255,255,255,255),n.gq=i.BrushUtil.l(10,0,0,0),n.gp=i.BrushUtil.l(255,199,199,199),n.gr=i.BrushUtil.l(255,199,199,199),n.av=1,n.gv=i.BrushUtil.l(255,0,0,0),n.gs=i.BrushUtil.l(66,0,0,0),n.gw=i.BrushUtil.l(60,0,0,0),n.gz=i.BrushUtil.l(255,0,0,0),n.gt=i.BrushUtil.l(30,0,0,0),n.gu=i.BrushUtil.l(255,0,0,0),n.gx=i.BrushUtil.l(96,0,0,0),n.gy=i.BrushUtil.l(255,0,0,0),n.aq=3,n.fo=i.BrushUtil.l(0,255,255,255),n.fq=i.BrushUtil.l(10,0,0,0),n.fp=i.BrushUtil.l(255,33,150,243),n.fr=i.BrushUtil.l(255,199,199,199),n.ap=1,n.fv=i.BrushUtil.l(255,33,150,243),n.fs=i.BrushUtil.l(66,0,0,0),n.fw=i.BrushUtil.l(255,33,150,243),n.fz=i.BrushUtil.l(255,255,255,255),n.ft=i.BrushUtil.l(26,33,150,243),n.fu=i.BrushUtil.l(255,33,150,243),n.fx=i.BrushUtil.l(255,33,150,243),n.fy=i.BrushUtil.l(255,255,255,255),n.au=4,n.gc=i.BrushUtil.l(0,255,255,255),n.ge=i.BrushUtil.l(10,0,0,0),n.gd=i.BrushUtil.l(0,0,0,0),n.gf=i.BrushUtil.l(255,199,199,199),n.at=0,n.gj=i.BrushUtil.l(255,228,28,119),n.gg=i.BrushUtil.l(66,0,0,0),n.gk=i.BrushUtil.l(30,228,28,119),n.gn=i.BrushUtil.l(255,228,28,119),n.gh=i.BrushUtil.l(13,228,28,119),n.gi=i.BrushUtil.l(255,228,28,119),n.gl=i.BrushUtil.l(30,228,28,119),n.gm=i.BrushUtil.l(255,228,28,119),n.ao=0,n.fc=i.BrushUtil.l(0,255,255,255),n.fe=i.BrushUtil.l(10,0,0,0),n.fd=i.BrushUtil.l(0,0,0,0),n.ff=i.BrushUtil.l(0,0,0,0),n.an=0,n.fj=i.BrushUtil.l(255,119,119,119),n.fg=i.BrushUtil.l(66,0,0,0),n.fk=i.BrushUtil.l(26,33,150,243),n.fn=i.BrushUtil.l(255,33,150,243),n.fh=i.BrushUtil.l(10,33,150,243),n.fi=i.BrushUtil.l(255,119,119,119),n.fl=i.BrushUtil.l(26,33,150,243),n.fm=i.BrushUtil.l(255,33,150,243),n.cw="OutlinedSelectedItemHoverBackgroundColor",n.a5=0,n.n=new c(1,((r=new i.Dictionary$2(i.BaseControlTheme_$type,u.$,0)).addItem(2,b.i),r.addItem(1,b.h),r.addItem(3,b.k),r.addItem(4,b.j),r.addItem(5,b.k),r.addItem(6,b.j),r),2),n}(i.Base),_e=function(t){function n(e){var n=t.call(this,e)||this;return n.u=null,n.w=null,n.v=new i.List$1(i.NativeUIButton.$,0),n}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 3:o.selectionChanged=i.delegateCombine(o.selectionChanged,i.runOn(this,this.x)),this.u=r,this.w=e}},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 3:o.selectionChanged=i.delegateRemove(o.selectionChanged,i.runOn(this,this.x)),this.u=null,this.w=null}},n.prototype.x=function(t,e){if(null!=this.u){var n=new i.NativeUIButtonGroupSelectionChangedEventArgs,r=t.d;n.a=r,this.u(this.w,n)}},n.prototype.getValue=function(t,e){var n=t;switch(e){case 1:var r=1;switch(n.u){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 18:return i.enumGetBox(i.BaseControlTheme_$type,n.q);case 87:return n.d;case 0:switch(n.i){case 0:return i.enumGetBox(i.NativeUIButtonGroupDisplayType_$type,0);case 1:return i.enumGetBox(i.NativeUIButtonGroupDisplayType_$type,1)}return i.enumGetBox(i.NativeUIButtonDisplayType_$type,0);case 32:return n.disabled;case 24:return n.ht;case 17:return n.a2;case 119:return n.hp}return null},n.prototype.setValue=function(t,e,n){var r=t;switch(e){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,n)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}r.u=o;break;case 18:r.q=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 87:r.d=n;break;case 0:switch(i.EnumUtil.getEnumValue(i.NativeUIButtonGroupDisplayType_$type,n)){case 0:r.i=0;break;case 1:r.i=1}break;case 32:r.disabled=n;break;case 24:r.ht=n;break;case 17:r.a2=n.e;break;case 119:r.hp=n}},n.prototype.exportVisualData=function(t){var e=t.a6(),i=this.getBoundingRect(t);return e.m=i.left,e.n=i.top,e.o=i.width,e.l=i.height,e},n.prototype.addButton=function(t,e){this.v.add(e),t.buttons.add(e.d.getMethodTarget(null)),t.appendContentChild(e.an)},n.prototype.updateButton=function(t,e,i){this.v._inner[e]=i,t.buttons._inner[e]=i.d.getMethodTarget(null)},n.prototype.insertButton=function(t,e,i){this.v.insert(e,i),t.buttons.insert(e,i.d.getMethodTarget(null)),t.appendContentChild(i.an)},n.prototype.removeButton=function(t,e){this.v.removeAt(e),t.buttons.removeAt(e)},n.prototype.getButtonAt=function(t,e){return this.v._inner[e]},n.prototype.clearSelection=function(t){t.d=new Array(0)},n.$t=i.markType(n,"XButtonGroupBridge",Gt.$,[i.INativeUIButtonGroupBridge_$type]),n}(Gt),Ce=i.markEnum("CheckboxLabelPosition","After,0|Before,1"),Be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._isChecked=!1,e._isIndeterminate=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this._isChecked},set:function(t){this._isChecked=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndeterminate",{get:function(){return this._isIndeterminate},set:function(t){this._isIndeterminate=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"CheckboxChangeEventArgs",i.EventArgs.$),n}(i.EventArgs),xe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.r=0,e.t=0,e.u=0,e.q=0,e.f=0,e.d=null,e.c=null,e.e=null,e.b=null,e.o=0,e.l=0,e.p=0,e.s=0,e.n=0,e.m=0,e.a=null,e.v=null,e.j=!1,e.g=!1,e.h=!1,e.k=!1,e.i=!1,e}return e.__extends(n,t),n.prototype.w=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left : "+this.r+", "),t.l("top : "+this.t+", "),t.l("height : "+this.q+", "),t.l("width : "+this.u+", "),t.l("baseTheme : "+this.f+", "),t.l("actualUncheckedBackgroundColor : "+this.d.serialize()+", "),t.l("actualTickColor : "+this.c+", "),t.l("actualUncheckedBorderColor : "+this.e.serialize()+", "),t.l("actualCheckedBorderColor : "+this.b.serialize()+", "),t.l("borderWidth : "+this.o+", "),t.l("actualBorderWidth : "+this.l+", "),t.l("tickStrokeWidth : "+this.s+", "),t.l("actualTickStrokeWidth : "+this.n+", "),t.l("actualCheckedBackgroundColor : "+this.a.serialize()+", "),null!=this.v&&t.l('value : "'+this.v.toString()+'", '),t.l("isFocused : "+this.j+", "),t.l("disableRipple : "+this.g+", "),t.l("isChecked : "+this.h+", "),t.l("isIndeterminate : "+this.k+", "),t.l("isDisabled : "+this.i+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"CheckboxVisualModelExport"),n}(i.Base),ke=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.m=null,e.g=null,e.k=new i.List$1(i.Delegate_$type,0),e.h=!0,e.s=null,e.n=null,e.r=null,e.o=null,e.p=null,e.e=null,e.q=null,e}return e.__extends(n,t),n.prototype.ag=function(){},n.prototype.j=function(){return!0},n.prototype.ae=function(t){var n,r;if(null!=t){this.m=t,this.m.rootWrapper.setStyleProperty("display","flex"),this.m.rootWrapper.setStyleProperty("flex-direction","row"),this.m.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.m.rootWrapper.setStyleProperty("align-items","center");var s=this.m.createElement("input");this.s=s,this.s.addClass("ig-native-checkbox"),this.s.setStyleProperty("position","absolute"),this.s.setStyleProperty("width","1px"),this.s.setStyleProperty("height","1px"),this.s.setStyleProperty("margin","-1px"),this.s.setStyleProperty("border","none"),this.s.setStyleProperty("clip","rect(0, 0, 0, 0)"),this.s.setStyleProperty("outline","0"),this.s.setStyleProperty("pointer-events","none"),this.s.setStyleProperty("overflow","hidden"),this.s.setStyleProperty("-webkit-appearance","none"),this.s.setStyleProperty("-moz-appearance","none"),this.s.setStyleProperty("appearance","none"),this.s.setAttribute("type","checkbox"),this.s.setAttribute("id",this.d.b1),this.ak(),this.k.add(s.listen("change",i.runOn(this,this.y))),this.k.add(s.listen("click",i.runOn(this,this.z))),this.k.add(s.listen("focus",i.runOn(this,this.aa))),this.k.add(s.listen("blur",i.runOn(this,this.x))),this.m.append(s);var a=this.m.createElement("div");a.addClass("ig-checkbox-box"),a.setStyleProperty("width","1.25em"),a.setStyleProperty("height","1.25em"),a.setStyleProperty("position","relative"),this.n=a,this.m.append(a);var h=this.m.createElement("label");h.setAttribute("for",this.d.b1),h.addClass("ig-checkbox-composite"),h.setStyleProperty("box-sizing","border-box"),h.setStyleProperty("position","relative"),h.setStyleProperty("display","inline-block"),h.setStyleProperty("cursor","pointer"),h.setStyleProperty("width","1.25em"),h.setStyleProperty("height","1.25em"),h.setStyleProperty("min-width","1.25em"),h.setStyleProperty("border-width","0.125rem"),h.setStyleProperty("border-style","solid"),h.setStyleProperty("border-color","rgba(0,0,0,0.54)"),h.setStyleProperty("border-top-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-right-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-bottom-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-left-color","rgba(0, 0, 0, 0.54)"),h.setStyleProperty("border-radius","2px"),h.setStyleProperty("-webkit-tap-highlight-color","transparent"),h.setStyleProperty("overflow","hidden"),this.r=h,this.n.append(h);var l=this.m.createElementNS("svg","http://www.w3.org/2000/svg");l.setAttribute("viewBox","0 0 24 24"),l.addClass("ig-checkbox-mark"),l.setStyleProperty("position","absolute"),l.setStyleProperty("top","0"),l.setStyleProperty("left","0"),l.setStyleProperty("right","0"),l.setStyleProperty("bottom","0"),l.setStyleProperty("stroke","#fff"),l.setStyleProperty("stroke-linecap","square"),l.setStyleProperty("stroke-width","3"),l.setStyleProperty("stroke-dasharray","24"),l.setStyleProperty("stroke-dashoffset","24"),l.setStyleProperty("fill","none"),l.setStyleProperty("opacity","0"),l.setStyleProperty("z-index","1"),this.p=l,h.append(l);var u=this.m.createElementNS("path","http://www.w3.org/2000/svg");u.setAttribute("d",this.d.bf),l.append(u),this.o=u;var c=this.m.createElement("div"),p=this.m.getSubRenderer(c);c.setStyleProperty("position","absolute"),c.setStyleProperty("width","3em"),c.setStyleProperty("height","3em"),c.setStyleProperty("right","calc(50% - 1.5em)"),c.setStyleProperty("top","calc(50% - 1.5em)"),c.setStyleProperty("border-radius","24px"),c.setStyleProperty("overflow","hidden");var d=new o;d.provideContainer(p),d.q=a;this.m.getExternal(d,this.m.rootWrapper,this.m.getExternal(this.d,null,null));d.h=!0,d.k=!0,this.e=d,a.append(c);var f=this.m.createElement("span");f.addClass("ig-checkbox-label"),f.setStyleProperty("font-family","Verdana"),f.setStyleProperty("font-weight","400"),f.setStyleProperty("font-size","1rem"),f.setStyleProperty("letter-spacing",".00937rem"),f.setStyleProperty("text-transform","none"),f.setStyleProperty("line-height","1.5rem"),f.setStyleProperty("margin-left","8px"),f.setStyleProperty("margin-top","0"),f.setStyleProperty("margin-bottom","0"),f.setStyleProperty("cursor","pointer"),f.setStyleProperty("role","label"),this.q=f,this.k.add(f.listen("click",i.runOn(this,this.w))),this.m.append(f),this.m.getPortal(f,"ChildContent",(function(t){}),!0),this.d.cp()}else{try{for(var b=e.__values(i.fromEnum(this.k)),y=b.next();!y.done;y=b.next()){(0,y.value)()}}catch(t){n={error:t}}finally{try{y&&!y.done&&(r=b.return)&&r.call(b)}finally{if(n)throw n.error}}this.k.clear()}},n.prototype.w=function(t){this.d.toggle()},n.prototype.ak=function(){if(this.j()){this.d.b1;this.s.setAttribute("name",this.d.ca),this.s.setProperty("value",this.d.a4),this.d.aa&&this.s.setAttribute("tabindex",this.d.az.toString()),this.s.setProperty("disabled",this.d.disabled),this.s.setProperty("indeterminate",this.d.indeterminate),this.s.setProperty("checked",this.d.checked),this.s.setProperty("required",this.d.ay),this.d.indeterminate?this.s.setAttribute("aria-checked","mixed"):this.s.setAttribute("aria-checked",this.d.checked?"true":"false"),this.s.setAttribute("aria-labelledby",this.d.bn),this.s.setAttribute("aria-label",this.d.bm)}},n.prototype.am=function(){return new i.Size(1,this.r.width(),this.r.height())},n.prototype.a=function(){var t=this.r.getNativeElement().getBoundingClientRect(),e=t.top,i=t.left,n=new Array(2);return n[0]=e,n[1]=i,n},n.prototype.aj=function(){this.o.setAttribute("d",this.d.bf)},n.prototype.ah=function(){if(this.j()){var t=this.d.b1;this.s.setAttribute("id",t),this.r.setAttribute("for",t)}},n.prototype.x=function(t){this.d.focused=!1},n.prototype.aa=function(t){this.d.focused=!0},n.prototype.z=function(t){(t.stopPropagation(),this.i())&&this.s.getNativeElement().blur();this.d.toggle()},n.prototype.i=function(){return!1},n.prototype.y=function(t){t.stopPropagation()},n.prototype.ab=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.m)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.r,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.ac=function(t){},Object.defineProperty(n.prototype,"u",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.p},enumerable:!1,configurable:!0}),n.prototype.ad=function(){this.h=!0,this.k.add(this.s.listen("change",i.runOn(this,this.y))),this.k.add(this.s.listen("click",i.runOn(this,this.z))),this.k.add(this.s.listen("focus",i.runOn(this,this.aa))),this.k.add(this.s.listen("blur",i.runOn(this,this.x))),this.k.add(this.q.listen("click",i.runOn(this,this.w)))},n.prototype.af=function(){var t,n;this.h=!1;try{for(var r=e.__values(i.fromEnum(this.k)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.k.clear()},n.prototype.ai=function(){var t=this.d;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.al=function(t,e){this.e.ax=t,this.e.aw=e},n.prototype.l=function(){var t=this.r.getStyleProperty("border-top-width");return t=i.stringReplace(t,"px",""),parseFloat(t)},n.$t=i.markType(n,"CheckboxView"),n}(i.Base),we=function(t){function n(){var e=t.call(this)||this;e._view=null,e.l=0,e.s=!1,e.ag=!1,e.c6=null,e.c1=c.aj(n.m,i.BrushUtil.l(0,0,0,0),i.BrushUtil.l(0,0,0,0)),e.c3=null,e.c5=null,e.c0=c.ai(n.m,n.k,"TickColor"),e.c7=null,e.c4=null,e.bv=n.k.v(n.m,"CheckPath"),e.dj=n.k.ag(n.m,"UncheckedBorderColor"),e.dg=n.k.ag(n.m,"CheckedBorderColor"),e.as=n.k.j(n.m,"BorderWidth"),e.df=n.k.ag(n.m,"CheckedBackgroundColor"),e.at=n.k.j(n.m,"CornerRadius"),e.dh=n.k.ag(n.m,"TickColor"),e.au=n.k.j(n.m,"TickStrokeWidth"),e.di=n.k.ag(n.m,"UncheckedBackgroundColor"),e.a5=c.x(n.m,n.k,"CheckPath"),e.c2=c.ai(n.m,n.k,"UncheckedBorderColor"),e.cz=c.ai(n.m,n.k,"CheckedBorderColor"),e.ak=NaN,e.ah=c.l(n.m,n.k,"BorderWidth"),e.al=NaN,e.am=NaN,e.aj=c.l(n.m,n.k,"TickStrokeWidth"),e.ai=c.l(n.m,n.k,"CornerRadius"),e.cy=c.ai(n.m,n.k,"CheckedBackgroundColor"),e.a9="ig-native-checkbox-"+n.a1++,e.a8="ig-checkbox-"+n.a0++,e.ba=null,e.bb=null,e.ax=0,e.t=!1,e.aw=0,e.a7=null,e.a6=null,e.a2=null,e.w=!1,e.change=null,e.d=0,e.q=!1,e.u=!1,e.x=!1,e.v=!1,e.r=!1,e.o=null,e.p=null,e.propertyChanged=null,e.ba=e.a8+"-label",e.a7=e.ba;var r=new ke;return r.d=e,e.view=r,e.view.ag(),e}var r;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,"n",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.co("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.co=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cq(t,e,n)},n.prototype.cu=function(){this.da=null!=this.dk?this.dk:this.dh,this.dc=null!=this.dm?this.dm:this.dj,this.c9=null!=this.de?this.de:this.dg,this.an=i.isNaN_(this.aq)?this.as:this.aq,this.c8=null!=this.dd?this.dd:this.df,this.db=null!=this.dl?this.dl:this.di,this.ao=i.isNaN_(this.ar)?this.at:this.ar,this.ap=i.isNaN_(this.av)?this.au:this.av,this.bf=this.bv},n.prototype.cq=function(t,e,n){switch(t){case"BaseTheme":this.cx(this.n),this.cu();break;case"TickColor":this.da=null!=this.dk?this.dk:this.dh;break;case"UncheckedBorderColor":this.dc=null!=this.dm?this.dm:this.dj;break;case"CheckedBorderColor":this.c9=null!=this.de?this.de:this.dg;break;case"BorderWidth":this.an=i.isNaN_(this.aq)?this.as:this.aq;break;case"CheckedBackgroundColor":this.c8=null!=this.dd?this.dd:this.df;break;case"UncheckedBackgroundColor":this.db=null!=this.dl?this.dl:this.di;break;case"CornerRadius":this.ao=i.isNaN_(this.ar)?this.at:this.ar;break;case"TickStrokeWidth":this.ap=i.isNaN_(this.av)?this.au:this.av;break;case"ActualTickStrokeWidth":case"ActualTickColor":this.cw();break;case"ActualCheckedBackgroundColor":case"ActualUncheckedBackgroundColor":case"ActualUncheckedBorderColor":case"ActualCheckedBorderColor":case"ActualBorderWidth":null!=this.o&&this.o.cancel(),null!=this.p&&this.p.cancel(),this.o=null,this.p=null,this.ct();var r=this.z;this.z=!0,this.cv(this.indeterminate),this.z=r;break;case"ActualCornerRadius":this.ct();break;case"ActualCheckPath":this.view.aj();break;case"IsChecked":if(!this.s){var o=this.indeterminate;this.s=!0,this.indeterminate=!1,this.s=!1;var s=this.z;this.z=!0,this.cv(o),this.z=s}break;case"IsIndeterminate":this.s||this.cv(e);break;case"DisableRipple":this.view.f.i=this.y;break;case"InputId":this.view.ah()}},n.prototype.ct=function(){var t=this.view.u,e=this.view.t;null!=t&&null!=e&&(i.NativeUI.o(t,new i.CornerRadius(0,this.ao)),i.NativeUI.o(e,new i.CornerRadius(0,this.ao)),i.isNaN_(this.an)||i.NativeUI.p(e,new i.Thickness(0,this.an)),this.checked?(i.NativeUI.m(t,this.c8),i.NativeUI.n(e,this.c9)):(i.NativeUI.m(t,this.db),i.NativeUI.n(e,this.dc)))},n.prototype.cw=function(){var t=this.view.v;null!=t&&(i.NativeUI.aa(t,this.da),i.NativeUI.ad(t,this.ap))},Object.defineProperty(n.prototype,"dl",{get:function(){return this.c6},set:function(t){var e=this.c6;this.c6=t,e!=this.c6&&this.co("UncheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"db",{get:function(){return this.c1},set:function(t){var e=this.c1;this.c1=t,e!=this.c1&&this.co("ActualUncheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dd",{get:function(){return this.c3},set:function(t){var e=this.c3;this.c3=t,e!=this.c3&&this.co("CheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dk",{get:function(){return this.c5},set:function(t){var e=this.c5;this.c5=t,e!=this.c5&&this.co("TickColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.c0},set:function(t){var e=this.c0;this.c0=t,e!=this.c0&&this.co("ActualTickColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.c7},set:function(t){var e=this.c7;this.c7=t,e!=this.c7&&this.co("UncheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"de",{get:function(){return this.c4},set:function(t){var e=this.c4;this.c4=t,e!=this.c4&&this.co("CheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.cx=function(t){this.bv=n.k.v(t,"CheckPath"),this.dj=n.k.ag(t,"UncheckedBorderColor"),this.dg=n.k.ag(t,"CheckedBorderColor"),this.as=n.k.j(t,"BorderWidth"),this.df=n.k.ag(t,"CheckedBackgroundColor"),this.at=n.k.j(t,"CornerRadius"),this.dh=n.k.ag(t,"TickColor"),this.au=n.k.j(t,"TickStrokeWidth"),this.di=n.k.ag(t,"UncheckedBackgroundColor")},Object.defineProperty(n.prototype,"bf",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.co("ActualCheckPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dc",{get:function(){return this.c2},set:function(t){var e=this.c2;this.c2=t,e!=this.c2&&this.co("ActualUncheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.cz},set:function(t){var e=this.cz;this.cz=t,e!=this.cz&&this.co("ActualCheckedBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.co("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.co("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.co("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.co("TickStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.co("ActualTickStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.co("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c8",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.co("ActualCheckedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.co("InputId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.co("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelId",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.co("LabelId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.co("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,this.t=!0,e!=this.ax&&this.co("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.co("Required",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.co("AriaLabelledBy",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.co("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.co("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.co("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.co("LabelPosition",i.enumGetBox(Ce,e),i.enumGetBox(Ce,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.co("DisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checked",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.co("IsChecked",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indeterminate",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.co("IsIndeterminate",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.co("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.co("DisableTransitions",e,t)},enumerable:!1,configurable:!0}),n.prototype.cp=function(){this.ck(),this.checked?this.view.al(i.BrushUtil.u(this.c8,.6),i.BrushUtil.u(this.c8,.1)):this.view.al(i.BrushUtil.u(this.c8,.6),i.BrushUtil.u(this.dc,.1))},Object.defineProperty(n.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=0,t},enumerable:!1,configurable:!0}),n.prototype.ck=function(){this.view.ab();var t=!1;null==this.o&&(t||(t=!0,this.view.ai()),this.o=i.KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new i.AnimationKeyFrameProperty(2,this.db),new i.AnimationKeyFrameProperty(3,this.dc)).m(new i.AnimationKeyFrameProperty(2,this.c8),new i.AnimationKeyFrameProperty(3,this.c9))),this.p=i.KeyFrameAnimationFactory.f.c(this.view.c(this.a).m(new i.AnimationKeyFrameProperty(19,24),new i.AnimationKeyFrameProperty(1,0)).m(new i.AnimationKeyFrameProperty(19,0),new i.AnimationKeyFrameProperty(1,1))))},n.prototype.toggle=function(){if(!this.disabled){this.ck(),this.focused=!1,this.s=!0;var t=!1;if(this.indeterminate&&(t=!0,this.checked=!0),this.indeterminate=!1,this.checked=!this.checked,this.s=!1,this.cv(t),null!=this.change){var e=new Be;e.isChecked=this.checked,e.isIndeterminate=this.indeterminate,this.change(this,e)}}},n.prototype.cv=function(t){var e=this;this.ck();var n=this.checked;this.indeterminate&&(n=!0);var r,o=1;if(n||(o=-1),n?this.view.al(i.BrushUtil.u(this.c8,.6),i.BrushUtil.u(this.c8,.1)):this.view.al(i.BrushUtil.u(this.c8,.6),i.BrushUtil.u(this.dc,.1)),this.indeterminate||i.NativeUI.af(this.view.v,null),this.z||this.indeterminate||t){var s=this.view.u,a=this.view.t,h=this.view.v;if(this.indeterminate){var l=new i.TransformGroup;this.view.am();l.j.add(((r=new i.RotateTransform).j=45,r)),l.j.add(function(){var t=new i.TranslateTransform;return t.j=-e.view.l(),t}()),i.NativeUI.m(s,this.c8),i.NativeUI.n(a,this.c9),i.NativeUI.y(h,1),i.NativeUI.ac(h,41),i.NativeUI.af(h,l)}else n?(i.NativeUI.m(s,this.c8),i.NativeUI.n(a,this.c9),i.NativeUI.y(h,1),i.NativeUI.ac(h,0)):(i.NativeUI.m(s,this.db),i.NativeUI.n(a,this.dc),i.NativeUI.y(h,0),i.NativeUI.ac(h,24));return 1==this.o.playState&&this.o.cancel(),void(1==this.p.playState&&this.p.cancel())}o>0&&this.o.playbackRate<0||o<0&&this.o.playbackRate>0?(this.o.reverse(),this.o.finished.f((function(t){null!=e.o&&e.o.commitStyles()})),this.p.reverse(),this.p.finished.f((function(t){null!=e.p&&e.p.commitStyles()}))):(this.o.play(),this.o.finished.f((function(t){null!=e.o&&e.o.commitStyles()})),this.p.play(),this.p.finished.f((function(t){null!=e.p&&e.p.commitStyles()})))},n.prototype.onDetachedFromUI=function(){this.view.af()},n.prototype.onAttachedToUI=function(){this.view.ad()},n.prototype.onContentReady=function(){this.indeterminate&&this.cv(!1)},n.prototype.af=function(){return this.view.j()},n.prototype.a3=function(){return this.b()},n.prototype.by=function(){return this.b().w()},n.prototype.b=function(){var t=new xe,e=this.view.am(),n=this.view.a();return t.u=e.width,t.q=e.height,t.t=n[0],t.r=n[1],t.f=this.n,t.d=i.AppearanceHelper.a(this.db),t.c=i.AppearanceHelper.a(this.da),t.e=i.AppearanceHelper.a(this.dc),t.b=i.AppearanceHelper.a(this.c9),t.o=this.aq,t.l=this.an,t.p=this.ar,t.s=this.av,t.n=this.ap,t.m=this.ao,t.a=i.AppearanceHelper.a(this.c8),t.v=this.a4,t.j=this.focused,t.g=this.y,t.h=this.checked,t.k=this.indeterminate,t.i=this.disabled,t},n.prototype.provideContainer=function(t){this.view.ae(t)},n.$t=i.markType(n,"XCheckbox",i.Base.$,[i.INotifyPropertyChanged_$type]),n.g=c.a(((r=new i.Dictionary$2(i.String_$type,i.Base.$,0)).addItem("CheckPath","M4.1,12.7 9,17.6 20.3,6.3"),r.addItem("UncheckedBorderColor",i.BrushUtil.l(255,153,153,153)),r.addItem("CheckedBorderColor",i.BrushUtil.l(138,33,150,243)),r.addItem("UncheckedBackgroundColor",i.BrushUtil.l(255,255,255,255)),r.addItem("CheckedBackgroundColor",i.BrushUtil.l(255,33,150,243)),r.addItem("TickColor",i.BrushUtil.l(255,255,255,255)),r.addItem("TickStrokeWidth",3),r.addItem("BorderWidth",NaN),r.addItem("CornerRadius",2),r)),n.h=c.a(function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("CheckPath","M4.1,12.7 9,17.6 20.3,6.3"),t.addItem("UncheckedBorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("CheckedBorderColor",i.BrushUtil.l(138,0,0,0)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.l(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.l(255,228,28,119)),t.addItem("TickColor",i.BrushUtil.l(255,255,255,255)),t.addItem("TickStrokeWidth",3),t.addItem("BorderWidth",NaN),t.addItem("CornerRadius",2),t}()),n.j=c.a(function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("CheckPath","M5.1,12.7 9,17.6 19,9"),t.addItem("UncheckedBorderColor",i.BrushUtil.l(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.l(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.l(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.l(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.l(255,255,255,255)),t.addItem("TickStrokeWidth",3),t.addItem("BorderWidth",1),t.addItem("CornerRadius",2),t}()),n.i=c.a(function(){var t=new i.Dictionary$2(i.String_$type,i.Base.$,0);return t.addItem("CheckPath","M5.1,12.7 9,17.6 19,9"),t.addItem("UncheckedBorderColor",i.BrushUtil.l(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.l(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.l(255,55,63,86)),t.addItem("CheckedBackgroundColor",i.BrushUtil.l(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.l(255,255,255,255)),t.addItem("TickStrokeWidth",3),t.addItem("BorderWidth",1),t.addItem("CornerRadius",2),t}()),n.k=new c(1,function(){var t=new i.Dictionary$2(i.BaseControlTheme_$type,u.$,0);return t.addItem(2,n.h),t.addItem(1,n.g),t.addItem(3,n.j),t.addItem(4,n.i),t.addItem(5,n.j),t.addItem(6,n.i),t}(),2),n.m=2,n.a1=0,n.a0=0,n}(i.Base),Te=function(t){function n(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 2:o.change=i.delegateCombine(o.change,i.runOn(this,this.w)),this.u=r,this.v=e}},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 2:o.change=i.delegateRemove(o.change,i.runOn(this,this.w)),this.u=null,this.v=null}},n.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUICheckboxChangeEventArgs;this.u(this.v,n)}},n.prototype.getValue=function(t,e){var n=t;switch(e){case 4:return n.y;case 7:return n.checked;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.n);case 17:return n.ar;case 66:return n.dl;case 68:return n.dm;case 67:return n.dd;case 69:return n.de}return null},n.prototype.setValue=function(t,e,n){var r=t;switch(e){case 4:return void(r.y=n);case 7:return void(r.checked=n);case 18:r.n=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n);break;case 17:r.ar=n;break;case 66:r.dl=n;break;case 68:r.dm=n;break;case 67:r.dd=n;break;case 69:r.de=n}},n.prototype.exportVisualData=function(t){return t.a3()},n.$t=i.markType(n,"XCheckboxBridge",Gt.$),n}(Gt),Pe=function(t){function n(e){var i=t.call(this,e)||this;return i.u="default",i.v=null,i}return e.__extends(n,t),n.prototype.getValue=function(e,n){var r=e;switch(n){case 16:return this.v;case 15:return this.u;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.m);case 44:return r.a6;case 45:return r.a7;case 46:return r.a8;case 47:return r.a5;case 48:return r.a9;case 49:return r.a1;case 63:return r.e;case 64:return r.f;case 65:return r.a4}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,i,n){t.prototype.setValue.call(this,e,i,n);var r=e;switch(i){case 15:this.u=n,this.w(r);break;case 16:this.v=n,this.w(r);break;case 44:r.a6=n;break;case 45:r.a7=n;break;case 46:r.a8=n;break;case 47:r.a5=n;break;case 48:r.a9=n;break;case 49:r.a1=n;break;case 63:r.e=n;break;case 64:r.f=n;break;case 65:r.a4=n}},n.prototype.getTargetForProperty=function(e,i){switch(e){case 24:return i}return t.prototype.getTargetForProperty.call(this,e,i)},n.prototype.w=function(t){t.svg=null,t.svgPath=null,t.b=null,t.b0=null,t.bh=null;var e=i.SvgIconRegistry.instance.getSvgPathString(this.u,this.v);if(null==e){var n=i.SvgIconRegistry.instance.getSvgPathsString(this.u,this.v);if(null==n){var r=i.SvgIconRegistry.instance.getDataURLString(this.u,this.v);if(null==r){var o=i.SvgIconRegistry.instance.getIconSource(this.u,this.v);null!=o&&(t.bh=o)}else t.b0=r}else t.b=n}else i.stringStartsWith(i.trimStart(e," ","\n","\r","\t"),"<svg")?t.svg=e:t.svgPath=e},n.prototype.exportVisualData=function(t){return t.bg()},n.$t=i.markType(n,"XIconBridge",Gt.$),n}(Gt),Se=function(t){function n(e){var n=t.call(this,e)||this;return n.ak=null,n.af=null,n.ai=null,n.aj=null,n.ag=null,n.ah=null,n.ad=null,n.ab=null,n.z=null,n.aa=null,n.x=null,n.y=null,n.ac=null,n.w=null,n.ae=null,n.ae=new i.List$1(i.NativeUIComponent.$,0),n}return e.__extends(n,t),n.prototype.contains=function(t,e){return this.t.contains(e)},n.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 5:o.onPopup=i.delegateCombine(o.onPopup,i.runOn(this,this.aq)),this.ad=r,this.ak=e;break;case 6:o.onClosed=i.delegateCombine(o.onClosed,i.runOn(this,this.al)),this.ab=r,this.af=e;break;case 7:o.popupMouseEnter=i.delegateCombine(o.popupMouseEnter,i.runOn(this,this.ao)),this.z=r,this.ai=e;break;case 8:o.popupMouseLeave=i.delegateCombine(o.popupMouseLeave,i.runOn(this,this.ap)),this.aa=r,this.aj=e;break;case 13:o.popupGotFocus=i.delegateCombine(o.popupGotFocus,i.runOn(this,this.am)),this.x=r,this.ag=e;break;case 14:o.popupLostFocus=i.delegateCombine(o.popupLostFocus,i.runOn(this,this.an)),this.y=r,this.ah=e;break;case 29:o.measuringContentSize=i.delegateCombine(o.measuringContentSize,i.runOn(this,this.ar)),this.ac=r,this.w=e}},n.prototype.ar=function(t,e){null!=this.ac&&this.ac(this.w,new i.NativeUIPopupMeasuringContentEventArgs)},n.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 5:o.onPopup=i.delegateRemove(o.onPopup,i.runOn(this,this.aq)),this.ad=null,this.ak=null;break;case 6:o.onClosed=i.delegateRemove(o.onClosed,i.runOn(this,this.al)),this.ab=null,this.af=null;break;case 7:o.popupMouseEnter=i.delegateRemove(o.popupMouseEnter,i.runOn(this,this.ao)),this.z=null,this.ai=null;break;case 8:o.popupMouseLeave=i.delegateRemove(o.popupMouseLeave,i.runOn(this,this.ap)),this.aa=null,this.aj=null;break;case 13:o.popupGotFocus=i.delegateRemove(o.popupGotFocus,i.runOn(this,this.am)),this.x=null,this.ag=null;break;case 14:o.popupLostFocus=i.delegateRemove(o.popupLostFocus,i.runOn(this,this.an)),this.y=null,this.ah=null;break;case 29:o.measuringContentSize=i.delegateRemove(o.measuringContentSize,i.runOn(this,this.ar)),this.ac=null,this.w=null}},n.prototype.aq=function(t,e){null!=this.ad&&this.ad(this.ak,new i.NativeUIPopupOpenedEventArgs)},n.prototype.al=function(t,e){null!=this.ab&&this.ab(this.af,new i.NativeUIPopupClosedEventArgs)},n.prototype.ao=function(t,e){null!=this.z&&this.z(this.ai,new i.NativeUIMouseEventArgs)},n.prototype.ap=function(t,e){null!=this.aa&&this.aa(this.aj,new i.NativeUIMouseEventArgs)},n.prototype.am=function(t,e){null!=this.x&&this.x(this.ag,new i.NativeUIFocusEventArgs)},n.prototype.an=function(t,e){var n;null!=this.y&&this.y(this.ah,((n=new i.NativeUIFocusEventArgs).b=e.b,n.a=e.a,n))},n.prototype.getValue=function(e,n){var r=e;switch(n){case 22:return r.ax;case 60:return r.av;case 61:return r.aq;case 25:return r.am;case 26:return r.a9;case 17:return r.a1;case 23:return r.c0;case 35:switch(r.p){case 1:return i.enumGetBox(i.NativeUIPopupAnimationType_$type,1);default:return i.enumGetBox(i.NativeUIPopupAnimationType_$type,0)}case 36:return r.at;case 37:return r.as;case 40:return r.bb;case 41:return r.au;case 43:switch(r.v){case 1:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,1);default:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,2)}case 42:return r.c4;case 39:return r.ao;case 62:return r.a4;case 110:return r.ay}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,n,r){var o=e;switch(n){case 25:o.am=r;break;case 26:o.a9=i.typeGetValue(r);break;case 17:o.a1=r;break;case 23:o.c0=r;break;case 35:switch(i.EnumUtil.getEnumValue(i.NativeUIPopupAnimationType_$type,r)){case 1:o.p=1;break;default:o.p=0}break;case 36:o.at=r;break;case 37:o.as=r;break;case 40:o.bb=i.typeGetValue(r);break;case 41:o.au=r;break;case 42:o.c4=r;break;case 43:switch(i.EnumUtil.getEnumValue(i.NativeUIPopupPointerPosition_$type,r)){case 1:o.v=1;break;case 2:o.v=2}break;case 39:o.ao=r;break;case 62:o.a4=r;break;case 110:o.ay=r}t.prototype.setValue.call(this,e,n,r)},n.prototype.showRelativeToExclusionRect=function(t,e,i,n){t.showRelativeToExclusionRect(e,this.v(i),this.u(n))},n.prototype.showRelativeToTarget=function(t,e,i,n){var r=e.an.getNativeElement();t.cr(r,this.v(i),this.u(n))},n.prototype.close=function(t){t.b6()},n.prototype.notifyContentSizeChanged=function(t){t.b9()},n.prototype.notifyExclusionRectChanged=function(t,e){t.ca(e)},n.prototype.v=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}},n.prototype.u=function(t){switch(t){case 0:return 0;case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},n.prototype.exportVisualData=function(t){return t.bg()},n.prototype.addChild=function(t,e){this.ae.add(e),t.appendPopupContent(e.an)},n.prototype.insertChild=function(t,e,i){this.ae.add(i),t.appendPopupContent(i.an)},n.prototype.getChildAt=function(t,e){return this.ae._inner[e]},n.prototype.getChildrenCount=function(t){return this.ae.count},n.prototype.removeChild=function(t,e){t.removePopupContent(e.an),this.ae.remove(e)},n.prototype.removeChildAt=function(t,e){t.removePopupContent(this.ae._inner[e].an),this.ae.removeAt(e)},n.$t=i.markType(n,"XPopupBridge",Gt.$,[i.INativeUIPopupBridge_$type]),n}(Gt),Oe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._oldValue=null,e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this._oldValue},set:function(t){this._oldValue=t},enumerable:!1,configurable:!0}),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,"ColorEditorPanelSelectedValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),je=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.f=0,e.g=0,e.d=0,e.b=0,e.a=null,e.c=!1,e}return e.__extends(n,t),n.prototype.h=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left : "+this.e+", "),t.l("top : "+this.f+", "),t.l("height : "+this.d+", "),t.l("width : "+this.g+", "),t.l("baseTheme : "+this.b+", "),t.l("value : "+this.a.serialize()+", "),t.l("isDisabled : "+this.c+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"ColorEditorVisualModelExport"),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,"ColorEditorPanelClosedEventArgs"),n}(i.Base),Ue=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ColorEditorGotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Ne=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ColorEditorLostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),Fe=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.m=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 1:this.d(t,i);break;case 6:this.f(t,i);break;case 10:this.i(t,i);break;case 2:this.j(t,i);break;case 11:this.h(t,i);break;case 12:this.k(t,i);break;case 17:this.e(t,i);break;case 20:this.g(t,i);break;case 5:this.l(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 1:case 6:case 10:case 2:case 11:case 12:case 17:case 20:case 5:return!0}return!1},n.prototype.j=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new dt;s.provideContainer(o);o.getExternal(s,o.rootWrapper,null);var a=n.createElement("div");a.setRawStyleProperty("width","100%");var h=n.getSubRenderer(a),l=new yt;l.provideContainer(h);o.getExternal(l,h.rootWrapper,null);s.appendContentChild(a),s.inputs.add(l);var u=new Wt(s),c=new i.NativeUIInput;c.an=r,c.d=u,e(c)},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new b;s.provideContainer(o),s.fk="none";o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new zt(s),h=new i.NativeUIButton;h.an=r,h.d=a,e(h)},n.prototype.l=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new ue,a=new Qt;s.provideContainer(o),s.thumbs.add(a);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var h=new ce(s),l=new i.NativeUISlider;l.an=r,l.d=h,e(l)},n.prototype.e=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new ve;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new _e(s),h=new i.NativeUIButtonGroup;h.an=r,h.d=a,e(h)},n.prototype.g=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new Ee;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Ae(s),h=new i.NativeUIColorEditor;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new we;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Te(s),h=new i.NativeUICheckbox;h.an=r,h.d=a,e(h)},n.prototype.i=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new B;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Pe(s),h=new i.NativeUIIcon;h.an=r,h.d=a;var l=n.createElement("div"),u=n.getSubRenderer(l),c=new b;c.provideContainer(u),c.e=4,c.fk="none";u.getExternal(c,u.rootWrapper,u.getExternal(c,null,null));var p=new zt(c),d=new i.NativeUIButton;d.an=l,d.d=p,d.bo=h,e(d)},n.prototype.h=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new B;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Pe(s),h=new i.NativeUIIcon;h.an=r,h.d=a,e(h)},n.prototype.k=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new i.Popup;s.provideRenderer(o);var a=new Se(s),h=new i.NativeUIPopup;h.an=r,h.d=a,e(h)},n.$t=i.markType(n,"NativeUIXInputsFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),Ae=function(t){function n(e){var i=t.call(this,e)||this;return i.u=null,i.w=null,i.v=null,i.x=null,i}return e.__extends(n,t),n.prototype.addHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.valueChanging=i.delegateCombine(o.valueChanging,i.runOn(this,this.z)),this.v=r,this.x=e;break;case 4:var s=t;s.valueChanged=i.delegateCombine(s.valueChanged,i.runOn(this,this.y)),this.u=r,this.w=e}},n.prototype.y=function(t,e){if(null!=this.u){var n=new i.NativeUIColorEditorValueChangedEventArgs;this.u(this.w,n)}},n.prototype.z=function(t,e){if(null!=this.v){var n=new i.NativeUIColorEditorValueChangedEventArgs;this.v(this.x,n)}},n.prototype.getValue=function(t,e){switch(e){case 2:return t.value}return null},n.prototype.removeHandler=function(t,e,n,r){switch(n){case 0:var o=t;o.valueChanging=i.delegateRemove(o.valueChanging,i.runOn(this,this.z)),this.v=null,this.x=null;break;case 4:var s=t;s.valueChanged=i.delegateRemove(s.valueChanged,i.runOn(this,this.y)),this.u=null,this.w=null}},n.prototype.setValue=function(t,e,i){switch(e){case 2:t.value=i}},n.prototype.exportVisualData=function(t){var e=t.as(),i=this.getBoundingRect(t);return e.e=i.left,e.f=i.top,e.g=i.width,e.d=i.height,e},n.$t=i.markType(n,"ColorEditorBridge",Gt.$),n}(Gt),Re=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.aa=null,e.c=null,e.g=new i.List$1(i.Delegate_$type,0),e.d=!0,e.af=null,e.o=NaN,e.n=NaN,e.ab=null,e.b=null,e.ac=null,e.a1=null,e.ag=null,e.ae=null,e.m=-1,e.l=-1,e.au=-1,e.at=-1,e.a3=null,e.k=-1,e.j=-1,e.h=-1,e.i=-1,e.a2=null,e.t=-1,e.p=-1,e.aw=-1,e.av=-1,e.z=-1,e.v=-1,e.a0=-1,e.az=-1,e.u=-1,e.a6=null,e.ai=null,e.w=-1,e.s=-1,e.r=-1,e.ay=-1,e.ax=-1,e.a5=null,e.y=-1,e.x=-1,e.ad=null,e.ak=null,e.ao=null,e.as=-1,e.ar=-1,e.aj=null,e.an=null,e.ah=null,e.al=null,e.ap=null,e.am=null,e.aq=null,e.a4=null,e.q=-1,e.e=!1,e}return e.__extends(n,t),n.prototype.bj=function(){},n.prototype.f=function(){return!0},n.prototype.bh=function(t){var n,r;if(null!=t)this.aa=t,i.isNaN_(this.a.ae)&&(this.a.ab=window.devicePixelRatio),this.a.a4();else{try{for(var o=e.__values(i.fromEnum(this.g)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.g.clear()}},n.prototype.bd=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.aa)},n.prototype.bg=function(){this.d=!0},n.prototype.bi=function(){this.d=!1},n.prototype.a7=function(){return this.aa},n.prototype.bf=function(t){},n.prototype.a8=function(t){this.aa.append(this.aa.getWrapper(t.an))},n.prototype.be=function(t,e,n,r,o,s,a){var h=i.truncate(Math.round(s*this.a.ab)),l=i.truncate(Math.round(a*this.a.ab));return s==e&&a==n&&h==r&&l==o||(t.setProperty("width",h),t.setProperty("height",l),t.setStyleProperty("width",s+"px"),t.setStyleProperty("height",a+"px"),e=s,n=a,r=h,o=l),{p1:e,p2:n,p3:r,p4:o}},n.prototype.ba=function(t){if(null==this.ae||null==t.ao){t.ao="image";var e=this.aa.createElement("canvas");this.ae=e;var i=this.be(this.ae,this.m,this.l,this.au,this.at,148,148);this.m=i.p1,this.l=i.p2,this.au=i.p3,this.at=i.p4,this.ae.setStyleProperty("justify-self","center"),this.ae.setStyleProperty("align-self","center"),t.an.append(this.ae),this.bm(this.a.ad())}},n.prototype.bm=function(t){if((this.k!=t||this.e)&&null!=this.ae){this.k=t;var e=this.be(this.ae,this.m,this.l,this.au,this.at,148,148);this.m=e.p1,this.l=e.p2,this.au=e.p3,this.at=e.p4;var i=this.au,n=this.at,r=this.a3;if(null==this.ak){var o=this.ae.getNativeElement().getContext("2d");this.ak=o}null!=r&&r.length==i*n*4||(this.ao=this.ak.getImageData(0,0,i,n),r=this.ao.data,this.a3=r),this.a.a0(r,i,n),this.ak.putImageData(this.ao,0,0)}},n.prototype.a9=function(t){if(null==this.ad||null==t.ao){t.ao="image";var e=this.aa.createElement("canvas");this.ad=e;var i=this.be(this.ad,this.j,this.h,this.as,this.ar,248,19);this.j=i.p1,this.h=i.p2,this.as=i.p3,this.ar=i.p4,this.ad.setStyleProperty("justify-self","center"),this.ad.setStyleProperty("align-self","center"),t.an.append(this.ad),this.bl(0)}},n.prototype.bl=function(t){if((t!=this.i||this.e)&&null!=this.ad){this.i=t;var e=this.be(this.ad,this.j,this.h,this.as,this.ar,248,19);this.j=e.p1,this.h=e.p2,this.as=e.p3,this.ar=e.p4;var i=this.as,n=this.ar,r=this.a2;if(null==this.aj){var o=this.ad.getNativeElement().getContext("2d");this.aj=o}null!=r&&r.length==i*n*4||(this.an=this.aj.getImageData(0,0,i,n),r=this.an.data,this.a2=r),this.a.az(r,i,n),this.aj.putImageData(this.an,0,0)}},n.prototype.bb=function(t){var e=t.an;if(1==e.getChildCount()){t.ao="image";var i=this.aa.createElement("canvas");this.ah=i;var n=this.be(this.ah,this.t,this.p,this.aw,this.av,85,148);this.t=n.p1,this.p=n.p2,this.aw=n.p3,this.av=n.p4,this.ah.setStyleProperty("margin-left","5px"),this.ah.setStyleProperty("margin-top","16px"),this.ah.setStyleProperty("margin-right","0px"),this.ah.setStyleProperty("margin-bottom","11px"),this.ah.setStyleProperty("grid-row-start","1"),this.ah.setStyleProperty("grid-row-end","2"),this.ah.setStyleProperty("grid-column-start","1"),this.ah.setStyleProperty("grid-column-end","2"),this.bn(0),e.getChildAt(0).before(i)}},n.prototype.bc=function(t){if(null==this.ai||null==t.ao){t.ao="image";var e=this.aa.createElement("canvas");this.ai=e;var i=this.be(this.ai,this.z,this.v,this.aw,this.av,25,148);this.z=i.p1,this.v=i.p2,this.aw=i.p3,this.av=i.p4,this.ai.setStyleProperty("justify-self","center"),this.ai.setStyleProperty("align-self","center"),t.an.append(this.ai),this.bo(0,1,.5)}},n.prototype.bn=function(t){if((this.q!=t||this.e)&&null!=this.ah){this.q=t;var e=this.be(this.ah,this.s,this.r,this.ay,this.ax,85,148);this.s=e.p1,this.r=e.p2,this.ay=e.p3,this.ax=e.p4;var i=this.ay,n=this.ax,r=this.a4;if(null==this.al){var o=this.ah.getNativeElement().getContext("2d");this.al=o}null!=r&&r.length==i*n*4||(this.ap=this.al.getImageData(0,0,i,n),r=this.ap.data,this.a4=r),this.a.a1(r,i,n),this.al.putImageData(this.ap,0,0)}},n.prototype.bo=function(t,e,i){if((this.w!=t||this.y!=e||this.x!=i||this.e)&&null!=this.ai){this.w=t,this.y=e,this.x=i;var n=this.be(this.ai,this.z,this.v,this.a0,this.az,25,148);this.z=n.p1,this.v=n.p2,this.a0=n.p3,this.az=n.p4;var r=this.a0,o=this.az,s=this.a5;if(null==this.am){var a=this.ai.getNativeElement().getContext("2d");this.am=a}null!=s&&s.length==r*o*4||(this.aq=this.am.getImageData(0,0,r,o),s=this.aq.data,this.a5=s),this.a.a2(s,r,o),this.am.putImageData(this.aq,0,0)}},n.prototype.bk=function(){this.e=!0,this.bm(this.k),this.bl(this.i),this.bn(this.q),this.bo(this.u,this.y,this.x),this.e=!1},n.$t=i.markType(n,"ColorEditorPanelView"),n}(i.Base),De=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.h=null,e.d=null,e.g=new i.List$1(i.Delegate_$type,0),e.e=!0,e.b=null,e}return e.__extends(n,t),n.prototype.q=function(){},n.prototype.f=function(){return!0},n.prototype.o=function(t){var n,r;if(null!=t)null==this.a.a&&(this.a.a=new i.DOMExecutionContext(t)),this.h=t,this.a.bj();else{try{for(var o=e.__values(i.fromEnum(this.g)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.g.clear()}},n.prototype.m=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.h)},n.prototype.n=function(){this.e=!0},n.prototype.p=function(){this.e=!1},n.prototype.j=function(){return this.h},n.prototype.i=function(){var t=new qe;this.b=t;var e=this.h.createElement("div"),i=this.h.getSubRenderer(e);t.provideContainer(i);this.h.getExternal(t,null,null);return e},n.prototype.k=function(t,e){t.an.append(this.h.getWrapper(e))},n.prototype.l=function(t){this.h.append(this.h.getWrapper(t.an))},n.prototype.c=function(t){return this.b},n.prototype.r=function(t){if(null!=this.h){var e=this.h.rootWrapper.getNativeElement().getBoundingClientRect();return t&&(e=new i.Rect(0,e.left+window.pageXOffset,e.top+window.pageYOffset,e.width,e.height)),e}return null},n.prototype.s=function(){return new i.Size(1,NaN,NaN)},n.$t=i.markType(n,"ColorEditorView"),n}(i.Base),Ee=function(t){function n(){var e=t.call(this)||this;e.h=null,e.s=null,e.r=null,e.e=null,e.w=!1,e.ag=!1,e.ae=!1,e.cm=i.BrushUtil.l(0,0,0,0),e.x=!1,e.propertyChanged=null,e.valueChanged=null,e.valueChanging=null,e.t=null,e.a=null,e.co=i.BrushUtil.l(255,0,0,255),e.at="",e.cl=i.BrushUtil.l(255,24,29,31),e.m=null,e.k=2,e.i=1,e.n=null,e.cn=i.BrushUtil.l(255,24,29,31),e.ck=i.BrushUtil.l(255,163,172,184),e.ad=!0,e.v=!0,e.ac=!0,e.y=!1,e.aq=0,e.z=!1,e.ab=!1,e.af=!1,e.aa=!1,e.gotFocus=null,e.lostFocus=null,i.NativeUIInputsFactory.n(),Fe.m();var n=new De;return n.a=e,e.h=n,e.h.q(),e}return e.__extends(n,t),n.prototype.onAttachedToUI=function(){this.h.n()},n.prototype.onDetachedFromUI=function(){this.h.p()},n.prototype.b4=function(t,e){var i;null!=this.valueChanging&&this.valueChanging(this,((i=new Oe).oldValue=t,i.newValue=e,i)),this.x},n.prototype.notifySizeChanged=function(){},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.h.o(t)},Object.defineProperty(n.prototype,"u",{get:function(){return null==this.t&&(this.t=new i.SRProvider(this.h.h),this.t.cb("ColorEditor")),this.t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.co},set:function(t){var e=this.co;this.cm=e,this.co=t,e!=this.co&&this.b3("Value",e,this.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.b3("Label",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.b3("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.b3("LabelTextStyle",e,this.m)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.b3("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.b3("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.i))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b3("TextStyle",e,this.n)},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.b3("TextColor",e,this.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.b3("IconColor",e,this.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.b3("ShowClearButton",e,this.ad)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.b3("AllowTextInput",e,this.v)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.b3("OpenOnFocus",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.b3("IsDisabled",e,this.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.b3("TabIndex",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.b3("IsFixed",e,this.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.b3("OpenAsChild",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.b3("UseTopLayer",e,this.af)},enumerable:!1,configurable:!0}),n.prototype.b3=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.b9(t,e,n)},n.prototype.b9=function(t,e,i){switch(t){case"Density":this.cc();break;case"BaseTheme":this.cd();break;case"Value":this.b4(this.cm,this.value),this.cm=this.value,null==this.e||this.x||(this.e.value=this.value);break;case"Label":null!=this.r&&(this.r.b5=this.a2);break;case"TextStyle":this.ci();break;case"ShowClearButton":null!=this.r&&this.r.b7;break;case"LabelTextColor":case"LabelTextStyle":case"TextColor":case"IconColor":this.cj();break;case"AllowTextInput":null!=this.r&&(this.r.b0=this.am());break;case"OpenOnFocus":break;case"IsDisabled":null!=this.r&&(this.r.b0=this.am())}},n.prototype.am=function(){return this.ai||!this.ah},n.prototype.cj=function(){null!=this.r&&(this.r.ce=this.cr)},n.prototype.ch=function(){this.r},n.prototype.ci=function(){null!=this.n&&(this.r.bk=this.n)},n.prototype.bh=function(){1!=this.ai&&(null!=this.r&&(this.r.b7=""),this.value=i.BrushUtil.l(0,0,0,0),this.e.ax(),this.aa=!1)},n.prototype.b1=function(){this.aa=!0},n.prototype.b2=function(){this.aa=!1},n.prototype.br=function(){i.NativeUIWindow.h(15,i.runOn(this,this.b7),this.h.h),i.NativeUIWindow.h(9,i.runOn(this,this.b6),this.h.h)},n.prototype.bv=function(){i.NativeUIWindow.i(15,i.runOn(this,this.b7)),i.NativeUIWindow.i(9,i.runOn(this,this.b6))},n.prototype.b6=function(t){var e=t;null!=this.r&&(!this.s.b6||this.s.t(e.b)||this.r.t(e.b)||this.bi())},n.prototype.b7=function(t){if(null!=this.r){var e=this.r.be();this.s.ce(e)}},n.prototype.bj=function(){var t=this;i.NativeUIComponent.av(this.h.j(),[12,2,7,0],[2,2,2,2],(function(e){var r=e[0],o=e[1],s=e[2],a=e[3],h=t.h.i();t.h.k(a,h),r.bn(s),s.bn(a),t.h.l(o),r.ch=i.BrushUtil.l(255,255,255,255),r.ca=150,r.b8=8,r.cb=4,r.b1=!0,t.r=o,t.r.c=t.j,t.r.bp=t.l,t.r.b6=n.a8,t.r.cc=i.BrushUtil.l(255,255,255,255),t.r.cd=i.BrushUtil.l(255,0,0,0),t.r.bn=i.runOn(t,t.cf),t.r.n=i.runOn(t,t.by),t.r.o=i.runOn(t,t.b0),t.r.cb=i.BrushUtil.l(255,0,0,255),t.s=r,t.e=t.h.c(h),t.e.value=t.value;var l=t.e;l.closed=i.delegateCombine(l.closed,i.runOn(t,t.bf));var u=t.e;u.valueChanged=i.delegateCombine(u.valueChanged,i.runOn(t,t.bg)),s.o=i.runOn(t,t.b0);var c=t.e;c.valueChanged=i.delegateCombine(c.valueChanged,i.runOn(t,t.bm))}))},n.prototype.bg=function(t,e){null!=this.valueChanged&&this.valueChanged(this,e)},n.prototype.bf=function(t,e){this.bl(t)},n.prototype.b0=function(t,e){this.s.t(e.b)||this.r.t(e.b)||this.r.an==e.b||this.bp()},n.prototype.by=function(t,e){this.focus()},n.prototype.cf=function(t,e){this.cg()},n.prototype.bm=function(t,e){this.x=!0,this.value=e.newValue,this.x=!1,this.b5(e.oldValue,e.newValue)},n.prototype.b5=function(t,e){null!=this.r&&(this.r.cb=e)},n.prototype.bl=function(t){this.s.b6&&(this.w=!0,this.bi())},n.prototype.cg=function(){0==this.w?this.s.b6?this.bi():this.b8():this.w=!1},n.prototype.b8=function(){if(!this.ai&&null!=this.s){var t=this.h.r(!1),e=this.h.s().height,n=t.bottom+240;if(!i.isNaN_(e)&&e<n)t.top-240<0?this.ce(1,0):this.ce(2,0);else this.ce(1,0)}},n.prototype.ce=function(t,e){var i=this.h.r(!0);this.s.cf(i,t,e)},n.prototype.bi=function(){var t=this;null!=this.s&&this.a.executeDelayed((function(){return t.s.cc()}),0),null!=this.e&&this.e.bg(),this.w=!1},n.prototype.focus=function(t){var e=this;if(void 0===t&&(t=!1),null!=this.r&&this.r.a0(),!this.s.b6&&1==this.al)if(0==this.w){if(this.aa)return;(0==this.ah||1==this.al&&0==this.ae)&&(this.b8(),this.w=!0,this.a.executeDelayed((function(){return e.bo()}),0))}else this.w=!1},n.prototype.bp=function(){this.w=!1},n.prototype.cb=function(){null!=this.r&&this.r.b9()},n.prototype.bo=function(){this.e.a3()},n.prototype.bt=function(){var t=new Ue;this.bx(t)},n.prototype.bu=function(){var t=new Ne;this.bz(t)},n.prototype.cd=function(){},n.prototype.cc=function(){},n.prototype.as=function(){return this.b()},n.prototype.ay=function(){return this.b().h()},n.prototype.b=function(){var t=new je;return t.b=this.j,t.a=i.AppearanceHelper.a(this.value),t.c=this.ai,t},n.prototype.bx=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},n.prototype.bz=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},n.$t=i.markType(n,"ColorEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),n.a8="M13.093 6.743a1.074 1.074 0 011.306.251l.237.237-6.4 6.4-.242-.231a1.074 1.074 0 01-.251-1.306c.446-.693 1.553-2.516.515-3.554-1.584-1.585-2.225-.94-3.809-2.528S2.714 3 3.354 2.354s2.073-.489 3.658 1.095.943 2.225 2.527 3.809c1.038 1.042 2.861-.069 3.554-.515zm6.93 5.874L15.31 7.9 8.9 14.31l4.433 4.433c-.039.159-.084.327-.137.508 0 0-.8 2.749.8 2.749s.8-2.749.8-2.749a10.75 10.75 0 01-.272-1.14L16.2 16.44a8.944 8.944 0 00-2.072-3.314s.555-.545 3.323 2.063l.811-.811-1.54-2.5 2.5 1.539z",n.o=null,n}(i.Base),qe=function(t){function n(){var e=t.call(this)||this;e.d=null,e.bv=i.BrushUtil.l(0,0,0,0),e.bo=null,e.bs=i.BrushUtil.l(0,0,0,0),e.propertyChanged=null,e.closed=null,e.valueChanged=null,e.valueChanging=null,e.v=null,e.bx=i.BrushUtil.l(255,0,0,255),e.g=3,e.e=1,e.bp=i.BrushUtil.l(0,255,255,255),e.bt=i.BrushUtil.l(255,33,150,243),e.bu=i.BrushUtil.l(255,21,112,184),e.bq=i.BrushUtil.l(76,33,150,243),e.br=i.BrushUtil.l(50,186,191,199),e.bw=i.BrushUtil.l(255,24,29,31),e.i=null,e.n=null,e.s=null,e.u=null,e.m=null,e.t=null,e.o=null,e.r=null,e.q=null,e.l=null,e.k=null,e.p=null,e.aa=NaN,e.z=1,e.y=!1,e.x=!1,i.NativeUIInputsFactory.n(),Fe.m(),e.bo=i.BrushUtil.l(0,0,0,0);var n=new Re;return n.a=e,e.d=n,e.d.bj(),e}return e.__extends(n,t),n.prototype.a8=function(){null!=this.closed&&this.closed(this,new Ie)},n.prototype.bc=function(t){var e,i=this.bx;this.bx=t,null!=this.valueChanged&&this.valueChanged(this,((e=new Oe).oldValue=i,e.newValue=t,e)),this.bv=this.value},n.prototype.notifySizeChanged=function(t){this.d.bf(t)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.d.bh(t)},Object.defineProperty(n.prototype,"w",{get:function(){return null==this.v&&(this.v=new i.SRProvider(this.d.aa),this.v.cb("ColorEditorPanel")),this.v},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bs=e,this.bx=t,e!=this.bx&&this.bb("Value",e,this.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.bb("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,this.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.bb("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.bb("BackgroundColor",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.bb("SelectedColorBorderColor",e,this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.bb("SelectedFocusColorBorderColor",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.bb("FocusColorBorderColor",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.bb("HoverBackgroundColor",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.bb("TextColor",e,this.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.bb("TextStyle",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.bb("PixelScalingRatio",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.bb("ActualPixelScalingRatio",e,t)},enumerable:!1,configurable:!0}),n.prototype.bb=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.bd(t,e,n)},n.prototype.bd=function(t,e,n){switch(t){case"Density":this.bi();break;case"BaseTheme":this.bj();break;case"Value":if(this.bs=this.value,this.bv=this.value,null!=e&&null!=n&&i.BrushUtil.d(e,n))break;this.bf(),this.bc(this.value);break;case"TextColor":case"BackgroundColor":case"FocusColorBorderColor":case"SelectedFocusColorBorderColor":case"SelectedColorBorderColor":case"HoverBackgroundColor":this.bk();break;case"TextStyle":this.bl();break;case"PixelScalingRatio":i.isNaN_(n)||(this.ab=n);break;case"ActualPixelScalingRatio":null!=this.d&&this.d.bk()}},n.prototype.a4=function(){var t=this;i.NativeUIContent.av(this.d.a7(),[7,7,0,5,0,5,0,5,2,7,1,1,7,2,7],[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],(function(e){var n=e[0],r=e[1],o=e[2],s=e[3],a=e[4],h=e[5],l=e[6],u=e[7],c=e[8],p=e[9],d=e[10],f=e[11],b=e[12],y=e[13],g=e[14];s.bk=2,u.bk=0,h.bk=1,s.bw=i.BrushUtil.l(0,0,0,0),u.bw=i.BrushUtil.l(0,0,0,0),h.bw=i.BrushUtil.l(0,0,0,0),h.bh=new i.Thickness(1,0,5,5,0),a.bh=new i.Thickness(1,0,5,5,0),d.bz="Ok",d.c=t.f,f.bz="Cancel",f.c=t.f,u.bh=new i.Thickness(1,5,0,5,2),l.bh=new i.Thickness(1,5,0,5,2),s.bh=new i.Thickness(1,5,5,5,0),o.bh=new i.Thickness(1,5,5,5,0),g.bh=new i.Thickness(1,5,16,0,11),g.a8=i.BrushUtil.l(255,255,0,0),r.cc(g,0),r.ca(g,0),r.bn(g),b.b2(0,2,1),b.b2(1,2,1),b.bh=new i.Thickness(1,5,2,5,2),b.ca(c,0),c.bh=new i.Thickness(1,0,0,2,0),c.bu=1,c.bp=t.h,c.c=t.f,c.b5="rgba",y.bh=new i.Thickness(1,0,0,2,0),y.bu=1,y.bp=t.h,y.c=t.f,y.b5="hex",b.ca(y,1),b.bn(c),b.bn(y),d.bh=new i.Thickness(1,5,2,5,2),f.bh=new i.Thickness(1,5,2,5,2),d.bp=t.h,f.bp=t.h,d.bm=i.runOn(t,t.a6),f.bm=i.runOn(t,t.bh),n.b4(0,1,175),n.b4(1,0,0),n.b4(2,0,0),n.b4(3,0,0),n.b2(0,1,90),n.b2(1,1,175),n.b2(2,1,25),n.cc(r,0),n.ca(r,0),n.cc(o,0),n.ca(o,1),n.cc(s,0),n.ca(s,1),n.cc(a,0),n.ca(a,3),n.cc(h,0),n.ca(h,3),n.cc(l,1),n.ca(l,0),n.cb(l,3),n.cc(u,1),n.ca(u,0),n.cb(u,3),n.cc(b,2),n.ca(b,0),n.cb(b,3),n.cc(p,3),n.ca(p,0),n.cb(p,3),p.b2(0,2,1),p.b2(1,2,1),p.ca(d,0),p.ca(f,1),p.bn(d),p.bn(f),n.bn(r),n.bn(o),n.bn(s),n.bn(a),n.bn(h),n.bn(l),n.bn(u),n.bn(b),n.bn(p),t.d.a8(n),t.n=n,t.n.bw=!0,t.s=u,t.u=h,t.m=a,t.t=s,t.o=g,t.r=c,t.q=y,t.s.bq=0,t.s.bp=360,t.s.by=i.BrushUtil.l(255,255,255,255),t.s.bz=i.BrushUtil.l(255,255,255,255),t.u.bq=0,t.u.bp=1,t.t.by=i.BrushUtil.l(255,155,155,155),t.t.bz=i.BrushUtil.l(255,255,255,255),t.t.bq=0,t.t.bp=1,t.t.bu=0,t.t.bt=1,t.s.bo=i.runOn(t,t.au),t.s.bn=i.runOn(t,t.au),t.u.bo=i.runOn(t,t.aw),t.u.bn=i.runOn(t,t.aw),t.t.bo=i.runOn(t,t.av),t.t.bn=i.runOn(t,t.av),t.l=o,t.k=l,t.p=r,t.ba()}))},n.prototype.bh=function(t,e){this.value=this.bs,this.a8()},n.prototype.a6=function(t,e){var i,n=this;this.bs=this.value,null!=this.valueChanged&&this.valueChanged(this,((i=new Oe).oldValue=n.bs,i.newValue=n.value,i)),this.a8()},n.prototype.av=function(t,e){this.bn()},n.prototype.aw=function(t,e){this.bn()},n.prototype.bn=function(){if(!this.y){var t=i.Color.u(0,0,0,0),e=i.Color.u(255,255,0,0);if(null!=this.s){var n=this.s.bs,r=this.t.bs,o=1-this.t.bv,s=1-this.u.bs;e=i.ColorUtil.r(1,n,1,.5),t=i.ColorUtil.r(s,n,r,o),this.s.bx=i.BrushUtil.l(e.l,e.o,e.n,e.m),this.t.bx=i.BrushUtil.l(t.l,t.o,t.n,t.m),this.o.a8=i.BrushUtil.l(t.l,t.o,t.n,t.m),this.d.bm(this.s.bs),this.d.bn(0),this.d.bo(this.s.bs,this.t.bs,1-this.t.bv)}if(null!=this.r){var a=t.o+", "+t.n+", "+t.m+", "+Math.round(t.l/255*1e3)/1e3;this.r.b7=a}if(null!=this.q){var h=i.ColorUtil.k(t,!1);this.q.b7=h}this.bx=i.BrushUtil.l(t.l,t.o,t.n,t.m),this.bc(this.value)}},n.prototype.au=function(t,e){this.bn()},n.prototype.bk=function(){},n.prototype.bl=function(){},n.prototype.a3=function(){this.n.az()},n.prototype.onAttachedToUI=function(){this.d.bg()},n.prototype.onDetachedFromUI=function(){this.d.bi()},n.prototype.bj=function(){},n.prototype.bi=function(){},n.prototype.ax=function(){this.value=i.BrushUtil.l(0,0,0,0)},Object.defineProperty(n.prototype,"b5",{get:function(){var t=i.ColorUtil.p(this.value);return t.c?t.d:i.Color.u(255,0,0,255)},enumerable:!1,configurable:!0}),n.prototype.bf=function(){var t=this.b5,e=i.ColorUtil.a(t);this.y=!0,this.s.bs=-1==e[1]?0:e[1],this.u.bs=1-e[0],this.t.bs=e[2],this.t.bv=1-e[3],this.y=!1,this.x&&this.bn()},n.prototype.bm=function(){},n.prototype.bg=function(){},n.prototype.ba=function(){this.x=!0,this.d.ba(this.l),this.d.a9(this.k),this.d.bb(this.p),this.d.bc(this.m),this.bf(),this.bn()},n.prototype.a0=function(t,e,n){for(var r=this.s.bs,o=0;o<n;o++)for(var s=o/n,a=0;a<e;a++){var h=a/e,l=1-s,u=void 0,c=void 0,p=void 0;if(0==h)u=l,c=l,p=l;else{var d=l<.5?l*(1+h):l+h-l*h,f=2*l-d,b=r/360,y=b+1/3;u=(y=y<0?y+1:y>1?y-1:y)<1/6?f+6*(d-f)*y:y<.5?d:y<2/3?f+6*(d-f)*(2/3-y):f,c=(y=(y=b)<0?y+1:y>1?y-1:y)<1/6?f+6*(d-f)*y:y<.5?d:y<2/3?f+6*(d-f)*(2/3-y):f,p=(y=(y=b-1/3)<0?y+1:y>1?y-1:y)<1/6?f+6*(d-f)*y:y<.5?d:y<2/3?f+6*(d-f)*(2/3-y):f}u*=255,c*=255,p*=255;var g=i.truncate(1*u),m=i.truncate(1*c),v=i.truncate(1*p),_=4*(o*e+a);t[_+0]=g,t[_+1]=m,t[_+2]=v,t[_+3]=255}},n.prototype.az=function(t,e,n){for(var r=0;r<n;r++)for(var o=0;o<e;o++){var s=void 0,a=void 0,h=void 0,l=360*(o/e)/360,u=l+1/3;s=(u=u<0?u+1:u>1?u-1:u)<1/6?0+6*u:u<.5?1:u<2/3?0+6*(2/3-u):0,a=(u=(u=l)<0?u+1:u>1?u-1:u)<1/6?0+6*u:u<.5?1:u<2/3?0+6*(2/3-u):0,h=(u=(u=l-1/3)<0?u+1:u>1?u-1:u)<1/6?0+6*u:u<.5?1:u<2/3?0+6*(2/3-u):0,s*=255,a*=255,h*=255;var c=i.truncate(1*s),p=i.truncate(1*a),d=i.truncate(1*h),f=4*(r*e+o);t[f+0]=c,t[f+1]=p,t[f+2]=d,t[f+3]=255}},n.prototype.ad=function(){return null!=this.s?this.s.bs:0},n.prototype.a1=function(t,e,n){this.s.bs;for(var r=0;r<n;r++)for(var o=0;o<e;o++){var s=100,a=100,h=100;(i.intDivide(o,10)+i.intDivide(r,10))%2==0||(s=255,a=255,h=255);var l=i.truncate(s),u=i.truncate(a),c=i.truncate(h);l>255&&(l=255),u>255&&(u=255),c>255&&(c=255);var p=4*(r*e+o);t[p+0]=l,t[p+1]=u,t[p+2]=c,t[p+3]=255}},n.prototype.a2=function(t,e,n){for(var r=this.s.bs,o=1-this.t.bv,s=this.t.bs,a=0;a<n;a++)for(var h=a/n,l=0;l<e;l++){var u=void 0,c=void 0,p=void 0;if(0==s)u=o,c=o,p=o;else{var d=o<.5?o*(1+s):o+s-o*s,f=2*o-d,b=r/360,y=b+1/3;u=(y=y<0?y+1:y>1?y-1:y)<1/6?f+6*(d-f)*y:y<.5?d:y<2/3?f+6*(d-f)*(2/3-y):f,c=(y=(y=b)<0?y+1:y>1?y-1:y)<1/6?f+6*(d-f)*y:y<.5?d:y<2/3?f+6*(d-f)*(2/3-y):f,p=(y=(y=b-1/3)<0?y+1:y>1?y-1:y)<1/6?f+6*(d-f)*y:y<.5?d:y<2/3?f+6*(d-f)*(2/3-y):f}u*=255,c*=255,p*=255;var g=1*(1-h),m=100;(i.intDivide(l,10)+i.intDivide(a,10))%2==0||(m=255,255,255);var v=i.truncate(u*g+m*(1-g)),_=i.truncate(c*g+m*(1-g)),C=i.truncate(p*g+m*(1-g));v>255&&(v=255),_>255&&(_=255),C>255&&(C=255);var B=4*(a*e+l);t[B+0]=v,t[B+1]=_,t[B+2]=C,t[B+3]=255}},n.$t=i.markType(n,"ColorEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.ag="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",n.ah="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",n}(i.Base),$e=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()},Object.defineProperty(t.prototype,"oldValue",{get:function(){return i.brushToString(this.i.oldValue)},set:function(t){this.i.oldValue=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return i.brushToString(this.i.newValue)},set:function(t){this.i.newValue=i.stringToBrush(t)},enumerable:!1,configurable:!0}),t}(),Ge=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}(),We=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()},t}(),ze=function(t){function n(){var n=t.call(this)||this;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._valueChanged=null,n._valueChanged_wrapped=null,n._valueChanging=null,n._valueChanging_wrapped=null,n._gotFocus=null,n._gotFocus_wrapped=null,n._lostFocus=null,n._lostFocus_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("colorEditorContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._colorEditor=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._colorEditor.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new Ee},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-color-editor"),this.classList.add("igc-color-editor"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcColorEditorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcColorEditorComponent=t}return n._observedAttributesIgcColorEditorComponent},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,"value",{get:function(){return i.brushToString(this.i.value)},set:function(t){this.i.value=i.stringToBrush(t),this._a("value",i.brushToString(this.i.value))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.cq)},set:function(t){this.i.cq=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.cq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelTextStyle",{get:function(){return null==this.i.p?null:this.i.p.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.p=e,this._a("labelTextStyle",null!=this.i.p?this.i.p.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.l},set:function(t){this.i.l=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.l))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.j))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.q?null:this.i.q.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.q=e,this._a("textStyle",null!=this.i.q?this.i.q.fontString:"")},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}),Object.defineProperty(n.prototype,"iconColor",{get:function(){return i.brushToString(this.i.cp)},set:function(t){this.i.cp=i.stringToBrush(t),this._a("iconColor",i.brushToString(this.i.cp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showClearButton",{get:function(){return this.i.an},set:function(t){this.i.an=i.ensureBool(t),this._a("showClearButton",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allowTextInput",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureBool(t),this._a("allowTextInput",this.i.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openOnFocus",{get:function(){return this.i.al},set:function(t){this.i.al=i.ensureBool(t),this._a("openOnFocus",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("isDisabled",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isFixed",{get:function(){return this.i.aj},set:function(t){this.i.aj=i.ensureBool(t),this._a("isFixed",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"openAsChild",{get:function(){return this.i.ak},set:function(t){this.i.ak=i.ensureBool(t),this._a("openAsChild",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useTopLayer",{get:function(){return this.i.ao},set:function(t){this.i.ao=i.ensureBool(t),this._a("useTopLayer",this.i.ao)},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("ColorEditorComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.select=function(){this.i.cb()},n.prototype.exportVisualModel=function(){return this.i.as()},n.prototype.exportSerializedVisualModel=function(){return this.i.ay()},Object.defineProperty(n.prototype,"valueChanged",{get:function(){return this._valueChanged},set:function(t){var e=this;null!==this._valueChanged_wrapped&&(this.i.valueChanged=i.delegateRemove(this.i.valueChanged,this._valueChanged_wrapped),this._valueChanged_wrapped=null,this._valueChanged=null),this._valueChanged=t,this._valueChanged_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanged&&e.beforeValueChanged(e,n),e._valueChanged&&e._valueChanged(e,n)},this.i.valueChanged=i.delegateCombine(this.i.valueChanged,this._valueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueChanging",{get:function(){return this._valueChanging},set:function(t){var e=this;null!==this._valueChanging_wrapped&&(this.i.valueChanging=i.delegateRemove(this.i.valueChanging,this._valueChanging_wrapped),this._valueChanging_wrapped=null,this._valueChanging=null),this._valueChanging=t,this._valueChanging_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanging&&e.beforeValueChanging(e,n),e._valueChanging&&e._valueChanging(e,n)},this.i.valueChanging=i.delegateCombine(this.i.valueChanging,this._valueChanging_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.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 We;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(n.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 Ge;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}),n._observedAttributesIgcColorEditorComponent=null,n.htmlTagName="igc-color-editor",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Ve=function(t){function n(){var n=t.call(this)||this;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._valueChanged=null,n._valueChanged_wrapped=null,n._valueChanging=null,n._valueChanging_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("colorEditorPanelContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._colorEditorPanel=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._colorEditorPanel.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new qe},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-color-editor-panel"),this.classList.add("igc-color-editor-panel"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcColorEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcColorEditorPanelComponent=t}return n._observedAttributesIgcColorEditorPanelComponent},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,"value",{get:function(){return i.brushToString(this.i.value)},set:function(t){this.i.value=i.stringToBrush(t),this._a("value",i.brushToString(this.i.value))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.h},set:function(t){this.i.h=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.h))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.f},set:function(t){this.i.f=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.f))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedColorBorderColor",{get:function(){return i.brushToString(this.i.b1)},set:function(t){this.i.b1=i.stringToBrush(t),this._a("selectedColorBorderColor",i.brushToString(this.i.b1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedFocusDateBackgroundColor",{get:function(){return i.brushToString(this.i.b2)},set:function(t){this.i.b2=i.stringToBrush(t),this._a("selectedFocusDateBackgroundColor",i.brushToString(this.i.b2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusColorBorderColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("focusColorBorderColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.b0)},set:function(t){this.i.b0=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.b0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.b3)},set:function(t){this.i.b3=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.b3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.j?null:this.i.j.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.j=e,this._a("textStyle",null!=this.i.j?this.i.j.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pixelScalingRatio",{get:function(){return this.i.ae},set:function(t){this.i.ae=+t,this._a("pixelScalingRatio",this.i.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPixelScalingRatio",{get:function(){return this.i.ab},set:function(t){this.i.ab=+t,this._a("actualPixelScalingRatio",this.i.ab)},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("ColorEditorPanelComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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,"valueChanged",{get:function(){return this._valueChanged},set:function(t){var e=this;null!==this._valueChanged_wrapped&&(this.i.valueChanged=i.delegateRemove(this.i.valueChanged,this._valueChanged_wrapped),this._valueChanged_wrapped=null,this._valueChanged=null),this._valueChanged=t,this._valueChanged_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanged&&e.beforeValueChanged(e,n),e._valueChanged&&e._valueChanged(e,n)},this.i.valueChanged=i.delegateCombine(this.i.valueChanged,this._valueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueChanging",{get:function(){return this._valueChanging},set:function(t){var e=this;null!==this._valueChanging_wrapped&&(this.i.valueChanging=i.delegateRemove(this.i.valueChanging,this._valueChanging_wrapped),this._valueChanging_wrapped=null,this._valueChanging=null),this._valueChanging=t,this._valueChanging_wrapped=function(t,i){var n=new $e;n._provideImplementation(i),e.beforeValueChanging&&e.beforeValueChanging(e,n),e._valueChanging&&e._valueChanging(e,n)},this.i.valueChanging=i.delegateCombine(this.i.valueChanging,this._valueChanging_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcColorEditorPanelComponent=null,n.htmlTagName="igc-color-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),He=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,"position",{get:function(){return this.i.n},set:function(t){this.i.n=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.r},set:function(t){this.i.r=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minWidth",{get:function(){return this.i.m},set:function(t){this.i.m=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this.i.l},set:function(t){this.i.l=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lowerThumb",{get:function(){var t=this.i.f;if(null==t)return null;if(!t.externalObject){var e=new Me;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.f=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"higherThumb",{get:function(){var t=this.i.e;if(null==t)return null;if(!t.externalObject){var e=new Me;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.e=null==t?null:t.i},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.lowerThumb&&this.lowerThumb.name&&this.lowerThumb.name==t?this.lowerThumb:this.higherThumb&&this.higherThumb.name&&this.higherThumb.name==t?this.higherThumb:null},t}(),Me=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 Qt},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.s},set:function(t){this.i.s=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangePosition",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(Jt,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"range",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new He;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}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.range&&this.range.name&&this.range.name==t?this.range:null},t.prototype.push=function(t){return this.i.r(t)},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}(),Le=function(t){function n(e){var n=t.call(this)||this;if(Me.$type||(Me.$type=i.markType(Me,"IgcMultiSliderThumb")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Me.$type||(Me.$type=i.markType(Me,"IgcMultiSliderThumb"));var t=new i.SyncableObservableCollection$2(Me.$type,Qt.$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 Me)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Xe=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new se},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,"position",{get:function(){return this.i.position},set:function(t){this.i.position=+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}),t}(),Ye=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()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"thumb",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new Me;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}),t}(),Ke=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()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),Je=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._thumbs=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._resolvingToolTipValue=null,e._resolvingToolTipValue_wrapped=null,e._thumbValueChanging=null,e._thumbValueChanging_wrapped=null,e._thumbValueChanged=null,e._thumbValueChanged_wrapped=null,e._yValueChanging=null,e._yValueChanging_wrapped=null,e._yValueChanged=null,e._yValueChanged_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 ue},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._observedAttributesIgcMultiSliderComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcMultiSliderComponent=t}return n._observedAttributesIgcMultiSliderComponent},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,"thumbs",{get:function(){if(null===this._thumbs){var t=new Le,e=this.i.thumbs;e||(e=new ie),this._thumbs=t._fromInner(e)}return this._thumbs},set:function(t){null!==this._thumbs&&(this._thumbs._setSyncTarget(null),this._thumbs=null);var e=new Le;this._thumbs=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Qt.$type),r=this.i.thumbs;r||(r=new ie),n._inner=r,n.clear(),this._thumbs._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("min",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("max",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("step",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yMax",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("yMax",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yMin",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("yMin",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yStep",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("yStep",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pixelScalingRatio",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("pixelScalingRatio",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPixelScalingRatio",{get:function(){return this.i.a9},set:function(t){this.i.a9=+t,this._a("actualPixelScalingRatio",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"windowRect",{get:function(){return i.fromRect(this.i.e1)},set:function(t){this.i.e1=i.toRect(t),this._a("windowRect",i.rectToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yValue",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("yValue",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"startInset",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("startInset",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endInset",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("endInset",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"trackStartInset",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("trackStartInset",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"trackEndInset",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("trackEndInset",this.i.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yTrackStartInset",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("yTrackStartInset",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yTrackEndInset",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("yTrackEndInset",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barExtent",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("barExtent",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(oe,t),this._a("orientation",i.enumToString(oe,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbBrush",{get:function(){return i.brushToString(this.i.es)},set:function(t){this.i.es=i.stringToBrush(t),this._a("thumbBrush",i.brushToString(this.i.es))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbStrokeThickness",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("thumbStrokeThickness",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbOutline",{get:function(){return i.brushToString(this.i.et)},set:function(t){this.i.et=i.stringToBrush(t),this._a("thumbOutline",i.brushToString(this.i.et))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbWidth",{get:function(){return this.i.bo},set:function(t){this.i.bo=+t,this._a("thumbWidth",this.i.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbHeight",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("thumbHeight",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barBrush",{get:function(){return i.brushToString(this.i.ek)},set:function(t){this.i.ek=i.stringToBrush(t),this._a("barBrush",i.brushToString(this.i.ek))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barOutline",{get:function(){return i.brushToString(this.i.el)},set:function(t){this.i.el=i.stringToBrush(t),this._a("barOutline",i.brushToString(this.i.el))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"barStrokeThickness",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("barStrokeThickness",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbBrush",{get:function(){return i.brushToString(this.i.ep)},set:function(t){this.i.ep=i.stringToBrush(t),this._a("rangeThumbBrush",i.brushToString(this.i.ep))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbOutline",{get:function(){return i.brushToString(this.i.eq)},set:function(t){this.i.eq=i.stringToBrush(t),this._a("rangeThumbOutline",i.brushToString(this.i.eq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbStrokeThickness",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("rangeThumbStrokeThickness",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeThumbRidgesBrush",{get:function(){return i.brushToString(this.i.er)},set:function(t){this.i.er=i.stringToBrush(t),this._a("rangeThumbRidgesBrush",i.brushToString(this.i.er))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbRidgesBrush",{get:function(){return i.brushToString(this.i.eu)},set:function(t){this.i.eu=i.stringToBrush(t),this._a("thumbRidgesBrush",i.brushToString(this.i.eu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutBrush",{get:function(){return i.brushToString(this.i.em)},set:function(t){this.i.em=i.stringToBrush(t),this._a("calloutBrush",i.brushToString(this.i.em))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutTextColor",{get:function(){return i.brushToString(this.i.eo)},set:function(t){this.i.eo=i.stringToBrush(t),this._a("calloutTextColor",i.brushToString(this.i.eo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutOutline",{get:function(){return i.brushToString(this.i.en)},set:function(t){this.i.en=i.stringToBrush(t),this._a("calloutOutline",i.brushToString(this.i.en))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"calloutStrokeThickness",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("calloutStrokeThickness",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomThumbProvided",{get:function(){return this.i.ac},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRangeThumbProvided",{get:function(){return this.i.aa},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomBarProvided",{get:function(){return this.i.z},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomShadeProvided",{get:function(){return this.i.ab},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"areThumbCalloutsEnabled",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureBool(t),this._a("areThumbCalloutsEnabled",this.i.t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbCalloutTextStyle",{get:function(){return null==this.i.p?null:this.i.p.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.p=e,this._a("thumbCalloutTextStyle",null!=this.i.p?this.i.p.fontString:"")},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.thumbs&&this.thumbs.findByName&&this.thumbs.findByName(t)?this.thumbs.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("MultiSliderComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.provideContainer=function(t){this.i.provideContainer(t)},n.prototype.flush=function(){this.i.c7()},n.prototype.trackDirty=function(){this.i.trackDirty()},n.prototype.show=function(){this.i.dw()},n.prototype.hide=function(){this.i.c8()},Object.defineProperty(n.prototype,"resolvingToolTipValue",{get:function(){return this._resolvingToolTipValue},set:function(t){var e=this;null!==this._resolvingToolTipValue_wrapped&&(this.i.resolvingToolTipValue=i.delegateRemove(this.i.resolvingToolTipValue,this._resolvingToolTipValue_wrapped),this._resolvingToolTipValue_wrapped=null,this._resolvingToolTipValue=null),this._resolvingToolTipValue=t,this._resolvingToolTipValue_wrapped=function(t,i){var n=new Xe;n._provideImplementation(i),e.beforeResolvingToolTipValue&&e.beforeResolvingToolTipValue(e,n),e._resolvingToolTipValue&&e._resolvingToolTipValue(e,n)},this.i.resolvingToolTipValue=i.delegateCombine(this.i.resolvingToolTipValue,this._resolvingToolTipValue_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbValueChanging",{get:function(){return this._thumbValueChanging},set:function(t){var e=this;null!==this._thumbValueChanging_wrapped&&(this.i.thumbValueChanging=i.delegateRemove(this.i.thumbValueChanging,this._thumbValueChanging_wrapped),this._thumbValueChanging_wrapped=null,this._thumbValueChanging=null),this._thumbValueChanging=t,this._thumbValueChanging_wrapped=function(t,i){var n=new Ye;n._provideImplementation(i),e.beforeThumbValueChanging&&e.beforeThumbValueChanging(e,n),e._thumbValueChanging&&e._thumbValueChanging(e,n)},this.i.thumbValueChanging=i.delegateCombine(this.i.thumbValueChanging,this._thumbValueChanging_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbValueChanged",{get:function(){return this._thumbValueChanged},set:function(t){var e=this;null!==this._thumbValueChanged_wrapped&&(this.i.thumbValueChanged=i.delegateRemove(this.i.thumbValueChanged,this._thumbValueChanged_wrapped),this._thumbValueChanged_wrapped=null,this._thumbValueChanged=null),this._thumbValueChanged=t,this._thumbValueChanged_wrapped=function(t,i){var n=new Ye;n._provideImplementation(i),e.beforeThumbValueChanged&&e.beforeThumbValueChanged(e,n),e._thumbValueChanged&&e._thumbValueChanged(e,n)},this.i.thumbValueChanged=i.delegateCombine(this.i.thumbValueChanged,this._thumbValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yValueChanging",{get:function(){return this._yValueChanging},set:function(t){var e=this;null!==this._yValueChanging_wrapped&&(this.i.yValueChanging=i.delegateRemove(this.i.yValueChanging,this._yValueChanging_wrapped),this._yValueChanging_wrapped=null,this._yValueChanging=null),this._yValueChanging=t,this._yValueChanging_wrapped=function(t,i){var n=new Ke;n._provideImplementation(i),e.beforeYValueChanging&&e.beforeYValueChanging(e,n),e._yValueChanging&&e._yValueChanging(e,n)},this.i.yValueChanging=i.delegateCombine(this.i.yValueChanging,this._yValueChanging_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yValueChanged",{get:function(){return this._yValueChanged},set:function(t){var e=this;null!==this._yValueChanged_wrapped&&(this.i.yValueChanged=i.delegateRemove(this.i.yValueChanged,this._yValueChanged_wrapped),this._yValueChanged_wrapped=null,this._yValueChanged=null),this._yValueChanged=t,this._yValueChanged_wrapped=function(t,i){var n=new Ke;n._provideImplementation(i),e.beforeYValueChanged&&e.beforeYValueChanged(e,n),e._yValueChanged&&e._yValueChanged(e,n)},this.i.yValueChanged=i.delegateCombine(this.i.yValueChanged,this._yValueChanged_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcMultiSliderComponent=null,n.htmlTagName="igc-multi-slider",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Qe=function(){function t(){}return t.register=function(){Je.register(),i.TypeRegistrar.registerCons("IgcMultiSliderComponent",Je),i.TypeRegistrar.registerCons("IgcMultiSliderComponent",Je),i.TypeRegistrar.register("MultiSlider",ue.$type)},t}(),Ze=function(){function t(){}return t.register=function(){Ve.register(),i.TypeRegistrar.registerCons("IgcColorEditorPanelComponent",Ve),i.TypeRegistrar.registerCons("IgcColorEditorPanelComponent",Ve),Qe.register(),m.register(),St.register(),xt.register(),i.TypeRegistrar.register("ColorEditorPanel",qe.$type)},t}(),ti=function(){function t(){}return t.register=function(){ze.register(),i.TypeRegistrar.registerCons("IgcColorEditorComponent",ze),i.TypeRegistrar.registerCons("IgcColorEditorComponent",ze),Ze.register(),i.TypeRegistrar.register("ColorEditor",Ee.$type)},t}(),ei=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Be},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,"isChecked",{get:function(){return this.i.isChecked},set:function(t){this.i.isChecked=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isIndeterminate",{get:function(){return this.i.isIndeterminate},set:function(t){this.i.isIndeterminate=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),ii=function(t){function n(){var n=t.call(this)||this;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._change=null,n._change_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("checkboxLabel"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._checkbox=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._checkbox.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new we},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-checkbox"),this.classList.add("igc-x-checkbox"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.i.onContentReady()},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._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._observedAttributesIgcXCheckboxComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXCheckboxComponent=t}return n._observedAttributesIgcXCheckboxComponent},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.n},set:function(t){this.i.n=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.dl)},set:function(t){this.i.dl=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.dl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.db)},set:function(t){this.i.db=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.db))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.dd)},set:function(t){this.i.dd=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.dd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tickColor",{get:function(){return i.brushToString(this.i.dk)},set:function(t){this.i.dk=i.stringToBrush(t),this._a("tickColor",i.brushToString(this.i.dk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTickColor",{get:function(){return i.brushToString(this.i.da)},set:function(t){this.i.da=i.stringToBrush(t),this._a("actualTickColor",i.brushToString(this.i.da))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.dm)},set:function(t){this.i.dm=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.dm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.de)},set:function(t){this.i.de=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.de))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.dc)},set:function(t){this.i.dc=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.dc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.c9)},set:function(t){this.i.c9=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.c9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("borderWidth",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.an},set:function(t){this.i.an=+t,this._a("actualBorderWidth",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("cornerRadius",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tickStrokeWidth",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("tickStrokeWidth",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTickStrokeWidth",{get:function(){return this.i.ap},set:function(t){this.i.ap=+t,this._a("actualTickStrokeWidth",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadius",{get:function(){return this.i.ao},set:function(t){this.i.ao=+t,this._a("actualCornerRadius",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.c8)},set:function(t){this.i.c8=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.c8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputId",{get:function(){return this.i.b1},set:function(t){this.i.b1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bz},set:function(t){this.i.bz=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelId",{get:function(){return this.i.labelId},set:function(t){this.i.labelId=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.ca},set:function(t){this.i.ca=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("tabIndex",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"required",{get:function(){return this.i.ay},set:function(t){this.i.ay=+t,this._a("required",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabelledBy",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.bm},set:function(t){this.i.bm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.i.focused},set:function(t){this.i.focused=i.ensureBool(t),this._a("focused",this.i.focused)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelPosition",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(Ce,t),this._a("labelPosition",i.enumToString(Ce,this.i.e))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this.i.y},set:function(t){this.i.y=i.ensureBool(t),this._a("disableRipple",this.i.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checked",{get:function(){return this.i.checked},set:function(t){this.i.checked=i.ensureBool(t),this._a("checked",this.i.checked)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indeterminate",{get:function(){return this.i.indeterminate},set:function(t){this.i.indeterminate=i.ensureBool(t),this._a("indeterminate",this.i.indeterminate)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableTransitions",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureBool(t),this._a("disableTransitions",this.i.z)},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("XCheckboxComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.a3()},n.prototype.exportSerializedVisualModel=function(){return this.i.by()},Object.defineProperty(n.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 n=new ei;n._provideImplementation(i),e.beforeChange&&e.beforeChange(e,n),e._change&&e._change(e,n)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXCheckboxComponent=null,n.htmlTagName="igc-x-checkbox",n._isElementRegistered=!1,n}(i.IgcHTMLElement),ni=function(){function t(){}return t.register=function(){a.register(),i.IgcChildContentModule.register(),ii.register(),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",ii),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",ii),i.TypeRegistrar.register("XCheckbox",we.$type)},t}(),ri=function(t){function n(e){var n=t.call(this)||this;if(g.$type||(g.$type=i.markType(g,"IgcXButtonComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){g.$type||(g.$type=i.markType(g,"IgcXButtonComponent"));var t=new i.SyncableObservableCollection$2(g.$type,b.$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=g._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),oi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ye},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}(),si=function(t){function n(){var n=t.call(this)||this;n.contentButtons=[],n.actualButtons=[],n._buttons=null,n._buttonsAdapter=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._selectionChanged=null,n._selectionChanged_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("buttonContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._buttonGroup=r,n._buttonsAdapter=new i.CollectionAdapter(n.contentButtons,n.i.buttons,n.actualButtons,(function(t){return t.i}),(function(t){n._container&&n._container.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged(),n.updateButtons())}}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}return e.__extends(n,t),Object.defineProperty(n.prototype,"buttons",{get:function(){var t=this;if(null===this._buttons){var e=new ri;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._buttonsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._buttonsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._buttonsAdapter.removeManualItemAt(n.oldStartingIndex),t._buttonsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._buttonsAdapter.clearManualItems()}})),this._buttons=e}return this._buttons},enumerable:!1,configurable:!0}),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateButtons=function(){this.contentButtons.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof g&&this.contentButtons.push(this.children[t]);var e=this.querySelector("igc-child-content");if(e)for(t=0;t<e.children.length;t++)e.children[t]instanceof g&&this.contentButtons.push(e.children[t]);null!=this._buttonsAdapter&&this._buttonsAdapter.notifyContentChanged()},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._buttonGroup.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new ve},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-button-group"),this.classList.add("igc-x-button-group"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},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._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._observedAttributesIgcXButtonGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXButtonGroupComponent=t}return n._observedAttributesIgcXButtonGroupComponent},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,"displayType",{get:function(){return this.i.i},set:function(t){this.i.i=i.ensureEnum(fe,t),this._a("displayType",i.enumToString(fe,this.i.i))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.q},set:function(t){this.i.q=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedIndices",{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,"actualItemCornerRadius",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("actualItemCornerRadius",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemBackgroundColor",{get:function(){return i.brushToString(this.i.e0)},set:function(t){this.i.e0=i.stringToBrush(t),this._a("actualItemBackgroundColor",i.brushToString(this.i.e0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.e2)},set:function(t){this.i.e2=i.stringToBrush(t),this._a("actualItemDisabledBackgroundColor",i.brushToString(this.i.e2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemTextColor",{get:function(){return i.brushToString(this.i.e7)},set:function(t){this.i.e7=i.stringToBrush(t),this._a("actualItemTextColor",i.brushToString(this.i.e7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemDisabledTextColor",{get:function(){return i.brushToString(this.i.e4)},set:function(t){this.i.e4=i.stringToBrush(t),this._a("actualItemDisabledTextColor",i.brushToString(this.i.e4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemBorderColor",{get:function(){return i.brushToString(this.i.e1)},set:function(t){this.i.e1=i.stringToBrush(t),this._a("actualItemBorderColor",i.brushToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemDisabledBorderColor",{get:function(){return i.brushToString(this.i.e3)},set:function(t){this.i.e3=i.stringToBrush(t),this._a("actualItemDisabledBorderColor",i.brushToString(this.i.e3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemBorderWidth",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("actualItemBorderWidth",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.e8)},set:function(t){this.i.e8=i.stringToBrush(t),this._a("actualSelectedItemBackgroundColor",i.brushToString(this.i.e8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemTextColor",{get:function(){return i.brushToString(this.i.fb)},set:function(t){this.i.fb=i.stringToBrush(t),this._a("actualSelectedItemTextColor",i.brushToString(this.i.fb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.e5)},set:function(t){this.i.e5=i.stringToBrush(t),this._a("actualItemHoverBackgroundColor",i.brushToString(this.i.e5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualItemHoverTextColor",{get:function(){return i.brushToString(this.i.e6)},set:function(t){this.i.e6=i.stringToBrush(t),this._a("actualItemHoverTextColor",i.brushToString(this.i.e6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.e9)},set:function(t){this.i.e9=i.stringToBrush(t),this._a("actualSelectedItemHoverBackgroundColor",i.brushToString(this.i.e9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.fa)},set:function(t){this.i.fa=i.stringToBrush(t),this._a("actualSelectedItemHoverTextColor",i.brushToString(this.i.fa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemCornerRadius",{get:function(){return this.i.a2},set:function(t){this.i.a2=+t,this._a("itemCornerRadius",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemBackgroundColor",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("itemBackgroundColor",i.brushToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("itemDisabledBackgroundColor",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemTextColor",{get:function(){return i.brushToString(this.i.hv)},set:function(t){this.i.hv=i.stringToBrush(t),this._a("itemTextColor",i.brushToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemDisabledTextColor",{get:function(){return i.brushToString(this.i.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("itemDisabledTextColor",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.ht)},set:function(t){this.i.ht=i.stringToBrush(t),this._a("itemHoverBackgroundColor",i.brushToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemBorderColor",{get:function(){return i.brushToString(this.i.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("itemBorderColor",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemDisabledBorderColor",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("itemDisabledBorderColor",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemBorderWidth",{get:function(){return this.i.a1},set:function(t){this.i.a1=+t,this._a("itemBorderWidth",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHoverTextColor",{get:function(){return i.brushToString(this.i.hu)},set:function(t){this.i.hu=i.stringToBrush(t),this._a("itemHoverTextColor",i.brushToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("selectedItemBackgroundColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemTextColor",{get:function(){return i.brushToString(this.i.ib)},set:function(t){this.i.ib=i.stringToBrush(t),this._a("selectedItemTextColor",i.brushToString(this.i.ib))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("selectedItemHoverBackgroundColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("selectedItemHoverTextColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemCornerRadius",{get:function(){return this.i.a4},set:function(t){this.i.a4=+t,this._a("outlinedItemCornerRadius",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemBackgroundColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("outlinedItemBackgroundColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t),this._a("outlinedItemDisabledBackgroundColor",i.brushToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemTextColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("outlinedItemTextColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemDisabledTextColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("outlinedItemDisabledTextColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("outlinedItemHoverBackgroundColor",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemBorderColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("outlinedItemBorderColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemDisabledBorderColor",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("outlinedItemDisabledBorderColor",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemBorderWidth",{get:function(){return this.i.a3},set:function(t){this.i.a3=+t,this._a("outlinedItemBorderWidth",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedItemHoverTextColor",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("outlinedItemHoverTextColor",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("outlinedSelectedItemBackgroundColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemTextColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("outlinedSelectedItemTextColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("outlinedSelectedItemHoverBackgroundColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedSelectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("outlinedSelectedItemHoverTextColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemCornerRadius",{get:function(){return this.i.a0},set:function(t){this.i.a0=+t,this._a("flatItemCornerRadius",this.i.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemBackgroundColor",{get:function(){return i.brushToString(this.i.hc)},set:function(t){this.i.hc=i.stringToBrush(t),this._a("flatItemBackgroundColor",i.brushToString(this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.he)},set:function(t){this.i.he=i.stringToBrush(t),this._a("flatItemDisabledBackgroundColor",i.brushToString(this.i.he))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemTextColor",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("flatItemTextColor",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemDisabledTextColor",{get:function(){return i.brushToString(this.i.hg)},set:function(t){this.i.hg=i.stringToBrush(t),this._a("flatItemDisabledTextColor",i.brushToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.hh)},set:function(t){this.i.hh=i.stringToBrush(t),this._a("flatItemHoverBackgroundColor",i.brushToString(this.i.hh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemBorderColor",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("flatItemBorderColor",i.brushToString(this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemDisabledBorderColor",{get:function(){return i.brushToString(this.i.hf)},set:function(t){this.i.hf=i.stringToBrush(t),this._a("flatItemDisabledBorderColor",i.brushToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemBorderWidth",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("flatItemBorderWidth",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatItemHoverTextColor",{get:function(){return i.brushToString(this.i.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("flatItemHoverTextColor",i.brushToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemBackgroundColor",{get:function(){return i.brushToString(this.i.hk)},set:function(t){this.i.hk=i.stringToBrush(t),this._a("flatSelectedItemBackgroundColor",i.brushToString(this.i.hk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemTextColor",{get:function(){return i.brushToString(this.i.hn)},set:function(t){this.i.hn=i.stringToBrush(t),this._a("flatSelectedItemTextColor",i.brushToString(this.i.hn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemHoverBackgroundColor",{get:function(){return i.brushToString(this.i.hl)},set:function(t){this.i.hl=i.stringToBrush(t),this._a("flatSelectedItemHoverBackgroundColor",i.brushToString(this.i.hl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatSelectedItemHoverTextColor",{get:function(){return i.brushToString(this.i.hm)},set:function(t){this.i.hm=i.stringToBrush(t),this._a("flatSelectedItemHoverTextColor",i.brushToString(this.i.hm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureEnum(de,t),this._a("orientation",i.enumToString(de,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.b6},set:function(t){this.i.b6=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isMultiSelect",{get:function(){return this.i.aa},set:function(t){this.i.aa=i.ensureBool(t),this._a("isMultiSelect",this.i.aa)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.buttons&&this.buttons.findByName&&this.buttons.findByName(t)?this.buttons.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("XButtonGroupComponent");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 l=i.toSpinal(o);s.push(l+"-"),h=h.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);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.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.a6()},n.prototype.exportSerializedVisualModel=function(){return this.i.br()},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 oi;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}),n._observedAttributesIgcXButtonGroupComponent=null,n.htmlTagName="igc-x-button-group",n._isElementRegistered=!1,n}(i.IgcHTMLElement),ai=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),m.register(),si.register(),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",si),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",si),i.TypeRegistrar.register("XButtonGroup",ve.$type)},t}(),hi=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("prefixContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._prefix=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._prefix.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new pt},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-prefix"),this.classList.add("igc-x-prefix"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXPrefixComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXPrefixComponent=t}return n._observedAttributesIgcXPrefixComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"id",{get:function(){return this.i.z},set:function(t){this.i.z=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.w},set:function(t){this.i.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.q},set:function(t){this.i.q=i.ensureBool(t),this._a("isHover",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.t()},n.prototype.exportSerializedVisualModel=function(){return this.i.y()},n._observedAttributesIgcXPrefixComponent=null,n.htmlTagName="igc-x-prefix",n._isElementRegistered=!1,n}(gt),li=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),hi.register(),i.TypeRegistrar.registerCons("IgcXPrefixComponent",hi),i.TypeRegistrar.registerCons("IgcXPrefixComponent",hi),i.TypeRegistrar.register("XPrefix",pt.$type)},t}(),ui=function(t){function n(){var n=t.call(this)||this;n._disconnected=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._portalManager=new i.PortalManager("suffixContent"),n._renderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._container=n._renderer.createElement("div"),n._renderer.updateRoot(n._container),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._container,null!=n._container.getNativeElement()&&n._container.getNativeElement(),n._wrapper=n._renderer;var r=n.i;return n._suffix=r,r.provideContainer(n._renderer),n._onChildrenChanged(),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._onChildrenChanged()}}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}return e.__extends(n,t),n.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var i=this.childNodes[e];i!==this._container.getNativeElement()&&t.push(i)}this._portalManager.onChildrenChanged(t)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._suffix.destroy(),this._wrapper.destroy()},n.prototype.createImplementation=function(){return new ct},n.prototype.disconnectedCallback=function(){this._disconnected=!0,this.i&&this.i.onDetachedFromUI()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this.i.onAttachedToUI());this.classList.add("ig-x-suffix"),this.classList.add("igc-x-suffix"),this.appendChild(this._container.getNativeElement()),this._attached=!0,this.style.display="inline-block",this.style.verticalAlign="middle",this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXSuffixComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXSuffixComponent=t}return n._observedAttributesIgcXSuffixComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"id",{get:function(){return this.i.z},set:function(t){this.i.z=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.w},set:function(t){this.i.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.q},set:function(t){this.i.q=i.ensureBool(t),this._a("isHover",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.i.disabled},set:function(t){this.i.disabled=i.ensureBool(t),this._a("disabled",this.i.disabled)},enumerable:!1,configurable:!0}),n.prototype.onDetachedFromUI=function(){this.i.onDetachedFromUI()},n.prototype.onAttachedToUI=function(){this.i.onAttachedToUI()},n.prototype.exportVisualModel=function(){return this.i.t()},n.prototype.exportSerializedVisualModel=function(){return this.i.y()},n._observedAttributesIgcXSuffixComponent=null,n.htmlTagName="igc-x-suffix",n._isElementRegistered=!1,n}(gt),ci=function(t){function n(e,i){var n=t.call(this,e)||this;return n.al=null,n.al=new Pe(i),n}return e.__extends(n,t),n.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 15:case 16:case 44:case 45:case 46:case 47:case 48:case 49:return this.al.t}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},n.prototype.getTargetForProperty=function(e,i){switch(e){case 16:case 15:case 17:return this.al.t.view.v}return t.prototype.getTargetForProperty.call(this,e,i)},n.prototype.getValue=function(e,n){switch(n){case 16:case 15:case 44:case 45:case 46:case 47:case 48:case 49:return this.al.getValue(e,n);case 18:return i.enumGetBox(i.BaseControlTheme_$type,e.o)}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,n,r){switch(t.prototype.setValue.call(this,e,n,r),n){case 16:case 15:case 44:case 45:case 46:case 47:case 48:case 49:this.al.setValue(e,n,r);break;case 18:e.o=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r)}},n.$t=i.markType(n,"XIconButtonBridge",zt.$),n}(zt),pi=i.markEnum("KEYCODES","ENTER,13|SPACE,32|ESCAPE,27|LEFT_ARROW,37|UP_ARROW,38|RIGHT_ARROW,39|DOWN_ARROW,40|F2,113|TAB,9|CTRL,17|C,67|Z,90|Y,89|X,88|BACKSPACE,8|DELETE,46|INPUT_METHOD,229"),di=i.markEnum("MultiSliderCursor","Default,0|LeftRight,1|AllWay,2|UpDown,3|Move,4"),fi=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()},t}(),bi=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.a=0,e.c=-1,e.b=-1,e._thumbBox=null,e._thumbRidges=null,e._allPaths=null,e.thumbBox=new i.Path,e.thumbRidges=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.thumbBox),e.allPaths.add(e.thumbRidges),e.thumbBox._stroke=e.getThumbBoxDefaultStroke(),e.thumbBox.ad=1,e.thumbBox._fill=e.getThumbBoxDefaultBrush(),e.thumbRidges._stroke=e.getThumbRidgesDefaultStroke(),e.thumbRidges.ad=1,e}return e.__extends(n,t),n.prototype.getThumbBoxDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getThumbBoxDefaultStrokeThickness=function(){return 1},n.prototype.getThumbBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,249,249,249),t;var t},n.prototype.getThumbRidgesDefaultStroke=function(){return(t=new i.Brush).color=i.Color.u(255,119,119,119),t;var t},Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.e=function(){if(0==this.orientation){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.LineSegment(1);e._isClosed=!1,e._isFilled=!1,e._startPoint={$type:i.Point_$type,x:-3,y:this.height/-2*.5},n.c={$type:i.Point_$type,x:-3,y:this.height/2*.5},e._segments.add(n),t.c.add(e);var r=new i.PathFigure,o=new i.LineSegment(1);r._isClosed=!1,r._isFilled=!1,r._startPoint={$type:i.Point_$type,x:0,y:this.height/-2*.5},o.c={$type:i.Point_$type,x:0,y:this.height/2*.5},r._segments.add(o),t.c.add(r);var s=new i.PathFigure,a=new i.LineSegment(1);s._isClosed=!1,s._isFilled=!1,s._startPoint={$type:i.Point_$type,x:3,y:this.height/-2*.5},a.c={$type:i.Point_$type,x:3,y:this.height/2*.5},s._segments.add(a),t.c.add(s),this.thumbRidges.an=t}else{var h=new i.PathGeometry,l=new i.PathFigure,u=new i.LineSegment(1);l._isClosed=!1,l._isFilled=!1,l._startPoint={$type:i.Point_$type,x:this.width/-2*.5,y:-3},u.c={$type:i.Point_$type,x:this.width/2*.5,y:-3},l._segments.add(u),h.c.add(l);var c=new i.PathFigure,p=new i.LineSegment(1);c._isClosed=!1,c._isFilled=!1,c._startPoint={$type:i.Point_$type,x:this.width/-2*.5,y:0},p.c={$type:i.Point_$type,x:this.width/2*.5,y:0},c._segments.add(p),h.c.add(c);var d=new i.PathFigure,f=new i.LineSegment(1);d._isClosed=!1,d._isFilled=!1,l._startPoint={$type:i.Point_$type,x:this.width/-2*.5,y:3},u.c={$type:i.Point_$type,x:this.width/2*.5,y:3},d._segments.add(f),h.c.add(d),this.thumbRidges.an=h}},n.prototype.d=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),e._segments.add(n),t.c.add(e),this.thumbBox.an=t},Object.defineProperty(n.prototype,"orientation",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.d(),this.e())},Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbBox",{get:function(){return this._thumbBox},set:function(t){this._thumbBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbRidges",{get:function(){return this._thumbRidges},set:function(t){this._thumbRidges=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiSliderTrackRangeVisual",i.Base.$,[Ht]),n}(i.Base),yi=new i.Type(null,"IMultiSliderTrackShadeVisual"),gi=i.markEnum("MultiSliderTrackShadeOrientation","HorizontalLower,0|HorizontalHigher,1|VerticalLower,2|VerticalHigher,3"),mi=function(t){function n(){var e=t.call(this)||this;return e._translateX=0,e._translateY=0,e.a=0,e.c=-1,e.b=-1,e._shadeBox=null,e._shadeOutline=null,e._allPaths=null,e.shadeBox=new i.Path,e.shadeOutline=new i.Path,e.allPaths=new i.List$1(i.Path.$,0),e.allPaths.add(e.shadeBox),e.allPaths.add(e.shadeOutline),e.shadeBox._fill=e.getShadeBoxDefaultBrush(),e.shadeOutline._stroke=e.getShadeOutlineDefaultBrush(),e.shadeOutline.ad=e.getShadeOutlineDefaultStrokeThickness(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"translateX",{get:function(){return this._translateX},set:function(t){this._translateX=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"translateY",{get:function(){return this._translateY},set:function(t){this._translateY=t},enumerable:!1,configurable:!0}),n.prototype.getShadeBoxDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(128,255,255,255),t;var t},n.prototype.getShadeOutlineDefaultBrush=function(){return(t=new i.Brush).color=i.Color.u(255,185,185,185),t;var t},n.prototype.getShadeOutlineDefaultStrokeThickness=function(){return 1},n.prototype.d=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;e._isClosed=!0,e._isFilled=!0,e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),e._segments.add(n),t.c.add(e),this.shadeBox.an=t},n.prototype.e=function(){var t=new i.PathGeometry,e=new i.PathFigure,n=new i.PolyLineSegment;switch(e._isClosed=!1,e._isFilled=!1,this.orientation){case 0:e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/2});break;case 1:e._startPoint={$type:i.Point_$type,x:this.width/-2,y:this.height/2},n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/2,y:this.height/-2});break;case 2:e._startPoint={$type:i.Point_$type,x:this.width/2,y:this.height/2},n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/-2});break;case 3:e._startPoint={$type:i.Point_$type,x:this.width/2,y:this.height/-2},n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/-2}),n._points.add({$type:i.Point_$type,x:this.width/-2,y:this.height/2})}e._segments.add(n),t.c.add(e),this.shadeOutline.an=t},Object.defineProperty(n.prototype,"orientation",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f()},enumerable:!1,configurable:!0}),n.prototype.f=function(){this.width>0&&this.height>0&&(this.d(),this.e())},Object.defineProperty(n.prototype,"height",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.f()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shadeBox",{get:function(){return this._shadeBox},set:function(t){this._shadeBox=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shadeOutline",{get:function(){return this._shadeOutline},set:function(t){this._shadeOutline=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"allPaths",{get:function(){return this._allPaths},set:function(t){this._allPaths=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefaultMultiTrackShadeVisual",i.Base.$,[yi]),n}(i.Base),vi=i.markEnum("MultiSliderVisualArea","Thumb,0|RangeThumb,1|Bar,2|None,3"),_i=i.markEnum("IconViewType","SVG,0|SVGPath,1|SVGPaths,2|DataURL,3|Source,4|None,5"),Ci=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.g=0,e.h=0,e.e=0,e.c=0,e.b=null,e.a=null,e.d=0,e}return e.__extends(n,t),n.prototype.i=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left : "+this.f+", "),t.l("top : "+this.g+", "),t.l("height : "+this.e+", "),t.l("width : "+this.h+", "),t.l("baseTheme : "+i.enumGetBox(i.BaseControlTheme_$type,this.c)+", "),t.l("backgroundColor : "+this.b.serialize()+", "),t.l("actualSelectAllCaptionTextColor : "+this.a.serialize()+", "),t.l("actualRowHeight : "+this.d),t.l("}"),t.toString()},n.$t=i.markType(n,"CheckboxListVisualModelExport"),n}(i.Base),Bi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=0,e.e=0,e.f=0,e.b=0,e.a=null,e.k=null,e.l=null,e.m=null,e.d=0,e.i=null,e.j=null,e.h=null,e}return e.__extends(n,t),n.prototype.g=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("left: "+this.c+", "),t.l("top: "+this.e+", "),t.l("width: "+this.f+", "),t.l("height: "+this.b+", "),t.l('text : "'+this.h+'", '),t.l("actualTextColor: "+this.a.serialize()+", "),i.stringIsNullOrEmpty(this.k)||t.l('textStyleFontStyle: "'+this.k+'", '),i.stringIsNullOrEmpty(this.l)||t.l('textStyleFontVariant: "'+this.l+'", '),i.stringIsNullOrEmpty(this.m)||t.l('textStyleFontWeight: "'+this.m+'", '),i.stringIsNullOrEmpty(this.i)||t.l('textStyleFontFamily: "'+this.i+'", '),i.stringIsNullOrEmpty(this.j)||t.l('textStyleFontStretch: "'+this.j+'", '),i.isNaN_(this.d)||t.l("textStyleFontSize: "+this.d+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"TextBlockVisualModelExport"),n}(i.Base);t.ButtonClickEventArgs=p,t.ButtonDisplayStyle_$type=l,t.ButtonGroupDisplayStyle_$type=fe,t.ButtonGroupOrientation=pe,t.ButtonGroupOrientation_$type=de,t.ButtonGroupSelectionChangedEventArgs=ye,t.ButtonGroupView=me,t.ButtonGroupVisualModelExport=ge,t.ButtonView=f,t.ButtonVisualModelExport=d,t.CalendarView=N,t.CalendarVisualModelExport=I,t.CheckboxChangeEventArgs=Be,t.CheckboxLabelPosition_$type=Ce,t.CheckboxListVisualModelExport=Ci,t.CheckboxView=ke,t.CheckboxVisualModelExport=xe,t.ColorEditor=Ee,t.ColorEditorBridge=Ae,t.ColorEditorGotFocusEventArgs=Ue,t.ColorEditorLostFocusEventArgs=Ne,t.ColorEditorPanel=qe,t.ColorEditorPanelClosedEventArgs=Ie,t.ColorEditorPanelSelectedValueChangedEventArgs=Oe,t.ColorEditorPanelView=Re,t.ColorEditorView=De,t.ColorEditorVisualModelExport=je,t.DateFormats=Ot,t.DateFormats_$type=jt,t.DatePickerView=At,t.DatePickerVisualModelExport=Ft,t.DateTimeValueFormatter=It,t.DayInfo=P,t.DayOfWeek=w,t.DayOfWeek_$type=T,t.DefaultMultiSliderTrackBarVisual=Xt,t.DefaultMultiSliderTrackRangeVisual=bi,t.DefaultMultiSliderTrackThumbCalloutVisual=te,t.DefaultMultiSliderTrackThumbVisual=Yt,t.DefaultMultiTrackShadeVisual=mi,t.ElevationHelper=h,t.FirstWeek=S,t.FirstWeek_$type=O,t.GotFocusEventArgs=Ut,t.IMultiSliderTrackBarVisual_$type=Lt,t.IMultiSliderTrackRangeVisual_$type=Ht,t.IMultiSliderTrackShadeVisual_$type=yi,t.IMultiSliderTrackThumbCalloutVisual_$type=Mt,t.IMultiSliderTrackThumbVisual_$type=Vt,t.ISliderTrackOwner_$type=ee,t.IconClickedEventArgs=v,t.IconView=C,t.IconViewType_$type=_i,t.IconVisualModelExport=_,t.IgcButtonClickEventArgs=y,t.IgcButtonGroupSelectionChangedEventArgs=oi,t.IgcCheckboxChangeEventArgs=ei,t.IgcColorEditorComponent=ze,t.IgcColorEditorGotFocusEventArgs=We,t.IgcColorEditorLostFocusEventArgs=Ge,t.IgcColorEditorModule=ti,t.IgcColorEditorPanelClosedEventArgs=fi,t.IgcColorEditorPanelComponent=Ve,t.IgcColorEditorPanelModule=Ze,t.IgcColorEditorPanelSelectedValueChangedEventArgs=$e,t.IgcGotFocusEventArgs=Dt,t.IgcInputChangeEventArgs=mt,t.IgcLostFocusEventArgs=Et,t.IgcMultiSliderComponent=Je,t.IgcMultiSliderModule=Qe,t.IgcMultiSliderResolvingToolTipValueEventArgs=Xe,t.IgcMultiSliderThumb=Me,t.IgcMultiSliderThumbCollection=Le,t.IgcMultiSliderThumbValueChangingEventArgs=Ye,t.IgcMultiSliderTrackThumbRange=He,t.IgcMultiSliderYValueChangingEventArgs=Ke,t.IgcSelectedValueChangedEventArgs=A,t.IgcXButtonComponent=g,t.IgcXButtonGroupButtonCollection=ri,t.IgcXButtonGroupComponent=si,t.IgcXButtonGroupModule=ai,t.IgcXButtonModule=m,t.IgcXCalendarComponent=R,t.IgcXCalendarLocaleEnModule=q,t.IgcXCalendarModule=D,t.IgcXCheckboxComponent=ii,t.IgcXCheckboxModule=ni,t.IgcXDatePickerComponent=qt,t.IgcXDatePickerModule=$t,t.IgcXIconComponent=x,t.IgcXIconModule=k,t.IgcXInputComponent=Bt,t.IgcXInputGroupComponent=Pt,t.IgcXInputGroupInputCollection=Tt,t.IgcXInputGroupItemComponent=gt,t.IgcXInputGroupModule=St,t.IgcXInputModule=xt,t.IgcXLabelComponent=kt,t.IgcXLabelModule=wt,t.IgcXPrefixComponent=hi,t.IgcXPrefixModule=li,t.IgcXRippleComponent=s,t.IgcXRippleModule=a,t.IgcXSuffixComponent=ui,t.InputChangeEventArgs=nt,t.InputGroupDisplayType=K,t.InputGroupDisplayType_$type=J,t.InputGroupView=ot,t.InputGroupVisualModelExport=Q,t.InputShiftType=M,t.InputShiftType_$type=L,t.InputView=lt,t.InputVisualModelExport=tt,t.KEYCODES_$type=pi,t.LabelShiftType=V,t.LabelShiftType_$type=H,t.LabelView=ht,t.LabelVisualModelExport=Z,t.LostFocusEventArgs=Nt,t.MaskOptions=rt,t.MaskParsingService=it,t.MultiSlider=ue,t.MultiSliderBridge=ce,t.MultiSliderCursor_$type=di,t.MultiSliderHitInfo=ne,t.MultiSliderOrientation=re,t.MultiSliderOrientation_$type=oe,t.MultiSliderResolvingToolTipValueEventArgs=se,t.MultiSliderThumb=Qt,t.MultiSliderThumbCollection=ie,t.MultiSliderThumbRangePosition=Kt,t.MultiSliderThumbRangePosition_$type=Jt,t.MultiSliderThumbValueChangingEventArgs=ae,t.MultiSliderTrackShadeOrientation_$type=gi,t.MultiSliderTrackThumbRange=Zt,t.MultiSliderView=le,t.MultiSliderVisualArea_$type=vi,t.MultiSliderYValueChangingEventArgs=he,t.NativeUIXInputsFactory=Fe,t.PrefixShiftType=W,t.PrefixShiftType_$type=z,t.PrefixView=at,t.PrefixVisualModelExport=Y,t.Replaced=et,t.RippleView=r,t.RippleVisualModelExport=n,t.SelectedValueChangedEventArgs=j,t.SuffixShiftType=$,t.SuffixShiftType_$type=G,t.SuffixView=st,t.SuffixVisualModelExport=X,t.TextBlockVisualModelExport=Bi,t.TextElementsVisualModelExport=U,t.Theme=u,t.ThemeResolver=c,t.XButton=b,t.XButtonBridge=zt,t.XButtonGroup=ve,t.XButtonGroupBridge=_e,t.XButtonGroupButtonCollection=be,t.XCalendar=F,t.XCalendarLocaleEn=E,t.XCheckbox=we,t.XCheckboxBridge=Te,t.XComponentBridge=Gt,t.XDatePicker=Rt,t.XIcon=B,t.XIconBridge=Pe,t.XIconButtonBridge=ci,t.XInput=yt,t.XInputBridge=Wt,t.XInputGroup=dt,t.XInputGroupInputCollection=ft,t.XInputGroupItem=ut,t.XLabel=bt,t.XPopupBridge=Se,t.XPrefix=pt,t.XRipple=o,t.XSuffix=ct,Object.defineProperty(t,"__esModule",{value:!0})}));