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