igniteui-webcomponents-inputs 5.0.2 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.h(40,0,0,0),o.av=i.BrushUtil.h(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.b=null,e.k=null,e.d=null,e.h=new i.List$1(i.Delegate_$type,0),e.e=!0,e.n=null,e.j=NaN,e.i=NaN,e.l=null,e.c=null,e.m=null,e.p=null,e.o=null,e}return e.__extends(n,t),n.prototype.ao=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,"s",{get:function(){return this.m},enumerable:!1,configurable:!0}),n.prototype.ai=function(t){var n,r,s=this;if(null!=t){this.k=t,this.k.rootWrapper.setStyleProperty("display","flex"),this.k.rootWrapper.setStyleProperty("flex-direction","row"),this.k.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.k.rootWrapper.setStyleProperty("align-items","center");var a=this.k.createElement("button");this.n=a,this.n.setStyleProperty("position","relative"),this.n.setStyleProperty("display","inline-flex"),this.n.setStyleProperty("align-items","center"),this.n.setStyleProperty("justify-content","center"),this.ay(),this.n.setStyleProperty("border","none"),this.n.setStyleProperty("cursor","pointer"),this.n.setStyleProperty("user-select","none"),this.n.setStyleProperty("outline-style","none"),this.n.setStyleProperty("-webkit-tap-highlight-color","transparent"),this.n.setStyleProperty("overflow","hidden"),this.n.setStyleProperty("white-space","no-wrap"),this.n.setStyleProperty("color","#000"),this.n.setStyleProperty("background",this.b.nf._fill),i.NativeUI.o(this.n,this.b.kr),this.n.setAttribute("id",this.b.hu),this.av(),this.h.add(a.listen("change",i.runOn(this,this.x))),this.h.add(a.listen("click",i.runOn(this,this.y))),this.h.add(a.listen("focus",i.runOn(this,this.z))),this.h.add(a.listen("blur",i.runOn(this,this.w))),this.h.add(this.k.rootWrapper.listen("mouseenter",i.runOn(this,this.u))),this.h.add(this.k.rootWrapper.listen("mouseleave",i.runOn(this,this.v))),this.h.add(this.k.rootWrapper.listen("focusin",i.runOn(this,this.aa))),this.h.add(this.k.rootWrapper.listen("focusout",i.runOn(this,this.ab))),this.k.append(a);var h=this.k.createElement("div"),u=this.k.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.k.getExternal(l,this.k.rootWrapper,this.k.getExternal(this.b,null,null));l.h=!1,l.k=!0,this.c=l,this.n.append(h);var c=this.k.createElement("div");c.addClass("ig-button-content"),c.setStyleProperty("font-family","Verdana"),c.setStyleProperty("font-weight","400"),c.setStyleProperty("font-size",".875rem"),this.m=c,this.h.add(c.listen("click",i.runOn(this,this.t))),this.n.append(c),this.o=c,this.k.getPortal(c,"ChildContent",(function(t){var e=t.componentRef;s.p=e,s.o.setStyleProperty("flex-direction",s.b.g0),s.o.setStyleProperty("align-items",s.b.e7);var i=s.b.g0,n=null!=s.b.ff?s.b.ff:s.b.fw,r=s.b.e7;e.display=n,e.flexDirection=i,e.alignItems=r}),!0),this.b.ke()}else{try{for(var p=e.__values(i.fromEnum(this.h)),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.h.clear()}},n.prototype.ak=function(){this.c.i=this.b.ap},n.prototype.ay=function(){var t="3.5rem",e="3.5rem",n="3.5rem",r="3.5rem",o="2.25rem",s=".9375rem",a=".5625rem 1rem";switch(this.b.q){case 2:a=".375rem .75rem",o="1.875rem",t="3rem",e="3rem",n="3rem",r="3rem",s=".6875rem";break;case 3:a=".1875rem 1rem",o="1.5rem",e="2.5rem",t="2.5rem",r="2.5rem",n="2.5rem",s=".4375rem"}i.isNaN_(this.b.bi)||i.isNaN_(this.b.bk)||i.isNaN_(this.b.bj)||i.isNaN_(this.b.bh)||(a=this.b.bk+"px "+this.b.bj+"px "+this.b.bh+"px "+this.b.bi+"px"),4==this.b.e?(this.n.setStyleProperty("min-width","2.25rem"),this.n.setStyleProperty("min-height","2.25rem"),this.n.setStyleProperty("padding","0px"),this.n.setStyleProperty("width","2.25rem"),this.n.setStyleProperty("height","2.25rem")):3==this.b.e?(this.n.setStyleProperty("min-width",t),this.n.setStyleProperty("min-height",e),this.n.setStyleProperty("padding",s),this.n.setStyleProperty("width",n),this.n.setStyleProperty("height",r)):(this.n.setStyleProperty("width","auto"),this.n.setStyleProperty("height","auto"),this.n.setStyleProperty("min-width","5.5rem"),this.n.setStyleProperty("min-height",o),this.n.setStyleProperty("padding",a)),this.k.rootWrapper.setStyleProperty("height","auto"),!i.isNaN_(this.b.bf)&&this.b.bf>0?this.n.setStyleProperty("border-style","solid"):this.n.setStyleProperty("border-style","none"),i.isNaN_(this.j)||this.n.setStyleProperty("min-width",this.j.toString()+"px"),i.isNaN_(this.i)||this.n.setStyleProperty("min-height",this.i.toString()+"px"),this.b.av&&(this.n.setStyleProperty("width","100%"),this.n.setStyleProperty("height","100%"),this.k.rootWrapper.setStyleProperty("height","100%"))},n.prototype.as=function(){switch(this.b.k5){case 1:this.n.setStyleProperty("justify-content","center"),this.o.setStyleProperty("flex-grow","unset");break;case 3:this.n.setStyleProperty("justify-content","stretch"),this.o.setStyleProperty("flex-grow","1");break;case 0:this.n.setStyleProperty("justify-content","left"),this.o.setStyleProperty("flex-grow","unset");break;case 2:this.n.setStyleProperty("justify-content","right"),this.o.setStyleProperty("flex-grow","unset")}},n.prototype.au=function(t){this.j=t},n.prototype.at=function(t){this.i=t},n.prototype.aq=function(){this.n.setAttribute("disabled",this.b.disabled?"true":"false"),this.n.setProperty("disabled",this.b.disabled)},n.prototype.al=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("display",this.b.fw);var t=this.p;if(null!=this.p){this.o.setStyleProperty("display",this.b.fw);var e=null!=this.b.ff?this.b.fw:this.b.ff;t.display=e}var i=this.k.getExternal(this.b,null,null);i&&i._onDisplayChanged&&i._onDisplayChanged()}},n.prototype.ah=function(){if(null!=this.k){var t=this.p;if(null!=this.p){var e=null!=this.b.ff?this.b.ff:this.b.fw;t.display=e}}},n.prototype.af=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("align-items",this.b.e7),this.n.setStyleProperty("align-items",this.b.e7);var t=this.p;if(null!=this.p){this.o.setStyleProperty("align-items",this.b.e7);var e=this.b.e7;t.alignItems=e}var i=this.k.getExternal(this.b,null,null);i&&i._onAlignItemsChanged&&i._onAlignItemsChanged()}},n.prototype.am=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-direction",this.b.g0),this.n.setStyleProperty("flex-direction",this.b.g0);var t=this.k.getExternal(this.b,null,null),e=this.p;if(null!=this.p){this.o.setStyleProperty("flex-direction",this.b.g0);var i=this.b.g0;e.flexDirection=i}t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.an=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-grow",this.b.g2),this.n.setStyleProperty("flex-grow",this.b.g2);var t=this.k.getExternal(this.b,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.t=function(t){},n.prototype.av=function(){if(this.g()){this.b.hu;this.n.setAttribute("name",this.b.h2),this.n.setProperty("value",this.b.ea),this.b.aw&&this.n.setAttribute("tabindex",this.b.d3.toString()),this.n.setProperty("disabled",this.b.disabled),this.n.setAttribute("aria-label",this.b.e9),this.n.setStyleProperty("cursor",this.b.as?"unset":"pointer")}},n.prototype.ap=function(){if(this.g()){var t=this.b.hu;this.n.setAttribute("id",t)}},n.prototype.u=function(t){this.b.kb()},n.prototype.v=function(t){this.b.kc()},n.prototype.w=function(t){this.b.j5()},n.prototype.z=function(t){this.b.j8()},n.prototype.y=function(t){this.b.aq||t.preventDefault(),this.b.j6()},n.prototype.aa=function(t){this.b.j9()},n.prototype.ab=function(t){this.b.ka(t.originalEvent.relatedTarget)},n.prototype.f=function(){return!1},n.prototype.x=function(t){},n.prototype.ae=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.ag=function(){this.e=!0,this.h.add(this.n.listen("change",i.runOn(this,this.x))),this.h.add(this.n.listen("click",i.runOn(this,this.y))),this.h.add(this.n.listen("focus",i.runOn(this,this.z))),this.h.add(this.n.listen("blur",i.runOn(this,this.w))),this.h.add(this.m.listen("click",i.runOn(this,this.t))),this.h.add(this.n.listen("mouseenter",i.runOn(this,this.u))),this.h.add(this.n.listen("mouseleave",i.runOn(this,this.v))),this.h.add(this.n.listen("focusin",i.runOn(this,this.aa))),this.h.add(this.n.listen("focusout",i.runOn(this,this.ab)))},n.prototype.aj=function(){var t,n;this.e=!1;try{for(var r=e.__values(i.fromEnum(this.h)),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.h.clear()},n.prototype.ar=function(){var t=this.b;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.aw=function(t,e){this.c.ax=t,this.c.aw=e},n.prototype.ax=function(t,e){var i=h.e(t,this.b.nr,this.b.no,this.b.ne,e);this.n.setStyleProperty("box-shadow",i)},n.prototype.az=function(t){null!=t&&this.m.setStyleProperty("font",t.fontString)},n.prototype.ac=function(t){this.m.append(t)},n.prototype.ad=function(){this.m.removeChildren()},n.prototype.r=function(){return this.m.getChildCount()>0?this.m.getChildAt(0):null},n.prototype.a=function(){var t=this.k.rootWrapper.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,"ButtonView"),n}(i.Base),b=function(t){function n(){var e=t.call(this)||this;e._view=null,e.d9=null,e.pf=n.k.ae(n.m,"UmbraShadowColor"),e.o3=n.k.ae(n.m,"PenumbraShadowColor"),e.nu=n.k.ae(n.m,"AmbientShadowColor"),e.v=n.k.d(n.m,"ElevationMode"),e.o6=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledBackgroundColor"),e.o7=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledBorderColor"),e.o8=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledTextColor"),e.da=n.k.n(n.m,i.enumGetBox(u,0),"DisabledElevation"),e.dd=n.k.n(n.m,i.enumGetBox(u,0),"RestingElevation"),e.dc=n.k.n(n.m,i.enumGetBox(u,0),"HoverElevation"),e.db=n.k.n(n.m,i.enumGetBox(u,0),"FocusElevation"),e.o5=n.k.ad(n.m,i.enumGetBox(u,0),"BorderColor"),e.pd=n.k.ad(n.m,i.enumGetBox(u,0),"RippleColor"),e.ky=n.k.y(n.m,i.enumGetBox(u,0),"CornerRadius"),e.bp=n.k.i(n.m,i.enumGetBox(u,0),"BorderWidth"),e.o4=n.k.ad(n.m,i.enumGetBox(u,0),"BackgroundColor"),e.pe=n.k.ad(n.m,i.enumGetBox(u,0),"TextColor"),e.pc=n.k.ad(n.m,i.enumGetBox(u,0),"HoverTextColor"),e.pb=n.k.ad(n.m,i.enumGetBox(u,0),"HoverBackgroundColor"),e.o9=n.k.ad(n.m,i.enumGetBox(u,0),"FocusBackgroundColor"),e.pa=n.k.ad(n.m,i.enumGetBox(u,0),"FocusTextColor"),e.n8=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledBackgroundColor"),e.n9=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledBorderColor"),e.oa=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledTextColor"),e.cy=n.k.n(n.m,i.enumGetBox(u,1),"DisabledElevation"),e.c1=n.k.n(n.m,i.enumGetBox(u,1),"RestingElevation"),e.c0=n.k.n(n.m,i.enumGetBox(u,1),"HoverElevation"),e.cz=n.k.n(n.m,i.enumGetBox(u,1),"FocusElevation"),e.n7=n.k.ad(n.m,i.enumGetBox(u,1),"BorderColor"),e.of=n.k.ad(n.m,i.enumGetBox(u,1),"RippleColor"),e.kv=n.k.y(n.m,i.enumGetBox(u,1),"CornerRadius"),e.bm=n.k.i(n.m,i.enumGetBox(u,1),"BorderWidth"),e.n6=n.k.ad(n.m,i.enumGetBox(u,1),"BackgroundColor"),e.og=n.k.ad(n.m,i.enumGetBox(u,1),"TextColor"),e.oe=n.k.ad(n.m,i.enumGetBox(u,1),"HoverTextColor"),e.od=n.k.ad(n.m,i.enumGetBox(u,1),"HoverBackgroundColor"),e.ob=n.k.ad(n.m,i.enumGetBox(u,1),"FocusBackgroundColor"),e.oc=n.k.ad(n.m,i.enumGetBox(u,1),"FocusTextColor"),e.ou=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledBackgroundColor"),e.ov=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledBorderColor"),e.ow=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledTextColor"),e.c6=n.k.n(n.m,i.enumGetBox(u,2),"DisabledElevation"),e.c9=n.k.n(n.m,i.enumGetBox(u,2),"RestingElevation"),e.c8=n.k.n(n.m,i.enumGetBox(u,2),"HoverElevation"),e.c7=n.k.n(n.m,i.enumGetBox(u,2),"FocusElevation"),e.ot=n.k.ad(n.m,i.enumGetBox(u,2),"BorderColor"),e.o1=n.k.ad(n.m,i.enumGetBox(u,2),"RippleColor"),e.kx=n.k.y(n.m,i.enumGetBox(u,2),"CornerRadius"),e.bo=n.k.i(n.m,i.enumGetBox(u,2),"BorderWidth"),e.os=n.k.ad(n.m,i.enumGetBox(u,2),"BackgroundColor"),e.o2=n.k.ad(n.m,i.enumGetBox(u,2),"TextColor"),e.o0=n.k.ad(n.m,i.enumGetBox(u,2),"HoverTextColor"),e.oz=n.k.ad(n.m,i.enumGetBox(u,2),"HoverBackgroundColor"),e.ox=n.k.ad(n.m,i.enumGetBox(u,2),"FocusBackgroundColor"),e.oy=n.k.ad(n.m,i.enumGetBox(u,2),"FocusTextColor"),e.oj=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledBackgroundColor"),e.ok=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledBorderColor"),e.ol=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledTextColor"),e.c2=n.k.n(n.m,i.enumGetBox(u,4),"DisabledElevation"),e.c5=n.k.n(n.m,i.enumGetBox(u,4),"RestingElevation"),e.c4=n.k.n(n.m,i.enumGetBox(u,4),"HoverElevation"),e.c3=n.k.n(n.m,i.enumGetBox(u,4),"FocusElevation"),e.oi=n.k.ad(n.m,i.enumGetBox(u,4),"BorderColor"),e.oq=n.k.ad(n.m,i.enumGetBox(u,4),"RippleColor"),e.kw=n.k.y(n.m,i.enumGetBox(u,4),"CornerRadius"),e.bn=n.k.i(n.m,i.enumGetBox(u,4),"BorderWidth"),e.oh=n.k.ad(n.m,i.enumGetBox(u,4),"BackgroundColor"),e.or=n.k.ad(n.m,i.enumGetBox(u,4),"TextColor"),e.op=n.k.ad(n.m,i.enumGetBox(u,4),"HoverTextColor"),e.oo=n.k.ad(n.m,i.enumGetBox(u,4),"HoverBackgroundColor"),e.om=n.k.ad(n.m,i.enumGetBox(u,4),"FocusBackgroundColor"),e.on=n.k.ad(n.m,i.enumGetBox(u,4),"FocusTextColor"),e.nx=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledBackgroundColor"),e.ny=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledBorderColor"),e.nz=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledTextColor"),e.cu=n.k.n(n.m,i.enumGetBox(u,3),"DisabledElevation"),e.cx=n.k.n(n.m,i.enumGetBox(u,3),"RestingElevation"),e.cw=n.k.n(n.m,i.enumGetBox(u,3),"HoverElevation"),e.cv=n.k.n(n.m,i.enumGetBox(u,3),"FocusElevation"),e.nw=n.k.ad(n.m,i.enumGetBox(u,3),"BorderColor"),e.n4=n.k.ad(n.m,i.enumGetBox(u,3),"RippleColor"),e.ku=n.k.y(n.m,i.enumGetBox(u,3),"CornerRadius"),e.bl=n.k.i(n.m,i.enumGetBox(u,3),"BorderWidth"),e.nv=n.k.ad(n.m,i.enumGetBox(u,3),"BackgroundColor"),e.n5=n.k.ad(n.m,i.enumGetBox(u,3),"TextColor"),e.n3=n.k.ad(n.m,i.enumGetBox(u,3),"HoverTextColor"),e.n2=n.k.ad(n.m,i.enumGetBox(u,3),"HoverBackgroundColor"),e.n0=n.k.ad(n.m,i.enumGetBox(u,3),"FocusBackgroundColor"),e.n1=n.k.ad(n.m,i.enumGetBox(u,3),"FocusTextColor"),e.bc=NaN,e.bb=NaN,e.d=0,e.p=0,e.l=0,e.o=1,e.k8=c.af(n.m,n.k,i.enumGetBox(u,0),"BorderColor"),e.lj=c.ag(n.m,n.k,"UmbraShadowColor"),e.lg=c.ag(n.m,n.k,"PenumbraShadowColor"),e.k6=c.ag(n.m,n.k,"AmbientShadowColor"),e.b0=c.p(n.m,n.k,i.enumGetBox(u,0),"RestingElevation"),e.by=c.p(n.m,n.k,i.enumGetBox(u,0),"FocusElevation"),e.bz=c.p(n.m,n.k,i.enumGetBox(u,0),"HoverElevation"),e.lh=c.af(n.m,n.k,i.enumGetBox(u,0),"RippleColor"),e.kk=c.aa(n.m,n.k,i.enumGetBox(u,0),"CornerRadius"),e.k7=c.af(n.m,n.k,i.enumGetBox(u,0),"BackgroundColor"),e.k9=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledBackgroundColor"),e.la=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledBorderColor"),e.lb=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledTextColor"),e.bx=c.p(n.m,n.k,i.enumGetBox(u,0),"DisabledElevation"),e.s=c.f(n.m,n.k,"ElevationMode"),e.li=c.af(n.m,n.k,i.enumGetBox(u,0),"TextColor"),e.lf=c.af(n.m,n.k,i.enumGetBox(u,0),"HoverTextColor"),e.lc=c.af(n.m,n.k,i.enumGetBox(u,0),"FocusBackgroundColor"),e.ld=c.af(n.m,n.k,i.enumGetBox(u,0),"FocusTextColor"),e.le=c.af(n.m,n.k,i.enumGetBox(u,0),"HoverBackgroundColor"),e.a2=c.k(n.m,n.k,i.enumGetBox(u,0),"BorderWidth"),e.m1=null,e.m3=null,e.m4=null,e.m5=null,e.ck=-1,e.m8=null,e.m2=null,e.cn=-1,e.cm=-1,e.cl=-1,e.be=NaN,e.kq=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.na=null,e.lz=null,e.l1=null,e.l2=null,e.l3=null,e.b6=-1,e.l6=null,e.l0=null,e.b9=-1,e.b8=-1,e.b7=-1,e.l8=null,e.l9=null,e.l7=null,e.l4=null,e.l5=null,e.a9=NaN,e.kn=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.lk=null,e.lm=null,e.ln=null,e.lo=null,e.b1=-1,e.t=0,e.mc=null,e.ll=null,e.co=-1,e.cb=-1,e.ca=-1,e.z=null,e.nd=null,e.me=null,e.nc=null,e.nb=null,e.m9=null,e.m6=null,e.m7=null,e.ma=null,e.mb=null,e.a3=NaN,e.kl=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mq=null,e.ms=null,e.mt=null,e.mu=null,e.cg=-1,e.mx=null,e.mr=null,e.cj=-1,e.ci=-1,e.ch=-1,e.bd=NaN,e.kp=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mz=null,e.m0=null,e.my=null,e.mv=null,e.mw=null,e.lp=null,e.lr=null,e.ls=null,e.lt=null,e.b2=-1,e.md=null,e.lq=null,e.b5=-1,e.b4=-1,e.b3=-1,e.a8=NaN,e.km=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.lx=null,e.ly=null,e.lw=null,e.lu=null,e.lv=null,e.mf=null,e.mh=null,e.mi=null,e.mj=null,e.cc=-1,e.mm=null,e.mg=null,e.cf=-1,e.ce=-1,e.cd=-1,e.ba=NaN,e.ko=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mo=null,e.mp=null,e.mn=null,e.mk=null,e.ml=null,e.ei="ig-native-button-"+n.d5++,e.eh="ig-button-"+n.d4++,e.ee="inline-block",e.ed=null,e.ef="inline-block",e.eg=null,e.eb="center",e.d6=null,e.ej=null,e.cp=0,e.ak=!1,e.ec=null,e.aj=!1,e.am=!1,e.an=!0,e.ah=!1,e.ad=!1,e.af=!1,e.ao=!1,e.al=!1,e.ai=!1,e.ag=!1,e.a5=NaN,e.a7=NaN,e.a6=NaN,e.a4=NaN,e.k4=1,e.q8=1,e.ae=!0,e.propertyChanged=null,e.clicked=null,e.mouseEnter=null,e.mouseLeave=null,e.gotFocus=null,e.lostFocus=null;var r=new f;return r.b=e,e.view=r,e.view.ao(),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.kd=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.kf(t,e,n)},n.prototype.kf=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.ki();break;case"BaseTheme":this.kj(0==this.n?2:this.n),this.ki();break;case"IsDisabled":this.ap=this.disabled||this.at,this.ki(),this.view.aq();break;case"DisableRipple":this.ap=this.disabled||this.at,this.ki();break;case"TextStyle":case"DisableHover":this.kh();break;case"ActualDisableRipple":this.view.ak();break;case"ActualBackgroundColor":case"ActualDisabledBackgroundColor":case"ActualDisabledBorderColor":case"ActualDisabledTextColor":case"ActualDisabledElevation":case"ActualHoverBackgroundColor":case"ActualBorderColor":case"ActualFocusTextColor":case"ActualHoverTextColor":case"ActualElevationMode":this.kh();break;case"Density":this.q=0==this.r?1:this.r;break;case"ActualDensity":case"ActualBorderWidth":case"ActualCornerRadius":this.view.ay(),this.kh();break;case"DisplayType":this.view.ay(),this.ki(),this.kh();break;case"ContentPaddingLeft":case"ContentPaddingTop":case"ContentPaddingRight":case"ContentPaddingBottom":case"FillAvailableSpace":this.view.ay();break;case"HorizontalContentAlignment":case"VerticalContentAlignment":this.view.as();break;case"InputId":this.view.ap();break;case"Display":this.view.al();break;case"ChildContentDisplay":this.view.ah();break;case"FlexDirection":this.view.am();break;case"FlexGrow":this.view.an();break;case"AlignItems":this.view.af();break;case"TabIndex":case"DisablePointer":this.view.av();break;case"MinWidth":this.view.au(this.bu),this.view.ay();break;case"MinHeight":this.view.at(this.bt),this.view.ay()}},n.prototype.ks=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.b)?e.b:t.b,i.isNaN_(t.a)?e.a:t.a)},n.prototype.ki=function(){switch(this.u=0!=this.w?this.w:this.v,this.nr=this.pf,this.no=this.o3,this.ne=this.nu,this.e){case 0:this.nh=null!=this.pg?this.pg:null!=this.qx?this.qx:this.o6,this.ni=null!=this.ph?this.ph:null!=this.qy?this.qy:this.o7,this.nj=null!=this.pi?this.pi:null!=this.qz?this.qz:this.o8,this.cq=this.de>=0?this.de:this.dy>=0?this.dy:this.da,this.ct=this.d2>=0?this.d2:this.d1>=0?this.d1:this.dd,this.cs=this.dp>=0?this.dp:this.d0>=0?this.d0:this.dc,this.cr=this.dn>=0?this.dn:this.dz>=0?this.dz:this.db,this.ng=null!=this.nt?this.nt:null!=this.qw?this.qw:this.o5,this.nf=null!=this.ns?this.ns:null!=this.qv?this.qv:this.o4,this.nm=null!=this.p7?this.p7:null!=this.q2?this.q2:this.pb,this.kr=this.ks(this.kt,this.ks(this.k3,this.ky)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bw)?this.bp:this.bw:this.bg,this.np=null!=this.q6?this.q6:null!=this.q4?this.q4:this.pd,this.nk=null!=this.p5?this.p5:null!=this.q0?this.q0:this.o9,this.nl=null!=this.p6?this.p6:null!=this.q1?this.q1:this.pa,this.nq=null!=this.q7?this.q7:null!=this.q5?this.q5:this.pe,this.nn=null!=this.p8?this.p8:null!=this.q3?this.q3:this.pc;break;case 2:this.nh=null!=this.pg?this.pg:null!=this.qm?this.qm:this.ou,this.ni=null!=this.ph?this.ph:null!=this.qn?this.qn:this.ov,this.nj=null!=this.pi?this.pi:null!=this.qo?this.qo:this.ow,this.cq=this.de>=0?this.de:this.du>=0?this.du:this.c6,this.ct=this.d2>=0?this.d2:this.dx>=0?this.dx:this.c9,this.cs=this.dp>=0?this.dp:this.dw>=0?this.dw:this.c8,this.cr=this.dn>=0?this.dn:this.dv>=0?this.dv:this.c7,this.ng=null!=this.nt?this.nt:null!=this.ql?this.ql:this.ot,this.nf=null!=this.p7?this.p7:null!=this.ns?this.ns:null!=this.qk?this.qk:this.os,this.nm=null!=this.qr?this.qr:this.oz,this.kr=this.ks(this.kt,this.ks(this.k2,this.kx)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bv)?this.bo:this.bv:this.bg,this.np=null!=this.q6?this.q6:null!=this.qt?this.qt:this.o1,this.nk=null!=this.p5?this.p5:null!=this.qp?this.qp:this.ox,this.nl=null!=this.p6?this.p6:null!=this.qq?this.qq:this.oy,this.nq=null!=this.q7?this.q7:null!=this.qu?this.qu:this.o2,this.nn=null!=this.p8?this.p8:null!=this.qs?this.qs:this.o0;break;case 1:this.nh=null!=this.pg?this.pg:null!=this.pw?this.pw:this.n8,this.ni=null!=this.ph?this.ph:null!=this.px?this.px:this.n9,this.nj=null!=this.pi?this.pi:null!=this.py?this.py:this.oa,this.cq=this.de>=0?this.de:this.dj>=0?this.dj:this.cy,this.ct=this.d2>=0?this.d2:this.dm>=0?this.dm:this.c1,this.cs=this.dp>=0?this.dp:this.dl>=0?this.dl:this.c0,this.cr=this.dn>=0?this.dn:this.dk>=0?this.dk:this.cz,this.ng=null!=this.nt?this.nt:null!=this.pv?this.pv:this.n7,this.nf=null!=this.ns?this.ns:null!=this.pu?this.pu:this.n6,this.nm=null!=this.p7?this.p7:null!=this.p1?this.p1:this.od,this.kr=this.ks(this.kt,this.ks(this.k0,this.kv)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.br)?this.bm:this.br:this.bg,this.np=null!=this.q6?this.q6:null!=this.p3?this.p3:this.of,this.nk=null!=this.p5?this.p5:null!=this.pz?this.pz:this.ob,this.nl=null!=this.p6?this.p6:null!=this.p0?this.p0:this.oc,this.nq=null!=this.q7?this.q7:null!=this.p4?this.p4:this.og,this.nn=null!=this.p8?this.p8:null!=this.p2?this.p2:this.oe;break;case 4:this.nh=null!=this.pg?this.pg:null!=this.qb?this.qb:this.oj,this.ni=null!=this.ph?this.ph:null!=this.qc?this.qc:this.ok,this.nj=null!=this.pi?this.pi:null!=this.qd?this.qd:this.ol,this.cq=this.de>=0?this.de:this.dq>=0?this.dq:this.c2,this.ct=this.d2>=0?this.d2:this.dt>=0?this.dt:this.c5,this.cs=this.dp>=0?this.dp:this.ds>=0?this.ds:this.c4,this.cr=this.dn>=0?this.dn:this.dr>=0?this.dr:this.c3,this.ng=null!=this.nt?this.nt:null!=this.qa?this.qa:this.oi,this.nf=null!=this.ns?this.ns:null!=this.p9?this.p9:this.oh,this.nm=null!=this.p7?this.p7:null!=this.qg?this.qg:this.oo,this.kr=this.ks(this.kt,this.ks(this.k1,this.kw)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bs)?this.bn:this.bs:this.bg,this.np=null!=this.q6?this.q6:null!=this.qi?this.qi:this.oq,this.nk=null!=this.p5?this.p5:null!=this.qe?this.qe:this.om,this.nl=null!=this.p6?this.p6:null!=this.qf?this.qf:this.on,this.nq=null!=this.q7?this.q7:null!=this.qj?this.qj:this.or,this.nn=null!=this.p8?this.p8:null!=this.qh?this.qh:this.op;break;case 3:this.nh=null!=this.pg?this.pg:null!=this.pl?this.pl:this.nx,this.ni=null!=this.ph?this.ph:null!=this.pm?this.pm:this.ny,this.nj=null!=this.pi?this.pi:null!=this.pn?this.pn:this.nz,this.cq=this.de>=0?this.de:this.df>=0?this.df:this.cu,this.ct=this.d2>=0?this.d2:this.di>=0?this.di:this.cx,this.cs=this.dp>=0?this.dp:this.dh>=0?this.dh:this.cw,this.cr=this.dn>=0?this.dn:this.dg>=0?this.dg:this.cv,this.ng=null!=this.nt?this.nt:null!=this.pk?this.pk:this.nw,this.nf=null!=this.ns?this.ns:null!=this.pj?this.pj:this.nv,this.nm=null!=this.p7?this.p7:null!=this.pq?this.pq:this.n2,this.kr=this.ks(this.kt,this.ks(this.kz,this.ku)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bq)?this.bl:this.bq:this.bg,this.np=null!=this.q6?this.q6:null!=this.ps?this.ps:this.pd,this.nk=null!=this.p5?this.p5:null!=this.po?this.po:this.n0,this.nl=null!=this.p6?this.p6:null!=this.pp?this.pp:this.n1,this.nq=null!=this.q7?this.q7:null!=this.pt?this.pt:this.n5,this.nn=null!=this.p8?this.p8:null!=this.pr?this.pr:this.n3}},n.prototype.j6=function(){this.disabled||null!=this.clicked&&this.clicked(this,new p)},n.prototype.j5=function(){this.focused=!1,this.kh()},n.prototype.j8=function(){this.focused=!0,this.kh()},n.prototype.kc=function(){this.a0=!1,this.kh(),null!=this.mouseLeave&&this.mouseLeave(this,new i.MouseEventArgs)},n.prototype.kb=function(){this.a0=!0,this.kh(),null!=this.mouseEnter&&this.mouseEnter(this,new i.MouseEventArgs)},n.prototype.j9=function(){null!=this.gotFocus&&this.gotFocus(this,new i.FocusEventArgs)},n.prototype.ka=function(t){var e;null!=this.lostFocus&&this.lostFocus(this,((e=new i.FocusEventArgs).a=t,e))},n.prototype.kh=function(){var t=this.view.q;null!=t&&(i.NativeUI.o(t,this.kr),i.NativeUI.n(t,this.ng),i.isNaN_(this.bf)||i.NativeUI.p(t,new i.Thickness(0,this.bf)),this.disabled?this.view.ax(this.cq,this.u):this.focused&&this.az?this.view.ax(this.cr,this.u):this.a0&&!this.ar?this.view.ax(this.cs,this.u):this.view.ax(this.ct,this.u),this.disabled?i.NativeUI.m(t,this.nh):this.focused&&this.az?i.NativeUI.m(t,this.nk):this.a0&&!this.ar?i.NativeUI.m(t,this.nm):i.NativeUI.m(t,this.nf),this.view.aw(this.np,i.BrushUtil.h(0,0,0,0)),null!=this.aa&&this.view.az(this.aa),this.disabled?(i.NativeUI.q(this.view.s,this.nj),i.NativeUI.r(this.view.s,this.nj)):this.focused&&this.az?(i.NativeUI.q(this.view.s,this.nl),i.NativeUI.r(this.view.s,this.nl)):this.a0&&!this.ar?(i.NativeUI.q(this.view.s,this.nn),i.NativeUI.r(this.view.s,this.nn)):(i.NativeUI.q(this.view.s,this.nq),i.NativeUI.r(this.view.s,this.nq)))},n.prototype.kj=function(t){this.pf=n.k.ae(t,"UmbraShadowColor"),this.o3=n.k.ae(t,"PenumbraShadowColor"),this.nu=n.k.ae(t,"AmbientShadowColor"),this.v=n.k.d(t,"ElevationMode"),this.o6=n.k.ad(t,i.enumGetBox(u,0),"DisabledBackgroundColor"),this.o7=n.k.ad(t,i.enumGetBox(u,0),"DisabledBorderColor"),this.o8=n.k.ad(t,i.enumGetBox(u,0),"DisabledTextColor"),this.da=n.k.n(t,i.enumGetBox(u,0),"DisabledElevation"),this.dd=n.k.n(t,i.enumGetBox(u,0),"RestingElevation"),this.dc=n.k.n(t,i.enumGetBox(u,0),"HoverElevation"),this.db=n.k.n(t,i.enumGetBox(u,0),"FocusElevation"),this.o5=n.k.ad(t,i.enumGetBox(u,0),"BorderColor"),this.pd=n.k.ad(t,i.enumGetBox(u,0),"RippleColor"),this.ky=n.k.y(t,i.enumGetBox(u,0),"CornerRadius"),this.bp=n.k.i(t,i.enumGetBox(u,0),"BorderWidth"),this.o4=n.k.ad(t,i.enumGetBox(u,0),"BackgroundColor"),this.pe=n.k.ad(t,i.enumGetBox(u,0),"TextColor"),this.pc=n.k.ad(t,i.enumGetBox(u,0),"HoverTextColor"),this.pb=n.k.ad(t,i.enumGetBox(u,0),"HoverBackgroundColor"),this.o9=n.k.ad(t,i.enumGetBox(u,0),"FocusBackgroundColor"),this.pa=n.k.ad(t,i.enumGetBox(u,0),"FocusTextColor"),this.n8=n.k.ad(t,i.enumGetBox(u,1),"DisabledBackgroundColor"),this.n9=n.k.ad(t,i.enumGetBox(u,1),"DisabledBorderColor"),this.oa=n.k.ad(t,i.enumGetBox(u,1),"DisabledTextColor"),this.cy=n.k.n(t,i.enumGetBox(u,1),"DisabledElevation"),this.c1=n.k.n(t,i.enumGetBox(u,1),"RestingElevation"),this.c0=n.k.n(t,i.enumGetBox(u,1),"HoverElevation"),this.cz=n.k.n(t,i.enumGetBox(u,1),"FocusElevation"),this.n7=n.k.ad(t,i.enumGetBox(u,1),"BorderColor"),this.of=n.k.ad(t,i.enumGetBox(u,1),"RippleColor"),this.kv=n.k.y(t,i.enumGetBox(u,1),"CornerRadius"),this.bm=n.k.i(t,i.enumGetBox(u,1),"BorderWidth"),this.n6=n.k.ad(t,i.enumGetBox(u,1),"BackgroundColor"),this.og=n.k.ad(t,i.enumGetBox(u,1),"TextColor"),this.oe=n.k.ad(t,i.enumGetBox(u,1),"HoverTextColor"),this.od=n.k.ad(t,i.enumGetBox(u,1),"HoverBackgroundColor"),this.ob=n.k.ad(t,i.enumGetBox(u,1),"FocusBackgroundColor"),this.oc=n.k.ad(t,i.enumGetBox(u,1),"FocusTextColor"),this.ou=n.k.ad(t,i.enumGetBox(u,2),"DisabledBackgroundColor"),this.ov=n.k.ad(t,i.enumGetBox(u,2),"DisabledBorderColor"),this.ow=n.k.ad(t,i.enumGetBox(u,2),"DisabledTextColor"),this.c6=n.k.n(t,i.enumGetBox(u,2),"DisabledElevation"),this.c9=n.k.n(t,i.enumGetBox(u,2),"RestingElevation"),this.c8=n.k.n(t,i.enumGetBox(u,2),"HoverElevation"),this.c7=n.k.n(t,i.enumGetBox(u,2),"FocusElevation"),this.ot=n.k.ad(t,i.enumGetBox(u,2),"BorderColor"),this.o1=n.k.ad(t,i.enumGetBox(u,2),"RippleColor"),this.kx=n.k.y(t,i.enumGetBox(u,2),"CornerRadius"),this.bo=n.k.i(t,i.enumGetBox(u,2),"BorderWidth"),this.os=n.k.ad(t,i.enumGetBox(u,2),"BackgroundColor"),this.o2=n.k.ad(t,i.enumGetBox(u,2),"TextColor"),this.o0=n.k.ad(t,i.enumGetBox(u,2),"HoverTextColor"),this.oz=n.k.ad(t,i.enumGetBox(u,2),"HoverBackgroundColor"),this.ox=n.k.ad(t,i.enumGetBox(u,2),"FocusBackgroundColor"),this.oy=n.k.ad(t,i.enumGetBox(u,2),"FocusTextColor"),this.oj=n.k.ad(t,i.enumGetBox(u,4),"DisabledBackgroundColor"),this.ok=n.k.ad(t,i.enumGetBox(u,4),"DisabledBorderColor"),this.ol=n.k.ad(t,i.enumGetBox(u,4),"DisabledTextColor"),this.c2=n.k.n(t,i.enumGetBox(u,4),"DisabledElevation"),this.c5=n.k.n(t,i.enumGetBox(u,4),"RestingElevation"),this.c4=n.k.n(t,i.enumGetBox(u,4),"HoverElevation"),this.c3=n.k.n(t,i.enumGetBox(u,4),"FocusElevation"),this.oi=n.k.ad(t,i.enumGetBox(u,4),"BorderColor"),this.oq=n.k.ad(t,i.enumGetBox(u,4),"RippleColor"),this.kw=n.k.y(t,i.enumGetBox(u,4),"CornerRadius"),this.bn=n.k.i(t,i.enumGetBox(u,4),"BorderWidth"),this.oh=n.k.ad(t,i.enumGetBox(u,4),"BackgroundColor"),this.or=n.k.ad(t,i.enumGetBox(u,4),"TextColor"),this.op=n.k.ad(t,i.enumGetBox(u,4),"HoverTextColor"),this.oo=n.k.ad(t,i.enumGetBox(u,4),"HoverBackgroundColor"),this.om=n.k.ad(t,i.enumGetBox(u,4),"FocusBackgroundColor"),this.on=n.k.ad(t,i.enumGetBox(u,4),"FocusTextColor"),this.nx=n.k.ad(t,i.enumGetBox(u,3),"DisabledBackgroundColor"),this.ny=n.k.ad(t,i.enumGetBox(u,3),"DisabledBorderColor"),this.nz=n.k.ad(t,i.enumGetBox(u,3),"DisabledTextColor"),this.cu=n.k.n(t,i.enumGetBox(u,3),"DisabledElevation"),this.cx=n.k.n(t,i.enumGetBox(u,3),"RestingElevation"),this.cw=n.k.n(t,i.enumGetBox(u,3),"HoverElevation"),this.cv=n.k.n(t,i.enumGetBox(u,3),"FocusElevation"),this.nw=n.k.ad(t,i.enumGetBox(u,3),"BorderColor"),this.n4=n.k.ad(t,i.enumGetBox(u,3),"RippleColor"),this.ku=n.k.y(t,i.enumGetBox(u,3),"CornerRadius"),this.bl=n.k.i(t,i.enumGetBox(u,3),"BorderWidth"),this.nv=n.k.ad(t,i.enumGetBox(u,3),"BackgroundColor"),this.n5=n.k.ad(t,i.enumGetBox(u,3),"TextColor"),this.n3=n.k.ad(t,i.enumGetBox(u,3),"HoverTextColor"),this.n2=n.k.ad(t,i.enumGetBox(u,3),"HoverBackgroundColor"),this.n0=n.k.ad(t,i.enumGetBox(u,3),"FocusBackgroundColor"),this.n1=n.k.ad(t,i.enumGetBox(u,3),"FocusTextColor")},Object.defineProperty(n.prototype,"bu",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.kd("MinWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.kd("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.kd("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.kd("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.kd("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.kd("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ng",{get:function(){return this.k8},set:function(t){var e=this.k8;this.k8=t,e!=this.k8&&this.kd("ActualBorderColor",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.kd("ActualUmbraShadowColor",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.kd("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ne",{get:function(){return this.k6},set:function(t){var e=this.k6;this.k6=t,e!=this.k6&&this.kd("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ct",{get:function(){return this.b0},set:function(t){var e=this.b0;this.b0=t,e!=this.b0&&this.kd("ActualRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.by},set:function(t){var e=this.by;this.by=t,e!=this.by&&this.kd("ActualFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.kd("ActualHoverElevation",e,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.kd("ActualRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kr",{get:function(){return this.kk},set:function(t){var e=this.kk;this.kk=t,e!=this.kk&&this.kd("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nf",{get:function(){return this.k7},set:function(t){var e=this.k7;this.k7=t,e!=this.k7&&this.kd("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nh",{get:function(){return this.k9},set:function(t){var e=this.k9;this.k9=t,e!=this.k9&&this.kd("ActualDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ni",{get:function(){return this.la},set:function(t){var e=this.la;this.la=t,e!=this.la&&this.kd("ActualDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nj",{get:function(){return this.lb},set:function(t){var e=this.lb;this.lb=t,e!=this.lb&&this.kd("ActualDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bx=t,e!=this.bx&&this.kd("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.kd("ActualElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,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.kd("ActualTextColor",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.kd("ActualHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nk",{get:function(){return this.lc},set:function(t){var e=this.lc;this.lc=t,e!=this.lc&&this.kd("ActualFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nl",{get:function(){return this.ld},set:function(t){var e=this.ld;this.ld=t,e!=this.ld&&this.kd("ActualFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nm",{get:function(){return this.le},set:function(t){var e=this.le;this.le=t,e!=this.le&&this.kd("ActualHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.kd("ActualBorderWidth",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.kd("RaisedBackgroundColor",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.kd("RaisedDisabledBackgroundColor",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.kd("RaisedDisabledBorderColor",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.kd("RaisedDisabledTextColor",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.kd("RaisedDisabledElevation",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.kd("RaisedHoverBackgroundColor",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.kd("RaisedBorderColor",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.kd("RaisedRestingElevation",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.kd("RaisedHoverElevation",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.kd("RaisedFocusElevation",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.kd("RaisedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k3",{get:function(){return this.kq},set:function(t){var e=this.kq;this.kq=t,this.kd("RaisedCornerRadius",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.kd("RaisedRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pu",{get:function(){return this.lz},set:function(t){var e=this.lz;this.lz=t,e!=this.lz&&this.kd("FlatBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pw",{get:function(){return this.l1},set:function(t){var e=this.l1;this.l1=t,e!=this.l1&&this.kd("FlatDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"px",{get:function(){return this.l2},set:function(t){var e=this.l2;this.l2=t,e!=this.l2&&this.kd("FlatDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"py",{get:function(){return this.l3},set:function(t){var e=this.l3;this.l3=t,e!=this.l3&&this.kd("FlatDisabledTextColor",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.kd("FlatDisabledElevation",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.kd("FlatHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pv",{get:function(){return this.l0},set:function(t){var e=this.l0;this.l0=t,e!=this.l0&&this.kd("FlatBorderColor",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.kd("FlatRestingElevation",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.kd("FlatHoverElevation",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.kd("FlatFocusElevation",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.kd("FlatRippleColor",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.kd("FlatTextColor",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.kd("FlatHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pz",{get:function(){return this.l4},set:function(t){var e=this.l4;this.l4=t,e!=this.l4&&this.kd("FlatFocusBackgroundColor",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.kd("FlatFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.kd("FlatBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k0",{get:function(){return this.kn},set:function(t){var e=this.kn;this.kn=t,this.kd("FlatCornerRadius",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.kd("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pg",{get:function(){return this.lm},set:function(t){var e=this.lm;this.lm=t,e!=this.lm&&this.kd("DisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ph",{get:function(){return this.ln},set:function(t){var e=this.ln;this.ln=t,e!=this.ln&&this.kd("DisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pi",{get:function(){return this.lo},set:function(t){var e=this.lo;this.lo=t,e!=this.lo&&this.kd("DisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"de",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.kd("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.kd("ElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,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.kd("HoverBackgroundColor",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.kd("BorderColor",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.kd("RestingElevation",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.kd("HoverElevation",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.kd("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.kd("TextStyle",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.kd("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p8",{get:function(){return this.me},set:function(t){var e=this.me;this.me=t,e!=this.me&&this.kd("HoverTextColor",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.kd("RippleColor",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.kd("RaisedTextColor",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.kd("RaisedHoverTextColor",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.kd("RaisedFocusBackgroundColor",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.kd("RaisedFocusTextColor",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.kd("FocusBackgroundColor",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.kd("FocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.kd("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kt",{get:function(){return this.kl},set:function(t){var e=this.kl;this.kl=t,this.kd("CornerRadius",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.kd("OutlinedBackgroundColor",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.kd("OutlinedDisabledBackgroundColor",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.kd("OutlinedDisabledBorderColor",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.kd("OutlinedDisabledTextColor",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.kd("OutlinedDisabledElevation",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.kd("OutlinedHoverBackgroundColor",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.kd("OutlinedBorderColor",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.kd("OutlinedRestingElevation",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.kd("OutlinedHoverElevation",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.kd("OutlinedFocusElevation",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.kd("OutlinedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k2",{get:function(){return this.kp},set:function(t){var e=this.kp;this.kp=t,this.kd("OutlinedCornerRadius",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.kd("OutlinedRippleColor",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.kd("OutlinedTextColor",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.kd("OutlinedHoverTextColor",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.kd("OutlinedFocusBackgroundColor",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.kd("OutlinedFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pj",{get:function(){return this.lp},set:function(t){var e=this.lp;this.lp=t,e!=this.lp&&this.kd("FabBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pl",{get:function(){return this.lr},set:function(t){var e=this.lr;this.lr=t,e!=this.lr&&this.kd("FabDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pm",{get:function(){return this.ls},set:function(t){var e=this.ls;this.ls=t,e!=this.ls&&this.kd("FabDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pn",{get:function(){return this.lt},set:function(t){var e=this.lt;this.lt=t,e!=this.lt&&this.kd("FabDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"df",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.kd("FabDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pq",{get:function(){return this.md},set:function(t){var e=this.md;this.md=t,e!=this.md&&this.kd("FabHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pk",{get:function(){return this.lq},set:function(t){var e=this.lq;this.lq=t,e!=this.lq&&this.kd("FabBorderColor",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.kd("FabRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dh",{get:function(){return this.b4},set:function(t){var e=this.b4;this.b4=t,e!=this.b4&&this.kd("FabHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dg",{get:function(){return this.b3},set:function(t){var e=this.b3;this.b3=t,e!=this.b3&&this.kd("FabFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.kd("FabBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kz",{get:function(){return this.km},set:function(t){var e=this.km;this.km=t,this.kd("FabCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ps",{get:function(){return this.lx},set:function(t){var e=this.lx;this.lx=t,e!=this.lx&&this.kd("FabRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pt",{get:function(){return this.ly},set:function(t){var e=this.ly;this.ly=t,e!=this.ly&&this.kd("FabTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pr",{get:function(){return this.lw},set:function(t){var e=this.lw;this.lw=t,e!=this.lw&&this.kd("FabHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"po",{get:function(){return this.lu},set:function(t){var e=this.lu;this.lu=t,e!=this.lu&&this.kd("FabFocusBackgroundColor",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.kd("FabFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p9",{get:function(){return this.mf},set:function(t){var e=this.mf;this.mf=t,e!=this.mf&&this.kd("IconBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qb",{get:function(){return this.mh},set:function(t){var e=this.mh;this.mh=t,e!=this.mh&&this.kd("IconDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qc",{get:function(){return this.mi},set:function(t){var e=this.mi;this.mi=t,e!=this.mi&&this.kd("IconDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qd",{get:function(){return this.mj},set:function(t){var e=this.mj;this.mj=t,e!=this.mj&&this.kd("IconDisabledTextColor",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.kd("IconDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qg",{get:function(){return this.mm},set:function(t){var e=this.mm;this.mm=t,e!=this.mm&&this.kd("IconHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qa",{get:function(){return this.mg},set:function(t){var e=this.mg;this.mg=t,e!=this.mg&&this.kd("IconBorderColor",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.kd("IconRestingElevation",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.kd("IconHoverElevation",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.kd("IconFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.kd("IconBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k1",{get:function(){return this.ko},set:function(t){var e=this.ko;this.ko=t,this.kd("IconCornerRadius",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.kd("IconRippleColor",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.kd("IconTextColor",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.kd("IconHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qe",{get:function(){return this.mk},set:function(t){var e=this.mk;this.mk=t,e!=this.mk&&this.kd("IconFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qf",{get:function(){return this.ml},set:function(t){var e=this.ml;this.ml=t,e!=this.ml&&this.kd("IconFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.kd("InputId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.kd("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fw",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.kd("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ff",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.kd("ChildContentDisplay",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g0",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.kd("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g2",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.kd("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.kd("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ea",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.kd("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.kd("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.ak},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,this.ak=!0,e!=this.cp&&this.kd("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e9",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.kd("AriaLabel",e,t)},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.kd("FillAvailableSpace",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.kd("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.kd("IsFocusStyleEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.kd("DisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.kd("ActualDisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.kd("DisableHover",e,this.af)},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.kd("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.kd("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.kd("DisableTransitions",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.kd("DisablePointer",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.kd("ContentPaddingLeft",e,this.a5)},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.kd("ContentPaddingTop",e,this.a7)},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.kd("ContentPaddingRight",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.kd("ContentPaddingBottom",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k5",{get:function(){return this.k4},set:function(t){var e=this.k4;this.k4=t,e!=this.k4&&this.kd("HorizontalContentAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,this.k4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q9",{get:function(){return this.q8},set:function(t){var e=this.q8;this.q8=t,e!=this.q8&&this.kd("VerticalContentAlignment",i.enumGetBox(i.VerticalAlignment_$type,e),i.enumGetBox(i.VerticalAlignment_$type,this.q8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.kd("ClickTunneling",e,this.ae)},enumerable:!1,configurable:!0}),n.prototype.ke=function(){this.j3(),this.view.aw(this.np,i.BrushUtil.h(0,0,0,0)),this.kh()},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.j3=function(){this.view.ae()},n.prototype.onDetachedFromUI=function(){this.view.aj()},n.prototype.onAttachedToUI=function(){this.view.ag()},n.prototype.appendButtonContent=function(t){this.view.ac(t)},n.prototype.clearButtonContent=function(){this.view.ad()},n.prototype.getButtonContent=function(){return this.view.r()},n.prototype.a1=function(){return this.view.g()},n.prototype.d7=function(){return this.b()},n.prototype.f0=function(){return this.b().serialize()},n.prototype.b=function(){var t=this.view.q,e=this.view.s,n=new d,r=this.view.a();if(n.s=r[0],n.q=r[1],n.p=i.NativeUI.d(t),n.t=i.NativeUI.k(t),n.h=this.n,n.i=this.q,n.c=i.AppearanceHelper.a(i.NativeUI.ak(t)),n.g=i.AppearanceHelper.a(this.nr),n.d=i.AppearanceHelper.a(this.no),n.a=i.AppearanceHelper.a(this.ne),n.u=this.ct,n.e=i.AppearanceHelper.a(this.np),n.ag=this.kr,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.bf,n.x=this.fw,n.y=this.g0,n.z=this.g2,n.w=this.e7,n.v=this.view.s.getNativeElement().innerText,n.aa=this.h2,n.m=this.focused,n.k=this.ap,n.n=this.a0,n.l=this.disabled,null!=this.aa){var o=this.aa;if(null!=this.view&&null==o.q){var s=this.view.k,a=i.FontUtil.getFontInfoFromString(s,o.fontString);o.q=a.q,o.f=a.f,o.r=a.r,o.t=a.t,o.u=a.u,o.v=a.v}null!=o.q&&(n.ab=o.q),i.isNaN_(o.f)||(n.r=o.f),null!=o.v&&(n.af=o.v),null!=o.t&&(n.ad=o.t),null!=o.r&&(n.ac=o.t)}return n},n.prototype.provideContainer=function(t){this.view.ai(t)},n.$t=i.markType(n,"XButton",i.Base.$,[i.INotifyPropertyChanged_$type]),n.m=2,n.d5=0,n.d4=0,n.i=new l(1,((r=new i.Dictionary$2(i.String_$type,i.Base.$,0)).addItem("UmbraShadowColor",i.BrushUtil.h(66,0,0,0)),r.addItem("PenumbraShadowColor",i.BrushUtil.h(30,0,0,0)),r.addItem("AmbientShadowColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(255,228,28,119)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.h(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(100,33,150,243)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(255,33,150,243)),t.addItem("RippleColor",i.BrushUtil.h(0,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverTextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(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.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.h(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(100,33,150,243)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(255,33,150,243)),t.addItem("RippleColor",i.BrushUtil.h(0,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverTextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(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.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(51,178,191,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(51,178,191,220)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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),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.bu},set:function(t){this.i.bu=+t,this._a("minWidth",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minHeight",{get:function(){return this.i.bt},set:function(t){this.i.bt=+t,this._a("minHeight",this.i.bt)},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.ng)},set:function(t){this.i.ng=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.ng))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.nr)},set:function(t){this.i.nr=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.nr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.no)},set:function(t){this.i.no=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.no))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.ne)},set:function(t){this.i.ne=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.ne))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRestingElevation",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("actualRestingElevation",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusElevation",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("actualFocusElevation",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverElevation",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("actualHoverElevation",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRippleColor",{get:function(){return i.brushToString(this.i.np)},set:function(t){this.i.np=i.stringToBrush(t),this._a("actualRippleColor",i.brushToString(this.i.np))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.kr?this.i.kr.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.b=+t,this._a("actualCornerRadiusBottomRight",this.i.kr.b),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.kr?this.i.kr.a:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.a=+t,this._a("actualCornerRadiusBottomLeft",this.i.kr.a),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.kr?this.i.kr.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.c=+t,this._a("actualCornerRadiusTopLeft",this.i.kr.c),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.kr?this.i.kr.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.d=+t,this._a("actualCornerRadiusTopRight",this.i.kr.d),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),n.prototype.ensureActualCornerRadius=function(){this.i.kr||(this.i.kr=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.nf)},set:function(t){this.i.nf=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.nf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.nh)},set:function(t){this.i.nh=i.stringToBrush(t),this._a("actualDisabledBackgroundColor",i.brushToString(this.i.nh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBorderColor",{get:function(){return i.brushToString(this.i.ni)},set:function(t){this.i.ni=i.stringToBrush(t),this._a("actualDisabledBorderColor",i.brushToString(this.i.ni))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.nj)},set:function(t){this.i.nj=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.nj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledElevation",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("actualDisabledElevation",this.i.cq)},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.nq)},set:function(t){this.i.nq=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.nq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.nn)},set:function(t){this.i.nn=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.nn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBackgroundColor",{get:function(){return i.brushToString(this.i.nk)},set:function(t){this.i.nk=i.stringToBrush(t),this._a("actualFocusBackgroundColor",i.brushToString(this.i.nk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusTextColor",{get:function(){return i.brushToString(this.i.nl)},set:function(t){this.i.nl=i.stringToBrush(t),this._a("actualFocusTextColor",i.brushToString(this.i.nl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.nm)},set:function(t){this.i.nm=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.nm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("actualBorderWidth",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBackgroundColor",{get:function(){return i.brushToString(this.i.qv)},set:function(t){this.i.qv=i.stringToBrush(t),this._a("raisedBackgroundColor",i.brushToString(this.i.qv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qx)},set:function(t){this.i.qx=i.stringToBrush(t),this._a("raisedDisabledBackgroundColor",i.brushToString(this.i.qx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBorderColor",{get:function(){return i.brushToString(this.i.qy)},set:function(t){this.i.qy=i.stringToBrush(t),this._a("raisedDisabledBorderColor",i.brushToString(this.i.qy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledTextColor",{get:function(){return i.brushToString(this.i.qz)},set:function(t){this.i.qz=i.stringToBrush(t),this._a("raisedDisabledTextColor",i.brushToString(this.i.qz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledElevation",{get:function(){return this.i.dy},set:function(t){this.i.dy=+t,this._a("raisedDisabledElevation",this.i.dy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.q2)},set:function(t){this.i.q2=i.stringToBrush(t),this._a("raisedHoverBackgroundColor",i.brushToString(this.i.q2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderColor",{get:function(){return i.brushToString(this.i.qw)},set:function(t){this.i.qw=i.stringToBrush(t),this._a("raisedBorderColor",i.brushToString(this.i.qw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedRestingElevation",{get:function(){return this.i.d1},set:function(t){this.i.d1=+t,this._a("raisedRestingElevation",this.i.d1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverElevation",{get:function(){return this.i.d0},set:function(t){this.i.d0=+t,this._a("raisedHoverElevation",this.i.d0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusElevation",{get:function(){return this.i.dz},set:function(t){this.i.dz=+t,this._a("raisedFocusElevation",this.i.dz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderWidth",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("raisedBorderWidth",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomRight",{get:function(){return this.i.k3?this.i.k3.b:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.b=+t,this._a("raisedCornerRadiusBottomRight",this.i.k3.b),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomLeft",{get:function(){return this.i.k3?this.i.k3.a:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.a=+t,this._a("raisedCornerRadiusBottomLeft",this.i.k3.a),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopLeft",{get:function(){return this.i.k3?this.i.k3.c:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.c=+t,this._a("raisedCornerRadiusTopLeft",this.i.k3.c),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopRight",{get:function(){return this.i.k3?this.i.k3.d:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.d=+t,this._a("raisedCornerRadiusTopRight",this.i.k3.d),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),n.prototype.ensureRaisedCornerRadius=function(){this.i.k3||(this.i.k3=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"raisedRippleColor",{get:function(){return i.brushToString(this.i.q4)},set:function(t){this.i.q4=i.stringToBrush(t),this._a("raisedRippleColor",i.brushToString(this.i.q4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBackgroundColor",{get:function(){return i.brushToString(this.i.pu)},set:function(t){this.i.pu=i.stringToBrush(t),this._a("flatBackgroundColor",i.brushToString(this.i.pu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.pw)},set:function(t){this.i.pw=i.stringToBrush(t),this._a("flatDisabledBackgroundColor",i.brushToString(this.i.pw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBorderColor",{get:function(){return i.brushToString(this.i.px)},set:function(t){this.i.px=i.stringToBrush(t),this._a("flatDisabledBorderColor",i.brushToString(this.i.px))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledTextColor",{get:function(){return i.brushToString(this.i.py)},set:function(t){this.i.py=i.stringToBrush(t),this._a("flatDisabledTextColor",i.brushToString(this.i.py))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledElevation",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("flatDisabledElevation",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverBackgroundColor",{get:function(){return i.brushToString(this.i.p1)},set:function(t){this.i.p1=i.stringToBrush(t),this._a("flatHoverBackgroundColor",i.brushToString(this.i.p1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderColor",{get:function(){return i.brushToString(this.i.pv)},set:function(t){this.i.pv=i.stringToBrush(t),this._a("flatBorderColor",i.brushToString(this.i.pv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRestingElevation",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("flatRestingElevation",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverElevation",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("flatHoverElevation",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusElevation",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("flatFocusElevation",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRippleColor",{get:function(){return i.brushToString(this.i.p3)},set:function(t){this.i.p3=i.stringToBrush(t),this._a("flatRippleColor",i.brushToString(this.i.p3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatTextColor",{get:function(){return i.brushToString(this.i.p4)},set:function(t){this.i.p4=i.stringToBrush(t),this._a("flatTextColor",i.brushToString(this.i.p4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverTextColor",{get:function(){return i.brushToString(this.i.p2)},set:function(t){this.i.p2=i.stringToBrush(t),this._a("flatHoverTextColor",i.brushToString(this.i.p2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusBackgroundColor",{get:function(){return i.brushToString(this.i.pz)},set:function(t){this.i.pz=i.stringToBrush(t),this._a("flatFocusBackgroundColor",i.brushToString(this.i.pz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusTextColor",{get:function(){return i.brushToString(this.i.p0)},set:function(t){this.i.p0=i.stringToBrush(t),this._a("flatFocusTextColor",i.brushToString(this.i.p0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderWidth",{get:function(){return this.i.br},set:function(t){this.i.br=+t,this._a("flatBorderWidth",this.i.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomRight",{get:function(){return this.i.k0?this.i.k0.b:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.b=+t,this._a("flatCornerRadiusBottomRight",this.i.k0.b),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomLeft",{get:function(){return this.i.k0?this.i.k0.a:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.a=+t,this._a("flatCornerRadiusBottomLeft",this.i.k0.a),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopLeft",{get:function(){return this.i.k0?this.i.k0.c:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.c=+t,this._a("flatCornerRadiusTopLeft",this.i.k0.c),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopRight",{get:function(){return this.i.k0?this.i.k0.d:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.d=+t,this._a("flatCornerRadiusTopRight",this.i.k0.d),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),n.prototype.ensureFlatCornerRadius=function(){this.i.k0||(this.i.k0=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.ns)},set:function(t){this.i.ns=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.ns))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBackgroundColor",{get:function(){return i.brushToString(this.i.pg)},set:function(t){this.i.pg=i.stringToBrush(t),this._a("disabledBackgroundColor",i.brushToString(this.i.pg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBorderColor",{get:function(){return i.brushToString(this.i.ph)},set:function(t){this.i.ph=i.stringToBrush(t),this._a("disabledBorderColor",i.brushToString(this.i.ph))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.pi)},set:function(t){this.i.pi=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.pi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledElevation",{get:function(){return this.i.de},set:function(t){this.i.de=+t,this._a("disabledElevation",this.i.de)},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.p7)},set:function(t){this.i.p7=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.p7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.brushToString(this.i.nt)},set:function(t){this.i.nt=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.nt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"restingElevation",{get:function(){return this.i.d2},set:function(t){this.i.d2=+t,this._a("restingElevation",this.i.d2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverElevation",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("hoverElevation",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusElevation",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("focusElevation",this.i.dn)},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.q7)},set:function(t){this.i.q7=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.q7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.p8)},set:function(t){this.i.p8=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.p8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleColor",{get:function(){return i.brushToString(this.i.q6)},set:function(t){this.i.q6=i.stringToBrush(t),this._a("rippleColor",i.brushToString(this.i.q6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedTextColor",{get:function(){return i.brushToString(this.i.q5)},set:function(t){this.i.q5=i.stringToBrush(t),this._a("raisedTextColor",i.brushToString(this.i.q5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverTextColor",{get:function(){return i.brushToString(this.i.q3)},set:function(t){this.i.q3=i.stringToBrush(t),this._a("raisedHoverTextColor",i.brushToString(this.i.q3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.q0)},set:function(t){this.i.q0=i.stringToBrush(t),this._a("raisedFocusBackgroundColor",i.brushToString(this.i.q0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusTextColor",{get:function(){return i.brushToString(this.i.q1)},set:function(t){this.i.q1=i.stringToBrush(t),this._a("raisedFocusTextColor",i.brushToString(this.i.q1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBackgroundColor",{get:function(){return i.brushToString(this.i.p5)},set:function(t){this.i.p5=i.stringToBrush(t),this._a("focusBackgroundColor",i.brushToString(this.i.p5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusTextColor",{get:function(){return i.brushToString(this.i.p6)},set:function(t){this.i.p6=i.stringToBrush(t),this._a("focusTextColor",i.brushToString(this.i.p6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("borderWidth",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.kt?this.i.kt.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.b=+t,this._a("cornerRadiusBottomRight",this.i.kt.b),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.kt?this.i.kt.a:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.a=+t,this._a("cornerRadiusBottomLeft",this.i.kt.a),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.kt?this.i.kt.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.c=+t,this._a("cornerRadiusTopLeft",this.i.kt.c),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.kt?this.i.kt.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.d=+t,this._a("cornerRadiusTopRight",this.i.kt.d),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),n.prototype.ensureCornerRadius=function(){this.i.kt||(this.i.kt=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedBackgroundColor",{get:function(){return i.brushToString(this.i.qk)},set:function(t){this.i.qk=i.stringToBrush(t),this._a("outlinedBackgroundColor",i.brushToString(this.i.qk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qm)},set:function(t){this.i.qm=i.stringToBrush(t),this._a("outlinedDisabledBackgroundColor",i.brushToString(this.i.qm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBorderColor",{get:function(){return i.brushToString(this.i.qn)},set:function(t){this.i.qn=i.stringToBrush(t),this._a("outlinedDisabledBorderColor",i.brushToString(this.i.qn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledTextColor",{get:function(){return i.brushToString(this.i.qo)},set:function(t){this.i.qo=i.stringToBrush(t),this._a("outlinedDisabledTextColor",i.brushToString(this.i.qo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledElevation",{get:function(){return this.i.du},set:function(t){this.i.du=+t,this._a("outlinedDisabledElevation",this.i.du)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qr)},set:function(t){this.i.qr=i.stringToBrush(t),this._a("outlinedHoverBackgroundColor",i.brushToString(this.i.qr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderColor",{get:function(){return i.brushToString(this.i.ql)},set:function(t){this.i.ql=i.stringToBrush(t),this._a("outlinedBorderColor",i.brushToString(this.i.ql))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedRestingElevation",{get:function(){return this.i.dx},set:function(t){this.i.dx=+t,this._a("outlinedRestingElevation",this.i.dx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverElevation",{get:function(){return this.i.dw},set:function(t){this.i.dw=+t,this._a("outlinedHoverElevation",this.i.dw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusElevation",{get:function(){return this.i.dv},set:function(t){this.i.dv=+t,this._a("outlinedFocusElevation",this.i.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderWidth",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("outlinedBorderWidth",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomRight",{get:function(){return this.i.k2?this.i.k2.b:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.b=+t,this._a("outlinedCornerRadiusBottomRight",this.i.k2.b),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomLeft",{get:function(){return this.i.k2?this.i.k2.a:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.a=+t,this._a("outlinedCornerRadiusBottomLeft",this.i.k2.a),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopLeft",{get:function(){return this.i.k2?this.i.k2.c:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.c=+t,this._a("outlinedCornerRadiusTopLeft",this.i.k2.c),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopRight",{get:function(){return this.i.k2?this.i.k2.d:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.d=+t,this._a("outlinedCornerRadiusTopRight",this.i.k2.d),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),n.prototype.ensureOutlinedCornerRadius=function(){this.i.k2||(this.i.k2=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedRippleColor",{get:function(){return i.brushToString(this.i.qt)},set:function(t){this.i.qt=i.stringToBrush(t),this._a("outlinedRippleColor",i.brushToString(this.i.qt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedTextColor",{get:function(){return i.brushToString(this.i.qu)},set:function(t){this.i.qu=i.stringToBrush(t),this._a("outlinedTextColor",i.brushToString(this.i.qu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverTextColor",{get:function(){return i.brushToString(this.i.qs)},set:function(t){this.i.qs=i.stringToBrush(t),this._a("outlinedHoverTextColor",i.brushToString(this.i.qs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qp)},set:function(t){this.i.qp=i.stringToBrush(t),this._a("outlinedFocusBackgroundColor",i.brushToString(this.i.qp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusTextColor",{get:function(){return i.brushToString(this.i.qq)},set:function(t){this.i.qq=i.stringToBrush(t),this._a("outlinedFocusTextColor",i.brushToString(this.i.qq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBackgroundColor",{get:function(){return i.brushToString(this.i.pj)},set:function(t){this.i.pj=i.stringToBrush(t),this._a("fabBackgroundColor",i.brushToString(this.i.pj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.pl)},set:function(t){this.i.pl=i.stringToBrush(t),this._a("fabDisabledBackgroundColor",i.brushToString(this.i.pl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBorderColor",{get:function(){return i.brushToString(this.i.pm)},set:function(t){this.i.pm=i.stringToBrush(t),this._a("fabDisabledBorderColor",i.brushToString(this.i.pm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledTextColor",{get:function(){return i.brushToString(this.i.pn)},set:function(t){this.i.pn=i.stringToBrush(t),this._a("fabDisabledTextColor",i.brushToString(this.i.pn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledElevation",{get:function(){return this.i.df},set:function(t){this.i.df=+t,this._a("fabDisabledElevation",this.i.df)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverBackgroundColor",{get:function(){return i.brushToString(this.i.pq)},set:function(t){this.i.pq=i.stringToBrush(t),this._a("fabHoverBackgroundColor",i.brushToString(this.i.pq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderColor",{get:function(){return i.brushToString(this.i.pk)},set:function(t){this.i.pk=i.stringToBrush(t),this._a("fabBorderColor",i.brushToString(this.i.pk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabRestingElevation",{get:function(){return this.i.di},set:function(t){this.i.di=+t,this._a("fabRestingElevation",this.i.di)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverElevation",{get:function(){return this.i.dh},set:function(t){this.i.dh=+t,this._a("fabHoverElevation",this.i.dh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusElevation",{get:function(){return this.i.dg},set:function(t){this.i.dg=+t,this._a("fabFocusElevation",this.i.dg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderWidth",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("fabBorderWidth",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomRight",{get:function(){return this.i.kz?this.i.kz.b:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.b=+t,this._a("fabCornerRadiusBottomRight",this.i.kz.b),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomLeft",{get:function(){return this.i.kz?this.i.kz.a:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.a=+t,this._a("fabCornerRadiusBottomLeft",this.i.kz.a),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopLeft",{get:function(){return this.i.kz?this.i.kz.c:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.c=+t,this._a("fabCornerRadiusTopLeft",this.i.kz.c),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopRight",{get:function(){return this.i.kz?this.i.kz.d:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.d=+t,this._a("fabCornerRadiusTopRight",this.i.kz.d),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),n.prototype.ensureFabCornerRadius=function(){this.i.kz||(this.i.kz=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"fabRippleColor",{get:function(){return i.brushToString(this.i.ps)},set:function(t){this.i.ps=i.stringToBrush(t),this._a("fabRippleColor",i.brushToString(this.i.ps))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabTextColor",{get:function(){return i.brushToString(this.i.pt)},set:function(t){this.i.pt=i.stringToBrush(t),this._a("fabTextColor",i.brushToString(this.i.pt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverTextColor",{get:function(){return i.brushToString(this.i.pr)},set:function(t){this.i.pr=i.stringToBrush(t),this._a("fabHoverTextColor",i.brushToString(this.i.pr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusBackgroundColor",{get:function(){return i.brushToString(this.i.po)},set:function(t){this.i.po=i.stringToBrush(t),this._a("fabFocusBackgroundColor",i.brushToString(this.i.po))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusTextColor",{get:function(){return i.brushToString(this.i.pp)},set:function(t){this.i.pp=i.stringToBrush(t),this._a("fabFocusTextColor",i.brushToString(this.i.pp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBackgroundColor",{get:function(){return i.brushToString(this.i.p9)},set:function(t){this.i.p9=i.stringToBrush(t),this._a("iconBackgroundColor",i.brushToString(this.i.p9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qb)},set:function(t){this.i.qb=i.stringToBrush(t),this._a("iconDisabledBackgroundColor",i.brushToString(this.i.qb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBorderColor",{get:function(){return i.brushToString(this.i.qc)},set:function(t){this.i.qc=i.stringToBrush(t),this._a("iconDisabledBorderColor",i.brushToString(this.i.qc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledTextColor",{get:function(){return i.brushToString(this.i.qd)},set:function(t){this.i.qd=i.stringToBrush(t),this._a("iconDisabledTextColor",i.brushToString(this.i.qd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledElevation",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("iconDisabledElevation",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qg)},set:function(t){this.i.qg=i.stringToBrush(t),this._a("iconHoverBackgroundColor",i.brushToString(this.i.qg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderColor",{get:function(){return i.brushToString(this.i.qa)},set:function(t){this.i.qa=i.stringToBrush(t),this._a("iconBorderColor",i.brushToString(this.i.qa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconRestingElevation",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("iconRestingElevation",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverElevation",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("iconHoverElevation",this.i.ds)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusElevation",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("iconFocusElevation",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderWidth",{get:function(){return this.i.bs},set:function(t){this.i.bs=+t,this._a("iconBorderWidth",this.i.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomRight",{get:function(){return this.i.k1?this.i.k1.b:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.b=+t,this._a("iconCornerRadiusBottomRight",this.i.k1.b),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomLeft",{get:function(){return this.i.k1?this.i.k1.a:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.a=+t,this._a("iconCornerRadiusBottomLeft",this.i.k1.a),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopLeft",{get:function(){return this.i.k1?this.i.k1.c:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.c=+t,this._a("iconCornerRadiusTopLeft",this.i.k1.c),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopRight",{get:function(){return this.i.k1?this.i.k1.d:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.d=+t,this._a("iconCornerRadiusTopRight",this.i.k1.d),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),n.prototype.ensureIconCornerRadius=function(){this.i.k1||(this.i.k1=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"iconRippleColor",{get:function(){return i.brushToString(this.i.qi)},set:function(t){this.i.qi=i.stringToBrush(t),this._a("iconRippleColor",i.brushToString(this.i.qi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconTextColor",{get:function(){return i.brushToString(this.i.qj)},set:function(t){this.i.qj=i.stringToBrush(t),this._a("iconTextColor",i.brushToString(this.i.qj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverTextColor",{get:function(){return i.brushToString(this.i.qh)},set:function(t){this.i.qh=i.stringToBrush(t),this._a("iconHoverTextColor",i.brushToString(this.i.qh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qe)},set:function(t){this.i.qe=i.stringToBrush(t),this._a("iconFocusBackgroundColor",i.brushToString(this.i.qe))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusTextColor",{get:function(){return i.brushToString(this.i.qf)},set:function(t){this.i.qf=i.stringToBrush(t),this._a("iconFocusTextColor",i.brushToString(this.i.qf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputId",{get:function(){return this.i.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.hs},set:function(t){this.i.hs=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.fw},set:function(t){this.i.fw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.g0},set:function(t){this.i.g0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.g2},set:function(t){this.i.g2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.e7},set:function(t){this.i.e7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.ea},set:function(t){this.i.ea=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.h2},set:function(t){this.i.h2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.d3},set:function(t){this.i.d3=+t,this._a("tabIndex",this.i.d3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.e9},set:function(t){this.i.e9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fillAvailableSpace",{get:function(){return this.i.av},set:function(t){this.i.av=i.ensureBool(t),this._a("fillAvailableSpace",this.i.av)},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.az},set:function(t){this.i.az=i.ensureBool(t),this._a("isFocusStyleEnabled",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this.i.at},set:function(t){this.i.at=i.ensureBool(t),this._a("disableRipple",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisableRipple",{get:function(){return this.i.ap},set:function(t){this.i.ap=i.ensureBool(t),this._a("actualDisableRipple",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableHover",{get:function(){return this.i.ar},set:function(t){this.i.ar=i.ensureBool(t),this._a("disableHover",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureBool(t),this._a("isHover",this.i.a0)},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.au},set:function(t){this.i.au=i.ensureBool(t),this._a("disableTransitions",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disablePointer",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureBool(t),this._a("disablePointer",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("contentPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("contentPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("contentPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("contentPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"horizontalContentAlignment",{get:function(){return this.i.k5},set:function(t){this.i.k5=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("horizontalContentAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.k5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"verticalContentAlignment",{get:function(){return this.i.q9},set:function(t){this.i.q9=i.ensureEnum(i.VerticalAlignment_$type,t),this._a("verticalContentAlignment",i.enumToString(i.VerticalAlignment_$type,this.i.q9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"clickTunneling",{get:function(){return this.i.aq},set:function(t){this.i.aq=i.ensureBool(t),this._a("clickTunneling",this.i.aq)},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.d7()},n.prototype.exportSerializedVisualModel=function(){return this.i.f0()},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(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),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.ab=null,e.n=new i.Dictionary$2(i.Brush.$,i.String_$type,0),e.j=!0,e.y=null,e.x=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.ak=function(){},n.prototype.l=function(){return!0},Object.defineProperty(n.prototype,"z",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{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.ai=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.ar();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.aw(),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.ah))),this.d.cc()},n.prototype.at=function(t){if(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.au=function(t){if(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.as=function(t){(this.v.rootWrapper.removeChildren(),null!=t)&&(this.v.rootWrapper.getNativeElement().innerHTML=t)},n.prototype.ap=function(t){this.ab!=t&&(this.ab=t,this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.x),this.x.setAttribute("src",t))},n.prototype.k=function(){return null!=this.d.svgPath||null!=this.d.svg||null!=this.d.b},n.prototype.ar=function(){this.v.rootWrapper.setStyleProperty("width",i.isNaN_(this.d.aq)?"1.5rem":this.d.aq+"px"),this.v.rootWrapper.setStyleProperty("height",i.isNaN_(this.d.ai)?"1.5rem":this.d.ai+"px")},n.prototype.aw=function(){var t=i.isNaN_(this.d.an)?0:this.d.an,e=i.isNaN_(this.d.ao)?0:this.d.ao,n=i.isNaN_(this.d.ap)?24:this.d.ap,r=i.isNaN_(this.d.am)?24:this.d.am;this.y.setAttribute("viewBox",t+" "+e+" "+n+" "+r)},n.prototype.am=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.an=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.ao=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.ac=function(t){},n.prototype.al=function(){this.l()},n.prototype.ad=function(t){this.d.b9()},n.prototype.ae=function(t){this.d.ca()},n.prototype.ag=function(){this.j=!0,this.o.add(this.v.rootWrapper.listen("mouseenter",i.runOn(this,this.ad))),this.o.add(this.v.rootWrapper.listen("mouseleave",i.runOn(this,this.ae)))},n.prototype.aj=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.av=function(t){null!=t&&this.v.rootWrapper.setStyleProperty("font",t.fontString)},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.ah=function(t){this.d.b7()},n.prototype.a=function(){var t=new i.List$1(i.PrimitiveVisualData.$,0);this.v.rootWrapper.getNativeElement();return t.toArray()},n.prototype.af=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.af(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.aq(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.aq(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.aq(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.aq(l,t),n=new i.EllipseVisualData(1,"ellipse1",l)}return n},n.prototype.aq=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.$t=i.markType(n,"IconView"),n}(i.Base),k=function(t){function n(){var e=t.call(this)||this;e._view=null,e.j=0,e.cj=n.cz,e.ck=n.c3,e.cl=n.c4,e.v=n.ah,e.cm=n.cz,e.cu=n.c3,e.z=n.ah,e.cv=n.c4,e.cn=n.c0,e.co=n.c1,e.x=n.ag,e.cp=null,e.c=null,e.d=null,e.cq=null,e.cr=null,e.cs=null,e.ct=null,e.aw=null,e.az=null,e.ay=null,e.a=null,e.l=null,e.ax="ig-icon-"+n.at++,e.ar=0,e.n=!1,e.av=null,e.p=!1,e.o=!1,e.y=1,e.ab=NaN,e.ac=NaN,e.ad=NaN,e.aa=NaN,e.ae=NaN,e.w=NaN,e.clicked=null,e.propertyChanged=null;var i=new C;return i.d=e,e.view=i,e.view.ak(),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.cb=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ce(t,e,n)},n.prototype.ce=function(t,e,i){switch(t){case"Fill":case"Stroke":case"StrokeWidth":case"HoverFill":case"HoverStroke":case"HoverStrokeThickness":case"IsHover":this.ci();break;case"FillColors":case"StrokeColors":case"ActualFill":case"ActualStroke":case"ActualStrokeWidth":this.cg();break;case"SVG":this.az=null,this.a=null,this.cg();break;case"SVGPath":this.ay=null,this.a=null,this.cg();break;case"SVGPaths":this.ay=null,this.az=null,this.cg();break;case"DataURL":this.ay=null,this.az=null,this.a=null,this.cg();break;case"Opacity":this.ch();break;case"ViewBoxLeft":case"ViewBoxTop":case"ViewBoxWidth":case"ViewBoxHeight":this.view.aw();break;case"Width":case"Height":this.view.ar()}},n.prototype.ci=function(){var t=null!=this.fill?this.fill:n.cz,e=null!=this.dc?this.dc:n.c3,r=i.isNaN_(this.al)?n.ah:this.al,o=null!=this.dd?this.dd:n.c4;this.t?(this.cw=null!=this.c5?this.c5:t,this.cx=null!=this.c6?this.c6:e,this.af=i.isNaN_(this.aj)?r:this.aj,this.cy=null!=this.c7?this.c7:o):(this.cw=t,this.cx=e,this.af=r,this.cy=o)},Object.defineProperty(n.prototype,"r",{get:function(){return null!=this.svgPath&&!this.view.m},enumerable:!1,configurable:!0}),n.prototype.ch=function(){i.NativeUI.y(this.view.z,this.ak)},n.prototype.cg=function(){this.view.z;if(this.r){var t=this.view.aa;i.NativeUI.r(t,this.cw),i.NativeUI.aa(t,this.cx),i.NativeUI.ad(t,this.af)}else{var e=!1;if(null!=this.svgPath)i.stringStartsWith(i.trimStart(this.svgPath," ","\n","\r","\t"),"<svg")?(this.view.as(this.svgPath),e=!0):this.view.at(this.svgPath);else{if(null!=this.b){this.view.au(this.b);var n=this.view.c;if(null!=n&&n.length>0){var r=i.NativeUI.r,o=i.NativeUI.aa;this.cd(),r=i.runOn(this.view,this.view.an),o=i.runOn(this.view,this.view.ao);for(var s=0;s<n.length;s++)null!=this.cw&&r(n[s],this.cw),null!=this.cx&&o(n[s],this.cx),i.isNaN_(this.af)||i.NativeUI.ad(n[s],this.af),null!=this.cy&&i.NativeUI.q(n[s],this.cy),null!=this.e&&this.e.count==n.length&&r(n[s],this.e.item(s)),null!=this.f&&this.f.count==n.length&&o(n[s],this.f.item(s))}return void(null!=this.m&&this.view.av(this.m))}null!=this.svg?(this.view.as(this.svg),e=!0):null!=this.a7&&this.view.ap(this.a7)}if(e){for(var a=0;a<this.view.r.count;a++){var h=this.view.r._inner[a].c;i.NativeUI.r(this.view.r._inner[a].d,h.l.f(this.c8))}for(var u=0;u<this.view.s.count;u++){var l=this.view.s._inner[u].c;i.NativeUI.aa(this.view.s._inner[u].d,l.m.f(this.c9))}for(var c=0;c<this.view.t.count;c++){var p=this.view.t._inner[c].c;i.NativeUI.r(this.view.t._inner[c].d,p.l.f(this.da))}for(var d=0;d<this.view.u.count;d++){var f=this.view.u._inner[d].c;i.NativeUI.aa(this.view.u._inner[d].d,f.m.f(this.db))}for(var b=0;b<this.view.e.o.count;b++){var y=this.view.e.o._inner[b].split("-"),g=parseInt(y[y.length-1]);if(g<this.e.count)for(var m=0;m<this.view.e.q._inner[b].count;m++){var v=this.view.e.q._inner[b]._inner[m].c;i.NativeUI.r(this.view.e.q._inner[b]._inner[m].d,v.l.f(this.e.item(g)))}}for(var _=0;_<this.view.f.o.count;_++){var C=this.view.f.o._inner[_].split("-"),k=parseInt(C[C.length-1]);if(k<this.f.count)for(var B=0;B<this.view.f.q._inner[_].count;B++){var x=this.view.f.q._inner[_]._inner[B].c;i.NativeUI.aa(this.view.f.q._inner[_]._inner[B].d,x.m.f(this.f.item(k)))}}for(var S=0;S<this.view.q.count;S++){var T=this.view.q._inner[S].c;i.NativeUI.r(this.view.q._inner[S].d,T.l.f(this.cw)),i.NativeUI.aa(this.view.q._inner[S].d,T.m.f(this.cx))}}var P=this.view.z;null!=this.cw&&i.NativeUI.r(P,this.cw),null!=this.cx&&i.NativeUI.aa(P,this.cx),i.isNaN_(this.af)||i.NativeUI.ad(P,this.af)}null!=this.m&&this.view.av(this.m),null!=this.cy&&i.NativeUI.q(this.view.z,this.cy)},n.prototype.cd=function(){var t,n,r,o;if(null!=this.cw&&this.view.am(this.cw,"fill"),null!=this.cx&&this.view.am(this.cx,"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.am(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.am(c,"strokes")}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}},Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.cb("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return this.cj},set:function(t){var e=this.cj;this.cj=t,e!=this.cj&&this.cb("ActualFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.cb("ActualStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.cb("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.cb("ActualStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.cb("Fill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dc",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.cb("Stroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.cb("StrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dd",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.cb("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c5",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.cb("HoverFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c6",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.cb("HoverStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.cb("HoverStrokeThickness",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c7",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.cb("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.cb("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.cb("StrokeColors",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c8",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.cb("PrimaryFillColor",e,this.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.cb("PrimaryStrokeColor",e,this.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.cb("SecondaryFillColor",e,this.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"db",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.cb("SecondaryStrokeColor",e,this.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.cb("DataURL",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.cb("SVGPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.cb("SVG",e,this.ay)},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.cb("SVGPaths",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.b9=function(){this.t=!0},n.prototype.ca=function(){this.t=!1},Object.defineProperty(n.prototype,"m",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.cb("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.cb("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.n=!0,e!=this.ar&&this.cb("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.cb("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.cb("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.cb("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.cb("Opacity",e,this.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.cb("ViewBoxLeft",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.cb("ViewBoxTop",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.cb("ViewBoxWidth",e,this.ad)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.cb("ViewBoxHeight",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.cb("Width",e,this.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.cb("Height",e,this.w)},enumerable:!1,configurable:!0}),n.prototype.cc=function(){},n.prototype.onDetachedFromUI=function(){this.view.aj()},n.prototype.onAttachedToUI=function(){this.view.ag()},n.prototype.b7=function(){this.disabled||null!=this.clicked&&this.clicked(this,new v)},n.prototype.u=function(){return this.view.l()},n.prototype.au=function(){return this.g()},n.prototype.a9=function(){return this.g().l()},n.prototype.g=function(){var t=new _,e=this.view.b();if(t.i=e[0],t.g=e[1],t.f=i.NativeUI.d(this.view.z),t.j=i.NativeUI.k(this.view.z),t.a=this.view.a(),t.svg=this.svg,t.svgPath=this.svgPath,t.k=this.a7,null!=this.m){var n=this.m;if(null!=this.view&&null==n.q){var r=this.view.v,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.o=n.q),i.isNaN_(n.f)||(t.h=n.f),null!=n.v&&(t.s=n.v),null!=n.t&&(t.q=n.t),null!=n.r&&(t.p=n.t)}return t},n.prototype.provideContainer=function(t){this.view.ai(t)},n.$t=i.markType(n,"XIcon",i.Base.$,[i.INotifyPropertyChanged_$type,i.IIcon_$type]),n.cz=null,n.c4=null,n.c3=null,n.c0=null,n.c1=null,n.c2=null,n.ah=NaN,n.ag=NaN,n.at=0,n}(i.Base),B=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.k},set:function(t){this.i.k=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFill",{get:function(){return i.brushToString(this.i.cw)},set:function(t){this.i.cw=i.stringToBrush(t),this._a("actualFill",i.brushToString(this.i.cw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStroke",{get:function(){return i.brushToString(this.i.cx)},set:function(t){this.i.cx=i.stringToBrush(t),this._a("actualStroke",i.brushToString(this.i.cx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.cy)},set:function(t){this.i.cy=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.cy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStrokeWidth",{get:function(){return this.i.af},set:function(t){this.i.af=+t,this._a("actualStrokeWidth",this.i.af)},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.dc)},set:function(t){this.i.dc=i.stringToBrush(t),this._a("stroke",i.brushToString(this.i.dc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"strokeWidth",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("strokeWidth",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dd)},set:function(t){this.i.dd=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverFill",{get:function(){return i.brushToString(this.i.c5)},set:function(t){this.i.c5=i.stringToBrush(t),this._a("hoverFill",i.brushToString(this.i.c5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStroke",{get:function(){return i.brushToString(this.i.c6)},set:function(t){this.i.c6=i.stringToBrush(t),this._a("hoverStroke",i.brushToString(this.i.c6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStrokeThickness",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("hoverStrokeThickness",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.c7)},set:function(t){this.i.c7=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.c7))},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.c8)},set:function(t){this.i.c8=i.stringToBrush(t),this._a("primaryFillColor",i.brushToString(this.i.c8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryStrokeColor",{get:function(){return i.brushToString(this.i.c9)},set:function(t){this.i.c9=i.stringToBrush(t),this._a("primaryStrokeColor",i.brushToString(this.i.c9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryFillColor",{get:function(){return i.brushToString(this.i.da)},set:function(t){this.i.da=i.stringToBrush(t),this._a("secondaryFillColor",i.brushToString(this.i.da))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryStrokeColor",{get:function(){return i.brushToString(this.i.db)},set:function(t){this.i.db=i.stringToBrush(t),this._a("secondaryStrokeColor",i.brushToString(this.i.db))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataURL",{get:function(){return this.i.a7},set:function(t){this.i.a7=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.m?null:this.i.m.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.m=e,this._a("textStyle",null!=this.i.m?this.i.m.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bh},set:function(t){this.i.bh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("tabIndex",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureBool(t),this._a("isHover",this.i.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,"opacity",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("opacity",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxLeft",{get:function(){return this.i.an},set:function(t){this.i.an=+t,this._a("viewBoxLeft",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxTop",{get:function(){return this.i.ao},set:function(t){this.i.ao=+t,this._a("viewBoxTop",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxWidth",{get:function(){return this.i.ap},set:function(t){this.i.ap=+t,this._a("viewBoxWidth",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxHeight",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("viewBoxHeight",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("width",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("height",this.i.ai)},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.au()},n.prototype.exportSerializedVisualModel=function(){return this.i.a9()},n._observedAttributesIgcXIconComponent=null,n.htmlTagName="igc-x-icon",n._isElementRegistered=!1,n}(i.IgcHTMLElement),x=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),B.register(),i.TypeRegistrar.registerCons("IgcXIconComponent",B),i.TypeRegistrar.registerCons("IgcXIconComponent",B),i.TypeRegistrar.register("XIcon",k.$type)},t}(),S=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),O=function(t){return t[t.FirstDay=0]="FirstDay",t[t.FirstFullWeek=1]="FirstFullWeek",t[t.FirstFourDayWeek=2]="FirstFourDayWeek",t}({}),j=i.markEnum("FirstWeek","FirstDay,0|FirstFullWeek,1|FirstFourDayWeek,2"),w=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.w=null,e.c=null,e.m=null,e.w="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.ao=function(){},n.prototype.an=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.aa(),this.a2(),this.a3(),this.a0();var e=this.m.rootWrapper;e.listen("keydown",i.runOn(this,this.z)),e.listen("focus",i.runOn(this,this.y))}else this.m=null},n.prototype.x=function(){return this.w},n.prototype.aa=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.ad(),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.ab(),this.a8(),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.ac();for(var o=0;o<12;o++){this.q.getChildAt(o).listen("click",i.runOn(this,this.ai))}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.ae();for(var h=0;h<7;h++){this.u.getChildAt(h).listen("click",i.runOn(this,this.bd))}this.u.listen("wheel",i.runOn(this,this.be)),this.u.hide()}},n.prototype.ad=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.a4=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.a8=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.ab=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],y=this.m.createElement("span");y.setAttribute("aria-hidden","true"),b.append(y),this.af(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 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.a7(),this.c.cf()}},n.prototype.ac=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.bc=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.ae=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.a7=function(){null!=this.m&&(1==this.c.ae?this.s.setStyleProperty("display","flex"):this.s.setStyleProperty("display","none"))},n.prototype.a2=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.av(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.av(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.av(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.av(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.ap)),b.listen("click",i.runOn(this,this.ak)),a.listen("click",i.runOn(this,this.aj)),c.listen("click",i.runOn(this,this.bf))}},n.prototype.bb=function(){var t=this.g._inner[1].getChildAt(0),e=this.c.bx();t.setText(e)},n.prototype.av=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.a3=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.a0=function(){if(null!=this.m){this.a1(),this.a4();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.ag))}}},n.prototype.a1=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.af=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.as=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(t){this.r.getChildAt(0).setText(t),this.r.parent().parent().setAttribute("aria-label",t)},n.prototype.aw=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.ay=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.at=function(t,e){if(void 0===t&&(t=!1),void 0===e&&(e=!1),null!=this.m){this.a1(t,e),this.a4();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.ax=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.ar()}},n.prototype.a6=function(){if(null!=this.m&&0!=this.j.count){var t=this.c.aq.getFullYear();this.a5(t,!0)}},n.prototype.a5=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.ar=function(t){void 0===t&&(t=!1),this.at(),this.ay(),this.w="day",this.n.show(),this.n.setStyleProperty("display","flex"),this.q.hide(),this.u.hide(),this.au(t),this.ah()},n.prototype.au=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.ah=function(){null!=this.p&&this.p.parent().parent().focus(!0)},n.prototype.aq=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.at(t,e),this.ay())},n.prototype.al=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.at(t,e),this.ay())},n.prototype.a9=function(){this.n.hide(),this.q.show(),this.q.setStyleProperty("display","flex"),this.u.hide(),this.w="month",this.ax(),this.ah()},n.prototype.ba=function(){this.n.hide(),this.q.hide(),this.u.show(),this.w="year",this.a6(),this.ah()},n.prototype.y=function(t){},n.prototype.z=function(t){var e=t.which;if("day"==this.w){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.ah()}else{this.aq(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.au(),this.ah())}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.ah()}else{this.al(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.au(),this.ah())}else 9==e?t.shiftKey?this.c.cs():(t.preventDefault(),this.at(!0),this.ah()):13==e&&(t.preventDefault(),0==r?this.aq(!1):1==r?this.a9():2==r?this.ba():3==r&&this.al(!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.aq(!0,!0),this.ah();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.ah();else{this.aq();var f=this.v(p,d);this.d(f),this.ah()}}else if(39==e)if(41==r)this.al(!0,!1),this.ah();else{var b=this.f._inner[r+1],y=b.getAttribute("data-date").toString().split("/"),g=y[0],m=y[1];if(u==m)this.d(b),this.ah();else{this.al();var v=this.v(g,m);this.d(v),this.ah()}}else if(40==e)if(r>=35){this.al();var _=this.v(h,u),C=parseInt(_.getAttribute("data-index").toString()),k=this.f._inner[C+7].getAttribute("data-date").toString().split("/"),B=k[0],x=k[1],S=this.v(B,x);this.d(S),this.ah()}else{var T=this.f._inner[r+7],P=T.getAttribute("data-date").toString().split("/"),O=P[0],j=P[1];if(u==j)this.d(T),this.ah();else{this.al();var w=this.v(O,j);this.d(w),this.ah()}}else if(38==e)if(r<=6){this.aq();var I=this.v(h,u),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.ah()}else{var D=this.f._inner[r-7],E=D.getAttribute("data-date").toString().split("/"),q=E[0],G=E[1];if(u==G)this.d(D),this.ah();else{this.aq();var W=this.v(q,G);this.d(W),this.ah()}}else if(34==e)this.al(),this.ah();else if(33==e)this.aq(),this.ah();else if(9==e)if(t.shiftKey){t.preventDefault();var $=this.g._inner[1];this.d($),this.ah()}else this.c.cs()}}else if("month"==this.w){var H=parseInt(this.p.getAttribute("data-index").toString());if(37==e)if(0==H){var z=this.h._inner[11];this.d(z),this.ah()}else{var M=this.h._inner[H-1];this.d(M),this.ah()}else if(39==e)if(11==H){var L=this.h._inner[0];this.d(L),this.ah()}else{var V=this.h._inner[H+1];this.d(V),this.ah()}else if(40==e)if(H>=9){var X=this.h._inner[H-9];this.d(X),this.ah()}else{var K=this.h._inner[H+3];this.d(K),this.ah()}else if(38==e)if(H<=2){var Y=this.h._inner[H+9];this.d(Y),this.ah()}else{var J=this.h._inner[H-3];this.d(J),this.ah()}else 13==e&&(this.d(this.g._inner[1]),this.ah())}else if("year"==this.w){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.ah()):38==e?(this.c.cz(Q,-1),this.ah()):13==e&&(this.d(this.g._inner[2]),this.ah())}27==e&&(this.ar(),this.c.cs()),1==t.altKey&&38==e&&(this.ar(),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.ap=function(t){var e=this.g._inner[0];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.aq()},n.prototype.ak=function(t){var e=this.g._inner[3];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.al()},n.prototype.aj=function(t){var e=this.g._inner[1];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.a9()},n.prototype.bf=function(t){var e=this.g._inner[2];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.ba()},n.prototype.ag=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.ai=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.ar())}},n.prototype.bd=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.ar())}},n.prototype.be=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.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.am=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.h(0,255,255,255),e.dc=i.BrushUtil.h(255,33,150,243),e.de=i.BrushUtil.h(255,21,112,184),e.c9=i.BrushUtil.h(76,33,150,243),e.db=i.BrushUtil.h(50,186,191,199),e.df=i.BrushUtil.h(255,24,29,31),e.dd=i.BrushUtil.h(255,255,255,255),e.da=i.BrushUtil.h(255,24,29,31),e.c8=i.BrushUtil.h(255,33,150,243),e.c7=i.BrushUtil.h(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.ao(),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 w).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.am()},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.an(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(j,e),i.enumGetBox(j,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.a7();break;case"FirstDayOfWeek":this.cx();break;case"FirstWeekOfYear":case"ShowWeekNumbers":this.h.a8(),this.cx()}},n.prototype.c3=function(){for(var t=0;t<this.aj.count;t++)null!=this.dq&&(this.aj._inner[t].p4=this.dq),null!=this.dk&&(this.aj._inner[t].p0=this.dk),null!=this.dg&&(this.aj._inner[t].pu=this.dg),null!=this.dj&&(this.aj._inner[t].pz=this.dj),null!=this.dl&&(this.aj._inner[t].p1=this.dl);for(var e=0;e<this.ah.count;e++)null!=this.dq&&(this.ah._inner[e].p4=this.dq),null!=this.dk&&(this.ah._inner[e].p0=this.dk),null!=this.dg&&(this.ah._inner[e].pu=this.dg),null!=this.dj&&(this.ah._inner[e].pz=this.dj),null!=this.dl&&(this.ah._inner[e].p1=this.dl);for(var i=0;i<this.ak.count;i++)null!=this.dq&&(this.ak._inner[i].p4=this.dq),null!=this.dk&&(this.ak._inner[i].p0=this.dk),null!=this.dg&&(this.ak._inner[i].pu=this.dg),null!=this.dj&&(this.ak._inner[i].pz=this.dj),null!=this.dl&&(this.ak._inner[i].p1=this.dl);for(var n=0;n<this.al.count;n++)null!=this.dq&&(this.al._inner[n].p4=this.dq),null!=this.dk&&(this.al._inner[n].p0=this.dk),null!=this.dg&&(this.al._inner[n].pu=this.dg),null!=this.dj&&(this.al._inner[n].pz=this.dj),null!=this.dl&&(this.al._inner[n].p1=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.au(),this.h.ah()},n.prototype.c1=function(){},n.prototype.c0=function(){},n.prototype.ch=function(){this.value=i.dateMinValue(),this.h.at()},n.prototype.cx=function(){this.c5(),this.h.a3(),this.cg(),this.h.ay(),this.h.a6(),this.h.at()},n.prototype.c5=function(){var t=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.az(t),this.h.bc(),this.h.bb()},n.prototype.cf=function(){this.cg()},n.prototype.ci=function(t,e,n){var r=new b;this.h.as(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d3=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.kt=o,r.k0=o,r.dk=0,r.appendButtonContent(e),r.p4=this.dq,r.p0=this.dk,r.pu=this.dg,r.pz=this.dj,r.p1=this.dl,r.bu=30,r.bt=30,this.ah.add(r),r.h2="btnDays"+n.toString()},n.prototype.cm=function(t,e){var n=new b;this.h.as(t,n),n.n=this.r,n.r=this.t,n.aa=this.u,n.d3=-1,n.e=1,null!=this.u&&(n.aa=this.u);var r=new i.CornerRadius(0,2);n.kt=r,n.k0=r,n.dk=0,n.appendButtonContent(e);var o=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.az(o),n.p4=this.dq,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.p1=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.ar(!0)},n.prototype.cl=function(t,e){var n=new b;this.h.as(t,n),n.n=this.r,n.r=this.t,n.aa=this.u,n.d3=-1,n.e=1,null!=this.u&&(n.aa=this.u);var r=new i.CornerRadius(0,2);n.kt=r,n.k0=r,n.dk=0,n.appendButtonContent(e),n.p4=this.dq,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.p1=this.dl,n.bu=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].h2="btnMonth"+n[1],n},n.prototype.cn=function(t,e,n){var r=new b;this.h.as(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d3=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.kt=o,r.k0=o,r.dk=0,r.appendButtonContent(e),r.p4=this.dq,r.p0=this.dk,r.pu=this.dg,r.pz=this.dj,r.p1=this.dl,r.h2="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 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.as(t,s),s.n=this.r,s.r=this.t,s.aa=this.u,s.d3=-1,s.e=1;var a=new i.CornerRadius(0,2);s.kt=a,s.k0=a,s.dk=0;var h=new k;this.h.aw(e,h),"prev"==o?(h.svgPath=n.bk,s.h2="btnPrev"):"next"==o&&(h.svgPath=n.bl,s.h2="btnNext"),s.appendButtonContent(r),s.p4=this.dq,s.p0=this.dk,s.pu=this.dg,s.pz=this.dj,s.p1=this.dl,s.bu=28,s.bt=28,this.aj.add(s)},n.prototype.cj=function(t,e,n){var r=new b;this.h.as(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d3=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.kt=o,r.k0=o,r.dk=0,r.appendButtonContent(e),r.p4=this.dq,r.p0=this.dk,r.pu=this.dg,r.pz=this.dj,r.p1=this.dl,r.bu=40,"month"==n?r.h2="btnMonth":"year"==n&&(r.h2="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.p4=this.dn,n.p0=this.dn,n.pu=this.dm,n.pz=this.dp,n.pv=this.dg):e.b==this.av.getDate()&&e.c==i.dateGetMonth(this.av)&&e.d==this.av.getFullYear()?(n.p4=this.di,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.pv=this.dh,n.br=1):(0!=e.a&&6!=e.a&&(e.c,i.dateGetMonth(this.aq)),n.p4=this.dq,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.pv=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.a5(t)},n.prototype.cy=function(){this.h.ar()},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.x();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].h2&&(this.aj._inner[s].h2="header"+s.toString());var a=this.aj._inner[s].d7();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].h2&&(this.ah._inner[h].h2="days"+h.toString());var u=this.ah._inner[h].d7();u.s=u.s-r,u.q=u.q-o,t.j.add(u)}if(1==this.ae){this.g.h2="todayButton";var l=this.g.d7();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 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[_].h2&&(this.ak._inner[_].h2="months"+_.toString());var C=this.ak._inner[_].d7();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].h2&&(this.al._inner[k].h2="years"+k.toString());var B=this.al._inner[k].d7();B.s=B.s-r,B.q=B.q-o,t.j.add(B)}if(null!=this.v){var x=this.v;if(null!=this.h&&null==x.q){var S=this.h.m,T=i.FontUtil.getFontInfoFromString(S,x.fontString);x.q=T.q,x.f=T.f,x.r=T.r,x.t=T.t,x.u=T.u,x.v=T.v}null!=x.q&&(t.p=x.q),i.isNaN_(x.f)||(t.m=x.f),null!=x.v&&(t.t=x.v),null!=x.t&&(t.r=x.t),null!=x.r&&(t.q=x.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 w},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"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(j,t),this._a("firstWeekOfYear",i.enumToString(j,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(),x.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}(),G=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"),$=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),H=i.markEnum("PrefixShiftType","Line,0|Box,1|Border,2"),z=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),M=i.markEnum("LabelShiftType","Line,0|Box,1|Border,2"),L=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),V=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),K=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(H,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),Y=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].k.charAt(0).toString().toLowerCase(),this.k._inner[r].k.substr(1);t.l(this.k._inner[r].n())}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.h=0,e.f=0,e.b=0,e.c=0,e.j=null,e.m=null,e.d=!1,e.a=null,e.q=null,e.r=null,e.s=null,e.g=0,e.o=null,e.p=null,e.i=null,e.l=null,e.e=!1,e.t=null,e.k=null,e}return e.__extends(n,t),n.prototype.n=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.h+", "),t.l("left : "+this.f+", "),t.l("shiftType : "+this.b+", "),t.l("actualDensity : "+this.c+", "),t.l('mask : "'+this.j+'", '),t.l('promptChar : "'+this.m+'", '),t.l("includeLiterals : "+this.d+", "),t.l("actualTextColor : "+this.a.serialize()+", "),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.g)||t.l("textStyleFontSize : "+this.g+", "),t.l('inputType : "'+this.i+'", '),t.l('placeholder : "'+this.l+'", '),t.l("isHover : "+this.e+", "),t.l('value : "'+this.t+'", '),t.l('name : "'+this.k+'", '),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 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(""==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 B=e.__values(i.fromEnum(v)),x=B.next();!x.done;x=B.next()){var S=x.value;h=this.j(h,d._inner[k++],S)}}catch(t){s={error:t}}finally{try{x&&!x.done&&(a=B.return)&&a.call(B)}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.bc="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")}},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.i()},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.g=null,e.b=null,e.e=new i.List$1(i.Delegate_$type,0),e.c=!0,e.h=null,e}return e.__extends(n,t),n.prototype.o=function(){},n.prototype.d=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.m=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.e)),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.e.clear()}this.g=t,this.g.rootWrapper.setStyleProperty("display","inline-block");var a=this.g.createElement("div");a.addClass("ig-suffix-content"),this.g.append(a),a.setStyleProperty("cursor","pointer"),this.h=a,this.g.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.q=function(){var t,e=this,n=new i.TransformGroup;n.j.add(((t=new i.TranslateTransform).k=2==e.a.k?-.25*e.f():0,t)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.g.rootWrapper,n),this.g.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.f=function(){var t=this.g.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.p=function(){this.d()},n.prototype.i=function(t){this.a.aj()},n.prototype.j=function(t){this.a.ak()},n.prototype.l=function(){this.c=!0,this.e.add(this.g.rootWrapper.listen("mouseenter",i.runOn(this,this.i))),this.e.add(this.g.rootWrapper.listen("mouseleave",i.runOn(this,this.j)))},n.prototype.n=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.e)),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.e.clear()},n.prototype.k=function(t){this.h.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.g=null,e.b=null,e.e=new i.List$1(i.Delegate_$type,0),e.c=!0,e.h=null,e}return e.__extends(n,t),n.prototype.o=function(){},n.prototype.d=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.m=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.e)),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.e.clear()}this.g=t,this.g.rootWrapper.setStyleProperty("display","inline-block");var a=this.g.createElement("div");a.addClass("ig-prefix-content"),this.g.append(a),a.setStyleProperty("cursor","pointer"),this.h=a,this.g.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.q=function(){var t,e=this,n=new i.TransformGroup;n.j.add(((t=new i.TranslateTransform).k=2==e.a.k?-.25*e.f():0,t)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.g.rootWrapper,n),this.g.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.f=function(){var t=this.g.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.p=function(){this.d()},n.prototype.i=function(t){this.a.aj()},n.prototype.j=function(t){this.a.ak()},n.prototype.l=function(){this.c=!0,this.e.add(this.g.rootWrapper.listen("mouseenter",i.runOn(this,this.i))),this.e.add(this.g.rootWrapper.listen("mouseleave",i.runOn(this,this.j)))},n.prototype.n=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.e)),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.e.clear()},n.prototype.k=function(t){this.h.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.k=null,e.d=null,e.h=new i.List$1(i.Delegate_$type,0),e.o=null,e.e=!0,e.l=null,e.m=null,e}return e.__extends(n,t),n.prototype.ab=function(){},n.prototype.f=function(){return!0},Object.defineProperty(n.prototype,"n",{get:function(){return this.l},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.s=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.k.rootWrapper,0,null,t)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.k.rootWrapper,0,null,t)},n.prototype.w=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.h)),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.h.clear()}this.k=t,this.k.rootWrapper.setStyleProperty("display","inline-block"),this.k.rootWrapper.setStyleProperty("position","relative");var a=this.k.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.k.rootWrapper,this.c.cz),a.setStyleProperty("outline-style","none"),a.setStyleProperty("box-shadow","none"),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.l=a,this.k.append(this.l),this.c.ch()},n.prototype.j=function(){return 0==this.c.l?.5*this.i():0},n.prototype.af=function(){var t=this;this.c.bi="block";var e,n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=0==t.c.l?.5*t.i():0,e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.k.rootWrapper,n),this.l.setStyleProperty("height","1.125rem"),this.k.rootWrapper.setStyleProperty("position","absolute"),this.k.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.ag=function(){switch(this.c.s){case 1:this.k.rootWrapper.setStyleProperty("margin-top","0px");break;case 2:this.k.rootWrapper.setStyleProperty("margin-top","-.125rem");break;case 3:this.k.rootWrapper.setStyleProperty("margin-top","-.25rem")}},n.prototype.ae=function(){this.l.setText(null!=this.c.text?this.c.text:"")},n.prototype.ah=function(t){this.o!=t&&(this.o=t,null!=this.m&&this.m.setAttribute("d",this.o))},n.prototype.y=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("display",this.c.bi),this.l.setStyleProperty("display",this.c.bi);var t=this.k.getExternal(this.c,null,null);t&&t._onDisplayChanged&&t._onDisplayChanged()}},n.prototype.t=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("align-items",this.c.ba),this.l.setStyleProperty("align-items",this.c.ba);var t=this.k.getExternal(this.c,null,null);t&&t._onAlignItemsChanged&&t._onAlignItemsChanged()}},n.prototype.u=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("align-self",this.c.bc),this.l.setStyleProperty("align-self",this.c.bc);var t=this.k.getExternal(this.c,null,null);t&&t._onAlignSelfChanged&&t._onAlignSelfChanged()}},n.prototype.z=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-direction",this.c.bl),this.l.setStyleProperty("flex-direction",this.c.bl);var t=this.k.getExternal(this.c,null,null);t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.aa=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-grow",this.c.bn),this.l.setStyleProperty("flex-grow",this.c.bn);var t=this.k.getExternal(this.c,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.p=function(t){},n.prototype.ac=function(){this.f()},n.prototype.i=function(){var t=this.k.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.q=function(t){this.c.ce()},n.prototype.r=function(t){this.c.cf()},n.prototype.v=function(){this.e=!0,this.h.add(this.k.rootWrapper.listen("mouseenter",i.runOn(this,this.q))),this.h.add(this.k.rootWrapper.listen("mouseleave",i.runOn(this,this.r)))},n.prototype.x=function(){var t,n;this.e=!1;try{for(var r=e.__values(i.fromEnum(this.h)),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.h.clear()},n.prototype.ai=function(t){null!=t&&this.l.setStyleProperty("font",t.fontString)},n.prototype.ad=function(t){i.NativeUI.q(this.l,t)},n.$t=i.markType(n,"LabelView"),n}(i.Base),ut=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.l=null,e.c=null,e.j=new i.List$1(i.Delegate_$type,0),e.g=!1,e.f=!1,e.r=null,e.d=!0,e.m=null,e.n=null,e.g=!1,e}return e.__extends(n,t),n.prototype.as=function(){},n.prototype.h=function(){return!0},Object.defineProperty(n.prototype,"q",{get:function(){return this.m},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.ap=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.j)),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.j.clear()}this.l=t,this.l.rootWrapper.setStyleProperty("display","inline-block");var a=this.l.createElement("input");a.setAttribute("type",this.b.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.b.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.t(this.b.dy)),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.j.add(a.listen("change",i.runOn(this,this.y))),this.j.add(a.listen("input",i.runOn(this,this.z))),this.j.add(a.listen("focus",i.runOn(this,this.ae))),this.j.add(a.listen("blur",i.runOn(this,this.x))),this.j.add(a.listen("mouseenter",i.runOn(this,this.v))),this.j.add(a.listen("mouseleave",i.runOn(this,this.w))),this.j.add(a.listen("keydown",i.runOn(this,this.af))),this.j.add(a.listen("keyup",i.runOn(this,this.ah))),this.j.add(a.listen("keypress",i.runOn(this,this.ag))),this.j.add(a.listen("paste",i.runOn(this,this.ak))),this.j.add(a.listen("dragenter",i.runOn(this,this.ac))),this.j.add(a.listen("dragleave",i.runOn(this,this.ad))),this.j.add(a.listen("compositionstart",i.runOn(this,this.ab))),this.j.add(a.listen("compositionend",i.runOn(this,this.aa))),this.j.add(a.listen("mousedown",i.runOn(this,this.ai))),this.j.add(a.listen("mouseup",i.runOn(this,this.aj))),this.m=a,this.l.append(this.m),this.am(),this.b.dl()},n.prototype.a0=function(t){t?this.m.setAttribute("readonly",t.toString()):this.m.getNativeElement().removeAttribute("readonly")},n.prototype.ay=function(t){t?this.m.setAttribute("disabled","true"):this.m.getNativeElement().removeAttribute("disabled")},n.prototype.a5=function(t){this.m.setStyleProperty("text-align",this.t(t))},n.prototype.a4=function(t){t?this.m.removeClass("ig-input-hide-spinner"):this.m.addClass("ig-input-hide-spinner")},n.prototype.ab=function(t){this.g=!0,this.b.c3()},n.prototype.aa=function(t){this.g=!1;var e=null;null!=t.originalEvent&&(e=t.originalEvent.data),this.b.c2(e)},n.prototype.t=function(t){switch(t){case 0:return"left";case 2:return"right";case 1:return"center"}return"left"},n.prototype.aw=function(){this.m.setAttribute("type",this.b.b8),"date"==this.b.b8?this.m.setStyleProperty("line-height","normal"):this.m.setStyleProperty("line-height","0")},n.prototype.au=function(){this.m.setAttribute("placeholder",this.b.cg)},n.prototype.a9=function(){switch(this.b.z){case 1:this.m.setStyleProperty("height","2rem"),this.m.setStyleProperty("font-size","1rem");break;case 2:this.m.setStyleProperty("height","1.68421rem"),this.m.setStyleProperty("font-size","1rem");break;case 3:this.m.setStyleProperty("height","1.45455rem"),this.m.setStyleProperty("font-size",".95455rem")}},n.prototype.a8=function(){var t=this,e=this.k();(i.isNaN_(e)||0==e)&&(this.f||(this.f=!0,this.l.setTimeout((function(){t.f=!1,t.a8()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.b.o?-.25*t.k():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.l.rootWrapper,r),this.l.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.k=function(){var t=this.l.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.ax=function(t){this.m.setProperty("value",t)},n.prototype.az=function(t){this.m.setAttribute("name",t)},n.prototype.x=function(t){this.b.cz()},n.prototype.ae=function(t){this.b.c7()},n.prototype.ai=function(t){var e=this.bc(t);this.b.dd(e),e.handled&&t.preventDefault()},n.prototype.aj=function(t){var e=this.bc(t);this.b.dg(e),e.handled&&t.preventDefault()},n.prototype.bc=function(t){var e=new i.MouseButtonEventArgs;return e.position={$type:i.Point_$type,x:t.offsetX,y:t.offsetY},e},n.prototype.y=function(t){this.b.c0()},n.prototype.z=function(t){this.b.c1()},n.prototype.af=function(t){var e=new i.KeyEventArgs(0,t);this.b.da(e)},n.prototype.ah=function(t){var e=new i.KeyEventArgs(0,t);this.b.dc(e)},n.prototype.ag=function(t){var e=new i.KeyEventArgs(0,t);this.b.db(e)},n.prototype.ak=function(t){this.b.dh()},n.prototype.ac=function(t){this.b.c5()},n.prototype.ad=function(t){this.b.c6()},n.prototype.ba=function(t){this.r!=t&&(this.r=t,null!=this.n&&this.n.setAttribute("d",this.r))},n.prototype.s=function(){return this.m.getProperty("value")},n.prototype.u=function(t){},n.prototype.a7=function(){this.h()&&(this.b.as?this.m.setAttribute("tabindex",this.b.be.toString()):this.m.getNativeElement().removeAttribute("tabindex"))},n.prototype.p=function(){var t=this.m.getProperty("selectionStart");return i.typeGetValue(t)},n.prototype.o=function(){var t=this.m.getProperty("selectionEnd");return i.typeGetValue(t)},n.prototype.a3=function(t){this.m.setProperty("selectionStart",t)},n.prototype.a1=function(t){this.m.setProperty("selectionEnd",t)},n.prototype.at=function(){this.h()},n.prototype.v=function(t){this.b.de()},n.prototype.w=function(t){this.b.df()},n.prototype.an=function(){this.d=!0,this.j.add(this.m.listen("change",i.runOn(this,this.y))),this.j.add(this.m.listen("input",i.runOn(this,this.z))),this.j.add(this.m.listen("focus",i.runOn(this,this.ae))),this.j.add(this.m.listen("blur",i.runOn(this,this.x))),this.j.add(this.m.listen("mouseenter",i.runOn(this,this.v))),this.j.add(this.m.listen("mouseleave",i.runOn(this,this.w))),this.j.add(this.m.listen("keydown",i.runOn(this,this.af))),this.j.add(this.m.listen("paste",i.runOn(this,this.ak))),this.j.add(this.m.listen("dragenter",i.runOn(this,this.ac))),this.j.add(this.m.listen("dragleave",i.runOn(this,this.ad))),this.j.add(this.m.listen("compositionstart",i.runOn(this,this.ab))),this.j.add(this.m.listen("compositionend",i.runOn(this,this.aa))),this.j.add(this.m.listen("mousedown",i.runOn(this,this.ai))),this.j.add(this.m.listen("mouseup",i.runOn(this,this.aj)))},n.prototype.aq=function(){var t,n;this.d=!1;try{for(var r=e.__values(i.fromEnum(this.j)),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.j.clear()},n.prototype.bb=function(t){null!=t&&this.m.setStyleProperty("font",t.fontString)},n.prototype.a6=function(){},n.prototype.ao=function(){null!=this.m&&this.m.getNativeElement().blur()},n.prototype.ar=function(t){null!=this.m&&this.m.focus(t)},n.prototype.av=function(){null!=this.m&&this.m.getNativeElement().select()},n.prototype.a2=function(t,e){null!=this.m&&this.m.getNativeElement().setSelectionRange(t,e)},n.prototype.al=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l.rootWrapper,0,null,t)},n.prototype.am=function(){if(!n.e){var t=this.l.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.e=!0}},n.$t=i.markType(n,"InputView"),n.e=!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.o(),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.q()},n.prototype.ai=function(){this.view.q()},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.n()},n.prototype.onAttachedToUI=function(){this.view.l()},n.prototype.r=function(){return this.view.d()},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.k(t)},n.prototype.provideContainer=function(t){this.view.m(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.o(),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(H,e),i.enumGetBox(H,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.q()},n.prototype.ai=function(){this.view.q()},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.n()},n.prototype.onAttachedToUI=function(){this.view.l()},n.prototype.r=function(){return this.view.d()},n.prototype.t=function(){return this.i()},n.prototype.y=function(){return this.i().e()},n.prototype.i=function(){var t=new K;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.k(t)},n.prototype.provideContainer=function(t){this.view.m(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(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)),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.c)?e.c:t.c,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.b)?e.b:t.b,i.isNaN_(t.a)?e.a:t.a)},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.ck(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.a8()})),this.js((function(t){return t.view.af()})),this.jt((function(t){return t.view.q()})),this.ju((function(t){return t.view.q()}))},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.ck(!0,!t.aj)})),this.jr((function(e){return e.dq(t.ar,!t.aj)}))):(this.js((function(e){return e.ck(!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.al=!0})),this.j4(1)}else{this.js((function(t){return t.al=!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.a8()})),this.js((function(t){return t.view.af()})),this.jt((function(t){return t.view.q()})),this.ju((function(t){return t.view.q()}))},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(K.$,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].au())):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 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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(0,0,0,0)),t}())),t}()),n.n5=i.BrushUtil.h(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.h(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.h(25,0,0,0)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.aa=null,e.z=null,e.r=0,e.q=1,e.cr=c.ah(n.o,n.da,n.c3),e.co=c.ah(n.o,n.c7,n.c0),e.cp=c.ah(n.o,n.c8,n.c1),e.cq=c.ah(n.o,n.c9,n.c2),e.u=null,e.cv=n.db,e.cs=n.c4,e.ct=n.c5,e.k=0,e.af=!1,e.ad=!1,e.v=null,e.cu=null,e.a2="ig-label-"+n.at++,e.ay="inline-block",e.az="inline-block",e.a0=null,e.av="center",e.aw="center",e.ar=0,e.ab=!1,e.a1=null,e.ax=null,e.a3=null,e.ae=!1,e.ai=!1,e.ac=!1,e.ah=!1,e.ag=!1,e.ap=!1;var i=new ht;return i.c=e,e.view=i,e.view.ab(),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.b8=function(){var t=this;this.view.s();var e;if(null==this.aa){var n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=t.view.j(),e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}());var r=-1.3*this.view.i();2==this.s&&(r=-1.05*this.view.i()),3==this.s&&(r=-1.01*this.view.i());var o=new i.TransformGroup;o.j.add(function(){var e=new i.TranslateTransform;return e.k=2==t.l?r:-.65*t.view.i(),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.h(0,255,255,255))).m(new i.AnimationKeyFrameProperty(14,o),new i.AnimationKeyFrameProperty(2,i.BrushUtil.h(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.cz)).m(new i.AnimationKeyFrameProperty(7,this.cw))))},n.prototype.ci=function(t,e){var i=this;if(e>0&&t.playbackRate<0||e<0&&t.playbackRate>0){if(t.reverse(),this.ap)return t.finish(),void this.b9(t);t.finished.f((function(e){return i.b9(t)}))}else{if(t.play(),this.ap)return t.finish(),void this.b9(t);t.finished.f((function(e){return i.b9(t)}))}},n.prototype.b9=function(t){t.commitStyles(),t==this.aa&&this.ah&&(this.aa=null),t==this.z&&this.ag&&(this.z=null)},n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"BaseTheme":this.cl(this.p),this.cn();break;case"TextColor":case"HoverTextColor":case"TextStyle":case"HighlightTextColor":case"HoverHighlightTextColor":this.cn();break;case"ActualTextColor":case"ActualHoverTextColor":case"ActualTextStyle":case"ActualHighlightTextColor":case"ActualHoverHighlightTextColor":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ah=!0),null!=this.z&&(3==this.z.playState?this.z=null:this.ag=!0),this.cm();break;case"Text":this.view.ae();break;case"Density":this.s=0==this.t?1:this.t;break;case"ActualDensity":this.view.ag(),this.view.af();break;case"InputGroup":this.view.af();break;case"IsHighlighted":this.cc();break;case"IsShifted":this.cd();break;case"ShiftType":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ah=!0),this.cg();break;case"Display":this.view.y();break;case"FlexDirection":this.view.z();break;case"FlexGrow":this.view.aa();break;case"AlignItems":this.view.t();break;case"AlignSelf":this.view.u()}},n.prototype.cg=function(){this.view.af()},n.prototype.cd=function(){this.b8();var t=1;this.an||(t=-1),this.ci(this.aa,t)},n.prototype.cc=function(){this.b8();var t=1;this.al||(t=-1),this.ci(this.z,t)},n.prototype.cn=function(){this.cz=null!=this.df?this.df:n.db,this.cy=null!=this.de?this.de:n.db,this.cw=null!=this.dc?this.dc:n.c4,this.w=null!=this.y?this.y:n.x},n.prototype.cm=function(){null!=this.w&&this.view.ai(this.w),this.view.ad(this.cz)},n.prototype.cl=function(t){n.db=c.ah(t,n.da,n.c3),n.c4=c.ah(t,n.c7,n.c0),n.c6=c.ah(t,n.c9,n.c2),n.c5=c.ah(t,n.c8,n.c1)},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,"cz",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.g("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.g("ActualHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.g("ActualHoverHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&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,"df",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.g("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dc",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.g("HighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dd",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&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(M,e),i.enumGetBox(M,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.g("IsShifted",e,t)},enumerable:!1,configurable:!0}),n.prototype.ck=function(t,e){void 0===e&&(e=!0);var i=this.ap;e||(this.ap=!0);try{this.an=t}finally{e||(this.ap=i)}},Object.defineProperty(n.prototype,"al",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.g("IsHighlighted",e,t)},enumerable:!1,configurable:!0}),n.prototype.ce=function(){this.am=!0},n.prototype.cf=function(){this.am=!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,"de",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.g("HoverTextColor",e,t)},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.g("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.g("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.g("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.g("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.g("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.g("AlignSelf",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ab},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.ab=!0,e!=this.ar&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.g("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.g("Value",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.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.ch=function(){this.view.ae()},n.prototype.onDetachedFromUI=function(){this.view.x()},n.prototype.onAttachedToUI=function(){this.view.v()},n.prototype.ao=function(){return this.view.f()},n.prototype.au=function(){return this.j()},n.prototype.bk=function(){return this.j().q()},n.prototype.j=function(){var t=new Z,e=this.view.n;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.an,t.g=this.al,t.m=this.bi,t.n=this.bl,t.o=this.bn,t.l=this.ba,t.r=this.text,t.h=this.am,t.j=this.aq,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.k,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.w(t)},n.$t=i.markType(n,"XLabel",lt.$),n.da=i.BrushUtil.h(221,0,0,0),n.c7=i.BrushUtil.h(255,0,153,155),n.c9=i.BrushUtil.h(221,0,0,0),n.c8=i.BrushUtil.h(255,0,153,155),n.c3=i.BrushUtil.h(255,24,29,31),n.c0=i.BrushUtil.h(255,33,150,243),n.c2=i.BrushUtil.h(255,24,29,31),n.c1=i.BrushUtil.h(255,33,150,243),n.o=2,n.db=c.ah(n.o,n.da,n.c3),n.c4=c.ah(n.o,n.c7,n.c0),n.c6=c.ah(n.o,n.c9,n.c2),n.c5=c.ah(n.o,n.c8,n.c1),n.x=null,n.at=0,n}(lt),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 ut;return r.b=e,e.view=r,e.view.as(),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(V,e),i.enumGetBox(V,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.ax(this.cq),null!=this.b&&this.b.kh(),null==this.ce||this.aq||this.dw(this.cq));break;case"Name":this.view.az(this.e);break;case"Density":this.z=0==this.aa?1:this.aa;break;case"ActualDensity":this.view.a9(),this.view.a8();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.ay(this.am);break;case"IsReadOnly":this.view.a0(this.ao);break;case"TextAlignment":this.view.a5(this.dy);break;case"ShowSpinner":this.view.a4(this.a1);break;case"TabIndex":this.view.a7()}},n.prototype.di=function(){this.view.au()},n.prototype.dk=function(){this.view.aw()},n.prototype.dj=function(){this.view.a8()},n.prototype.c8=function(){this.view.a8()},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.bb(this.ad),i.NativeUI.q(this.view.q,this.d4),this.view.a6()},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.s(),null!=this.change&&this.change(this,((t=new nt).value=e.cq,t.isCompositionInProgress=e.view.g,t)),this.al=!1},n.prototype.c1=function(){var t,e=this;if(this.al=!0,this.cq=this.view.s(),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.g,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.a7()},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.aq()},n.prototype.onAttachedToUI=function(){this.view.an()},n.prototype.az=function(){return this.view.h()},n.prototype.bg=function(){return this.j()},n.prototype.b1=function(){return this.j().n()},n.prototype.j=function(){var t=new tt,e=this.view.q;if(t.h=this.view.l.rootWrapper.getNativeElement().offsetTop,t.f=this.view.l.rootWrapper.getNativeElement().offsetLeft,t.b=this.o,t.c=this.z,t.j=this.ce,t.m=this.ci,t.d=this.au,t.a=i.AppearanceHelper.a(i.NativeUI.al(e)),t.i=this.b8,t.l=this.cg,t.e=this.aw,t.t=this.cq,t.k=this.e,null!=this.ad){var n=this.ad;if(null!=this.view&&null==n.q){var r=this.view.l,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.o=n.q),i.isNaN_(n.f)||(t.g=n.f),null!=n.v&&(t.s=n.v),null!=n.t&&(t.q=n.t),null!=n.r&&(t.p=n.t)}return t},n.prototype.dr=function(t,e){this.view.a2(t,e)},n.prototype.provideContainer=function(t){this.view.ap(t)},n.prototype.ct=function(){this.cz(),this.view.ao()},n.prototype.focus=function(t){void 0===t&&(t=!1),this.c7(),this.view.ar(t)},n.prototype.dp=function(){this.view.av()},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.g,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.p(),e=this.view.o();return t==e&&this.ai?e-this.bk.length:t},n.prototype.ba=function(){return this.view.o()},Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this.bb()},set:function(t){this.view.a3(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this.ba()},set:function(t){this.view.a1(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.al(),null==this.ag&&(this.ag=i.KeyFrameAnimationFactory.f.c(this.view.a(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.h(221,0,0,0),n.d5=i.BrushUtil.h(221,0,0,0),n.ae=null,n.bf=0,n}(lt),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 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 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),Bt=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",yt.$type)},t}(),xt=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(){},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.cz)},set:function(t){this.i.cz=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.cz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightTextColor",{get:function(){return i.brushToString(this.i.cw)},set:function(t){this.i.cw=i.stringToBrush(t),this._a("actualHighlightTextColor",i.brushToString(this.i.cw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverHighlightTextColor",{get:function(){return i.brushToString(this.i.cx)},set:function(t){this.i.cx=i.stringToBrush(t),this._a("actualHoverHighlightTextColor",i.brushToString(this.i.cx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.cy)},set:function(t){this.i.cy=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.cy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.df)},set:function(t){this.i.df=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.df))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightTextColor",{get:function(){return i.brushToString(this.i.dc)},set:function(t){this.i.dc=i.stringToBrush(t),this._a("highlightTextColor",i.brushToString(this.i.dc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverHighlightTextColor",{get:function(){return i.brushToString(this.i.dd)},set:function(t){this.i.dd=i.stringToBrush(t),this._a("hoverHighlightTextColor",i.brushToString(this.i.dd))},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.de)},set:function(t){this.i.de=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.de))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bu},set:function(t){this.i.bu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.bi},set:function(t){this.i.bi=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.bl},set:function(t){this.i.bl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.ba},set:function(t){this.i.ba=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignSelf",{get:function(){return this.i.bc},set:function(t){this.i.bc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("tabIndex",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"for",{get:function(){return this.i.bp},set:function(t){this.i.bp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.be},set:function(t){this.i.be=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.am},set:function(t){this.i.am=i.ensureBool(t),this._a("isHover",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.aq},set:function(t){this.i.aq=i.ensureBool(t),this._a("value",this.i.aq)},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.au()},n.prototype.exportSerializedVisualModel=function(){return this.i.bk()},n._observedAttributesIgcXLabelComponent=null,n.htmlTagName="igc-x-label",n._isElementRegistered=!1,n}(gt),St=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),xt.register(),i.TypeRegistrar.registerCons("IgcXLabelComponent",xt),i.TypeRegistrar.registerCons("IgcXLabelComponent",xt),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,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=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.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.b=+t,this._a("actualCornerRadiusBottomRight",this.i.ko.b),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.ko?this.i.ko.a:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.a=+t,this._a("actualCornerRadiusBottomLeft",this.i.ko.a),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.ko?this.i.ko.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.c=+t,this._a("actualCornerRadiusTopLeft",this.i.ko.c),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.ko?this.i.ko.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.d=+t,this._a("actualCornerRadiusTopRight",this.i.ko.d),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.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.b=+t,this._a("cornerRadiusBottomRight",this.i.ks.b),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.ks?this.i.ks.a:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.a=+t,this._a("cornerRadiusBottomLeft",this.i.ks.a),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.ks?this.i.ks.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.c=+t,this._a("cornerRadiusTopLeft",this.i.ks.c),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.ks?this.i.ks.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.d=+t,this._a("cornerRadiusTopRight",this.i.ks.d),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.b:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.b=+t,this._a("lineTypeCornerRadiusBottomRight",this.i.kx.b),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusBottomLeft",{get:function(){return this.i.kx?this.i.kx.a:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.a=+t,this._a("lineTypeCornerRadiusBottomLeft",this.i.kx.a),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopLeft",{get:function(){return this.i.kx?this.i.kx.c:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.c=+t,this._a("lineTypeCornerRadiusTopLeft",this.i.kx.c),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopRight",{get:function(){return this.i.kx?this.i.kx.d:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.d=+t,this._a("lineTypeCornerRadiusTopRight",this.i.kx.d),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.b:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.b=+t,this._a("boxTypeCornerRadiusBottomRight",this.i.kq.b),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusBottomLeft",{get:function(){return this.i.kq?this.i.kq.a:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.a=+t,this._a("boxTypeCornerRadiusBottomLeft",this.i.kq.a),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopLeft",{get:function(){return this.i.kq?this.i.kq.c:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.c=+t,this._a("boxTypeCornerRadiusTopLeft",this.i.kq.c),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopRight",{get:function(){return this.i.kq?this.i.kq.d:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.d=+t,this._a("boxTypeCornerRadiusTopRight",this.i.kq.d),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.b:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.b=+t,this._a("borderTypeCornerRadiusBottomRight",this.i.kp.b),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusBottomLeft",{get:function(){return this.i.kp?this.i.kp.a:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.a=+t,this._a("borderTypeCornerRadiusBottomLeft",this.i.kp.a),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopLeft",{get:function(){return this.i.kp?this.i.kp.c:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.c=+t,this._a("borderTypeCornerRadiusTopLeft",this.i.kp.c),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopRight",{get:function(){return this.i.kp?this.i.kp.d:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.d=+t,this._a("borderTypeCornerRadiusTopRight",this.i.kp.d),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.b:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.b=+t,this._a("searchTypeCornerRadiusBottomRight",this.i.ky.b),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusBottomLeft",{get:function(){return this.i.ky?this.i.ky.a:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.a=+t,this._a("searchTypeCornerRadiusBottomLeft",this.i.ky.a),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopLeft",{get:function(){return this.i.ky?this.i.ky.c:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.c=+t,this._a("searchTypeCornerRadiusTopLeft",this.i.ky.c),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopRight",{get:function(){return this.i.ky?this.i.ky.d:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.d=+t,this._a("searchTypeCornerRadiusTopRight",this.i.ky.d),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),Ot=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),Bt.register(),St.register(),Pt.register(),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Pt),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Pt),i.TypeRegistrar.register("XInputGroup",dt.$type)},t}(),jt=function(t){return t[t.DateShort=0]="DateShort",t[t.DateLong=1]="DateLong",t}({}),wt=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.h(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.h(255,24,29,31),e.dt=i.BrushUtil.h(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 w).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(j,e),i.enumGetBox(j,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(wt,e),i.enumGetBox(wt,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.aq=this.aw);break;case"UseTopLayer":null!=this.u&&(this.u.ax=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.df=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.df=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 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(),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(),k=i.stringIsNullOrWhiteSpace(this.af.b1("August_Full"))?"august":this.af.b1("August_Full").toLowerCase(),B=i.stringIsNullOrWhiteSpace(this.af.b1("August_Short"))?"aug":this.af.b1("August_Short").toLowerCase(),x=i.stringIsNullOrWhiteSpace(this.af.b1("September_Full"))?"september":this.af.b1("September_Full").toLowerCase(),S=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(),O=i.stringIsNullOrWhiteSpace(this.af.b1("November_Full"))?"november":this.af.b1("November_Full").toLowerCase(),j=i.stringIsNullOrWhiteSpace(this.af.b1("November_Short"))?"nov":this.af.b1("November_Short").toLowerCase(),w=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==y||a==g?r=5:a==m||a==v?r=6:a==_||a==C?r=7:a==k||a==B?r=8:a==x||a==S?r=9:a==T||a==P?r=10:a==O||a==j?r=11:a==w||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.aq=this.aw,this.u.ax=this.a3,this.u.cy=i.BrushUtil.h(255,255,255,255),this.u.a8=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.aw&&(this.ah=!0,this.cr())},n.prototype.cy=function(){0==this.ah?this.u.aw?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.cp(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.aw){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.b9(e)):2!=this.u.r&&(this.u.r=2,this.u.b9(e));else 1!=this.u.r&&(this.u.r=1,this.u.b9(e))}},n.prototype.cr=function(){var t=this;null!=this.u&&window.setTimeout((function(){return t.u.b5()}),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.aw&&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.bc(),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(j,t),this._a("firstWeekOfYear",i.enumToString(j,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(wt,t),this._a("dateFormat",i.enumToString(wt,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),Gt=function(){function t(){}return t.register=function(){D.register(),m.register(),x.register(),Ot.register(),qt.register(),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.register("XDatePicker",Rt.$type)},t}(),Wt=i.markEnum("CheckboxLabelPosition","After,0|Before,1"),$t=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),Ht=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return 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.q=0,e.n=0,e.m=0,e.a=null,e.r=null,e.j=!1,e.g=!1,e.h=!1,e.k=!1,e.i=!1,e}return e.__extends(n,t),n.prototype.s=function(){var t=new i.StringBuilder(0);return t.l("{"),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.q+", "),t.l("actualTickStrokeWidth : "+this.n+", "),t.l("actualCheckedBackgroundColor : "+this.a.serialize()+", "),null!=this.r&&t.l('value : "'+this.r.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),zt=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.l=null,e.f=null,e.j=new i.List$1(i.Delegate_$type,0),e.g=!0,e.r=null,e.m=null,e.q=null,e.n=null,e.o=null,e.d=null,e.p=null,e}return e.__extends(n,t),n.prototype.af=function(){},n.prototype.i=function(){return!0},n.prototype.ad=function(t){var n,r;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 s=this.l.createElement("input");this.r=s,this.r.addClass("ig-native-checkbox"),this.r.setStyleProperty("position","absolute"),this.r.setStyleProperty("width","1px"),this.r.setStyleProperty("height","1px"),this.r.setStyleProperty("margin","-1px"),this.r.setStyleProperty("border","none"),this.r.setStyleProperty("clip","rect(0, 0, 0, 0)"),this.r.setStyleProperty("outline","0"),this.r.setStyleProperty("pointer-events","none"),this.r.setStyleProperty("overflow","hidden"),this.r.setStyleProperty("-webkit-appearance","none"),this.r.setStyleProperty("-moz-appearance","none"),this.r.setStyleProperty("appearance","none"),this.r.setAttribute("type","checkbox"),this.r.setAttribute("id",this.c.b1),this.aj(),this.j.add(s.listen("change",i.runOn(this,this.x))),this.j.add(s.listen("click",i.runOn(this,this.y))),this.j.add(s.listen("focus",i.runOn(this,this.z))),this.j.add(s.listen("blur",i.runOn(this,this.w))),this.l.append(s);var a=this.l.createElement("div");a.addClass("ig-checkbox-box"),a.setStyleProperty("width","1.25em"),a.setStyleProperty("height","1.25em"),a.setStyleProperty("position","relative"),this.m=a,this.l.append(a);var h=this.l.createElement("label");h.setAttribute("for",this.c.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.q=h,this.m.append(h);var u=this.l.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.o=u,h.append(u);var l=this.l.createElementNS("path","http://www.w3.org/2000/svg");l.setAttribute("d",this.c.bf),u.append(l),this.n=l;var c=this.l.createElement("div"),p=this.l.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.l.getExternal(d,this.l.rootWrapper,this.l.getExternal(this.c,null,null));d.h=!0,d.k=!0,this.d=d,a.append(c);var f=this.l.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.p=f,this.j.add(f.listen("click",i.runOn(this,this.v))),this.l.append(f),this.l.getPortal(f,"ChildContent",(function(t){}),!0),this.c.cp()}else{try{for(var b=e.__values(i.fromEnum(this.j)),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.j.clear()}},n.prototype.v=function(t){this.c.toggle()},n.prototype.aj=function(){if(this.i()){this.c.b1;this.r.setAttribute("name",this.c.ca),this.r.setProperty("value",this.c.a4),this.c.aa&&this.r.setAttribute("tabindex",this.c.az.toString()),this.r.setProperty("disabled",this.c.disabled),this.r.setProperty("indeterminate",this.c.indeterminate),this.r.setProperty("checked",this.c.checked),this.r.setProperty("required",this.c.ay),this.c.indeterminate?this.r.setAttribute("aria-checked","mixed"):this.r.setAttribute("aria-checked",this.c.checked?"true":"false"),this.r.setAttribute("aria-labelledby",this.c.bn),this.r.setAttribute("aria-label",this.c.bm)}},n.prototype.al=function(){return new i.Size(1,this.q.width(),this.q.height())},n.prototype.ai=function(){this.n.setAttribute("d",this.c.bf)},n.prototype.ag=function(){if(this.i()){var t=this.c.b1;this.r.setAttribute("id",t),this.q.setAttribute("for",t)}},n.prototype.w=function(t){this.c.focused=!1},n.prototype.z=function(t){this.c.focused=!0},n.prototype.y=function(t){(t.stopPropagation(),this.h())&&this.r.getNativeElement().blur();this.c.toggle()},n.prototype.h=function(){return!1},n.prototype.x=function(t){t.stopPropagation()},n.prototype.aa=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.q,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.ab=function(t){},Object.defineProperty(n.prototype,"t",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.o},enumerable:!1,configurable:!0}),n.prototype.ac=function(){this.g=!0,this.j.add(this.r.listen("change",i.runOn(this,this.x))),this.j.add(this.r.listen("click",i.runOn(this,this.y))),this.j.add(this.r.listen("focus",i.runOn(this,this.z))),this.j.add(this.r.listen("blur",i.runOn(this,this.w))),this.j.add(this.p.listen("click",i.runOn(this,this.v)))},n.prototype.ae=function(){var t,n;this.g=!1;try{for(var r=e.__values(i.fromEnum(this.j)),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.j.clear()},n.prototype.ah=function(){var t=this.c;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.ak=function(t,e){this.d.ax=t,this.d.aw=e},n.prototype.k=function(){var t=this.q.getStyleProperty("border-top-width");return t=i.stringReplace(t,"px",""),parseFloat(t)},n.$t=i.markType(n,"CheckboxView"),n}(i.Base),Mt=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.h(0,0,0,0),i.BrushUtil.h(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 zt;return r.c=e,e.view=r,e.view.af(),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.ai();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.e.i=this.y;break;case"InputId":this.view.ag()}},n.prototype.ct=function(){var t=this.view.t,e=this.view.s;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.u;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(Wt,e),i.enumGetBox(Wt,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.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(this.c8,.1)):this.view.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(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.aa();var t=!1;null==this.o&&(t||(t=!0,this.view.ah()),this.o=i.KeyFrameAnimationFactory.f.c(this.view.a(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.b(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 $t;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.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(this.c8,.1)):this.view.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(this.dc,.1)),this.indeterminate||i.NativeUI.af(this.view.u,null),this.z||this.indeterminate||t){var s=this.view.t,a=this.view.s,h=this.view.u;if(this.indeterminate){var u=new i.TransformGroup;u.j.add(((r=new i.RotateTransform).j=45,r)),u.j.add(function(){var t=new i.TranslateTransform;return t.j=-e.view.k(),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.ae()},n.prototype.onAttachedToUI=function(){this.view.ac()},n.prototype.onContentReady=function(){this.indeterminate&&this.cv(!1)},n.prototype.af=function(){return this.view.i()},n.prototype.a3=function(){return this.b()},n.prototype.by=function(){return this.b().s()},n.prototype.b=function(){var t=new Ht;return 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.q=this.av,t.n=this.ap,t.m=this.ao,t.a=i.AppearanceHelper.a(this.c8),t.r=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.ad(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.h(255,153,153,153)),r.addItem("CheckedBorderColor",i.BrushUtil.h(138,33,150,243)),r.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,255,255,255)),r.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,33,150,243)),r.addItem("TickColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("CheckedBorderColor",i.BrushUtil.h(138,0,0,0)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,228,28,119)),t.addItem("TickColor",i.BrushUtil.h(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.h(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.h(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.h(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.h(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.h(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,55,63,86)),t.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.h(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),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"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}(),Vt=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 Mt},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(Wt,t),this._a("labelPosition",i.enumToString(Wt,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 Lt;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),Xt=function(){function t(){}return t.register=function(){a.register(),i.IgcChildContentModule.register(),Vt.register(),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",Vt),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",Vt),i.TypeRegistrar.register("XCheckbox",Mt.$type)},t}(),Kt=function(t){return t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical",t}({}),Yt=i.markEnum("ButtonGroupOrientation","Horizontal,0|Vertical,1"),Jt=i.markEnum("ButtonGroupDisplayStyle","Flat,0|Outlined,1"),Qt=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),Zt=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),te=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return 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.l=function(){var t=new i.StringBuilder(0);t.l("{"),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),ee=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.fw="flex",t.g0="row",t.e7="center"):(t.fw="flex",t.g0="column",t.e7="stretch")},n.prototype.o=function(t){this.j.append(t)},n.$t=i.markType(n,"ButtonGroupView"),n}(i.Base),ie=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 Qt,e.selectionChanged=null;var r=new ee;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(Jt,e),i.enumGetBox(Jt,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(),null!=this.selectionChanged&&this.selectionChanged(this,new Zt),this.u=!1},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.c)?e.c:t.c,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.b)?e.b:t.b,i.isNaN_(t.a)?e.a:t.a)},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.az=!1,this.v&&(e.disabled=this.disabled),e.nt=this.e0,e.bg=this.ak,e.ph=this.e2,e.pg=this.e1,e.pi=this.e3,this.view.x(e),this.aa(e)?(e.ns=this.e7,e.q7=this.fa,e.p7=this.e8,e.p8=this.e9):(e.ns=this.ez,e.q7=this.e6,e.p7=this.e4,e.p8=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.kt=new i.CornerRadius(1,0,0,0,0)},n.prototype.dj=function(t){1==this.k?t.kt=new i.CornerRadius(1,0,0,this.al,this.al):t.kt=new i.CornerRadius(1,0,this.al,this.al,0)},n.prototype.di=function(t){1==this.k?t.kt=new i.CornerRadius(1,this.al,this.al,0,0):t.kt=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(Yt,e),i.enumGetBox(Yt,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().l()},n.prototype.e=function(){var t=new te;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].d7());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.h(255,255,255,255),n.gp=i.BrushUtil.h(10,0,0,0),n.go=i.BrushUtil.h(255,199,199,199),n.gq=i.BrushUtil.h(255,199,199,199),n.au=1,n.gu=i.BrushUtil.h(255,0,0,0),n.gr=i.BrushUtil.h(66,0,0,0),n.gv=i.BrushUtil.h(60,0,0,0),n.gy=i.BrushUtil.h(255,0,0,0),n.gs=i.BrushUtil.h(30,0,0,0),n.gt=i.BrushUtil.h(255,0,0,0),n.gw=i.BrushUtil.h(96,0,0,0),n.gx=i.BrushUtil.h(255,0,0,0),n.ap=3,n.fn=i.BrushUtil.h(0,255,255,255),n.fp=i.BrushUtil.h(10,0,0,0),n.fo=i.BrushUtil.h(255,33,150,243),n.fq=i.BrushUtil.h(255,199,199,199),n.ao=1,n.fu=i.BrushUtil.h(255,33,150,243),n.fr=i.BrushUtil.h(66,0,0,0),n.fv=i.BrushUtil.h(255,33,150,243),n.fy=i.BrushUtil.h(255,255,255,255),n.fs=i.BrushUtil.h(26,33,150,243),n.ft=i.BrushUtil.h(255,33,150,243),n.fw=i.BrushUtil.h(255,33,150,243),n.fx=i.BrushUtil.h(255,255,255,255),n.at=4,n.gb=i.BrushUtil.h(0,255,255,255),n.gd=i.BrushUtil.h(10,0,0,0),n.gc=i.BrushUtil.h(0,0,0,0),n.ge=i.BrushUtil.h(255,199,199,199),n.as=0,n.gi=i.BrushUtil.h(255,228,28,119),n.gf=i.BrushUtil.h(66,0,0,0),n.gj=i.BrushUtil.h(30,228,28,119),n.gm=i.BrushUtil.h(255,228,28,119),n.gg=i.BrushUtil.h(13,228,28,119),n.gh=i.BrushUtil.h(255,228,28,119),n.gk=i.BrushUtil.h(30,228,28,119),n.gl=i.BrushUtil.h(255,228,28,119),n.an=0,n.fb=i.BrushUtil.h(0,255,255,255),n.fd=i.BrushUtil.h(10,0,0,0),n.fc=i.BrushUtil.h(0,0,0,0),n.fe=i.BrushUtil.h(0,0,0,0),n.am=0,n.fi=i.BrushUtil.h(255,119,119,119),n.ff=i.BrushUtil.h(66,0,0,0),n.fj=i.BrushUtil.h(26,33,150,243),n.fm=i.BrushUtil.h(255,33,150,243),n.fg=i.BrushUtil.h(10,33,150,243),n.fh=i.BrushUtil.h(255,119,119,119),n.fk=i.BrushUtil.h(26,33,150,243),n.fl=i.BrushUtil.h(255,33,150,243),n.cv="OutlinedSelectedItemHoverBackgroundColor",n.a4=0,n}(i.Base),ne=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),re=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()},t}(),oe=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 ne;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 ie},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(Jt,t),this._a("displayType",i.enumToString(Jt,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(Yt,t),this._a("orientation",i.enumToString(Yt,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 re;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),se=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),m.register(),oe.register(),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",oe),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",oe),i.TypeRegistrar.register("XButtonGroup",ie.$type)},t}(),ae=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),he=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),ae.register(),i.TypeRegistrar.registerCons("IgcXPrefixComponent",ae),i.TypeRegistrar.registerCons("IgcXPrefixComponent",ae),i.TypeRegistrar.register("XPrefix",pt.$type)},t}(),ue=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),le=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){return null!=this.s?this.s:t},n.$t=i.markType(n,"XComponentBridge",i.NativeUIElementBridge.$),n}(i.NativeUIElementBridge),ce=function(t){function n(e){var i=t.call(this,e)||this;return i.v=null,i.u=null,i.x=null,i.w=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.z)),this.v=r,this.x=e;break;case 2:s.change=i.delegateCombine(s.change,i.runOn(this,this.y)),this.u=r,this.w=e}},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.z)),this.v=null,this.x=null;break;case 2:s.change=i.delegateRemove(s.change,i.runOn(this,this.y)),this.u=null,this.w=null}},n.prototype.z=function(t,e){if(null!=this.v){var n=new i.NativeUIInputChangingEventArgs;this.v(this.x,n)}},n.prototype.y=function(t,e){if(null!=this.u){var n=new i.NativeUIInputChangingEventArgs;this.u(this.w,n)}},n.prototype.getValue=function(t,e){var n=t,r=i.typeCast(yt.$,n.inputs._inner[0]);switch(e){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,2);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3)}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}return null},n.prototype.setValue=function(t,e,n){var r=t,o=i.typeCast(yt.$,r.inputs._inner[0]);switch(e){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 2:r.t=3;break;case 3:r.t=2}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}},n.prototype.getTargetForProperty=function(e,i){switch(e){case 9:case 10: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.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){return t.fe()},n.$t=i.markType(n,"XInputBridge",le.$,[i.INativeUIInputBridge_$type]),n}(le),pe=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).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.k.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 2:r.r=3;break;case 3:r.r=2}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.at=n;break;case 32:r.disabled=n;break;case 5:r.ar=n;break;case 6:r.az=!n;break;case 24:r.p7=n;break;case 55:r.bi=n.left,r.bk=n.top,r.bj=n.right,r.bh=n.bottom;break;case 57:r.av=n;break;case 56:r.as=n;break;case 58:r.aq=n;break;case 17:r.kt=n;break;case 11:r.aa=n;break;case 83:r.bu=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,2);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3)}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.at;case 32:return n.disabled;case 5:return n.ar;case 6:return!n.az;case 24:return n.p7;case 55:return new i.Thickness(1,n.bi,n.bk,n.bj,n.bh);case 57:return n.av;case 56:return n.as;case 58:return n.aq;case 17:return n.kt;case 83:return n.bu}return null},n.prototype.setHorizontalContentAlignment=function(t,e){switch(e){case 1:this.t.k5=1;break;case 0:this.t.k5=0;break;case 2:this.t.k5=2;break;case 3:this.t.k5=3}},n.prototype.getHorizontalContentAlignment=function(t){switch(this.t.k5){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.q9=2;break;case 1:this.t.q9=1;break;case 3:this.t.q9=3;break;case 0:this.t.q9=0}},n.prototype.getVerticalContentAlignment=function(t){switch(this.t.q9){case 2:return 2;case 1:return 1;case 0:return 0;default:return 3}},n.prototype.exportVisualData=function(t){return t.d7()},n.$t=i.markType(n,"XButtonBridge",le.$),n}(le),de=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 65:return n.dl;case 67:return n.dm;case 66:return n.dd;case 68: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 65:r.dl=n;break;case 67:r.dm=n;break;case 66:r.dd=n;break;case 68:r.de=n}},n.prototype.exportVisualData=function(t){return t.a3()},n.$t=i.markType(n,"XCheckboxBridge",le.$),n}(le),fe=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.k);case 44:return r.an;case 45:return r.ao;case 46:return r.ap;case 47:return r.am;case 48:return r.aq;case 49:return r.ai;case 62:return r.e;case 63:return r.f;case 64:return r.al}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.an=n;break;case 45:r.ao=n;break;case 46:r.ap=n;break;case 47:r.am=n;break;case 48:r.aq=n;break;case 49:r.ai=n;break;case 62:r.e=n;break;case 63:r.f=n;break;case 64:r.al=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;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);null==r||(t.a7=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.au()},n.$t=i.markType(n,"XIconBridge",le.$),n}(le),be=function(t){function n(e){var n=t.call(this,e)||this;return n.ai=null,n.ad=null,n.ag=null,n.ah=null,n.ae=null,n.af=null,n.ab=null,n.aa=null,n.y=null,n.z=null,n.w=null,n.x=null,n.ac=null,n.ac=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.ao)),this.ab=r,this.ai=e;break;case 6:o.onClosed=i.delegateCombine(o.onClosed,i.runOn(this,this.aj)),this.aa=r,this.ad=e;break;case 7:o.popupMouseEnter=i.delegateCombine(o.popupMouseEnter,i.runOn(this,this.am)),this.y=r,this.ag=e;break;case 8:o.popupMouseLeave=i.delegateCombine(o.popupMouseLeave,i.runOn(this,this.an)),this.z=r,this.ah=e;break;case 13:o.popupGotFocus=i.delegateCombine(o.popupGotFocus,i.runOn(this,this.ak)),this.w=r,this.ae=e;break;case 14:o.popupLostFocus=i.delegateCombine(o.popupLostFocus,i.runOn(this,this.al)),this.x=r,this.af=e}},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.ao)),this.ab=null,this.ai=null;break;case 6:o.onClosed=i.delegateRemove(o.onClosed,i.runOn(this,this.aj)),this.aa=null,this.ad=null;break;case 7:o.popupMouseEnter=i.delegateRemove(o.popupMouseEnter,i.runOn(this,this.am)),this.y=null,this.ag=null;break;case 8:o.popupMouseLeave=i.delegateRemove(o.popupMouseLeave,i.runOn(this,this.an)),this.z=null,this.ah=null;break;case 13:o.popupGotFocus=i.delegateRemove(o.popupGotFocus,i.runOn(this,this.ak)),this.w=null,this.ae=null;break;case 14:o.popupLostFocus=i.delegateRemove(o.popupLostFocus,i.runOn(this,this.al)),this.x=null,this.af=null}},n.prototype.ao=function(t,e){null!=this.ab&&this.ab(this.ai,new i.NativeUIPopupOpenedEventArgs)},n.prototype.aj=function(t,e){null!=this.aa&&this.aa(this.ad,new i.NativeUIPopupClosedEventArgs)},n.prototype.am=function(t,e){null!=this.y&&this.y(this.ag,new i.NativeUIMouseEventArgs)},n.prototype.an=function(t,e){null!=this.z&&this.z(this.ah,new i.NativeUIMouseEventArgs)},n.prototype.ak=function(t,e){null!=this.w&&this.w(this.ae,new i.NativeUIFocusEventArgs)},n.prototype.al=function(t,e){var n;null!=this.x&&this.x(this.af,((n=new i.NativeUIFocusEventArgs).a=e.a,n))},n.prototype.getValue=function(e,n){var r=e;switch(n){case 22:return r.aw;case 25:return r.al;case 26:return r.a8;case 17:return r.a0;case 23:return r.cy;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.as;case 37:return r.ar;case 40:return r.ba;case 41:return r.at;case 43:switch(r.u){case 1:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,1);default:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,2)}case 42:return r.c2;case 39:return r.an;case 61:return r.a3}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,n,r){var o=e;switch(n){case 25:o.al=r;break;case 26:o.a8=i.typeGetValue(r);break;case 17:o.a0=r;break;case 23:o.cy=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.as=r;break;case 37:o.ar=r;break;case 40:o.ba=i.typeGetValue(r);break;case 41:o.at=r;break;case 42:o.c2=r;break;case 43:switch(i.EnumUtil.getEnumValue(i.NativeUIPopupPointerPosition_$type,r)){case 1:o.u=1;break;case 2:o.u=2}break;case 39:o.an=r;break;case 61:o.a3=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.close=function(t){t.b5()},n.prototype.notifyContentSizeChanged=function(t){t.b8()},n.prototype.notifyExclusionRectChanged=function(t,e){t.b9(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.au()},n.prototype.addChild=function(t,e){this.ac.add(e),t.appendPopupContent(e.an)},n.prototype.insertChild=function(t,e,i){this.ac.add(i),t.appendPopupContent(i.an)},n.prototype.getChildAt=function(t,e){return this.ac._inner[e]},n.prototype.getChildrenCount=function(t){return this.ac.count},n.prototype.removeChild=function(t,e){t.removePopupContent(e.an),this.ac.remove(e)},n.prototype.removeChildAt=function(t,e){t.removePopupContent(this.ac._inner[e].an),this.ac.removeAt(e)},n.$t=i.markType(n,"XPopupBridge",le.$,[i.INativeUIPopupBridge_$type]),n}(le),ye=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.j=function(){i.NativeUIComponent.ar(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.e(t,i);break;case 10:this.g(t,i);break;case 2:this.h(t,i);break;case 11:this.f(t,i);break;case 12:this.i(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:return!0}return!1},n.prototype.h=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 yt;u.provideContainer(h);o.getExternal(u,h.rootWrapper,null);s.appendContentChild(a),s.inputs.add(u);var l=new ce(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.ff="none";o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new pe(s),h=new i.NativeUIButton;h.an=r,h.d=a,e(h)},n.prototype.e=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new Mt;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new de(s),h=new i.NativeUICheckbox;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 k;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new fe(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.ff="none";l.getExternal(c,l.rootWrapper,l.getExternal(c,null,null));var p=new pe(c),d=new i.NativeUIButton;d.an=u,d.d=p,d.bm=h,e(d)},n.prototype.f=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 fe(s),h=new i.NativeUIIcon;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 i.Popup;s.provideRenderer(o);var a=new be(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),ge=function(t){function n(e,i){var n=t.call(this,e)||this;return n.al=null,n.al=new fe(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",pe.$),n}(pe),me=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"),ve=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=Jt,t.ButtonGroupOrientation=Kt,t.ButtonGroupOrientation_$type=Yt,t.ButtonGroupSelectionChangedEventArgs=Zt,t.ButtonGroupView=ee,t.ButtonGroupVisualModelExport=te,t.ButtonView=f,t.ButtonVisualModelExport=d,t.CalendarView=N,t.CalendarVisualModelExport=I,t.CheckboxChangeEventArgs=$t,t.CheckboxLabelPosition_$type=Wt,t.CheckboxView=zt,t.CheckboxVisualModelExport=Ht,t.DateFormats=jt,t.DateFormats_$type=wt,t.DatePickerView=At,t.DatePickerVisualModelExport=Ft,t.DateTimeValueFormatter=It,t.DayInfo=P,t.DayOfWeek=S,t.DayOfWeek_$type=T,t.ElevationHelper=h,t.FirstWeek=O,t.FirstWeek_$type=j,t.GotFocusEventArgs=Ut,t.IconClickedEventArgs=v,t.IconView=C,t.IconVisualModelExport=_,t.IgcButtonClickEventArgs=y,t.IgcButtonGroupSelectionChangedEventArgs=re,t.IgcCheckboxChangeEventArgs=Lt,t.IgcGotFocusEventArgs=Dt,t.IgcInputChangeEventArgs=mt,t.IgcLostFocusEventArgs=Et,t.IgcSelectedValueChangedEventArgs=A,t.IgcXButtonComponent=g,t.IgcXButtonGroupButtonCollection=ne,t.IgcXButtonGroupComponent=oe,t.IgcXButtonGroupModule=se,t.IgcXButtonModule=m,t.IgcXCalendarComponent=R,t.IgcXCalendarLocaleEnModule=q,t.IgcXCalendarModule=D,t.IgcXCheckboxComponent=Vt,t.IgcXCheckboxModule=Xt,t.IgcXDatePickerComponent=qt,t.IgcXDatePickerModule=Gt,t.IgcXIconComponent=B,t.IgcXIconModule=x,t.IgcXInputComponent=kt,t.IgcXInputGroupComponent=Pt,t.IgcXInputGroupInputCollection=Tt,t.IgcXInputGroupItemComponent=gt,t.IgcXInputGroupModule=Ot,t.IgcXInputModule=Bt,t.IgcXLabelComponent=xt,t.IgcXLabelModule=St,t.IgcXPrefixComponent=ae,t.IgcXPrefixModule=he,t.IgcXRippleComponent=s,t.IgcXRippleModule=a,t.IgcXSuffixComponent=ue,t.InputChangeEventArgs=nt,t.InputGroupDisplayType=Y,t.InputGroupDisplayType_$type=J,t.InputGroupView=ot,t.InputGroupVisualModelExport=Q,t.InputShiftType=L,t.InputShiftType_$type=V,t.InputView=ut,t.InputVisualModelExport=tt,t.KEYCODES_$type=me,t.LabelShiftType=z,t.LabelShiftType_$type=M,t.LabelView=ht,t.LabelVisualModelExport=Z,t.LostFocusEventArgs=Nt,t.MaskOptions=rt,t.MaskParsingService=it,t.NativeUIXInputsFactory=ye,t.PrefixShiftType=$,t.PrefixShiftType_$type=H,t.PrefixView=at,t.PrefixVisualModelExport=K,t.Replaced=et,t.RippleView=r,t.RippleVisualModelExport=n,t.SelectedValueChangedEventArgs=w,t.SuffixShiftType=G,t.SuffixShiftType_$type=W,t.SuffixView=st,t.SuffixVisualModelExport=X,t.TextBlockVisualModelExport=ve,t.TextElementsVisualModelExport=U,t.Theme=l,t.ThemeResolver=c,t.XButton=b,t.XButtonBridge=pe,t.XButtonGroup=ie,t.XButtonGroupButtonCollection=Qt,t.XCalendar=F,t.XCalendarLocaleEn=E,t.XCheckbox=Mt,t.XCheckboxBridge=de,t.XComponentBridge=le,t.XDatePicker=Rt,t.XIcon=k,t.XIconBridge=fe,t.XIconButtonBridge=ge,t.XInput=yt,t.XInputBridge=ce,t.XInputGroup=dt,t.XInputGroupInputCollection=ft,t.XInputGroupItem=lt,t.XLabel=bt,t.XPopupBridge=be,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),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.h(40,0,0,0),o.av=i.BrushUtil.h(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.b=null,e.k=null,e.d=null,e.h=new i.List$1(i.Delegate_$type,0),e.e=!0,e.n=null,e.j=NaN,e.i=NaN,e.l=null,e.c=null,e.m=null,e.p=null,e.o=null,e}return e.__extends(n,t),n.prototype.ao=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,"s",{get:function(){return this.m},enumerable:!1,configurable:!0}),n.prototype.ai=function(t){var n,r,s=this;if(null!=t){this.k=t,this.k.rootWrapper.setStyleProperty("display","flex"),this.k.rootWrapper.setStyleProperty("flex-direction","row"),this.k.rootWrapper.setStyleProperty("flex-wrap","no-wrap"),this.k.rootWrapper.setStyleProperty("align-items","center");var a=this.k.createElement("button");this.n=a,this.n.setStyleProperty("position","relative"),this.n.setStyleProperty("display","inline-flex"),this.n.setStyleProperty("align-items","center"),this.n.setStyleProperty("justify-content","center"),this.ay(),this.n.setStyleProperty("border","none"),this.n.setStyleProperty("cursor","pointer"),this.n.setStyleProperty("user-select","none"),this.n.setStyleProperty("outline-style","none"),this.n.setStyleProperty("-webkit-tap-highlight-color","transparent"),this.n.setStyleProperty("overflow","hidden"),this.n.setStyleProperty("white-space","no-wrap"),this.n.setStyleProperty("color","#000"),this.n.setStyleProperty("background",this.b.nf._fill),i.NativeUI.o(this.n,this.b.kr),this.n.setAttribute("id",this.b.hu),this.av(),this.h.add(a.listen("change",i.runOn(this,this.x))),this.h.add(a.listen("click",i.runOn(this,this.y))),this.h.add(a.listen("focus",i.runOn(this,this.z))),this.h.add(a.listen("blur",i.runOn(this,this.w))),this.h.add(this.k.rootWrapper.listen("mouseenter",i.runOn(this,this.u))),this.h.add(this.k.rootWrapper.listen("mouseleave",i.runOn(this,this.v))),this.h.add(this.k.rootWrapper.listen("focusin",i.runOn(this,this.aa))),this.h.add(this.k.rootWrapper.listen("focusout",i.runOn(this,this.ab))),this.k.append(a);var h=this.k.createElement("div"),u=this.k.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.k.getExternal(l,this.k.rootWrapper,this.k.getExternal(this.b,null,null));l.h=!1,l.k=!0,this.c=l,this.n.append(h);var c=this.k.createElement("div");c.addClass("ig-button-content"),c.setStyleProperty("font-family","Verdana"),c.setStyleProperty("font-weight","400"),c.setStyleProperty("font-size",".875rem"),this.m=c,this.h.add(c.listen("click",i.runOn(this,this.t))),this.n.append(c),this.o=c,this.k.getPortal(c,"ChildContent",(function(t){var e=t.componentRef;s.p=e,s.o.setStyleProperty("flex-direction",s.b.g0),s.o.setStyleProperty("align-items",s.b.e7);var i=s.b.g0,n=null!=s.b.ff?s.b.ff:s.b.fw,r=s.b.e7;e.display=n,e.flexDirection=i,e.alignItems=r}),!0),this.b.ke()}else{try{for(var p=e.__values(i.fromEnum(this.h)),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.h.clear()}},n.prototype.ak=function(){this.c.i=this.b.ap},n.prototype.ay=function(){var t="3.5rem",e="3.5rem",n="3.5rem",r="3.5rem",o="2.25rem",s=".9375rem",a=".5625rem 1rem";switch(this.b.q){case 2:a=".375rem .75rem",o="1.875rem",t="3rem",e="3rem",n="3rem",r="3rem",s=".6875rem";break;case 3:a=".1875rem 1rem",o="1.5rem",e="2.5rem",t="2.5rem",r="2.5rem",n="2.5rem",s=".4375rem"}i.isNaN_(this.b.bi)||i.isNaN_(this.b.bk)||i.isNaN_(this.b.bj)||i.isNaN_(this.b.bh)||(a=this.b.bk+"px "+this.b.bj+"px "+this.b.bh+"px "+this.b.bi+"px"),4==this.b.e?(this.n.setStyleProperty("min-width","2.25rem"),this.n.setStyleProperty("min-height","2.25rem"),this.n.setStyleProperty("padding","0px"),this.n.setStyleProperty("width","2.25rem"),this.n.setStyleProperty("height","2.25rem")):3==this.b.e?(this.n.setStyleProperty("min-width",t),this.n.setStyleProperty("min-height",e),this.n.setStyleProperty("padding",s),this.n.setStyleProperty("width",n),this.n.setStyleProperty("height",r)):(this.n.setStyleProperty("width","auto"),this.n.setStyleProperty("height","auto"),this.n.setStyleProperty("min-width","5.5rem"),this.n.setStyleProperty("min-height",o),this.n.setStyleProperty("padding",a)),this.k.rootWrapper.setStyleProperty("height","auto"),!i.isNaN_(this.b.bf)&&this.b.bf>0?this.n.setStyleProperty("border-style","solid"):this.n.setStyleProperty("border-style","none"),i.isNaN_(this.j)||this.n.setStyleProperty("min-width",this.j.toString()+"px"),i.isNaN_(this.i)||this.n.setStyleProperty("min-height",this.i.toString()+"px"),this.b.av&&(this.n.setStyleProperty("width","100%"),this.n.setStyleProperty("height","100%"),this.k.rootWrapper.setStyleProperty("height","100%"))},n.prototype.as=function(){switch(this.b.k5){case 1:this.n.setStyleProperty("justify-content","center"),this.o.setStyleProperty("flex-grow","unset");break;case 3:this.n.setStyleProperty("justify-content","stretch"),this.o.setStyleProperty("flex-grow","1");break;case 0:this.n.setStyleProperty("justify-content","left"),this.o.setStyleProperty("flex-grow","unset");break;case 2:this.n.setStyleProperty("justify-content","right"),this.o.setStyleProperty("flex-grow","unset")}},n.prototype.au=function(t){this.j=t},n.prototype.at=function(t){this.i=t},n.prototype.aq=function(){this.n.setAttribute("disabled",this.b.disabled?"true":"false"),this.n.setProperty("disabled",this.b.disabled)},n.prototype.al=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("display",this.b.fw);var t=this.p;if(null!=this.p){this.o.setStyleProperty("display",this.b.fw);var e=null!=this.b.ff?this.b.fw:this.b.ff;t.display=e}var i=this.k.getExternal(this.b,null,null);i&&i._onDisplayChanged&&i._onDisplayChanged()}},n.prototype.ah=function(){if(null!=this.k){var t=this.p;if(null!=this.p){var e=null!=this.b.ff?this.b.ff:this.b.fw;t.display=e}}},n.prototype.af=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("align-items",this.b.e7),this.n.setStyleProperty("align-items",this.b.e7);var t=this.p;if(null!=this.p){this.o.setStyleProperty("align-items",this.b.e7);var e=this.b.e7;t.alignItems=e}var i=this.k.getExternal(this.b,null,null);i&&i._onAlignItemsChanged&&i._onAlignItemsChanged()}},n.prototype.am=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-direction",this.b.g0),this.n.setStyleProperty("flex-direction",this.b.g0);var t=this.k.getExternal(this.b,null,null),e=this.p;if(null!=this.p){this.o.setStyleProperty("flex-direction",this.b.g0);var i=this.b.g0;e.flexDirection=i}t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.an=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-grow",this.b.g2),this.n.setStyleProperty("flex-grow",this.b.g2);var t=this.k.getExternal(this.b,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.t=function(t){},n.prototype.av=function(){if(this.g()){this.b.hu;this.n.setAttribute("name",this.b.h2),this.n.setProperty("value",this.b.ea),this.b.aw&&this.n.setAttribute("tabindex",this.b.d3.toString()),this.n.setProperty("disabled",this.b.disabled),this.n.setAttribute("aria-label",this.b.e9),this.n.setStyleProperty("cursor",this.b.as?"unset":"pointer")}},n.prototype.ap=function(){if(this.g()){var t=this.b.hu;this.n.setAttribute("id",t)}},n.prototype.u=function(t){this.b.kb()},n.prototype.v=function(t){this.b.kc()},n.prototype.w=function(t){this.b.j5()},n.prototype.z=function(t){this.b.j8()},n.prototype.y=function(t){this.b.aq||t.preventDefault(),this.b.j6()},n.prototype.aa=function(t){this.b.j9()},n.prototype.ab=function(t){this.b.ka(t.originalEvent.relatedTarget)},n.prototype.f=function(){return!1},n.prototype.x=function(t){},n.prototype.ae=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.ag=function(){this.e=!0,this.h.add(this.n.listen("change",i.runOn(this,this.x))),this.h.add(this.n.listen("click",i.runOn(this,this.y))),this.h.add(this.n.listen("focus",i.runOn(this,this.z))),this.h.add(this.n.listen("blur",i.runOn(this,this.w))),this.h.add(this.m.listen("click",i.runOn(this,this.t))),this.h.add(this.n.listen("mouseenter",i.runOn(this,this.u))),this.h.add(this.n.listen("mouseleave",i.runOn(this,this.v))),this.h.add(this.n.listen("focusin",i.runOn(this,this.aa))),this.h.add(this.n.listen("focusout",i.runOn(this,this.ab)))},n.prototype.aj=function(){var t,n;this.e=!1;try{for(var r=e.__values(i.fromEnum(this.h)),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.h.clear()},n.prototype.ar=function(){var t=this.b;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.aw=function(t,e){this.c.ax=t,this.c.aw=e},n.prototype.ax=function(t,e){var i=h.e(t,this.b.nr,this.b.no,this.b.ne,e);this.n.setStyleProperty("box-shadow",i)},n.prototype.az=function(t){null!=t&&this.m.setStyleProperty("font",t.fontString)},n.prototype.ac=function(t){this.m.append(t)},n.prototype.ad=function(){this.m.removeChildren()},n.prototype.r=function(){return this.m.getChildCount()>0?this.m.getChildAt(0):null},n.prototype.a=function(){var t=this.k.rootWrapper.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,"ButtonView"),n}(i.Base),b=function(t){function n(){var e=t.call(this)||this;e._view=null,e.d9=null,e.pf=n.k.ae(n.m,"UmbraShadowColor"),e.o3=n.k.ae(n.m,"PenumbraShadowColor"),e.nu=n.k.ae(n.m,"AmbientShadowColor"),e.v=n.k.d(n.m,"ElevationMode"),e.o6=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledBackgroundColor"),e.o7=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledBorderColor"),e.o8=n.k.ad(n.m,i.enumGetBox(u,0),"DisabledTextColor"),e.da=n.k.n(n.m,i.enumGetBox(u,0),"DisabledElevation"),e.dd=n.k.n(n.m,i.enumGetBox(u,0),"RestingElevation"),e.dc=n.k.n(n.m,i.enumGetBox(u,0),"HoverElevation"),e.db=n.k.n(n.m,i.enumGetBox(u,0),"FocusElevation"),e.o5=n.k.ad(n.m,i.enumGetBox(u,0),"BorderColor"),e.pd=n.k.ad(n.m,i.enumGetBox(u,0),"RippleColor"),e.ky=n.k.y(n.m,i.enumGetBox(u,0),"CornerRadius"),e.bp=n.k.i(n.m,i.enumGetBox(u,0),"BorderWidth"),e.o4=n.k.ad(n.m,i.enumGetBox(u,0),"BackgroundColor"),e.pe=n.k.ad(n.m,i.enumGetBox(u,0),"TextColor"),e.pc=n.k.ad(n.m,i.enumGetBox(u,0),"HoverTextColor"),e.pb=n.k.ad(n.m,i.enumGetBox(u,0),"HoverBackgroundColor"),e.o9=n.k.ad(n.m,i.enumGetBox(u,0),"FocusBackgroundColor"),e.pa=n.k.ad(n.m,i.enumGetBox(u,0),"FocusTextColor"),e.n8=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledBackgroundColor"),e.n9=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledBorderColor"),e.oa=n.k.ad(n.m,i.enumGetBox(u,1),"DisabledTextColor"),e.cy=n.k.n(n.m,i.enumGetBox(u,1),"DisabledElevation"),e.c1=n.k.n(n.m,i.enumGetBox(u,1),"RestingElevation"),e.c0=n.k.n(n.m,i.enumGetBox(u,1),"HoverElevation"),e.cz=n.k.n(n.m,i.enumGetBox(u,1),"FocusElevation"),e.n7=n.k.ad(n.m,i.enumGetBox(u,1),"BorderColor"),e.of=n.k.ad(n.m,i.enumGetBox(u,1),"RippleColor"),e.kv=n.k.y(n.m,i.enumGetBox(u,1),"CornerRadius"),e.bm=n.k.i(n.m,i.enumGetBox(u,1),"BorderWidth"),e.n6=n.k.ad(n.m,i.enumGetBox(u,1),"BackgroundColor"),e.og=n.k.ad(n.m,i.enumGetBox(u,1),"TextColor"),e.oe=n.k.ad(n.m,i.enumGetBox(u,1),"HoverTextColor"),e.od=n.k.ad(n.m,i.enumGetBox(u,1),"HoverBackgroundColor"),e.ob=n.k.ad(n.m,i.enumGetBox(u,1),"FocusBackgroundColor"),e.oc=n.k.ad(n.m,i.enumGetBox(u,1),"FocusTextColor"),e.ou=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledBackgroundColor"),e.ov=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledBorderColor"),e.ow=n.k.ad(n.m,i.enumGetBox(u,2),"DisabledTextColor"),e.c6=n.k.n(n.m,i.enumGetBox(u,2),"DisabledElevation"),e.c9=n.k.n(n.m,i.enumGetBox(u,2),"RestingElevation"),e.c8=n.k.n(n.m,i.enumGetBox(u,2),"HoverElevation"),e.c7=n.k.n(n.m,i.enumGetBox(u,2),"FocusElevation"),e.ot=n.k.ad(n.m,i.enumGetBox(u,2),"BorderColor"),e.o1=n.k.ad(n.m,i.enumGetBox(u,2),"RippleColor"),e.kx=n.k.y(n.m,i.enumGetBox(u,2),"CornerRadius"),e.bo=n.k.i(n.m,i.enumGetBox(u,2),"BorderWidth"),e.os=n.k.ad(n.m,i.enumGetBox(u,2),"BackgroundColor"),e.o2=n.k.ad(n.m,i.enumGetBox(u,2),"TextColor"),e.o0=n.k.ad(n.m,i.enumGetBox(u,2),"HoverTextColor"),e.oz=n.k.ad(n.m,i.enumGetBox(u,2),"HoverBackgroundColor"),e.ox=n.k.ad(n.m,i.enumGetBox(u,2),"FocusBackgroundColor"),e.oy=n.k.ad(n.m,i.enumGetBox(u,2),"FocusTextColor"),e.oj=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledBackgroundColor"),e.ok=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledBorderColor"),e.ol=n.k.ad(n.m,i.enumGetBox(u,4),"DisabledTextColor"),e.c2=n.k.n(n.m,i.enumGetBox(u,4),"DisabledElevation"),e.c5=n.k.n(n.m,i.enumGetBox(u,4),"RestingElevation"),e.c4=n.k.n(n.m,i.enumGetBox(u,4),"HoverElevation"),e.c3=n.k.n(n.m,i.enumGetBox(u,4),"FocusElevation"),e.oi=n.k.ad(n.m,i.enumGetBox(u,4),"BorderColor"),e.oq=n.k.ad(n.m,i.enumGetBox(u,4),"RippleColor"),e.kw=n.k.y(n.m,i.enumGetBox(u,4),"CornerRadius"),e.bn=n.k.i(n.m,i.enumGetBox(u,4),"BorderWidth"),e.oh=n.k.ad(n.m,i.enumGetBox(u,4),"BackgroundColor"),e.or=n.k.ad(n.m,i.enumGetBox(u,4),"TextColor"),e.op=n.k.ad(n.m,i.enumGetBox(u,4),"HoverTextColor"),e.oo=n.k.ad(n.m,i.enumGetBox(u,4),"HoverBackgroundColor"),e.om=n.k.ad(n.m,i.enumGetBox(u,4),"FocusBackgroundColor"),e.on=n.k.ad(n.m,i.enumGetBox(u,4),"FocusTextColor"),e.nx=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledBackgroundColor"),e.ny=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledBorderColor"),e.nz=n.k.ad(n.m,i.enumGetBox(u,3),"DisabledTextColor"),e.cu=n.k.n(n.m,i.enumGetBox(u,3),"DisabledElevation"),e.cx=n.k.n(n.m,i.enumGetBox(u,3),"RestingElevation"),e.cw=n.k.n(n.m,i.enumGetBox(u,3),"HoverElevation"),e.cv=n.k.n(n.m,i.enumGetBox(u,3),"FocusElevation"),e.nw=n.k.ad(n.m,i.enumGetBox(u,3),"BorderColor"),e.n4=n.k.ad(n.m,i.enumGetBox(u,3),"RippleColor"),e.ku=n.k.y(n.m,i.enumGetBox(u,3),"CornerRadius"),e.bl=n.k.i(n.m,i.enumGetBox(u,3),"BorderWidth"),e.nv=n.k.ad(n.m,i.enumGetBox(u,3),"BackgroundColor"),e.n5=n.k.ad(n.m,i.enumGetBox(u,3),"TextColor"),e.n3=n.k.ad(n.m,i.enumGetBox(u,3),"HoverTextColor"),e.n2=n.k.ad(n.m,i.enumGetBox(u,3),"HoverBackgroundColor"),e.n0=n.k.ad(n.m,i.enumGetBox(u,3),"FocusBackgroundColor"),e.n1=n.k.ad(n.m,i.enumGetBox(u,3),"FocusTextColor"),e.bc=NaN,e.bb=NaN,e.d=0,e.p=0,e.l=0,e.o=1,e.k8=c.af(n.m,n.k,i.enumGetBox(u,0),"BorderColor"),e.lj=c.ag(n.m,n.k,"UmbraShadowColor"),e.lg=c.ag(n.m,n.k,"PenumbraShadowColor"),e.k6=c.ag(n.m,n.k,"AmbientShadowColor"),e.b0=c.p(n.m,n.k,i.enumGetBox(u,0),"RestingElevation"),e.by=c.p(n.m,n.k,i.enumGetBox(u,0),"FocusElevation"),e.bz=c.p(n.m,n.k,i.enumGetBox(u,0),"HoverElevation"),e.lh=c.af(n.m,n.k,i.enumGetBox(u,0),"RippleColor"),e.kk=c.aa(n.m,n.k,i.enumGetBox(u,0),"CornerRadius"),e.k7=c.af(n.m,n.k,i.enumGetBox(u,0),"BackgroundColor"),e.k9=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledBackgroundColor"),e.la=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledBorderColor"),e.lb=c.af(n.m,n.k,i.enumGetBox(u,0),"DisabledTextColor"),e.bx=c.p(n.m,n.k,i.enumGetBox(u,0),"DisabledElevation"),e.s=c.f(n.m,n.k,"ElevationMode"),e.li=c.af(n.m,n.k,i.enumGetBox(u,0),"TextColor"),e.lf=c.af(n.m,n.k,i.enumGetBox(u,0),"HoverTextColor"),e.lc=c.af(n.m,n.k,i.enumGetBox(u,0),"FocusBackgroundColor"),e.ld=c.af(n.m,n.k,i.enumGetBox(u,0),"FocusTextColor"),e.le=c.af(n.m,n.k,i.enumGetBox(u,0),"HoverBackgroundColor"),e.a2=c.k(n.m,n.k,i.enumGetBox(u,0),"BorderWidth"),e.m1=null,e.m3=null,e.m4=null,e.m5=null,e.ck=-1,e.m8=null,e.m2=null,e.cn=-1,e.cm=-1,e.cl=-1,e.be=NaN,e.kq=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.na=null,e.lz=null,e.l1=null,e.l2=null,e.l3=null,e.b6=-1,e.l6=null,e.l0=null,e.b9=-1,e.b8=-1,e.b7=-1,e.l8=null,e.l9=null,e.l7=null,e.l4=null,e.l5=null,e.a9=NaN,e.kn=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.lk=null,e.lm=null,e.ln=null,e.lo=null,e.b1=-1,e.t=0,e.mc=null,e.ll=null,e.co=-1,e.cb=-1,e.ca=-1,e.z=null,e.nd=null,e.me=null,e.nc=null,e.nb=null,e.m9=null,e.m6=null,e.m7=null,e.ma=null,e.mb=null,e.a3=NaN,e.kl=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mq=null,e.ms=null,e.mt=null,e.mu=null,e.cg=-1,e.mx=null,e.mr=null,e.cj=-1,e.ci=-1,e.ch=-1,e.bd=NaN,e.kp=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mz=null,e.m0=null,e.my=null,e.mv=null,e.mw=null,e.lp=null,e.lr=null,e.ls=null,e.lt=null,e.b2=-1,e.md=null,e.lq=null,e.b5=-1,e.b4=-1,e.b3=-1,e.a8=NaN,e.km=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.lx=null,e.ly=null,e.lw=null,e.lu=null,e.lv=null,e.mf=null,e.mh=null,e.mi=null,e.mj=null,e.cc=-1,e.mm=null,e.mg=null,e.cf=-1,e.ce=-1,e.cd=-1,e.ba=NaN,e.ko=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.mo=null,e.mp=null,e.mn=null,e.mk=null,e.ml=null,e.ei="ig-native-button-"+n.d5++,e.eh="ig-button-"+n.d4++,e.ee="inline-block",e.ed=null,e.ef="inline-block",e.eg=null,e.eb="center",e.d6=null,e.ej=null,e.cp=0,e.ak=!1,e.ec=null,e.aj=!1,e.am=!1,e.an=!0,e.ah=!1,e.ad=!1,e.af=!1,e.ao=!1,e.al=!1,e.ai=!1,e.ag=!1,e.a5=NaN,e.a7=NaN,e.a6=NaN,e.a4=NaN,e.k4=1,e.q8=1,e.ae=!0,e.propertyChanged=null,e.clicked=null,e.mouseEnter=null,e.mouseLeave=null,e.gotFocus=null,e.lostFocus=null;var r=new f;return r.b=e,e.view=r,e.view.ao(),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.kd=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.kf(t,e,n)},n.prototype.kf=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.ki();break;case"BaseTheme":this.kj(0==this.n?2:this.n),this.ki();break;case"IsDisabled":this.ap=this.disabled||this.at,this.ki(),this.view.aq();break;case"DisableRipple":this.ap=this.disabled||this.at,this.ki();break;case"TextStyle":case"DisableHover":this.kh();break;case"ActualDisableRipple":this.view.ak();break;case"ActualBackgroundColor":case"ActualDisabledBackgroundColor":case"ActualDisabledBorderColor":case"ActualDisabledTextColor":case"ActualDisabledElevation":case"ActualHoverBackgroundColor":case"ActualBorderColor":case"ActualFocusTextColor":case"ActualHoverTextColor":case"ActualElevationMode":this.kh();break;case"Density":this.q=0==this.r?1:this.r;break;case"ActualDensity":case"ActualBorderWidth":case"ActualCornerRadius":this.view.ay(),this.kh();break;case"DisplayType":this.view.ay(),this.ki(),this.kh();break;case"ContentPaddingLeft":case"ContentPaddingTop":case"ContentPaddingRight":case"ContentPaddingBottom":case"FillAvailableSpace":this.view.ay();break;case"HorizontalContentAlignment":case"VerticalContentAlignment":this.view.as();break;case"InputId":this.view.ap();break;case"Display":this.view.al();break;case"ChildContentDisplay":this.view.ah();break;case"FlexDirection":this.view.am();break;case"FlexGrow":this.view.an();break;case"AlignItems":this.view.af();break;case"TabIndex":case"DisablePointer":this.view.av();break;case"MinWidth":this.view.au(this.bu),this.view.ay();break;case"MinHeight":this.view.at(this.bt),this.view.ay()}},n.prototype.ks=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.b)?e.b:t.b,i.isNaN_(t.a)?e.a:t.a)},n.prototype.ki=function(){switch(this.u=0!=this.w?this.w:this.v,this.nr=this.pf,this.no=this.o3,this.ne=this.nu,this.e){case 0:this.nh=null!=this.pg?this.pg:null!=this.qx?this.qx:this.o6,this.ni=null!=this.ph?this.ph:null!=this.qy?this.qy:this.o7,this.nj=null!=this.pi?this.pi:null!=this.qz?this.qz:this.o8,this.cq=this.de>=0?this.de:this.dy>=0?this.dy:this.da,this.ct=this.d2>=0?this.d2:this.d1>=0?this.d1:this.dd,this.cs=this.dp>=0?this.dp:this.d0>=0?this.d0:this.dc,this.cr=this.dn>=0?this.dn:this.dz>=0?this.dz:this.db,this.ng=null!=this.nt?this.nt:null!=this.qw?this.qw:this.o5,this.nf=null!=this.ns?this.ns:null!=this.qv?this.qv:this.o4,this.nm=null!=this.p7?this.p7:null!=this.q2?this.q2:this.pb,this.kr=this.ks(this.kt,this.ks(this.k3,this.ky)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bw)?this.bp:this.bw:this.bg,this.np=null!=this.q6?this.q6:null!=this.q4?this.q4:this.pd,this.nk=null!=this.p5?this.p5:null!=this.q0?this.q0:this.o9,this.nl=null!=this.p6?this.p6:null!=this.q1?this.q1:this.pa,this.nq=null!=this.q7?this.q7:null!=this.q5?this.q5:this.pe,this.nn=null!=this.p8?this.p8:null!=this.q3?this.q3:this.pc;break;case 2:this.nh=null!=this.pg?this.pg:null!=this.qm?this.qm:this.ou,this.ni=null!=this.ph?this.ph:null!=this.qn?this.qn:this.ov,this.nj=null!=this.pi?this.pi:null!=this.qo?this.qo:this.ow,this.cq=this.de>=0?this.de:this.du>=0?this.du:this.c6,this.ct=this.d2>=0?this.d2:this.dx>=0?this.dx:this.c9,this.cs=this.dp>=0?this.dp:this.dw>=0?this.dw:this.c8,this.cr=this.dn>=0?this.dn:this.dv>=0?this.dv:this.c7,this.ng=null!=this.nt?this.nt:null!=this.ql?this.ql:this.ot,this.nf=null!=this.p7?this.p7:null!=this.ns?this.ns:null!=this.qk?this.qk:this.os,this.nm=null!=this.qr?this.qr:this.oz,this.kr=this.ks(this.kt,this.ks(this.k2,this.kx)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bv)?this.bo:this.bv:this.bg,this.np=null!=this.q6?this.q6:null!=this.qt?this.qt:this.o1,this.nk=null!=this.p5?this.p5:null!=this.qp?this.qp:this.ox,this.nl=null!=this.p6?this.p6:null!=this.qq?this.qq:this.oy,this.nq=null!=this.q7?this.q7:null!=this.qu?this.qu:this.o2,this.nn=null!=this.p8?this.p8:null!=this.qs?this.qs:this.o0;break;case 1:this.nh=null!=this.pg?this.pg:null!=this.pw?this.pw:this.n8,this.ni=null!=this.ph?this.ph:null!=this.px?this.px:this.n9,this.nj=null!=this.pi?this.pi:null!=this.py?this.py:this.oa,this.cq=this.de>=0?this.de:this.dj>=0?this.dj:this.cy,this.ct=this.d2>=0?this.d2:this.dm>=0?this.dm:this.c1,this.cs=this.dp>=0?this.dp:this.dl>=0?this.dl:this.c0,this.cr=this.dn>=0?this.dn:this.dk>=0?this.dk:this.cz,this.ng=null!=this.nt?this.nt:null!=this.pv?this.pv:this.n7,this.nf=null!=this.ns?this.ns:null!=this.pu?this.pu:this.n6,this.nm=null!=this.p7?this.p7:null!=this.p1?this.p1:this.od,this.kr=this.ks(this.kt,this.ks(this.k0,this.kv)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.br)?this.bm:this.br:this.bg,this.np=null!=this.q6?this.q6:null!=this.p3?this.p3:this.of,this.nk=null!=this.p5?this.p5:null!=this.pz?this.pz:this.ob,this.nl=null!=this.p6?this.p6:null!=this.p0?this.p0:this.oc,this.nq=null!=this.q7?this.q7:null!=this.p4?this.p4:this.og,this.nn=null!=this.p8?this.p8:null!=this.p2?this.p2:this.oe;break;case 4:this.nh=null!=this.pg?this.pg:null!=this.qb?this.qb:this.oj,this.ni=null!=this.ph?this.ph:null!=this.qc?this.qc:this.ok,this.nj=null!=this.pi?this.pi:null!=this.qd?this.qd:this.ol,this.cq=this.de>=0?this.de:this.dq>=0?this.dq:this.c2,this.ct=this.d2>=0?this.d2:this.dt>=0?this.dt:this.c5,this.cs=this.dp>=0?this.dp:this.ds>=0?this.ds:this.c4,this.cr=this.dn>=0?this.dn:this.dr>=0?this.dr:this.c3,this.ng=null!=this.nt?this.nt:null!=this.qa?this.qa:this.oi,this.nf=null!=this.ns?this.ns:null!=this.p9?this.p9:this.oh,this.nm=null!=this.p7?this.p7:null!=this.qg?this.qg:this.oo,this.kr=this.ks(this.kt,this.ks(this.k1,this.kw)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bs)?this.bn:this.bs:this.bg,this.np=null!=this.q6?this.q6:null!=this.qi?this.qi:this.oq,this.nk=null!=this.p5?this.p5:null!=this.qe?this.qe:this.om,this.nl=null!=this.p6?this.p6:null!=this.qf?this.qf:this.on,this.nq=null!=this.q7?this.q7:null!=this.qj?this.qj:this.or,this.nn=null!=this.p8?this.p8:null!=this.qh?this.qh:this.op;break;case 3:this.nh=null!=this.pg?this.pg:null!=this.pl?this.pl:this.nx,this.ni=null!=this.ph?this.ph:null!=this.pm?this.pm:this.ny,this.nj=null!=this.pi?this.pi:null!=this.pn?this.pn:this.nz,this.cq=this.de>=0?this.de:this.df>=0?this.df:this.cu,this.ct=this.d2>=0?this.d2:this.di>=0?this.di:this.cx,this.cs=this.dp>=0?this.dp:this.dh>=0?this.dh:this.cw,this.cr=this.dn>=0?this.dn:this.dg>=0?this.dg:this.cv,this.ng=null!=this.nt?this.nt:null!=this.pk?this.pk:this.nw,this.nf=null!=this.ns?this.ns:null!=this.pj?this.pj:this.nv,this.nm=null!=this.p7?this.p7:null!=this.pq?this.pq:this.n2,this.kr=this.ks(this.kt,this.ks(this.kz,this.ku)),this.bf=i.isNaN_(this.bg)?i.isNaN_(this.bq)?this.bl:this.bq:this.bg,this.np=null!=this.q6?this.q6:null!=this.ps?this.ps:this.pd,this.nk=null!=this.p5?this.p5:null!=this.po?this.po:this.n0,this.nl=null!=this.p6?this.p6:null!=this.pp?this.pp:this.n1,this.nq=null!=this.q7?this.q7:null!=this.pt?this.pt:this.n5,this.nn=null!=this.p8?this.p8:null!=this.pr?this.pr:this.n3}},n.prototype.j6=function(){this.disabled||null!=this.clicked&&this.clicked(this,new p)},n.prototype.j5=function(){this.focused=!1,this.kh()},n.prototype.j8=function(){this.focused=!0,this.kh()},n.prototype.kc=function(){this.a0=!1,this.kh(),null!=this.mouseLeave&&this.mouseLeave(this,new i.MouseEventArgs)},n.prototype.kb=function(){this.a0=!0,this.kh(),null!=this.mouseEnter&&this.mouseEnter(this,new i.MouseEventArgs)},n.prototype.j9=function(){null!=this.gotFocus&&this.gotFocus(this,new i.FocusEventArgs)},n.prototype.ka=function(t){var e;null!=this.lostFocus&&this.lostFocus(this,((e=new i.FocusEventArgs).a=t,e))},n.prototype.kh=function(){var t=this.view.q;null!=t&&(i.NativeUI.o(t,this.kr),i.NativeUI.n(t,this.ng),i.isNaN_(this.bf)||i.NativeUI.p(t,new i.Thickness(0,this.bf)),this.disabled?this.view.ax(this.cq,this.u):this.focused&&this.az?this.view.ax(this.cr,this.u):this.a0&&!this.ar?this.view.ax(this.cs,this.u):this.view.ax(this.ct,this.u),this.disabled?i.NativeUI.m(t,this.nh):this.focused&&this.az?i.NativeUI.m(t,this.nk):this.a0&&!this.ar?i.NativeUI.m(t,this.nm):i.NativeUI.m(t,this.nf),this.view.aw(this.np,i.BrushUtil.h(0,0,0,0)),null!=this.aa&&this.view.az(this.aa),this.disabled?(i.NativeUI.q(this.view.s,this.nj),i.NativeUI.r(this.view.s,this.nj)):this.focused&&this.az?(i.NativeUI.q(this.view.s,this.nl),i.NativeUI.r(this.view.s,this.nl)):this.a0&&!this.ar?(i.NativeUI.q(this.view.s,this.nn),i.NativeUI.r(this.view.s,this.nn)):(i.NativeUI.q(this.view.s,this.nq),i.NativeUI.r(this.view.s,this.nq)))},n.prototype.kj=function(t){this.pf=n.k.ae(t,"UmbraShadowColor"),this.o3=n.k.ae(t,"PenumbraShadowColor"),this.nu=n.k.ae(t,"AmbientShadowColor"),this.v=n.k.d(t,"ElevationMode"),this.o6=n.k.ad(t,i.enumGetBox(u,0),"DisabledBackgroundColor"),this.o7=n.k.ad(t,i.enumGetBox(u,0),"DisabledBorderColor"),this.o8=n.k.ad(t,i.enumGetBox(u,0),"DisabledTextColor"),this.da=n.k.n(t,i.enumGetBox(u,0),"DisabledElevation"),this.dd=n.k.n(t,i.enumGetBox(u,0),"RestingElevation"),this.dc=n.k.n(t,i.enumGetBox(u,0),"HoverElevation"),this.db=n.k.n(t,i.enumGetBox(u,0),"FocusElevation"),this.o5=n.k.ad(t,i.enumGetBox(u,0),"BorderColor"),this.pd=n.k.ad(t,i.enumGetBox(u,0),"RippleColor"),this.ky=n.k.y(t,i.enumGetBox(u,0),"CornerRadius"),this.bp=n.k.i(t,i.enumGetBox(u,0),"BorderWidth"),this.o4=n.k.ad(t,i.enumGetBox(u,0),"BackgroundColor"),this.pe=n.k.ad(t,i.enumGetBox(u,0),"TextColor"),this.pc=n.k.ad(t,i.enumGetBox(u,0),"HoverTextColor"),this.pb=n.k.ad(t,i.enumGetBox(u,0),"HoverBackgroundColor"),this.o9=n.k.ad(t,i.enumGetBox(u,0),"FocusBackgroundColor"),this.pa=n.k.ad(t,i.enumGetBox(u,0),"FocusTextColor"),this.n8=n.k.ad(t,i.enumGetBox(u,1),"DisabledBackgroundColor"),this.n9=n.k.ad(t,i.enumGetBox(u,1),"DisabledBorderColor"),this.oa=n.k.ad(t,i.enumGetBox(u,1),"DisabledTextColor"),this.cy=n.k.n(t,i.enumGetBox(u,1),"DisabledElevation"),this.c1=n.k.n(t,i.enumGetBox(u,1),"RestingElevation"),this.c0=n.k.n(t,i.enumGetBox(u,1),"HoverElevation"),this.cz=n.k.n(t,i.enumGetBox(u,1),"FocusElevation"),this.n7=n.k.ad(t,i.enumGetBox(u,1),"BorderColor"),this.of=n.k.ad(t,i.enumGetBox(u,1),"RippleColor"),this.kv=n.k.y(t,i.enumGetBox(u,1),"CornerRadius"),this.bm=n.k.i(t,i.enumGetBox(u,1),"BorderWidth"),this.n6=n.k.ad(t,i.enumGetBox(u,1),"BackgroundColor"),this.og=n.k.ad(t,i.enumGetBox(u,1),"TextColor"),this.oe=n.k.ad(t,i.enumGetBox(u,1),"HoverTextColor"),this.od=n.k.ad(t,i.enumGetBox(u,1),"HoverBackgroundColor"),this.ob=n.k.ad(t,i.enumGetBox(u,1),"FocusBackgroundColor"),this.oc=n.k.ad(t,i.enumGetBox(u,1),"FocusTextColor"),this.ou=n.k.ad(t,i.enumGetBox(u,2),"DisabledBackgroundColor"),this.ov=n.k.ad(t,i.enumGetBox(u,2),"DisabledBorderColor"),this.ow=n.k.ad(t,i.enumGetBox(u,2),"DisabledTextColor"),this.c6=n.k.n(t,i.enumGetBox(u,2),"DisabledElevation"),this.c9=n.k.n(t,i.enumGetBox(u,2),"RestingElevation"),this.c8=n.k.n(t,i.enumGetBox(u,2),"HoverElevation"),this.c7=n.k.n(t,i.enumGetBox(u,2),"FocusElevation"),this.ot=n.k.ad(t,i.enumGetBox(u,2),"BorderColor"),this.o1=n.k.ad(t,i.enumGetBox(u,2),"RippleColor"),this.kx=n.k.y(t,i.enumGetBox(u,2),"CornerRadius"),this.bo=n.k.i(t,i.enumGetBox(u,2),"BorderWidth"),this.os=n.k.ad(t,i.enumGetBox(u,2),"BackgroundColor"),this.o2=n.k.ad(t,i.enumGetBox(u,2),"TextColor"),this.o0=n.k.ad(t,i.enumGetBox(u,2),"HoverTextColor"),this.oz=n.k.ad(t,i.enumGetBox(u,2),"HoverBackgroundColor"),this.ox=n.k.ad(t,i.enumGetBox(u,2),"FocusBackgroundColor"),this.oy=n.k.ad(t,i.enumGetBox(u,2),"FocusTextColor"),this.oj=n.k.ad(t,i.enumGetBox(u,4),"DisabledBackgroundColor"),this.ok=n.k.ad(t,i.enumGetBox(u,4),"DisabledBorderColor"),this.ol=n.k.ad(t,i.enumGetBox(u,4),"DisabledTextColor"),this.c2=n.k.n(t,i.enumGetBox(u,4),"DisabledElevation"),this.c5=n.k.n(t,i.enumGetBox(u,4),"RestingElevation"),this.c4=n.k.n(t,i.enumGetBox(u,4),"HoverElevation"),this.c3=n.k.n(t,i.enumGetBox(u,4),"FocusElevation"),this.oi=n.k.ad(t,i.enumGetBox(u,4),"BorderColor"),this.oq=n.k.ad(t,i.enumGetBox(u,4),"RippleColor"),this.kw=n.k.y(t,i.enumGetBox(u,4),"CornerRadius"),this.bn=n.k.i(t,i.enumGetBox(u,4),"BorderWidth"),this.oh=n.k.ad(t,i.enumGetBox(u,4),"BackgroundColor"),this.or=n.k.ad(t,i.enumGetBox(u,4),"TextColor"),this.op=n.k.ad(t,i.enumGetBox(u,4),"HoverTextColor"),this.oo=n.k.ad(t,i.enumGetBox(u,4),"HoverBackgroundColor"),this.om=n.k.ad(t,i.enumGetBox(u,4),"FocusBackgroundColor"),this.on=n.k.ad(t,i.enumGetBox(u,4),"FocusTextColor"),this.nx=n.k.ad(t,i.enumGetBox(u,3),"DisabledBackgroundColor"),this.ny=n.k.ad(t,i.enumGetBox(u,3),"DisabledBorderColor"),this.nz=n.k.ad(t,i.enumGetBox(u,3),"DisabledTextColor"),this.cu=n.k.n(t,i.enumGetBox(u,3),"DisabledElevation"),this.cx=n.k.n(t,i.enumGetBox(u,3),"RestingElevation"),this.cw=n.k.n(t,i.enumGetBox(u,3),"HoverElevation"),this.cv=n.k.n(t,i.enumGetBox(u,3),"FocusElevation"),this.nw=n.k.ad(t,i.enumGetBox(u,3),"BorderColor"),this.n4=n.k.ad(t,i.enumGetBox(u,3),"RippleColor"),this.ku=n.k.y(t,i.enumGetBox(u,3),"CornerRadius"),this.bl=n.k.i(t,i.enumGetBox(u,3),"BorderWidth"),this.nv=n.k.ad(t,i.enumGetBox(u,3),"BackgroundColor"),this.n5=n.k.ad(t,i.enumGetBox(u,3),"TextColor"),this.n3=n.k.ad(t,i.enumGetBox(u,3),"HoverTextColor"),this.n2=n.k.ad(t,i.enumGetBox(u,3),"HoverBackgroundColor"),this.n0=n.k.ad(t,i.enumGetBox(u,3),"FocusBackgroundColor"),this.n1=n.k.ad(t,i.enumGetBox(u,3),"FocusTextColor")},Object.defineProperty(n.prototype,"bu",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.kd("MinWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.kd("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.kd("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.kd("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.kd("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.kd("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ng",{get:function(){return this.k8},set:function(t){var e=this.k8;this.k8=t,e!=this.k8&&this.kd("ActualBorderColor",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.kd("ActualUmbraShadowColor",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.kd("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ne",{get:function(){return this.k6},set:function(t){var e=this.k6;this.k6=t,e!=this.k6&&this.kd("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ct",{get:function(){return this.b0},set:function(t){var e=this.b0;this.b0=t,e!=this.b0&&this.kd("ActualRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.by},set:function(t){var e=this.by;this.by=t,e!=this.by&&this.kd("ActualFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.kd("ActualHoverElevation",e,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.kd("ActualRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kr",{get:function(){return this.kk},set:function(t){var e=this.kk;this.kk=t,e!=this.kk&&this.kd("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nf",{get:function(){return this.k7},set:function(t){var e=this.k7;this.k7=t,e!=this.k7&&this.kd("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nh",{get:function(){return this.k9},set:function(t){var e=this.k9;this.k9=t,e!=this.k9&&this.kd("ActualDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ni",{get:function(){return this.la},set:function(t){var e=this.la;this.la=t,e!=this.la&&this.kd("ActualDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nj",{get:function(){return this.lb},set:function(t){var e=this.lb;this.lb=t,e!=this.lb&&this.kd("ActualDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bx=t,e!=this.bx&&this.kd("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.kd("ActualElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,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.kd("ActualTextColor",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.kd("ActualHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nk",{get:function(){return this.lc},set:function(t){var e=this.lc;this.lc=t,e!=this.lc&&this.kd("ActualFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nl",{get:function(){return this.ld},set:function(t){var e=this.ld;this.ld=t,e!=this.ld&&this.kd("ActualFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nm",{get:function(){return this.le},set:function(t){var e=this.le;this.le=t,e!=this.le&&this.kd("ActualHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.kd("ActualBorderWidth",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.kd("RaisedBackgroundColor",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.kd("RaisedDisabledBackgroundColor",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.kd("RaisedDisabledBorderColor",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.kd("RaisedDisabledTextColor",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.kd("RaisedDisabledElevation",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.kd("RaisedHoverBackgroundColor",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.kd("RaisedBorderColor",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.kd("RaisedRestingElevation",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.kd("RaisedHoverElevation",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.kd("RaisedFocusElevation",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.kd("RaisedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k3",{get:function(){return this.kq},set:function(t){var e=this.kq;this.kq=t,this.kd("RaisedCornerRadius",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.kd("RaisedRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pu",{get:function(){return this.lz},set:function(t){var e=this.lz;this.lz=t,e!=this.lz&&this.kd("FlatBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pw",{get:function(){return this.l1},set:function(t){var e=this.l1;this.l1=t,e!=this.l1&&this.kd("FlatDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"px",{get:function(){return this.l2},set:function(t){var e=this.l2;this.l2=t,e!=this.l2&&this.kd("FlatDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"py",{get:function(){return this.l3},set:function(t){var e=this.l3;this.l3=t,e!=this.l3&&this.kd("FlatDisabledTextColor",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.kd("FlatDisabledElevation",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.kd("FlatHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pv",{get:function(){return this.l0},set:function(t){var e=this.l0;this.l0=t,e!=this.l0&&this.kd("FlatBorderColor",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.kd("FlatRestingElevation",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.kd("FlatHoverElevation",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.kd("FlatFocusElevation",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.kd("FlatRippleColor",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.kd("FlatTextColor",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.kd("FlatHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pz",{get:function(){return this.l4},set:function(t){var e=this.l4;this.l4=t,e!=this.l4&&this.kd("FlatFocusBackgroundColor",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.kd("FlatFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.kd("FlatBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k0",{get:function(){return this.kn},set:function(t){var e=this.kn;this.kn=t,this.kd("FlatCornerRadius",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.kd("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pg",{get:function(){return this.lm},set:function(t){var e=this.lm;this.lm=t,e!=this.lm&&this.kd("DisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ph",{get:function(){return this.ln},set:function(t){var e=this.ln;this.ln=t,e!=this.ln&&this.kd("DisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pi",{get:function(){return this.lo},set:function(t){var e=this.lo;this.lo=t,e!=this.lo&&this.kd("DisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"de",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.kd("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.kd("ElevationMode",i.enumGetBox(i.ElevationMode_$type,e),i.enumGetBox(i.ElevationMode_$type,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.kd("HoverBackgroundColor",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.kd("BorderColor",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.kd("RestingElevation",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.kd("HoverElevation",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.kd("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.kd("TextStyle",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.kd("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p8",{get:function(){return this.me},set:function(t){var e=this.me;this.me=t,e!=this.me&&this.kd("HoverTextColor",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.kd("RippleColor",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.kd("RaisedTextColor",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.kd("RaisedHoverTextColor",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.kd("RaisedFocusBackgroundColor",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.kd("RaisedFocusTextColor",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.kd("FocusBackgroundColor",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.kd("FocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.kd("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kt",{get:function(){return this.kl},set:function(t){var e=this.kl;this.kl=t,this.kd("CornerRadius",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.kd("OutlinedBackgroundColor",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.kd("OutlinedDisabledBackgroundColor",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.kd("OutlinedDisabledBorderColor",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.kd("OutlinedDisabledTextColor",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.kd("OutlinedDisabledElevation",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.kd("OutlinedHoverBackgroundColor",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.kd("OutlinedBorderColor",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.kd("OutlinedRestingElevation",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.kd("OutlinedHoverElevation",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.kd("OutlinedFocusElevation",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.kd("OutlinedBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k2",{get:function(){return this.kp},set:function(t){var e=this.kp;this.kp=t,this.kd("OutlinedCornerRadius",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.kd("OutlinedRippleColor",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.kd("OutlinedTextColor",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.kd("OutlinedHoverTextColor",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.kd("OutlinedFocusBackgroundColor",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.kd("OutlinedFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pj",{get:function(){return this.lp},set:function(t){var e=this.lp;this.lp=t,e!=this.lp&&this.kd("FabBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pl",{get:function(){return this.lr},set:function(t){var e=this.lr;this.lr=t,e!=this.lr&&this.kd("FabDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pm",{get:function(){return this.ls},set:function(t){var e=this.ls;this.ls=t,e!=this.ls&&this.kd("FabDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pn",{get:function(){return this.lt},set:function(t){var e=this.lt;this.lt=t,e!=this.lt&&this.kd("FabDisabledTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"df",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.kd("FabDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pq",{get:function(){return this.md},set:function(t){var e=this.md;this.md=t,e!=this.md&&this.kd("FabHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pk",{get:function(){return this.lq},set:function(t){var e=this.lq;this.lq=t,e!=this.lq&&this.kd("FabBorderColor",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.kd("FabRestingElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dh",{get:function(){return this.b4},set:function(t){var e=this.b4;this.b4=t,e!=this.b4&&this.kd("FabHoverElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dg",{get:function(){return this.b3},set:function(t){var e=this.b3;this.b3=t,e!=this.b3&&this.kd("FabFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.kd("FabBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kz",{get:function(){return this.km},set:function(t){var e=this.km;this.km=t,this.kd("FabCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ps",{get:function(){return this.lx},set:function(t){var e=this.lx;this.lx=t,e!=this.lx&&this.kd("FabRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pt",{get:function(){return this.ly},set:function(t){var e=this.ly;this.ly=t,e!=this.ly&&this.kd("FabTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pr",{get:function(){return this.lw},set:function(t){var e=this.lw;this.lw=t,e!=this.lw&&this.kd("FabHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"po",{get:function(){return this.lu},set:function(t){var e=this.lu;this.lu=t,e!=this.lu&&this.kd("FabFocusBackgroundColor",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.kd("FabFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p9",{get:function(){return this.mf},set:function(t){var e=this.mf;this.mf=t,e!=this.mf&&this.kd("IconBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qb",{get:function(){return this.mh},set:function(t){var e=this.mh;this.mh=t,e!=this.mh&&this.kd("IconDisabledBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qc",{get:function(){return this.mi},set:function(t){var e=this.mi;this.mi=t,e!=this.mi&&this.kd("IconDisabledBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qd",{get:function(){return this.mj},set:function(t){var e=this.mj;this.mj=t,e!=this.mj&&this.kd("IconDisabledTextColor",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.kd("IconDisabledElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qg",{get:function(){return this.mm},set:function(t){var e=this.mm;this.mm=t,e!=this.mm&&this.kd("IconHoverBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qa",{get:function(){return this.mg},set:function(t){var e=this.mg;this.mg=t,e!=this.mg&&this.kd("IconBorderColor",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.kd("IconRestingElevation",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.kd("IconHoverElevation",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.kd("IconFocusElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.kd("IconBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k1",{get:function(){return this.ko},set:function(t){var e=this.ko;this.ko=t,this.kd("IconCornerRadius",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.kd("IconRippleColor",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.kd("IconTextColor",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.kd("IconHoverTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qe",{get:function(){return this.mk},set:function(t){var e=this.mk;this.mk=t,e!=this.mk&&this.kd("IconFocusBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"qf",{get:function(){return this.ml},set:function(t){var e=this.ml;this.ml=t,e!=this.ml&&this.kd("IconFocusTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.kd("InputId",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.kd("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fw",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.kd("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ff",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.kd("ChildContentDisplay",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g0",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.kd("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g2",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.kd("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.kd("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ea",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.kd("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.kd("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.ak},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d3",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,this.ak=!0,e!=this.cp&&this.kd("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e9",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.kd("AriaLabel",e,t)},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.kd("FillAvailableSpace",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.kd("IsFocused",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.kd("IsFocusStyleEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.kd("DisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.kd("ActualDisableRipple",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.kd("DisableHover",e,this.af)},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.kd("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.kd("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.kd("DisableTransitions",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.kd("DisablePointer",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.kd("ContentPaddingLeft",e,this.a5)},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.kd("ContentPaddingTop",e,this.a7)},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.kd("ContentPaddingRight",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.kd("ContentPaddingBottom",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k5",{get:function(){return this.k4},set:function(t){var e=this.k4;this.k4=t,e!=this.k4&&this.kd("HorizontalContentAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,this.k4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q9",{get:function(){return this.q8},set:function(t){var e=this.q8;this.q8=t,e!=this.q8&&this.kd("VerticalContentAlignment",i.enumGetBox(i.VerticalAlignment_$type,e),i.enumGetBox(i.VerticalAlignment_$type,this.q8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.kd("ClickTunneling",e,this.ae)},enumerable:!1,configurable:!0}),n.prototype.ke=function(){this.j3(),this.view.aw(this.np,i.BrushUtil.h(0,0,0,0)),this.kh()},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.j3=function(){this.view.ae()},n.prototype.onDetachedFromUI=function(){this.view.aj()},n.prototype.onAttachedToUI=function(){this.view.ag()},n.prototype.appendButtonContent=function(t){this.view.ac(t)},n.prototype.clearButtonContent=function(){this.view.ad()},n.prototype.getButtonContent=function(){return this.view.r()},n.prototype.a1=function(){return this.view.g()},n.prototype.d7=function(){return this.b()},n.prototype.f0=function(){return this.b().serialize()},n.prototype.b=function(){var t=this.view.q,e=this.view.s,n=new d,r=this.view.a();if(n.s=r[0],n.q=r[1],n.p=i.NativeUI.d(t),n.t=i.NativeUI.k(t),n.h=this.n,n.i=this.q,n.c=i.AppearanceHelper.a(i.NativeUI.ak(t)),n.g=i.AppearanceHelper.a(this.nr),n.d=i.AppearanceHelper.a(this.no),n.a=i.AppearanceHelper.a(this.ne),n.u=this.ct,n.e=i.AppearanceHelper.a(this.np),n.ag=this.kr,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.bf,n.x=this.fw,n.y=this.g0,n.z=this.g2,n.w=this.e7,n.v=this.view.s.getNativeElement().innerText,n.aa=this.h2,n.m=this.focused,n.k=this.ap,n.n=this.a0,n.l=this.disabled,null!=this.aa){var o=this.aa;if(null!=this.view&&null==o.q){var s=this.view.k,a=i.FontUtil.getFontInfoFromString(s,o.fontString);o.q=a.q,o.f=a.f,o.r=a.r,o.t=a.t,o.u=a.u,o.v=a.v}null!=o.q&&(n.ab=o.q),i.isNaN_(o.f)||(n.r=o.f),null!=o.v&&(n.af=o.v),null!=o.t&&(n.ad=o.t),null!=o.r&&(n.ac=o.t)}return n},n.prototype.provideContainer=function(t){this.view.ai(t)},n.$t=i.markType(n,"XButton",i.Base.$,[i.INotifyPropertyChanged_$type]),n.m=2,n.d5=0,n.d4=0,n.i=new l(1,((r=new i.Dictionary$2(i.String_$type,i.Base.$,0)).addItem("UmbraShadowColor",i.BrushUtil.h(66,0,0,0)),r.addItem("PenumbraShadowColor",i.BrushUtil.h(30,0,0,0)),r.addItem("AmbientShadowColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(255,228,28,119)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,4)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,228,28,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(13,228,28,119)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(30,228,28,119)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(138,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,228,28,119)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,220,83,145)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.h(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(100,33,150,243)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(255,33,150,243)),t.addItem("RippleColor",i.BrushUtil.h(0,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverTextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(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.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(30,0,0,0)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(66,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(100,33,150,243)),t.addItem("PenumbraShadowColor",i.BrushUtil.h(70,33,150,243)),t.addItem("AmbientShadowColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(100,33,150,243)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverTextColor",i.BrushUtil.h(255,119,119,119)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(30,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(255,33,150,243)),t.addItem("RippleColor",i.BrushUtil.h(0,0,0,0)),t.addItem("CornerRadius",new i.CornerRadius(0,3)),t.addItem("BorderWidth",1),t.addItem("BackgroundColor",i.BrushUtil.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverTextColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(26,33,150,243)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(0,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(0,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(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.h(0,0,0,0)),t.addItem("TextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverTextColor",i.BrushUtil.h(255,0,0,0)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(51,178,191,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(51,178,191,220)),t.addItem("FocusTextColor",i.BrushUtil.h(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.h(10,0,0,0)),t.addItem("DisabledBorderColor",i.BrushUtil.h(10,0,0,0)),t.addItem("DisabledTextColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("RippleColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CornerRadius",new i.CornerRadius(0,28)),t.addItem("BorderWidth",NaN),t.addItem("BackgroundColor",i.BrushUtil.h(255,33,150,243)),t.addItem("TextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverTextColor",i.BrushUtil.h(255,255,255,255)),t.addItem("HoverBackgroundColor",i.BrushUtil.h(255,27,135,220)),t.addItem("FocusBackgroundColor",i.BrushUtil.h(255,21,112,184)),t.addItem("FocusTextColor",i.BrushUtil.h(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),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.bu},set:function(t){this.i.bu=+t,this._a("minWidth",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"minHeight",{get:function(){return this.i.bt},set:function(t){this.i.bt=+t,this._a("minHeight",this.i.bt)},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.ng)},set:function(t){this.i.ng=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.ng))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.nr)},set:function(t){this.i.nr=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.nr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.no)},set:function(t){this.i.no=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.no))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.ne)},set:function(t){this.i.ne=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.ne))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRestingElevation",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("actualRestingElevation",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusElevation",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("actualFocusElevation",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverElevation",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("actualHoverElevation",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRippleColor",{get:function(){return i.brushToString(this.i.np)},set:function(t){this.i.np=i.stringToBrush(t),this._a("actualRippleColor",i.brushToString(this.i.np))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.kr?this.i.kr.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.b=+t,this._a("actualCornerRadiusBottomRight",this.i.kr.b),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.kr?this.i.kr.a:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.a=+t,this._a("actualCornerRadiusBottomLeft",this.i.kr.a),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.kr?this.i.kr.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.c=+t,this._a("actualCornerRadiusTopLeft",this.i.kr.c),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.kr?this.i.kr.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.kr.d=+t,this._a("actualCornerRadiusTopRight",this.i.kr.d),this.i.kr=this.i.kr},enumerable:!1,configurable:!0}),n.prototype.ensureActualCornerRadius=function(){this.i.kr||(this.i.kr=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.nf)},set:function(t){this.i.nf=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.nf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.nh)},set:function(t){this.i.nh=i.stringToBrush(t),this._a("actualDisabledBackgroundColor",i.brushToString(this.i.nh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledBorderColor",{get:function(){return i.brushToString(this.i.ni)},set:function(t){this.i.ni=i.stringToBrush(t),this._a("actualDisabledBorderColor",i.brushToString(this.i.ni))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.nj)},set:function(t){this.i.nj=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.nj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledElevation",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("actualDisabledElevation",this.i.cq)},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.nq)},set:function(t){this.i.nq=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.nq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.nn)},set:function(t){this.i.nn=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.nn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusBackgroundColor",{get:function(){return i.brushToString(this.i.nk)},set:function(t){this.i.nk=i.stringToBrush(t),this._a("actualFocusBackgroundColor",i.brushToString(this.i.nk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFocusTextColor",{get:function(){return i.brushToString(this.i.nl)},set:function(t){this.i.nl=i.stringToBrush(t),this._a("actualFocusTextColor",i.brushToString(this.i.nl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.nm)},set:function(t){this.i.nm=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.nm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBorderWidth",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("actualBorderWidth",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBackgroundColor",{get:function(){return i.brushToString(this.i.qv)},set:function(t){this.i.qv=i.stringToBrush(t),this._a("raisedBackgroundColor",i.brushToString(this.i.qv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qx)},set:function(t){this.i.qx=i.stringToBrush(t),this._a("raisedDisabledBackgroundColor",i.brushToString(this.i.qx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledBorderColor",{get:function(){return i.brushToString(this.i.qy)},set:function(t){this.i.qy=i.stringToBrush(t),this._a("raisedDisabledBorderColor",i.brushToString(this.i.qy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledTextColor",{get:function(){return i.brushToString(this.i.qz)},set:function(t){this.i.qz=i.stringToBrush(t),this._a("raisedDisabledTextColor",i.brushToString(this.i.qz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedDisabledElevation",{get:function(){return this.i.dy},set:function(t){this.i.dy=+t,this._a("raisedDisabledElevation",this.i.dy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.q2)},set:function(t){this.i.q2=i.stringToBrush(t),this._a("raisedHoverBackgroundColor",i.brushToString(this.i.q2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderColor",{get:function(){return i.brushToString(this.i.qw)},set:function(t){this.i.qw=i.stringToBrush(t),this._a("raisedBorderColor",i.brushToString(this.i.qw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedRestingElevation",{get:function(){return this.i.d1},set:function(t){this.i.d1=+t,this._a("raisedRestingElevation",this.i.d1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverElevation",{get:function(){return this.i.d0},set:function(t){this.i.d0=+t,this._a("raisedHoverElevation",this.i.d0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusElevation",{get:function(){return this.i.dz},set:function(t){this.i.dz=+t,this._a("raisedFocusElevation",this.i.dz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedBorderWidth",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("raisedBorderWidth",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomRight",{get:function(){return this.i.k3?this.i.k3.b:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.b=+t,this._a("raisedCornerRadiusBottomRight",this.i.k3.b),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusBottomLeft",{get:function(){return this.i.k3?this.i.k3.a:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.a=+t,this._a("raisedCornerRadiusBottomLeft",this.i.k3.a),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopLeft",{get:function(){return this.i.k3?this.i.k3.c:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.c=+t,this._a("raisedCornerRadiusTopLeft",this.i.k3.c),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedCornerRadiusTopRight",{get:function(){return this.i.k3?this.i.k3.d:NaN},set:function(t){this.ensureRaisedCornerRadius(),this.i.k3.d=+t,this._a("raisedCornerRadiusTopRight",this.i.k3.d),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),n.prototype.ensureRaisedCornerRadius=function(){this.i.k3||(this.i.k3=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"raisedRippleColor",{get:function(){return i.brushToString(this.i.q4)},set:function(t){this.i.q4=i.stringToBrush(t),this._a("raisedRippleColor",i.brushToString(this.i.q4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBackgroundColor",{get:function(){return i.brushToString(this.i.pu)},set:function(t){this.i.pu=i.stringToBrush(t),this._a("flatBackgroundColor",i.brushToString(this.i.pu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.pw)},set:function(t){this.i.pw=i.stringToBrush(t),this._a("flatDisabledBackgroundColor",i.brushToString(this.i.pw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledBorderColor",{get:function(){return i.brushToString(this.i.px)},set:function(t){this.i.px=i.stringToBrush(t),this._a("flatDisabledBorderColor",i.brushToString(this.i.px))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledTextColor",{get:function(){return i.brushToString(this.i.py)},set:function(t){this.i.py=i.stringToBrush(t),this._a("flatDisabledTextColor",i.brushToString(this.i.py))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatDisabledElevation",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("flatDisabledElevation",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverBackgroundColor",{get:function(){return i.brushToString(this.i.p1)},set:function(t){this.i.p1=i.stringToBrush(t),this._a("flatHoverBackgroundColor",i.brushToString(this.i.p1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderColor",{get:function(){return i.brushToString(this.i.pv)},set:function(t){this.i.pv=i.stringToBrush(t),this._a("flatBorderColor",i.brushToString(this.i.pv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRestingElevation",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("flatRestingElevation",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverElevation",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("flatHoverElevation",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusElevation",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("flatFocusElevation",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatRippleColor",{get:function(){return i.brushToString(this.i.p3)},set:function(t){this.i.p3=i.stringToBrush(t),this._a("flatRippleColor",i.brushToString(this.i.p3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatTextColor",{get:function(){return i.brushToString(this.i.p4)},set:function(t){this.i.p4=i.stringToBrush(t),this._a("flatTextColor",i.brushToString(this.i.p4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatHoverTextColor",{get:function(){return i.brushToString(this.i.p2)},set:function(t){this.i.p2=i.stringToBrush(t),this._a("flatHoverTextColor",i.brushToString(this.i.p2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusBackgroundColor",{get:function(){return i.brushToString(this.i.pz)},set:function(t){this.i.pz=i.stringToBrush(t),this._a("flatFocusBackgroundColor",i.brushToString(this.i.pz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatFocusTextColor",{get:function(){return i.brushToString(this.i.p0)},set:function(t){this.i.p0=i.stringToBrush(t),this._a("flatFocusTextColor",i.brushToString(this.i.p0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatBorderWidth",{get:function(){return this.i.br},set:function(t){this.i.br=+t,this._a("flatBorderWidth",this.i.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomRight",{get:function(){return this.i.k0?this.i.k0.b:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.b=+t,this._a("flatCornerRadiusBottomRight",this.i.k0.b),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusBottomLeft",{get:function(){return this.i.k0?this.i.k0.a:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.a=+t,this._a("flatCornerRadiusBottomLeft",this.i.k0.a),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopLeft",{get:function(){return this.i.k0?this.i.k0.c:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.c=+t,this._a("flatCornerRadiusTopLeft",this.i.k0.c),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flatCornerRadiusTopRight",{get:function(){return this.i.k0?this.i.k0.d:NaN},set:function(t){this.ensureFlatCornerRadius(),this.i.k0.d=+t,this._a("flatCornerRadiusTopRight",this.i.k0.d),this.i.k0=this.i.k0},enumerable:!1,configurable:!0}),n.prototype.ensureFlatCornerRadius=function(){this.i.k0||(this.i.k0=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.ns)},set:function(t){this.i.ns=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.ns))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBackgroundColor",{get:function(){return i.brushToString(this.i.pg)},set:function(t){this.i.pg=i.stringToBrush(t),this._a("disabledBackgroundColor",i.brushToString(this.i.pg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledBorderColor",{get:function(){return i.brushToString(this.i.ph)},set:function(t){this.i.ph=i.stringToBrush(t),this._a("disabledBorderColor",i.brushToString(this.i.ph))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.pi)},set:function(t){this.i.pi=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.pi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledElevation",{get:function(){return this.i.de},set:function(t){this.i.de=+t,this._a("disabledElevation",this.i.de)},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.p7)},set:function(t){this.i.p7=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.p7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderColor",{get:function(){return i.brushToString(this.i.nt)},set:function(t){this.i.nt=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.nt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"restingElevation",{get:function(){return this.i.d2},set:function(t){this.i.d2=+t,this._a("restingElevation",this.i.d2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverElevation",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("hoverElevation",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusElevation",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("focusElevation",this.i.dn)},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.q7)},set:function(t){this.i.q7=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.q7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.p8)},set:function(t){this.i.p8=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.p8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleColor",{get:function(){return i.brushToString(this.i.q6)},set:function(t){this.i.q6=i.stringToBrush(t),this._a("rippleColor",i.brushToString(this.i.q6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedTextColor",{get:function(){return i.brushToString(this.i.q5)},set:function(t){this.i.q5=i.stringToBrush(t),this._a("raisedTextColor",i.brushToString(this.i.q5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedHoverTextColor",{get:function(){return i.brushToString(this.i.q3)},set:function(t){this.i.q3=i.stringToBrush(t),this._a("raisedHoverTextColor",i.brushToString(this.i.q3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.q0)},set:function(t){this.i.q0=i.stringToBrush(t),this._a("raisedFocusBackgroundColor",i.brushToString(this.i.q0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"raisedFocusTextColor",{get:function(){return i.brushToString(this.i.q1)},set:function(t){this.i.q1=i.stringToBrush(t),this._a("raisedFocusTextColor",i.brushToString(this.i.q1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusBackgroundColor",{get:function(){return i.brushToString(this.i.p5)},set:function(t){this.i.p5=i.stringToBrush(t),this._a("focusBackgroundColor",i.brushToString(this.i.p5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusTextColor",{get:function(){return i.brushToString(this.i.p6)},set:function(t){this.i.p6=i.stringToBrush(t),this._a("focusTextColor",i.brushToString(this.i.p6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderWidth",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("borderWidth",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.kt?this.i.kt.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.b=+t,this._a("cornerRadiusBottomRight",this.i.kt.b),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.kt?this.i.kt.a:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.a=+t,this._a("cornerRadiusBottomLeft",this.i.kt.a),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.kt?this.i.kt.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.c=+t,this._a("cornerRadiusTopLeft",this.i.kt.c),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.kt?this.i.kt.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.kt.d=+t,this._a("cornerRadiusTopRight",this.i.kt.d),this.i.kt=this.i.kt},enumerable:!1,configurable:!0}),n.prototype.ensureCornerRadius=function(){this.i.kt||(this.i.kt=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedBackgroundColor",{get:function(){return i.brushToString(this.i.qk)},set:function(t){this.i.qk=i.stringToBrush(t),this._a("outlinedBackgroundColor",i.brushToString(this.i.qk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qm)},set:function(t){this.i.qm=i.stringToBrush(t),this._a("outlinedDisabledBackgroundColor",i.brushToString(this.i.qm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledBorderColor",{get:function(){return i.brushToString(this.i.qn)},set:function(t){this.i.qn=i.stringToBrush(t),this._a("outlinedDisabledBorderColor",i.brushToString(this.i.qn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledTextColor",{get:function(){return i.brushToString(this.i.qo)},set:function(t){this.i.qo=i.stringToBrush(t),this._a("outlinedDisabledTextColor",i.brushToString(this.i.qo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedDisabledElevation",{get:function(){return this.i.du},set:function(t){this.i.du=+t,this._a("outlinedDisabledElevation",this.i.du)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qr)},set:function(t){this.i.qr=i.stringToBrush(t),this._a("outlinedHoverBackgroundColor",i.brushToString(this.i.qr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderColor",{get:function(){return i.brushToString(this.i.ql)},set:function(t){this.i.ql=i.stringToBrush(t),this._a("outlinedBorderColor",i.brushToString(this.i.ql))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedRestingElevation",{get:function(){return this.i.dx},set:function(t){this.i.dx=+t,this._a("outlinedRestingElevation",this.i.dx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverElevation",{get:function(){return this.i.dw},set:function(t){this.i.dw=+t,this._a("outlinedHoverElevation",this.i.dw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusElevation",{get:function(){return this.i.dv},set:function(t){this.i.dv=+t,this._a("outlinedFocusElevation",this.i.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedBorderWidth",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("outlinedBorderWidth",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomRight",{get:function(){return this.i.k2?this.i.k2.b:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.b=+t,this._a("outlinedCornerRadiusBottomRight",this.i.k2.b),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusBottomLeft",{get:function(){return this.i.k2?this.i.k2.a:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.a=+t,this._a("outlinedCornerRadiusBottomLeft",this.i.k2.a),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopLeft",{get:function(){return this.i.k2?this.i.k2.c:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.c=+t,this._a("outlinedCornerRadiusTopLeft",this.i.k2.c),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedCornerRadiusTopRight",{get:function(){return this.i.k2?this.i.k2.d:NaN},set:function(t){this.ensureOutlinedCornerRadius(),this.i.k2.d=+t,this._a("outlinedCornerRadiusTopRight",this.i.k2.d),this.i.k2=this.i.k2},enumerable:!1,configurable:!0}),n.prototype.ensureOutlinedCornerRadius=function(){this.i.k2||(this.i.k2=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"outlinedRippleColor",{get:function(){return i.brushToString(this.i.qt)},set:function(t){this.i.qt=i.stringToBrush(t),this._a("outlinedRippleColor",i.brushToString(this.i.qt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedTextColor",{get:function(){return i.brushToString(this.i.qu)},set:function(t){this.i.qu=i.stringToBrush(t),this._a("outlinedTextColor",i.brushToString(this.i.qu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedHoverTextColor",{get:function(){return i.brushToString(this.i.qs)},set:function(t){this.i.qs=i.stringToBrush(t),this._a("outlinedHoverTextColor",i.brushToString(this.i.qs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qp)},set:function(t){this.i.qp=i.stringToBrush(t),this._a("outlinedFocusBackgroundColor",i.brushToString(this.i.qp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"outlinedFocusTextColor",{get:function(){return i.brushToString(this.i.qq)},set:function(t){this.i.qq=i.stringToBrush(t),this._a("outlinedFocusTextColor",i.brushToString(this.i.qq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBackgroundColor",{get:function(){return i.brushToString(this.i.pj)},set:function(t){this.i.pj=i.stringToBrush(t),this._a("fabBackgroundColor",i.brushToString(this.i.pj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.pl)},set:function(t){this.i.pl=i.stringToBrush(t),this._a("fabDisabledBackgroundColor",i.brushToString(this.i.pl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledBorderColor",{get:function(){return i.brushToString(this.i.pm)},set:function(t){this.i.pm=i.stringToBrush(t),this._a("fabDisabledBorderColor",i.brushToString(this.i.pm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledTextColor",{get:function(){return i.brushToString(this.i.pn)},set:function(t){this.i.pn=i.stringToBrush(t),this._a("fabDisabledTextColor",i.brushToString(this.i.pn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabDisabledElevation",{get:function(){return this.i.df},set:function(t){this.i.df=+t,this._a("fabDisabledElevation",this.i.df)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverBackgroundColor",{get:function(){return i.brushToString(this.i.pq)},set:function(t){this.i.pq=i.stringToBrush(t),this._a("fabHoverBackgroundColor",i.brushToString(this.i.pq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderColor",{get:function(){return i.brushToString(this.i.pk)},set:function(t){this.i.pk=i.stringToBrush(t),this._a("fabBorderColor",i.brushToString(this.i.pk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabRestingElevation",{get:function(){return this.i.di},set:function(t){this.i.di=+t,this._a("fabRestingElevation",this.i.di)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverElevation",{get:function(){return this.i.dh},set:function(t){this.i.dh=+t,this._a("fabHoverElevation",this.i.dh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusElevation",{get:function(){return this.i.dg},set:function(t){this.i.dg=+t,this._a("fabFocusElevation",this.i.dg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabBorderWidth",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("fabBorderWidth",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomRight",{get:function(){return this.i.kz?this.i.kz.b:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.b=+t,this._a("fabCornerRadiusBottomRight",this.i.kz.b),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusBottomLeft",{get:function(){return this.i.kz?this.i.kz.a:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.a=+t,this._a("fabCornerRadiusBottomLeft",this.i.kz.a),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopLeft",{get:function(){return this.i.kz?this.i.kz.c:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.c=+t,this._a("fabCornerRadiusTopLeft",this.i.kz.c),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabCornerRadiusTopRight",{get:function(){return this.i.kz?this.i.kz.d:NaN},set:function(t){this.ensureFabCornerRadius(),this.i.kz.d=+t,this._a("fabCornerRadiusTopRight",this.i.kz.d),this.i.kz=this.i.kz},enumerable:!1,configurable:!0}),n.prototype.ensureFabCornerRadius=function(){this.i.kz||(this.i.kz=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"fabRippleColor",{get:function(){return i.brushToString(this.i.ps)},set:function(t){this.i.ps=i.stringToBrush(t),this._a("fabRippleColor",i.brushToString(this.i.ps))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabTextColor",{get:function(){return i.brushToString(this.i.pt)},set:function(t){this.i.pt=i.stringToBrush(t),this._a("fabTextColor",i.brushToString(this.i.pt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabHoverTextColor",{get:function(){return i.brushToString(this.i.pr)},set:function(t){this.i.pr=i.stringToBrush(t),this._a("fabHoverTextColor",i.brushToString(this.i.pr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusBackgroundColor",{get:function(){return i.brushToString(this.i.po)},set:function(t){this.i.po=i.stringToBrush(t),this._a("fabFocusBackgroundColor",i.brushToString(this.i.po))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fabFocusTextColor",{get:function(){return i.brushToString(this.i.pp)},set:function(t){this.i.pp=i.stringToBrush(t),this._a("fabFocusTextColor",i.brushToString(this.i.pp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBackgroundColor",{get:function(){return i.brushToString(this.i.p9)},set:function(t){this.i.p9=i.stringToBrush(t),this._a("iconBackgroundColor",i.brushToString(this.i.p9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBackgroundColor",{get:function(){return i.brushToString(this.i.qb)},set:function(t){this.i.qb=i.stringToBrush(t),this._a("iconDisabledBackgroundColor",i.brushToString(this.i.qb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledBorderColor",{get:function(){return i.brushToString(this.i.qc)},set:function(t){this.i.qc=i.stringToBrush(t),this._a("iconDisabledBorderColor",i.brushToString(this.i.qc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledTextColor",{get:function(){return i.brushToString(this.i.qd)},set:function(t){this.i.qd=i.stringToBrush(t),this._a("iconDisabledTextColor",i.brushToString(this.i.qd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconDisabledElevation",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("iconDisabledElevation",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverBackgroundColor",{get:function(){return i.brushToString(this.i.qg)},set:function(t){this.i.qg=i.stringToBrush(t),this._a("iconHoverBackgroundColor",i.brushToString(this.i.qg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderColor",{get:function(){return i.brushToString(this.i.qa)},set:function(t){this.i.qa=i.stringToBrush(t),this._a("iconBorderColor",i.brushToString(this.i.qa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconRestingElevation",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("iconRestingElevation",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverElevation",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("iconHoverElevation",this.i.ds)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusElevation",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("iconFocusElevation",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconBorderWidth",{get:function(){return this.i.bs},set:function(t){this.i.bs=+t,this._a("iconBorderWidth",this.i.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomRight",{get:function(){return this.i.k1?this.i.k1.b:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.b=+t,this._a("iconCornerRadiusBottomRight",this.i.k1.b),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusBottomLeft",{get:function(){return this.i.k1?this.i.k1.a:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.a=+t,this._a("iconCornerRadiusBottomLeft",this.i.k1.a),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopLeft",{get:function(){return this.i.k1?this.i.k1.c:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.c=+t,this._a("iconCornerRadiusTopLeft",this.i.k1.c),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCornerRadiusTopRight",{get:function(){return this.i.k1?this.i.k1.d:NaN},set:function(t){this.ensureIconCornerRadius(),this.i.k1.d=+t,this._a("iconCornerRadiusTopRight",this.i.k1.d),this.i.k1=this.i.k1},enumerable:!1,configurable:!0}),n.prototype.ensureIconCornerRadius=function(){this.i.k1||(this.i.k1=new i.CornerRadius(2))},Object.defineProperty(n.prototype,"iconRippleColor",{get:function(){return i.brushToString(this.i.qi)},set:function(t){this.i.qi=i.stringToBrush(t),this._a("iconRippleColor",i.brushToString(this.i.qi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconTextColor",{get:function(){return i.brushToString(this.i.qj)},set:function(t){this.i.qj=i.stringToBrush(t),this._a("iconTextColor",i.brushToString(this.i.qj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHoverTextColor",{get:function(){return i.brushToString(this.i.qh)},set:function(t){this.i.qh=i.stringToBrush(t),this._a("iconHoverTextColor",i.brushToString(this.i.qh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusBackgroundColor",{get:function(){return i.brushToString(this.i.qe)},set:function(t){this.i.qe=i.stringToBrush(t),this._a("iconFocusBackgroundColor",i.brushToString(this.i.qe))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFocusTextColor",{get:function(){return i.brushToString(this.i.qf)},set:function(t){this.i.qf=i.stringToBrush(t),this._a("iconFocusTextColor",i.brushToString(this.i.qf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"inputId",{get:function(){return this.i.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.hs},set:function(t){this.i.hs=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.fw},set:function(t){this.i.fw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.g0},set:function(t){this.i.g0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.g2},set:function(t){this.i.g2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.e7},set:function(t){this.i.e7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.ea},set:function(t){this.i.ea=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.h2},set:function(t){this.i.h2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.d3},set:function(t){this.i.d3=+t,this._a("tabIndex",this.i.d3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.e9},set:function(t){this.i.e9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fillAvailableSpace",{get:function(){return this.i.av},set:function(t){this.i.av=i.ensureBool(t),this._a("fillAvailableSpace",this.i.av)},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.az},set:function(t){this.i.az=i.ensureBool(t),this._a("isFocusStyleEnabled",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this.i.at},set:function(t){this.i.at=i.ensureBool(t),this._a("disableRipple",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisableRipple",{get:function(){return this.i.ap},set:function(t){this.i.ap=i.ensureBool(t),this._a("actualDisableRipple",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disableHover",{get:function(){return this.i.ar},set:function(t){this.i.ar=i.ensureBool(t),this._a("disableHover",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureBool(t),this._a("isHover",this.i.a0)},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.au},set:function(t){this.i.au=i.ensureBool(t),this._a("disableTransitions",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disablePointer",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureBool(t),this._a("disablePointer",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("contentPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("contentPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("contentPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("contentPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"horizontalContentAlignment",{get:function(){return this.i.k5},set:function(t){this.i.k5=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("horizontalContentAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.k5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"verticalContentAlignment",{get:function(){return this.i.q9},set:function(t){this.i.q9=i.ensureEnum(i.VerticalAlignment_$type,t),this._a("verticalContentAlignment",i.enumToString(i.VerticalAlignment_$type,this.i.q9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"clickTunneling",{get:function(){return this.i.aq},set:function(t){this.i.aq=i.ensureBool(t),this._a("clickTunneling",this.i.aq)},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.d7()},n.prototype.exportSerializedVisualModel=function(){return this.i.f0()},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(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),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.ab=null,e.n=new i.Dictionary$2(i.Brush.$,i.String_$type,0),e.j=!0,e.y=null,e.x=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.ak=function(){},n.prototype.l=function(){return!0},Object.defineProperty(n.prototype,"z",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{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.ai=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.ar();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.ax(),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.ah))),this.d.cf()},n.prototype.au=function(t){if(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.av=function(t){if(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.at=function(t){(this.v.rootWrapper.removeChildren(),null!=t)&&(this.v.rootWrapper.getNativeElement().innerHTML=t)},n.prototype.ap=function(t){this.ab!=t&&(this.ab=t,this.v.rootWrapper.removeChildren(),this.v.rootWrapper.append(this.x),this.x.setAttribute("src",t))},n.prototype.as=function(t){"string"==typeof t&&this.ap(i.typeCast(i.String_$type,t))},n.prototype.k=function(){return null!=this.d.svgPath||null!=this.d.svg||null!=this.d.b},n.prototype.ar=function(){this.v.rootWrapper.setStyleProperty("width",i.isNaN_(this.d.aq)?"1.5rem":this.d.aq+"px"),this.v.rootWrapper.setStyleProperty("height",i.isNaN_(this.d.ai)?"1.5rem":this.d.ai+"px")},n.prototype.ax=function(){var t=i.isNaN_(this.d.an)?0:this.d.an,e=i.isNaN_(this.d.ao)?0:this.d.ao,n=i.isNaN_(this.d.ap)?24:this.d.ap,r=i.isNaN_(this.d.am)?24:this.d.am;this.y.setAttribute("viewBox",t+" "+e+" "+n+" "+r)},n.prototype.am=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.an=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.ao=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.ac=function(t){},n.prototype.al=function(){this.l()},n.prototype.ad=function(t){this.d.cc()},n.prototype.ae=function(t){this.d.cd()},n.prototype.ag=function(){this.j=!0,this.o.add(this.v.rootWrapper.listen("mouseenter",i.runOn(this,this.ad))),this.o.add(this.v.rootWrapper.listen("mouseleave",i.runOn(this,this.ae)))},n.prototype.aj=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.aw=function(t){null!=t&&this.v.rootWrapper.setStyleProperty("font",t.fontString)},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.ah=function(t){this.d.ca()},n.prototype.a=function(){var t=new i.List$1(i.PrimitiveVisualData.$,0);this.v.rootWrapper.getNativeElement();return t.toArray()},n.prototype.af=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.af(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.aq(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.aq(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.aq(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.aq(l,t),n=new i.EllipseVisualData(1,"ellipse1",l)}return n},n.prototype.aq=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.$t=i.markType(n,"IconView"),n}(i.Base),k=function(t){function n(){var e=t.call(this)||this;e._view=null,e.j=0,e.cm=n.c2,e.cn=n.c6,e.co=n.c7,e.v=n.ah,e.cp=n.c2,e.cx=n.c6,e.z=n.ah,e.cy=n.c7,e.cq=n.c3,e.cr=n.c4,e.x=n.ag,e.cs=null,e.c=null,e.d=null,e.ct=null,e.cu=null,e.cv=null,e.cw=null,e.au=null,e.ay=null,e.a1=null,e.a0=null,e.a=null,e.l=null,e.az="ig-icon-"+n.at++,e.ar=0,e.n=!1,e.ax=null,e.p=!1,e.o=!1,e.y=1,e.ab=NaN,e.ac=NaN,e.ad=NaN,e.aa=NaN,e.ae=NaN,e.w=NaN,e.clicked=null,e.propertyChanged=null;var i=new C;return i.d=e,e.view=i,e.view.ak(),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.ce=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ch(t,e,n)},n.prototype.ch=function(t,e,i){switch(t){case"Fill":case"Stroke":case"StrokeWidth":case"HoverFill":case"HoverStroke":case"HoverStrokeThickness":case"IsHover":this.cl();break;case"FillColors":case"StrokeColors":case"ActualFill":case"ActualStroke":case"ActualStrokeWidth":this.cj();break;case"SVG":this.a1=null,this.a=null,this.cj();break;case"SVGPath":this.a0=null,this.a=null,this.cj();break;case"SVGPaths":this.a0=null,this.a1=null,this.cj();break;case"DataURL":case"Source":this.a0=null,this.a1=null,this.a=null,this.cj();break;case"Opacity":this.ck();break;case"ViewBoxLeft":case"ViewBoxTop":case"ViewBoxWidth":case"ViewBoxHeight":this.view.ax();break;case"Width":case"Height":this.view.ar()}},n.prototype.cl=function(){var t=null!=this.fill?this.fill:n.c2,e=null!=this.df?this.df:n.c6,r=i.isNaN_(this.al)?n.ah:this.al,o=null!=this.dg?this.dg:n.c7;this.t?(this.cz=null!=this.c8?this.c8:t,this.c0=null!=this.c9?this.c9:e,this.af=i.isNaN_(this.aj)?r:this.aj,this.c1=null!=this.da?this.da:o):(this.cz=t,this.c0=e,this.af=r,this.c1=o)},Object.defineProperty(n.prototype,"r",{get:function(){return null!=this.svgPath&&!this.view.m},enumerable:!1,configurable:!0}),n.prototype.ck=function(){i.NativeUI.y(this.view.z,this.ak)},n.prototype.cj=function(){this.view.z;if(this.r){var t=this.view.aa;i.NativeUI.r(t,this.cz),i.NativeUI.aa(t,this.c0),i.NativeUI.ad(t,this.af)}else{var e=!1;if(null!=this.svgPath)i.stringStartsWith(i.trimStart(this.svgPath," ","\n","\r","\t"),"<svg")?(this.view.at(this.svgPath),e=!0):this.view.au(this.svgPath);else{if(null!=this.b){this.view.av(this.b);var n=this.view.c;if(null!=n&&n.length>0){var r=i.NativeUI.r,o=i.NativeUI.aa;this.cg(),r=i.runOn(this.view,this.view.an),o=i.runOn(this.view,this.view.ao);for(var s=0;s<n.length;s++)null!=this.cz&&r(n[s],this.cz),null!=this.c0&&o(n[s],this.c0),i.isNaN_(this.af)||i.NativeUI.ad(n[s],this.af),null!=this.c1&&i.NativeUI.q(n[s],this.c1),null!=this.e&&this.e.count==n.length&&r(n[s],this.e.item(s)),null!=this.f&&this.f.count==n.length&&o(n[s],this.f.item(s))}return void(null!=this.m&&this.view.aw(this.m))}null!=this.svg?(this.view.at(this.svg),e=!0):null!=this.a9?this.view.ap(this.a9):null!=this.aw&&this.view.as(this.aw)}if(e){for(var a=0;a<this.view.r.count;a++){var h=this.view.r._inner[a].c;i.NativeUI.r(this.view.r._inner[a].d,h.l.f(this.db))}for(var u=0;u<this.view.s.count;u++){var l=this.view.s._inner[u].c;i.NativeUI.aa(this.view.s._inner[u].d,l.m.f(this.dc))}for(var c=0;c<this.view.t.count;c++){var p=this.view.t._inner[c].c;i.NativeUI.r(this.view.t._inner[c].d,p.l.f(this.dd))}for(var d=0;d<this.view.u.count;d++){var f=this.view.u._inner[d].c;i.NativeUI.aa(this.view.u._inner[d].d,f.m.f(this.de))}for(var b=0;b<this.view.e.o.count;b++){var y=this.view.e.o._inner[b].split("-"),g=parseInt(y[y.length-1]);if(g<this.e.count)for(var m=0;m<this.view.e.q._inner[b].count;m++){var v=this.view.e.q._inner[b]._inner[m].c;i.NativeUI.r(this.view.e.q._inner[b]._inner[m].d,v.l.f(this.e.item(g)))}}for(var _=0;_<this.view.f.o.count;_++){var C=this.view.f.o._inner[_].split("-"),k=parseInt(C[C.length-1]);if(k<this.f.count)for(var B=0;B<this.view.f.q._inner[_].count;B++){var x=this.view.f.q._inner[_]._inner[B].c;i.NativeUI.aa(this.view.f.q._inner[_]._inner[B].d,x.m.f(this.f.item(k)))}}for(var S=0;S<this.view.q.count;S++){var T=this.view.q._inner[S].c;i.NativeUI.r(this.view.q._inner[S].d,T.l.f(this.cz)),i.NativeUI.aa(this.view.q._inner[S].d,T.m.f(this.c0))}}var P=this.view.z;null!=this.cz&&i.NativeUI.r(P,this.cz),null!=this.c0&&i.NativeUI.aa(P,this.c0),i.isNaN_(this.af)||i.NativeUI.ad(P,this.af)}null!=this.m&&this.view.aw(this.m),null!=this.c1&&i.NativeUI.q(this.view.z,this.c1)},n.prototype.cg=function(){var t,n,r,o;if(null!=this.cz&&this.view.am(this.cz,"fill"),null!=this.c0&&this.view.am(this.c0,"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.am(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.am(c,"strokes")}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}},Object.defineProperty(n.prototype,"k",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,e!=this.j&&this.ce("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cz",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.ce("ActualFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c0",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.ce("ActualStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c1",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.ce("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.ce("ActualStrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fill",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.ce("Fill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"df",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.ce("Stroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.z},set:function(t){var e=this.z;this.z=t,e!=this.z&&this.ce("StrokeWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dg",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.ce("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c8",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.ce("HoverFill",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.ce("HoverStroke",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.ce("HoverStrokeThickness",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.ce("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.ce("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.ce("StrokeColors",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"db",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.ce("PrimaryFillColor",e,this.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dc",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.ce("PrimaryStrokeColor",e,this.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dd",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.ce("SecondaryFillColor",e,this.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"de",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.ce("SecondaryStrokeColor",e,this.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.ce("Source",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.ce("DataURL",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svgPath",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.ce("SVGPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"svg",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.ce("SVG",e,this.a0)},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.ce("SVGPaths",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.cc=function(){this.t=!0},n.prototype.cd=function(){this.t=!1},Object.defineProperty(n.prototype,"m",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,e!=this.l&&this.ce("TextStyle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.ce("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.n=!0,e!=this.ar&&this.ce("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.ce("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.ce("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.ce("IsDisabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.ce("Opacity",e,this.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.ce("ViewBoxLeft",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.ce("ViewBoxTop",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.ce("ViewBoxWidth",e,this.ad)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.ce("ViewBoxHeight",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.ce("Width",e,this.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.ce("Height",e,this.w)},enumerable:!1,configurable:!0}),n.prototype.cf=function(){},n.prototype.onDetachedFromUI=function(){this.view.aj()},n.prototype.onAttachedToUI=function(){this.view.ag()},n.prototype.ca=function(){this.disabled||null!=this.clicked&&this.clicked(this,new v)},n.prototype.u=function(){return this.view.l()},n.prototype.av=function(){return this.g()},n.prototype.bb=function(){return this.g().l()},n.prototype.g=function(){var t=new _,e=this.view.b();if(t.i=e[0],t.g=e[1],t.f=i.NativeUI.d(this.view.z),t.j=i.NativeUI.k(this.view.z),t.a=this.view.a(),t.svg=this.svg,t.svgPath=this.svgPath,t.k=this.a9,null!=this.m){var n=this.m;if(null!=this.view&&null==n.q){var r=this.view.v,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.o=n.q),i.isNaN_(n.f)||(t.h=n.f),null!=n.v&&(t.s=n.v),null!=n.t&&(t.q=n.t),null!=n.r&&(t.p=n.t)}return t},n.prototype.provideContainer=function(t){this.view.ai(t)},n.$t=i.markType(n,"XIcon",i.Base.$,[i.INotifyPropertyChanged_$type,i.IIcon_$type]),n.c2=null,n.c7=null,n.c6=null,n.c3=null,n.c4=null,n.c5=null,n.ah=NaN,n.ag=NaN,n.at=0,n}(i.Base),B=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.k},set:function(t){this.i.k=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualFill",{get:function(){return i.brushToString(this.i.cz)},set:function(t){this.i.cz=i.stringToBrush(t),this._a("actualFill",i.brushToString(this.i.cz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStroke",{get:function(){return i.brushToString(this.i.c0)},set:function(t){this.i.c0=i.stringToBrush(t),this._a("actualStroke",i.brushToString(this.i.c0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.c1)},set:function(t){this.i.c1=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.c1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualStrokeWidth",{get:function(){return this.i.af},set:function(t){this.i.af=+t,this._a("actualStrokeWidth",this.i.af)},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.df)},set:function(t){this.i.df=i.stringToBrush(t),this._a("stroke",i.brushToString(this.i.df))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"strokeWidth",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("strokeWidth",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.dg)},set:function(t){this.i.dg=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.dg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverFill",{get:function(){return i.brushToString(this.i.c8)},set:function(t){this.i.c8=i.stringToBrush(t),this._a("hoverFill",i.brushToString(this.i.c8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStroke",{get:function(){return i.brushToString(this.i.c9)},set:function(t){this.i.c9=i.stringToBrush(t),this._a("hoverStroke",i.brushToString(this.i.c9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverStrokeThickness",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("hoverStrokeThickness",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverTextColor",{get:function(){return i.brushToString(this.i.da)},set:function(t){this.i.da=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.da))},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.db)},set:function(t){this.i.db=i.stringToBrush(t),this._a("primaryFillColor",i.brushToString(this.i.db))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryStrokeColor",{get:function(){return i.brushToString(this.i.dc)},set:function(t){this.i.dc=i.stringToBrush(t),this._a("primaryStrokeColor",i.brushToString(this.i.dc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryFillColor",{get:function(){return i.brushToString(this.i.dd)},set:function(t){this.i.dd=i.stringToBrush(t),this._a("secondaryFillColor",i.brushToString(this.i.dd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"secondaryStrokeColor",{get:function(){return i.brushToString(this.i.de)},set:function(t){this.i.de=i.stringToBrush(t),this._a("secondaryStrokeColor",i.brushToString(this.i.de))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"source",{get:function(){return this.i.aw},set:function(t){this.i.aw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataURL",{get:function(){return this.i.a9},set:function(t){this.i.a9=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.m?null:this.i.m.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.m=e,this._a("textStyle",null!=this.i.m?this.i.m.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bj},set:function(t){this.i.bj=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("tabIndex",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.a6},set:function(t){this.i.a6=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHover",{get:function(){return this.i.t},set:function(t){this.i.t=i.ensureBool(t),this._a("isHover",this.i.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,"opacity",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("opacity",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxLeft",{get:function(){return this.i.an},set:function(t){this.i.an=+t,this._a("viewBoxLeft",this.i.an)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxTop",{get:function(){return this.i.ao},set:function(t){this.i.ao=+t,this._a("viewBoxTop",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxWidth",{get:function(){return this.i.ap},set:function(t){this.i.ap=+t,this._a("viewBoxWidth",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"viewBoxHeight",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("viewBoxHeight",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("width",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("height",this.i.ai)},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.av()},n.prototype.exportSerializedVisualModel=function(){return this.i.bb()},n._observedAttributesIgcXIconComponent=null,n.htmlTagName="igc-x-icon",n._isElementRegistered=!1,n}(i.IgcHTMLElement),x=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),B.register(),i.TypeRegistrar.registerCons("IgcXIconComponent",B),i.TypeRegistrar.registerCons("IgcXIconComponent",B),i.TypeRegistrar.register("XIcon",k.$type)},t}(),S=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),O=function(t){return t[t.FirstDay=0]="FirstDay",t[t.FirstFullWeek=1]="FirstFullWeek",t[t.FirstFourDayWeek=2]="FirstFourDayWeek",t}({}),j=i.markEnum("FirstWeek","FirstDay,0|FirstFullWeek,1|FirstFourDayWeek,2"),w=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.w=null,e.c=null,e.m=null,e.w="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.ao=function(){},n.prototype.an=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.aa(),this.a2(),this.a3(),this.a0();var e=this.m.rootWrapper;e.listen("keydown",i.runOn(this,this.z)),e.listen("focus",i.runOn(this,this.y))}else this.m=null},n.prototype.x=function(){return this.w},n.prototype.aa=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.ad(),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.ab(),this.a8(),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.ac();for(var o=0;o<12;o++){this.q.getChildAt(o).listen("click",i.runOn(this,this.ai))}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.ae();for(var h=0;h<7;h++){this.u.getChildAt(h).listen("click",i.runOn(this,this.bd))}this.u.listen("wheel",i.runOn(this,this.be)),this.u.hide()}},n.prototype.ad=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.a4=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.a8=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.ab=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],y=this.m.createElement("span");y.setAttribute("aria-hidden","true"),b.append(y),this.af(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 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.a7(),this.c.cf()}},n.prototype.ac=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.bc=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.ae=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.a7=function(){null!=this.m&&(1==this.c.ae?this.s.setStyleProperty("display","flex"):this.s.setStyleProperty("display","none"))},n.prototype.a2=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.av(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.av(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.av(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.av(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.ap)),b.listen("click",i.runOn(this,this.ak)),a.listen("click",i.runOn(this,this.aj)),c.listen("click",i.runOn(this,this.bf))}},n.prototype.bb=function(){var t=this.g._inner[1].getChildAt(0),e=this.c.bx();t.setText(e)},n.prototype.av=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.a3=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.a0=function(){if(null!=this.m){this.a1(),this.a4();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.ag))}}},n.prototype.a1=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.af=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.as=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(t){this.r.getChildAt(0).setText(t),this.r.parent().parent().setAttribute("aria-label",t)},n.prototype.aw=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.ay=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.at=function(t,e){if(void 0===t&&(t=!1),void 0===e&&(e=!1),null!=this.m){this.a1(t,e),this.a4();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.ax=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.ar()}},n.prototype.a6=function(){if(null!=this.m&&0!=this.j.count){var t=this.c.aq.getFullYear();this.a5(t,!0)}},n.prototype.a5=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.ar=function(t){void 0===t&&(t=!1),this.at(),this.ay(),this.w="day",this.n.show(),this.n.setStyleProperty("display","flex"),this.q.hide(),this.u.hide(),this.au(t),this.ah()},n.prototype.au=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.ah=function(){null!=this.p&&this.p.parent().parent().focus(!0)},n.prototype.aq=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.at(t,e),this.ay())},n.prototype.al=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.at(t,e),this.ay())},n.prototype.a9=function(){this.n.hide(),this.q.show(),this.q.setStyleProperty("display","flex"),this.u.hide(),this.w="month",this.ax(),this.ah()},n.prototype.ba=function(){this.n.hide(),this.q.hide(),this.u.show(),this.w="year",this.a6(),this.ah()},n.prototype.y=function(t){},n.prototype.z=function(t){var e=t.which;if("day"==this.w){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.ah()}else{this.aq(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.au(),this.ah())}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.ah()}else{this.al(!1),1==i.parseBool(this.p.getAttribute("data-disabled").toString())&&(this.au(),this.ah())}else 9==e?t.shiftKey?this.c.cs():(t.preventDefault(),this.at(!0),this.ah()):13==e&&(t.preventDefault(),0==r?this.aq(!1):1==r?this.a9():2==r?this.ba():3==r&&this.al(!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.aq(!0,!0),this.ah();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.ah();else{this.aq();var f=this.v(p,d);this.d(f),this.ah()}}else if(39==e)if(41==r)this.al(!0,!1),this.ah();else{var b=this.f._inner[r+1],y=b.getAttribute("data-date").toString().split("/"),g=y[0],m=y[1];if(u==m)this.d(b),this.ah();else{this.al();var v=this.v(g,m);this.d(v),this.ah()}}else if(40==e)if(r>=35){this.al();var _=this.v(h,u),C=parseInt(_.getAttribute("data-index").toString()),k=this.f._inner[C+7].getAttribute("data-date").toString().split("/"),B=k[0],x=k[1],S=this.v(B,x);this.d(S),this.ah()}else{var T=this.f._inner[r+7],P=T.getAttribute("data-date").toString().split("/"),O=P[0],j=P[1];if(u==j)this.d(T),this.ah();else{this.al();var w=this.v(O,j);this.d(w),this.ah()}}else if(38==e)if(r<=6){this.aq();var I=this.v(h,u),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.ah()}else{var D=this.f._inner[r-7],E=D.getAttribute("data-date").toString().split("/"),q=E[0],G=E[1];if(u==G)this.d(D),this.ah();else{this.aq();var W=this.v(q,G);this.d(W),this.ah()}}else if(34==e)this.al(),this.ah();else if(33==e)this.aq(),this.ah();else if(9==e)if(t.shiftKey){t.preventDefault();var $=this.g._inner[1];this.d($),this.ah()}else this.c.cs()}}else if("month"==this.w){var H=parseInt(this.p.getAttribute("data-index").toString());if(37==e)if(0==H){var z=this.h._inner[11];this.d(z),this.ah()}else{var M=this.h._inner[H-1];this.d(M),this.ah()}else if(39==e)if(11==H){var L=this.h._inner[0];this.d(L),this.ah()}else{var V=this.h._inner[H+1];this.d(V),this.ah()}else if(40==e)if(H>=9){var X=this.h._inner[H-9];this.d(X),this.ah()}else{var K=this.h._inner[H+3];this.d(K),this.ah()}else if(38==e)if(H<=2){var Y=this.h._inner[H+9];this.d(Y),this.ah()}else{var J=this.h._inner[H-3];this.d(J),this.ah()}else 13==e&&(this.d(this.g._inner[1]),this.ah())}else if("year"==this.w){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.ah()):38==e?(this.c.cz(Q,-1),this.ah()):13==e&&(this.d(this.g._inner[2]),this.ah())}27==e&&(this.ar(),this.c.cs()),1==t.altKey&&38==e&&(this.ar(),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.ap=function(t){var e=this.g._inner[0];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.aq()},n.prototype.ak=function(t){var e=this.g._inner[3];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.al()},n.prototype.aj=function(t){var e=this.g._inner[1];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.a9()},n.prototype.bf=function(t){var e=this.g._inner[2];1!=i.parseBool(e.getAttribute("data-disabled").toString())&&this.ba()},n.prototype.ag=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.ai=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.ar())}},n.prototype.bd=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.ar())}},n.prototype.be=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.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.am=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.h(0,255,255,255),e.dc=i.BrushUtil.h(255,33,150,243),e.de=i.BrushUtil.h(255,21,112,184),e.c9=i.BrushUtil.h(76,33,150,243),e.db=i.BrushUtil.h(50,186,191,199),e.df=i.BrushUtil.h(255,24,29,31),e.dd=i.BrushUtil.h(255,255,255,255),e.da=i.BrushUtil.h(255,24,29,31),e.c8=i.BrushUtil.h(255,33,150,243),e.c7=i.BrushUtil.h(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.ao(),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 w).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.am()},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.an(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(j,e),i.enumGetBox(j,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.a7();break;case"FirstDayOfWeek":this.cx();break;case"FirstWeekOfYear":case"ShowWeekNumbers":this.h.a8(),this.cx()}},n.prototype.c3=function(){for(var t=0;t<this.aj.count;t++)null!=this.dq&&(this.aj._inner[t].p4=this.dq),null!=this.dk&&(this.aj._inner[t].p0=this.dk),null!=this.dg&&(this.aj._inner[t].pu=this.dg),null!=this.dj&&(this.aj._inner[t].pz=this.dj),null!=this.dl&&(this.aj._inner[t].p1=this.dl);for(var e=0;e<this.ah.count;e++)null!=this.dq&&(this.ah._inner[e].p4=this.dq),null!=this.dk&&(this.ah._inner[e].p0=this.dk),null!=this.dg&&(this.ah._inner[e].pu=this.dg),null!=this.dj&&(this.ah._inner[e].pz=this.dj),null!=this.dl&&(this.ah._inner[e].p1=this.dl);for(var i=0;i<this.ak.count;i++)null!=this.dq&&(this.ak._inner[i].p4=this.dq),null!=this.dk&&(this.ak._inner[i].p0=this.dk),null!=this.dg&&(this.ak._inner[i].pu=this.dg),null!=this.dj&&(this.ak._inner[i].pz=this.dj),null!=this.dl&&(this.ak._inner[i].p1=this.dl);for(var n=0;n<this.al.count;n++)null!=this.dq&&(this.al._inner[n].p4=this.dq),null!=this.dk&&(this.al._inner[n].p0=this.dk),null!=this.dg&&(this.al._inner[n].pu=this.dg),null!=this.dj&&(this.al._inner[n].pz=this.dj),null!=this.dl&&(this.al._inner[n].p1=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.au(),this.h.ah()},n.prototype.c1=function(){},n.prototype.c0=function(){},n.prototype.ch=function(){this.value=i.dateMinValue(),this.h.at()},n.prototype.cx=function(){this.c5(),this.h.a3(),this.cg(),this.h.ay(),this.h.a6(),this.h.at()},n.prototype.c5=function(){var t=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.az(t),this.h.bc(),this.h.bb()},n.prototype.cf=function(){this.cg()},n.prototype.ci=function(t,e,n){var r=new b;this.h.as(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d3=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.kt=o,r.k0=o,r.dk=0,r.appendButtonContent(e),r.p4=this.dq,r.p0=this.dk,r.pu=this.dg,r.pz=this.dj,r.p1=this.dl,r.bu=30,r.bt=30,this.ah.add(r),r.h2="btnDays"+n.toString()},n.prototype.cm=function(t,e){var n=new b;this.h.as(t,n),n.n=this.r,n.r=this.t,n.aa=this.u,n.d3=-1,n.e=1,null!=this.u&&(n.aa=this.u);var r=new i.CornerRadius(0,2);n.kt=r,n.k0=r,n.dk=0,n.appendButtonContent(e);var o=i.stringIsNullOrWhiteSpace(this.x.b1("Today"))?"Today":this.x.b1("Today");this.h.az(o),n.p4=this.dq,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.p1=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.ar(!0)},n.prototype.cl=function(t,e){var n=new b;this.h.as(t,n),n.n=this.r,n.r=this.t,n.aa=this.u,n.d3=-1,n.e=1,null!=this.u&&(n.aa=this.u);var r=new i.CornerRadius(0,2);n.kt=r,n.k0=r,n.dk=0,n.appendButtonContent(e),n.p4=this.dq,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.p1=this.dl,n.bu=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].h2="btnMonth"+n[1],n},n.prototype.cn=function(t,e,n){var r=new b;this.h.as(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d3=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.kt=o,r.k0=o,r.dk=0,r.appendButtonContent(e),r.p4=this.dq,r.p0=this.dk,r.pu=this.dg,r.pz=this.dj,r.p1=this.dl,r.h2="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 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.as(t,s),s.n=this.r,s.r=this.t,s.aa=this.u,s.d3=-1,s.e=1;var a=new i.CornerRadius(0,2);s.kt=a,s.k0=a,s.dk=0;var h=new k;this.h.aw(e,h),"prev"==o?(h.svgPath=n.bk,s.h2="btnPrev"):"next"==o&&(h.svgPath=n.bl,s.h2="btnNext"),s.appendButtonContent(r),s.p4=this.dq,s.p0=this.dk,s.pu=this.dg,s.pz=this.dj,s.p1=this.dl,s.bu=28,s.bt=28,this.aj.add(s)},n.prototype.cj=function(t,e,n){var r=new b;this.h.as(t,r),r.n=this.r,r.r=this.t,r.aa=this.u,r.d3=-1,r.e=1,null!=this.u&&(r.aa=this.u);var o=new i.CornerRadius(0,2);r.kt=o,r.k0=o,r.dk=0,r.appendButtonContent(e),r.p4=this.dq,r.p0=this.dk,r.pu=this.dg,r.pz=this.dj,r.p1=this.dl,r.bu=40,"month"==n?r.h2="btnMonth":"year"==n&&(r.h2="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.p4=this.dn,n.p0=this.dn,n.pu=this.dm,n.pz=this.dp,n.pv=this.dg):e.b==this.av.getDate()&&e.c==i.dateGetMonth(this.av)&&e.d==this.av.getFullYear()?(n.p4=this.di,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.pv=this.dh,n.br=1):(0!=e.a&&6!=e.a&&(e.c,i.dateGetMonth(this.aq)),n.p4=this.dq,n.p0=this.dk,n.pu=this.dg,n.pz=this.dj,n.pv=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.a5(t)},n.prototype.cy=function(){this.h.ar()},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.x();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].h2&&(this.aj._inner[s].h2="header"+s.toString());var a=this.aj._inner[s].d7();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].h2&&(this.ah._inner[h].h2="days"+h.toString());var u=this.ah._inner[h].d7();u.s=u.s-r,u.q=u.q-o,t.j.add(u)}if(1==this.ae){this.g.h2="todayButton";var l=this.g.d7();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 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[_].h2&&(this.ak._inner[_].h2="months"+_.toString());var C=this.ak._inner[_].d7();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].h2&&(this.al._inner[k].h2="years"+k.toString());var B=this.al._inner[k].d7();B.s=B.s-r,B.q=B.q-o,t.j.add(B)}if(null!=this.v){var x=this.v;if(null!=this.h&&null==x.q){var S=this.h.m,T=i.FontUtil.getFontInfoFromString(S,x.fontString);x.q=T.q,x.f=T.f,x.r=T.r,x.t=T.t,x.u=T.u,x.v=T.v}null!=x.q&&(t.p=x.q),i.isNaN_(x.f)||(t.m=x.f),null!=x.v&&(t.t=x.v),null!=x.t&&(t.r=x.t),null!=x.r&&(t.q=x.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 w},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"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(j,t),this._a("firstWeekOfYear",i.enumToString(j,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(),x.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}(),G=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"),$=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),H=i.markEnum("PrefixShiftType","Line,0|Box,1|Border,2"),z=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),M=i.markEnum("LabelShiftType","Line,0|Box,1|Border,2"),L=function(t){return t[t.Line=0]="Line",t[t.Box=1]="Box",t[t.Border=2]="Border",t}({}),V=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),K=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(H,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),Y=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].k.charAt(0).toString().toLowerCase(),this.k._inner[r].k.substr(1);t.l(this.k._inner[r].n())}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.h=0,e.f=0,e.b=0,e.c=0,e.j=null,e.m=null,e.d=!1,e.a=null,e.q=null,e.r=null,e.s=null,e.g=0,e.o=null,e.p=null,e.i=null,e.l=null,e.e=!1,e.t=null,e.k=null,e}return e.__extends(n,t),n.prototype.n=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("top : "+this.h+", "),t.l("left : "+this.f+", "),t.l("shiftType : "+this.b+", "),t.l("actualDensity : "+this.c+", "),t.l('mask : "'+this.j+'", '),t.l('promptChar : "'+this.m+'", '),t.l("includeLiterals : "+this.d+", "),t.l("actualTextColor : "+this.a.serialize()+", "),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.g)||t.l("textStyleFontSize : "+this.g+", "),t.l('inputType : "'+this.i+'", '),t.l('placeholder : "'+this.l+'", '),t.l("isHover : "+this.e+", "),t.l('value : "'+this.t+'", '),t.l('name : "'+this.k+'", '),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 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(""==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 B=e.__values(i.fromEnum(v)),x=B.next();!x.done;x=B.next()){var S=x.value;h=this.j(h,d._inner[k++],S)}}catch(t){s={error:t}}finally{try{x&&!x.done&&(a=B.return)&&a.call(B)}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.bc="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")}},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.i()},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.g=null,e.b=null,e.e=new i.List$1(i.Delegate_$type,0),e.c=!0,e.h=null,e}return e.__extends(n,t),n.prototype.o=function(){},n.prototype.d=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.m=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.e)),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.e.clear()}this.g=t,this.g.rootWrapper.setStyleProperty("display","inline-block");var a=this.g.createElement("div");a.addClass("ig-suffix-content"),this.g.append(a),a.setStyleProperty("cursor","pointer"),this.h=a,this.g.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.q=function(){var t,e=this,n=new i.TransformGroup;n.j.add(((t=new i.TranslateTransform).k=2==e.a.k?-.25*e.f():0,t)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.g.rootWrapper,n),this.g.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.f=function(){var t=this.g.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.p=function(){this.d()},n.prototype.i=function(t){this.a.aj()},n.prototype.j=function(t){this.a.ak()},n.prototype.l=function(){this.c=!0,this.e.add(this.g.rootWrapper.listen("mouseenter",i.runOn(this,this.i))),this.e.add(this.g.rootWrapper.listen("mouseleave",i.runOn(this,this.j)))},n.prototype.n=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.e)),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.e.clear()},n.prototype.k=function(t){this.h.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.g=null,e.b=null,e.e=new i.List$1(i.Delegate_$type,0),e.c=!0,e.h=null,e}return e.__extends(n,t),n.prototype.o=function(){},n.prototype.d=function(){return!0},Object.defineProperty(n.prototype,"r",{get:function(){return null},enumerable:!1,configurable:!0}),n.prototype.m=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.e)),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.e.clear()}this.g=t,this.g.rootWrapper.setStyleProperty("display","inline-block");var a=this.g.createElement("div");a.addClass("ig-prefix-content"),this.g.append(a),a.setStyleProperty("cursor","pointer"),this.h=a,this.g.getPortal(a,"ChildContent",(function(t){}),!0),this.a.am()},n.prototype.q=function(){var t,e=this,n=new i.TransformGroup;n.j.add(((t=new i.TranslateTransform).k=2==e.a.k?-.25*e.f():0,t)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.g.rootWrapper,n),this.g.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.f=function(){var t=this.g.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.p=function(){this.d()},n.prototype.i=function(t){this.a.aj()},n.prototype.j=function(t){this.a.ak()},n.prototype.l=function(){this.c=!0,this.e.add(this.g.rootWrapper.listen("mouseenter",i.runOn(this,this.i))),this.e.add(this.g.rootWrapper.listen("mouseleave",i.runOn(this,this.j)))},n.prototype.n=function(){var t,n;this.c=!1;try{for(var r=e.__values(i.fromEnum(this.e)),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.e.clear()},n.prototype.k=function(t){this.h.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.k=null,e.d=null,e.h=new i.List$1(i.Delegate_$type,0),e.o=null,e.e=!0,e.l=null,e.m=null,e}return e.__extends(n,t),n.prototype.ab=function(){},n.prototype.f=function(){return!0},Object.defineProperty(n.prototype,"n",{get:function(){return this.l},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.s=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.k.rootWrapper,0,null,t)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.k.rootWrapper,0,null,t)},n.prototype.w=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.h)),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.h.clear()}this.k=t,this.k.rootWrapper.setStyleProperty("display","inline-block"),this.k.rootWrapper.setStyleProperty("position","relative");var a=this.k.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.k.rootWrapper,this.c.cz),a.setStyleProperty("outline-style","none"),a.setStyleProperty("box-shadow","none"),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.l=a,this.k.append(this.l),this.c.ch()},n.prototype.j=function(){return 0==this.c.l?.5*this.i():0},n.prototype.af=function(){var t=this;this.c.bi="block";var e,n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=0==t.c.l?.5*t.i():0,e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.k.rootWrapper,n),this.l.setStyleProperty("height","1.125rem"),this.k.rootWrapper.setStyleProperty("position","absolute"),this.k.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.ag=function(){switch(this.c.s){case 1:this.k.rootWrapper.setStyleProperty("margin-top","0px");break;case 2:this.k.rootWrapper.setStyleProperty("margin-top","-.125rem");break;case 3:this.k.rootWrapper.setStyleProperty("margin-top","-.25rem")}},n.prototype.ae=function(){this.l.setText(null!=this.c.text?this.c.text:"")},n.prototype.ah=function(t){this.o!=t&&(this.o=t,null!=this.m&&this.m.setAttribute("d",this.o))},n.prototype.y=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("display",this.c.bi),this.l.setStyleProperty("display",this.c.bi);var t=this.k.getExternal(this.c,null,null);t&&t._onDisplayChanged&&t._onDisplayChanged()}},n.prototype.t=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("align-items",this.c.ba),this.l.setStyleProperty("align-items",this.c.ba);var t=this.k.getExternal(this.c,null,null);t&&t._onAlignItemsChanged&&t._onAlignItemsChanged()}},n.prototype.u=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("align-self",this.c.bc),this.l.setStyleProperty("align-self",this.c.bc);var t=this.k.getExternal(this.c,null,null);t&&t._onAlignSelfChanged&&t._onAlignSelfChanged()}},n.prototype.z=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-direction",this.c.bl),this.l.setStyleProperty("flex-direction",this.c.bl);var t=this.k.getExternal(this.c,null,null);t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},n.prototype.aa=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-grow",this.c.bn),this.l.setStyleProperty("flex-grow",this.c.bn);var t=this.k.getExternal(this.c,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},n.prototype.p=function(t){},n.prototype.ac=function(){this.f()},n.prototype.i=function(){var t=this.k.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.q=function(t){this.c.ce()},n.prototype.r=function(t){this.c.cf()},n.prototype.v=function(){this.e=!0,this.h.add(this.k.rootWrapper.listen("mouseenter",i.runOn(this,this.q))),this.h.add(this.k.rootWrapper.listen("mouseleave",i.runOn(this,this.r)))},n.prototype.x=function(){var t,n;this.e=!1;try{for(var r=e.__values(i.fromEnum(this.h)),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.h.clear()},n.prototype.ai=function(t){null!=t&&this.l.setStyleProperty("font",t.fontString)},n.prototype.ad=function(t){i.NativeUI.q(this.l,t)},n.$t=i.markType(n,"LabelView"),n}(i.Base),ut=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.l=null,e.c=null,e.j=new i.List$1(i.Delegate_$type,0),e.g=!1,e.f=!1,e.r=null,e.d=!0,e.m=null,e.n=null,e.g=!1,e}return e.__extends(n,t),n.prototype.as=function(){},n.prototype.h=function(){return!0},Object.defineProperty(n.prototype,"q",{get:function(){return this.m},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return!0},enumerable:!1,configurable:!0}),n.prototype.ap=function(t){var n,r;if(null==t){try{for(var o=e.__values(i.fromEnum(this.j)),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.j.clear()}this.l=t,this.l.rootWrapper.setStyleProperty("display","inline-block");var a=this.l.createElement("input");a.setAttribute("type",this.b.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.b.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.t(this.b.dy)),a.setStyleProperty("font-family","Verdana"),a.setStyleProperty("font-size","1rem"),this.j.add(a.listen("change",i.runOn(this,this.y))),this.j.add(a.listen("input",i.runOn(this,this.z))),this.j.add(a.listen("focus",i.runOn(this,this.ae))),this.j.add(a.listen("blur",i.runOn(this,this.x))),this.j.add(a.listen("mouseenter",i.runOn(this,this.v))),this.j.add(a.listen("mouseleave",i.runOn(this,this.w))),this.j.add(a.listen("keydown",i.runOn(this,this.af))),this.j.add(a.listen("keyup",i.runOn(this,this.ah))),this.j.add(a.listen("keypress",i.runOn(this,this.ag))),this.j.add(a.listen("paste",i.runOn(this,this.ak))),this.j.add(a.listen("dragenter",i.runOn(this,this.ac))),this.j.add(a.listen("dragleave",i.runOn(this,this.ad))),this.j.add(a.listen("compositionstart",i.runOn(this,this.ab))),this.j.add(a.listen("compositionend",i.runOn(this,this.aa))),this.j.add(a.listen("mousedown",i.runOn(this,this.ai))),this.j.add(a.listen("mouseup",i.runOn(this,this.aj))),this.m=a,this.l.append(this.m),this.am(),this.b.dl()},n.prototype.a0=function(t){t?this.m.setAttribute("readonly",t.toString()):this.m.getNativeElement().removeAttribute("readonly")},n.prototype.ay=function(t){t?this.m.setAttribute("disabled","true"):this.m.getNativeElement().removeAttribute("disabled")},n.prototype.a5=function(t){this.m.setStyleProperty("text-align",this.t(t))},n.prototype.a4=function(t){t?this.m.removeClass("ig-input-hide-spinner"):this.m.addClass("ig-input-hide-spinner")},n.prototype.ab=function(t){this.g=!0,this.b.c3()},n.prototype.aa=function(t){this.g=!1;var e=null;null!=t.originalEvent&&(e=t.originalEvent.data),this.b.c2(e)},n.prototype.t=function(t){switch(t){case 0:return"left";case 2:return"right";case 1:return"center"}return"left"},n.prototype.aw=function(){this.m.setAttribute("type",this.b.b8),"date"==this.b.b8?this.m.setStyleProperty("line-height","normal"):this.m.setStyleProperty("line-height","0")},n.prototype.au=function(){this.m.setAttribute("placeholder",this.b.cg)},n.prototype.a9=function(){switch(this.b.z){case 1:this.m.setStyleProperty("height","2rem"),this.m.setStyleProperty("font-size","1rem");break;case 2:this.m.setStyleProperty("height","1.68421rem"),this.m.setStyleProperty("font-size","1rem");break;case 3:this.m.setStyleProperty("height","1.45455rem"),this.m.setStyleProperty("font-size",".95455rem")}},n.prototype.a8=function(){var t=this,e=this.k();(i.isNaN_(e)||0==e)&&(this.f||(this.f=!0,this.l.setTimeout((function(){t.f=!1,t.a8()}),100)));var n,r=new i.TransformGroup;r.j.add(((n=new i.TranslateTransform).k=2==t.b.o?-.25*t.k():0,n)),r.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}()),i.NativeUI.af(this.l.rootWrapper,r),this.l.rootWrapper.setStyleProperty("transform-origin","0px 0px")},n.prototype.k=function(){var t=this.l.rootWrapper.getStyleProperty("height");return parseFloat(i.stringReplace(t,"px",""))},n.prototype.ax=function(t){this.m.setProperty("value",t)},n.prototype.az=function(t){this.m.setAttribute("name",t)},n.prototype.x=function(t){this.b.cz()},n.prototype.ae=function(t){this.b.c7()},n.prototype.ai=function(t){var e=this.bc(t);this.b.dd(e),e.handled&&t.preventDefault()},n.prototype.aj=function(t){var e=this.bc(t);this.b.dg(e),e.handled&&t.preventDefault()},n.prototype.bc=function(t){var e=new i.MouseButtonEventArgs;return e.position={$type:i.Point_$type,x:t.offsetX,y:t.offsetY},e},n.prototype.y=function(t){this.b.c0()},n.prototype.z=function(t){this.b.c1()},n.prototype.af=function(t){var e=new i.KeyEventArgs(0,t);this.b.da(e)},n.prototype.ah=function(t){var e=new i.KeyEventArgs(0,t);this.b.dc(e)},n.prototype.ag=function(t){var e=new i.KeyEventArgs(0,t);this.b.db(e)},n.prototype.ak=function(t){this.b.dh()},n.prototype.ac=function(t){this.b.c5()},n.prototype.ad=function(t){this.b.c6()},n.prototype.ba=function(t){this.r!=t&&(this.r=t,null!=this.n&&this.n.setAttribute("d",this.r))},n.prototype.s=function(){return this.m.getProperty("value")},n.prototype.u=function(t){},n.prototype.a7=function(){this.h()&&(this.b.as?this.m.setAttribute("tabindex",this.b.be.toString()):this.m.getNativeElement().removeAttribute("tabindex"))},n.prototype.p=function(){var t=this.m.getProperty("selectionStart");return i.typeGetValue(t)},n.prototype.o=function(){var t=this.m.getProperty("selectionEnd");return i.typeGetValue(t)},n.prototype.a3=function(t){this.m.setProperty("selectionStart",t)},n.prototype.a1=function(t){this.m.setProperty("selectionEnd",t)},n.prototype.at=function(){this.h()},n.prototype.v=function(t){this.b.de()},n.prototype.w=function(t){this.b.df()},n.prototype.an=function(){this.d=!0,this.j.add(this.m.listen("change",i.runOn(this,this.y))),this.j.add(this.m.listen("input",i.runOn(this,this.z))),this.j.add(this.m.listen("focus",i.runOn(this,this.ae))),this.j.add(this.m.listen("blur",i.runOn(this,this.x))),this.j.add(this.m.listen("mouseenter",i.runOn(this,this.v))),this.j.add(this.m.listen("mouseleave",i.runOn(this,this.w))),this.j.add(this.m.listen("keydown",i.runOn(this,this.af))),this.j.add(this.m.listen("paste",i.runOn(this,this.ak))),this.j.add(this.m.listen("dragenter",i.runOn(this,this.ac))),this.j.add(this.m.listen("dragleave",i.runOn(this,this.ad))),this.j.add(this.m.listen("compositionstart",i.runOn(this,this.ab))),this.j.add(this.m.listen("compositionend",i.runOn(this,this.aa))),this.j.add(this.m.listen("mousedown",i.runOn(this,this.ai))),this.j.add(this.m.listen("mouseup",i.runOn(this,this.aj)))},n.prototype.aq=function(){var t,n;this.d=!1;try{for(var r=e.__values(i.fromEnum(this.j)),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.j.clear()},n.prototype.bb=function(t){null!=t&&this.m.setStyleProperty("font",t.fontString)},n.prototype.a6=function(){},n.prototype.ao=function(){null!=this.m&&this.m.getNativeElement().blur()},n.prototype.ar=function(t){null!=this.m&&this.m.focus(t)},n.prototype.av=function(){null!=this.m&&this.m.getNativeElement().select()},n.prototype.a2=function(t,e){null!=this.m&&this.m.getNativeElement().setSelectionRange(t,e)},n.prototype.al=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l.rootWrapper,0,null,t)},n.prototype.am=function(){if(!n.e){var t=this.l.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.e=!0}},n.$t=i.markType(n,"InputView"),n.e=!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.o(),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.q()},n.prototype.ai=function(){this.view.q()},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.n()},n.prototype.onAttachedToUI=function(){this.view.l()},n.prototype.r=function(){return this.view.d()},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.k(t)},n.prototype.provideContainer=function(t){this.view.m(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.o(),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(H,e),i.enumGetBox(H,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.q()},n.prototype.ai=function(){this.view.q()},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.n()},n.prototype.onAttachedToUI=function(){this.view.l()},n.prototype.r=function(){return this.view.d()},n.prototype.t=function(){return this.i()},n.prototype.y=function(){return this.i().e()},n.prototype.i=function(){var t=new K;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.k(t)},n.prototype.provideContainer=function(t){this.view.m(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(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)),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.c)?e.c:t.c,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.b)?e.b:t.b,i.isNaN_(t.a)?e.a:t.a)},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.ck(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.a8()})),this.js((function(t){return t.view.af()})),this.jt((function(t){return t.view.q()})),this.ju((function(t){return t.view.q()}))},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.ck(!0,!t.aj)})),this.jr((function(e){return e.dq(t.ar,!t.aj)}))):(this.js((function(e){return e.ck(!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.al=!0})),this.j4(1)}else{this.js((function(t){return t.al=!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.a8()})),this.js((function(t){return t.view.af()})),this.jt((function(t){return t.view.q()})),this.ju((function(t){return t.view.q()}))},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(K.$,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].au())):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 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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(138,0,0,0)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,0,153,155)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,0,153,155)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(138,0,0,0)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(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.h(255,186,191,199)),t.addItem("FocusBorderColor",i.BrushUtil.h(255,33,150,243)),t.addItem("FocusLabelColor",i.BrushUtil.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",i.BrushUtil.h(255,33,150,243)),t.addItem("HoverUnderlineColor",i.BrushUtil.h(255,186,191,199)),t.addItem("FocusUnderlineColor",i.BrushUtil.h(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.h(0,0,0,0)),t}())),t}()),n.n5=i.BrushUtil.h(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.h(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.h(25,0,0,0)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(255,186,191,199)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.h(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.h(51,255,255,255)),t.addItem("UnderlineRippleColor",n.n5),t.addItem("HoverUnderlineColor",i.BrushUtil.h(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.h(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.aa=null,e.z=null,e.r=0,e.q=1,e.cr=c.ah(n.o,n.da,n.c3),e.co=c.ah(n.o,n.c7,n.c0),e.cp=c.ah(n.o,n.c8,n.c1),e.cq=c.ah(n.o,n.c9,n.c2),e.u=null,e.cv=n.db,e.cs=n.c4,e.ct=n.c5,e.k=0,e.af=!1,e.ad=!1,e.v=null,e.cu=null,e.a2="ig-label-"+n.at++,e.ay="inline-block",e.az="inline-block",e.a0=null,e.av="center",e.aw="center",e.ar=0,e.ab=!1,e.a1=null,e.ax=null,e.a3=null,e.ae=!1,e.ai=!1,e.ac=!1,e.ah=!1,e.ag=!1,e.ap=!1;var i=new ht;return i.c=e,e.view=i,e.view.ab(),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.b8=function(){var t=this;this.view.s();var e;if(null==this.aa){var n=new i.TransformGroup;n.j.add(((e=new i.TranslateTransform).k=t.view.j(),e)),n.j.add(function(){var t=new i.ScaleTransform;return t.l=1,t.m=1,t}());var r=-1.3*this.view.i();2==this.s&&(r=-1.05*this.view.i()),3==this.s&&(r=-1.01*this.view.i());var o=new i.TransformGroup;o.j.add(function(){var e=new i.TranslateTransform;return e.k=2==t.l?r:-.65*t.view.i(),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.h(0,255,255,255))).m(new i.AnimationKeyFrameProperty(14,o),new i.AnimationKeyFrameProperty(2,i.BrushUtil.h(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.cz)).m(new i.AnimationKeyFrameProperty(7,this.cw))))},n.prototype.ci=function(t,e){var i=this;if(e>0&&t.playbackRate<0||e<0&&t.playbackRate>0){if(t.reverse(),this.ap)return t.finish(),void this.b9(t);t.finished.f((function(e){return i.b9(t)}))}else{if(t.play(),this.ap)return t.finish(),void this.b9(t);t.finished.f((function(e){return i.b9(t)}))}},n.prototype.b9=function(t){t.commitStyles(),t==this.aa&&this.ah&&(this.aa=null),t==this.z&&this.ag&&(this.z=null)},n.prototype.h=function(e,i,n){switch(t.prototype.h.call(this,e,i,n),e){case"BaseTheme":this.cl(this.p),this.cn();break;case"TextColor":case"HoverTextColor":case"TextStyle":case"HighlightTextColor":case"HoverHighlightTextColor":this.cn();break;case"ActualTextColor":case"ActualHoverTextColor":case"ActualTextStyle":case"ActualHighlightTextColor":case"ActualHoverHighlightTextColor":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ah=!0),null!=this.z&&(3==this.z.playState?this.z=null:this.ag=!0),this.cm();break;case"Text":this.view.ae();break;case"Density":this.s=0==this.t?1:this.t;break;case"ActualDensity":this.view.ag(),this.view.af();break;case"InputGroup":this.view.af();break;case"IsHighlighted":this.cc();break;case"IsShifted":this.cd();break;case"ShiftType":null!=this.aa&&(3==this.aa.playState?this.aa=null:this.ah=!0),this.cg();break;case"Display":this.view.y();break;case"FlexDirection":this.view.z();break;case"FlexGrow":this.view.aa();break;case"AlignItems":this.view.t();break;case"AlignSelf":this.view.u()}},n.prototype.cg=function(){this.view.af()},n.prototype.cd=function(){this.b8();var t=1;this.an||(t=-1),this.ci(this.aa,t)},n.prototype.cc=function(){this.b8();var t=1;this.al||(t=-1),this.ci(this.z,t)},n.prototype.cn=function(){this.cz=null!=this.df?this.df:n.db,this.cy=null!=this.de?this.de:n.db,this.cw=null!=this.dc?this.dc:n.c4,this.w=null!=this.y?this.y:n.x},n.prototype.cm=function(){null!=this.w&&this.view.ai(this.w),this.view.ad(this.cz)},n.prototype.cl=function(t){n.db=c.ah(t,n.da,n.c3),n.c4=c.ah(t,n.c7,n.c0),n.c6=c.ah(t,n.c9,n.c2),n.c5=c.ah(t,n.c8,n.c1)},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,"cz",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.g("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.g("ActualHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.g("ActualHoverHighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&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,"df",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.g("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dc",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.g("HighlightTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dd",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&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(M,e),i.enumGetBox(M,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.g("IsShifted",e,t)},enumerable:!1,configurable:!0}),n.prototype.ck=function(t,e){void 0===e&&(e=!0);var i=this.ap;e||(this.ap=!0);try{this.an=t}finally{e||(this.ap=i)}},Object.defineProperty(n.prototype,"al",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.g("IsHighlighted",e,t)},enumerable:!1,configurable:!0}),n.prototype.ce=function(){this.am=!0},n.prototype.cf=function(){this.am=!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,"de",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.g("HoverTextColor",e,t)},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.g("Id",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.g("Display",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.g("FlexDirection",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.g("FlexGrow",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.g("AlignItems",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.g("AlignSelf",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ab},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.ab=!0,e!=this.ar&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.g("TabIndex",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.g("AriaLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.g("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.g("IsHover",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.g("Value",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.g("IsDisabled",e,t)},enumerable:!1,configurable:!0}),n.prototype.ch=function(){this.view.ae()},n.prototype.onDetachedFromUI=function(){this.view.x()},n.prototype.onAttachedToUI=function(){this.view.v()},n.prototype.ao=function(){return this.view.f()},n.prototype.au=function(){return this.j()},n.prototype.bk=function(){return this.j().q()},n.prototype.j=function(){var t=new Z,e=this.view.n;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.an,t.g=this.al,t.m=this.bi,t.n=this.bl,t.o=this.bn,t.l=this.ba,t.r=this.text,t.h=this.am,t.j=this.aq,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.k,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.w(t)},n.$t=i.markType(n,"XLabel",lt.$),n.da=i.BrushUtil.h(221,0,0,0),n.c7=i.BrushUtil.h(255,0,153,155),n.c9=i.BrushUtil.h(221,0,0,0),n.c8=i.BrushUtil.h(255,0,153,155),n.c3=i.BrushUtil.h(255,24,29,31),n.c0=i.BrushUtil.h(255,33,150,243),n.c2=i.BrushUtil.h(255,24,29,31),n.c1=i.BrushUtil.h(255,33,150,243),n.o=2,n.db=c.ah(n.o,n.da,n.c3),n.c4=c.ah(n.o,n.c7,n.c0),n.c6=c.ah(n.o,n.c9,n.c2),n.c5=c.ah(n.o,n.c8,n.c1),n.x=null,n.at=0,n}(lt),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 ut;return r.b=e,e.view=r,e.view.as(),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(V,e),i.enumGetBox(V,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.ax(this.cq),null!=this.b&&this.b.kh(),null==this.ce||this.aq||this.dw(this.cq));break;case"Name":this.view.az(this.e);break;case"Density":this.z=0==this.aa?1:this.aa;break;case"ActualDensity":this.view.a9(),this.view.a8();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.ay(this.am);break;case"IsReadOnly":this.view.a0(this.ao);break;case"TextAlignment":this.view.a5(this.dy);break;case"ShowSpinner":this.view.a4(this.a1);break;case"TabIndex":this.view.a7()}},n.prototype.di=function(){this.view.au()},n.prototype.dk=function(){this.view.aw()},n.prototype.dj=function(){this.view.a8()},n.prototype.c8=function(){this.view.a8()},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.bb(this.ad),i.NativeUI.q(this.view.q,this.d4),this.view.a6()},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.s(),null!=this.change&&this.change(this,((t=new nt).value=e.cq,t.isCompositionInProgress=e.view.g,t)),this.al=!1},n.prototype.c1=function(){var t,e=this;if(this.al=!0,this.cq=this.view.s(),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.g,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.a7()},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.aq()},n.prototype.onAttachedToUI=function(){this.view.an()},n.prototype.az=function(){return this.view.h()},n.prototype.bg=function(){return this.j()},n.prototype.b1=function(){return this.j().n()},n.prototype.j=function(){var t=new tt,e=this.view.q;if(t.h=this.view.l.rootWrapper.getNativeElement().offsetTop,t.f=this.view.l.rootWrapper.getNativeElement().offsetLeft,t.b=this.o,t.c=this.z,t.j=this.ce,t.m=this.ci,t.d=this.au,t.a=i.AppearanceHelper.a(i.NativeUI.al(e)),t.i=this.b8,t.l=this.cg,t.e=this.aw,t.t=this.cq,t.k=this.e,null!=this.ad){var n=this.ad;if(null!=this.view&&null==n.q){var r=this.view.l,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.o=n.q),i.isNaN_(n.f)||(t.g=n.f),null!=n.v&&(t.s=n.v),null!=n.t&&(t.q=n.t),null!=n.r&&(t.p=n.t)}return t},n.prototype.dr=function(t,e){this.view.a2(t,e)},n.prototype.provideContainer=function(t){this.view.ap(t)},n.prototype.ct=function(){this.cz(),this.view.ao()},n.prototype.focus=function(t){void 0===t&&(t=!1),this.c7(),this.view.ar(t)},n.prototype.dp=function(){this.view.av()},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.g,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.p(),e=this.view.o();return t==e&&this.ai?e-this.bk.length:t},n.prototype.ba=function(){return this.view.o()},Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this.bb()},set:function(t){this.view.a3(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this.ba()},set:function(t){this.view.a1(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.al(),null==this.ag&&(this.ag=i.KeyFrameAnimationFactory.f.c(this.view.a(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.h(221,0,0,0),n.d5=i.BrushUtil.h(221,0,0,0),n.ae=null,n.bf=0,n}(lt),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 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 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),Bt=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",yt.$type)},t}(),xt=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(){},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.cz)},set:function(t){this.i.cz=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.cz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightTextColor",{get:function(){return i.brushToString(this.i.cw)},set:function(t){this.i.cw=i.stringToBrush(t),this._a("actualHighlightTextColor",i.brushToString(this.i.cw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverHighlightTextColor",{get:function(){return i.brushToString(this.i.cx)},set:function(t){this.i.cx=i.stringToBrush(t),this._a("actualHoverHighlightTextColor",i.brushToString(this.i.cx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverTextColor",{get:function(){return i.brushToString(this.i.cy)},set:function(t){this.i.cy=i.stringToBrush(t),this._a("actualHoverTextColor",i.brushToString(this.i.cy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.df)},set:function(t){this.i.df=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.df))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightTextColor",{get:function(){return i.brushToString(this.i.dc)},set:function(t){this.i.dc=i.stringToBrush(t),this._a("highlightTextColor",i.brushToString(this.i.dc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverHighlightTextColor",{get:function(){return i.brushToString(this.i.dd)},set:function(t){this.i.dd=i.stringToBrush(t),this._a("hoverHighlightTextColor",i.brushToString(this.i.dd))},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.de)},set:function(t){this.i.de=i.stringToBrush(t),this._a("hoverTextColor",i.brushToString(this.i.de))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.i.bu},set:function(t){this.i.bu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"display",{get:function(){return this.i.bi},set:function(t){this.i.bi=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexDirection",{get:function(){return this.i.bl},set:function(t){this.i.bl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"flexGrow",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignItems",{get:function(){return this.i.ba},set:function(t){this.i.ba=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alignSelf",{get:function(){return this.i.bc},set:function(t){this.i.bc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("tabIndex",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"for",{get:function(){return this.i.bp},set:function(t){this.i.bp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ariaLabel",{get:function(){return this.i.be},set:function(t){this.i.be=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.am},set:function(t){this.i.am=i.ensureBool(t),this._a("isHover",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.i.aq},set:function(t){this.i.aq=i.ensureBool(t),this._a("value",this.i.aq)},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.au()},n.prototype.exportSerializedVisualModel=function(){return this.i.bk()},n._observedAttributesIgcXLabelComponent=null,n.htmlTagName="igc-x-label",n._isElementRegistered=!1,n}(gt),St=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),xt.register(),i.TypeRegistrar.registerCons("IgcXLabelComponent",xt),i.TypeRegistrar.registerCons("IgcXLabelComponent",xt),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,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=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.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.b=+t,this._a("actualCornerRadiusBottomRight",this.i.ko.b),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.ko?this.i.ko.a:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.a=+t,this._a("actualCornerRadiusBottomLeft",this.i.ko.a),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.ko?this.i.ko.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.c=+t,this._a("actualCornerRadiusTopLeft",this.i.ko.c),this.i.ko=this.i.ko},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.ko?this.i.ko.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.ko.d=+t,this._a("actualCornerRadiusTopRight",this.i.ko.d),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.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.b=+t,this._a("cornerRadiusBottomRight",this.i.ks.b),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.ks?this.i.ks.a:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.a=+t,this._a("cornerRadiusBottomLeft",this.i.ks.a),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.ks?this.i.ks.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.c=+t,this._a("cornerRadiusTopLeft",this.i.ks.c),this.i.ks=this.i.ks},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadiusTopRight",{get:function(){return this.i.ks?this.i.ks.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.ks.d=+t,this._a("cornerRadiusTopRight",this.i.ks.d),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.b:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.b=+t,this._a("lineTypeCornerRadiusBottomRight",this.i.kx.b),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusBottomLeft",{get:function(){return this.i.kx?this.i.kx.a:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.a=+t,this._a("lineTypeCornerRadiusBottomLeft",this.i.kx.a),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopLeft",{get:function(){return this.i.kx?this.i.kx.c:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.c=+t,this._a("lineTypeCornerRadiusTopLeft",this.i.kx.c),this.i.kx=this.i.kx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lineTypeCornerRadiusTopRight",{get:function(){return this.i.kx?this.i.kx.d:NaN},set:function(t){this.ensureLineTypeCornerRadius(),this.i.kx.d=+t,this._a("lineTypeCornerRadiusTopRight",this.i.kx.d),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.b:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.b=+t,this._a("boxTypeCornerRadiusBottomRight",this.i.kq.b),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusBottomLeft",{get:function(){return this.i.kq?this.i.kq.a:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.a=+t,this._a("boxTypeCornerRadiusBottomLeft",this.i.kq.a),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopLeft",{get:function(){return this.i.kq?this.i.kq.c:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.c=+t,this._a("boxTypeCornerRadiusTopLeft",this.i.kq.c),this.i.kq=this.i.kq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"boxTypeCornerRadiusTopRight",{get:function(){return this.i.kq?this.i.kq.d:NaN},set:function(t){this.ensureBoxTypeCornerRadius(),this.i.kq.d=+t,this._a("boxTypeCornerRadiusTopRight",this.i.kq.d),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.b:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.b=+t,this._a("borderTypeCornerRadiusBottomRight",this.i.kp.b),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusBottomLeft",{get:function(){return this.i.kp?this.i.kp.a:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.a=+t,this._a("borderTypeCornerRadiusBottomLeft",this.i.kp.a),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopLeft",{get:function(){return this.i.kp?this.i.kp.c:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.c=+t,this._a("borderTypeCornerRadiusTopLeft",this.i.kp.c),this.i.kp=this.i.kp},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"borderTypeCornerRadiusTopRight",{get:function(){return this.i.kp?this.i.kp.d:NaN},set:function(t){this.ensureBorderTypeCornerRadius(),this.i.kp.d=+t,this._a("borderTypeCornerRadiusTopRight",this.i.kp.d),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.b:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.b=+t,this._a("searchTypeCornerRadiusBottomRight",this.i.ky.b),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusBottomLeft",{get:function(){return this.i.ky?this.i.ky.a:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.a=+t,this._a("searchTypeCornerRadiusBottomLeft",this.i.ky.a),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopLeft",{get:function(){return this.i.ky?this.i.ky.c:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.c=+t,this._a("searchTypeCornerRadiusTopLeft",this.i.ky.c),this.i.ky=this.i.ky},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"searchTypeCornerRadiusTopRight",{get:function(){return this.i.ky?this.i.ky.d:NaN},set:function(t){this.ensureSearchTypeCornerRadius(),this.i.ky.d=+t,this._a("searchTypeCornerRadiusTopRight",this.i.ky.d),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),Ot=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),Bt.register(),St.register(),Pt.register(),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Pt),i.TypeRegistrar.registerCons("IgcXInputGroupComponent",Pt),i.TypeRegistrar.register("XInputGroup",dt.$type)},t}(),jt=function(t){return t[t.DateShort=0]="DateShort",t[t.DateLong=1]="DateLong",t}({}),wt=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.h(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.h(255,24,29,31),e.dt=i.BrushUtil.h(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 w).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(j,e),i.enumGetBox(j,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(wt,e),i.enumGetBox(wt,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.aq=this.aw);break;case"UseTopLayer":null!=this.u&&(this.u.ax=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.df=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.df=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 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(),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(),k=i.stringIsNullOrWhiteSpace(this.af.b1("August_Full"))?"august":this.af.b1("August_Full").toLowerCase(),B=i.stringIsNullOrWhiteSpace(this.af.b1("August_Short"))?"aug":this.af.b1("August_Short").toLowerCase(),x=i.stringIsNullOrWhiteSpace(this.af.b1("September_Full"))?"september":this.af.b1("September_Full").toLowerCase(),S=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(),O=i.stringIsNullOrWhiteSpace(this.af.b1("November_Full"))?"november":this.af.b1("November_Full").toLowerCase(),j=i.stringIsNullOrWhiteSpace(this.af.b1("November_Short"))?"nov":this.af.b1("November_Short").toLowerCase(),w=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==y||a==g?r=5:a==m||a==v?r=6:a==_||a==C?r=7:a==k||a==B?r=8:a==x||a==S?r=9:a==T||a==P?r=10:a==O||a==j?r=11:a==w||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.aq=this.aw,this.u.ax=this.a3,this.u.cy=i.BrushUtil.h(255,255,255,255),this.u.a8=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.aw&&(this.ah=!0,this.cr())},n.prototype.cy=function(){0==this.ah?this.u.aw?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.cp(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.aw){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.b9(e)):2!=this.u.r&&(this.u.r=2,this.u.b9(e));else 1!=this.u.r&&(this.u.r=1,this.u.b9(e))}},n.prototype.cr=function(){var t=this;null!=this.u&&window.setTimeout((function(){return t.u.b5()}),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.aw&&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.bc(),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(j,t),this._a("firstWeekOfYear",i.enumToString(j,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(wt,t),this._a("dateFormat",i.enumToString(wt,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),Gt=function(){function t(){}return t.register=function(){D.register(),m.register(),x.register(),Ot.register(),qt.register(),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.registerCons("IgcXDatePickerComponent",qt),i.TypeRegistrar.register("XDatePicker",Rt.$type)},t}(),Wt=i.markEnum("CheckboxLabelPosition","After,0|Before,1"),$t=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),Ht=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return 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.q=0,e.n=0,e.m=0,e.a=null,e.r=null,e.j=!1,e.g=!1,e.h=!1,e.k=!1,e.i=!1,e}return e.__extends(n,t),n.prototype.s=function(){var t=new i.StringBuilder(0);return t.l("{"),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.q+", "),t.l("actualTickStrokeWidth : "+this.n+", "),t.l("actualCheckedBackgroundColor : "+this.a.serialize()+", "),null!=this.r&&t.l('value : "'+this.r.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),zt=function(t){function n(){var e=t.call(this)||this;return e.c=null,e.l=null,e.f=null,e.j=new i.List$1(i.Delegate_$type,0),e.g=!0,e.r=null,e.m=null,e.q=null,e.n=null,e.o=null,e.d=null,e.p=null,e}return e.__extends(n,t),n.prototype.af=function(){},n.prototype.i=function(){return!0},n.prototype.ad=function(t){var n,r;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 s=this.l.createElement("input");this.r=s,this.r.addClass("ig-native-checkbox"),this.r.setStyleProperty("position","absolute"),this.r.setStyleProperty("width","1px"),this.r.setStyleProperty("height","1px"),this.r.setStyleProperty("margin","-1px"),this.r.setStyleProperty("border","none"),this.r.setStyleProperty("clip","rect(0, 0, 0, 0)"),this.r.setStyleProperty("outline","0"),this.r.setStyleProperty("pointer-events","none"),this.r.setStyleProperty("overflow","hidden"),this.r.setStyleProperty("-webkit-appearance","none"),this.r.setStyleProperty("-moz-appearance","none"),this.r.setStyleProperty("appearance","none"),this.r.setAttribute("type","checkbox"),this.r.setAttribute("id",this.c.b1),this.aj(),this.j.add(s.listen("change",i.runOn(this,this.x))),this.j.add(s.listen("click",i.runOn(this,this.y))),this.j.add(s.listen("focus",i.runOn(this,this.z))),this.j.add(s.listen("blur",i.runOn(this,this.w))),this.l.append(s);var a=this.l.createElement("div");a.addClass("ig-checkbox-box"),a.setStyleProperty("width","1.25em"),a.setStyleProperty("height","1.25em"),a.setStyleProperty("position","relative"),this.m=a,this.l.append(a);var h=this.l.createElement("label");h.setAttribute("for",this.c.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.q=h,this.m.append(h);var u=this.l.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.o=u,h.append(u);var l=this.l.createElementNS("path","http://www.w3.org/2000/svg");l.setAttribute("d",this.c.bf),u.append(l),this.n=l;var c=this.l.createElement("div"),p=this.l.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.l.getExternal(d,this.l.rootWrapper,this.l.getExternal(this.c,null,null));d.h=!0,d.k=!0,this.d=d,a.append(c);var f=this.l.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.p=f,this.j.add(f.listen("click",i.runOn(this,this.v))),this.l.append(f),this.l.getPortal(f,"ChildContent",(function(t){}),!0),this.c.cp()}else{try{for(var b=e.__values(i.fromEnum(this.j)),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.j.clear()}},n.prototype.v=function(t){this.c.toggle()},n.prototype.aj=function(){if(this.i()){this.c.b1;this.r.setAttribute("name",this.c.ca),this.r.setProperty("value",this.c.a4),this.c.aa&&this.r.setAttribute("tabindex",this.c.az.toString()),this.r.setProperty("disabled",this.c.disabled),this.r.setProperty("indeterminate",this.c.indeterminate),this.r.setProperty("checked",this.c.checked),this.r.setProperty("required",this.c.ay),this.c.indeterminate?this.r.setAttribute("aria-checked","mixed"):this.r.setAttribute("aria-checked",this.c.checked?"true":"false"),this.r.setAttribute("aria-labelledby",this.c.bn),this.r.setAttribute("aria-label",this.c.bm)}},n.prototype.al=function(){return new i.Size(1,this.q.width(),this.q.height())},n.prototype.ai=function(){this.n.setAttribute("d",this.c.bf)},n.prototype.ag=function(){if(this.i()){var t=this.c.b1;this.r.setAttribute("id",t),this.q.setAttribute("for",t)}},n.prototype.w=function(t){this.c.focused=!1},n.prototype.z=function(t){this.c.focused=!0},n.prototype.y=function(t){(t.stopPropagation(),this.h())&&this.r.getNativeElement().blur();this.c.toggle()},n.prototype.h=function(){return!1},n.prototype.x=function(t){t.stopPropagation()},n.prototype.aa=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.l)},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.q,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.ab=function(t){},Object.defineProperty(n.prototype,"t",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.o},enumerable:!1,configurable:!0}),n.prototype.ac=function(){this.g=!0,this.j.add(this.r.listen("change",i.runOn(this,this.x))),this.j.add(this.r.listen("click",i.runOn(this,this.y))),this.j.add(this.r.listen("focus",i.runOn(this,this.z))),this.j.add(this.r.listen("blur",i.runOn(this,this.w))),this.j.add(this.p.listen("click",i.runOn(this,this.v)))},n.prototype.ae=function(){var t,n;this.g=!1;try{for(var r=e.__values(i.fromEnum(this.j)),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.j.clear()},n.prototype.ah=function(){var t=this.c;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},n.prototype.ak=function(t,e){this.d.ax=t,this.d.aw=e},n.prototype.k=function(){var t=this.q.getStyleProperty("border-top-width");return t=i.stringReplace(t,"px",""),parseFloat(t)},n.$t=i.markType(n,"CheckboxView"),n}(i.Base),Mt=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.h(0,0,0,0),i.BrushUtil.h(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 zt;return r.c=e,e.view=r,e.view.af(),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.ai();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.e.i=this.y;break;case"InputId":this.view.ag()}},n.prototype.ct=function(){var t=this.view.t,e=this.view.s;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.u;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(Wt,e),i.enumGetBox(Wt,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.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(this.c8,.1)):this.view.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(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.aa();var t=!1;null==this.o&&(t||(t=!0,this.view.ah()),this.o=i.KeyFrameAnimationFactory.f.c(this.view.a(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.b(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 $t;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.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(this.c8,.1)):this.view.ak(i.BrushUtil.q(this.c8,.6),i.BrushUtil.q(this.dc,.1)),this.indeterminate||i.NativeUI.af(this.view.u,null),this.z||this.indeterminate||t){var s=this.view.t,a=this.view.s,h=this.view.u;if(this.indeterminate){var u=new i.TransformGroup;u.j.add(((r=new i.RotateTransform).j=45,r)),u.j.add(function(){var t=new i.TranslateTransform;return t.j=-e.view.k(),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.ae()},n.prototype.onAttachedToUI=function(){this.view.ac()},n.prototype.onContentReady=function(){this.indeterminate&&this.cv(!1)},n.prototype.af=function(){return this.view.i()},n.prototype.a3=function(){return this.b()},n.prototype.by=function(){return this.b().s()},n.prototype.b=function(){var t=new Ht;return 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.q=this.av,t.n=this.ap,t.m=this.ao,t.a=i.AppearanceHelper.a(this.c8),t.r=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.ad(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.h(255,153,153,153)),r.addItem("CheckedBorderColor",i.BrushUtil.h(138,33,150,243)),r.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,255,255,255)),r.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,33,150,243)),r.addItem("TickColor",i.BrushUtil.h(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.h(138,0,0,0)),t.addItem("CheckedBorderColor",i.BrushUtil.h(138,0,0,0)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,228,28,119)),t.addItem("TickColor",i.BrushUtil.h(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.h(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.h(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,255,255,255)),t.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.h(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.h(255,105,136,255)),t.addItem("CheckedBorderColor",i.BrushUtil.h(255,105,136,255)),t.addItem("UncheckedBackgroundColor",i.BrushUtil.h(255,55,63,86)),t.addItem("CheckedBackgroundColor",i.BrushUtil.h(255,105,136,255)),t.addItem("TickColor",i.BrushUtil.h(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),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"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}(),Vt=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 Mt},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(Wt,t),this._a("labelPosition",i.enumToString(Wt,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 Lt;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),Xt=function(){function t(){}return t.register=function(){a.register(),i.IgcChildContentModule.register(),Vt.register(),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",Vt),i.TypeRegistrar.registerCons("IgcXCheckboxComponent",Vt),i.TypeRegistrar.register("XCheckbox",Mt.$type)},t}(),Kt=function(t){return t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical",t}({}),Yt=i.markEnum("ButtonGroupOrientation","Horizontal,0|Vertical,1"),Jt=i.markEnum("ButtonGroupDisplayStyle","Flat,0|Outlined,1"),Qt=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),Zt=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),te=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return 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.l=function(){var t=new i.StringBuilder(0);t.l("{"),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),ee=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.fw="flex",t.g0="row",t.e7="center"):(t.fw="flex",t.g0="column",t.e7="stretch")},n.prototype.o=function(t){this.j.append(t)},n.$t=i.markType(n,"ButtonGroupView"),n}(i.Base),ie=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 Qt,e.selectionChanged=null;var r=new ee;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(Jt,e),i.enumGetBox(Jt,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(),null!=this.selectionChanged&&this.selectionChanged(this,new Zt),this.u=!1},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.c)?e.c:t.c,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.b)?e.b:t.b,i.isNaN_(t.a)?e.a:t.a)},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.az=!1,this.v&&(e.disabled=this.disabled),e.nt=this.e0,e.bg=this.ak,e.ph=this.e2,e.pg=this.e1,e.pi=this.e3,this.view.x(e),this.aa(e)?(e.ns=this.e7,e.q7=this.fa,e.p7=this.e8,e.p8=this.e9):(e.ns=this.ez,e.q7=this.e6,e.p7=this.e4,e.p8=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.kt=new i.CornerRadius(1,0,0,0,0)},n.prototype.dj=function(t){1==this.k?t.kt=new i.CornerRadius(1,0,0,this.al,this.al):t.kt=new i.CornerRadius(1,0,this.al,this.al,0)},n.prototype.di=function(t){1==this.k?t.kt=new i.CornerRadius(1,this.al,this.al,0,0):t.kt=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(Yt,e),i.enumGetBox(Yt,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().l()},n.prototype.e=function(){var t=new te;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].d7());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.h(255,255,255,255),n.gp=i.BrushUtil.h(10,0,0,0),n.go=i.BrushUtil.h(255,199,199,199),n.gq=i.BrushUtil.h(255,199,199,199),n.au=1,n.gu=i.BrushUtil.h(255,0,0,0),n.gr=i.BrushUtil.h(66,0,0,0),n.gv=i.BrushUtil.h(60,0,0,0),n.gy=i.BrushUtil.h(255,0,0,0),n.gs=i.BrushUtil.h(30,0,0,0),n.gt=i.BrushUtil.h(255,0,0,0),n.gw=i.BrushUtil.h(96,0,0,0),n.gx=i.BrushUtil.h(255,0,0,0),n.ap=3,n.fn=i.BrushUtil.h(0,255,255,255),n.fp=i.BrushUtil.h(10,0,0,0),n.fo=i.BrushUtil.h(255,33,150,243),n.fq=i.BrushUtil.h(255,199,199,199),n.ao=1,n.fu=i.BrushUtil.h(255,33,150,243),n.fr=i.BrushUtil.h(66,0,0,0),n.fv=i.BrushUtil.h(255,33,150,243),n.fy=i.BrushUtil.h(255,255,255,255),n.fs=i.BrushUtil.h(26,33,150,243),n.ft=i.BrushUtil.h(255,33,150,243),n.fw=i.BrushUtil.h(255,33,150,243),n.fx=i.BrushUtil.h(255,255,255,255),n.at=4,n.gb=i.BrushUtil.h(0,255,255,255),n.gd=i.BrushUtil.h(10,0,0,0),n.gc=i.BrushUtil.h(0,0,0,0),n.ge=i.BrushUtil.h(255,199,199,199),n.as=0,n.gi=i.BrushUtil.h(255,228,28,119),n.gf=i.BrushUtil.h(66,0,0,0),n.gj=i.BrushUtil.h(30,228,28,119),n.gm=i.BrushUtil.h(255,228,28,119),n.gg=i.BrushUtil.h(13,228,28,119),n.gh=i.BrushUtil.h(255,228,28,119),n.gk=i.BrushUtil.h(30,228,28,119),n.gl=i.BrushUtil.h(255,228,28,119),n.an=0,n.fb=i.BrushUtil.h(0,255,255,255),n.fd=i.BrushUtil.h(10,0,0,0),n.fc=i.BrushUtil.h(0,0,0,0),n.fe=i.BrushUtil.h(0,0,0,0),n.am=0,n.fi=i.BrushUtil.h(255,119,119,119),n.ff=i.BrushUtil.h(66,0,0,0),n.fj=i.BrushUtil.h(26,33,150,243),n.fm=i.BrushUtil.h(255,33,150,243),n.fg=i.BrushUtil.h(10,33,150,243),n.fh=i.BrushUtil.h(255,119,119,119),n.fk=i.BrushUtil.h(26,33,150,243),n.fl=i.BrushUtil.h(255,33,150,243),n.cv="OutlinedSelectedItemHoverBackgroundColor",n.a4=0,n}(i.Base),ne=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),re=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()},t}(),oe=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 ne;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 ie},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(Jt,t),this._a("displayType",i.enumToString(Jt,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(Yt,t),this._a("orientation",i.enumToString(Yt,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 re;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),se=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),m.register(),oe.register(),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",oe),i.TypeRegistrar.registerCons("IgcXButtonGroupComponent",oe),i.TypeRegistrar.register("XButtonGroup",ie.$type)},t}(),ae=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),he=function(){function t(){}return t.register=function(){i.IgcChildContentModule.register(),ae.register(),i.TypeRegistrar.registerCons("IgcXPrefixComponent",ae),i.TypeRegistrar.registerCons("IgcXPrefixComponent",ae),i.TypeRegistrar.register("XPrefix",pt.$type)},t}(),ue=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),le=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){return null!=this.s?this.s:t},n.$t=i.markType(n,"XComponentBridge",i.NativeUIElementBridge.$),n}(i.NativeUIElementBridge),ce=function(t){function n(e){var i=t.call(this,e)||this;return i.v=null,i.u=null,i.x=null,i.w=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.z)),this.v=r,this.x=e;break;case 2:s.change=i.delegateCombine(s.change,i.runOn(this,this.y)),this.u=r,this.w=e}},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.z)),this.v=null,this.x=null;break;case 2:s.change=i.delegateRemove(s.change,i.runOn(this,this.y)),this.u=null,this.w=null}},n.prototype.z=function(t,e){if(null!=this.v){var n=new i.NativeUIInputChangingEventArgs;this.v(this.x,n)}},n.prototype.y=function(t,e){if(null!=this.u){var n=new i.NativeUIInputChangingEventArgs;this.u(this.w,n)}},n.prototype.getValue=function(t,e){var n=t,r=i.typeCast(yt.$,n.inputs._inner[0]);switch(e){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,2);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3)}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}return null},n.prototype.setValue=function(t,e,n){var r=t,o=i.typeCast(yt.$,r.inputs._inner[0]);switch(e){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 2:r.t=3;break;case 3:r.t=2}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}},n.prototype.getTargetForProperty=function(e,i){switch(e){case 9:case 10: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.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){return t.fe()},n.$t=i.markType(n,"XInputBridge",le.$,[i.INativeUIInputBridge_$type]),n}(le),pe=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).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.k.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 2:r.r=3;break;case 3:r.r=2}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.at=n;break;case 32:r.disabled=n;break;case 5:r.ar=n;break;case 6:r.az=!n;break;case 24:r.p7=n;break;case 55:r.bi=n.left,r.bk=n.top,r.bj=n.right,r.bh=n.bottom;break;case 57:r.av=n;break;case 56:r.as=n;break;case 58:r.aq=n;break;case 17:r.kt=n;break;case 11:r.aa=n;break;case 83:r.bu=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,2);case 2:return i.enumGetBox(i.NativeUIDisplayDensity_$type,3)}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.at;case 32:return n.disabled;case 5:return n.ar;case 6:return!n.az;case 24:return n.p7;case 55:return new i.Thickness(1,n.bi,n.bk,n.bj,n.bh);case 57:return n.av;case 56:return n.as;case 58:return n.aq;case 17:return n.kt;case 83:return n.bu}return null},n.prototype.setHorizontalContentAlignment=function(t,e){switch(e){case 1:this.t.k5=1;break;case 0:this.t.k5=0;break;case 2:this.t.k5=2;break;case 3:this.t.k5=3}},n.prototype.getHorizontalContentAlignment=function(t){switch(this.t.k5){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.q9=2;break;case 1:this.t.q9=1;break;case 3:this.t.q9=3;break;case 0:this.t.q9=0}},n.prototype.getVerticalContentAlignment=function(t){switch(this.t.q9){case 2:return 2;case 1:return 1;case 0:return 0;default:return 3}},n.prototype.exportVisualData=function(t){return t.d7()},n.$t=i.markType(n,"XButtonBridge",le.$),n}(le),de=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 65:return n.dl;case 67:return n.dm;case 66:return n.dd;case 68: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 65:r.dl=n;break;case 67:r.dm=n;break;case 66:r.dd=n;break;case 68:r.de=n}},n.prototype.exportVisualData=function(t){return t.a3()},n.$t=i.markType(n,"XCheckboxBridge",le.$),n}(le),fe=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.k);case 44:return r.an;case 45:return r.ao;case 46:return r.ap;case 47:return r.am;case 48:return r.aq;case 49:return r.ai;case 62:return r.e;case 63:return r.f;case 64:return r.al}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.an=n;break;case 45:r.ao=n;break;case 46:r.ap=n;break;case 47:r.am=n;break;case 48:r.aq=n;break;case 49:r.ai=n;break;case 62:r.e=n;break;case 63:r.f=n;break;case 64:r.al=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;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.aw=o)}else t.a9=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.av()},n.$t=i.markType(n,"XIconBridge",le.$),n}(le),be=function(t){function n(e){var n=t.call(this,e)||this;return n.ai=null,n.ad=null,n.ag=null,n.ah=null,n.ae=null,n.af=null,n.ab=null,n.aa=null,n.y=null,n.z=null,n.w=null,n.x=null,n.ac=null,n.ac=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.ao)),this.ab=r,this.ai=e;break;case 6:o.onClosed=i.delegateCombine(o.onClosed,i.runOn(this,this.aj)),this.aa=r,this.ad=e;break;case 7:o.popupMouseEnter=i.delegateCombine(o.popupMouseEnter,i.runOn(this,this.am)),this.y=r,this.ag=e;break;case 8:o.popupMouseLeave=i.delegateCombine(o.popupMouseLeave,i.runOn(this,this.an)),this.z=r,this.ah=e;break;case 13:o.popupGotFocus=i.delegateCombine(o.popupGotFocus,i.runOn(this,this.ak)),this.w=r,this.ae=e;break;case 14:o.popupLostFocus=i.delegateCombine(o.popupLostFocus,i.runOn(this,this.al)),this.x=r,this.af=e}},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.ao)),this.ab=null,this.ai=null;break;case 6:o.onClosed=i.delegateRemove(o.onClosed,i.runOn(this,this.aj)),this.aa=null,this.ad=null;break;case 7:o.popupMouseEnter=i.delegateRemove(o.popupMouseEnter,i.runOn(this,this.am)),this.y=null,this.ag=null;break;case 8:o.popupMouseLeave=i.delegateRemove(o.popupMouseLeave,i.runOn(this,this.an)),this.z=null,this.ah=null;break;case 13:o.popupGotFocus=i.delegateRemove(o.popupGotFocus,i.runOn(this,this.ak)),this.w=null,this.ae=null;break;case 14:o.popupLostFocus=i.delegateRemove(o.popupLostFocus,i.runOn(this,this.al)),this.x=null,this.af=null}},n.prototype.ao=function(t,e){null!=this.ab&&this.ab(this.ai,new i.NativeUIPopupOpenedEventArgs)},n.prototype.aj=function(t,e){null!=this.aa&&this.aa(this.ad,new i.NativeUIPopupClosedEventArgs)},n.prototype.am=function(t,e){null!=this.y&&this.y(this.ag,new i.NativeUIMouseEventArgs)},n.prototype.an=function(t,e){null!=this.z&&this.z(this.ah,new i.NativeUIMouseEventArgs)},n.prototype.ak=function(t,e){null!=this.w&&this.w(this.ae,new i.NativeUIFocusEventArgs)},n.prototype.al=function(t,e){var n;null!=this.x&&this.x(this.af,((n=new i.NativeUIFocusEventArgs).a=e.a,n))},n.prototype.getValue=function(e,n){var r=e;switch(n){case 22:return r.aw;case 25:return r.al;case 26:return r.a8;case 17:return r.a0;case 23:return r.cy;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.as;case 37:return r.ar;case 40:return r.ba;case 41:return r.at;case 43:switch(r.u){case 1:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,1);default:return i.enumGetBox(i.NativeUIPopupPointerPosition_$type,2)}case 42:return r.c2;case 39:return r.an;case 61:return r.a3}return t.prototype.getValue.call(this,e,n)},n.prototype.setValue=function(e,n,r){var o=e;switch(n){case 25:o.al=r;break;case 26:o.a8=i.typeGetValue(r);break;case 17:o.a0=r;break;case 23:o.cy=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.as=r;break;case 37:o.ar=r;break;case 40:o.ba=i.typeGetValue(r);break;case 41:o.at=r;break;case 42:o.c2=r;break;case 43:switch(i.EnumUtil.getEnumValue(i.NativeUIPopupPointerPosition_$type,r)){case 1:o.u=1;break;case 2:o.u=2}break;case 39:o.an=r;break;case 61:o.a3=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.close=function(t){t.b5()},n.prototype.notifyContentSizeChanged=function(t){t.b8()},n.prototype.notifyExclusionRectChanged=function(t,e){t.b9(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.av()},n.prototype.addChild=function(t,e){this.ac.add(e),t.appendPopupContent(e.an)},n.prototype.insertChild=function(t,e,i){this.ac.add(i),t.appendPopupContent(i.an)},n.prototype.getChildAt=function(t,e){return this.ac._inner[e]},n.prototype.getChildrenCount=function(t){return this.ac.count},n.prototype.removeChild=function(t,e){t.removePopupContent(e.an),this.ac.remove(e)},n.prototype.removeChildAt=function(t,e){t.removePopupContent(this.ac._inner[e].an),this.ac.removeAt(e)},n.$t=i.markType(n,"XPopupBridge",le.$,[i.INativeUIPopupBridge_$type]),n}(le),ye=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.j=function(){i.NativeUIComponent.ar(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.e(t,i);break;case 10:this.g(t,i);break;case 2:this.h(t,i);break;case 11:this.f(t,i);break;case 12:this.i(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:return!0}return!1},n.prototype.h=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 yt;u.provideContainer(h);o.getExternal(u,h.rootWrapper,null);s.appendContentChild(a),s.inputs.add(u);var l=new ce(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.ff="none";o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new pe(s),h=new i.NativeUIButton;h.an=r,h.d=a,e(h)},n.prototype.e=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new Mt;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new de(s),h=new i.NativeUICheckbox;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 k;s.provideContainer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new fe(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.ff="none";l.getExternal(c,l.rootWrapper,l.getExternal(c,null,null));var p=new pe(c),d=new i.NativeUIButton;d.an=u,d.d=p,d.bm=h,e(d)},n.prototype.f=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 fe(s),h=new i.NativeUIIcon;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 i.Popup;s.provideRenderer(o);var a=new be(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),ge=function(t){function n(e,i){var n=t.call(this,e)||this;return n.al=null,n.al=new fe(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",pe.$),n}(pe),me=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"),ve=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=Jt,t.ButtonGroupOrientation=Kt,t.ButtonGroupOrientation_$type=Yt,t.ButtonGroupSelectionChangedEventArgs=Zt,t.ButtonGroupView=ee,t.ButtonGroupVisualModelExport=te,t.ButtonView=f,t.ButtonVisualModelExport=d,t.CalendarView=N,t.CalendarVisualModelExport=I,t.CheckboxChangeEventArgs=$t,t.CheckboxLabelPosition_$type=Wt,t.CheckboxView=zt,t.CheckboxVisualModelExport=Ht,t.DateFormats=jt,t.DateFormats_$type=wt,t.DatePickerView=At,t.DatePickerVisualModelExport=Ft,t.DateTimeValueFormatter=It,t.DayInfo=P,t.DayOfWeek=S,t.DayOfWeek_$type=T,t.ElevationHelper=h,t.FirstWeek=O,t.FirstWeek_$type=j,t.GotFocusEventArgs=Ut,t.IconClickedEventArgs=v,t.IconView=C,t.IconVisualModelExport=_,t.IgcButtonClickEventArgs=y,t.IgcButtonGroupSelectionChangedEventArgs=re,t.IgcCheckboxChangeEventArgs=Lt,t.IgcGotFocusEventArgs=Dt,t.IgcInputChangeEventArgs=mt,t.IgcLostFocusEventArgs=Et,t.IgcSelectedValueChangedEventArgs=A,t.IgcXButtonComponent=g,t.IgcXButtonGroupButtonCollection=ne,t.IgcXButtonGroupComponent=oe,t.IgcXButtonGroupModule=se,t.IgcXButtonModule=m,t.IgcXCalendarComponent=R,t.IgcXCalendarLocaleEnModule=q,t.IgcXCalendarModule=D,t.IgcXCheckboxComponent=Vt,t.IgcXCheckboxModule=Xt,t.IgcXDatePickerComponent=qt,t.IgcXDatePickerModule=Gt,t.IgcXIconComponent=B,t.IgcXIconModule=x,t.IgcXInputComponent=kt,t.IgcXInputGroupComponent=Pt,t.IgcXInputGroupInputCollection=Tt,t.IgcXInputGroupItemComponent=gt,t.IgcXInputGroupModule=Ot,t.IgcXInputModule=Bt,t.IgcXLabelComponent=xt,t.IgcXLabelModule=St,t.IgcXPrefixComponent=ae,t.IgcXPrefixModule=he,t.IgcXRippleComponent=s,t.IgcXRippleModule=a,t.IgcXSuffixComponent=ue,t.InputChangeEventArgs=nt,t.InputGroupDisplayType=Y,t.InputGroupDisplayType_$type=J,t.InputGroupView=ot,t.InputGroupVisualModelExport=Q,t.InputShiftType=L,t.InputShiftType_$type=V,t.InputView=ut,t.InputVisualModelExport=tt,t.KEYCODES_$type=me,t.LabelShiftType=z,t.LabelShiftType_$type=M,t.LabelView=ht,t.LabelVisualModelExport=Z,t.LostFocusEventArgs=Nt,t.MaskOptions=rt,t.MaskParsingService=it,t.NativeUIXInputsFactory=ye,t.PrefixShiftType=$,t.PrefixShiftType_$type=H,t.PrefixView=at,t.PrefixVisualModelExport=K,t.Replaced=et,t.RippleView=r,t.RippleVisualModelExport=n,t.SelectedValueChangedEventArgs=w,t.SuffixShiftType=G,t.SuffixShiftType_$type=W,t.SuffixView=st,t.SuffixVisualModelExport=X,t.TextBlockVisualModelExport=ve,t.TextElementsVisualModelExport=U,t.Theme=l,t.ThemeResolver=c,t.XButton=b,t.XButtonBridge=pe,t.XButtonGroup=ie,t.XButtonGroupButtonCollection=Qt,t.XCalendar=F,t.XCalendarLocaleEn=E,t.XCheckbox=Mt,t.XCheckboxBridge=de,t.XComponentBridge=le,t.XDatePicker=Rt,t.XIcon=k,t.XIconBridge=fe,t.XIconButtonBridge=ge,t.XInput=yt,t.XInputBridge=ce,t.XInputGroup=dt,t.XInputGroupInputCollection=ft,t.XInputGroupItem=lt,t.XLabel=bt,t.XPopupBridge=be,t.XPrefix=pt,t.XRipple=o,t.XSuffix=ct,Object.defineProperty(t,"__esModule",{value:!0})}));