UNPKG

igniteui-angular-inputs

Version:

Ignite UI Angular input components for building rich data visualizations for modern web apps.

7 lines 819 kB
/*! THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula 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. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("igniteui-angular-core"),require("tslib"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","igniteui-angular-core","tslib","@angular/common"],e):e((t=t||self)["igniteui-angular-inputs"]={},t.i0,t.igniteuiAngularCore,t.tslib,t.common)}(this,(function(t,e,i,n,r){"use strict";var o=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}({}),s=i.markEnum("DayOfWeek","Sunday,0|Monday,1|Tuesday,2|Wednesday,3|Thursday,4|Friday,5|Saturday,6"),a=function(t){function e(){var e=t.call(this)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e}return n.__extends(e,t),e.$t=i.markType(e,"DayInfo"),e}(i.Base),l=function(t){function e(){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 n.__extends(e,t),e.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()},e.$t=i.markType(e,"RippleVisualModelExport"),e}(i.Base),u=function(t){function e(){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 n.__extends(e,t),e.prototype.w=function(){},e.prototype.e=function(){return!0},e.prototype.t=function(t){var e,r;if(null==t){try{for(var o=n.__values(i.fromEnum(this.f)),s=o.next();!s.done;s=o.next()){(0,s.value)()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}this.f.clear()}this.g=t,this.b.ai()},e.prototype.v=function(){var t,e;if(null==this.b.q){this.l=null;try{for(var r=n.__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&&(e=r.return)&&e.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)))}},e.prototype.r=function(t){this.b.ag()},e.prototype.q=function(t){this.b.af()},e.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())}},e.prototype.aa=function(){this.b.j&&this.g.rootWrapper.setStyleProperty("background-color",this.b.as._fill)},e.prototype.x=function(){this.g.rootWrapper.setStyleProperty("background-color","transparent")},e.prototype.z=function(){this.g.rootWrapper.setStyleProperty("background-color",this.b.as._fill)},e.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},e.prototype.y=function(t){t.remove()},e.prototype.n=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.g)},e.prototype.a=function(t,e){return new i.AnimationKeyFrameEffect(0,t,0,null,e)},e.prototype.o=function(t){},e.prototype.s=function(){this.d=!0,this.v()},e.prototype.u=function(){var t,e;this.d=!1;try{for(var r=n.__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&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.f.clear()},e.$t=i.markType(e,"RippleView"),e}(i.Base),h=function(t){function e(){var n=t.call(this)||this;n.c=null,n.j=!1,n.p=null,n.ar=null,n.aq=null,n.ao=e.au,n.m=new i.LinkedList$1(i.IKeyFrameAnimation_$type),n.ap=e.av,n.n=600,n.f=!1,n.e=!1,n.g=!1,n.propertyChanged=null;var r=new u;return r.b=n,n.c=r,n.c.w(),n}return n.__extends(e,t),e.prototype.destroy=function(){this.provideContainer(null)},e.prototype.ah=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.aj(t,e,n)},e.prototype.aj=function(t,i,n){switch(t){case"RippleColor":this.at=null!=this.ax?this.ax:e.av;break;case"HoverColor":this.as=null!=this.aw?this.aw:e.au;break;case"EventSource":this.c.e()&&this.c.v();break;case"ActualRippleColor":this.an();break;case"ActualHoverColor":this.am()}},e.prototype.am=function(){this.i?this.c.x():this.c.aa()},e.prototype.an=function(){},e.prototype.af=function(){this.j=!0,this.i?this.c.x():this.k&&this.c.z()},e.prototype.ag=function(){this.j=!1,(this.k||this.i)&&this.c.x()},Object.defineProperty(e.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(e.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(e.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(e.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}),e.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 l=this.c.m(s,a,o),u=this.d(l);this.m.f(u);var h=this.m.d;u.play(),u.finished.f((function(t){u.commitStyles(),r.m.h(h),r.c.y(l)}))}},e.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(e.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(e.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(e.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(e.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(e.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}),e.prototype.ai=function(){this.c.v()},Object.defineProperty(e.prototype,"a",{get:function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=this.o,t.b=0,t},enumerable:!1,configurable:!0}),e.prototype.onDetachedFromUI=function(){this.c.u()},e.prototype.onAttachedToUI=function(){this.c.s()},e.prototype.l=function(){return this.c.e()},e.prototype.r=function(){return this.b()},e.prototype.v=function(){return this.b().g()},e.prototype.b=function(){var t=new l;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},e.prototype.provideContainer=function(t){this.c.t(t)},e.$t=i.markType(e,"XRipple",i.Base.$,[i.INotifyPropertyChanged_$type]),e.au=i.BrushUtil.j(40,0,0,0),e.av=i.BrushUtil.j(189,0,0,0),e}(i.Base),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.g=function(t,i){return null==e.c&&(e.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>e.c.length-1&&(t=e.c.length-1),e.c[t]+i)},e.f=function(t,i){return null==e.b&&(e.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>e.b.length-1&&(t=e.b.length-1),e.b[t]+i)},e.d=function(t,i){return null==e.a&&(e.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>e.a.length-1&&(t=e.a.length-1),e.a[t]+i)},e.e=function(t,i,n,r,o){return 2==o?"0 0 "+t+"px "+t/20+"rem "+i._fill:0==t?"":e.g(t,i._fill)+", "+e.f(t,n._fill)+", "+e.d(t,r._fill)},e.$t=i.markType(e,"ElevationHelper"),e.c=null,e.b=null,e.a=null,e}(i.Base),p=i.markEnum("ButtonDisplayStyle","Raised,0|Flat,1|Outlined,2|Fab,3|Icon,4"),d=function(t){function e(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],l=a[0];r.b=l,r.a=s}return r}return n.__extends(e,t),Object.defineProperty(e.prototype,"c",{get:function(){return this.a},enumerable:!1,configurable:!0}),e.prototype.item=function(t){return this.b.item(t)},e.$t=i.markType(e,"Theme"),e}(i.Base),f=function(t){function e(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 n.__extends(e,t),e.ah=function(t,e,i){return 1==t?i:e},e.r=function(t,e,i){return 1==t?i:e},e.m=function(t,e,i){return 1==t?i:e},e.ac=function(t,e,i){return 1==t?i:e},e.am=function(t,e,i){return 1==t?i:e},e.g=function(t,e,i){return 1==t?i:e},e.a=function(t){return new d(0,t)},e.ag=function(t,e,i){return e.ae(t,i)},e.af=function(t,e,i,n){return e.ad(t,i,n)},e.q=function(t,e,i){return e.o(t,i)},e.p=function(t,e,i,n){return e.n(t,i,n)},e.l=function(t,e,i){return e.j(t,i)},e.k=function(t,e,i,n){return e.i(t,i,n)},e.x=function(t,e,i){return e.v(t,i)},e.w=function(t,e,i,n){return e.u(t,i,n)},e.f=function(t,e,i){return e.d(t,i)},e.e=function(t,e,i,n){return e.c(t,i,n)},e.ab=function(t,e,i){return e.z(t,i)},e.aa=function(t,e,i,n){return e.y(t,i,n)},e.al=function(t,e,i){return e.aj(t,i)},e.ak=function(t,e,i,n){return e.ai(t,i,n)},e.prototype.t=function(t,e){return this.h.containsKey(t)?this.h.item(t).item(e):this.h.item(this.b).item(e)},e.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)},e.prototype.ae=function(t,e){return this.t(t,e)},e.prototype.ad=function(t,e,i){return this.s(t,e,i)},e.prototype.o=function(t,e){return i.typeGetValue(this.t(t,e))},e.prototype.n=function(t,e,n){return i.typeGetValue(this.s(t,e,n))},e.prototype.j=function(t,e){return this.t(t,e)},e.prototype.i=function(t,e,i){return this.s(t,e,i)},e.prototype.v=function(t,e){return this.t(t,e)},e.prototype.u=function(t,e,i){return this.s(t,e,i)},e.prototype.d=function(t,e){return i.EnumUtil.getEnumValue(i.ElevationMode_$type,this.t(t,e))},e.prototype.c=function(t,e,n){return i.EnumUtil.getEnumValue(i.ElevationMode_$type,this.s(t,e,n))},e.prototype.z=function(t,e){return this.t(t,e)},e.prototype.y=function(t,e,i){return this.s(t,e,i)},e.prototype.aj=function(t,e){return this.t(t,e)},e.prototype.ai=function(t,e,i){return this.s(t,e,i)},e.$t=i.markType(e,"ThemeResolver"),e}(i.Base),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.$t=i.markType(e,"ButtonClickEventArgs",i.EventArgs.$),e}(i.EventArgs),b=function(t){function e(){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 n.__extends(e,t),e.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()},e.$t=i.markType(e,"ButtonVisualModelExport",i.Base.$,[i.IVisualData_$type]),e}(i.Base),g=function(t){function e(){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 n.__extends(e,t),e.prototype.aq=function(){},e.prototype.g=function(){return!0},Object.defineProperty(e.prototype,"q",{get:function(){return this.n},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"s",{get:function(){return this.m},enumerable:!1,configurable:!0}),e.prototype.ak=function(t){var e,r,o=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 s=this.k.createElement("button");this.n=s,this.n.setStyleProperty("position","relative"),this.n.setStyleProperty("display","inline-flex"),this.n.setStyleProperty("align-items","center"),this.n.setStyleProperty("justify-content","center"),this.a0(),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.no._fill),i.NativeUI.o(this.n,this.b.kz),this.n.setAttribute("id",this.b.hy),this.ax(),this.h.add(s.listen("change",i.runOn(this,this.z))),this.h.add(s.listen("click",i.runOn(this,this.aa))),this.h.add(s.listen("focus",i.runOn(this,this.ab))),this.h.add(s.listen("blur",i.runOn(this,this.y))),this.h.add(this.k.rootWrapper.listen("mouseenter",i.runOn(this,this.v))),this.h.add(this.k.rootWrapper.listen("mouseleave",i.runOn(this,this.w))),this.h.add(this.k.rootWrapper.listen("mousedown",i.runOn(this,this.u))),this.h.add(this.k.rootWrapper.listen("mouseup",i.runOn(this,this.x))),this.h.add(this.k.rootWrapper.listen("focusin",i.runOn(this,this.ac))),this.h.add(this.k.rootWrapper.listen("focusout",i.runOn(this,this.ad))),this.k.append(s);var a=this.k.createElement("div"),l=this.k.getSubRenderer(a);a.setStyleProperty("position","absolute"),a.setStyleProperty("width","100%"),a.setStyleProperty("height","100%"),a.setStyleProperty("left","0px"),a.setStyleProperty("top","0px"),a.setStyleProperty("overflow","hidden");var u=new h;u.provideContainer(l),u.q=s;this.k.getExternal(u,this.k.rootWrapper,this.k.getExternal(this.b,null,null));u.h=!1,u.k=!0,this.c=u,this.n.append(a);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;o.p=e,o.o.setStyleProperty("flex-direction",o.b.g4),o.o.setStyleProperty("align-items",o.b.fb);var i=o.b.g4,n=null!=o.b.fj?o.b.fj:o.b.f0,r=o.b.fb;e.display=n,e.flexDirection=i,e.alignItems=r}),!0),this.b.kl()}else{try{for(var p=n.__values(i.fromEnum(this.h)),d=p.next();!d.done;d=p.next()){(0,d.value)()}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}this.h.clear()}},e.prototype.am=function(){this.c.i=this.b.as},e.prototype.a0=function(){var t="2.25rem",e="2.25rem",n="2.25rem",r="2.25rem",o="3.5rem",s="3.5rem",a="3.5rem",l="3.5rem",u="2.25rem",h=".9375rem",c=".5625rem 1rem";switch(this.b.q){case 2:c=".375rem .75rem",u="1.875rem",o="3rem",s="3rem",a="3rem",l="3rem",h=".6875rem";break;case 3:c=".1875rem 1rem",u="1.5rem",s="2.5rem",o="2.5rem",l="2.5rem",a="2.5rem",h=".4375rem";break;case 4:c="0.09375rem 0.5rem",u="0.5rem",s="1.5rem",o="1.5rem",l="1.5rem",a="1.5rem",h="0.21875rem",e="1rem",t="1rem",r="1rem",n="1rem"}i.isNaN_(this.b.bm)||i.isNaN_(this.b.bo)||i.isNaN_(this.b.bn)||i.isNaN_(this.b.bl)||(c=this.b.bo+"px "+this.b.bn+"px "+this.b.bl+"px "+this.b.bm+"px"),4==this.b.e?(this.n.setStyleProperty("min-width",t),this.n.setStyleProperty("min-height",e),this.n.setStyleProperty("padding","0px"),this.n.setStyleProperty("width",n),this.n.setStyleProperty("height",r)):3==this.b.e?(this.n.setStyleProperty("min-width",o),this.n.setStyleProperty("min-height",s),this.n.setStyleProperty("padding",h),this.n.setStyleProperty("width",a),this.n.setStyleProperty("height",l)):(this.n.setStyleProperty("width","auto"),this.n.setStyleProperty("height","auto"),this.n.setStyleProperty("min-width","5.5rem"),this.n.setStyleProperty("min-height",u),this.n.setStyleProperty("padding",c)),this.k.rootWrapper.setStyleProperty("height","auto"),!i.isNaN_(this.b.bj)&&this.b.bj>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.ay&&(this.n.setStyleProperty("width","100%"),this.n.setStyleProperty("height","100%"),this.k.rootWrapper.setStyleProperty("height","100%"))},e.prototype.au=function(){switch(this.b.le){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")}},e.prototype.aw=function(t){this.j=t},e.prototype.av=function(t){this.i=t},e.prototype.as=function(){this.n.setAttribute("disabled",this.b.disabled?"true":"false"),this.n.setProperty("disabled",this.b.disabled)},e.prototype.an=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("display",this.b.f0);var t=this.p;if(null!=this.p){this.o.setStyleProperty("display",this.b.f0);var e=null!=this.b.fj?this.b.f0:this.b.fj;t.display=e}var i=this.k.getExternal(this.b,null,null);i&&i._onDisplayChanged&&i._onDisplayChanged()}},e.prototype.aj=function(){if(null!=this.k){var t=this.p;if(null!=this.p){var e=null!=this.b.fj?this.b.fj:this.b.f0;t.display=e}}},e.prototype.ah=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("align-items",this.b.fb),this.n.setStyleProperty("align-items",this.b.fb);var t=this.p;if(null!=this.p){this.o.setStyleProperty("align-items",this.b.fb);var e=this.b.fb;t.alignItems=e}var i=this.k.getExternal(this.b,null,null);i&&i._onAlignItemsChanged&&i._onAlignItemsChanged()}},e.prototype.ao=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-direction",this.b.g4),this.n.setStyleProperty("flex-direction",this.b.g4);var t=this.k.getExternal(this.b,null,null),e=this.p;if(null!=this.p){this.o.setStyleProperty("flex-direction",this.b.g4);var i=this.b.g4;e.flexDirection=i}t&&t._onFlexDirectionChanged&&t._onFlexDirectionChanged()}},e.prototype.ap=function(){if(null!=this.k){this.k.rootWrapper.setStyleProperty("flex-grow",this.b.g6),this.n.setStyleProperty("flex-grow",this.b.g6);var t=this.k.getExternal(this.b,null,null);t&&t._onFlexGrowChanged&&t._onFlexGrowChanged()}},e.prototype.t=function(t){},e.prototype.ax=function(){if(this.g()){this.b.hy;this.n.setAttribute("name",this.b.h6),this.n.setProperty("value",this.b.ee),this.b.az&&this.n.setAttribute("tabindex",this.b.d7.toString()),this.n.setProperty("disabled",this.b.disabled),this.n.setAttribute("aria-label",this.b.fd),this.n.setStyleProperty("cursor",this.b.av?"unset":"pointer")}},e.prototype.ar=function(){if(this.g()){var t=this.b.hy;this.n.setAttribute("id",t)}},e.prototype.v=function(t){this.b.kh(),this.b.a5&&t.stopPropagation()},e.prototype.w=function(t){this.b.ki(),this.b.a5&&t.stopPropagation()},e.prototype.u=function(t){this.b.kg(),this.b.a5&&t.stopPropagation()},e.prototype.x=function(t){this.b.kj(),this.b.a5&&t.stopPropagation()},e.prototype.y=function(t){this.b.ka()},e.prototype.ab=function(t){this.b.kd()},e.prototype.aa=function(t){this.b.kb(),this.b.at||t.preventDefault(),this.b.a5&&t.stopPropagation()},e.prototype.ac=function(t){this.b.ke()},e.prototype.ad=function(t){this.b.kf(t.originalEvent.relatedTarget,t.originalEvent.target)},e.prototype.f=function(){return!1},e.prototype.z=function(t){},e.prototype.ag=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},e.prototype.ai=function(){this.e=!0,this.h.add(this.n.listen("change",i.runOn(this,this.z))),this.h.add(this.n.listen("click",i.runOn(this,this.aa))),this.h.add(this.n.listen("focus",i.runOn(this,this.ab))),this.h.add(this.n.listen("blur",i.runOn(this,this.y))),this.h.add(this.m.listen("click",i.runOn(this,this.t))),this.h.add(this.n.listen("mouseenter",i.runOn(this,this.v))),this.h.add(this.n.listen("mouseleave",i.runOn(this,this.w))),this.h.add(this.n.listen("mousedown",i.runOn(this,this.u))),this.h.add(this.n.listen("mouseup",i.runOn(this,this.x))),this.h.add(this.n.listen("focusin",i.runOn(this,this.ac))),this.h.add(this.n.listen("focusout",i.runOn(this,this.ad)))},e.prototype.al=function(){var t,e;this.e=!1;try{for(var r=n.__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&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.h.clear()},e.prototype.at=function(){var t=this.b;t.externalObject&&t.externalObject.refreshDefaults&&t.externalObject.refreshDefaults()},e.prototype.ay=function(t,e){this.c.ax=t,this.c.aw=e},e.prototype.az=function(t,e){var i=c.e(t,this.b.n0,this.b.nx,this.b.nn,e);this.n.setStyleProperty("box-shadow",i)},e.prototype.a1=function(t){null!=t&&this.m.setStyleProperty("font",t.fontString)},e.prototype.ae=function(t){this.m.append(t)},e.prototype.af=function(){this.m.removeChildren()},e.prototype.r=function(){return this.m.getChildCount()>0?this.m.getChildAt(0):null},e.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},e.$t=i.markType(e,"ButtonView"),e}(i.Base),m=function(t){function e(){var n=t.call(this)||this;n._view=null,n.ed=null,n.po=e.k.ae(e.m,"UmbraShadowColor"),n.pc=e.k.ae(e.m,"PenumbraShadowColor"),n.n3=e.k.ae(e.m,"AmbientShadowColor"),n.v=e.k.d(e.m,"ElevationMode"),n.pf=e.k.ad(e.m,i.enumGetBox(p,0),"DisabledBackgroundColor"),n.pg=e.k.ad(e.m,i.enumGetBox(p,0),"DisabledBorderColor"),n.ph=e.k.ad(e.m,i.enumGetBox(p,0),"DisabledTextColor"),n.de=e.k.n(e.m,i.enumGetBox(p,0),"DisabledElevation"),n.dh=e.k.n(e.m,i.enumGetBox(p,0),"RestingElevation"),n.dg=e.k.n(e.m,i.enumGetBox(p,0),"HoverElevation"),n.df=e.k.n(e.m,i.enumGetBox(p,0),"FocusElevation"),n.pe=e.k.ad(e.m,i.enumGetBox(p,0),"BorderColor"),n.pm=e.k.ad(e.m,i.enumGetBox(p,0),"RippleColor"),n.k6=e.k.y(e.m,i.enumGetBox(p,0),"CornerRadius"),n.bt=e.k.i(e.m,i.enumGetBox(p,0),"BorderWidth"),n.pd=e.k.ad(e.m,i.enumGetBox(p,0),"BackgroundColor"),n.pn=e.k.ad(e.m,i.enumGetBox(p,0),"TextColor"),n.pl=e.k.ad(e.m,i.enumGetBox(p,0),"HoverTextColor"),n.pk=e.k.ad(e.m,i.enumGetBox(p,0),"HoverBackgroundColor"),n.pi=e.k.ad(e.m,i.enumGetBox(p,0),"FocusBackgroundColor"),n.pj=e.k.ad(e.m,i.enumGetBox(p,0),"FocusTextColor"),n.oh=e.k.ad(e.m,i.enumGetBox(p,1),"DisabledBackgroundColor"),n.oi=e.k.ad(e.m,i.enumGetBox(p,1),"DisabledBorderColor"),n.oj=e.k.ad(e.m,i.enumGetBox(p,1),"DisabledTextColor"),n.c2=e.k.n(e.m,i.enumGetBox(p,1),"DisabledElevation"),n.c5=e.k.n(e.m,i.enumGetBox(p,1),"RestingElevation"),n.c4=e.k.n(e.m,i.enumGetBox(p,1),"HoverElevation"),n.c3=e.k.n(e.m,i.enumGetBox(p,1),"FocusElevation"),n.og=e.k.ad(e.m,i.enumGetBox(p,1),"BorderColor"),n.oo=e.k.ad(e.m,i.enumGetBox(p,1),"RippleColor"),n.k3=e.k.y(e.m,i.enumGetBox(p,1),"CornerRadius"),n.bq=e.k.i(e.m,i.enumGetBox(p,1),"BorderWidth"),n.of=e.k.ad(e.m,i.enumGetBox(p,1),"BackgroundColor"),n.op=e.k.ad(e.m,i.enumGetBox(p,1),"TextColor"),n.on=e.k.ad(e.m,i.enumGetBox(p,1),"HoverTextColor"),n.om=e.k.ad(e.m,i.enumGetBox(p,1),"HoverBackgroundColor"),n.ok=e.k.ad(e.m,i.enumGetBox(p,1),"FocusBackgroundColor"),n.ol=e.k.ad(e.m,i.enumGetBox(p,1),"FocusTextColor"),n.o3=e.k.ad(e.m,i.enumGetBox(p,2),"DisabledBackgroundColor"),n.o4=e.k.ad(e.m,i.enumGetBox(p,2),"DisabledBorderColor"),n.o5=e.k.ad(e.m,i.enumGetBox(p,2),"DisabledTextColor"),n.da=e.k.n(e.m,i.enumGetBox(p,2),"DisabledElevation"),n.dd=e.k.n(e.m,i.enumGetBox(p,2),"RestingElevation"),n.dc=e.k.n(e.m,i.enumGetBox(p,2),"HoverElevation"),n.db=e.k.n(e.m,i.enumGetBox(p,2),"FocusElevation"),n.o2=e.k.ad(e.m,i.enumGetBox(p,2),"BorderColor"),n.pa=e.k.ad(e.m,i.enumGetBox(p,2),"RippleColor"),n.k5=e.k.y(e.m,i.enumGetBox(p,2),"CornerRadius"),n.bs=e.k.i(e.m,i.enumGetBox(p,2),"BorderWidth"),n.o1=e.k.ad(e.m,i.enumGetBox(p,2),"BackgroundColor"),n.pb=e.k.ad(e.m,i.enumGetBox(p,2),"TextColor"),n.o9=e.k.ad(e.m,i.enumGetBox(p,2),"HoverTextColor"),n.o8=e.k.ad(e.m,i.enumGetBox(p,2),"HoverBackgroundColor"),n.o6=e.k.ad(e.m,i.enumGetBox(p,2),"FocusBackgroundColor"),n.o7=e.k.ad(e.m,i.enumGetBox(p,2),"FocusTextColor"),n.os=e.k.ad(e.m,i.enumGetBox(p,4),"DisabledBackgroundColor"),n.ot=e.k.ad(e.m,i.enumGetBox(p,4),"DisabledBorderColor"),n.ou=e.k.ad(e.m,i.enumGetBox(p,4),"DisabledTextColor"),n.c6=e.k.n(e.m,i.enumGetBox(p,4),"DisabledElevation"),n.c9=e.k.n(e.m,i.enumGetBox(p,4),"RestingElevation"),n.c8=e.k.n(e.m,i.enumGetBox(p,4),"HoverElevation"),n.c7=e.k.n(e.m,i.enumGetBox(p,4),"FocusElevation"),n.or=e.k.ad(e.m,i.enumGetBox(p,4),"BorderColor"),n.oz=e.k.ad(e.m,i.enumGetBox(p,4),"RippleColor"),n.k4=e.k.y(e.m,i.enumGetBox(p,4),"CornerRadius"),n.br=e.k.i(e.m,i.enumGetBox(p,4),"BorderWidth"),n.oq=e.k.ad(e.m,i.enumGetBox(p,4),"BackgroundColor"),n.o0=e.k.ad(e.m,i.enumGetBox(p,4),"TextColor"),n.oy=e.k.ad(e.m,i.enumGetBox(p,4),"HoverTextColor"),n.ox=e.k.ad(e.m,i.enumGetBox(p,4),"HoverBackgroundColor"),n.ov=e.k.ad(e.m,i.enumGetBox(p,4),"FocusBackgroundColor"),n.ow=e.k.ad(e.m,i.enumGetBox(p,4),"FocusTextColor"),n.n6=e.k.ad(e.m,i.enumGetBox(p,3),"DisabledBackgroundColor"),n.n7=e.k.ad(e.m,i.enumGetBox(p,3),"DisabledBorderColor"),n.n8=e.k.ad(e.m,i.enumGetBox(p,3),"DisabledTextColor"),n.cy=e.k.n(e.m,i.enumGetBox(p,3),"DisabledElevation"),n.c1=e.k.n(e.m,i.enumGetBox(p,3),"RestingElevation"),n.c0=e.k.n(e.m,i.enumGetBox(p,3),"HoverElevation"),n.cz=e.k.n(e.m,i.enumGetBox(p,3),"FocusElevation"),n.n5=e.k.ad(e.m,i.enumGetBox(p,3),"BorderColor"),n.od=e.k.ad(e.m,i.enumGetBox(p,3),"RippleColor"),n.k2=e.k.y(e.m,i.enumGetBox(p,3),"CornerRadius"),n.bp=e.k.i(e.m,i.enumGetBox(p,3),"BorderWidth"),n.n4=e.k.ad(e.m,i.enumGetBox(p,3),"BackgroundColor"),n.oe=e.k.ad(e.m,i.enumGetBox(p,3),"TextColor"),n.oc=e.k.ad(e.m,i.enumGetBox(p,3),"HoverTextColor"),n.ob=e.k.ad(e.m,i.enumGetBox(p,3),"HoverBackgroundColor"),n.n9=e.k.ad(e.m,i.enumGetBox(p,3),"FocusBackgroundColor"),n.oa=e.k.ad(e.m,i.enumGetBox(p,3),"FocusTextColor"),n.bg=NaN,n.bf=NaN,n.d=0,n.p=0,n.l=0,n.o=1,n.lh=f.af(e.m,e.k,i.enumGetBox(p,0),"BorderColor"),n.ls=f.ag(e.m,e.k,"UmbraShadowColor"),n.lp=f.ag(e.m,e.k,"PenumbraShadowColor"),n.lf=f.ag(e.m,e.k,"AmbientShadowColor"),n.b4=f.p(e.m,e.k,i.enumGetBox(p,0),"RestingElevation"),n.b2=f.p(e.m,e.k,i.enumGetBox(p,0),"FocusElevation"),n.b3=f.p(e.m,e.k,i.enumGetBox(p,0),"HoverElevation"),n.lq=f.af(e.m,e.k,i.enumGetBox(p,0),"RippleColor"),n.ks=f.aa(e.m,e.k,i.enumGetBox(p,0),"CornerRadius"),n.lg=f.af(e.m,e.k,i.enumGetBox(p,0),"BackgroundColor"),n.li=f.af(e.m,e.k,i.enumGetBox(p,0),"DisabledBackgroundColor"),n.lj=f.af(e.m,e.k,i.enumGetBox(p,0),"DisabledBorderColor"),n.lk=f.af(e.m,e.k,i.enumGetBox(p,0),"DisabledTextColor"),n.b1=f.p(e.m,e.k,i.enumGetBox(p,0),"DisabledElevation"),n.s=f.f(e.m,e.k,"ElevationMode"),n.lr=f.af(e.m,e.k,i.enumGetBox(p,0),"TextColor"),n.lo=f.af(e.m,e.k,i.enumGetBox(p,0),"HoverTextColor"),n.ll=f.af(e.m,e.k,i.enumGetBox(p,0),"FocusBackgroundColor"),n.lm=f.af(e.m,e.k,i.enumGetBox(p,0),"FocusTextColor"),n.ln=f.af(e.m,e.k,i.enumGetBox(p,0),"HoverBackgroundColor"),n.a6=f.k(e.m,e.k,i.enumGetBox(p,0),"BorderWidth"),n.na=null,n.nc=null,n.nd=null,n.ne=null,n.co=-1,n.nh=null,n.nb=null,n.cr=-1,n.cq=-1,n.cp=-1,n.bi=NaN,n.ky=new i.CornerRadius(1,NaN,NaN,NaN,NaN),n.nj=null,n.l8=null,n.ma=null,n.mb=null,n.mc=null,n.ca=-1,n.mf=null,n.l9=null,n.cd=-1,n.cc=-1,n.cb=-1,n.mh=null,n.mi=null,n.mg=null,n.md=null,n.me=null,n.bd=NaN,n.kv=new i.CornerRadius(1,NaN,NaN,NaN,NaN),n.lt=null,n.lv=null,n.lw=null,n.lx=null,n.b5=-1,n.t=0,n.ml=null,n.lu=null,n.cs=-1,n.cf=-1,n.ce=-1,n.z=null,n.nm=null,n.mn=null,n.nl=null,n.nk=null,n.ni=null,n.nf=null,n.ng=null,n.mj=null,n.mk=null,n.a7=NaN,n.kt=new i.CornerRadius(1,NaN,NaN,NaN,NaN),n.mz=null,n.m1=null,n.m2=null,n.m3=null,n.ck=-1,n.m6=null,n.m0=null,n.cn=-1,n.cm=-1,n.cl=-1,n.bh=NaN,n.kx=new i.CornerRadius(1,NaN,NaN,NaN,NaN),n.m8=null,n.m9=null,n.m7=null,n.m4=null,n.m5=null,n.ly=null,n.l0=null,n.l1=null,n.l2=null,n.b6=-1,n.mm=null,n.lz=null,n.b9=-1,n.b8=-1,n.b7=-1,n.bc=NaN,n.ku=new i.CornerRadius(1,NaN,NaN,NaN,NaN),n.l6=null,n.l7=null,n.l5=null,n.l3=null,n.l4=null,n.mo=null,n.mq=null,n.mr=null,n.ms=null,n.cg=-1,n.mv=null,n.mp=null,n.cj=-1,n.ci=-1,n.ch=-1,n.be=NaN,n.kw=new i.CornerRadius(1,NaN,NaN,NaN,NaN),n.mx=null,n.my=null,n.mw=null,n.mt=null,n.mu=null,n.em="ig-native-button-"+e.d9++,n.el="ig-button-"+e.d8++,n.ei="inline-block",n.eh=null,n.ej="inline-block",n.ek=null,n.ef="center",n.ea=null,n.en=null,n.ct=0,n.am=!1,n.eg=null,n.al=!1,n.ao=!1,n.ap=!0,n.aj=!1,n.af=!1,n.ah=!1,n.aq=!1,n.an=!1,n.ak=!1,n.ai=!1,n.a9=NaN,n.bb=NaN,n.ba=NaN,n.a8=NaN,n.ld=1,n.rh=1,n.ag=!0,n.ar=!1,n.propertyChanged=null,n.clicked=null,n.mouseEnter=null,n.mouseLeave=null,n.mouseDown=null,n.mouseUp=null,n.gotFocus=null,n.lostFocus=null;var r=new g;return r.b=n,n.view=r,n.view.aq(),n}var r;return n.__extends(e,t),Object.defineProperty(e.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.provideContainer(null)},e.prototype.kk=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.km(t,e,n)},e.prototype.km=function(t,e,i){switch(t){case"CornerRadius":case"BorderColor":case"RestingElevation":case"HoverElevation":case"FocusElevation":case"RippleColor":case"BorderWidth":case"BackgroundColor":case"DisabledBackgroundColor":case"DisabledBorderColor":case"DisabledTextColor":case"DisabledElevation":case"HoverBackgroundColor":case"FocusTextColor":case"TextColor":case"HoverTextColor":case"FocusBackgroundColor":case"RaisedBorderColor":case"RaisedRestingElevation":case"RaisedFocusElevation":case"RaisedHoverElevation":case"RaisedRippleColor":case"RaisedBorderWidth":case"RaisedBackgroundColor":case"RaisedDisabledBackgroundColor":case"RaisedDisabledBorderColor":case"RaisedDisabledTextColor":case"RaisedDisabledElevation":case"RaisedHoverBackgroundColor":case"RaisedCornerRadius":case"RaisedFocusBackgroundColor":case"RaisedFocusTextColor":case"RaisedTextColor":case"RaisedHoverTextColor":case"FlatBorderColor":case"FlatRestingElevation":case"FlatFocusElevation":case"FlatHoverElevation":case"FlatRippleColor":case"FlatBorderWidth":case"FlatBackgroundColor":case"FlatDisabledBackgroundColor":case"FlatDisabledBorderColor":case"FlatDisabledTextColor":case"FlatDisabledElevation":case"FlatHoverBackgroundColor":case"FlatCornerRadius":case"FlatFocusBackgroundColor":case"FlatFocusTextColor":case"FlatTextColor":case"FlatHoverTextColor":case"OutlinedRippleColor":case"OutlinedRestingElevation":case"OutlinedFocusElevation":case"OutlinedHoverElevation":case"OutlinedBorderColor":case"OutlinedBorderWidth":case"OutlinedBackgroundColor":case"OutlinedDisabledBackgroundColor":case"OutlinedDisabledBorderColor":case"OutlinedDisabledTextColor":case"OutlinedDisabledElevation":case"OutlinedHoverBackgroundColor":case"OutlinedCornerRadius":case"OutlinedFocusBackgroundColor":case"OutlinedFocusTextColor":case"OutlinedTextColor":case"OutlinedHoverTextColor":case"FabBorderColor":case"FabRippleColor":case"FabRestingElevation":case"FabFocusElevation":case"FabHoverElevation":case"FabBorderWidth":case"FabBackgroundColor":case"FabDisabledBackgroundColor":case"FabDisabledBorderColor":case"FabDisabledTextColor":case"FabDisabledElevation":case"FabHoverBackgroundColor":case"FabCornerRadius":case"FabFocusBackgroundColor":case"FabFocusTextColor":case"FabTextColor":case"FabHoverTextColor":case"IconRestingElevation":case"IconFocusElevation":case"IconHoverElevation":case"IconBorderColor":case"IconRippleColor":case"IconBorderWidth":case"IconBackgroundColor":case"IconDisabledBackgroundColor":case"IconDisabledBorderColor":case"IconDisabledTextColor":case"IconDisabledElevation":case"IconHoverBackgroundColor":case"IconCornerRadius":case"IconFocusBackgroundColor":case"IconFocusTextColor":case"IconTextColor":case"IconHoverTextColor":case"ElevationMode":this.kq();break;case"BaseTheme":this.kr(0==this.n?2:this.n),this.kq();break;case"IsDisabled":this.as=this.disabled||this.aw,this.kq(),this.view.as(),this.kp();break;case"DisableRipple":this.as=this.disabled||this.aw,this.kq();break;case"TextStyle":case"DisableHover":this.kp();break;case"ActualDisableRipple":this.view.am();break;case"ActualBackgroundColor":case"ActualDisabledBackgroundColor":case"ActualDisabledBorderColor":case"ActualDisabledTextColor":case"ActualDisabledElevation":case"ActualHoverBackgroundColor":case"ActualBorderColor":case"ActualFocusTextColor":case"ActualHoverTextColor":case"ActualElevationMode":this.kp();break;case"Density":this.q=0==this.r?1:this.r;break;case"ActualDensity":case"ActualBorderWidth":case"ActualCornerRadius":4==this.e&&this.ko(),this.view.a0(),this.kp();break;case"DisplayType":this.view.a0(),this.kq(),this.kp();break;case"ContentPaddingLeft":case"ContentPaddingTop":case"ContentPaddingRight":case"ContentPaddingBottom":case"FillAvailableSpace":this.view.a0();break;case"HorizontalContentAlignment":case"VerticalContentAlignment":this.view.au();break;case"InputId":this.view.ar();break;case"Display":this.view.an();break;case"ChildContentDisplay":this.view.aj();break;case"FlexDirection":this.view.ao();break;case"FlexGrow":this.view.ap();break;case"AlignItems":this.view.ah();break;case"TabIndex":case"DisablePointer":this.view.ax();break;case"MinWidth":this.view.aw(this.by),this.view.a0();break;case"MinHeight":this.view.av(this.bx),this.view.a0()}},e.prototype.k0=function(t,e){return new i.CornerRadius(1,i.isNaN_(t.d)?e.d:t.d,i.isNaN_(t.e)?e.e:t.e,i.isNaN_(t.c)?e.c:t.c,i.isNaN_(t.b)?e.b:t.b)},e.prototype.kq=function(){switch(this.u=0!=this.w?this.w:this.v,this.n0=this.po,this.nx=this.pc,this.nn=this.n3,this.e){case 0:this.nq=null!=this.pp?this.pp:null!=this.q6?this.q6:this.pf,this.nr=null!=this.pq?this.pq:null!=this.q7?this.q7:this.pg,this.ns=null!=this.pr?this.pr:null!=this.q8?this.q8:this.ph,this.cu=this.di>=0?this.di:this.d2>=0?this.d2:this.de,this.cx=this.d6>=0?this.d6:this.d5>=0?this.d5:this.dh,this.cw=this.dt>=0?this.dt:this.d4>=0?this.d4:this.dg,this.cv=this.ds>=0?this.ds:this.d3>=0?this.d3:this.df,this.np=null!=this.n2?this.n2:null!=this.q5?this.q5:this.pe,this.no=null!=this.n1?this.n1:null!=this.q4?this.q4:this.pd,this.nv=null!=this.qg?this.qg:null!=this.rb?this.rb:this.pk,this.kz=this.k0(this.k1,this.k0(this.lc,this.k6)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.b0)?this.bt:this.b0:this.bk,this.ny=null!=this.rf?this.rf:null!=this.rd?this.rd:this.pm,this.nt=null!=this.qe?this.qe:null!=this.q9?this.q9:this.pi,this.nu=null!=this.qf?this.qf:null!=this.ra?this.ra:this.pj,this.nz=null!=this.rg?this.rg:null!=this.re?this.re:this.pn,this.nw=null!=this.qh?this.qh:null!=this.rc?this.rc:this.pl;break;case 2:this.nq=null!=this.pp?this.pp:null!=this.qv?this.qv:this.o3,this.nr=null!=this.pq?this.pq:null!=this.qw?this.qw:this.o4,this.ns=null!=this.pr?this.pr:null!=this.qx?this.qx:this.o5,this.cu=this.di>=0?this.di:this.dy>=0?this.dy:this.da,this.cx=this.d6>=0?this.d6:this.d1>=0?this.d1:this.dd,this.cw=this.dt>=0?this.dt:this.d0>=0?this.d0:this.dc,this.cv=this.ds>=0?this.ds:this.dz>=0?this.dz:this.db,this.np=null!=this.n2?this.n2:null!=this.qu?this.qu:this.o2,this.no=null!=this.qg?this.qg:null!=this.n1?this.n1:null!=this.qt?this.qt:this.o1,this.nv=null!=this.q0?this.q0:this.o8,this.kz=this.k0(this.k1,this.k0(this.lb,this.k5)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bz)?this.bs:this.bz:this.bk,this.ny=null!=this.rf?this.rf:null!=this.q2?this.q2:this.pa,this.nt=null!=this.qe?this.qe:null!=this.qy?this.qy:this.o6,this.nu=null!=this.qf?this.qf:null!=this.qz?this.qz:this.o7,this.nz=null!=this.rg?this.rg:null!=this.q3?this.q3:this.pb,this.nw=null!=this.qh?this.qh:null!=this.q1?this.q1:this.o9;break;case 1:this.nq=null!=this.pp?this.pp:null!=this.p5?this.p5:this.oh,this.nr=null!=this.pq?this.pq:null!=this.p6?this.p6:this.oi,this.ns=null!=this.pr?this.pr:null!=this.p7?this.p7:this.oj,this.cu=this.di>=0?this.di:this.dn>=0?this.dn:this.c2,this.cx=this.d6>=0?this.d6:this.dr>=0?this.dr:this.c5,this.cw=this.dt>=0?this.dt:this.dq>=0?this.dq:this.c4,this.cv=this.ds>=0?this.ds:this.dp>=0?this.dp:this.c3,this.np=null!=this.n2?this.n2:null!=this.p4?this.p4:this.og,this.no=null!=this.n1?this.n1:null!=this.p3?this.p3:this.of,this.nv=null!=this.qg?this.qg:null!=this.qa?this.qa:this.om,this.kz=this.k0(this.k1,this.k0(this.k8,this.k3)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bv)?this.bq:this.bv:this.bk,this.ny=null!=this.rf?this.rf:null!=this.qc?this.qc:this.oo,this.nt=null!=this.qe?this.qe:null!=this.p8?this.p8:this.ok,this.nu=null!=this.qf?this.qf:null!=this.p9?this.p9:this.ol,this.nz=null!=this.rg?this.rg:null!=this.qd?this.qd:this.op,this.nw=null!=this.qh?this.qh:null!=this.qb?this.qb:this.on;break;case 4:this.nq=null!=this.pp?this.pp:null!=this.qk?this.qk:this.os,this.nr=null!=this.pq?this.pq:null!=this.ql?this.ql:this.ot,this.ns=null!=this.pr?this.pr:null!=this.qm?this.qm:this.ou,this.cu=this.di>=0?this.di:this.du>=0?this.du:this.c6,this.cx=this.d6>=0?this.d6:this.dx>=0?this.dx:this.c9,this.cw=this.dt>=0?this.dt:this.dw>=0?this.dw:this.c8,this.cv=this.ds>=0?this.ds:this.dv>=0?this.dv:this.c7,this.np=null!=this.n2?this.n2:null!=this.qj?this.qj:this.or,this.no=null!=this.n1?this.n1:null!=this.qi?this.qi:this.oq,this.nv=null!=this.qg?this.qg:null!=this.qp?this.qp:this.ox,this.ko(),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bw)?this.br:this.bw:this.bk,this.ny=null!=this.rf?this.rf:null!=this.qr?this.qr:this.oz,this.nt=null!=this.qe?this.qe:null!=this.qn?this.qn:this.ov,this.nu=null!=this.qf?this.qf:null!=this.qo?this.qo:this.ow,this.nz=null!=this.rg?this.rg:null!=this.qs?this.qs:this.o0,this.nw=null!=this.qh?this.qh:null!=this.qq?this.qq:this.oy;break;case 3:this.nq=null!=this.pp?this.pp:null!=this.pu?this.pu:this.n6,this.nr=null!=this.pq?this.pq:null!=this.pv?this.pv:this.n7,this.ns=null!=this.pr?this.pr:null!=this.pw?this.pw:this.n8,this.cu=this.di>=0?this.di:this.dj>=0?this.dj:this.cy,this.cx=this.d6>=0?this.d6:this.dm>=0?this.dm:this.c1,this.cw=this.dt>=0?this.dt:this.dl>=0?this.dl:this.c0,this.cv=this.ds>=0?this.ds:this.dk>=0?this.dk:this.cz,this.np=null!=this.n2?this.n2:null!=this.pt?this.pt:this.n5,this.no=null!=this.n1?this.n1:null!=this.ps?this.ps:this.n4,this.nv=null!=this.qg?this.qg:null!=this.pz?this.pz:this.ob,this.kz=this.k0(this.k1,this.k0(this.k7,this.k2)),this.bj=i.isNaN_(this.bk)?i.isNaN_(this.bu)?this.bp:this.bu:this.bk,this.ny=null!=this.rf?this.rf:null!=this.p1?this.p1:this.pm,this.nt=null!=this.qe?this.qe:null!=this.px?this.px:this.n9,this.nu=null!=this.qf?this.qf:null!=this.py?this.py:this.oa,this.nz=null!=this.rg?this.rg:null!=this.p2?this.p2:this.oe,this.nw=null!=this.qh?this.qh:null!=this.p0?this.p0:this.oc}},e.prototype.ko=function(){this.kz=this.k0(this.k1,this.k0(this.la,this.k9(this.k4)))},e.prototype.k9=function(t){switch(this.q){case 1:case 2:case 3:return t;case 4:return new i.CornerRadius(0,16)}return t},e.prototype.kb=function(){this.disabled||null!=this.clicked&&this.clicked(this,new y)},e.prototype.kg=function(){this.disabled||null!=this.mouseDown&&this.mouseDown(this,new i.MouseEventArgs)},e.prototype.kj=function(){this.disabled||null!=this.mouseUp&&this.mouseUp(this,new i.MouseEventArgs)},e.prototype.ka=function(){this.focused=!1,this.kp()},e.prototype.kd=function(){this.focused=!0,this.kp()},e.prototype.ki=function(){this.a3=!1,this.kp(),null!=this.mouseLeave&&this.mouseLeave(this,new i.MouseEventArgs)},e.prototype.kh=function(){this.a3=!0,this.kp(),null!=this.mouseEnter&&this.mouseEnter(this,new i.MouseEventArgs)},e.prototype.ke=function(){null!=this.gotFocus&&this.gotFocus(this,new i.FocusEventArgs)},e.prototype.kf=function(t,e){var n;null!=this.lostFocus&&this.lostFocus(this,((n=new i.FocusEventArgs).b=t,n.a=e,n))},e.prototype.kp=function(){var t=this.view.q;null!=t&&(i.NativeUI.o(t,this.kz),i.NativeUI.n(t,this.np),i.isNaN_(this.bj)||i.NativeUI.p(t,new i.Thickness(0,this.bj)),this.disabled?this.view.az(this.cu,this.u):this.focused&&this.a2?this.view.az(this.cv,this.u):this.a3&&!this.au?this.view.az(this.cw,this.u):this.view.az(this.cx,this.u),this.disabled?i.NativeUI.m(t,this.nq):this.focused&&this.a2?i.NativeUI.m(t,this.nt):this.a3&&!this.au?i.NativeUI.m(t,this.nv):i.NativeUI.m(t,this.no),this.view.ay(this.ny,i.BrushUtil.j(0,0,0,0)),null!=this.aa&&this.view.a1(this.aa),this.disabled?(i.NativeUI.q(this.view.s,this.ns),i.NativeUI.r(this.view.s,this.ns)):this.focused&&this.a2?(i.NativeUI.q(this.view.s,this.nu),i.NativeUI.r(this.view.s,this.nu)):this.a3&&!this.au?(i.NativeUI.q(this.view.s,this.nw),i.NativeUI.r(this.view.s,this.nw)):(i.NativeUI.q(this.view.s,this.nz),i.NativeUI.r(this.view.s,this.nz)))},e.prototype.kr=function(t){this.po=e.k.ae(t,"UmbraShadowColor"),this.pc=e.k.ae(t,"PenumbraShadowColor"),this.n3=e.k.ae(t,"AmbientShadowColor"),this.v=e.k.d(t,"ElevationMode"),this.pf=e.k.ad(t,i.enumGetBox(p,0),"DisabledBackgroundColor"),this.pg=e.k.ad(t,i.enumGetBox(p,0),"DisabledBorderColor"),this.ph=e.k.ad(t,i.enumGetBox(p,0),"DisabledTextColor"),this.de=e.k.n(t,i.enumGetBox(p,0),"DisabledElevation"),this.dh=e.k.n(t,i.enumGetBox(p,0),"RestingElevation"),this.dg=e.k.n(t,i.enumGetBox(p,0),"HoverElevation"),this.df=e.k.n(t,i.enumGetBox(p,0),"FocusElevation"),this.pe=e.k.ad(t,i.enumGetBox(p,0),"BorderColor"),this.pm=e.k.ad(t,i.enumGetBox(p,0),"RippleColor"),this.k6=e.k.y(t,i.enumGetBox(p,0),"CornerRadius"),this.bt=e.k.i(t,i.enumGetBox(p,0),"BorderWidth"),this.pd=e.k.ad(t,i.enumGetBox(p,0),"BackgroundColor"),this.pn=e.k.ad(t,i.enumGetBox(p,0),"TextColor"),this.pl=e.k.ad(t,i.enumGetBox(p,0),"HoverTextColor"),this.pk=e.k.ad(t,i.enumGetBox(p,0),"HoverBackgroundColor"),this.pi=e.k.ad(t,i.enumGetBox(p,0),"FocusBackgroundColor"),this.pj=e.k.ad(t,i.enumGetBox(p,0),"FocusTextColor"),this.oh=e.k.ad(t,i.enumGetBox(p,1),"DisabledBackgroundColor"),this.oi=e.k.ad(t,i.enumGetBox(p,1),"DisabledBorderColor"),this.oj=e.k.ad(t,i.enumGetBox(p,1),"DisabledTextColor"),this.c2=e.k.n(t,i.enumGetBox(p,1),"DisabledElevation"),this.c5=e.k.n(t,i.enumGetBox(p,1),"RestingElevation"),this.c4=e.k.n(t,i.enumGetBox(p,1),"HoverElevation"),this.c3=e.k.n(t,i.enumGetBox(p,1),"FocusElevation"),this.og=e.k.ad(t,i.enumGetBox(p,1),"BorderColor"),this.oo=e.k.ad(t,i.enumGetBox(p,1),"RippleColor"),this.k3=e.k.y(t,i.enumGetBox(p,1),"CornerRadius"),this.bq=e.k.i(t,i.enumGetBox(p,1),"BorderWidth"),this.of=e.k.ad(t,i.enumGetBox(p,1),"BackgroundColor"),this.op=e.k.ad(t,i.enumGetBox(p,1),"TextColor"),this.on=e.k.ad(t,i.enumGetBox(p,1),"HoverTextColor"),this.om=e.k.ad(t,i.enumGetBox(p,1),"HoverBackgroundColor"),this.ok=e.k.ad(t,i.enumGetBox(p,1),"FocusBackgroundColor"),this.ol=e.k.ad(t,i.enumGetBox(p,1),"FocusTextColor"),this.o3=e.k.ad(t,i.enumGetBox(p,2),"DisabledBackgroundColor"),this.o4=e.k.ad(t,i.enumGetBox(p,2),"DisabledBorderColor"),this.o5=e.k.ad(t,i.enumGetBox(p,2),"DisabledTextColor"),this.da=e.k.n(t,i.enumGetBox(p,2),"DisabledElevation"),this.dd=e.k.n(t,i.enumGetBox(p,2),"RestingElevation"),this.dc=e.k.n(t,i.enumGetBox(p,2),"HoverElevation"),this.db=e.k.n(t,i.enumGetBox(p,2),"FocusElevation"),this.o2=e.k.ad(t,i.enumGetBox(p,2),"BorderColor"),this.pa=e.k.ad(t,i.enumGetBox(p,2),"RippleColor"),this.k5=e.k.y(t,i.enumGetBox(p,2),"CornerRadius"),this.bs=e.k.i(t,i.enumGetBox(p,2),"BorderWidth"),this.o1=e.k.ad(t,i.enumGetBox(p,2),"BackgroundColor"),this.pb=e.k.ad(t,i.enumGetBox(p,2),"TextColor"),this.o9=e.k.ad(t,i.enumGetBox(p,2),"HoverTextColor"),this.o8=e.k.ad(t,i.enumGetBox(p,2),"HoverBackgroundColor"),this.o6=e.k.ad(t,i.enumGetBox(p,2),"FocusBackgroundColor"),this.o7=e.k.ad(t,i.enumGetBox(p,2),"FocusTextColor"),this.os=e.k.ad(t,i.enumGetBox(p,4),"DisabledBackgroundColor"),this.ot=e.k.ad(t,i.enumGetBox(p,4),"DisabledBorderColor"),this.ou=e.k.ad(t,i.enumGetBox(p,4),"DisabledTextColor"),this.c6=e.k.n(t,i.enumGetBox(p,4),"DisabledElevation"),this.c9=e.k.n(t,i.enumGetBox(p,4),"RestingElevation"),this.c8=e.k.n(t,i.enumGetBox(p,4),"HoverElevation"),this.c7=e.k.n(t,i.enumGetBox(p,4),"FocusElevation"),this.or=e.k.ad(t,i.enumGetBox(p,4),"BorderColor"),this.oz=e.k.ad(t,i.enumGetBox(p,4),"RippleColor"),this.k4=e.k.y(t,i.enumGetBox(p,4),"CornerRadius"),this.br=e.k.i(t,i.enumGetBox(p,4),"BorderWidth"),this.oq=e.k.ad(t,i.enumGetBox(p,4),"BackgroundColor"),this.o0=e.k.ad(t,i.enumGetBox(p,4),"TextColor"),this.oy=e.k.ad(t,i.enumGetBox(p,4),"HoverTextColor"),this.ox=e.k.ad(t,i.enumGetBox(p,4),"HoverBackgroundColor"),this.ov=e.k.ad(t,i.enumGetBox(p,4),"FocusBackgroundColor"),this.ow=e.k.ad(t,i.enumGetBox(p,4),"FocusTextColor"),this.n6=e.k.ad(t,i.enumGetBox(p,3),"DisabledBackgroundColor"),this.n7=e.k.ad(t,i.enumGetBox(p,3),"DisabledBorderColor"),this.n8=e.k.ad(t,i.enumGetBox(p,3),"DisabledTextColor"),this.cy=e.k.n(t,i.enumGetBox(p,3),"DisabledElevation"),this.c1=e.k.n(t,i.enumGetBox(p,3),"RestingElevation"),this.c0=e.k.n(t,i.enumGetBox(p,3),"HoverElevation"),this.cz=e.k.n(t,i.enumGetBox(p,3),"FocusElevation"),this.n5=e.k.ad(t,i.enumGetBox(p,3),"BorderColor"),this.od=e.k.ad(t,i.enumGetBox(p,3),"RippleColor"),this.k2=e.k.y(t,i.enumGetBox(p,3),"CornerRadius"),this.bp=e.k.i(t,i.enumGetBox(p,3),"BorderWidth"),this.n4=e.k.ad(t,i.enumGetBox(p,3),"BackgroundColor"),this.oe=e.k.ad(t,i.enumGetBox(p,3),"TextColor"),this.oc=e.k.ad(t,i.enumGetBox(p,3),"HoverTextColor"),this.ob=e.k.ad(t,i.enumGetBox(p,3),"HoverBackgroundColor"),this.n9=e.k.ad(t,i.enumGetBox(p,3),"FocusBackgroundColor"),this.oa=e.k.ad(t,i.enumGetBox(p,3),"FocusTextColor")},Object.defineProperty(e.prototype,"by",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.kk("MinWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bx",{get:function(){return this.b