From d9023c22804e65704379fb680b1d0c51b3e9565d Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Thu, 12 Jan 2017 12:54:05 -0500 Subject: [PATCH] playground: Use https to access snippet store. Snippet store now supports https. Loading resources over https is always okay, even on pages served via http (the other way around is a problem). References: - https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content - https://developers.google.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content - https://stackoverflow.com/q/20516584 Helps #37. --- playground/playground.go | 8 ++++---- playground/playground.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/playground/playground.go b/playground/playground.go index 7a585d3e..325b5cfe 100644 --- a/playground/playground.go +++ b/playground/playground.go @@ -23,7 +23,7 @@ type Line map[string]string var output []Line -const snippetStoreHost = "snippets.gopherjs.org" +const snippetStoreHost = "https://snippets.gopherjs.org" func main() { var location = dom.GetWindow().Top().Location() // We might be inside an iframe, but want to use the location of topmost window. @@ -36,7 +36,7 @@ func main() { if strings.HasPrefix(location.Hash, "#/") { id := location.Hash[2:] - req := xhr.NewRequest("GET", "http://"+snippetStoreHost+"/p/"+id) + req := xhr.NewRequest("GET", snippetStoreHost+"/p/"+id) req.ResponseType = xhr.ArrayBuffer go func() { err := req.Send(nil) @@ -230,7 +230,7 @@ func main() { }) scope.Set("share", func() { - req := xhr.NewRequest("POST", "http://"+snippetStoreHost+"/share") + req := xhr.NewRequest("POST", snippetStoreHost+"/share") req.ResponseType = xhr.ArrayBuffer go func() { err := req.Send([]byte(scope.Get("code").String())) // Send as binary. @@ -266,7 +266,7 @@ func main() { if strings.HasPrefix(location.Hash, "#/") { id := location.Hash[2:] - req := xhr.NewRequest("GET", "http://"+snippetStoreHost+"/p/"+id) + req := xhr.NewRequest("GET", snippetStoreHost+"/p/"+id) req.ResponseType = xhr.ArrayBuffer go func() { err := req.Send(nil) diff --git a/playground/playground.js b/playground/playground.js index f63e124b..dea4352f 100644 --- a/playground/playground.js +++ b/playground/playground.js @@ -63,7 +63,7 @@ $packages["github.com/neelance/go-angularjs"]=(function(){var $pkg={},$init,A,B, $packages["honnef.co/go/js/dom"]=(function(){var $pkg={},$init,C,A,B,Z,AA,AB,AD,AE,AF,AG,AH,AI,AL,AM,AO,AP,AQ,AV,AW,AX,AY,AZ,BA,BB,BD,BE,BF,BH,BI,BJ,BK,BN,BO,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,DS,DT,DU,DV,DW,DX,DY,DZ,EA,EB,EC,ED,EE,EF,EG,EH,EI,EJ,EK,EN,EO,EP,EQ,ER,ES,ET,EU,EV,EW,EX,EY,EZ,FA,FB,FC,FD,FE,FF,FG,FH,FI,FJ,FK,FL,FM,FN,FO,FP,FQ,FR,FS,FT,FU,FV,FW,FX,FY,FZ,GA,GB,GC,GD,GE,GF,GG,GH,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC,HD,HE,HF,HG,HH,HI,HJ,HK,HL,HM,HN,HO,HP,HQ,HR,HS,HT,HU,HV,HW,HX,HY,HZ,IA,IB,IC,ID,IE,IF,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JD,JE,JF,JG,JH,JI,JJ,D,E,F,G,H,I,J,K,Q,R,S,T,U,V,W,X,Y,AN,EM;C=$packages["github.com/gopherjs/gopherjs/js"];A=$packages["strings"];B=$packages["time"];Z=$pkg.TokenList=$newType(0,$kindStruct,"dom.TokenList",true,"honnef.co/go/js/dom",true,function(dtl_,o_,sa_,Length_){this.$val=this;if(arguments.length===0){this.dtl=null;this.o=null;this.sa="";this.Length=0;return;}this.dtl=dtl_;this.o=o_;this.sa=sa_;this.Length=Length_;});AA=$pkg.Document=$newType(8,$kindInterface,"dom.Document",true,"honnef.co/go/js/dom",true,null);AB=$pkg.DocumentFragment=$newType(8,$kindInterface,"dom.DocumentFragment",true,"honnef.co/go/js/dom",true,null);AD=$pkg.documentFragment=$newType(0,$kindStruct,"dom.documentFragment",true,"honnef.co/go/js/dom",false,function(BasicNode_){this.$val=this;if(arguments.length===0){this.BasicNode=HZ.nil;return;}this.BasicNode=BasicNode_;});AE=$pkg.document=$newType(0,$kindStruct,"dom.document",true,"honnef.co/go/js/dom",false,function(BasicNode_){this.$val=this;if(arguments.length===0){this.BasicNode=HZ.nil;return;}this.BasicNode=BasicNode_;});AF=$pkg.htmlDocument=$newType(0,$kindStruct,"dom.htmlDocument",true,"honnef.co/go/js/dom",false,function(document_){this.$val=this;if(arguments.length===0){this.document=IA.nil;return;}this.document=document_;});AG=$pkg.URLUtils=$newType(0,$kindStruct,"dom.URLUtils",true,"honnef.co/go/js/dom",true,function(Object_,Href_,Protocol_,Host_,Hostname_,Port_,Pathname_,Search_,Hash_,Username_,Password_,Origin_){this.$val=this;if(arguments.length===0){this.Object=null;this.Href="";this.Protocol="";this.Host="";this.Hostname="";this.Port="";this.Pathname="";this.Search="";this.Hash="";this.Username="";this.Password="";this.Origin="";return;}this.Object=Object_;this.Href=Href_;this.Protocol=Protocol_;this.Host=Host_;this.Hostname=Hostname_;this.Port=Port_;this.Pathname=Pathname_;this.Search=Search_;this.Hash=Hash_;this.Username=Username_;this.Password=Password_;this.Origin=Origin_;});AH=$pkg.Location=$newType(0,$kindStruct,"dom.Location",true,"honnef.co/go/js/dom",true,function(Object_,URLUtils_){this.$val=this;if(arguments.length===0){this.Object=null;this.URLUtils=GQ.nil;return;}this.Object=Object_;this.URLUtils=URLUtils_;});AI=$pkg.HTMLElement=$newType(8,$kindInterface,"dom.HTMLElement",true,"honnef.co/go/js/dom",true,null);AL=$pkg.Window=$newType(8,$kindInterface,"dom.Window",true,"honnef.co/go/js/dom",true,null);AM=$pkg.window=$newType(0,$kindStruct,"dom.window",true,"honnef.co/go/js/dom",false,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});AO=$pkg.Selection=$newType(8,$kindInterface,"dom.Selection",true,"honnef.co/go/js/dom",true,null);AP=$pkg.Screen=$newType(0,$kindStruct,"dom.Screen",true,"honnef.co/go/js/dom",true,function(Object_,AvailTop_,AvailLeft_,AvailHeight_,AvailWidth_,ColorDepth_,Height_,Left_,PixelDepth_,Top_,Width_){this.$val=this;if(arguments.length===0){this.Object=null;this.AvailTop=0;this.AvailLeft=0;this.AvailHeight=0;this.AvailWidth=0;this.ColorDepth=0;this.Height=0;this.Left=0;this.PixelDepth=0;this.Top=0;this.Width=0;return;}this.Object=Object_;this.AvailTop=AvailTop_;this.AvailLeft=AvailLeft_;this.AvailHeight=AvailHeight_;this.AvailWidth=AvailWidth_;this.ColorDepth=ColorDepth_;this.Height=Height_;this.Left=Left_;this.PixelDepth=PixelDepth_;this.Top=Top_;this.Width=Width_;});AQ=$pkg.Navigator=$newType(8,$kindInterface,"dom.Navigator",true,"honnef.co/go/js/dom",true,null);AV=$pkg.Geolocation=$newType(8,$kindInterface,"dom.Geolocation",true,"honnef.co/go/js/dom",true,null);AW=$pkg.PositionError=$newType(0,$kindStruct,"dom.PositionError",true,"honnef.co/go/js/dom",true,function(Object_,Code_){this.$val=this;if(arguments.length===0){this.Object=null;this.Code=0;return;}this.Object=Object_;this.Code=Code_;});AX=$pkg.PositionOptions=$newType(0,$kindStruct,"dom.PositionOptions",true,"honnef.co/go/js/dom",true,function(EnableHighAccuracy_,Timeout_,MaximumAge_){this.$val=this;if(arguments.length===0){this.EnableHighAccuracy=false;this.Timeout=new B.Duration(0,0);this.MaximumAge=new B.Duration(0,0);return;}this.EnableHighAccuracy=EnableHighAccuracy_;this.Timeout=Timeout_;this.MaximumAge=MaximumAge_;});AY=$pkg.Position=$newType(0,$kindStruct,"dom.Position",true,"honnef.co/go/js/dom",true,function(Coords_,Timestamp_){this.$val=this;if(arguments.length===0){this.Coords=IL.nil;this.Timestamp=new B.Time.ptr(new $Int64(0,0),0,GS.nil);return;}this.Coords=Coords_;this.Timestamp=Timestamp_;});AZ=$pkg.Coordinates=$newType(0,$kindStruct,"dom.Coordinates",true,"honnef.co/go/js/dom",true,function(Object_,Latitude_,Longitude_,Altitude_,Accuracy_,AltitudeAccuracy_,Heading_,Speed_){this.$val=this;if(arguments.length===0){this.Object=null;this.Latitude=0;this.Longitude=0;this.Altitude=0;this.Accuracy=0;this.AltitudeAccuracy=0;this.Heading=0;this.Speed=0;return;}this.Object=Object_;this.Latitude=Latitude_;this.Longitude=Longitude_;this.Altitude=Altitude_;this.Accuracy=Accuracy_;this.AltitudeAccuracy=AltitudeAccuracy_;this.Heading=Heading_;this.Speed=Speed_;});BA=$pkg.History=$newType(8,$kindInterface,"dom.History",true,"honnef.co/go/js/dom",true,null);BB=$pkg.Console=$newType(0,$kindStruct,"dom.Console",true,"honnef.co/go/js/dom",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});BD=$pkg.DocumentType=$newType(8,$kindInterface,"dom.DocumentType",true,"honnef.co/go/js/dom",true,null);BE=$pkg.DOMImplementation=$newType(8,$kindInterface,"dom.DOMImplementation",true,"honnef.co/go/js/dom",true,null);BF=$pkg.StyleSheet=$newType(8,$kindInterface,"dom.StyleSheet",true,"honnef.co/go/js/dom",true,null);BH=$pkg.Node=$newType(8,$kindInterface,"dom.Node",true,"honnef.co/go/js/dom",true,null);BI=$pkg.BasicNode=$newType(0,$kindStruct,"dom.BasicNode",true,"honnef.co/go/js/dom",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});BJ=$pkg.Element=$newType(8,$kindInterface,"dom.Element",true,"honnef.co/go/js/dom",true,null);BK=$pkg.ClientRect=$newType(0,$kindStruct,"dom.ClientRect",true,"honnef.co/go/js/dom",true,function(Object_,Height_,Width_,Left_,Right_,Top_,Bottom_){this.$val=this;if(arguments.length===0){this.Object=null;this.Height=0;this.Width=0;this.Left=0;this.Right=0;this.Top=0;this.Bottom=0;return;}this.Object=Object_;this.Height=Height_;this.Width=Width_;this.Left=Left_;this.Right=Right_;this.Top=Top_;this.Bottom=Bottom_;});BN=$pkg.BasicHTMLElement=$newType(0,$kindStruct,"dom.BasicHTMLElement",true,"honnef.co/go/js/dom",true,function(BasicElement_){this.$val=this;if(arguments.length===0){this.BasicElement=IM.nil;return;}this.BasicElement=BasicElement_;});BO=$pkg.BasicElement=$newType(0,$kindStruct,"dom.BasicElement",true,"honnef.co/go/js/dom",true,function(BasicNode_){this.$val=this;if(arguments.length===0){this.BasicNode=HZ.nil;return;}this.BasicNode=BasicNode_;});BP=$pkg.HTMLAnchorElement=$newType(0,$kindStruct,"dom.HTMLAnchorElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,URLUtils_,HrefLang_,Media_,TabIndex_,Target_,Text_,Type_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.URLUtils=GQ.nil;this.HrefLang="";this.Media="";this.TabIndex=0;this.Target="";this.Text="";this.Type="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.URLUtils=URLUtils_;this.HrefLang=HrefLang_;this.Media=Media_;this.TabIndex=TabIndex_;this.Target=Target_;this.Text=Text_;this.Type=Type_;});BQ=$pkg.HTMLAppletElement=$newType(0,$kindStruct,"dom.HTMLAppletElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Alt_,Coords_,HrefLang_,Media_,Search_,Shape_,TabIndex_,Target_,Type_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Alt="";this.Coords="";this.HrefLang="";this.Media="";this.Search="";this.Shape="";this.TabIndex=0;this.Target="";this.Type="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Alt=Alt_;this.Coords=Coords_;this.HrefLang=HrefLang_;this.Media=Media_;this.Search=Search_;this.Shape=Shape_;this.TabIndex=TabIndex_;this.Target=Target_;this.Type=Type_;});BR=$pkg.HTMLAreaElement=$newType(0,$kindStruct,"dom.HTMLAreaElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,URLUtils_,Alt_,Coords_,HrefLang_,Media_,Search_,Shape_,TabIndex_,Target_,Type_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.URLUtils=GQ.nil;this.Alt="";this.Coords="";this.HrefLang="";this.Media="";this.Search="";this.Shape="";this.TabIndex=0;this.Target="";this.Type="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.URLUtils=URLUtils_;this.Alt=Alt_;this.Coords=Coords_;this.HrefLang=HrefLang_;this.Media=Media_;this.Search=Search_;this.Shape=Shape_;this.TabIndex=TabIndex_;this.Target=Target_;this.Type=Type_;});BS=$pkg.HTMLAudioElement=$newType(0,$kindStruct,"dom.HTMLAudioElement",true,"honnef.co/go/js/dom",true,function(HTMLMediaElement_){this.$val=this;if(arguments.length===0){this.HTMLMediaElement=GR.nil;return;}this.HTMLMediaElement=HTMLMediaElement_;});BT=$pkg.HTMLBRElement=$newType(0,$kindStruct,"dom.HTMLBRElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});BU=$pkg.HTMLBaseElement=$newType(0,$kindStruct,"dom.HTMLBaseElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});BV=$pkg.HTMLBodyElement=$newType(0,$kindStruct,"dom.HTMLBodyElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});BW=$pkg.ValidityState=$newType(0,$kindStruct,"dom.ValidityState",true,"honnef.co/go/js/dom",true,function(Object_,CustomError_,PatternMismatch_,RangeOverflow_,RangeUnderflow_,StepMismatch_,TooLong_,TypeMismatch_,Valid_,ValueMissing_){this.$val=this;if(arguments.length===0){this.Object=null;this.CustomError=false;this.PatternMismatch=false;this.RangeOverflow=false;this.RangeUnderflow=false;this.StepMismatch=false;this.TooLong=false;this.TypeMismatch=false;this.Valid=false;this.ValueMissing=false;return;}this.Object=Object_;this.CustomError=CustomError_;this.PatternMismatch=PatternMismatch_;this.RangeOverflow=RangeOverflow_;this.RangeUnderflow=RangeUnderflow_;this.StepMismatch=StepMismatch_;this.TooLong=TooLong_;this.TypeMismatch=TypeMismatch_;this.Valid=Valid_;this.ValueMissing=ValueMissing_;});BX=$pkg.HTMLButtonElement=$newType(0,$kindStruct,"dom.HTMLButtonElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,AutoFocus_,Disabled_,FormAction_,FormEncType_,FormMethod_,FormNoValidate_,FormTarget_,Name_,TabIndex_,Type_,ValidationMessage_,Value_,WillValidate_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.AutoFocus=false;this.Disabled=false;this.FormAction="";this.FormEncType="";this.FormMethod="";this.FormNoValidate=false;this.FormTarget="";this.Name="";this.TabIndex=0;this.Type="";this.ValidationMessage="";this.Value="";this.WillValidate=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.AutoFocus=AutoFocus_;this.Disabled=Disabled_;this.FormAction=FormAction_;this.FormEncType=FormEncType_;this.FormMethod=FormMethod_;this.FormNoValidate=FormNoValidate_;this.FormTarget=FormTarget_;this.Name=Name_;this.TabIndex=TabIndex_;this.Type=Type_;this.ValidationMessage=ValidationMessage_;this.Value=Value_;this.WillValidate=WillValidate_;});BY=$pkg.HTMLCanvasElement=$newType(0,$kindStruct,"dom.HTMLCanvasElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Height_,Width_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Height=0;this.Width=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Height=Height_;this.Width=Width_;});BZ=$pkg.CanvasRenderingContext2D=$newType(0,$kindStruct,"dom.CanvasRenderingContext2D",true,"honnef.co/go/js/dom",true,function(Object_,FillStyle_,StrokeStyle_,ShadowColor_,ShadowBlur_,ShadowOffsetX_,ShadowOffsetY_,LineCap_,LineJoin_,LineWidth_,MiterLimit_,Font_,TextAlign_,TextBaseline_,GlobalAlpha_,GlobalCompositeOperation_){this.$val=this;if(arguments.length===0){this.Object=null;this.FillStyle="";this.StrokeStyle="";this.ShadowColor="";this.ShadowBlur=0;this.ShadowOffsetX=0;this.ShadowOffsetY=0;this.LineCap="";this.LineJoin="";this.LineWidth=0;this.MiterLimit=0;this.Font="";this.TextAlign="";this.TextBaseline="";this.GlobalAlpha=0;this.GlobalCompositeOperation="";return;}this.Object=Object_;this.FillStyle=FillStyle_;this.StrokeStyle=StrokeStyle_;this.ShadowColor=ShadowColor_;this.ShadowBlur=ShadowBlur_;this.ShadowOffsetX=ShadowOffsetX_;this.ShadowOffsetY=ShadowOffsetY_;this.LineCap=LineCap_;this.LineJoin=LineJoin_;this.LineWidth=LineWidth_;this.MiterLimit=MiterLimit_;this.Font=Font_;this.TextAlign=TextAlign_;this.TextBaseline=TextBaseline_;this.GlobalAlpha=GlobalAlpha_;this.GlobalCompositeOperation=GlobalCompositeOperation_;});CA=$pkg.HTMLDListElement=$newType(0,$kindStruct,"dom.HTMLDListElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CB=$pkg.HTMLDataElement=$newType(0,$kindStruct,"dom.HTMLDataElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Value_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Value="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Value=Value_;});CC=$pkg.HTMLDataListElement=$newType(0,$kindStruct,"dom.HTMLDataListElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CD=$pkg.HTMLDirectoryElement=$newType(0,$kindStruct,"dom.HTMLDirectoryElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CE=$pkg.HTMLDivElement=$newType(0,$kindStruct,"dom.HTMLDivElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CF=$pkg.HTMLEmbedElement=$newType(0,$kindStruct,"dom.HTMLEmbedElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Src_,Type_,Width_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Src="";this.Type="";this.Width="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Src=Src_;this.Type=Type_;this.Width=Width_;});CG=$pkg.HTMLFieldSetElement=$newType(0,$kindStruct,"dom.HTMLFieldSetElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Disabled_,Name_,Type_,ValidationMessage_,WillValidate_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Disabled=false;this.Name="";this.Type="";this.ValidationMessage="";this.WillValidate=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Disabled=Disabled_;this.Name=Name_;this.Type=Type_;this.ValidationMessage=ValidationMessage_;this.WillValidate=WillValidate_;});CH=$pkg.HTMLFontElement=$newType(0,$kindStruct,"dom.HTMLFontElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CI=$pkg.HTMLFormElement=$newType(0,$kindStruct,"dom.HTMLFormElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,AcceptCharset_,Action_,Autocomplete_,Encoding_,Enctype_,Length_,Method_,Name_,NoValidate_,Target_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.AcceptCharset="";this.Action="";this.Autocomplete="";this.Encoding="";this.Enctype="";this.Length=0;this.Method="";this.Name="";this.NoValidate=false;this.Target="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.AcceptCharset=AcceptCharset_;this.Action=Action_;this.Autocomplete=Autocomplete_;this.Encoding=Encoding_;this.Enctype=Enctype_;this.Length=Length_;this.Method=Method_;this.Name=Name_;this.NoValidate=NoValidate_;this.Target=Target_;});CJ=$pkg.HTMLFrameElement=$newType(0,$kindStruct,"dom.HTMLFrameElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CK=$pkg.HTMLFrameSetElement=$newType(0,$kindStruct,"dom.HTMLFrameSetElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CL=$pkg.HTMLHRElement=$newType(0,$kindStruct,"dom.HTMLHRElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CM=$pkg.HTMLHeadElement=$newType(0,$kindStruct,"dom.HTMLHeadElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CN=$pkg.HTMLHeadingElement=$newType(0,$kindStruct,"dom.HTMLHeadingElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CO=$pkg.HTMLHtmlElement=$newType(0,$kindStruct,"dom.HTMLHtmlElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CP=$pkg.HTMLIFrameElement=$newType(0,$kindStruct,"dom.HTMLIFrameElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Width_,Height_,Name_,Src_,SrcDoc_,Seamless_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Width="";this.Height="";this.Name="";this.Src="";this.SrcDoc="";this.Seamless=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Width=Width_;this.Height=Height_;this.Name=Name_;this.Src=Src_;this.SrcDoc=SrcDoc_;this.Seamless=Seamless_;});CQ=$pkg.HTMLImageElement=$newType(0,$kindStruct,"dom.HTMLImageElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Complete_,CrossOrigin_,Height_,IsMap_,NaturalHeight_,NaturalWidth_,Src_,UseMap_,Width_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Complete=false;this.CrossOrigin="";this.Height=0;this.IsMap=false;this.NaturalHeight=0;this.NaturalWidth=0;this.Src="";this.UseMap="";this.Width=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Complete=Complete_;this.CrossOrigin=CrossOrigin_;this.Height=Height_;this.IsMap=IsMap_;this.NaturalHeight=NaturalHeight_;this.NaturalWidth=NaturalWidth_;this.Src=Src_;this.UseMap=UseMap_;this.Width=Width_;});CR=$pkg.HTMLInputElement=$newType(0,$kindStruct,"dom.HTMLInputElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Accept_,Alt_,Autocomplete_,Autofocus_,Checked_,DefaultChecked_,DefaultValue_,DirName_,Disabled_,FormAction_,FormEncType_,FormMethod_,FormNoValidate_,FormTarget_,Height_,Indeterminate_,Max_,MaxLength_,Min_,Multiple_,Name_,Pattern_,Placeholder_,ReadOnly_,Required_,SelectionDirection_,SelectionEnd_,SelectionStart_,Size_,Src_,Step_,TabIndex_,Type_,ValidationMessage_,Value_,ValueAsDate_,ValueAsNumber_,Width_,WillValidate_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Accept="";this.Alt="";this.Autocomplete="";this.Autofocus=false;this.Checked=false;this.DefaultChecked=false;this.DefaultValue="";this.DirName="";this.Disabled=false;this.FormAction="";this.FormEncType="";this.FormMethod="";this.FormNoValidate=false;this.FormTarget="";this.Height="";this.Indeterminate=false;this.Max="";this.MaxLength=0;this.Min="";this.Multiple=false;this.Name="";this.Pattern="";this.Placeholder="";this.ReadOnly=false;this.Required=false;this.SelectionDirection="";this.SelectionEnd=0;this.SelectionStart=0;this.Size=0;this.Src="";this.Step="";this.TabIndex=0;this.Type="";this.ValidationMessage="";this.Value="";this.ValueAsDate=new B.Time.ptr(new $Int64(0,0),0,GS.nil);this.ValueAsNumber=0;this.Width="";this.WillValidate=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Accept=Accept_;this.Alt=Alt_;this.Autocomplete=Autocomplete_;this.Autofocus=Autofocus_;this.Checked=Checked_;this.DefaultChecked=DefaultChecked_;this.DefaultValue=DefaultValue_;this.DirName=DirName_;this.Disabled=Disabled_;this.FormAction=FormAction_;this.FormEncType=FormEncType_;this.FormMethod=FormMethod_;this.FormNoValidate=FormNoValidate_;this.FormTarget=FormTarget_;this.Height=Height_;this.Indeterminate=Indeterminate_;this.Max=Max_;this.MaxLength=MaxLength_;this.Min=Min_;this.Multiple=Multiple_;this.Name=Name_;this.Pattern=Pattern_;this.Placeholder=Placeholder_;this.ReadOnly=ReadOnly_;this.Required=Required_;this.SelectionDirection=SelectionDirection_;this.SelectionEnd=SelectionEnd_;this.SelectionStart=SelectionStart_;this.Size=Size_;this.Src=Src_;this.Step=Step_;this.TabIndex=TabIndex_;this.Type=Type_;this.ValidationMessage=ValidationMessage_;this.Value=Value_;this.ValueAsDate=ValueAsDate_;this.ValueAsNumber=ValueAsNumber_;this.Width=Width_;this.WillValidate=WillValidate_;});CS=$pkg.File=$newType(0,$kindStruct,"dom.File",true,"honnef.co/go/js/dom",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CT=$pkg.HTMLKeygenElement=$newType(0,$kindStruct,"dom.HTMLKeygenElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Autofocus_,Challenge_,Disabled_,Keytype_,Name_,Type_,ValidationMessage_,WillValidate_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Autofocus=false;this.Challenge="";this.Disabled=false;this.Keytype="";this.Name="";this.Type="";this.ValidationMessage="";this.WillValidate=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Autofocus=Autofocus_;this.Challenge=Challenge_;this.Disabled=Disabled_;this.Keytype=Keytype_;this.Name=Name_;this.Type=Type_;this.ValidationMessage=ValidationMessage_;this.WillValidate=WillValidate_;});CU=$pkg.HTMLLIElement=$newType(0,$kindStruct,"dom.HTMLLIElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Value_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Value=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Value=Value_;});CV=$pkg.HTMLLabelElement=$newType(0,$kindStruct,"dom.HTMLLabelElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,For_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.For="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.For=For_;});CW=$pkg.HTMLLegendElement=$newType(0,$kindStruct,"dom.HTMLLegendElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});CX=$pkg.HTMLLinkElement=$newType(0,$kindStruct,"dom.HTMLLinkElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Disabled_,Href_,HrefLang_,Media_,Type_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Disabled=false;this.Href="";this.HrefLang="";this.Media="";this.Type="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Disabled=Disabled_;this.Href=Href_;this.HrefLang=HrefLang_;this.Media=Media_;this.Type=Type_;});CY=$pkg.HTMLMapElement=$newType(0,$kindStruct,"dom.HTMLMapElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Name_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Name="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Name=Name_;});CZ=$pkg.HTMLMediaElement=$newType(0,$kindStruct,"dom.HTMLMediaElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Paused_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Paused=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Paused=Paused_;});DA=$pkg.HTMLMenuElement=$newType(0,$kindStruct,"dom.HTMLMenuElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DB=$pkg.HTMLMetaElement=$newType(0,$kindStruct,"dom.HTMLMetaElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Content_,HTTPEquiv_,Name_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Content="";this.HTTPEquiv="";this.Name="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Content=Content_;this.HTTPEquiv=HTTPEquiv_;this.Name=Name_;});DC=$pkg.HTMLMeterElement=$newType(0,$kindStruct,"dom.HTMLMeterElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,High_,Low_,Max_,Min_,Optimum_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.High=0;this.Low=0;this.Max=0;this.Min=0;this.Optimum=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.High=High_;this.Low=Low_;this.Max=Max_;this.Min=Min_;this.Optimum=Optimum_;});DD=$pkg.HTMLModElement=$newType(0,$kindStruct,"dom.HTMLModElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Cite_,DateTime_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Cite="";this.DateTime="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Cite=Cite_;this.DateTime=DateTime_;});DE=$pkg.HTMLOListElement=$newType(0,$kindStruct,"dom.HTMLOListElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Reversed_,Start_,Type_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Reversed=false;this.Start=0;this.Type="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Reversed=Reversed_;this.Start=Start_;this.Type=Type_;});DF=$pkg.HTMLObjectElement=$newType(0,$kindStruct,"dom.HTMLObjectElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Data_,Height_,Name_,TabIndex_,Type_,TypeMustMatch_,UseMap_,ValidationMessage_,With_,WillValidate_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Data="";this.Height="";this.Name="";this.TabIndex=0;this.Type="";this.TypeMustMatch=false;this.UseMap="";this.ValidationMessage="";this.With="";this.WillValidate=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Data=Data_;this.Height=Height_;this.Name=Name_;this.TabIndex=TabIndex_;this.Type=Type_;this.TypeMustMatch=TypeMustMatch_;this.UseMap=UseMap_;this.ValidationMessage=ValidationMessage_;this.With=With_;this.WillValidate=WillValidate_;});DG=$pkg.HTMLOptGroupElement=$newType(0,$kindStruct,"dom.HTMLOptGroupElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Disabled_,Label_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Disabled=false;this.Label="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Disabled=Disabled_;this.Label=Label_;});DH=$pkg.HTMLOptionElement=$newType(0,$kindStruct,"dom.HTMLOptionElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,DefaultSelected_,Disabled_,Index_,Label_,Selected_,Text_,Value_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.DefaultSelected=false;this.Disabled=false;this.Index=0;this.Label="";this.Selected=false;this.Text="";this.Value="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.DefaultSelected=DefaultSelected_;this.Disabled=Disabled_;this.Index=Index_;this.Label=Label_;this.Selected=Selected_;this.Text=Text_;this.Value=Value_;});DI=$pkg.HTMLOutputElement=$newType(0,$kindStruct,"dom.HTMLOutputElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,DefaultValue_,Name_,Type_,ValidationMessage_,Value_,WillValidate_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.DefaultValue="";this.Name="";this.Type="";this.ValidationMessage="";this.Value="";this.WillValidate=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.DefaultValue=DefaultValue_;this.Name=Name_;this.Type=Type_;this.ValidationMessage=ValidationMessage_;this.Value=Value_;this.WillValidate=WillValidate_;});DJ=$pkg.HTMLParagraphElement=$newType(0,$kindStruct,"dom.HTMLParagraphElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DK=$pkg.HTMLParamElement=$newType(0,$kindStruct,"dom.HTMLParamElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Name_,Value_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Name="";this.Value="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Name=Name_;this.Value=Value_;});DL=$pkg.HTMLPreElement=$newType(0,$kindStruct,"dom.HTMLPreElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DM=$pkg.HTMLProgressElement=$newType(0,$kindStruct,"dom.HTMLProgressElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Max_,Position_,Value_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Max=0;this.Position=0;this.Value=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Max=Max_;this.Position=Position_;this.Value=Value_;});DN=$pkg.HTMLQuoteElement=$newType(0,$kindStruct,"dom.HTMLQuoteElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Cite_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Cite="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Cite=Cite_;});DO=$pkg.HTMLScriptElement=$newType(0,$kindStruct,"dom.HTMLScriptElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Type_,Src_,Charset_,Async_,Defer_,Text_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Type="";this.Src="";this.Charset="";this.Async=false;this.Defer=false;this.Text="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Type=Type_;this.Src=Src_;this.Charset=Charset_;this.Async=Async_;this.Defer=Defer_;this.Text=Text_;});DP=$pkg.HTMLSelectElement=$newType(0,$kindStruct,"dom.HTMLSelectElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Autofocus_,Disabled_,Length_,Multiple_,Name_,Required_,SelectedIndex_,Size_,Type_,ValidationMessage_,Value_,WillValidate_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Autofocus=false;this.Disabled=false;this.Length=0;this.Multiple=false;this.Name="";this.Required=false;this.SelectedIndex=0;this.Size=0;this.Type="";this.ValidationMessage="";this.Value="";this.WillValidate=false;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Autofocus=Autofocus_;this.Disabled=Disabled_;this.Length=Length_;this.Multiple=Multiple_;this.Name=Name_;this.Required=Required_;this.SelectedIndex=SelectedIndex_;this.Size=Size_;this.Type=Type_;this.ValidationMessage=ValidationMessage_;this.Value=Value_;this.WillValidate=WillValidate_;});DQ=$pkg.HTMLSourceElement=$newType(0,$kindStruct,"dom.HTMLSourceElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Media_,Src_,Type_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Media="";this.Src="";this.Type="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Media=Media_;this.Src=Src_;this.Type=Type_;});DR=$pkg.HTMLSpanElement=$newType(0,$kindStruct,"dom.HTMLSpanElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DS=$pkg.HTMLStyleElement=$newType(0,$kindStruct,"dom.HTMLStyleElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DT=$pkg.HTMLTableCaptionElement=$newType(0,$kindStruct,"dom.HTMLTableCaptionElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DU=$pkg.HTMLTableCellElement=$newType(0,$kindStruct,"dom.HTMLTableCellElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,ColSpan_,RowSpan_,CellIndex_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.ColSpan=0;this.RowSpan=0;this.CellIndex=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.ColSpan=ColSpan_;this.RowSpan=RowSpan_;this.CellIndex=CellIndex_;});DV=$pkg.HTMLTableColElement=$newType(0,$kindStruct,"dom.HTMLTableColElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Span_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Span=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Span=Span_;});DW=$pkg.HTMLTableDataCellElement=$newType(0,$kindStruct,"dom.HTMLTableDataCellElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DX=$pkg.HTMLTableElement=$newType(0,$kindStruct,"dom.HTMLTableElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});DY=$pkg.HTMLTableHeaderCellElement=$newType(0,$kindStruct,"dom.HTMLTableHeaderCellElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Abbr_,Scope_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Abbr="";this.Scope="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Abbr=Abbr_;this.Scope=Scope_;});DZ=$pkg.HTMLTableRowElement=$newType(0,$kindStruct,"dom.HTMLTableRowElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,RowIndex_,SectionRowIndex_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.RowIndex=0;this.SectionRowIndex=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.RowIndex=RowIndex_;this.SectionRowIndex=SectionRowIndex_;});EA=$pkg.HTMLTableSectionElement=$newType(0,$kindStruct,"dom.HTMLTableSectionElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});EB=$pkg.HTMLTextAreaElement=$newType(0,$kindStruct,"dom.HTMLTextAreaElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Autocomplete_,Autofocus_,Cols_,DefaultValue_,DirName_,Disabled_,MaxLength_,Name_,Placeholder_,ReadOnly_,Required_,Rows_,SelectionDirection_,SelectionStart_,SelectionEnd_,TabIndex_,TextLength_,Type_,ValidationMessage_,Value_,WillValidate_,Wrap_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Autocomplete="";this.Autofocus=false;this.Cols=0;this.DefaultValue="";this.DirName="";this.Disabled=false;this.MaxLength=0;this.Name="";this.Placeholder="";this.ReadOnly=false;this.Required=false;this.Rows=0;this.SelectionDirection="";this.SelectionStart=0;this.SelectionEnd=0;this.TabIndex=0;this.TextLength=0;this.Type="";this.ValidationMessage="";this.Value="";this.WillValidate=false;this.Wrap="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Autocomplete=Autocomplete_;this.Autofocus=Autofocus_;this.Cols=Cols_;this.DefaultValue=DefaultValue_;this.DirName=DirName_;this.Disabled=Disabled_;this.MaxLength=MaxLength_;this.Name=Name_;this.Placeholder=Placeholder_;this.ReadOnly=ReadOnly_;this.Required=Required_;this.Rows=Rows_;this.SelectionDirection=SelectionDirection_;this.SelectionStart=SelectionStart_;this.SelectionEnd=SelectionEnd_;this.TabIndex=TabIndex_;this.TextLength=TextLength_;this.Type=Type_;this.ValidationMessage=ValidationMessage_;this.Value=Value_;this.WillValidate=WillValidate_;this.Wrap=Wrap_;});EC=$pkg.HTMLTimeElement=$newType(0,$kindStruct,"dom.HTMLTimeElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,DateTime_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.DateTime="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.DateTime=DateTime_;});ED=$pkg.HTMLTitleElement=$newType(0,$kindStruct,"dom.HTMLTitleElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Text_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Text="";return;}this.BasicHTMLElement=BasicHTMLElement_;this.Text=Text_;});EE=$pkg.TextTrack=$newType(0,$kindStruct,"dom.TextTrack",true,"honnef.co/go/js/dom",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});EF=$pkg.HTMLTrackElement=$newType(0,$kindStruct,"dom.HTMLTrackElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_,Kind_,Src_,Srclang_,Label_,Default_,ReadyState_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;this.Kind="";this.Src="";this.Srclang="";this.Label="";this.Default=false;this.ReadyState=0;return;}this.BasicHTMLElement=BasicHTMLElement_;this.Kind=Kind_;this.Src=Src_;this.Srclang=Srclang_;this.Label=Label_;this.Default=Default_;this.ReadyState=ReadyState_;});EG=$pkg.HTMLUListElement=$newType(0,$kindStruct,"dom.HTMLUListElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});EH=$pkg.HTMLUnknownElement=$newType(0,$kindStruct,"dom.HTMLUnknownElement",true,"honnef.co/go/js/dom",true,function(BasicHTMLElement_){this.$val=this;if(arguments.length===0){this.BasicHTMLElement=GP.nil;return;}this.BasicHTMLElement=BasicHTMLElement_;});EI=$pkg.HTMLVideoElement=$newType(0,$kindStruct,"dom.HTMLVideoElement",true,"honnef.co/go/js/dom",true,function(HTMLMediaElement_){this.$val=this;if(arguments.length===0){this.HTMLMediaElement=GR.nil;return;}this.HTMLMediaElement=HTMLMediaElement_;});EJ=$pkg.CSSStyleDeclaration=$newType(0,$kindStruct,"dom.CSSStyleDeclaration",true,"honnef.co/go/js/dom",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});EK=$pkg.Text=$newType(0,$kindStruct,"dom.Text",true,"honnef.co/go/js/dom",true,function(BasicNode_){this.$val=this;if(arguments.length===0){this.BasicNode=HZ.nil;return;}this.BasicNode=BasicNode_;});EN=$pkg.Event=$newType(8,$kindInterface,"dom.Event",true,"honnef.co/go/js/dom",true,null);EO=$pkg.BasicEvent=$newType(0,$kindStruct,"dom.BasicEvent",true,"honnef.co/go/js/dom",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});EP=$pkg.AnimationEvent=$newType(0,$kindStruct,"dom.AnimationEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});EQ=$pkg.AudioProcessingEvent=$newType(0,$kindStruct,"dom.AudioProcessingEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});ER=$pkg.BeforeInputEvent=$newType(0,$kindStruct,"dom.BeforeInputEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});ES=$pkg.BeforeUnloadEvent=$newType(0,$kindStruct,"dom.BeforeUnloadEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});ET=$pkg.BlobEvent=$newType(0,$kindStruct,"dom.BlobEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});EU=$pkg.ClipboardEvent=$newType(0,$kindStruct,"dom.ClipboardEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});EV=$pkg.CloseEvent=$newType(0,$kindStruct,"dom.CloseEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_,Code_,Reason_,WasClean_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;this.Code=0;this.Reason="";this.WasClean=false;return;}this.BasicEvent=BasicEvent_;this.Code=Code_;this.Reason=Reason_;this.WasClean=WasClean_;});EW=$pkg.CompositionEvent=$newType(0,$kindStruct,"dom.CompositionEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});EX=$pkg.CSSFontFaceLoadEvent=$newType(0,$kindStruct,"dom.CSSFontFaceLoadEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});EY=$pkg.CustomEvent=$newType(0,$kindStruct,"dom.CustomEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});EZ=$pkg.DeviceLightEvent=$newType(0,$kindStruct,"dom.DeviceLightEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FA=$pkg.DeviceMotionEvent=$newType(0,$kindStruct,"dom.DeviceMotionEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FB=$pkg.DeviceOrientationEvent=$newType(0,$kindStruct,"dom.DeviceOrientationEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FC=$pkg.DeviceProximityEvent=$newType(0,$kindStruct,"dom.DeviceProximityEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FD=$pkg.DOMTransactionEvent=$newType(0,$kindStruct,"dom.DOMTransactionEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FE=$pkg.DragEvent=$newType(0,$kindStruct,"dom.DragEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FF=$pkg.EditingBeforeInputEvent=$newType(0,$kindStruct,"dom.EditingBeforeInputEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FG=$pkg.ErrorEvent=$newType(0,$kindStruct,"dom.ErrorEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FH=$pkg.FocusEvent=$newType(0,$kindStruct,"dom.FocusEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FI=$pkg.GamepadEvent=$newType(0,$kindStruct,"dom.GamepadEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FJ=$pkg.HashChangeEvent=$newType(0,$kindStruct,"dom.HashChangeEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FK=$pkg.IDBVersionChangeEvent=$newType(0,$kindStruct,"dom.IDBVersionChangeEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FL=$pkg.KeyboardEvent=$newType(0,$kindStruct,"dom.KeyboardEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_,AltKey_,CharCode_,CtrlKey_,Key_,KeyIdentifier_,KeyCode_,Locale_,Location_,KeyLocation_,MetaKey_,Repeat_,ShiftKey_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;this.AltKey=false;this.CharCode=0;this.CtrlKey=false;this.Key="";this.KeyIdentifier="";this.KeyCode=0;this.Locale="";this.Location=0;this.KeyLocation=0;this.MetaKey=false;this.Repeat=false;this.ShiftKey=false;return;}this.BasicEvent=BasicEvent_;this.AltKey=AltKey_;this.CharCode=CharCode_;this.CtrlKey=CtrlKey_;this.Key=Key_;this.KeyIdentifier=KeyIdentifier_;this.KeyCode=KeyCode_;this.Locale=Locale_;this.Location=Location_;this.KeyLocation=KeyLocation_;this.MetaKey=MetaKey_;this.Repeat=Repeat_;this.ShiftKey=ShiftKey_;});FM=$pkg.MediaStreamEvent=$newType(0,$kindStruct,"dom.MediaStreamEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FN=$pkg.MessageEvent=$newType(0,$kindStruct,"dom.MessageEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_,Data_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;this.Data=null;return;}this.BasicEvent=BasicEvent_;this.Data=Data_;});FO=$pkg.MouseEvent=$newType(0,$kindStruct,"dom.MouseEvent",true,"honnef.co/go/js/dom",true,function(UIEvent_,AltKey_,Button_,ClientX_,ClientY_,CtrlKey_,MetaKey_,MovementX_,MovementY_,ScreenX_,ScreenY_,ShiftKey_){this.$val=this;if(arguments.length===0){this.UIEvent=HU.nil;this.AltKey=false;this.Button=0;this.ClientX=0;this.ClientY=0;this.CtrlKey=false;this.MetaKey=false;this.MovementX=0;this.MovementY=0;this.ScreenX=0;this.ScreenY=0;this.ShiftKey=false;return;}this.UIEvent=UIEvent_;this.AltKey=AltKey_;this.Button=Button_;this.ClientX=ClientX_;this.ClientY=ClientY_;this.CtrlKey=CtrlKey_;this.MetaKey=MetaKey_;this.MovementX=MovementX_;this.MovementY=MovementY_;this.ScreenX=ScreenX_;this.ScreenY=ScreenY_;this.ShiftKey=ShiftKey_;});FP=$pkg.MutationEvent=$newType(0,$kindStruct,"dom.MutationEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FQ=$pkg.OfflineAudioCompletionEvent=$newType(0,$kindStruct,"dom.OfflineAudioCompletionEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FR=$pkg.PageTransitionEvent=$newType(0,$kindStruct,"dom.PageTransitionEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FS=$pkg.PointerEvent=$newType(0,$kindStruct,"dom.PointerEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FT=$pkg.PopStateEvent=$newType(0,$kindStruct,"dom.PopStateEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FU=$pkg.ProgressEvent=$newType(0,$kindStruct,"dom.ProgressEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FV=$pkg.RelatedEvent=$newType(0,$kindStruct,"dom.RelatedEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FW=$pkg.RTCPeerConnectionIceEvent=$newType(0,$kindStruct,"dom.RTCPeerConnectionIceEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FX=$pkg.SensorEvent=$newType(0,$kindStruct,"dom.SensorEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FY=$pkg.StorageEvent=$newType(0,$kindStruct,"dom.StorageEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});FZ=$pkg.SVGEvent=$newType(0,$kindStruct,"dom.SVGEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GA=$pkg.SVGZoomEvent=$newType(0,$kindStruct,"dom.SVGZoomEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GB=$pkg.TimeEvent=$newType(0,$kindStruct,"dom.TimeEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GC=$pkg.TouchEvent=$newType(0,$kindStruct,"dom.TouchEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GD=$pkg.TrackEvent=$newType(0,$kindStruct,"dom.TrackEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GE=$pkg.TransitionEvent=$newType(0,$kindStruct,"dom.TransitionEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GF=$pkg.UIEvent=$newType(0,$kindStruct,"dom.UIEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GG=$pkg.UserProximityEvent=$newType(0,$kindStruct,"dom.UserProximityEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;return;}this.BasicEvent=BasicEvent_;});GH=$pkg.WheelEvent=$newType(0,$kindStruct,"dom.WheelEvent",true,"honnef.co/go/js/dom",true,function(BasicEvent_,DeltaX_,DeltaY_,DeltaZ_,DeltaMode_){this.$val=this;if(arguments.length===0){this.BasicEvent=HT.nil;this.DeltaX=0;this.DeltaY=0;this.DeltaZ=0;this.DeltaMode=0;return;}this.BasicEvent=BasicEvent_;this.DeltaX=DeltaX_;this.DeltaY=DeltaY_;this.DeltaZ=DeltaZ_;this.DeltaMode=DeltaMode_;});GJ=$sliceType($emptyInterface);GK=$ptrType(C.Object);GL=$sliceType(GK);GM=$sliceType(BH);GN=$sliceType(BJ);GO=$sliceType(AI);GP=$ptrType(BN);GQ=$ptrType(AG);GR=$ptrType(CZ);GS=$ptrType(B.Location);GT=$ptrType(CI);GU=$ptrType(CV);GV=$sliceType(GU);GW=$ptrType(DH);GX=$sliceType(GW);GY=$sliceType($String);GZ=$sliceType(GT);HA=$ptrType(CM);HB=$ptrType(CQ);HC=$sliceType(HB);HD=$ptrType(CF);HE=$sliceType(HD);HF=$ptrType(DO);HG=$sliceType(HF);HH=$ptrType(EK);HI=$funcType([],[],false);HJ=$funcType([GK],[],false);HK=$ptrType(CS);HL=$sliceType(HK);HM=$ptrType(CC);HN=$ptrType(BR);HO=$sliceType(HN);HP=$ptrType(DU);HQ=$sliceType(HP);HR=$ptrType(DZ);HS=$sliceType(HR);HT=$ptrType(EO);HU=$ptrType(GF);HV=$ptrType(Z);HW=$funcType([EN],[],false);HX=$sliceType(BF);HY=$ptrType(AH);HZ=$ptrType(BI);IA=$ptrType(AE);IB=$ptrType(AF);IC=$mapType($String,$String);ID=$ptrType(EJ);IE=$ptrType(BB);IF=$funcType([B.Duration],[],false);IG=$ptrType(AP);IH=$ptrType(AM);II=$funcType([AY],[],false);IJ=$funcType([AW],[],false);IK=$ptrType(AW);IL=$ptrType(AZ);IM=$ptrType(BO);IN=$ptrType(BP);IO=$ptrType(BQ);IP=$ptrType(BU);IQ=$ptrType(BW);IR=$ptrType(BX);IS=$ptrType(BZ);IT=$ptrType(BY);IU=$ptrType(CG);IV=$ptrType(CP);IW=$ptrType(CR);IX=$ptrType(CT);IY=$ptrType(CW);IZ=$ptrType(CX);JA=$ptrType(CY);JB=$ptrType(DF);JC=$ptrType(DI);JD=$ptrType(DP);JE=$ptrType(EA);JF=$ptrType(EB);JG=$ptrType(EE);JH=$ptrType(EF);JI=$ptrType(FL);JJ=$ptrType(FO);D=function(a){var $ptr,a;if(a===null||a===undefined){return"";}return $internalize(a,$String);};E=function(a,b,c){var $ptr,a,b,c,d,e,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);d=$ifaceNil;$deferred.push([(function(){var $ptr,e,f,g,h;e=$recover();if($interfaceIsEqual(e,$ifaceNil)){return;}f=$assertType(e,$error,true);g=f[0];h=f[1];if(h&&!($interfaceIsEqual(g,$ifaceNil))){d=g;}else{$panic(e);}}),[]]);(e=a,e[$externalize(b,$String)].apply(e,$externalize(c,GJ)));d=$ifaceNil;return d;}catch(err){$err=err;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return d;}}};F=function(a){var $ptr,a,b;b=a.node;if(!(b===undefined)){return b.constructor;}return a.constructor;};G=function(a){var $ptr,a,b,c;b=GL.nil;c=0;while(true){if(!(c<$parseInt(a.length))){break;}b=$append(b,a[c]);c=c+(1)>>0;}return b;};H=function(a){var $ptr,a,b,c,d;if(a.constructor===$global.Array){return G(a);}b=GL.nil;c=$parseInt(a.length)>>0;d=0;while(true){if(!(d>0;}return b;};I=function(a){var $ptr,a,b,c,d,e;b=GM.nil;c=H(a);d=0;while(true){if(!(d=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+d]);b=$append(b,S(e));d++;}return b;};J=function(a){var $ptr,a,b,c,d,e;b=GN.nil;c=H(a);d=0;while(true){if(!(d=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+d]);b=$append(b,T(e));d++;}return b;};K=function(a){var $ptr,a,b,c,d,e;b=GO.nil;c=H(a);d=0;while(true){if(!(d=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+d]);b=$append(b,U(e));d++;}return b;};Q=function(a){var $ptr,a,b;b=F(a);if(b===($global.HTMLDocument)){return new AF.ptr(new AE.ptr(new BI.ptr(a)));}else{return new AE.ptr(new BI.ptr(a));}};R=function(a){var $ptr,a;F(a);return new AD.ptr(new BI.ptr(a));};S=function(a){var $ptr,a,b;if(a===null||a===undefined){return $ifaceNil;}b=F(a);if(b===($global.Text)){return new EK.ptr(new BI.ptr(a));}else{return T(a);}};T=function(a){var $ptr,a;if(a===null||a===undefined){return $ifaceNil;}F(a);return U(a);};U=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return $ifaceNil;}b=new BN.ptr(new BO.ptr(new BI.ptr(a)));c=F(a);d=c;if(d===($global.HTMLAnchorElement)){return new BP.ptr(b,new AG.ptr(a,"","","","","","","","","","",""),"","",0,"","","");}else if(d===($global.HTMLAppletElement)){return new BQ.ptr(b,"","","","","","",0,"","");}else if(d===($global.HTMLAreaElement)){return new BR.ptr(b,new AG.ptr(a,"","","","","","","","","","",""),"","","","","","",0,"","");}else if(d===($global.HTMLAudioElement)){return new BS.ptr(new CZ.ptr(b,false));}else if(d===($global.HTMLBaseElement)){return new BU.ptr(b);}else if(d===($global.HTMLBodyElement)){return new BV.ptr(b);}else if(d===($global.HTMLBRElement)){return new BT.ptr(b);}else if(d===($global.HTMLButtonElement)){return new BX.ptr(b,false,false,"","","",false,"","",0,"","","",false);}else if(d===($global.HTMLCanvasElement)){return new BY.ptr(b,0,0);}else if(d===($global.HTMLDataElement)){return new CB.ptr(b,"");}else if(d===($global.HTMLDataListElement)){return new CC.ptr(b);}else if(d===($global.HTMLDirectoryElement)){return new CD.ptr(b);}else if(d===($global.HTMLDivElement)){return new CE.ptr(b);}else if(d===($global.HTMLDListElement)){return new CA.ptr(b);}else if(d===($global.HTMLEmbedElement)){return new CF.ptr(b,"","","");}else if(d===($global.HTMLFieldSetElement)){return new CG.ptr(b,false,"","","",false);}else if(d===($global.HTMLFontElement)){return new CH.ptr(b);}else if(d===($global.HTMLFormElement)){return new CI.ptr(b,"","","","","",0,"","",false,"");}else if(d===($global.HTMLFrameElement)){return new CJ.ptr(b);}else if(d===($global.HTMLFrameSetElement)){return new CK.ptr(b);}else if(d===($global.HTMLHeadElement)){return new CM.ptr(b);}else if(d===($global.HTMLHeadingElement)){return new CN.ptr(b);}else if(d===($global.HTMLHtmlElement)){return new CO.ptr(b);}else if(d===($global.HTMLHRElement)){return new CL.ptr(b);}else if(d===($global.HTMLIFrameElement)){return new CP.ptr(b,"","","","","",false);}else if(d===($global.HTMLImageElement)){return new CQ.ptr(b,false,"",0,false,0,0,"","",0);}else if(d===($global.HTMLInputElement)){return new CR.ptr(b,"","","",false,false,false,"","",false,"","","",false,"","",false,"",0,"",false,"","","",false,false,"",0,0,0,"","",0,"","","",new B.Time.ptr(new $Int64(0,0),0,GS.nil),0,"",false);}else if(d===($global.HTMLKeygenElement)){return new CT.ptr(b,false,"",false,"","","","",false);}else if(d===($global.HTMLLabelElement)){return new CV.ptr(b,"");}else if(d===($global.HTMLLegendElement)){return new CW.ptr(b);}else if(d===($global.HTMLLIElement)){return new CU.ptr(b,0);}else if(d===($global.HTMLLinkElement)){return new CX.ptr(b,false,"","","","");}else if(d===($global.HTMLMapElement)){return new CY.ptr(b,"");}else if(d===($global.HTMLMediaElement)){return new CZ.ptr(b,false);}else if(d===($global.HTMLMenuElement)){return new DA.ptr(b);}else if(d===($global.HTMLMetaElement)){return new DB.ptr(b,"","","");}else if(d===($global.HTMLMeterElement)){return new DC.ptr(b,0,0,0,0,0);}else if(d===($global.HTMLModElement)){return new DD.ptr(b,"","");}else if(d===($global.HTMLObjectElement)){return new DF.ptr(b,"","","",0,"",false,"","","",false);}else if(d===($global.HTMLOListElement)){return new DE.ptr(b,false,0,"");}else if(d===($global.HTMLOptGroupElement)){return new DG.ptr(b,false,"");}else if(d===($global.HTMLOptionElement)){return new DH.ptr(b,false,false,0,"",false,"","");}else if(d===($global.HTMLOutputElement)){return new DI.ptr(b,"","","","","",false);}else if(d===($global.HTMLParagraphElement)){return new DJ.ptr(b);}else if(d===($global.HTMLParamElement)){return new DK.ptr(b,"","");}else if(d===($global.HTMLPreElement)){return new DL.ptr(b);}else if(d===($global.HTMLProgressElement)){return new DM.ptr(b,0,0,0);}else if(d===($global.HTMLQuoteElement)){return new DN.ptr(b,"");}else if(d===($global.HTMLScriptElement)){return new DO.ptr(b,"","","",false,false,"");}else if(d===($global.HTMLSelectElement)){return new DP.ptr(b,false,false,0,false,"",false,0,0,"","","",false);}else if(d===($global.HTMLSourceElement)){return new DQ.ptr(b,"","","");}else if(d===($global.HTMLSpanElement)){return new DR.ptr(b);}else if(d===($global.HTMLStyleElement)){return new DS.ptr(b);}else if(d===($global.HTMLTableElement)){return new DX.ptr(b);}else if(d===($global.HTMLTableCaptionElement)){return new DT.ptr(b);}else if(d===($global.HTMLTableCellElement)){return new DU.ptr(b,0,0,0);}else if(d===($global.HTMLTableDataCellElement)){return new DW.ptr(b);}else if(d===($global.HTMLTableHeaderCellElement)){return new DY.ptr(b,"","");}else if(d===($global.HTMLTableColElement)){return new DV.ptr(b,0);}else if(d===($global.HTMLTableRowElement)){return new DZ.ptr(b,0,0);}else if(d===($global.HTMLTableSectionElement)){return new EA.ptr(b);}else if(d===($global.HTMLTextAreaElement)){return new EB.ptr(b,"",false,0,"","",false,0,"","",false,false,0,"",0,0,0,0,"","","",false,"");}else if(d===($global.HTMLTimeElement)){return new EC.ptr(b,"");}else if(d===($global.HTMLTitleElement)){return new ED.ptr(b,"");}else if(d===($global.HTMLTrackElement)){return new EF.ptr(b,"","","","",false,0);}else if(d===($global.HTMLUListElement)){return new EG.ptr(b);}else if(d===($global.HTMLUnknownElement)){return new EH.ptr(b);}else if(d===($global.HTMLVideoElement)){return new EI.ptr(new CZ.ptr(b,false));}else if(d===($global.HTMLElement)){return b;}else{return b;}};V=function(a){var $ptr,a,b;b=U(a.form);if($interfaceIsEqual(b,$ifaceNil)){return GT.nil;}return $assertType(b,GT);};W=function(a){var $ptr,a,b,c,d,e,f,g;b=J(a.labels);c=$makeSlice(GV,b.$length);d=b;e=0;while(true){if(!(e=d.$length)?$throwRuntimeError("index out of range"):d.$array[d.$offset+e]);((f<0||f>=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+f]=$assertType(g,GU));e++;}return c;};X=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=J(a[$externalize(b,$String)]);d=$makeSlice(GX,c.$length);e=c;f=0;while(true){if(!(f=e.$length)?$throwRuntimeError("index out of range"):e.$array[e.$offset+f]);((g<0||g>=d.$length)?$throwRuntimeError("index out of range"):d.$array[d.$offset+g]=$assertType(h,GW));f++;}return d;};Y=function(){var $ptr;return new AM.ptr($global);};$pkg.GetWindow=Y;Z.ptr.prototype.Item=function(a){var $ptr,a,b,c;b=this;c=b.dtl.item(a);return D(c);};Z.prototype.Item=function(a){return this.$val.Item(a);};Z.ptr.prototype.Contains=function(a){var $ptr,a,b;b=this;return!!(b.dtl.contains($externalize(a,$String)));};Z.prototype.Contains=function(a){return this.$val.Contains(a);};Z.ptr.prototype.Add=function(a){var $ptr,a,b;b=this;b.dtl.add($externalize(a,$String));};Z.prototype.Add=function(a){return this.$val.Add(a);};Z.ptr.prototype.Remove=function(a){var $ptr,a,b;b=this;b.dtl.remove($externalize(a,$String));};Z.prototype.Remove=function(a){return this.$val.Remove(a);};Z.ptr.prototype.Toggle=function(a){var $ptr,a,b;b=this;b.dtl.toggle($externalize(a,$String));};Z.prototype.Toggle=function(a){return this.$val.Toggle(a);};Z.ptr.prototype.String=function(){var $ptr,a;a=this;if(!(a.sa==="")){return $internalize(a.o[$externalize(a.sa,$String)],$String);}if(a.dtl.constructor===$global.DOMSettableTokenList){return $internalize(a.dtl.value,$String);}return"";};Z.prototype.String=function(){return this.$val.String();};Z.ptr.prototype.Slice=function(){var $ptr,a,b,c,d;a=this;b=GY.nil;c=$parseInt(a.dtl.length)>>0;d=0;while(true){if(!(d>0;}return b;};Z.prototype.Slice=function(){return this.$val.Slice();};Z.ptr.prototype.SetString=function(a){var $ptr,a,b;b=this;if(!(b.sa==="")){b.o[$externalize(b.sa,$String)]=$externalize(a,$String);return;}if(b.dtl.constructor===$global.DOMSettableTokenList){b.dtl.value=$externalize(a,$String);return;}$panic(new $String("no way to SetString on this TokenList"));};Z.prototype.SetString=function(a){return this.$val.SetString(a);};Z.ptr.prototype.Set=function(a){var $ptr,a,b;b=this;b.SetString(A.Join(a," "));};Z.prototype.Set=function(a){return this.$val.Set(a);};AD.ptr.prototype.GetElementByID=function(a){var $ptr,a,b;b=$clone(this,AD);return T(b.BasicNode.Object.getElementById($externalize(a,$String)));};AD.prototype.GetElementByID=function(a){return this.$val.GetElementByID(a);};AD.ptr.prototype.QuerySelector=function(a){var $ptr,a,b;b=$clone(this,AD);return(new BO.ptr(new BI.ptr(b.BasicNode.Object))).QuerySelector(a);};AD.prototype.QuerySelector=function(a){return this.$val.QuerySelector(a);};AD.ptr.prototype.QuerySelectorAll=function(a){var $ptr,a,b;b=$clone(this,AD);return(new BO.ptr(new BI.ptr(b.BasicNode.Object))).QuerySelectorAll(a);};AD.prototype.QuerySelectorAll=function(a){return this.$val.QuerySelectorAll(a);};AF.ptr.prototype.ActiveElement=function(){var $ptr,a;a=this;return U(a.document.BasicNode.Object.activeElement);};AF.prototype.ActiveElement=function(){return this.$val.ActiveElement();};AF.ptr.prototype.Body=function(){var $ptr,a;a=this;return U(a.document.BasicNode.Object.body);};AF.prototype.Body=function(){return this.$val.Body();};AF.ptr.prototype.Cookie=function(){var $ptr,a;a=this;return $internalize(a.document.BasicNode.Object.cookie,$String);};AF.prototype.Cookie=function(){return this.$val.Cookie();};AF.ptr.prototype.SetCookie=function(a){var $ptr,a,b;b=this;b.document.BasicNode.Object.cookie=$externalize(a,$String);};AF.prototype.SetCookie=function(a){return this.$val.SetCookie(a);};AF.ptr.prototype.DefaultView=function(){var $ptr,a;a=this;return new AM.ptr(a.document.BasicNode.Object.defaultView);};AF.prototype.DefaultView=function(){return this.$val.DefaultView();};AF.ptr.prototype.DesignMode=function(){var $ptr,a,b;a=this;b=$internalize(a.document.BasicNode.Object.designMode,$String);if(b==="off"){return false;}return true;};AF.prototype.DesignMode=function(){return this.$val.DesignMode();};AF.ptr.prototype.SetDesignMode=function(a){var $ptr,a,b,c;b=this;c="off";if(a){c="on";}b.document.BasicNode.Object.designMode=$externalize(c,$String);};AF.prototype.SetDesignMode=function(a){return this.$val.SetDesignMode(a);};AF.ptr.prototype.Domain=function(){var $ptr,a;a=this;return $internalize(a.document.BasicNode.Object.domain,$String);};AF.prototype.Domain=function(){return this.$val.Domain();};AF.ptr.prototype.SetDomain=function(a){var $ptr,a,b;b=this;b.document.BasicNode.Object.domain=$externalize(a,$String);};AF.prototype.SetDomain=function(a){return this.$val.SetDomain(a);};AF.ptr.prototype.Forms=function(){var $ptr,a,b,c,d,e;a=this;b=GZ.nil;c=a.document.BasicNode.Object.forms;d=$parseInt(c.length)>>0;e=0;while(true){if(!(e>0;}return b;};AF.prototype.Forms=function(){return this.$val.Forms();};AF.ptr.prototype.Head=function(){var $ptr,a,b;a=this;b=T(a.document.BasicNode.Object.head);if($interfaceIsEqual(b,$ifaceNil)){return HA.nil;}return $assertType(b,HA);};AF.prototype.Head=function(){return this.$val.Head();};AF.ptr.prototype.Images=function(){var $ptr,a,b,c,d,e;a=this;b=HC.nil;c=a.document.BasicNode.Object.images;d=$parseInt(c.length)>>0;e=0;while(true){if(!(e>0;}return b;};AF.prototype.Images=function(){return this.$val.Images();};AF.ptr.prototype.LastModified=function(){var $ptr,a;a=this;return $assertType($internalize(a.document.BasicNode.Object.lastModified,$emptyInterface),B.Time);};AF.prototype.LastModified=function(){return this.$val.LastModified();};AF.ptr.prototype.Links=function(){var $ptr,a,b,c,d,e;a=this;b=GO.nil;c=a.document.BasicNode.Object.links;d=$parseInt(c.length)>>0;e=0;while(true){if(!(e>0;}return b;};AF.prototype.Links=function(){return this.$val.Links();};AF.ptr.prototype.Location=function(){var $ptr,a,b;a=this;b=a.document.BasicNode.Object.location;return new AH.ptr(b,new AG.ptr(b,"","","","","","","","","","",""));};AF.prototype.Location=function(){return this.$val.Location();};AF.ptr.prototype.Plugins=function(){var $ptr,a,b,c,d,e;a=this;b=HE.nil;c=a.document.BasicNode.Object.plugins;d=$parseInt(c.length)>>0;e=0;while(true){if(!(e>0;}return b;};AF.prototype.Plugins=function(){return this.$val.Plugins();};AF.ptr.prototype.ReadyState=function(){var $ptr,a;a=this;return $internalize(a.document.BasicNode.Object.readyState,$String);};AF.prototype.ReadyState=function(){return this.$val.ReadyState();};AF.ptr.prototype.Referrer=function(){var $ptr,a;a=this;return $internalize(a.document.BasicNode.Object.referrer,$String);};AF.prototype.Referrer=function(){return this.$val.Referrer();};AF.ptr.prototype.Scripts=function(){var $ptr,a,b,c,d,e;a=this;b=HG.nil;c=a.document.BasicNode.Object.scripts;d=$parseInt(c.length)>>0;e=0;while(true){if(!(e>0;}return b;};AF.prototype.Scripts=function(){return this.$val.Scripts();};AF.ptr.prototype.Title=function(){var $ptr,a;a=this;return $internalize(a.document.BasicNode.Object.title,$String);};AF.prototype.Title=function(){return this.$val.Title();};AF.ptr.prototype.SetTitle=function(a){var $ptr,a,b;b=this;b.document.BasicNode.Object.title=$externalize(a,$String);};AF.prototype.SetTitle=function(a){return this.$val.SetTitle(a);};AF.ptr.prototype.URL=function(){var $ptr,a;a=this;return $internalize(a.document.BasicNode.Object.URL,$String);};AF.prototype.URL=function(){return this.$val.URL();};AE.ptr.prototype.Async=function(){var $ptr,a;a=$clone(this,AE);return!!(a.BasicNode.Object.async);};AE.prototype.Async=function(){return this.$val.Async();};AE.ptr.prototype.SetAsync=function(a){var $ptr,a,b;b=$clone(this,AE);b.BasicNode.Object.async=$externalize(a,$Bool);};AE.prototype.SetAsync=function(a){return this.$val.SetAsync(a);};AE.ptr.prototype.Doctype=function(){var $ptr,a;a=$clone(this,AE);$panic(new $String("not implemented"));};AE.prototype.Doctype=function(){return this.$val.Doctype();};AE.ptr.prototype.DocumentElement=function(){var $ptr,a;a=$clone(this,AE);return T(a.BasicNode.Object.documentElement);};AE.prototype.DocumentElement=function(){return this.$val.DocumentElement();};AE.ptr.prototype.DocumentURI=function(){var $ptr,a;a=$clone(this,AE);return $internalize(a.BasicNode.Object.documentURI,$String);};AE.prototype.DocumentURI=function(){return this.$val.DocumentURI();};AE.ptr.prototype.Implementation=function(){var $ptr,a;a=$clone(this,AE);$panic(new $String("not implemented"));};AE.prototype.Implementation=function(){return this.$val.Implementation();};AE.ptr.prototype.LastStyleSheetSet=function(){var $ptr,a;a=$clone(this,AE);return $internalize(a.BasicNode.Object.lastStyleSheetSet,$String);};AE.prototype.LastStyleSheetSet=function(){return this.$val.LastStyleSheetSet();};AE.ptr.prototype.PreferredStyleSheetSet=function(){var $ptr,a;a=$clone(this,AE);return $internalize(a.BasicNode.Object.preferredStyleSheetSet,$String);};AE.prototype.PreferredStyleSheetSet=function(){return this.$val.PreferredStyleSheetSet();};AE.ptr.prototype.SelectedStyleSheetSet=function(){var $ptr,a;a=$clone(this,AE);return $internalize(a.BasicNode.Object.selectedStyleSheetSet,$String);};AE.prototype.SelectedStyleSheetSet=function(){return this.$val.SelectedStyleSheetSet();};AE.ptr.prototype.StyleSheets=function(){var $ptr,a;a=$clone(this,AE);$panic(new $String("not implemented"));};AE.prototype.StyleSheets=function(){return this.$val.StyleSheets();};AE.ptr.prototype.StyleSheetSets=function(){var $ptr,a;a=$clone(this,AE);$panic(new $String("not implemented"));};AE.prototype.StyleSheetSets=function(){return this.$val.StyleSheetSets();};AE.ptr.prototype.AdoptNode=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$clone(this,AE);c=a.Underlying();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=S(b.BasicNode.Object.adoptNode(c));$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;return d;}return;}if($f===undefined){$f={$blk:AE.ptr.prototype.AdoptNode};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AE.prototype.AdoptNode=function(a){return this.$val.AdoptNode(a);};AE.ptr.prototype.ImportNode=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(this,AE);d=a.Underlying();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=S(c.BasicNode.Object.importNode(d,$externalize(b,$Bool)));$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;return e;}return;}if($f===undefined){$f={$blk:AE.ptr.prototype.ImportNode};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AE.prototype.ImportNode=function(a,b){return this.$val.ImportNode(a,b);};AE.ptr.prototype.CreateDocumentFragment=function(){var $ptr,a;a=$clone(this,AE);return R(a.BasicNode.Object.createDocumentFragment());};AE.prototype.CreateDocumentFragment=function(){return this.$val.CreateDocumentFragment();};AE.ptr.prototype.CreateElement=function(a){var $ptr,a,b;b=$clone(this,AE);return T(b.BasicNode.Object.createElement($externalize(a,$String)));};AE.prototype.CreateElement=function(a){return this.$val.CreateElement(a);};AE.ptr.prototype.CreateElementNS=function(a,b){var $ptr,a,b,c;c=$clone(this,AE);return T(c.BasicNode.Object.createElement($externalize(a,$String),$externalize(b,$String)));};AE.prototype.CreateElementNS=function(a,b){return this.$val.CreateElementNS(a,b);};AE.ptr.prototype.CreateTextNode=function(a){var $ptr,a,b;b=$clone(this,AE);return $assertType(S(b.BasicNode.Object.createTextNode($externalize(a,$String))),HH);};AE.prototype.CreateTextNode=function(a){return this.$val.CreateTextNode(a);};AE.ptr.prototype.ElementFromPoint=function(a,b){var $ptr,a,b,c;c=$clone(this,AE);return T(c.BasicNode.Object.elementFromPoint(a,b));};AE.prototype.ElementFromPoint=function(a,b){return this.$val.ElementFromPoint(a,b);};AE.ptr.prototype.EnableStyleSheetsForSet=function(a){var $ptr,a,b;b=$clone(this,AE);b.BasicNode.Object.enableStyleSheetsForSet($externalize(a,$String));};AE.prototype.EnableStyleSheetsForSet=function(a){return this.$val.EnableStyleSheetsForSet(a);};AE.ptr.prototype.GetElementsByClassName=function(a){var $ptr,a,b;b=$clone(this,AE);return(new BO.ptr(new BI.ptr(b.BasicNode.Object))).GetElementsByClassName(a);};AE.prototype.GetElementsByClassName=function(a){return this.$val.GetElementsByClassName(a);};AE.ptr.prototype.GetElementsByTagName=function(a){var $ptr,a,b;b=$clone(this,AE);return(new BO.ptr(new BI.ptr(b.BasicNode.Object))).GetElementsByTagName(a);};AE.prototype.GetElementsByTagName=function(a){return this.$val.GetElementsByTagName(a);};AE.ptr.prototype.GetElementsByTagNameNS=function(a,b){var $ptr,a,b,c;c=$clone(this,AE);return(new BO.ptr(new BI.ptr(c.BasicNode.Object))).GetElementsByTagNameNS(a,b);};AE.prototype.GetElementsByTagNameNS=function(a,b){return this.$val.GetElementsByTagNameNS(a,b);};AE.ptr.prototype.GetElementByID=function(a){var $ptr,a,b;b=$clone(this,AE);return T(b.BasicNode.Object.getElementById($externalize(a,$String)));};AE.prototype.GetElementByID=function(a){return this.$val.GetElementByID(a);};AE.ptr.prototype.QuerySelector=function(a){var $ptr,a,b;b=$clone(this,AE);return(new BO.ptr(new BI.ptr(b.BasicNode.Object))).QuerySelector(a);};AE.prototype.QuerySelector=function(a){return this.$val.QuerySelector(a);};AE.ptr.prototype.QuerySelectorAll=function(a){var $ptr,a,b;b=$clone(this,AE);return(new BO.ptr(new BI.ptr(b.BasicNode.Object))).QuerySelectorAll(a);};AE.prototype.QuerySelectorAll=function(a){return this.$val.QuerySelectorAll(a);};AM.ptr.prototype.Console=function(){var $ptr,a;a=this;return new BB.ptr(a.Object.console);};AM.prototype.Console=function(){return this.$val.Console();};AM.ptr.prototype.Document=function(){var $ptr,a;a=this;return Q(a.Object.document);};AM.prototype.Document=function(){return this.$val.Document();};AM.ptr.prototype.FrameElement=function(){var $ptr,a;a=this;return T(a.Object.frameElement);};AM.prototype.FrameElement=function(){return this.$val.FrameElement();};AM.ptr.prototype.Location=function(){var $ptr,a,b;a=this;b=a.Object.location;return new AH.ptr(b,new AG.ptr(b,"","","","","","","","","","",""));};AM.prototype.Location=function(){return this.$val.Location();};AM.ptr.prototype.Name=function(){var $ptr,a;a=this;return $internalize(a.Object.name,$String);};AM.prototype.Name=function(){return this.$val.Name();};AM.ptr.prototype.SetName=function(a){var $ptr,a,b;b=this;b.Object.name=$externalize(a,$String);};AM.prototype.SetName=function(a){return this.$val.SetName(a);};AM.ptr.prototype.InnerHeight=function(){var $ptr,a;a=this;return $parseInt(a.Object.innerHeight)>>0;};AM.prototype.InnerHeight=function(){return this.$val.InnerHeight();};AM.ptr.prototype.InnerWidth=function(){var $ptr,a;a=this;return $parseInt(a.Object.innerWidth)>>0;};AM.prototype.InnerWidth=function(){return this.$val.InnerWidth();};AM.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.Object.length)>>0;};AM.prototype.Length=function(){return this.$val.Length();};AM.ptr.prototype.Opener=function(){var $ptr,a;a=this;return new AM.ptr(a.Object.opener);};AM.prototype.Opener=function(){return this.$val.Opener();};AM.ptr.prototype.OuterHeight=function(){var $ptr,a;a=this;return $parseInt(a.Object.outerHeight)>>0;};AM.prototype.OuterHeight=function(){return this.$val.OuterHeight();};AM.ptr.prototype.OuterWidth=function(){var $ptr,a;a=this;return $parseInt(a.Object.outerWidth)>>0;};AM.prototype.OuterWidth=function(){return this.$val.OuterWidth();};AM.ptr.prototype.ScrollX=function(){var $ptr,a;a=this;return $parseInt(a.Object.scrollX)>>0;};AM.prototype.ScrollX=function(){return this.$val.ScrollX();};AM.ptr.prototype.ScrollY=function(){var $ptr,a;a=this;return $parseInt(a.Object.scrollY)>>0;};AM.prototype.ScrollY=function(){return this.$val.ScrollY();};AM.ptr.prototype.Parent=function(){var $ptr,a;a=this;return new AM.ptr(a.Object.parent);};AM.prototype.Parent=function(){return this.$val.Parent();};AM.ptr.prototype.ScreenX=function(){var $ptr,a;a=this;return $parseInt(a.Object.screenX)>>0;};AM.prototype.ScreenX=function(){return this.$val.ScreenX();};AM.ptr.prototype.ScreenY=function(){var $ptr,a;a=this;return $parseInt(a.Object.screenY)>>0;};AM.prototype.ScreenY=function(){return this.$val.ScreenY();};AM.ptr.prototype.ScrollMaxX=function(){var $ptr,a;a=this;return $parseInt(a.Object.scrollMaxX)>>0;};AM.prototype.ScrollMaxX=function(){return this.$val.ScrollMaxX();};AM.ptr.prototype.ScrollMaxY=function(){var $ptr,a;a=this;return $parseInt(a.Object.scrollMaxY)>>0;};AM.prototype.ScrollMaxY=function(){return this.$val.ScrollMaxY();};AM.ptr.prototype.Top=function(){var $ptr,a;a=this;return new AM.ptr(a.Object.top);};AM.prototype.Top=function(){return this.$val.Top();};AM.ptr.prototype.History=function(){var $ptr,a;a=this;return $ifaceNil;};AM.prototype.History=function(){return this.$val.History();};AM.ptr.prototype.Navigator=function(){var $ptr,a;a=this;$panic(new $String("not implemented"));};AM.prototype.Navigator=function(){return this.$val.Navigator();};AM.ptr.prototype.Screen=function(){var $ptr,a;a=this;return new AP.ptr(a.Object.screen,0,0,0,0,0,0,0,0,0,0);};AM.prototype.Screen=function(){return this.$val.Screen();};AM.ptr.prototype.Alert=function(a){var $ptr,a,b;b=this;b.Object.alert($externalize(a,$String));};AM.prototype.Alert=function(a){return this.$val.Alert(a);};AM.ptr.prototype.Back=function(){var $ptr,a;a=this;a.Object.back();};AM.prototype.Back=function(){return this.$val.Back();};AM.ptr.prototype.Blur=function(){var $ptr,a;a=this;a.Object.blur();};AM.prototype.Blur=function(){return this.$val.Blur();};AM.ptr.prototype.ClearInterval=function(a){var $ptr,a,b;b=this;b.Object.clearInterval(a);};AM.prototype.ClearInterval=function(a){return this.$val.ClearInterval(a);};AM.ptr.prototype.ClearTimeout=function(a){var $ptr,a,b;b=this;b.Object.clearTimeout(a);};AM.prototype.ClearTimeout=function(a){return this.$val.ClearTimeout(a);};AM.ptr.prototype.Close=function(){var $ptr,a;a=this;a.Object.close();};AM.prototype.Close=function(){return this.$val.Close();};AM.ptr.prototype.Confirm=function(a){var $ptr,a,b;b=this;return!!(b.Object.confirm($externalize(a,$String)));};AM.prototype.Confirm=function(a){return this.$val.Confirm(a);};AM.ptr.prototype.Focus=function(){var $ptr,a;a=this;a.Object.focus();};AM.prototype.Focus=function(){return this.$val.Focus();};AM.ptr.prototype.Forward=function(){var $ptr,a;a=this;a.Object.forward();};AM.prototype.Forward=function(){return this.$val.Forward();};AM.ptr.prototype.GetComputedStyle=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$ifaceNil;if(!(b==="")){d=new $String(b);}e=a.Underlying();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new EJ.ptr(c.Object.getComputedStyle(e,$externalize(d,$emptyInterface)));return new EJ.ptr(c.Object.getComputedStyle(e,$externalize(d,$emptyInterface)));}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.GetComputedStyle};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.GetComputedStyle=function(a,b){return this.$val.GetComputedStyle(a,b);};AM.ptr.prototype.GetSelection=function(){var $ptr,a;a=this;$panic(new $String("not implemented"));};AM.prototype.GetSelection=function(){return this.$val.GetSelection();};AM.ptr.prototype.Home=function(){var $ptr,a;a=this;a.Object.home();};AM.prototype.Home=function(){return this.$val.Home();};AM.ptr.prototype.MoveBy=function(a,b){var $ptr,a,b,c;c=this;c.Object.moveBy(a,b);};AM.prototype.MoveBy=function(a,b){return this.$val.MoveBy(a,b);};AM.ptr.prototype.MoveTo=function(a,b){var $ptr,a,b,c;c=this;c.Object.moveTo(a,b);};AM.prototype.MoveTo=function(a,b){return this.$val.MoveTo(a,b);};AM.ptr.prototype.Open=function(a,b,c){var $ptr,a,b,c,d;d=this;return new AM.ptr(d.Object.open($externalize(a,$String),$externalize(b,$String),$externalize(c,$String)));};AM.prototype.Open=function(a,b,c){return this.$val.Open(a,b,c);};AM.ptr.prototype.OpenDialog=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;return new AM.ptr(e.Object.openDialog($externalize(a,$String),$externalize(b,$String),$externalize(c,$String),$externalize(d,GJ)));};AM.prototype.OpenDialog=function(a,b,c,d){return this.$val.OpenDialog(a,b,c,d);};AM.ptr.prototype.PostMessage=function(a,b,c){var $ptr,a,b,c,d;d=this;d.Object.postMessage($externalize(a,$String),$externalize(b,$String),$externalize(c,GJ));};AM.prototype.PostMessage=function(a,b,c){return this.$val.PostMessage(a,b,c);};AM.ptr.prototype.Print=function(){var $ptr,a;a=this;a.Object.print();};AM.prototype.Print=function(){return this.$val.Print();};AM.ptr.prototype.Prompt=function(a,b){var $ptr,a,b,c;c=this;return $internalize(c.Object.prompt($externalize(a,$String),$externalize(b,$String)),$String);};AM.prototype.Prompt=function(a,b){return this.$val.Prompt(a,b);};AM.ptr.prototype.ResizeBy=function(a,b){var $ptr,a,b,c;c=this;c.Object.resizeBy(a,b);};AM.prototype.ResizeBy=function(a,b){return this.$val.ResizeBy(a,b);};AM.ptr.prototype.ResizeTo=function(a,b){var $ptr,a,b,c;c=this;c.Object.resizeTo(a,b);};AM.prototype.ResizeTo=function(a,b){return this.$val.ResizeTo(a,b);};AM.ptr.prototype.Scroll=function(a,b){var $ptr,a,b,c;c=this;c.Object.scroll(a,b);};AM.prototype.Scroll=function(a,b){return this.$val.Scroll(a,b);};AM.ptr.prototype.ScrollBy=function(a,b){var $ptr,a,b,c;c=this;c.Object.scrollBy(a,b);};AM.prototype.ScrollBy=function(a,b){return this.$val.ScrollBy(a,b);};AM.ptr.prototype.ScrollByLines=function(a){var $ptr,a,b;b=this;b.Object.scrollByLines(a);};AM.prototype.ScrollByLines=function(a){return this.$val.ScrollByLines(a);};AM.ptr.prototype.ScrollTo=function(a,b){var $ptr,a,b,c;c=this;c.Object.scrollTo(a,b);};AM.prototype.ScrollTo=function(a,b){return this.$val.ScrollTo(a,b);};AM.ptr.prototype.SetCursor=function(a){var $ptr,a,b;b=this;b.Object.setCursor($externalize(a,$String));};AM.prototype.SetCursor=function(a){return this.$val.SetCursor(a);};AM.ptr.prototype.SetInterval=function(a,b){var $ptr,a,b,c;c=this;return $parseInt(c.Object.setInterval($externalize(a,HI),b))>>0;};AM.prototype.SetInterval=function(a,b){return this.$val.SetInterval(a,b);};AM.ptr.prototype.SetTimeout=function(a,b){var $ptr,a,b,c;c=this;return $parseInt(c.Object.setTimeout($externalize(a,HI),b))>>0;};AM.prototype.SetTimeout=function(a,b){return this.$val.SetTimeout(a,b);};AM.ptr.prototype.Stop=function(){var $ptr,a;a=this;a.Object.stop();};AM.prototype.Stop=function(){return this.$val.Stop();};AM.ptr.prototype.AddEventListener=function(a,b,c){var $ptr,a,b,c,d,e;d=this;e=(function $b(e){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c(EM(e));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;});d.Object.addEventListener($externalize(a,$String),$externalize(e,HJ),$externalize(b,$Bool));return e;};AM.prototype.AddEventListener=function(a,b,c){return this.$val.AddEventListener(a,b,c);};AM.ptr.prototype.RemoveEventListener=function(a,b,c){var $ptr,a,b,c,d;d=this;d.Object.removeEventListener($externalize(a,$String),$externalize(c,HJ),$externalize(b,$Bool));};AM.prototype.RemoveEventListener=function(a,b,c){return this.$val.RemoveEventListener(a,b,c);};AN=function(a){var $ptr,a;return new B.Duration(0,$parseFloat(a)*1e+06);};AM.ptr.prototype.RequestAnimationFrame=function(a){var $ptr,a,b,c;b=this;c=(function $b(c){var $ptr,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=a(AN(c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;});return $parseInt(b.Object.requestAnimationFrame($externalize(c,HJ)))>>0;};AM.prototype.RequestAnimationFrame=function(a){return this.$val.RequestAnimationFrame(a);};AM.ptr.prototype.CancelAnimationFrame=function(a){var $ptr,a,b;b=this;b.Object.cancelAnimationFrame(a);};AM.prototype.CancelAnimationFrame=function(a){return this.$val.CancelAnimationFrame(a);};AW.ptr.prototype.Error=function(){var $ptr,a;a=this;return $internalize(a.Object.message(),$String);};AW.prototype.Error=function(){return this.$val.Error();};BI.ptr.prototype.Underlying=function(){var $ptr,a;a=this;return a.Object;};BI.prototype.Underlying=function(){return this.$val.Underlying();};BI.ptr.prototype.AddEventListener=function(a,b,c){var $ptr,a,b,c,d,e;d=this;e=(function $b(e){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c(EM(e));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;});d.Object.addEventListener($externalize(a,$String),$externalize(e,HJ),$externalize(b,$Bool));return e;};BI.prototype.AddEventListener=function(a,b,c){return this.$val.AddEventListener(a,b,c);};BI.ptr.prototype.RemoveEventListener=function(a,b,c){var $ptr,a,b,c,d;d=this;d.Object.removeEventListener($externalize(a,$String),$externalize(c,HJ),$externalize(b,$Bool));};BI.prototype.RemoveEventListener=function(a,b,c){return this.$val.RemoveEventListener(a,b,c);};BI.ptr.prototype.BaseURI=function(){var $ptr,a;a=this;return $internalize(a.Object.baseURI,$String);};BI.prototype.BaseURI=function(){return this.$val.BaseURI();};BI.ptr.prototype.ChildNodes=function(){var $ptr,a;a=this;return I(a.Object.childNodes);};BI.prototype.ChildNodes=function(){return this.$val.ChildNodes();};BI.ptr.prototype.FirstChild=function(){var $ptr,a;a=this;return S(a.Object.firstChild);};BI.prototype.FirstChild=function(){return this.$val.FirstChild();};BI.ptr.prototype.LastChild=function(){var $ptr,a;a=this;return S(a.Object.lastChild);};BI.prototype.LastChild=function(){return this.$val.LastChild();};BI.ptr.prototype.NextSibling=function(){var $ptr,a;a=this;return S(a.Object.nextSibling);};BI.prototype.NextSibling=function(){return this.$val.NextSibling();};BI.ptr.prototype.NodeName=function(){var $ptr,a;a=this;return $internalize(a.Object.nodeName,$String);};BI.prototype.NodeName=function(){return this.$val.NodeName();};BI.ptr.prototype.NodeType=function(){var $ptr,a;a=this;return $parseInt(a.Object.nodeType)>>0;};BI.prototype.NodeType=function(){return this.$val.NodeType();};BI.ptr.prototype.NodeValue=function(){var $ptr,a;a=this;return D(a.Object.nodeValue);};BI.prototype.NodeValue=function(){return this.$val.NodeValue();};BI.ptr.prototype.SetNodeValue=function(a){var $ptr,a,b;b=this;b.Object.nodeValue=$externalize(a,$String);};BI.prototype.SetNodeValue=function(a){return this.$val.SetNodeValue(a);};BI.ptr.prototype.OwnerDocument=function(){var $ptr,a;a=this;$panic(new $String("not implemented"));};BI.prototype.OwnerDocument=function(){return this.$val.OwnerDocument();};BI.ptr.prototype.ParentNode=function(){var $ptr,a;a=this;return S(a.Object.parentNode);};BI.prototype.ParentNode=function(){return this.$val.ParentNode();};BI.ptr.prototype.ParentElement=function(){var $ptr,a;a=this;return T(a.Object.parentElement);};BI.prototype.ParentElement=function(){return this.$val.ParentElement();};BI.ptr.prototype.PreviousSibling=function(){var $ptr,a;a=this;return S(a.Object.previousSibling);};BI.prototype.PreviousSibling=function(){return this.$val.PreviousSibling();};BI.ptr.prototype.TextContent=function(){var $ptr,a;a=this;return D(a.Object.textContent);};BI.prototype.TextContent=function(){return this.$val.TextContent();};BI.ptr.prototype.SetTextContent=function(a){var $ptr,a,b;b=this;b.Object.textContent=$externalize(a,$String);};BI.prototype.SetTextContent=function(a){return this.$val.SetTextContent(a);};BI.ptr.prototype.AppendChild=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a.Underlying();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b.Object.appendChild(c);$s=-1;return;return;}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.AppendChild};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.AppendChild=function(a){return this.$val.AppendChild(a);};BI.ptr.prototype.CloneNode=function(a){var $ptr,a,b;b=this;return S(b.Object.cloneNode($externalize(a,$Bool)));};BI.prototype.CloneNode=function(a){return this.$val.CloneNode(a);};BI.ptr.prototype.CompareDocumentPosition=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a.Underlying();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return $parseInt(b.Object.compareDocumentPosition(c))>>0;return $parseInt(b.Object.compareDocumentPosition(c))>>0;}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.CompareDocumentPosition};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.CompareDocumentPosition=function(a){return this.$val.CompareDocumentPosition(a);};BI.ptr.prototype.Contains=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a.Underlying();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return!!(b.Object.contains(c));return!!(b.Object.contains(c));}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.Contains};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.Contains=function(a){return this.$val.Contains(a);};BI.ptr.prototype.HasChildNodes=function(){var $ptr,a;a=this;return!!(a.Object.hasChildNodes());};BI.prototype.HasChildNodes=function(){return this.$val.HasChildNodes();};BI.ptr.prototype.InsertBefore=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$ifaceNil;if(!($interfaceIsEqual(b,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=b.Underlying();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=new $jsObjectPtr(e);case 2:f=a.Underlying();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}c.Object.insertBefore(f,$externalize(d,$emptyInterface));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.InsertBefore};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.InsertBefore=function(a,b){return this.$val.InsertBefore(a,b);};BI.ptr.prototype.IsDefaultNamespace=function(a){var $ptr,a,b;b=this;return!!(b.Object.isDefaultNamespace($externalize(a,$String)));};BI.prototype.IsDefaultNamespace=function(a){return this.$val.IsDefaultNamespace(a);};BI.ptr.prototype.IsEqualNode=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a.Underlying();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return!!(b.Object.isEqualNode(c));return!!(b.Object.isEqualNode(c));}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.IsEqualNode};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.IsEqualNode=function(a){return this.$val.IsEqualNode(a);};BI.ptr.prototype.LookupPrefix=function(){var $ptr,a;a=this;return $internalize(a.Object.lookupPrefix(),$String);};BI.prototype.LookupPrefix=function(){return this.$val.LookupPrefix();};BI.ptr.prototype.LookupNamespaceURI=function(a){var $ptr,a,b;b=this;return D(b.Object.lookupNamespaceURI($externalize(a,$String)));};BI.prototype.LookupNamespaceURI=function(a){return this.$val.LookupNamespaceURI(a);};BI.ptr.prototype.Normalize=function(){var $ptr,a;a=this;a.Object.normalize();};BI.prototype.Normalize=function(){return this.$val.Normalize();};BI.ptr.prototype.RemoveChild=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a.Underlying();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b.Object.removeChild(c);$s=-1;return;return;}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.RemoveChild};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.RemoveChild=function(a){return this.$val.RemoveChild(a);};BI.ptr.prototype.ReplaceChild=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.Underlying();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=b.Underlying();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}c.Object.replaceChild(d,e);$s=-1;return;return;}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.ReplaceChild};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.ReplaceChild=function(a,b){return this.$val.ReplaceChild(a,b);};BN.ptr.prototype.AccessKey=function(){var $ptr,a;a=this;return $internalize(a.BasicElement.BasicNode.Object.accessKey,$String);};BN.prototype.AccessKey=function(){return this.$val.AccessKey();};BN.ptr.prototype.Dataset=function(){var $ptr,a,b,c,d,e,f,g,h;a=this;b=a.BasicElement.BasicNode.Object.dataset;c=$makeMap($String.keyFor,[]);d=C.Keys(b);e=d;f=0;while(true){if(!(f=e.$length)?$throwRuntimeError("index out of range"):e.$array[e.$offset+f]);h=g;(c||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(h)]={k:h,v:$internalize(b[$externalize(g,$String)],$String)};f++;}return c;};BN.prototype.Dataset=function(){return this.$val.Dataset();};BN.ptr.prototype.SetAccessKey=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.accessKey=$externalize(a,$String);};BN.prototype.SetAccessKey=function(a){return this.$val.SetAccessKey(a);};BN.ptr.prototype.AccessKeyLabel=function(){var $ptr,a;a=this;return $internalize(a.BasicElement.BasicNode.Object.accessKeyLabel,$String);};BN.prototype.AccessKeyLabel=function(){return this.$val.AccessKeyLabel();};BN.ptr.prototype.SetAccessKeyLabel=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.accessKeyLabel=$externalize(a,$String);};BN.prototype.SetAccessKeyLabel=function(a){return this.$val.SetAccessKeyLabel(a);};BN.ptr.prototype.ContentEditable=function(){var $ptr,a;a=this;return $internalize(a.BasicElement.BasicNode.Object.contentEditable,$String);};BN.prototype.ContentEditable=function(){return this.$val.ContentEditable();};BN.ptr.prototype.SetContentEditable=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.contentEditable=$externalize(a,$String);};BN.prototype.SetContentEditable=function(a){return this.$val.SetContentEditable(a);};BN.ptr.prototype.IsContentEditable=function(){var $ptr,a;a=this;return!!(a.BasicElement.BasicNode.Object.isContentEditable);};BN.prototype.IsContentEditable=function(){return this.$val.IsContentEditable();};BN.ptr.prototype.Dir=function(){var $ptr,a;a=this;return $internalize(a.BasicElement.BasicNode.Object.dir,$String);};BN.prototype.Dir=function(){return this.$val.Dir();};BN.ptr.prototype.SetDir=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.dir=$externalize(a,$String);};BN.prototype.SetDir=function(a){return this.$val.SetDir(a);};BN.ptr.prototype.Draggable=function(){var $ptr,a;a=this;return!!(a.BasicElement.BasicNode.Object.draggable);};BN.prototype.Draggable=function(){return this.$val.Draggable();};BN.ptr.prototype.SetDraggable=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.draggable=$externalize(a,$Bool);};BN.prototype.SetDraggable=function(a){return this.$val.SetDraggable(a);};BN.ptr.prototype.Lang=function(){var $ptr,a;a=this;return $internalize(a.BasicElement.BasicNode.Object.lang,$String);};BN.prototype.Lang=function(){return this.$val.Lang();};BN.ptr.prototype.SetLang=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.lang=$externalize(a,$String);};BN.prototype.SetLang=function(a){return this.$val.SetLang(a);};BN.ptr.prototype.OffsetHeight=function(){var $ptr,a;a=this;return $parseFloat(a.BasicElement.BasicNode.Object.offsetHeight);};BN.prototype.OffsetHeight=function(){return this.$val.OffsetHeight();};BN.ptr.prototype.OffsetLeft=function(){var $ptr,a;a=this;return $parseFloat(a.BasicElement.BasicNode.Object.offsetLeft);};BN.prototype.OffsetLeft=function(){return this.$val.OffsetLeft();};BN.ptr.prototype.OffsetParent=function(){var $ptr,a;a=this;return U(a.BasicElement.BasicNode.Object.offsetParent);};BN.prototype.OffsetParent=function(){return this.$val.OffsetParent();};BN.ptr.prototype.OffsetTop=function(){var $ptr,a;a=this;return $parseFloat(a.BasicElement.BasicNode.Object.offsetTop);};BN.prototype.OffsetTop=function(){return this.$val.OffsetTop();};BN.ptr.prototype.OffsetWidth=function(){var $ptr,a;a=this;return $parseFloat(a.BasicElement.BasicNode.Object.offsetWidth);};BN.prototype.OffsetWidth=function(){return this.$val.OffsetWidth();};BN.ptr.prototype.Style=function(){var $ptr,a;a=this;return new EJ.ptr(a.BasicElement.BasicNode.Object.style);};BN.prototype.Style=function(){return this.$val.Style();};BN.ptr.prototype.TabIndex=function(){var $ptr,a;a=this;return $parseInt(a.BasicElement.BasicNode.Object.tabIndex)>>0;};BN.prototype.TabIndex=function(){return this.$val.TabIndex();};BN.ptr.prototype.SetTabIndex=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.tabIndex=a;};BN.prototype.SetTabIndex=function(a){return this.$val.SetTabIndex(a);};BN.ptr.prototype.Title=function(){var $ptr,a;a=this;return $internalize(a.BasicElement.BasicNode.Object.title,$String);};BN.prototype.Title=function(){return this.$val.Title();};BN.ptr.prototype.SetTitle=function(a){var $ptr,a,b;b=this;b.BasicElement.BasicNode.Object.title=$externalize(a,$String);};BN.prototype.SetTitle=function(a){return this.$val.SetTitle(a);};BN.ptr.prototype.Blur=function(){var $ptr,a;a=this;a.BasicElement.BasicNode.Object.blur();};BN.prototype.Blur=function(){return this.$val.Blur();};BN.ptr.prototype.Click=function(){var $ptr,a;a=this;a.BasicElement.BasicNode.Object.click();};BN.prototype.Click=function(){return this.$val.Click();};BN.ptr.prototype.Focus=function(){var $ptr,a;a=this;a.BasicElement.BasicNode.Object.focus();};BN.prototype.Focus=function(){return this.$val.Focus();};BO.ptr.prototype.Attributes=function(){var $ptr,a,b,c,d,e,f,g;a=this;b=a.BasicNode.Object.attributes;c=$makeMap($String.keyFor,[]);d=$parseInt(b.length)>>0;e=0;while(true){if(!(e>0;}return c;};BO.prototype.Attributes=function(){return this.$val.Attributes();};BO.ptr.prototype.GetBoundingClientRect=function(){var $ptr,a,b;a=this;b=a.BasicNode.Object.getBoundingClientRect();return new BK.ptr(b,0,0,0,0,0,0);};BO.prototype.GetBoundingClientRect=function(){return this.$val.GetBoundingClientRect();};BO.ptr.prototype.PreviousElementSibling=function(){var $ptr,a;a=this;return T(a.BasicNode.Object.previousElementSibling);};BO.prototype.PreviousElementSibling=function(){return this.$val.PreviousElementSibling();};BO.ptr.prototype.NextElementSibling=function(){var $ptr,a;a=this;return T(a.BasicNode.Object.nextElementSibling);};BO.prototype.NextElementSibling=function(){return this.$val.NextElementSibling();};BO.ptr.prototype.Class=function(){var $ptr,a;a=this;return new Z.ptr(a.BasicNode.Object.classList,a.BasicNode.Object,"className",0);};BO.prototype.Class=function(){return this.$val.Class();};BO.ptr.prototype.SetClass=function(a){var $ptr,a,b;b=this;b.BasicNode.Object.className=$externalize(a,$String);};BO.prototype.SetClass=function(a){return this.$val.SetClass(a);};BO.ptr.prototype.ID=function(){var $ptr,a;a=this;return $internalize(a.BasicNode.Object.id,$String);};BO.prototype.ID=function(){return this.$val.ID();};BO.ptr.prototype.SetID=function(a){var $ptr,a,b;b=this;b.BasicNode.Object.id=$externalize(a,$String);};BO.prototype.SetID=function(a){return this.$val.SetID(a);};BO.ptr.prototype.TagName=function(){var $ptr,a;a=this;return $internalize(a.BasicNode.Object.tagName,$String);};BO.prototype.TagName=function(){return this.$val.TagName();};BO.ptr.prototype.GetAttribute=function(a){var $ptr,a,b;b=this;return D(b.BasicNode.Object.getAttribute($externalize(a,$String)));};BO.prototype.GetAttribute=function(a){return this.$val.GetAttribute(a);};BO.ptr.prototype.GetAttributeNS=function(a,b){var $ptr,a,b,c;c=this;return D(c.BasicNode.Object.getAttributeNS($externalize(a,$String),$externalize(b,$String)));};BO.prototype.GetAttributeNS=function(a,b){return this.$val.GetAttributeNS(a,b);};BO.ptr.prototype.GetElementsByClassName=function(a){var $ptr,a,b;b=this;return J(b.BasicNode.Object.getElementsByClassName($externalize(a,$String)));};BO.prototype.GetElementsByClassName=function(a){return this.$val.GetElementsByClassName(a);};BO.ptr.prototype.GetElementsByTagName=function(a){var $ptr,a,b;b=this;return J(b.BasicNode.Object.getElementsByTagName($externalize(a,$String)));};BO.prototype.GetElementsByTagName=function(a){return this.$val.GetElementsByTagName(a);};BO.ptr.prototype.GetElementsByTagNameNS=function(a,b){var $ptr,a,b,c;c=this;return J(c.BasicNode.Object.getElementsByTagNameNS($externalize(a,$String),$externalize(b,$String)));};BO.prototype.GetElementsByTagNameNS=function(a,b){return this.$val.GetElementsByTagNameNS(a,b);};BO.ptr.prototype.HasAttribute=function(a){var $ptr,a,b;b=this;return!!(b.BasicNode.Object.hasAttribute($externalize(a,$String)));};BO.prototype.HasAttribute=function(a){return this.$val.HasAttribute(a);};BO.ptr.prototype.HasAttributeNS=function(a,b){var $ptr,a,b,c;c=this;return!!(c.BasicNode.Object.hasAttributeNS($externalize(a,$String),$externalize(b,$String)));};BO.prototype.HasAttributeNS=function(a,b){return this.$val.HasAttributeNS(a,b);};BO.ptr.prototype.QuerySelector=function(a){var $ptr,a,b;b=this;return T(b.BasicNode.Object.querySelector($externalize(a,$String)));};BO.prototype.QuerySelector=function(a){return this.$val.QuerySelector(a);};BO.ptr.prototype.QuerySelectorAll=function(a){var $ptr,a,b;b=this;return J(b.BasicNode.Object.querySelectorAll($externalize(a,$String)));};BO.prototype.QuerySelectorAll=function(a){return this.$val.QuerySelectorAll(a);};BO.ptr.prototype.RemoveAttribute=function(a){var $ptr,a,b;b=this;b.BasicNode.Object.removeAttribute($externalize(a,$String));};BO.prototype.RemoveAttribute=function(a){return this.$val.RemoveAttribute(a);};BO.ptr.prototype.RemoveAttributeNS=function(a,b){var $ptr,a,b,c;c=this;c.BasicNode.Object.removeAttributeNS($externalize(a,$String),$externalize(b,$String));};BO.prototype.RemoveAttributeNS=function(a,b){return this.$val.RemoveAttributeNS(a,b);};BO.ptr.prototype.SetAttribute=function(a,b){var $ptr,a,b,c;c=this;c.BasicNode.Object.setAttribute($externalize(a,$String),$externalize(b,$String));};BO.prototype.SetAttribute=function(a,b){return this.$val.SetAttribute(a,b);};BO.ptr.prototype.SetAttributeNS=function(a,b,c){var $ptr,a,b,c,d;d=this;d.BasicNode.Object.setAttributeNS($externalize(a,$String),$externalize(b,$String),$externalize(c,$String));};BO.prototype.SetAttributeNS=function(a,b,c){return this.$val.SetAttributeNS(a,b,c);};BO.ptr.prototype.InnerHTML=function(){var $ptr,a;a=this;return $internalize(a.BasicNode.Object.innerHTML,$String);};BO.prototype.InnerHTML=function(){return this.$val.InnerHTML();};BO.ptr.prototype.SetInnerHTML=function(a){var $ptr,a,b;b=this;b.BasicNode.Object.innerHTML=$externalize(a,$String);};BO.prototype.SetInnerHTML=function(a){return this.$val.SetInnerHTML(a);};BO.ptr.prototype.OuterHTML=function(){var $ptr,a;a=this;return $internalize(a.BasicNode.Object.outerHTML,$String);};BO.prototype.OuterHTML=function(){return this.$val.OuterHTML();};BO.ptr.prototype.SetOuterHTML=function(a){var $ptr,a,b;b=this;b.BasicNode.Object.outerHTML=$externalize(a,$String);};BO.prototype.SetOuterHTML=function(a){return this.$val.SetOuterHTML(a);};BP.ptr.prototype.Rel=function(){var $ptr,a;a=this;return new Z.ptr(a.URLUtils.Object.relList,a.URLUtils.Object,"rel",0);};BP.prototype.Rel=function(){return this.$val.Rel();};BQ.ptr.prototype.Rel=function(){var $ptr,a;a=this;return new Z.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.relList,a.BasicHTMLElement.BasicElement.BasicNode.Object,"rel",0);};BQ.prototype.Rel=function(){return this.$val.Rel();};BR.ptr.prototype.Rel=function(){var $ptr,a;a=this;return new Z.ptr(a.URLUtils.Object.relList,a.URLUtils.Object,"rel",0);};BR.prototype.Rel=function(){return this.$val.Rel();};BX.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};BX.prototype.Form=function(){return this.$val.Form();};BX.ptr.prototype.Labels=function(){var $ptr,a;a=this;return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};BX.prototype.Labels=function(){return this.$val.Labels();};BX.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};BX.prototype.Validity=function(){return this.$val.Validity();};BX.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};BX.prototype.CheckValidity=function(){return this.$val.CheckValidity();};BX.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};BX.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};BY.ptr.prototype.GetContext2d=function(){var $ptr,a,b;a=this;b=a.GetContext("2d");return new BZ.ptr(b,"","","",0,0,0,"","",0,0,"","","",0,"");};BY.prototype.GetContext2d=function(){return this.$val.GetContext2d();};BY.ptr.prototype.GetContext=function(a){var $ptr,a,b;b=this;return b.BasicHTMLElement.BasicElement.BasicNode.Object.getContext($externalize(a,$String));};BY.prototype.GetContext=function(a){return this.$val.GetContext(a);};BZ.ptr.prototype.CreateLinearGradient=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;e.Object.createLinearGradient(a,b,c,d);};BZ.prototype.CreateLinearGradient=function(a,b,c,d){return this.$val.CreateLinearGradient(a,b,c,d);};BZ.ptr.prototype.Rect=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;e.Object.rect(a,b,c,d);};BZ.prototype.Rect=function(a,b,c,d){return this.$val.Rect(a,b,c,d);};BZ.ptr.prototype.FillRect=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;e.Object.fillRect(a,b,c,d);};BZ.prototype.FillRect=function(a,b,c,d){return this.$val.FillRect(a,b,c,d);};BZ.ptr.prototype.StrokeRect=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;e.Object.strokeRect(a,b,c,d);};BZ.prototype.StrokeRect=function(a,b,c,d){return this.$val.StrokeRect(a,b,c,d);};BZ.ptr.prototype.ClearRect=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;e.Object.clearRect(a,b,c,d);};BZ.prototype.ClearRect=function(a,b,c,d){return this.$val.ClearRect(a,b,c,d);};BZ.ptr.prototype.Fill=function(){var $ptr,a;a=this;a.Object.fill();};BZ.prototype.Fill=function(){return this.$val.Fill();};BZ.ptr.prototype.Stroke=function(){var $ptr,a;a=this;a.Object.stroke();};BZ.prototype.Stroke=function(){return this.$val.Stroke();};BZ.ptr.prototype.BeginPath=function(){var $ptr,a;a=this;a.Object.beginPath();};BZ.prototype.BeginPath=function(){return this.$val.BeginPath();};BZ.ptr.prototype.MoveTo=function(a,b){var $ptr,a,b,c;c=this;c.Object.moveTo(a,b);};BZ.prototype.MoveTo=function(a,b){return this.$val.MoveTo(a,b);};BZ.ptr.prototype.ClosePath=function(){var $ptr,a;a=this;a.Object.closePath();};BZ.prototype.ClosePath=function(){return this.$val.ClosePath();};BZ.ptr.prototype.LineTo=function(a,b){var $ptr,a,b,c;c=this;c.Object.lineTo(a,b);};BZ.prototype.LineTo=function(a,b){return this.$val.LineTo(a,b);};BZ.ptr.prototype.Clip=function(){var $ptr,a;a=this;a.Object.clip();};BZ.prototype.Clip=function(){return this.$val.Clip();};BZ.ptr.prototype.QuadraticCurveTo=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;e.Object.quadraticCurveTo(a,b,c,d);};BZ.prototype.QuadraticCurveTo=function(a,b,c,d){return this.$val.QuadraticCurveTo(a,b,c,d);};BZ.ptr.prototype.BezierCurveTo=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g;g=this;g.Object.bezierCurveTo(a,b,c,d,e,f);};BZ.prototype.BezierCurveTo=function(a,b,c,d,e,f){return this.$val.BezierCurveTo(a,b,c,d,e,f);};BZ.ptr.prototype.Arc=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g;g=this;g.Object.arc(a,b,c,d,e,$externalize(f,$Bool));};BZ.prototype.Arc=function(a,b,c,d,e,f){return this.$val.Arc(a,b,c,d,e,f);};BZ.ptr.prototype.ArcTo=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f;f=this;f.Object.arcTo(a,b,c,d,e);};BZ.prototype.ArcTo=function(a,b,c,d,e){return this.$val.ArcTo(a,b,c,d,e);};BZ.ptr.prototype.IsPointInPath=function(a,b){var $ptr,a,b,c;c=this;return!!(c.Object.isPointInPath(a,b));};BZ.prototype.IsPointInPath=function(a,b){return this.$val.IsPointInPath(a,b);};BZ.ptr.prototype.Scale=function(a,b){var $ptr,a,b,c;c=this;c.Object.scale(a,b);};BZ.prototype.Scale=function(a,b){return this.$val.Scale(a,b);};BZ.ptr.prototype.Rotate=function(a){var $ptr,a,b;b=this;b.Object.rotate(a);};BZ.prototype.Rotate=function(a){return this.$val.Rotate(a);};BZ.ptr.prototype.Translate=function(a,b){var $ptr,a,b,c;c=this;c.Object.translate(a,b);};BZ.prototype.Translate=function(a,b){return this.$val.Translate(a,b);};BZ.ptr.prototype.Transform=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g;g=this;g.Object.transform(a,b,c,d,e,f);};BZ.prototype.Transform=function(a,b,c,d,e,f){return this.$val.Transform(a,b,c,d,e,f);};BZ.ptr.prototype.SetTransform=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g;g=this;g.Object.setTransform(a,b,c,d,e,f);};BZ.prototype.SetTransform=function(a,b,c,d,e,f){return this.$val.SetTransform(a,b,c,d,e,f);};BZ.ptr.prototype.FillText=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;if(d===-1){e.Object.fillText($externalize(a,$String),b,c);return;}e.Object.fillText($externalize(a,$String),b,c,d);};BZ.prototype.FillText=function(a,b,c,d){return this.$val.FillText(a,b,c,d);};BZ.ptr.prototype.StrokeText=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;if(d===-1){e.Object.strokeText($externalize(a,$String),b,c);return;}e.Object.strokeText($externalize(a,$String),b,c,d);};BZ.prototype.StrokeText=function(a,b,c,d){return this.$val.StrokeText(a,b,c,d);};CC.ptr.prototype.Options=function(){var $ptr,a;a=this;return X(a.BasicHTMLElement.BasicElement.BasicNode.Object,"options");};CC.prototype.Options=function(){return this.$val.Options();};CG.ptr.prototype.Elements=function(){var $ptr,a;a=this;return K(a.BasicHTMLElement.BasicElement.BasicNode.Object.elements);};CG.prototype.Elements=function(){return this.$val.Elements();};CG.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};CG.prototype.Form=function(){return this.$val.Form();};CG.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};CG.prototype.Validity=function(){return this.$val.Validity();};CG.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};CG.prototype.CheckValidity=function(){return this.$val.CheckValidity();};CG.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};CG.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};CI.ptr.prototype.Elements=function(){var $ptr,a;a=this;return K(a.BasicHTMLElement.BasicElement.BasicNode.Object.elements);};CI.prototype.Elements=function(){return this.$val.Elements();};CI.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};CI.prototype.CheckValidity=function(){return this.$val.CheckValidity();};CI.ptr.prototype.Submit=function(){var $ptr,a;a=this;a.BasicHTMLElement.BasicElement.BasicNode.Object.submit();};CI.prototype.Submit=function(){return this.$val.Submit();};CI.ptr.prototype.Reset=function(){var $ptr,a;a=this;a.BasicHTMLElement.BasicElement.BasicNode.Object.reset();};CI.prototype.Reset=function(){return this.$val.Reset();};CI.ptr.prototype.Item=function(a){var $ptr,a,b;b=this;return U(b.BasicHTMLElement.BasicElement.BasicNode.Object.item(a));};CI.prototype.Item=function(a){return this.$val.Item(a);};CI.ptr.prototype.NamedItem=function(a){var $ptr,a,b;b=this;return U(b.BasicHTMLElement.BasicElement.BasicNode.Object.namedItem($externalize(a,$String)));};CI.prototype.NamedItem=function(a){return this.$val.NamedItem(a);};CP.ptr.prototype.ContentDocument=function(){var $ptr,a;a=this;return Q(a.BasicHTMLElement.BasicElement.BasicNode.Object.contentDocument);};CP.prototype.ContentDocument=function(){return this.$val.ContentDocument();};CP.ptr.prototype.ContentWindow=function(){var $ptr,a;a=this;return new AM.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.contentWindow);};CP.prototype.ContentWindow=function(){return this.$val.ContentWindow();};CR.ptr.prototype.Files=function(){var $ptr,a,b,c,d,e,f;a=this;b=a.BasicHTMLElement.BasicElement.BasicNode.Object.files;c=$makeSlice(HL,($parseInt(b.length)>>0));d=c;e=0;while(true){if(!(e=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+f]=new CS.ptr(b.item(f)));e++;}return c;};CR.prototype.Files=function(){return this.$val.Files();};CR.ptr.prototype.List=function(){var $ptr,a,b;a=this;b=U(a.BasicHTMLElement.BasicElement.BasicNode.Object.list);if($interfaceIsEqual(b,$ifaceNil)){return HM.nil;}return $assertType(b,HM);};CR.prototype.List=function(){return this.$val.List();};CR.ptr.prototype.Labels=function(){var $ptr,a;a=this;return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};CR.prototype.Labels=function(){return this.$val.Labels();};CR.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};CR.prototype.Form=function(){return this.$val.Form();};CR.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};CR.prototype.Validity=function(){return this.$val.Validity();};CR.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};CR.prototype.CheckValidity=function(){return this.$val.CheckValidity();};CR.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};CR.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};CR.ptr.prototype.Select=function(){var $ptr,a;a=this;a.BasicHTMLElement.BasicElement.BasicNode.Object.select();};CR.prototype.Select=function(){return this.$val.Select();};CR.ptr.prototype.SetSelectionRange=function(a,b,c){var $ptr,a,b,c,d;d=this;d.BasicHTMLElement.BasicElement.BasicNode.Object.setSelectionRange(a,b,$externalize(c,$String));};CR.prototype.SetSelectionRange=function(a,b,c){return this.$val.SetSelectionRange(a,b,c);};CR.ptr.prototype.StepDown=function(a){var $ptr,a,b;b=this;return E(b.BasicHTMLElement.BasicElement.BasicNode.Object,"stepDown",new GJ([new $Int(a)]));};CR.prototype.StepDown=function(a){return this.$val.StepDown(a);};CR.ptr.prototype.StepUp=function(a){var $ptr,a,b;b=this;return E(b.BasicHTMLElement.BasicElement.BasicNode.Object,"stepUp",new GJ([new $Int(a)]));};CR.prototype.StepUp=function(a){return this.$val.StepUp(a);};CT.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};CT.prototype.Form=function(){return this.$val.Form();};CT.ptr.prototype.Labels=function(){var $ptr,a;a=this;return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};CT.prototype.Labels=function(){return this.$val.Labels();};CT.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};CT.prototype.Validity=function(){return this.$val.Validity();};CT.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};CT.prototype.CheckValidity=function(){return this.$val.CheckValidity();};CT.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};CT.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};CV.ptr.prototype.Control=function(){var $ptr,a;a=this;return U(a.BasicHTMLElement.BasicElement.BasicNode.Object.control);};CV.prototype.Control=function(){return this.$val.Control();};CV.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};CV.prototype.Form=function(){return this.$val.Form();};CW.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};CW.prototype.Form=function(){return this.$val.Form();};CX.ptr.prototype.Rel=function(){var $ptr,a;a=this;return new Z.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.relList,a.BasicHTMLElement.BasicElement.BasicNode.Object,"rel",0);};CX.prototype.Rel=function(){return this.$val.Rel();};CX.ptr.prototype.Sizes=function(){var $ptr,a;a=this;return new Z.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.sizes,a.BasicHTMLElement.BasicElement.BasicNode.Object,"",0);};CX.prototype.Sizes=function(){return this.$val.Sizes();};CX.ptr.prototype.Sheet=function(){var $ptr,a;a=this;$panic(new $String("not implemented"));};CX.prototype.Sheet=function(){return this.$val.Sheet();};CY.ptr.prototype.Areas=function(){var $ptr,a,b,c,d,e,f,g;a=this;b=J(a.BasicHTMLElement.BasicElement.BasicNode.Object.areas);c=$makeSlice(HO,b.$length);d=b;e=0;while(true){if(!(e=d.$length)?$throwRuntimeError("index out of range"):d.$array[d.$offset+e]);((f<0||f>=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+f]=$assertType(g,HN));e++;}return c;};CY.prototype.Areas=function(){return this.$val.Areas();};CY.ptr.prototype.Images=function(){var $ptr,a;a=this;return K(a.BasicHTMLElement.BasicElement.BasicNode.Object.areas);};CY.prototype.Images=function(){return this.$val.Images();};CZ.ptr.prototype.Play=function(){var $ptr,a;a=this;a.BasicHTMLElement.BasicElement.BasicNode.Object.play();};CZ.prototype.Play=function(){return this.$val.Play();};CZ.ptr.prototype.Pause=function(){var $ptr,a;a=this;a.BasicHTMLElement.BasicElement.BasicNode.Object.pause();};CZ.prototype.Pause=function(){return this.$val.Pause();};DC.ptr.prototype.Labels=function(){var $ptr,a;a=$clone(this,DC);return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DC.prototype.Labels=function(){return this.$val.Labels();};DF.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DF.prototype.Form=function(){return this.$val.Form();};DF.ptr.prototype.ContentDocument=function(){var $ptr,a;a=this;return Q(a.BasicHTMLElement.BasicElement.BasicNode.Object.contentDocument);};DF.prototype.ContentDocument=function(){return this.$val.ContentDocument();};DF.ptr.prototype.ContentWindow=function(){var $ptr,a;a=this;return new AM.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.contentWindow);};DF.prototype.ContentWindow=function(){return this.$val.ContentWindow();};DF.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};DF.prototype.Validity=function(){return this.$val.Validity();};DF.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};DF.prototype.CheckValidity=function(){return this.$val.CheckValidity();};DF.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};DF.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};DH.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DH.prototype.Form=function(){return this.$val.Form();};DI.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DI.prototype.Form=function(){return this.$val.Form();};DI.ptr.prototype.Labels=function(){var $ptr,a;a=this;return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DI.prototype.Labels=function(){return this.$val.Labels();};DI.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};DI.prototype.Validity=function(){return this.$val.Validity();};DI.ptr.prototype.For=function(){var $ptr,a;a=this;return new Z.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.htmlFor,a.BasicHTMLElement.BasicElement.BasicNode.Object,"",0);};DI.prototype.For=function(){return this.$val.For();};DI.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};DI.prototype.CheckValidity=function(){return this.$val.CheckValidity();};DI.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};DI.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};DM.ptr.prototype.Labels=function(){var $ptr,a;a=$clone(this,DM);return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DM.prototype.Labels=function(){return this.$val.Labels();};DP.ptr.prototype.Labels=function(){var $ptr,a;a=this;return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DP.prototype.Labels=function(){return this.$val.Labels();};DP.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};DP.prototype.Form=function(){return this.$val.Form();};DP.ptr.prototype.Options=function(){var $ptr,a;a=this;return X(a.BasicHTMLElement.BasicElement.BasicNode.Object,"options");};DP.prototype.Options=function(){return this.$val.Options();};DP.ptr.prototype.SelectedOptions=function(){var $ptr,a;a=this;return X(a.BasicHTMLElement.BasicElement.BasicNode.Object,"selectedOptions");};DP.prototype.SelectedOptions=function(){return this.$val.SelectedOptions();};DP.ptr.prototype.Item=function(a){var $ptr,a,b,c;b=this;c=U(b.BasicHTMLElement.BasicElement.BasicNode.Object.item(a));if($interfaceIsEqual(c,$ifaceNil)){return GW.nil;}return $assertType(c,GW);};DP.prototype.Item=function(a){return this.$val.Item(a);};DP.ptr.prototype.NamedItem=function(a){var $ptr,a,b,c;b=this;c=U(b.BasicHTMLElement.BasicElement.BasicNode.Object.namedItem($externalize(a,$String)));if($interfaceIsEqual(c,$ifaceNil)){return GW.nil;}return $assertType(c,GW);};DP.prototype.NamedItem=function(a){return this.$val.NamedItem(a);};DP.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};DP.prototype.Validity=function(){return this.$val.Validity();};DP.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};DP.prototype.CheckValidity=function(){return this.$val.CheckValidity();};DP.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};DP.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};DZ.ptr.prototype.Cells=function(){var $ptr,a,b,c,d,e,f,g;a=this;b=J(a.BasicHTMLElement.BasicElement.BasicNode.Object.cells);c=$makeSlice(HQ,b.$length);d=b;e=0;while(true){if(!(e=d.$length)?$throwRuntimeError("index out of range"):d.$array[d.$offset+e]);((f<0||f>=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+f]=$assertType(g,HP));e++;}return c;};DZ.prototype.Cells=function(){return this.$val.Cells();};DZ.ptr.prototype.InsertCell=function(a){var $ptr,a,b;b=this;return $assertType(U(b.BasicHTMLElement.BasicElement.BasicNode.Object.insertCell(a)),HP);};DZ.prototype.InsertCell=function(a){return this.$val.InsertCell(a);};DZ.ptr.prototype.DeleteCell=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.deleteCell(a);};DZ.prototype.DeleteCell=function(a){return this.$val.DeleteCell(a);};EA.ptr.prototype.Rows=function(){var $ptr,a,b,c,d,e,f,g;a=this;b=J(a.BasicHTMLElement.BasicElement.BasicNode.Object.rows);c=$makeSlice(HS,b.$length);d=b;e=0;while(true){if(!(e=d.$length)?$throwRuntimeError("index out of range"):d.$array[d.$offset+e]);((f<0||f>=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+f]=$assertType(g,HR));e++;}return c;};EA.prototype.Rows=function(){return this.$val.Rows();};EA.ptr.prototype.DeleteRow=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.deleteRow(a);};EA.prototype.DeleteRow=function(a){return this.$val.DeleteRow(a);};EA.ptr.prototype.InsertRow=function(a){var $ptr,a,b;b=this;return $assertType(U(b.BasicHTMLElement.BasicElement.BasicNode.Object.insertRow(a)),HR);};EA.prototype.InsertRow=function(a){return this.$val.InsertRow(a);};EB.ptr.prototype.Form=function(){var $ptr,a;a=this;return V(a.BasicHTMLElement.BasicElement.BasicNode.Object);};EB.prototype.Form=function(){return this.$val.Form();};EB.ptr.prototype.Labels=function(){var $ptr,a;a=this;return W(a.BasicHTMLElement.BasicElement.BasicNode.Object);};EB.prototype.Labels=function(){return this.$val.Labels();};EB.ptr.prototype.Validity=function(){var $ptr,a;a=this;return new BW.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.validity,false,false,false,false,false,false,false,false,false);};EB.prototype.Validity=function(){return this.$val.Validity();};EB.ptr.prototype.CheckValidity=function(){var $ptr,a;a=this;return!!(a.BasicHTMLElement.BasicElement.BasicNode.Object.checkValidity());};EB.prototype.CheckValidity=function(){return this.$val.CheckValidity();};EB.ptr.prototype.SetCustomValidity=function(a){var $ptr,a,b;b=this;b.BasicHTMLElement.BasicElement.BasicNode.Object.setCustomValidity($externalize(a,$String));};EB.prototype.SetCustomValidity=function(a){return this.$val.SetCustomValidity(a);};EB.ptr.prototype.Select=function(){var $ptr,a;a=this;a.BasicHTMLElement.BasicElement.BasicNode.Object.select();};EB.prototype.Select=function(){return this.$val.Select();};EB.ptr.prototype.SetSelectionRange=function(a,b,c){var $ptr,a,b,c,d;d=this;d.BasicHTMLElement.BasicElement.BasicNode.Object.setSelectionRange(a,b,$externalize(c,$String));};EB.prototype.SetSelectionRange=function(a,b,c){return this.$val.SetSelectionRange(a,b,c);};EF.ptr.prototype.Track=function(){var $ptr,a;a=this;return new EE.ptr(a.BasicHTMLElement.BasicElement.BasicNode.Object.track);};EF.prototype.Track=function(){return this.$val.Track();};BU.ptr.prototype.Href=function(){var $ptr,a;a=this;return $internalize(a.BasicHTMLElement.BasicElement.BasicNode.Object.href,$String);};BU.prototype.Href=function(){return this.$val.Href();};BU.ptr.prototype.Target=function(){var $ptr,a;a=this;return $internalize(a.BasicHTMLElement.BasicElement.BasicNode.Object.target,$String);};BU.prototype.Target=function(){return this.$val.Target();};EJ.ptr.prototype.ToMap=function(){var $ptr,a,b,c,d,e,f,g;a=this;b={};c=$parseInt(a.Object.length)>>0;d=0;while(true){if(!(d>0;}return b;};EJ.prototype.ToMap=function(){return this.$val.ToMap();};EJ.ptr.prototype.RemoveProperty=function(a){var $ptr,a,b;b=this;b.Object.removeProperty($externalize(a,$String));};EJ.prototype.RemoveProperty=function(a){return this.$val.RemoveProperty(a);};EJ.ptr.prototype.GetPropertyValue=function(a){var $ptr,a,b;b=this;return D(b.Object.getPropertyValue($externalize(a,$String)));};EJ.prototype.GetPropertyValue=function(a){return this.$val.GetPropertyValue(a);};EJ.ptr.prototype.GetPropertyPriority=function(a){var $ptr,a,b;b=this;return D(b.Object.getPropertyPriority($externalize(a,$String)));};EJ.prototype.GetPropertyPriority=function(a){return this.$val.GetPropertyPriority(a);};EJ.ptr.prototype.SetProperty=function(a,b,c){var $ptr,a,b,c,d;d=this;d.Object.setProperty($externalize(a,$String),$externalize(b,$String),$externalize(c,$String));};EJ.prototype.SetProperty=function(a,b,c){return this.$val.SetProperty(a,b,c);};EJ.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return $internalize(b.Object.index(a),$String);};EJ.prototype.Index=function(a){return this.$val.Index(a);};EJ.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.Object.length)>>0;};EJ.prototype.Length=function(){return this.$val.Length();};EM=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return $ifaceNil;}b=new EO.ptr(a);c=a.constructor;d=c;if(d===($global.AnimationEvent)){return new EP.ptr(b);}else if(d===($global.AudioProcessingEvent)){return new EQ.ptr(b);}else if(d===($global.BeforeInputEvent)){return new ER.ptr(b);}else if(d===($global.BeforeUnloadEvent)){return new ES.ptr(b);}else if(d===($global.BlobEvent)){return new ET.ptr(b);}else if(d===($global.ClipboardEvent)){return new EU.ptr(b);}else if(d===($global.CloseEvent)){return new EV.ptr(b,0,"",false);}else if(d===($global.CompositionEvent)){return new EW.ptr(b);}else if(d===($global.CSSFontFaceLoadEvent)){return new EX.ptr(b);}else if(d===($global.CustomEvent)){return new EY.ptr(b);}else if(d===($global.DeviceLightEvent)){return new EZ.ptr(b);}else if(d===($global.DeviceMotionEvent)){return new FA.ptr(b);}else if(d===($global.DeviceOrientationEvent)){return new FB.ptr(b);}else if(d===($global.DeviceProximityEvent)){return new FC.ptr(b);}else if(d===($global.DOMTransactionEvent)){return new FD.ptr(b);}else if(d===($global.DragEvent)){return new FE.ptr(b);}else if(d===($global.EditingBeforeInputEvent)){return new FF.ptr(b);}else if(d===($global.ErrorEvent)){return new FG.ptr(b);}else if(d===($global.FocusEvent)){return new FH.ptr(b);}else if(d===($global.GamepadEvent)){return new FI.ptr(b);}else if(d===($global.HashChangeEvent)){return new FJ.ptr(b);}else if(d===($global.IDBVersionChangeEvent)){return new FK.ptr(b);}else if(d===($global.KeyboardEvent)){return new FL.ptr(b,false,0,false,"","",0,"",0,0,false,false,false);}else if(d===($global.MediaStreamEvent)){return new FM.ptr(b);}else if(d===($global.MessageEvent)){return new FN.ptr(b,null);}else if(d===($global.MouseEvent)){return new FO.ptr(new GF.ptr(b),false,0,0,0,false,false,0,0,0,0,false);}else if(d===($global.MutationEvent)){return new FP.ptr(b);}else if(d===($global.OfflineAudioCompletionEvent)){return new FQ.ptr(b);}else if(d===($global.PageTransitionEvent)){return new FR.ptr(b);}else if(d===($global.PointerEvent)){return new FS.ptr(b);}else if(d===($global.PopStateEvent)){return new FT.ptr(b);}else if(d===($global.ProgressEvent)){return new FU.ptr(b);}else if(d===($global.RelatedEvent)){return new FV.ptr(b);}else if(d===($global.RTCPeerConnectionIceEvent)){return new FW.ptr(b);}else if(d===($global.SensorEvent)){return new FX.ptr(b);}else if(d===($global.StorageEvent)){return new FY.ptr(b);}else if(d===($global.SVGEvent)){return new FZ.ptr(b);}else if(d===($global.SVGZoomEvent)){return new GA.ptr(b);}else if(d===($global.TimeEvent)){return new GB.ptr(b);}else if(d===($global.TouchEvent)){return new GC.ptr(b);}else if(d===($global.TrackEvent)){return new GD.ptr(b);}else if(d===($global.TransitionEvent)){return new GE.ptr(b);}else if(d===($global.UIEvent)){return new GF.ptr(b);}else if(d===($global.UserProximityEvent)){return new GG.ptr(b);}else if(d===($global.WheelEvent)){return new GH.ptr(b,0,0,0,0);}else{return b;}};EO.ptr.prototype.Bubbles=function(){var $ptr,a;a=this;return!!(a.Object.bubbles);};EO.prototype.Bubbles=function(){return this.$val.Bubbles();};EO.ptr.prototype.Cancelable=function(){var $ptr,a;a=this;return!!(a.Object.cancelable);};EO.prototype.Cancelable=function(){return this.$val.Cancelable();};EO.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return T(a.Object.currentTarget);};EO.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};EO.ptr.prototype.DefaultPrevented=function(){var $ptr,a;a=this;return!!(a.Object.defaultPrevented);};EO.prototype.DefaultPrevented=function(){return this.$val.DefaultPrevented();};EO.ptr.prototype.EventPhase=function(){var $ptr,a;a=this;return $parseInt(a.Object.eventPhase)>>0;};EO.prototype.EventPhase=function(){return this.$val.EventPhase();};EO.ptr.prototype.Target=function(){var $ptr,a;a=this;return T(a.Object.target);};EO.prototype.Target=function(){return this.$val.Target();};EO.ptr.prototype.Timestamp=function(){var $ptr,a,b,c,d,e,f;a=this;b=$parseInt(a.Object.timeStamp)>>0;d=(c=b/1000,(c===c&&c!==1/0&&c!==-1/0)?c>>0:$throwRuntimeError("integer divide by zero"));f=($imul((e=b%1000,e===e?e:$throwRuntimeError("integer divide by zero")),1000000));return B.Unix(new $Int64(0,d),new $Int64(0,f));};EO.prototype.Timestamp=function(){return this.$val.Timestamp();};EO.ptr.prototype.Type=function(){var $ptr,a;a=this;return $internalize(a.Object.type,$String);};EO.prototype.Type=function(){return this.$val.Type();};EO.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.Object.preventDefault();};EO.prototype.PreventDefault=function(){return this.$val.PreventDefault();};EO.ptr.prototype.StopImmediatePropagation=function(){var $ptr,a;a=this;a.Object.stopImmediatePropagation();};EO.prototype.StopImmediatePropagation=function(){return this.$val.StopImmediatePropagation();};EO.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.Object.stopPropagation();};EO.prototype.StopPropagation=function(){return this.$val.StopPropagation();};EO.ptr.prototype.Underlying=function(){var $ptr,a;a=this;return a.Object;};EO.prototype.Underlying=function(){return this.$val.Underlying();};FL.ptr.prototype.ModifierState=function(a){var $ptr,a,b;b=this;return!!(b.BasicEvent.Object.getModifierState($externalize(a,$String)));};FL.prototype.ModifierState=function(a){return this.$val.ModifierState(a);};FO.ptr.prototype.RelatedTarget=function(){var $ptr,a;a=this;return T(a.UIEvent.BasicEvent.Object.target);};FO.prototype.RelatedTarget=function(){return this.$val.RelatedTarget();};FO.ptr.prototype.ModifierState=function(a){var $ptr,a,b;b=this;return!!(b.UIEvent.BasicEvent.Object.getModifierState($externalize(a,$String)));};FO.prototype.ModifierState=function(a){return this.$val.ModifierState(a);};HV.methods=[{prop:"Item",name:"Item",pkg:"",typ:$funcType([$Int],[$String],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"Add",name:"Add",pkg:"",typ:$funcType([$String],[],false)},{prop:"Remove",name:"Remove",pkg:"",typ:$funcType([$String],[],false)},{prop:"Toggle",name:"Toggle",pkg:"",typ:$funcType([$String],[],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Slice",name:"Slice",pkg:"",typ:$funcType([],[GY],false)},{prop:"SetString",name:"SetString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Set",name:"Set",pkg:"",typ:$funcType([GY],[],false)}];AD.methods=[{prop:"GetElementByID",name:"GetElementByID",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelector",name:"QuerySelector",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelectorAll",name:"QuerySelectorAll",pkg:"",typ:$funcType([$String],[GN],false)}];AE.methods=[{prop:"Async",name:"Async",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetAsync",name:"SetAsync",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"Doctype",name:"Doctype",pkg:"",typ:$funcType([],[BD],false)},{prop:"DocumentElement",name:"DocumentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"DocumentURI",name:"DocumentURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"Implementation",name:"Implementation",pkg:"",typ:$funcType([],[BE],false)},{prop:"LastStyleSheetSet",name:"LastStyleSheetSet",pkg:"",typ:$funcType([],[$String],false)},{prop:"PreferredStyleSheetSet",name:"PreferredStyleSheetSet",pkg:"",typ:$funcType([],[$String],false)},{prop:"SelectedStyleSheetSet",name:"SelectedStyleSheetSet",pkg:"",typ:$funcType([],[$String],false)},{prop:"StyleSheets",name:"StyleSheets",pkg:"",typ:$funcType([],[HX],false)},{prop:"StyleSheetSets",name:"StyleSheetSets",pkg:"",typ:$funcType([],[HX],false)},{prop:"AdoptNode",name:"AdoptNode",pkg:"",typ:$funcType([BH],[BH],false)},{prop:"ImportNode",name:"ImportNode",pkg:"",typ:$funcType([BH,$Bool],[BH],false)},{prop:"CreateDocumentFragment",name:"CreateDocumentFragment",pkg:"",typ:$funcType([],[AB],false)},{prop:"CreateElement",name:"CreateElement",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"CreateElementNS",name:"CreateElementNS",pkg:"",typ:$funcType([$String,$String],[BJ],false)},{prop:"CreateTextNode",name:"CreateTextNode",pkg:"",typ:$funcType([$String],[HH],false)},{prop:"ElementFromPoint",name:"ElementFromPoint",pkg:"",typ:$funcType([$Int,$Int],[BJ],false)},{prop:"EnableStyleSheetsForSet",name:"EnableStyleSheetsForSet",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetElementsByClassName",name:"GetElementsByClassName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagName",name:"GetElementsByTagName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagNameNS",name:"GetElementsByTagNameNS",pkg:"",typ:$funcType([$String,$String],[GN],false)},{prop:"GetElementByID",name:"GetElementByID",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelector",name:"QuerySelector",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelectorAll",name:"QuerySelectorAll",pkg:"",typ:$funcType([$String],[GN],false)}];IB.methods=[{prop:"ActiveElement",name:"ActiveElement",pkg:"",typ:$funcType([],[AI],false)},{prop:"Body",name:"Body",pkg:"",typ:$funcType([],[AI],false)},{prop:"Cookie",name:"Cookie",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetCookie",name:"SetCookie",pkg:"",typ:$funcType([$String],[],false)},{prop:"DefaultView",name:"DefaultView",pkg:"",typ:$funcType([],[AL],false)},{prop:"DesignMode",name:"DesignMode",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetDesignMode",name:"SetDesignMode",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"Domain",name:"Domain",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetDomain",name:"SetDomain",pkg:"",typ:$funcType([$String],[],false)},{prop:"Forms",name:"Forms",pkg:"",typ:$funcType([],[GZ],false)},{prop:"Head",name:"Head",pkg:"",typ:$funcType([],[HA],false)},{prop:"Images",name:"Images",pkg:"",typ:$funcType([],[HC],false)},{prop:"LastModified",name:"LastModified",pkg:"",typ:$funcType([],[B.Time],false)},{prop:"Links",name:"Links",pkg:"",typ:$funcType([],[GO],false)},{prop:"Location",name:"Location",pkg:"",typ:$funcType([],[HY],false)},{prop:"Plugins",name:"Plugins",pkg:"",typ:$funcType([],[HE],false)},{prop:"ReadyState",name:"ReadyState",pkg:"",typ:$funcType([],[$String],false)},{prop:"Referrer",name:"Referrer",pkg:"",typ:$funcType([],[$String],false)},{prop:"Scripts",name:"Scripts",pkg:"",typ:$funcType([],[HG],false)},{prop:"Title",name:"Title",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetTitle",name:"SetTitle",pkg:"",typ:$funcType([$String],[],false)},{prop:"URL",name:"URL",pkg:"",typ:$funcType([],[$String],false)}];IH.methods=[{prop:"Console",name:"Console",pkg:"",typ:$funcType([],[IE],false)},{prop:"Document",name:"Document",pkg:"",typ:$funcType([],[AA],false)},{prop:"FrameElement",name:"FrameElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"Location",name:"Location",pkg:"",typ:$funcType([],[HY],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetName",name:"SetName",pkg:"",typ:$funcType([$String],[],false)},{prop:"InnerHeight",name:"InnerHeight",pkg:"",typ:$funcType([],[$Int],false)},{prop:"InnerWidth",name:"InnerWidth",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Length",name:"Length",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Opener",name:"Opener",pkg:"",typ:$funcType([],[AL],false)},{prop:"OuterHeight",name:"OuterHeight",pkg:"",typ:$funcType([],[$Int],false)},{prop:"OuterWidth",name:"OuterWidth",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScrollX",name:"ScrollX",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScrollY",name:"ScrollY",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Parent",name:"Parent",pkg:"",typ:$funcType([],[AL],false)},{prop:"ScreenX",name:"ScreenX",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScreenY",name:"ScreenY",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScrollMaxX",name:"ScrollMaxX",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScrollMaxY",name:"ScrollMaxY",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Top",name:"Top",pkg:"",typ:$funcType([],[AL],false)},{prop:"History",name:"History",pkg:"",typ:$funcType([],[BA],false)},{prop:"Navigator",name:"Navigator",pkg:"",typ:$funcType([],[AQ],false)},{prop:"Screen",name:"Screen",pkg:"",typ:$funcType([],[IG],false)},{prop:"Alert",name:"Alert",pkg:"",typ:$funcType([$String],[],false)},{prop:"Back",name:"Back",pkg:"",typ:$funcType([],[],false)},{prop:"Blur",name:"Blur",pkg:"",typ:$funcType([],[],false)},{prop:"ClearInterval",name:"ClearInterval",pkg:"",typ:$funcType([$Int],[],false)},{prop:"ClearTimeout",name:"ClearTimeout",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Close",name:"Close",pkg:"",typ:$funcType([],[],false)},{prop:"Confirm",name:"Confirm",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"Focus",name:"Focus",pkg:"",typ:$funcType([],[],false)},{prop:"Forward",name:"Forward",pkg:"",typ:$funcType([],[],false)},{prop:"GetComputedStyle",name:"GetComputedStyle",pkg:"",typ:$funcType([BJ,$String],[ID],false)},{prop:"GetSelection",name:"GetSelection",pkg:"",typ:$funcType([],[AO],false)},{prop:"Home",name:"Home",pkg:"",typ:$funcType([],[],false)},{prop:"MoveBy",name:"MoveBy",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"MoveTo",name:"MoveTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Open",name:"Open",pkg:"",typ:$funcType([$String,$String,$String],[AL],false)},{prop:"OpenDialog",name:"OpenDialog",pkg:"",typ:$funcType([$String,$String,$String,GJ],[AL],false)},{prop:"PostMessage",name:"PostMessage",pkg:"",typ:$funcType([$String,$String,GJ],[],false)},{prop:"Print",name:"Print",pkg:"",typ:$funcType([],[],false)},{prop:"Prompt",name:"Prompt",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"ResizeBy",name:"ResizeBy",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ResizeTo",name:"ResizeTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Scroll",name:"Scroll",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ScrollBy",name:"ScrollBy",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ScrollByLines",name:"ScrollByLines",pkg:"",typ:$funcType([$Int],[],false)},{prop:"ScrollTo",name:"ScrollTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"SetCursor",name:"SetCursor",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetInterval",name:"SetInterval",pkg:"",typ:$funcType([HI,$Int],[$Int],false)},{prop:"SetTimeout",name:"SetTimeout",pkg:"",typ:$funcType([HI,$Int],[$Int],false)},{prop:"Stop",name:"Stop",pkg:"",typ:$funcType([],[],false)},{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"RequestAnimationFrame",name:"RequestAnimationFrame",pkg:"",typ:$funcType([IF],[$Int],false)},{prop:"CancelAnimationFrame",name:"CancelAnimationFrame",pkg:"",typ:$funcType([$Int],[],false)}];IK.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];HZ.methods=[{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)},{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"BaseURI",name:"BaseURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"ChildNodes",name:"ChildNodes",pkg:"",typ:$funcType([],[GM],false)},{prop:"FirstChild",name:"FirstChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"LastChild",name:"LastChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"NextSibling",name:"NextSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"NodeName",name:"NodeName",pkg:"",typ:$funcType([],[$String],false)},{prop:"NodeType",name:"NodeType",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NodeValue",name:"NodeValue",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetNodeValue",name:"SetNodeValue",pkg:"",typ:$funcType([$String],[],false)},{prop:"OwnerDocument",name:"OwnerDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ParentNode",name:"ParentNode",pkg:"",typ:$funcType([],[BH],false)},{prop:"ParentElement",name:"ParentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"PreviousSibling",name:"PreviousSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"TextContent",name:"TextContent",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetTextContent",name:"SetTextContent",pkg:"",typ:$funcType([$String],[],false)},{prop:"AppendChild",name:"AppendChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"CloneNode",name:"CloneNode",pkg:"",typ:$funcType([$Bool],[BH],false)},{prop:"CompareDocumentPosition",name:"CompareDocumentPosition",pkg:"",typ:$funcType([BH],[$Int],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"HasChildNodes",name:"HasChildNodes",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"InsertBefore",name:"InsertBefore",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"IsDefaultNamespace",name:"IsDefaultNamespace",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"IsEqualNode",name:"IsEqualNode",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"LookupPrefix",name:"LookupPrefix",pkg:"",typ:$funcType([],[$String],false)},{prop:"LookupNamespaceURI",name:"LookupNamespaceURI",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Normalize",name:"Normalize",pkg:"",typ:$funcType([],[],false)},{prop:"RemoveChild",name:"RemoveChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"ReplaceChild",name:"ReplaceChild",pkg:"",typ:$funcType([BH,BH],[],false)}];GP.methods=[{prop:"AccessKey",name:"AccessKey",pkg:"",typ:$funcType([],[$String],false)},{prop:"Dataset",name:"Dataset",pkg:"",typ:$funcType([],[IC],false)},{prop:"SetAccessKey",name:"SetAccessKey",pkg:"",typ:$funcType([$String],[],false)},{prop:"AccessKeyLabel",name:"AccessKeyLabel",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetAccessKeyLabel",name:"SetAccessKeyLabel",pkg:"",typ:$funcType([$String],[],false)},{prop:"ContentEditable",name:"ContentEditable",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetContentEditable",name:"SetContentEditable",pkg:"",typ:$funcType([$String],[],false)},{prop:"IsContentEditable",name:"IsContentEditable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Dir",name:"Dir",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetDir",name:"SetDir",pkg:"",typ:$funcType([$String],[],false)},{prop:"Draggable",name:"Draggable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetDraggable",name:"SetDraggable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"Lang",name:"Lang",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetLang",name:"SetLang",pkg:"",typ:$funcType([$String],[],false)},{prop:"OffsetHeight",name:"OffsetHeight",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"OffsetLeft",name:"OffsetLeft",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"OffsetParent",name:"OffsetParent",pkg:"",typ:$funcType([],[AI],false)},{prop:"OffsetTop",name:"OffsetTop",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"OffsetWidth",name:"OffsetWidth",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Style",name:"Style",pkg:"",typ:$funcType([],[ID],false)},{prop:"TabIndex",name:"TabIndex",pkg:"",typ:$funcType([],[$Int],false)},{prop:"SetTabIndex",name:"SetTabIndex",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Title",name:"Title",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetTitle",name:"SetTitle",pkg:"",typ:$funcType([$String],[],false)},{prop:"Blur",name:"Blur",pkg:"",typ:$funcType([],[],false)},{prop:"Click",name:"Click",pkg:"",typ:$funcType([],[],false)},{prop:"Focus",name:"Focus",pkg:"",typ:$funcType([],[],false)}];IM.methods=[{prop:"Attributes",name:"Attributes",pkg:"",typ:$funcType([],[IC],false)},{prop:"GetBoundingClientRect",name:"GetBoundingClientRect",pkg:"",typ:$funcType([],[BK],false)},{prop:"PreviousElementSibling",name:"PreviousElementSibling",pkg:"",typ:$funcType([],[BJ],false)},{prop:"NextElementSibling",name:"NextElementSibling",pkg:"",typ:$funcType([],[BJ],false)},{prop:"Class",name:"Class",pkg:"",typ:$funcType([],[HV],false)},{prop:"SetClass",name:"SetClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"ID",name:"ID",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetID",name:"SetID",pkg:"",typ:$funcType([$String],[],false)},{prop:"TagName",name:"TagName",pkg:"",typ:$funcType([],[$String],false)},{prop:"GetAttribute",name:"GetAttribute",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetAttributeNS",name:"GetAttributeNS",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"GetElementsByClassName",name:"GetElementsByClassName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagName",name:"GetElementsByTagName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagNameNS",name:"GetElementsByTagNameNS",pkg:"",typ:$funcType([$String,$String],[GN],false)},{prop:"HasAttribute",name:"HasAttribute",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"HasAttributeNS",name:"HasAttributeNS",pkg:"",typ:$funcType([$String,$String],[$Bool],false)},{prop:"QuerySelector",name:"QuerySelector",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelectorAll",name:"QuerySelectorAll",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"RemoveAttribute",name:"RemoveAttribute",pkg:"",typ:$funcType([$String],[],false)},{prop:"RemoveAttributeNS",name:"RemoveAttributeNS",pkg:"",typ:$funcType([$String,$String],[],false)},{prop:"SetAttribute",name:"SetAttribute",pkg:"",typ:$funcType([$String,$String],[],false)},{prop:"SetAttributeNS",name:"SetAttributeNS",pkg:"",typ:$funcType([$String,$String,$String],[],false)},{prop:"InnerHTML",name:"InnerHTML",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetInnerHTML",name:"SetInnerHTML",pkg:"",typ:$funcType([$String],[],false)},{prop:"OuterHTML",name:"OuterHTML",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetOuterHTML",name:"SetOuterHTML",pkg:"",typ:$funcType([$String],[],false)}];IN.methods=[{prop:"Rel",name:"Rel",pkg:"",typ:$funcType([],[HV],false)}];IO.methods=[{prop:"Rel",name:"Rel",pkg:"",typ:$funcType([],[HV],false)}];HN.methods=[{prop:"Rel",name:"Rel",pkg:"",typ:$funcType([],[HV],false)}];IP.methods=[{prop:"Href",name:"Href",pkg:"",typ:$funcType([],[$String],false)},{prop:"Target",name:"Target",pkg:"",typ:$funcType([],[$String],false)}];IR.methods=[{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)}];IT.methods=[{prop:"GetContext2d",name:"GetContext2d",pkg:"",typ:$funcType([],[IS],false)},{prop:"GetContext",name:"GetContext",pkg:"",typ:$funcType([$String],[GK],false)}];IS.methods=[{prop:"CreateLinearGradient",name:"CreateLinearGradient",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int],[],false)},{prop:"Rect",name:"Rect",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int],[],false)},{prop:"FillRect",name:"FillRect",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int],[],false)},{prop:"StrokeRect",name:"StrokeRect",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int],[],false)},{prop:"ClearRect",name:"ClearRect",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int],[],false)},{prop:"Fill",name:"Fill",pkg:"",typ:$funcType([],[],false)},{prop:"Stroke",name:"Stroke",pkg:"",typ:$funcType([],[],false)},{prop:"BeginPath",name:"BeginPath",pkg:"",typ:$funcType([],[],false)},{prop:"MoveTo",name:"MoveTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ClosePath",name:"ClosePath",pkg:"",typ:$funcType([],[],false)},{prop:"LineTo",name:"LineTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Clip",name:"Clip",pkg:"",typ:$funcType([],[],false)},{prop:"QuadraticCurveTo",name:"QuadraticCurveTo",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int],[],false)},{prop:"BezierCurveTo",name:"BezierCurveTo",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int,$Int,$Int],[],false)},{prop:"Arc",name:"Arc",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int,$Int,$Bool],[],false)},{prop:"ArcTo",name:"ArcTo",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int,$Int],[],false)},{prop:"IsPointInPath",name:"IsPointInPath",pkg:"",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:"Scale",name:"Scale",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Rotate",name:"Rotate",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Translate",name:"Translate",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Transform",name:"Transform",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int,$Int,$Int],[],false)},{prop:"SetTransform",name:"SetTransform",pkg:"",typ:$funcType([$Int,$Int,$Int,$Int,$Int,$Int],[],false)},{prop:"FillText",name:"FillText",pkg:"",typ:$funcType([$String,$Int,$Int,$Int],[],false)},{prop:"StrokeText",name:"StrokeText",pkg:"",typ:$funcType([$String,$Int,$Int,$Int],[],false)}];HM.methods=[{prop:"Options",name:"Options",pkg:"",typ:$funcType([],[GX],false)}];IU.methods=[{prop:"Elements",name:"Elements",pkg:"",typ:$funcType([],[GO],false)},{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)}];GT.methods=[{prop:"Elements",name:"Elements",pkg:"",typ:$funcType([],[GO],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Submit",name:"Submit",pkg:"",typ:$funcType([],[],false)},{prop:"Reset",name:"Reset",pkg:"",typ:$funcType([],[],false)},{prop:"Item",name:"Item",pkg:"",typ:$funcType([$Int],[AI],false)},{prop:"NamedItem",name:"NamedItem",pkg:"",typ:$funcType([$String],[AI],false)}];IV.methods=[{prop:"ContentDocument",name:"ContentDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ContentWindow",name:"ContentWindow",pkg:"",typ:$funcType([],[AL],false)}];IW.methods=[{prop:"Files",name:"Files",pkg:"",typ:$funcType([],[HL],false)},{prop:"List",name:"List",pkg:"",typ:$funcType([],[HM],false)},{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)},{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)},{prop:"Select",name:"Select",pkg:"",typ:$funcType([],[],false)},{prop:"SetSelectionRange",name:"SetSelectionRange",pkg:"",typ:$funcType([$Int,$Int,$String],[],false)},{prop:"StepDown",name:"StepDown",pkg:"",typ:$funcType([$Int],[$error],false)},{prop:"StepUp",name:"StepUp",pkg:"",typ:$funcType([$Int],[$error],false)}];IX.methods=[{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)}];GU.methods=[{prop:"Control",name:"Control",pkg:"",typ:$funcType([],[AI],false)},{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)}];IY.methods=[{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)}];IZ.methods=[{prop:"Rel",name:"Rel",pkg:"",typ:$funcType([],[HV],false)},{prop:"Sizes",name:"Sizes",pkg:"",typ:$funcType([],[HV],false)},{prop:"Sheet",name:"Sheet",pkg:"",typ:$funcType([],[BF],false)}];JA.methods=[{prop:"Areas",name:"Areas",pkg:"",typ:$funcType([],[HO],false)},{prop:"Images",name:"Images",pkg:"",typ:$funcType([],[GO],false)}];GR.methods=[{prop:"Play",name:"Play",pkg:"",typ:$funcType([],[],false)},{prop:"Pause",name:"Pause",pkg:"",typ:$funcType([],[],false)}];DC.methods=[{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)}];JB.methods=[{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"ContentDocument",name:"ContentDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ContentWindow",name:"ContentWindow",pkg:"",typ:$funcType([],[AL],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)}];GW.methods=[{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)}];JC.methods=[{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"For",name:"For",pkg:"",typ:$funcType([],[HV],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)}];DM.methods=[{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)}];JD.methods=[{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)},{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"Options",name:"Options",pkg:"",typ:$funcType([],[GX],false)},{prop:"SelectedOptions",name:"SelectedOptions",pkg:"",typ:$funcType([],[GX],false)},{prop:"Item",name:"Item",pkg:"",typ:$funcType([$Int],[GW],false)},{prop:"NamedItem",name:"NamedItem",pkg:"",typ:$funcType([$String],[GW],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)}];HR.methods=[{prop:"Cells",name:"Cells",pkg:"",typ:$funcType([],[HQ],false)},{prop:"InsertCell",name:"InsertCell",pkg:"",typ:$funcType([$Int],[HP],false)},{prop:"DeleteCell",name:"DeleteCell",pkg:"",typ:$funcType([$Int],[],false)}];JE.methods=[{prop:"Rows",name:"Rows",pkg:"",typ:$funcType([],[HS],false)},{prop:"DeleteRow",name:"DeleteRow",pkg:"",typ:$funcType([$Int],[],false)},{prop:"InsertRow",name:"InsertRow",pkg:"",typ:$funcType([$Int],[HR],false)}];JF.methods=[{prop:"Form",name:"Form",pkg:"",typ:$funcType([],[GT],false)},{prop:"Labels",name:"Labels",pkg:"",typ:$funcType([],[GV],false)},{prop:"Validity",name:"Validity",pkg:"",typ:$funcType([],[IQ],false)},{prop:"CheckValidity",name:"CheckValidity",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"SetCustomValidity",name:"SetCustomValidity",pkg:"",typ:$funcType([$String],[],false)},{prop:"Select",name:"Select",pkg:"",typ:$funcType([],[],false)},{prop:"SetSelectionRange",name:"SetSelectionRange",pkg:"",typ:$funcType([$Int,$Int,$String],[],false)}];JH.methods=[{prop:"Track",name:"Track",pkg:"",typ:$funcType([],[JG],false)}];ID.methods=[{prop:"ToMap",name:"ToMap",pkg:"",typ:$funcType([],[IC],false)},{prop:"RemoveProperty",name:"RemoveProperty",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetPropertyValue",name:"GetPropertyValue",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetPropertyPriority",name:"GetPropertyPriority",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SetProperty",name:"SetProperty",pkg:"",typ:$funcType([$String,$String,$String],[],false)},{prop:"Index",name:"Index",pkg:"",typ:$funcType([$Int],[$String],false)},{prop:"Length",name:"Length",pkg:"",typ:$funcType([],[$Int],false)}];HT.methods=[{prop:"Bubbles",name:"Bubbles",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Cancelable",name:"Cancelable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"CurrentTarget",name:"CurrentTarget",pkg:"",typ:$funcType([],[BJ],false)},{prop:"DefaultPrevented",name:"DefaultPrevented",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"EventPhase",name:"EventPhase",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Target",name:"Target",pkg:"",typ:$funcType([],[BJ],false)},{prop:"Timestamp",name:"Timestamp",pkg:"",typ:$funcType([],[B.Time],false)},{prop:"Type",name:"Type",pkg:"",typ:$funcType([],[$String],false)},{prop:"PreventDefault",name:"PreventDefault",pkg:"",typ:$funcType([],[],false)},{prop:"StopImmediatePropagation",name:"StopImmediatePropagation",pkg:"",typ:$funcType([],[],false)},{prop:"StopPropagation",name:"StopPropagation",pkg:"",typ:$funcType([],[],false)},{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)}];JI.methods=[{prop:"ModifierState",name:"ModifierState",pkg:"",typ:$funcType([$String],[$Bool],false)}];JJ.methods=[{prop:"RelatedTarget",name:"RelatedTarget",pkg:"",typ:$funcType([],[BJ],false)},{prop:"ModifierState",name:"ModifierState",pkg:"",typ:$funcType([$String],[$Bool],false)}];Z.init("honnef.co/go/js/dom",[{prop:"dtl",name:"dtl",exported:false,typ:GK,tag:""},{prop:"o",name:"o",exported:false,typ:GK,tag:""},{prop:"sa",name:"sa",exported:false,typ:$String,tag:""},{prop:"Length",name:"Length",exported:true,typ:$Int,tag:"js:\"length\""}]);AA.init([{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"AdoptNode",name:"AdoptNode",pkg:"",typ:$funcType([BH],[BH],false)},{prop:"AppendChild",name:"AppendChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"Async",name:"Async",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"BaseURI",name:"BaseURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"ChildNodes",name:"ChildNodes",pkg:"",typ:$funcType([],[GM],false)},{prop:"CloneNode",name:"CloneNode",pkg:"",typ:$funcType([$Bool],[BH],false)},{prop:"CompareDocumentPosition",name:"CompareDocumentPosition",pkg:"",typ:$funcType([BH],[$Int],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"CreateDocumentFragment",name:"CreateDocumentFragment",pkg:"",typ:$funcType([],[AB],false)},{prop:"CreateElement",name:"CreateElement",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"CreateElementNS",name:"CreateElementNS",pkg:"",typ:$funcType([$String,$String],[BJ],false)},{prop:"CreateTextNode",name:"CreateTextNode",pkg:"",typ:$funcType([$String],[HH],false)},{prop:"Doctype",name:"Doctype",pkg:"",typ:$funcType([],[BD],false)},{prop:"DocumentElement",name:"DocumentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"DocumentURI",name:"DocumentURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"ElementFromPoint",name:"ElementFromPoint",pkg:"",typ:$funcType([$Int,$Int],[BJ],false)},{prop:"EnableStyleSheetsForSet",name:"EnableStyleSheetsForSet",pkg:"",typ:$funcType([$String],[],false)},{prop:"FirstChild",name:"FirstChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"GetElementByID",name:"GetElementByID",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"GetElementsByClassName",name:"GetElementsByClassName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagName",name:"GetElementsByTagName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagNameNS",name:"GetElementsByTagNameNS",pkg:"",typ:$funcType([$String,$String],[GN],false)},{prop:"HasChildNodes",name:"HasChildNodes",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Implementation",name:"Implementation",pkg:"",typ:$funcType([],[BE],false)},{prop:"ImportNode",name:"ImportNode",pkg:"",typ:$funcType([BH,$Bool],[BH],false)},{prop:"InsertBefore",name:"InsertBefore",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"IsDefaultNamespace",name:"IsDefaultNamespace",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"IsEqualNode",name:"IsEqualNode",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"LastChild",name:"LastChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"LastStyleSheetSet",name:"LastStyleSheetSet",pkg:"",typ:$funcType([],[$String],false)},{prop:"LookupNamespaceURI",name:"LookupNamespaceURI",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LookupPrefix",name:"LookupPrefix",pkg:"",typ:$funcType([],[$String],false)},{prop:"NextSibling",name:"NextSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"NodeName",name:"NodeName",pkg:"",typ:$funcType([],[$String],false)},{prop:"NodeType",name:"NodeType",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NodeValue",name:"NodeValue",pkg:"",typ:$funcType([],[$String],false)},{prop:"Normalize",name:"Normalize",pkg:"",typ:$funcType([],[],false)},{prop:"OwnerDocument",name:"OwnerDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ParentElement",name:"ParentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"ParentNode",name:"ParentNode",pkg:"",typ:$funcType([],[BH],false)},{prop:"PreferredStyleSheetSet",name:"PreferredStyleSheetSet",pkg:"",typ:$funcType([],[$String],false)},{prop:"PreviousSibling",name:"PreviousSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"QuerySelector",name:"QuerySelector",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelectorAll",name:"QuerySelectorAll",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"RemoveChild",name:"RemoveChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"ReplaceChild",name:"ReplaceChild",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"SelectedStyleSheetSet",name:"SelectedStyleSheetSet",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetAsync",name:"SetAsync",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetNodeValue",name:"SetNodeValue",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTextContent",name:"SetTextContent",pkg:"",typ:$funcType([$String],[],false)},{prop:"StyleSheetSets",name:"StyleSheetSets",pkg:"",typ:$funcType([],[HX],false)},{prop:"StyleSheets",name:"StyleSheets",pkg:"",typ:$funcType([],[HX],false)},{prop:"TextContent",name:"TextContent",pkg:"",typ:$funcType([],[$String],false)},{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)}]);AB.init([{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"AppendChild",name:"AppendChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"BaseURI",name:"BaseURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"ChildNodes",name:"ChildNodes",pkg:"",typ:$funcType([],[GM],false)},{prop:"CloneNode",name:"CloneNode",pkg:"",typ:$funcType([$Bool],[BH],false)},{prop:"CompareDocumentPosition",name:"CompareDocumentPosition",pkg:"",typ:$funcType([BH],[$Int],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"FirstChild",name:"FirstChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"GetElementByID",name:"GetElementByID",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"HasChildNodes",name:"HasChildNodes",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"InsertBefore",name:"InsertBefore",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"IsDefaultNamespace",name:"IsDefaultNamespace",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"IsEqualNode",name:"IsEqualNode",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"LastChild",name:"LastChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"LookupNamespaceURI",name:"LookupNamespaceURI",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LookupPrefix",name:"LookupPrefix",pkg:"",typ:$funcType([],[$String],false)},{prop:"NextSibling",name:"NextSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"NodeName",name:"NodeName",pkg:"",typ:$funcType([],[$String],false)},{prop:"NodeType",name:"NodeType",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NodeValue",name:"NodeValue",pkg:"",typ:$funcType([],[$String],false)},{prop:"Normalize",name:"Normalize",pkg:"",typ:$funcType([],[],false)},{prop:"OwnerDocument",name:"OwnerDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ParentElement",name:"ParentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"ParentNode",name:"ParentNode",pkg:"",typ:$funcType([],[BH],false)},{prop:"PreviousSibling",name:"PreviousSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"QuerySelector",name:"QuerySelector",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelectorAll",name:"QuerySelectorAll",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"RemoveChild",name:"RemoveChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"ReplaceChild",name:"ReplaceChild",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"SetNodeValue",name:"SetNodeValue",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTextContent",name:"SetTextContent",pkg:"",typ:$funcType([$String],[],false)},{prop:"TextContent",name:"TextContent",pkg:"",typ:$funcType([],[$String],false)},{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)}]);AD.init("",[{prop:"BasicNode",name:"",exported:true,typ:HZ,tag:""}]);AE.init("",[{prop:"BasicNode",name:"",exported:true,typ:HZ,tag:""}]);AF.init("honnef.co/go/js/dom",[{prop:"document",name:"",exported:false,typ:IA,tag:""}]);AG.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"Href",name:"Href",exported:true,typ:$String,tag:"js:\"href\""},{prop:"Protocol",name:"Protocol",exported:true,typ:$String,tag:"js:\"protocol\""},{prop:"Host",name:"Host",exported:true,typ:$String,tag:"js:\"host\""},{prop:"Hostname",name:"Hostname",exported:true,typ:$String,tag:"js:\"hostname\""},{prop:"Port",name:"Port",exported:true,typ:$String,tag:"js:\"port\""},{prop:"Pathname",name:"Pathname",exported:true,typ:$String,tag:"js:\"pathname\""},{prop:"Search",name:"Search",exported:true,typ:$String,tag:"js:\"search\""},{prop:"Hash",name:"Hash",exported:true,typ:$String,tag:"js:\"hash\""},{prop:"Username",name:"Username",exported:true,typ:$String,tag:"js:\"username\""},{prop:"Password",name:"Password",exported:true,typ:$String,tag:"js:\"password\""},{prop:"Origin",name:"Origin",exported:true,typ:$String,tag:"js:\"origin\""}]);AH.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"URLUtils",name:"",exported:true,typ:GQ,tag:""}]);AI.init([{prop:"AccessKey",name:"AccessKey",pkg:"",typ:$funcType([],[$String],false)},{prop:"AccessKeyLabel",name:"AccessKeyLabel",pkg:"",typ:$funcType([],[$String],false)},{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"AppendChild",name:"AppendChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"Attributes",name:"Attributes",pkg:"",typ:$funcType([],[IC],false)},{prop:"BaseURI",name:"BaseURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"Blur",name:"Blur",pkg:"",typ:$funcType([],[],false)},{prop:"ChildNodes",name:"ChildNodes",pkg:"",typ:$funcType([],[GM],false)},{prop:"Class",name:"Class",pkg:"",typ:$funcType([],[HV],false)},{prop:"Click",name:"Click",pkg:"",typ:$funcType([],[],false)},{prop:"CloneNode",name:"CloneNode",pkg:"",typ:$funcType([$Bool],[BH],false)},{prop:"CompareDocumentPosition",name:"CompareDocumentPosition",pkg:"",typ:$funcType([BH],[$Int],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"ContentEditable",name:"ContentEditable",pkg:"",typ:$funcType([],[$String],false)},{prop:"Dataset",name:"Dataset",pkg:"",typ:$funcType([],[IC],false)},{prop:"Dir",name:"Dir",pkg:"",typ:$funcType([],[$String],false)},{prop:"Draggable",name:"Draggable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"FirstChild",name:"FirstChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"Focus",name:"Focus",pkg:"",typ:$funcType([],[],false)},{prop:"GetAttribute",name:"GetAttribute",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetAttributeNS",name:"GetAttributeNS",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"GetBoundingClientRect",name:"GetBoundingClientRect",pkg:"",typ:$funcType([],[BK],false)},{prop:"GetElementsByClassName",name:"GetElementsByClassName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagName",name:"GetElementsByTagName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagNameNS",name:"GetElementsByTagNameNS",pkg:"",typ:$funcType([$String,$String],[GN],false)},{prop:"HasAttribute",name:"HasAttribute",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"HasAttributeNS",name:"HasAttributeNS",pkg:"",typ:$funcType([$String,$String],[$Bool],false)},{prop:"HasChildNodes",name:"HasChildNodes",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"ID",name:"ID",pkg:"",typ:$funcType([],[$String],false)},{prop:"InnerHTML",name:"InnerHTML",pkg:"",typ:$funcType([],[$String],false)},{prop:"InsertBefore",name:"InsertBefore",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"IsContentEditable",name:"IsContentEditable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"IsDefaultNamespace",name:"IsDefaultNamespace",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"IsEqualNode",name:"IsEqualNode",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"Lang",name:"Lang",pkg:"",typ:$funcType([],[$String],false)},{prop:"LastChild",name:"LastChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"LookupNamespaceURI",name:"LookupNamespaceURI",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LookupPrefix",name:"LookupPrefix",pkg:"",typ:$funcType([],[$String],false)},{prop:"NextElementSibling",name:"NextElementSibling",pkg:"",typ:$funcType([],[BJ],false)},{prop:"NextSibling",name:"NextSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"NodeName",name:"NodeName",pkg:"",typ:$funcType([],[$String],false)},{prop:"NodeType",name:"NodeType",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NodeValue",name:"NodeValue",pkg:"",typ:$funcType([],[$String],false)},{prop:"Normalize",name:"Normalize",pkg:"",typ:$funcType([],[],false)},{prop:"OffsetHeight",name:"OffsetHeight",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"OffsetLeft",name:"OffsetLeft",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"OffsetParent",name:"OffsetParent",pkg:"",typ:$funcType([],[AI],false)},{prop:"OffsetTop",name:"OffsetTop",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"OffsetWidth",name:"OffsetWidth",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"OuterHTML",name:"OuterHTML",pkg:"",typ:$funcType([],[$String],false)},{prop:"OwnerDocument",name:"OwnerDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ParentElement",name:"ParentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"ParentNode",name:"ParentNode",pkg:"",typ:$funcType([],[BH],false)},{prop:"PreviousElementSibling",name:"PreviousElementSibling",pkg:"",typ:$funcType([],[BJ],false)},{prop:"PreviousSibling",name:"PreviousSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"QuerySelector",name:"QuerySelector",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelectorAll",name:"QuerySelectorAll",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"RemoveAttribute",name:"RemoveAttribute",pkg:"",typ:$funcType([$String],[],false)},{prop:"RemoveAttributeNS",name:"RemoveAttributeNS",pkg:"",typ:$funcType([$String,$String],[],false)},{prop:"RemoveChild",name:"RemoveChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"ReplaceChild",name:"ReplaceChild",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"SetAccessKey",name:"SetAccessKey",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetAccessKeyLabel",name:"SetAccessKeyLabel",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetAttribute",name:"SetAttribute",pkg:"",typ:$funcType([$String,$String],[],false)},{prop:"SetAttributeNS",name:"SetAttributeNS",pkg:"",typ:$funcType([$String,$String,$String],[],false)},{prop:"SetContentEditable",name:"SetContentEditable",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetDir",name:"SetDir",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetDraggable",name:"SetDraggable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetID",name:"SetID",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetInnerHTML",name:"SetInnerHTML",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLang",name:"SetLang",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetNodeValue",name:"SetNodeValue",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetOuterHTML",name:"SetOuterHTML",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTextContent",name:"SetTextContent",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTitle",name:"SetTitle",pkg:"",typ:$funcType([$String],[],false)},{prop:"Style",name:"Style",pkg:"",typ:$funcType([],[ID],false)},{prop:"TagName",name:"TagName",pkg:"",typ:$funcType([],[$String],false)},{prop:"TextContent",name:"TextContent",pkg:"",typ:$funcType([],[$String],false)},{prop:"Title",name:"Title",pkg:"",typ:$funcType([],[$String],false)},{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)}]);AL.init([{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"Alert",name:"Alert",pkg:"",typ:$funcType([$String],[],false)},{prop:"Back",name:"Back",pkg:"",typ:$funcType([],[],false)},{prop:"Blur",name:"Blur",pkg:"",typ:$funcType([],[],false)},{prop:"CancelAnimationFrame",name:"CancelAnimationFrame",pkg:"",typ:$funcType([$Int],[],false)},{prop:"ClearInterval",name:"ClearInterval",pkg:"",typ:$funcType([$Int],[],false)},{prop:"ClearTimeout",name:"ClearTimeout",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Close",name:"Close",pkg:"",typ:$funcType([],[],false)},{prop:"Confirm",name:"Confirm",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"Console",name:"Console",pkg:"",typ:$funcType([],[IE],false)},{prop:"Document",name:"Document",pkg:"",typ:$funcType([],[AA],false)},{prop:"Focus",name:"Focus",pkg:"",typ:$funcType([],[],false)},{prop:"Forward",name:"Forward",pkg:"",typ:$funcType([],[],false)},{prop:"FrameElement",name:"FrameElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"GetComputedStyle",name:"GetComputedStyle",pkg:"",typ:$funcType([BJ,$String],[ID],false)},{prop:"GetSelection",name:"GetSelection",pkg:"",typ:$funcType([],[AO],false)},{prop:"History",name:"History",pkg:"",typ:$funcType([],[BA],false)},{prop:"Home",name:"Home",pkg:"",typ:$funcType([],[],false)},{prop:"InnerHeight",name:"InnerHeight",pkg:"",typ:$funcType([],[$Int],false)},{prop:"InnerWidth",name:"InnerWidth",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Length",name:"Length",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Location",name:"Location",pkg:"",typ:$funcType([],[HY],false)},{prop:"MoveBy",name:"MoveBy",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"MoveTo",name:"MoveTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Name",name:"Name",pkg:"",typ:$funcType([],[$String],false)},{prop:"Navigator",name:"Navigator",pkg:"",typ:$funcType([],[AQ],false)},{prop:"Open",name:"Open",pkg:"",typ:$funcType([$String,$String,$String],[AL],false)},{prop:"OpenDialog",name:"OpenDialog",pkg:"",typ:$funcType([$String,$String,$String,GJ],[AL],false)},{prop:"Opener",name:"Opener",pkg:"",typ:$funcType([],[AL],false)},{prop:"OuterHeight",name:"OuterHeight",pkg:"",typ:$funcType([],[$Int],false)},{prop:"OuterWidth",name:"OuterWidth",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Parent",name:"Parent",pkg:"",typ:$funcType([],[AL],false)},{prop:"PostMessage",name:"PostMessage",pkg:"",typ:$funcType([$String,$String,GJ],[],false)},{prop:"Print",name:"Print",pkg:"",typ:$funcType([],[],false)},{prop:"Prompt",name:"Prompt",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"RequestAnimationFrame",name:"RequestAnimationFrame",pkg:"",typ:$funcType([IF],[$Int],false)},{prop:"ResizeBy",name:"ResizeBy",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ResizeTo",name:"ResizeTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Screen",name:"Screen",pkg:"",typ:$funcType([],[IG],false)},{prop:"ScreenX",name:"ScreenX",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScreenY",name:"ScreenY",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Scroll",name:"Scroll",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ScrollBy",name:"ScrollBy",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ScrollByLines",name:"ScrollByLines",pkg:"",typ:$funcType([$Int],[],false)},{prop:"ScrollMaxX",name:"ScrollMaxX",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScrollMaxY",name:"ScrollMaxY",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScrollTo",name:"ScrollTo",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"ScrollX",name:"ScrollX",pkg:"",typ:$funcType([],[$Int],false)},{prop:"ScrollY",name:"ScrollY",pkg:"",typ:$funcType([],[$Int],false)},{prop:"SetCursor",name:"SetCursor",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetInterval",name:"SetInterval",pkg:"",typ:$funcType([HI,$Int],[$Int],false)},{prop:"SetName",name:"SetName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTimeout",name:"SetTimeout",pkg:"",typ:$funcType([HI,$Int],[$Int],false)},{prop:"Stop",name:"Stop",pkg:"",typ:$funcType([],[],false)},{prop:"Top",name:"Top",pkg:"",typ:$funcType([],[AL],false)}]);AM.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""}]);AO.init([]);AP.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"AvailTop",name:"AvailTop",exported:true,typ:$Int,tag:"js:\"availTop\""},{prop:"AvailLeft",name:"AvailLeft",exported:true,typ:$Int,tag:"js:\"availLeft\""},{prop:"AvailHeight",name:"AvailHeight",exported:true,typ:$Int,tag:"js:\"availHeight\""},{prop:"AvailWidth",name:"AvailWidth",exported:true,typ:$Int,tag:"js:\"availWidth\""},{prop:"ColorDepth",name:"ColorDepth",exported:true,typ:$Int,tag:"js:\"colorDepth\""},{prop:"Height",name:"Height",exported:true,typ:$Int,tag:"js:\"height\""},{prop:"Left",name:"Left",exported:true,typ:$Int,tag:"js:\"left\""},{prop:"PixelDepth",name:"PixelDepth",exported:true,typ:$Int,tag:"js:\"pixelDepth\""},{prop:"Top",name:"Top",exported:true,typ:$Int,tag:"js:\"top\""},{prop:"Width",name:"Width",exported:true,typ:$Int,tag:"js:\"width\""}]);AQ.init([{prop:"AppName",name:"AppName",pkg:"",typ:$funcType([],[$String],false)},{prop:"AppVersion",name:"AppVersion",pkg:"",typ:$funcType([],[$String],false)},{prop:"CookieEnabled",name:"CookieEnabled",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"DoNotTrack",name:"DoNotTrack",pkg:"",typ:$funcType([],[$String],false)},{prop:"Geolocation",name:"Geolocation",pkg:"",typ:$funcType([],[AV],false)},{prop:"Language",name:"Language",pkg:"",typ:$funcType([],[$String],false)},{prop:"Online",name:"Online",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Platform",name:"Platform",pkg:"",typ:$funcType([],[$String],false)},{prop:"Product",name:"Product",pkg:"",typ:$funcType([],[$String],false)},{prop:"RegisterProtocolHandler",name:"RegisterProtocolHandler",pkg:"",typ:$funcType([$String,$String,$String],[],false)},{prop:"UserAgent",name:"UserAgent",pkg:"",typ:$funcType([],[$String],false)}]);AV.init([{prop:"ClearWatch",name:"ClearWatch",pkg:"",typ:$funcType([$Int],[],false)},{prop:"CurrentPosition",name:"CurrentPosition",pkg:"",typ:$funcType([II,IJ,AX],[AY],false)},{prop:"WatchPosition",name:"WatchPosition",pkg:"",typ:$funcType([II,IJ,AX],[$Int],false)}]);AW.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"Code",name:"Code",exported:true,typ:$Int,tag:"js:\"code\""}]);AX.init("",[{prop:"EnableHighAccuracy",name:"EnableHighAccuracy",exported:true,typ:$Bool,tag:""},{prop:"Timeout",name:"Timeout",exported:true,typ:B.Duration,tag:""},{prop:"MaximumAge",name:"MaximumAge",exported:true,typ:B.Duration,tag:""}]);AY.init("",[{prop:"Coords",name:"Coords",exported:true,typ:IL,tag:""},{prop:"Timestamp",name:"Timestamp",exported:true,typ:B.Time,tag:""}]);AZ.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"Latitude",name:"Latitude",exported:true,typ:$Float64,tag:"js:\"latitude\""},{prop:"Longitude",name:"Longitude",exported:true,typ:$Float64,tag:"js:\"longitude\""},{prop:"Altitude",name:"Altitude",exported:true,typ:$Float64,tag:"js:\"altitude\""},{prop:"Accuracy",name:"Accuracy",exported:true,typ:$Float64,tag:"js:\"accuracy\""},{prop:"AltitudeAccuracy",name:"AltitudeAccuracy",exported:true,typ:$Float64,tag:"js:\"altitudeAccuracy\""},{prop:"Heading",name:"Heading",exported:true,typ:$Float64,tag:"js:\"heading\""},{prop:"Speed",name:"Speed",exported:true,typ:$Float64,tag:"js:\"speed\""}]);BA.init([{prop:"Back",name:"Back",pkg:"",typ:$funcType([],[],false)},{prop:"Forward",name:"Forward",pkg:"",typ:$funcType([],[],false)},{prop:"Go",name:"Go",pkg:"",typ:$funcType([$Int],[],false)},{prop:"Length",name:"Length",pkg:"",typ:$funcType([],[$Int],false)},{prop:"PushState",name:"PushState",pkg:"",typ:$funcType([$emptyInterface,$String,$String],[],false)},{prop:"ReplaceState",name:"ReplaceState",pkg:"",typ:$funcType([$emptyInterface,$String,$String],[],false)},{prop:"State",name:"State",pkg:"",typ:$funcType([],[$emptyInterface],false)}]);BB.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""}]);BD.init([]);BE.init([]);BF.init([]);BH.init([{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"AppendChild",name:"AppendChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"BaseURI",name:"BaseURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"ChildNodes",name:"ChildNodes",pkg:"",typ:$funcType([],[GM],false)},{prop:"CloneNode",name:"CloneNode",pkg:"",typ:$funcType([$Bool],[BH],false)},{prop:"CompareDocumentPosition",name:"CompareDocumentPosition",pkg:"",typ:$funcType([BH],[$Int],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"FirstChild",name:"FirstChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"HasChildNodes",name:"HasChildNodes",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"InsertBefore",name:"InsertBefore",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"IsDefaultNamespace",name:"IsDefaultNamespace",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"IsEqualNode",name:"IsEqualNode",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"LastChild",name:"LastChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"LookupNamespaceURI",name:"LookupNamespaceURI",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LookupPrefix",name:"LookupPrefix",pkg:"",typ:$funcType([],[$String],false)},{prop:"NextSibling",name:"NextSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"NodeName",name:"NodeName",pkg:"",typ:$funcType([],[$String],false)},{prop:"NodeType",name:"NodeType",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NodeValue",name:"NodeValue",pkg:"",typ:$funcType([],[$String],false)},{prop:"Normalize",name:"Normalize",pkg:"",typ:$funcType([],[],false)},{prop:"OwnerDocument",name:"OwnerDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ParentElement",name:"ParentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"ParentNode",name:"ParentNode",pkg:"",typ:$funcType([],[BH],false)},{prop:"PreviousSibling",name:"PreviousSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"RemoveChild",name:"RemoveChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"ReplaceChild",name:"ReplaceChild",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"SetNodeValue",name:"SetNodeValue",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTextContent",name:"SetTextContent",pkg:"",typ:$funcType([$String],[],false)},{prop:"TextContent",name:"TextContent",pkg:"",typ:$funcType([],[$String],false)},{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)}]);BI.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""}]);BJ.init([{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,HW],[HJ],false)},{prop:"AppendChild",name:"AppendChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"Attributes",name:"Attributes",pkg:"",typ:$funcType([],[IC],false)},{prop:"BaseURI",name:"BaseURI",pkg:"",typ:$funcType([],[$String],false)},{prop:"ChildNodes",name:"ChildNodes",pkg:"",typ:$funcType([],[GM],false)},{prop:"Class",name:"Class",pkg:"",typ:$funcType([],[HV],false)},{prop:"CloneNode",name:"CloneNode",pkg:"",typ:$funcType([$Bool],[BH],false)},{prop:"CompareDocumentPosition",name:"CompareDocumentPosition",pkg:"",typ:$funcType([BH],[$Int],false)},{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"FirstChild",name:"FirstChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"GetAttribute",name:"GetAttribute",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetAttributeNS",name:"GetAttributeNS",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"GetBoundingClientRect",name:"GetBoundingClientRect",pkg:"",typ:$funcType([],[BK],false)},{prop:"GetElementsByClassName",name:"GetElementsByClassName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagName",name:"GetElementsByTagName",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"GetElementsByTagNameNS",name:"GetElementsByTagNameNS",pkg:"",typ:$funcType([$String,$String],[GN],false)},{prop:"HasAttribute",name:"HasAttribute",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"HasAttributeNS",name:"HasAttributeNS",pkg:"",typ:$funcType([$String,$String],[$Bool],false)},{prop:"HasChildNodes",name:"HasChildNodes",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"ID",name:"ID",pkg:"",typ:$funcType([],[$String],false)},{prop:"InnerHTML",name:"InnerHTML",pkg:"",typ:$funcType([],[$String],false)},{prop:"InsertBefore",name:"InsertBefore",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"IsDefaultNamespace",name:"IsDefaultNamespace",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"IsEqualNode",name:"IsEqualNode",pkg:"",typ:$funcType([BH],[$Bool],false)},{prop:"LastChild",name:"LastChild",pkg:"",typ:$funcType([],[BH],false)},{prop:"LookupNamespaceURI",name:"LookupNamespaceURI",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LookupPrefix",name:"LookupPrefix",pkg:"",typ:$funcType([],[$String],false)},{prop:"NextElementSibling",name:"NextElementSibling",pkg:"",typ:$funcType([],[BJ],false)},{prop:"NextSibling",name:"NextSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"NodeName",name:"NodeName",pkg:"",typ:$funcType([],[$String],false)},{prop:"NodeType",name:"NodeType",pkg:"",typ:$funcType([],[$Int],false)},{prop:"NodeValue",name:"NodeValue",pkg:"",typ:$funcType([],[$String],false)},{prop:"Normalize",name:"Normalize",pkg:"",typ:$funcType([],[],false)},{prop:"OuterHTML",name:"OuterHTML",pkg:"",typ:$funcType([],[$String],false)},{prop:"OwnerDocument",name:"OwnerDocument",pkg:"",typ:$funcType([],[AA],false)},{prop:"ParentElement",name:"ParentElement",pkg:"",typ:$funcType([],[BJ],false)},{prop:"ParentNode",name:"ParentNode",pkg:"",typ:$funcType([],[BH],false)},{prop:"PreviousElementSibling",name:"PreviousElementSibling",pkg:"",typ:$funcType([],[BJ],false)},{prop:"PreviousSibling",name:"PreviousSibling",pkg:"",typ:$funcType([],[BH],false)},{prop:"QuerySelector",name:"QuerySelector",pkg:"",typ:$funcType([$String],[BJ],false)},{prop:"QuerySelectorAll",name:"QuerySelectorAll",pkg:"",typ:$funcType([$String],[GN],false)},{prop:"RemoveAttribute",name:"RemoveAttribute",pkg:"",typ:$funcType([$String],[],false)},{prop:"RemoveAttributeNS",name:"RemoveAttributeNS",pkg:"",typ:$funcType([$String,$String],[],false)},{prop:"RemoveChild",name:"RemoveChild",pkg:"",typ:$funcType([BH],[],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,HJ],[],false)},{prop:"ReplaceChild",name:"ReplaceChild",pkg:"",typ:$funcType([BH,BH],[],false)},{prop:"SetAttribute",name:"SetAttribute",pkg:"",typ:$funcType([$String,$String],[],false)},{prop:"SetAttributeNS",name:"SetAttributeNS",pkg:"",typ:$funcType([$String,$String,$String],[],false)},{prop:"SetID",name:"SetID",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetInnerHTML",name:"SetInnerHTML",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetNodeValue",name:"SetNodeValue",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetOuterHTML",name:"SetOuterHTML",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTextContent",name:"SetTextContent",pkg:"",typ:$funcType([$String],[],false)},{prop:"TagName",name:"TagName",pkg:"",typ:$funcType([],[$String],false)},{prop:"TextContent",name:"TextContent",pkg:"",typ:$funcType([],[$String],false)},{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)}]);BK.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"Height",name:"Height",exported:true,typ:$Float64,tag:"js:\"height\""},{prop:"Width",name:"Width",exported:true,typ:$Float64,tag:"js:\"width\""},{prop:"Left",name:"Left",exported:true,typ:$Float64,tag:"js:\"left\""},{prop:"Right",name:"Right",exported:true,typ:$Float64,tag:"js:\"right\""},{prop:"Top",name:"Top",exported:true,typ:$Float64,tag:"js:\"top\""},{prop:"Bottom",name:"Bottom",exported:true,typ:$Float64,tag:"js:\"bottom\""}]);BN.init("",[{prop:"BasicElement",name:"",exported:true,typ:IM,tag:""}]);BO.init("",[{prop:"BasicNode",name:"",exported:true,typ:HZ,tag:""}]);BP.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"URLUtils",name:"",exported:true,typ:GQ,tag:""},{prop:"HrefLang",name:"HrefLang",exported:true,typ:$String,tag:"js:\"hreflang\""},{prop:"Media",name:"Media",exported:true,typ:$String,tag:"js:\"media\""},{prop:"TabIndex",name:"TabIndex",exported:true,typ:$Int,tag:"js:\"tabIndex\""},{prop:"Target",name:"Target",exported:true,typ:$String,tag:"js:\"target\""},{prop:"Text",name:"Text",exported:true,typ:$String,tag:"js:\"text\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""}]);BQ.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Alt",name:"Alt",exported:true,typ:$String,tag:"js:\"alt\""},{prop:"Coords",name:"Coords",exported:true,typ:$String,tag:"js:\"coords\""},{prop:"HrefLang",name:"HrefLang",exported:true,typ:$String,tag:"js:\"hreflang\""},{prop:"Media",name:"Media",exported:true,typ:$String,tag:"js:\"media\""},{prop:"Search",name:"Search",exported:true,typ:$String,tag:"js:\"search\""},{prop:"Shape",name:"Shape",exported:true,typ:$String,tag:"js:\"shape\""},{prop:"TabIndex",name:"TabIndex",exported:true,typ:$Int,tag:"js:\"tabIndex\""},{prop:"Target",name:"Target",exported:true,typ:$String,tag:"js:\"target\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""}]);BR.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"URLUtils",name:"",exported:true,typ:GQ,tag:""},{prop:"Alt",name:"Alt",exported:true,typ:$String,tag:"js:\"alt\""},{prop:"Coords",name:"Coords",exported:true,typ:$String,tag:"js:\"coords\""},{prop:"HrefLang",name:"HrefLang",exported:true,typ:$String,tag:"js:\"hreflang\""},{prop:"Media",name:"Media",exported:true,typ:$String,tag:"js:\"media\""},{prop:"Search",name:"Search",exported:true,typ:$String,tag:"js:\"search\""},{prop:"Shape",name:"Shape",exported:true,typ:$String,tag:"js:\"shape\""},{prop:"TabIndex",name:"TabIndex",exported:true,typ:$Int,tag:"js:\"tabIndex\""},{prop:"Target",name:"Target",exported:true,typ:$String,tag:"js:\"target\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""}]);BS.init("",[{prop:"HTMLMediaElement",name:"",exported:true,typ:GR,tag:""}]);BT.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);BU.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);BV.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);BW.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"CustomError",name:"CustomError",exported:true,typ:$Bool,tag:"js:\"customError\""},{prop:"PatternMismatch",name:"PatternMismatch",exported:true,typ:$Bool,tag:"js:\"patternMismatch\""},{prop:"RangeOverflow",name:"RangeOverflow",exported:true,typ:$Bool,tag:"js:\"rangeOverflow\""},{prop:"RangeUnderflow",name:"RangeUnderflow",exported:true,typ:$Bool,tag:"js:\"rangeUnderflow\""},{prop:"StepMismatch",name:"StepMismatch",exported:true,typ:$Bool,tag:"js:\"stepMismatch\""},{prop:"TooLong",name:"TooLong",exported:true,typ:$Bool,tag:"js:\"tooLong\""},{prop:"TypeMismatch",name:"TypeMismatch",exported:true,typ:$Bool,tag:"js:\"typeMismatch\""},{prop:"Valid",name:"Valid",exported:true,typ:$Bool,tag:"js:\"valid\""},{prop:"ValueMissing",name:"ValueMissing",exported:true,typ:$Bool,tag:"js:\"valueMissing\""}]);BX.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"AutoFocus",name:"AutoFocus",exported:true,typ:$Bool,tag:"js:\"autofocus\""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"FormAction",name:"FormAction",exported:true,typ:$String,tag:"js:\"formAction\""},{prop:"FormEncType",name:"FormEncType",exported:true,typ:$String,tag:"js:\"formEncType\""},{prop:"FormMethod",name:"FormMethod",exported:true,typ:$String,tag:"js:\"formMethod\""},{prop:"FormNoValidate",name:"FormNoValidate",exported:true,typ:$Bool,tag:"js:\"formNoValidate\""},{prop:"FormTarget",name:"FormTarget",exported:true,typ:$String,tag:"js:\"formTarget\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"TabIndex",name:"TabIndex",exported:true,typ:$Int,tag:"js:\"tabIndex\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""}]);BY.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Height",name:"Height",exported:true,typ:$Int,tag:"js:\"height\""},{prop:"Width",name:"Width",exported:true,typ:$Int,tag:"js:\"width\""}]);BZ.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""},{prop:"FillStyle",name:"FillStyle",exported:true,typ:$String,tag:"js:\"fillStyle\""},{prop:"StrokeStyle",name:"StrokeStyle",exported:true,typ:$String,tag:"js:\"strokeStyle\""},{prop:"ShadowColor",name:"ShadowColor",exported:true,typ:$String,tag:"js:\"shadowColor\""},{prop:"ShadowBlur",name:"ShadowBlur",exported:true,typ:$Int,tag:"js:\"shadowBlur\""},{prop:"ShadowOffsetX",name:"ShadowOffsetX",exported:true,typ:$Int,tag:"js:\"shadowOffsetX\""},{prop:"ShadowOffsetY",name:"ShadowOffsetY",exported:true,typ:$Int,tag:"js:\"shadowOffsetY\""},{prop:"LineCap",name:"LineCap",exported:true,typ:$String,tag:"js:\"lineCap\""},{prop:"LineJoin",name:"LineJoin",exported:true,typ:$String,tag:"js:\"lineJoin\""},{prop:"LineWidth",name:"LineWidth",exported:true,typ:$Int,tag:"js:\"lineWidth\""},{prop:"MiterLimit",name:"MiterLimit",exported:true,typ:$Int,tag:"js:\"miterLimit\""},{prop:"Font",name:"Font",exported:true,typ:$String,tag:"js:\"font\""},{prop:"TextAlign",name:"TextAlign",exported:true,typ:$String,tag:"js:\"textAlign\""},{prop:"TextBaseline",name:"TextBaseline",exported:true,typ:$String,tag:"js:\"textBaseline\""},{prop:"GlobalAlpha",name:"GlobalAlpha",exported:true,typ:$Float64,tag:"js:\"globalAlpha\""},{prop:"GlobalCompositeOperation",name:"GlobalCompositeOperation",exported:true,typ:$String,tag:"js:\"globalCompositeOperation\""}]);CA.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CB.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""}]);CC.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CD.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CE.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CF.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Src",name:"Src",exported:true,typ:$String,tag:"js:\"src\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"Width",name:"Width",exported:true,typ:$String,tag:"js:\"width\""}]);CG.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""}]);CH.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CI.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"AcceptCharset",name:"AcceptCharset",exported:true,typ:$String,tag:"js:\"acceptCharset\""},{prop:"Action",name:"Action",exported:true,typ:$String,tag:"js:\"action\""},{prop:"Autocomplete",name:"Autocomplete",exported:true,typ:$String,tag:"js:\"autocomplete\""},{prop:"Encoding",name:"Encoding",exported:true,typ:$String,tag:"js:\"encoding\""},{prop:"Enctype",name:"Enctype",exported:true,typ:$String,tag:"js:\"enctype\""},{prop:"Length",name:"Length",exported:true,typ:$Int,tag:"js:\"length\""},{prop:"Method",name:"Method",exported:true,typ:$String,tag:"js:\"method\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"NoValidate",name:"NoValidate",exported:true,typ:$Bool,tag:"js:\"noValidate\""},{prop:"Target",name:"Target",exported:true,typ:$String,tag:"js:\"target\""}]);CJ.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CK.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CL.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CM.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CN.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CO.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CP.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Width",name:"Width",exported:true,typ:$String,tag:"js:\"width\""},{prop:"Height",name:"Height",exported:true,typ:$String,tag:"js:\"height\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Src",name:"Src",exported:true,typ:$String,tag:"js:\"src\""},{prop:"SrcDoc",name:"SrcDoc",exported:true,typ:$String,tag:"js:\"srcdoc\""},{prop:"Seamless",name:"Seamless",exported:true,typ:$Bool,tag:"js:\"seamless\""}]);CQ.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Complete",name:"Complete",exported:true,typ:$Bool,tag:"js:\"complete\""},{prop:"CrossOrigin",name:"CrossOrigin",exported:true,typ:$String,tag:"js:\"crossOrigin\""},{prop:"Height",name:"Height",exported:true,typ:$Int,tag:"js:\"height\""},{prop:"IsMap",name:"IsMap",exported:true,typ:$Bool,tag:"js:\"isMap\""},{prop:"NaturalHeight",name:"NaturalHeight",exported:true,typ:$Int,tag:"js:\"naturalHeight\""},{prop:"NaturalWidth",name:"NaturalWidth",exported:true,typ:$Int,tag:"js:\"naturalWidth\""},{prop:"Src",name:"Src",exported:true,typ:$String,tag:"js:\"src\""},{prop:"UseMap",name:"UseMap",exported:true,typ:$String,tag:"js:\"useMap\""},{prop:"Width",name:"Width",exported:true,typ:$Int,tag:"js:\"width\""}]);CR.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Accept",name:"Accept",exported:true,typ:$String,tag:"js:\"accept\""},{prop:"Alt",name:"Alt",exported:true,typ:$String,tag:"js:\"alt\""},{prop:"Autocomplete",name:"Autocomplete",exported:true,typ:$String,tag:"js:\"autocomplete\""},{prop:"Autofocus",name:"Autofocus",exported:true,typ:$Bool,tag:"js:\"autofocus\""},{prop:"Checked",name:"Checked",exported:true,typ:$Bool,tag:"js:\"checked\""},{prop:"DefaultChecked",name:"DefaultChecked",exported:true,typ:$Bool,tag:"js:\"defaultChecked\""},{prop:"DefaultValue",name:"DefaultValue",exported:true,typ:$String,tag:"js:\"defaultValue\""},{prop:"DirName",name:"DirName",exported:true,typ:$String,tag:"js:\"dirName\""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"FormAction",name:"FormAction",exported:true,typ:$String,tag:"js:\"formAction\""},{prop:"FormEncType",name:"FormEncType",exported:true,typ:$String,tag:"js:\"formEncType\""},{prop:"FormMethod",name:"FormMethod",exported:true,typ:$String,tag:"js:\"formMethod\""},{prop:"FormNoValidate",name:"FormNoValidate",exported:true,typ:$Bool,tag:"js:\"formNoValidate\""},{prop:"FormTarget",name:"FormTarget",exported:true,typ:$String,tag:"js:\"formTarget\""},{prop:"Height",name:"Height",exported:true,typ:$String,tag:"js:\"height\""},{prop:"Indeterminate",name:"Indeterminate",exported:true,typ:$Bool,tag:"js:\"indeterminate\""},{prop:"Max",name:"Max",exported:true,typ:$String,tag:"js:\"max\""},{prop:"MaxLength",name:"MaxLength",exported:true,typ:$Int,tag:"js:\"maxLength\""},{prop:"Min",name:"Min",exported:true,typ:$String,tag:"js:\"min\""},{prop:"Multiple",name:"Multiple",exported:true,typ:$Bool,tag:"js:\"multiple\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Pattern",name:"Pattern",exported:true,typ:$String,tag:"js:\"pattern\""},{prop:"Placeholder",name:"Placeholder",exported:true,typ:$String,tag:"js:\"placeholder\""},{prop:"ReadOnly",name:"ReadOnly",exported:true,typ:$Bool,tag:"js:\"readOnly\""},{prop:"Required",name:"Required",exported:true,typ:$Bool,tag:"js:\"required\""},{prop:"SelectionDirection",name:"SelectionDirection",exported:true,typ:$String,tag:"js:\"selectionDirection\""},{prop:"SelectionEnd",name:"SelectionEnd",exported:true,typ:$Int,tag:"js:\"selectionEnd\""},{prop:"SelectionStart",name:"SelectionStart",exported:true,typ:$Int,tag:"js:\"selectionStart\""},{prop:"Size",name:"Size",exported:true,typ:$Int,tag:"js:\"size\""},{prop:"Src",name:"Src",exported:true,typ:$String,tag:"js:\"src\""},{prop:"Step",name:"Step",exported:true,typ:$String,tag:"js:\"step\""},{prop:"TabIndex",name:"TabIndex",exported:true,typ:$Int,tag:"js:\"tabIndex\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""},{prop:"ValueAsDate",name:"ValueAsDate",exported:true,typ:B.Time,tag:"js:\"valueAsDate\""},{prop:"ValueAsNumber",name:"ValueAsNumber",exported:true,typ:$Float64,tag:"js:\"valueAsNumber\""},{prop:"Width",name:"Width",exported:true,typ:$String,tag:"js:\"width\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""}]);CS.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""}]);CT.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Autofocus",name:"Autofocus",exported:true,typ:$Bool,tag:"js:\"autofocus\""},{prop:"Challenge",name:"Challenge",exported:true,typ:$String,tag:"js:\"challenge\""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"Keytype",name:"Keytype",exported:true,typ:$String,tag:"js:\"keytype\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""}]);CU.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Value",name:"Value",exported:true,typ:$Int,tag:"js:\"value\""}]);CV.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"For",name:"For",exported:true,typ:$String,tag:"js:\"htmlFor\""}]);CW.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);CX.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"Href",name:"Href",exported:true,typ:$String,tag:"js:\"href\""},{prop:"HrefLang",name:"HrefLang",exported:true,typ:$String,tag:"js:\"hrefLang\""},{prop:"Media",name:"Media",exported:true,typ:$String,tag:"js:\"media\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""}]);CY.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""}]);CZ.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Paused",name:"Paused",exported:true,typ:$Bool,tag:"js:\"paused\""}]);DA.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DB.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Content",name:"Content",exported:true,typ:$String,tag:"js:\"content\""},{prop:"HTTPEquiv",name:"HTTPEquiv",exported:true,typ:$String,tag:"js:\"httpEquiv\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""}]);DC.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"High",name:"High",exported:true,typ:$Float64,tag:"js:\"high\""},{prop:"Low",name:"Low",exported:true,typ:$Float64,tag:"js:\"low\""},{prop:"Max",name:"Max",exported:true,typ:$Float64,tag:"js:\"max\""},{prop:"Min",name:"Min",exported:true,typ:$Float64,tag:"js:\"min\""},{prop:"Optimum",name:"Optimum",exported:true,typ:$Float64,tag:"js:\"optimum\""}]);DD.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Cite",name:"Cite",exported:true,typ:$String,tag:"js:\"cite\""},{prop:"DateTime",name:"DateTime",exported:true,typ:$String,tag:"js:\"dateTime\""}]);DE.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Reversed",name:"Reversed",exported:true,typ:$Bool,tag:"js:\"reversed\""},{prop:"Start",name:"Start",exported:true,typ:$Int,tag:"js:\"start\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""}]);DF.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Data",name:"Data",exported:true,typ:$String,tag:"js:\"data\""},{prop:"Height",name:"Height",exported:true,typ:$String,tag:"js:\"height\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"TabIndex",name:"TabIndex",exported:true,typ:$Int,tag:"js:\"tabIndex\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"TypeMustMatch",name:"TypeMustMatch",exported:true,typ:$Bool,tag:"js:\"typeMustMatch\""},{prop:"UseMap",name:"UseMap",exported:true,typ:$String,tag:"js:\"useMap\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"With",name:"With",exported:true,typ:$String,tag:"js:\"with\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""}]);DG.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"Label",name:"Label",exported:true,typ:$String,tag:"js:\"label\""}]);DH.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"DefaultSelected",name:"DefaultSelected",exported:true,typ:$Bool,tag:"js:\"defaultSelected\""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"Index",name:"Index",exported:true,typ:$Int,tag:"js:\"index\""},{prop:"Label",name:"Label",exported:true,typ:$String,tag:"js:\"label\""},{prop:"Selected",name:"Selected",exported:true,typ:$Bool,tag:"js:\"selected\""},{prop:"Text",name:"Text",exported:true,typ:$String,tag:"js:\"text\""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""}]);DI.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"DefaultValue",name:"DefaultValue",exported:true,typ:$String,tag:"js:\"defaultValue\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""}]);DJ.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DK.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""}]);DL.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DM.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Max",name:"Max",exported:true,typ:$Float64,tag:"js:\"max\""},{prop:"Position",name:"Position",exported:true,typ:$Float64,tag:"js:\"position\""},{prop:"Value",name:"Value",exported:true,typ:$Float64,tag:"js:\"value\""}]);DN.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Cite",name:"Cite",exported:true,typ:$String,tag:"js:\"cite\""}]);DO.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"Src",name:"Src",exported:true,typ:$String,tag:"js:\"src\""},{prop:"Charset",name:"Charset",exported:true,typ:$String,tag:"js:\"charset\""},{prop:"Async",name:"Async",exported:true,typ:$Bool,tag:"js:\"async\""},{prop:"Defer",name:"Defer",exported:true,typ:$Bool,tag:"js:\"defer\""},{prop:"Text",name:"Text",exported:true,typ:$String,tag:"js:\"text\""}]);DP.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Autofocus",name:"Autofocus",exported:true,typ:$Bool,tag:"js:\"autofocus\""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"Length",name:"Length",exported:true,typ:$Int,tag:"js:\"length\""},{prop:"Multiple",name:"Multiple",exported:true,typ:$Bool,tag:"js:\"multiple\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Required",name:"Required",exported:true,typ:$Bool,tag:"js:\"required\""},{prop:"SelectedIndex",name:"SelectedIndex",exported:true,typ:$Int,tag:"js:\"selectedIndex\""},{prop:"Size",name:"Size",exported:true,typ:$Int,tag:"js:\"size\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""}]);DQ.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Media",name:"Media",exported:true,typ:$String,tag:"js:\"media\""},{prop:"Src",name:"Src",exported:true,typ:$String,tag:"js:\"src\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""}]);DR.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DS.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DT.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DU.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"ColSpan",name:"ColSpan",exported:true,typ:$Int,tag:"js:\"colSpan\""},{prop:"RowSpan",name:"RowSpan",exported:true,typ:$Int,tag:"js:\"rowSpan\""},{prop:"CellIndex",name:"CellIndex",exported:true,typ:$Int,tag:"js:\"cellIndex\""}]);DV.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Span",name:"Span",exported:true,typ:$Int,tag:"js:\"span\""}]);DW.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DX.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);DY.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Abbr",name:"Abbr",exported:true,typ:$String,tag:"js:\"abbr\""},{prop:"Scope",name:"Scope",exported:true,typ:$String,tag:"js:\"scope\""}]);DZ.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"RowIndex",name:"RowIndex",exported:true,typ:$Int,tag:"js:\"rowIndex\""},{prop:"SectionRowIndex",name:"SectionRowIndex",exported:true,typ:$Int,tag:"js:\"sectionRowIndex\""}]);EA.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);EB.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Autocomplete",name:"Autocomplete",exported:true,typ:$String,tag:"js:\"autocomplete\""},{prop:"Autofocus",name:"Autofocus",exported:true,typ:$Bool,tag:"js:\"autofocus\""},{prop:"Cols",name:"Cols",exported:true,typ:$Int,tag:"js:\"cols\""},{prop:"DefaultValue",name:"DefaultValue",exported:true,typ:$String,tag:"js:\"defaultValue\""},{prop:"DirName",name:"DirName",exported:true,typ:$String,tag:"js:\"dirName\""},{prop:"Disabled",name:"Disabled",exported:true,typ:$Bool,tag:"js:\"disabled\""},{prop:"MaxLength",name:"MaxLength",exported:true,typ:$Int,tag:"js:\"maxLength\""},{prop:"Name",name:"Name",exported:true,typ:$String,tag:"js:\"name\""},{prop:"Placeholder",name:"Placeholder",exported:true,typ:$String,tag:"js:\"placeholder\""},{prop:"ReadOnly",name:"ReadOnly",exported:true,typ:$Bool,tag:"js:\"readOnly\""},{prop:"Required",name:"Required",exported:true,typ:$Bool,tag:"js:\"required\""},{prop:"Rows",name:"Rows",exported:true,typ:$Int,tag:"js:\"rows\""},{prop:"SelectionDirection",name:"SelectionDirection",exported:true,typ:$String,tag:"js:\"selectionDirection\""},{prop:"SelectionStart",name:"SelectionStart",exported:true,typ:$Int,tag:"js:\"selectionStart\""},{prop:"SelectionEnd",name:"SelectionEnd",exported:true,typ:$Int,tag:"js:\"selectionEnd\""},{prop:"TabIndex",name:"TabIndex",exported:true,typ:$Int,tag:"js:\"tabIndex\""},{prop:"TextLength",name:"TextLength",exported:true,typ:$Int,tag:"js:\"textLength\""},{prop:"Type",name:"Type",exported:true,typ:$String,tag:"js:\"type\""},{prop:"ValidationMessage",name:"ValidationMessage",exported:true,typ:$String,tag:"js:\"validationMessage\""},{prop:"Value",name:"Value",exported:true,typ:$String,tag:"js:\"value\""},{prop:"WillValidate",name:"WillValidate",exported:true,typ:$Bool,tag:"js:\"willValidate\""},{prop:"Wrap",name:"Wrap",exported:true,typ:$String,tag:"js:\"wrap\""}]);EC.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"DateTime",name:"DateTime",exported:true,typ:$String,tag:"js:\"dateTime\""}]);ED.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Text",name:"Text",exported:true,typ:$String,tag:"js:\"text\""}]);EE.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""}]);EF.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""},{prop:"Kind",name:"Kind",exported:true,typ:$String,tag:"js:\"kind\""},{prop:"Src",name:"Src",exported:true,typ:$String,tag:"js:\"src\""},{prop:"Srclang",name:"Srclang",exported:true,typ:$String,tag:"js:\"srclang\""},{prop:"Label",name:"Label",exported:true,typ:$String,tag:"js:\"label\""},{prop:"Default",name:"Default",exported:true,typ:$Bool,tag:"js:\"default\""},{prop:"ReadyState",name:"ReadyState",exported:true,typ:$Int,tag:"js:\"readyState\""}]);EG.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);EH.init("",[{prop:"BasicHTMLElement",name:"",exported:true,typ:GP,tag:""}]);EI.init("",[{prop:"HTMLMediaElement",name:"",exported:true,typ:GR,tag:""}]);EJ.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""}]);EK.init("",[{prop:"BasicNode",name:"",exported:true,typ:HZ,tag:""}]);EN.init([{prop:"Bubbles",name:"Bubbles",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"Cancelable",name:"Cancelable",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"CurrentTarget",name:"CurrentTarget",pkg:"",typ:$funcType([],[BJ],false)},{prop:"DefaultPrevented",name:"DefaultPrevented",pkg:"",typ:$funcType([],[$Bool],false)},{prop:"EventPhase",name:"EventPhase",pkg:"",typ:$funcType([],[$Int],false)},{prop:"PreventDefault",name:"PreventDefault",pkg:"",typ:$funcType([],[],false)},{prop:"StopImmediatePropagation",name:"StopImmediatePropagation",pkg:"",typ:$funcType([],[],false)},{prop:"StopPropagation",name:"StopPropagation",pkg:"",typ:$funcType([],[],false)},{prop:"Target",name:"Target",pkg:"",typ:$funcType([],[BJ],false)},{prop:"Timestamp",name:"Timestamp",pkg:"",typ:$funcType([],[B.Time],false)},{prop:"Type",name:"Type",pkg:"",typ:$funcType([],[$String],false)},{prop:"Underlying",name:"Underlying",pkg:"",typ:$funcType([],[GK],false)}]);EO.init("",[{prop:"Object",name:"",exported:true,typ:GK,tag:""}]);EP.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);EQ.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);ER.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);ES.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);ET.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);EU.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);EV.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""},{prop:"Code",name:"Code",exported:true,typ:$Int,tag:"js:\"code\""},{prop:"Reason",name:"Reason",exported:true,typ:$String,tag:"js:\"reason\""},{prop:"WasClean",name:"WasClean",exported:true,typ:$Bool,tag:"js:\"wasClean\""}]);EW.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);EX.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);EY.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);EZ.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FA.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FB.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FC.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FD.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FE.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FF.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FG.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FH.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FI.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FJ.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FK.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FL.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""},{prop:"AltKey",name:"AltKey",exported:true,typ:$Bool,tag:"js:\"altKey\""},{prop:"CharCode",name:"CharCode",exported:true,typ:$Int,tag:"js:\"charCode\""},{prop:"CtrlKey",name:"CtrlKey",exported:true,typ:$Bool,tag:"js:\"ctrlKey\""},{prop:"Key",name:"Key",exported:true,typ:$String,tag:"js:\"key\""},{prop:"KeyIdentifier",name:"KeyIdentifier",exported:true,typ:$String,tag:"js:\"keyIdentifier\""},{prop:"KeyCode",name:"KeyCode",exported:true,typ:$Int,tag:"js:\"keyCode\""},{prop:"Locale",name:"Locale",exported:true,typ:$String,tag:"js:\"locale\""},{prop:"Location",name:"Location",exported:true,typ:$Int,tag:"js:\"location\""},{prop:"KeyLocation",name:"KeyLocation",exported:true,typ:$Int,tag:"js:\"keyLocation\""},{prop:"MetaKey",name:"MetaKey",exported:true,typ:$Bool,tag:"js:\"metaKey\""},{prop:"Repeat",name:"Repeat",exported:true,typ:$Bool,tag:"js:\"repeat\""},{prop:"ShiftKey",name:"ShiftKey",exported:true,typ:$Bool,tag:"js:\"shiftKey\""}]);FM.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FN.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""},{prop:"Data",name:"Data",exported:true,typ:GK,tag:"js:\"data\""}]);FO.init("",[{prop:"UIEvent",name:"",exported:true,typ:HU,tag:""},{prop:"AltKey",name:"AltKey",exported:true,typ:$Bool,tag:"js:\"altKey\""},{prop:"Button",name:"Button",exported:true,typ:$Int,tag:"js:\"button\""},{prop:"ClientX",name:"ClientX",exported:true,typ:$Int,tag:"js:\"clientX\""},{prop:"ClientY",name:"ClientY",exported:true,typ:$Int,tag:"js:\"clientY\""},{prop:"CtrlKey",name:"CtrlKey",exported:true,typ:$Bool,tag:"js:\"ctrlKey\""},{prop:"MetaKey",name:"MetaKey",exported:true,typ:$Bool,tag:"js:\"metaKey\""},{prop:"MovementX",name:"MovementX",exported:true,typ:$Int,tag:"js:\"movementX\""},{prop:"MovementY",name:"MovementY",exported:true,typ:$Int,tag:"js:\"movementY\""},{prop:"ScreenX",name:"ScreenX",exported:true,typ:$Int,tag:"js:\"screenX\""},{prop:"ScreenY",name:"ScreenY",exported:true,typ:$Int,tag:"js:\"screenY\""},{prop:"ShiftKey",name:"ShiftKey",exported:true,typ:$Bool,tag:"js:\"shiftKey\""}]);FP.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FQ.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FR.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FS.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FT.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FU.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FV.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FW.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FX.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FY.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);FZ.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GA.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GB.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GC.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GD.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GE.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GF.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GG.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""}]);GH.init("",[{prop:"BasicEvent",name:"",exported:true,typ:HT,tag:""},{prop:"DeltaX",name:"DeltaX",exported:true,typ:$Float64,tag:"js:\"deltaX\""},{prop:"DeltaY",name:"DeltaY",exported:true,typ:$Float64,tag:"js:\"deltaY\""},{prop:"DeltaZ",name:"DeltaZ",exported:true,typ:$Float64,tag:"js:\"deltaZ\""},{prop:"DeltaMode",name:"DeltaMode",exported:true,typ:$Int,tag:"js:\"deltaMode\""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["honnef.co/go/js/util"]=(function(){var $pkg={},$init,A,G,L,M;A=$packages["github.com/gopherjs/gopherjs/js"];G=$pkg.EventTarget=$newType(0,$kindStruct,"util.EventTarget",true,"honnef.co/go/js/util",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});L=$ptrType(A.Object);M=$funcType([L],[],false);G.ptr.prototype.AddEventListener=function(a,b,c){var $ptr,a,b,c,d;d=$clone(this,G);d.Object.addEventListener($externalize(a,$String),$externalize(c,M),$externalize(b,$Bool));};G.prototype.AddEventListener=function(a,b,c){return this.$val.AddEventListener(a,b,c);};G.ptr.prototype.RemoveEventListener=function(a,b,c){var $ptr,a,b,c,d;d=$clone(this,G);d.Object.removeEventListener($externalize(a,$String),$externalize(c,M),$externalize(b,$Bool));};G.prototype.RemoveEventListener=function(a,b,c){return this.$val.RemoveEventListener(a,b,c);};G.methods=[{prop:"AddEventListener",name:"AddEventListener",pkg:"",typ:$funcType([$String,$Bool,M],[],false)},{prop:"RemoveEventListener",name:"RemoveEventListener",pkg:"",typ:$funcType([$String,$Bool,M],[],false)}];G.init("",[{prop:"Object",name:"",exported:true,typ:L,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["honnef.co/go/js/xhr"]=(function(){var $pkg={},$init,A,B,C,D,E,I,J,K,L,F;A=$packages["errors"];B=$packages["github.com/gopherjs/gopherjs/js"];C=$packages["honnef.co/go/js/util"];D=$pkg.Request=$newType(0,$kindStruct,"xhr.Request",true,"honnef.co/go/js/xhr",true,function(Object_,EventTarget_,ReadyState_,Response_,ResponseText_,ResponseType_,ResponseXML_,Status_,StatusText_,Timeout_,WithCredentials_,ch_){this.$val=this;if(arguments.length===0){this.Object=null;this.EventTarget=new C.EventTarget.ptr(null);this.ReadyState=0;this.Response=null;this.ResponseText="";this.ResponseType="";this.ResponseXML=null;this.Status=0;this.StatusText="";this.Timeout=0;this.WithCredentials=false;this.ch=$chanNil;return;}this.Object=Object_;this.EventTarget=EventTarget_;this.ReadyState=ReadyState_;this.Response=Response_;this.ResponseText=ResponseText_;this.ResponseType=ResponseType_;this.ResponseXML=ResponseXML_;this.Status=Status_;this.StatusText=StatusText_;this.Timeout=Timeout_;this.WithCredentials=WithCredentials_;this.ch=ch_;});E=$pkg.Upload=$newType(0,$kindStruct,"xhr.Upload",true,"honnef.co/go/js/xhr",true,function(Object_,EventTarget_){this.$val=this;if(arguments.length===0){this.Object=null;this.EventTarget=new C.EventTarget.ptr(null);return;}this.Object=Object_;this.EventTarget=EventTarget_;});I=$ptrType(E);J=$ptrType(D);K=$ptrType(B.Object);L=$chanType($error,false,false);D.ptr.prototype.Upload=function(){var $ptr,a,b;a=this;b=a.Object.upload;return new E.ptr(b,new C.EventTarget.ptr(b));};D.prototype.Upload=function(){return this.$val.Upload();};F=function(a,b){var $ptr,a,b,c,d;c=new($global.XMLHttpRequest)();d=new D.ptr(c,new C.EventTarget.ptr(c),0,null,"","",null,0,"",0,false,$chanNil);d.Object.open($externalize(a,$String),$externalize(b,$String),$externalize(true,$Bool));return d;};$pkg.NewRequest=F;D.ptr.prototype.ResponseHeaders=function(){var $ptr,a;a=this;return $internalize(a.Object.getAllResponseHeaders(),$String);};D.prototype.ResponseHeaders=function(){return this.$val.ResponseHeaders();};D.ptr.prototype.ResponseHeader=function(a){var $ptr,a,b,c;b=this;c=b.Object.getResponseHeader($externalize(a,$String));if(c===null){return"";}return $internalize(c,$String);};D.prototype.ResponseHeader=function(a){return this.$val.ResponseHeader(a);};D.ptr.prototype.Abort=function(){var $ptr,a,b,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$r=$f.$r;}a=this;if(a.ch===$chanNil){return;}a.Object.abort();b=$select([[a.ch,$pkg.ErrAborted],[]]);if(b[0]===0){}else if(b[0]===1){}if($f===undefined){$f={$blk:D.ptr.prototype.Abort};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$r=$r;return $f;};D.prototype.Abort=function(){return this.$val.Abort();};D.ptr.prototype.OverrideMimeType=function(a){var $ptr,a,b;b=this;b.Object.overrideMimeType($externalize(a,$String));};D.prototype.OverrideMimeType=function(a){return this.$val.OverrideMimeType(a);};D.ptr.prototype.Send=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];b[0]=this;if(!(b[0].ch===$chanNil)){$panic(new $String("must not use a Request for multiple requests"));}b[0].ch=new $Chan($error,1);b[0].EventTarget.AddEventListener("load",false,(function(b){return function(c){var $ptr,c;$go((function(b){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(b[0].ch,$ifaceNil);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(b),[]);};})(b));b[0].EventTarget.AddEventListener("error",false,(function(b){return function(c){var $ptr,c;$go((function(b){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(b[0].ch,$pkg.ErrFailure);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(b),[]);};})(b));b[0].EventTarget.AddEventListener("timeout",false,(function(b){return function(c){var $ptr,c;$go((function(b){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(b[0].ch,$pkg.ErrTimeout);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(b),[]);};})(b));b[0].Object.send($externalize(a,$emptyInterface));c=$recv(b[0].ch);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c[0];$s=-1;return d;return d;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Send};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Send=function(a){return this.$val.Send(a);};D.ptr.prototype.SetRequestHeader=function(a,b){var $ptr,a,b,c;c=this;c.Object.setRequestHeader($externalize(a,$String),$externalize(b,$String));};D.prototype.SetRequestHeader=function(a,b){return this.$val.SetRequestHeader(a,b);};J.methods=[{prop:"Upload",name:"Upload",pkg:"",typ:$funcType([],[I],false)},{prop:"ResponseHeaders",name:"ResponseHeaders",pkg:"",typ:$funcType([],[$String],false)},{prop:"ResponseHeader",name:"ResponseHeader",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Abort",name:"Abort",pkg:"",typ:$funcType([],[],false)},{prop:"OverrideMimeType",name:"OverrideMimeType",pkg:"",typ:$funcType([$String],[],false)},{prop:"Send",name:"Send",pkg:"",typ:$funcType([$emptyInterface],[$error],false)},{prop:"SetRequestHeader",name:"SetRequestHeader",pkg:"",typ:$funcType([$String,$String],[],false)}];D.init("honnef.co/go/js/xhr",[{prop:"Object",name:"",exported:true,typ:K,tag:""},{prop:"EventTarget",name:"",exported:true,typ:C.EventTarget,tag:""},{prop:"ReadyState",name:"ReadyState",exported:true,typ:$Int,tag:"js:\"readyState\""},{prop:"Response",name:"Response",exported:true,typ:K,tag:"js:\"response\""},{prop:"ResponseText",name:"ResponseText",exported:true,typ:$String,tag:"js:\"responseText\""},{prop:"ResponseType",name:"ResponseType",exported:true,typ:$String,tag:"js:\"responseType\""},{prop:"ResponseXML",name:"ResponseXML",exported:true,typ:K,tag:"js:\"responseXML\""},{prop:"Status",name:"Status",exported:true,typ:$Int,tag:"js:\"status\""},{prop:"StatusText",name:"StatusText",exported:true,typ:$String,tag:"js:\"statusText\""},{prop:"Timeout",name:"Timeout",exported:true,typ:$Int,tag:"js:\"timeout\""},{prop:"WithCredentials",name:"WithCredentials",exported:true,typ:$Bool,tag:"js:\"withCredentials\""},{prop:"ch",name:"ch",exported:false,typ:L,tag:""}]);E.init("",[{prop:"Object",name:"",exported:true,typ:K,tag:""},{prop:"EventTarget",name:"",exported:true,typ:C.EventTarget,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrAborted=A.New("request aborted");$pkg.ErrTimeout=A.New("request timed out");$pkg.ErrFailure=A.New("send failed");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); -$packages["github.com/gopherjs/gopherjs.github.io/playground"]=(function(){var $pkg={},$init,A,J,K,L,M,B,C,D,E,F,G,N,O,H,I,P,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,Q,R,S;A=$packages["bytes"];J=$packages["github.com/gopherjs/gopherjs.github.io/playground/internal/imports"];K=$packages["github.com/gopherjs/gopherjs/compiler"];L=$packages["github.com/gopherjs/gopherjs/js"];M=$packages["github.com/neelance/go-angularjs"];B=$packages["go/ast"];C=$packages["go/format"];D=$packages["go/parser"];E=$packages["go/scanner"];F=$packages["go/token"];G=$packages["go/types"];N=$packages["honnef.co/go/js/dom"];O=$packages["honnef.co/go/js/xhr"];H=$packages["strings"];I=$packages["time"];P=$pkg.Line=$newType(4,$kindMap,"main.Line",true,"github.com/gopherjs/gopherjs.github.io/playground",true,null);T=$sliceType(P);U=$structType("",[]);V=$sliceType($String);W=$sliceType($Uint8);X=$ptrType(K.Archive);Y=$ptrType(K.Decl);Z=$sliceType(Y);AA=$ptrType(B.File);AB=$sliceType(AA);AC=$sliceType(X);AD=$ptrType(F.FileSet);AE=$funcType([$Bool],[],false);AF=$ptrType(J.Options);AG=$funcType([],[],false);AH=$ptrType(N.HTMLInputElement);R=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=N.GetWindow().Top();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c.Location();$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b[0]=d;a[0]=new $Chan(U,0);e=M.NewModule("playground",V.nil,$throwNilPointerError);e.NewController("PlaygroundCtrl",(function(a,b){return function $b(f){var $ptr,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];h=[h];i=[i];j=[j];k=[k];l=[l];m=[m];n=[n];o=[o];if(H.HasPrefix($internalize(b[0].URLUtils.Object.hash,$String),"#/")){$s=1;continue;}$s=2;continue;case 1:i[0]=$internalize(b[0].URLUtils.Object.hash,$String).substring(2);n[0]=O.NewRequest("GET","http://snippets.gopherjs.org/p/"+i[0]);n[0].Object.responseType=$externalize("arraybuffer",$String);$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];q=n[0].Send($ifaceNil);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))||!((($parseInt(n[0].Object.status)>>0)===200))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to load snippet \""+i[0]+"\""}])]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;}p[0]=$assertType($internalize(new($global.Uint8Array)(n[0].Object.response),$emptyInterface),W);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p){return function(){var $ptr;f[0].Object.code=$externalize($bytesToString(p[0]),$String);$close(a[0]);};})(a,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);$s=3;continue;case 2:f[0].Object.code=$externalize("package main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\nfunc main() {\n\tfmt.Println(\"Hello, playground\")\n\tjs.Global.Call(\"alert\", \"Hello, JavaScript\")\n\tprintln(\"Hello, JS console\")\n}\n",$String);$close(a[0]);case 3:f[0].Object.imports=$externalize(true,$Bool);f[0].Object.shareUrl=$externalize("",$String);f[0].Object.showShareUrl=$externalize(false,$Bool);k[0]={};m[0]=false;j[0]=new K.ImportContext.ptr({},(function(a,b,f,g,h,i,j,k,l,m,n,o){return function(p){var $ptr,p,q,r,s,t,u;q=(r=k[0][$String.keyFor(p)],r!==undefined?[r.v,true]:[X.nil,false]);s=q[0];t=q[1];if(t){return[s,$ifaceNil];}u=p;(m[0]||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(u)]={k:u,v:new U.ptr()};return[new K.Archive.ptr("","",V.nil,W.nil,Z.nil,W.nil,W.nil,false),$ifaceNil];};})(a,b,f,g,h,i,j,k,l,m,n,o));h[0]=F.NewFileSet();l[0]=0;S(f[0]);g[0]=M.ElementById("code");g[0].On("input",(function(a,b,f,g,h,i,j,k,l,m,n,o){return function(p){var $ptr,p;f[0].Object.showShareUrl=$externalize(false,$Bool);b[0].URLUtils.Object.hash=$externalize("",$String);};})(a,b,f,g,h,i,j,k,l,m,n,o));g[0].On("keydown",(function(a,b,f,g,h,i,j,k,l,m,n,o){return function(p){var $ptr,p,q,r,s,t,u,v,w,x,y;q="";r=$parseInt(p.Object.keyCode)>>0;if(r===(9)){q="\t";}else if(r===(13)){q="\n";s=$parseInt(g[0].Prop("selectionStart"))>>0;t=$internalize(f[0].Object.code,$String);u=H.LastIndex(t.substring(0,s),"\n")+1>>0;while(true){if(!(u>0;}}if(!(q==="")){f[0].Object.showShareUrl=$externalize(false,$Bool);b[0].URLUtils.Object.hash=$externalize("",$String);w=$parseInt(g[0].Prop("selectionStart"))>>0;x=$parseInt(g[0].Prop("selectionEnd"))>>0;y=$internalize(f[0].Object.code,$String);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o){return function(){var $ptr;f[0].Object.code=$externalize(y.substring(0,w)+q+y.substring(x),$String);};})(a,b,f,g,h,i,j,k,l,m,n,o));g[0].SetProp(new $String("selectionStart"),new $Int((w+q.length>>0)));g[0].SetProp(new $String("selectionEnd"),new $Int((w+q.length>>0)));p.PreventDefault();}};})(a,b,f,g,h,i,j,k,l,m,n,o));o[0]=$throwNilPointerError;o[0]=(function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];Q=T.nil;f[0].Object.output=$externalize(Q,T);m[0]={};r=D.ParseFile(h[0],"prog.go",new W($stringToBytes($internalize(f[0].Object.code,$String))),4);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:u=$assertType(t,E.ErrorList,true);v=u[0];w=u[1];if(w){$s=4;continue;}$s=5;continue;case 4:x=v;y=0;case 6:if(!(y=x.$length)?$throwRuntimeError("index out of range"):x.$array[x.$offset+y]);aa=z.Error();$s=8;case 8:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}Q=$append(Q,$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:aa}]));y++;$s=6;continue;case 7:f[0].Object.output=$externalize(Q,T);$s=-1;return;return;case 5:ab=t.Error();$s=9;case 9:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:ab}])]),T);$s=-1;return;return;case 3:ad=K.Compile("main",new AB([s]),h[0],j[0],false);$s=10;case 10:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];t=ac[1];af="main";(k[0]||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(af)]={k:af,v:ae};if(!($interfaceIsEqual(t,$ifaceNil))&&($keys(m[0]).length===0)){$s=11;continue;}$s=12;continue;case 11:ag=$assertType(t,K.ErrorList,true);ah=ag[0];ai=ag[1];if(ai){$s=13;continue;}$s=14;continue;case 13:aj=T.nil;ak=ah;al=0;case 15:if(!(al=ak.$length)?$throwRuntimeError("index out of range"):ak.$array[ak.$offset+al]);an=am.Error();$s=17;case 17:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}aj=$append(aj,$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:an}]));al++;$s=15;continue;case 16:f[0].Object.output=$externalize(aj,T);$s=-1;return;return;case 14:ao=t.Error();$s=18;case 18:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:ao}])]),T);$s=-1;return;return;case 12:ap=AC.nil;if($keys(m[0]).length===0){$s=19;continue;}$s=20;continue;case 19:ar=K.ImportDependencies(ae,j[0].Import);$s=21;case 21:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;ap=aq[0];case 20:if(!(($keys(m[0]).length===0))){$s=22;continue;}$s=23;continue;case 22:l[0]=0;as=m[0];at=0;au=$keys(as);while(true){if(!(at>0)===200))){$s=2;continue;}$s=3;continue;case 2:f[0].Apply((function(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to load package \""+ay[0]+"\""}])]),T);};})(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;case 3:bb=$assertType($internalize(new($global.Uint8Array)(av[0].Object.response),$emptyInterface),W);bd=K.ReadArchive(ay[0]+".a",ay[0],A.NewReader(bb),j[0].Packages);$s=4;case 4:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;be=ay[0];(k[0]||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(be)]={k:be,v:bc[0]};az[0]=bc[1];if(!($interfaceIsEqual(az[0],$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:f[0].Apply((function(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p){return function $b(){var $ptr,bf,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;bf=$f.bf;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:bf=az[0].Error();$s=1;case 1:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:bf}])]),T);$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.bf=bf;$f.$s=$s;$f.$r=$r;return $f;};})(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;case 6:l[0]=l[0]+(1)>>0;if(l[0]===$keys(m[0]).length){$s=7;continue;}$s=8;continue;case 7:$r=o[0](p[0]);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.$s=$s;$f.$r=$r;return $f;};})(a,av,b,f,g,h,i,j,k,l,m,n,o,p),[ax]);at++;}$s=-1;return;return;case 23:if(p[0]){$s=-1;return;return;}ay=A.NewBuffer(W.nil);ay.WriteString("try{\n");az=K.WriteProgramCode(ap,new K.SourceMapFilter.ptr(ay,$throwNilPointerError,0,0,AD.nil));$s=24;case 24:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}az;ay.WriteString("} catch (err) {\ngoPanicHandler(err.message);\n}\n");$checkForDeadlock=$externalize(true,$Bool);$global.eval(ay.String());$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o);f[0].Object.run=$externalize(o[0],AE);$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=$recv(a[0]);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p[0];$r=o[0](true);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);f[0].Object.format=$externalize((function(a,b,f,g,h,i,j,k,l,m,n,o){return function(){var $ptr;$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];q=[q];r=new W($stringToBytes($internalize(f[0].Object.code,$String)));q[0]=W.nil;p[0]=$ifaceNil;s=!!(f[0].Object.imports);if(s){$s=2;continue;}if(s===(false)){$s=3;continue;}$s=4;continue;case 2:u=J.Process("prog.go",r,AF.nil);$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;q[0]=t[0];p[0]=t[1];$s=4;continue;case 3:w=C.Source(r);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;q[0]=v[0];p[0]=v[1];case 4:case 1:if(!($interfaceIsEqual(p[0],$ifaceNil))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p,q){return function $b(){var $ptr,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:x=p[0].Error();$s=1;case 1:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:x}])]),T);$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o,p,q));$s=-1;return;return;}f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p,q){return function(){var $ptr;f[0].Object.code=$externalize($bytesToString(q[0]),$String);f[0].Object.output=$externalize(new T([]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,p,q));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);};})(a,b,f,g,h,i,j,k,l,m,n,o),AG);f[0].Object.share=$externalize((function(a,b,f,g,h,i,j,k,l,m,n,o){return function(){var $ptr,p;p=O.NewRequest("POST","http://snippets.gopherjs.org/share");p.Object.responseType=$externalize("arraybuffer",$String);$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=p.Send(new W($stringToBytes($internalize(f[0].Object.code,$String))));$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))||!((($parseInt(p.Object.status)>>0)===200))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,q){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to share snippet"}])]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,q));$s=-1;return;return;}q[0]=$assertType($internalize(new($global.Uint8Array)(p.Object.response),$emptyInterface),W);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,q){return function(){var $ptr,t;t=$bytesToString(q[0]);b[0].URLUtils.Object.hash=$externalize("#/"+t,$String);f[0].Object.shareUrl=$externalize($internalize(b[0].Object,$String),$String);f[0].Object.showShareUrl=$externalize(true,$Bool);$go((function(a,b,f,g,h,i,j,k,l,m,n,o,q){return function $b(){var $ptr,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=I.Sleep(new I.Duration(0,1000000));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=N.GetWindow().Document();$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u.GetElementByID("share-url");$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$r=$assertType(v,AH).Select();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o,q),[]);};})(a,b,f,g,h,i,j,k,l,m,n,o,q));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);};})(a,b,f,g,h,i,j,k,l,m,n,o),AG);p=N.GetWindow().Top();$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.AddEventListener("hashchange",false,(function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(q){var $ptr,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=[r];s=[s];$r=q.PreventDefault();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(H.HasPrefix($internalize(b[0].URLUtils.Object.hash,$String),"#/")){r[0]=$internalize(b[0].URLUtils.Object.hash,$String).substring(2);s[0]=O.NewRequest("GET","http://snippets.gopherjs.org/p/"+r[0]);s[0].Object.responseType=$externalize("arraybuffer",$String);$go((function(a,b,f,g,h,i,j,k,l,m,n,o,r,s){return function $b(){var $ptr,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=[t];u=s[0].Send($ifaceNil);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;if(!($interfaceIsEqual(v,$ifaceNil))||!((($parseInt(s[0].Object.status)>>0)===200))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to load snippet \""+r[0]+"\""}])]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t));$s=-1;return;return;}t[0]=$assertType($internalize(new($global.Uint8Array)(s[0].Object.response),$emptyInterface),W);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t){return function(){var $ptr;f[0].Object.code=$externalize($bytesToString(t[0]),$String);};})(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o,r,s),[]);}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o));$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};S=function(a){var $ptr,a;$global.goPrintToConsole=(function(b){var $ptr,b,c,d,e,f,g,h,i;c=H.Split($bytesToString(b),"\n");if((Q.$length===0)||!((d=(e=Q.$length-1>>0,((e<0||e>=Q.$length)?$throwRuntimeError("index out of range"):Q.$array[Q.$offset+e]))[$String.keyFor("type")],d!==undefined?d.v:"")==="out")){Q=$append(Q,$makeMap($String.keyFor,[{k:"type",v:"out"},{k:"content",v:""}]));}f=Q.$length-1>>0;g="content";(((f<0||f>=Q.$length)?$throwRuntimeError("index out of range"):Q.$array[Q.$offset+f])||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(g)]={k:g,v:(h=((f<0||f>=Q.$length)?$throwRuntimeError("index out of range"):Q.$array[Q.$offset+f])[$String.keyFor("content")],h!==undefined?h.v:"")+((0>=c.$length?$throwRuntimeError("index out of range"):c.$array[c.$offset+0]))};i=1;while(true){if(!(i=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+i])}]));i=i+(1)>>0;}a.Object.output=$externalize(Q,T);a.EvalAsync((function(){var $ptr;I.AfterFunc(new I.Duration(0,0),(function(){var $ptr,j;j=M.ElementById("output");j.SetProp(new $String("scrollTop"),new $jsObjectPtr(j.Prop("scrollHeight")));}));}));});$global.goPanicHandler=(function(b){var $ptr,b;Q=$append(Q,$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"panic: "+b}]));a.Object.output=$externalize(Q,T);});};P.init($String,$String);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=T.nil;if($pkg===$mainPkg){$s=16;continue;}$s=17;continue;case 16:$r=R();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 17:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); +$packages["github.com/gopherjs/gopherjs.github.io/playground"]=(function(){var $pkg={},$init,A,J,K,L,M,B,C,D,E,F,G,N,O,H,I,P,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,Q,R,S;A=$packages["bytes"];J=$packages["github.com/gopherjs/gopherjs.github.io/playground/internal/imports"];K=$packages["github.com/gopherjs/gopherjs/compiler"];L=$packages["github.com/gopherjs/gopherjs/js"];M=$packages["github.com/neelance/go-angularjs"];B=$packages["go/ast"];C=$packages["go/format"];D=$packages["go/parser"];E=$packages["go/scanner"];F=$packages["go/token"];G=$packages["go/types"];N=$packages["honnef.co/go/js/dom"];O=$packages["honnef.co/go/js/xhr"];H=$packages["strings"];I=$packages["time"];P=$pkg.Line=$newType(4,$kindMap,"main.Line",true,"github.com/gopherjs/gopherjs.github.io/playground",true,null);T=$sliceType(P);U=$structType("",[]);V=$sliceType($String);W=$sliceType($Uint8);X=$ptrType(K.Archive);Y=$ptrType(K.Decl);Z=$sliceType(Y);AA=$ptrType(B.File);AB=$sliceType(AA);AC=$sliceType(X);AD=$ptrType(F.FileSet);AE=$funcType([$Bool],[],false);AF=$ptrType(J.Options);AG=$funcType([],[],false);AH=$ptrType(N.HTMLInputElement);R=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=N.GetWindow().Top();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c.Location();$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b[0]=d;a[0]=new $Chan(U,0);e=M.NewModule("playground",V.nil,$throwNilPointerError);e.NewController("PlaygroundCtrl",(function(a,b){return function $b(f){var $ptr,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];h=[h];i=[i];j=[j];k=[k];l=[l];m=[m];n=[n];o=[o];if(H.HasPrefix($internalize(b[0].URLUtils.Object.hash,$String),"#/")){$s=1;continue;}$s=2;continue;case 1:i[0]=$internalize(b[0].URLUtils.Object.hash,$String).substring(2);n[0]=O.NewRequest("GET","https://snippets.gopherjs.org/p/"+i[0]);n[0].Object.responseType=$externalize("arraybuffer",$String);$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];q=n[0].Send($ifaceNil);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))||!((($parseInt(n[0].Object.status)>>0)===200))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to load snippet \""+i[0]+"\""}])]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;}p[0]=$assertType($internalize(new($global.Uint8Array)(n[0].Object.response),$emptyInterface),W);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p){return function(){var $ptr;f[0].Object.code=$externalize($bytesToString(p[0]),$String);$close(a[0]);};})(a,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);$s=3;continue;case 2:f[0].Object.code=$externalize("package main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\nfunc main() {\n\tfmt.Println(\"Hello, playground\")\n\tjs.Global.Call(\"alert\", \"Hello, JavaScript\")\n\tprintln(\"Hello, JS console\")\n}\n",$String);$close(a[0]);case 3:f[0].Object.imports=$externalize(true,$Bool);f[0].Object.shareUrl=$externalize("",$String);f[0].Object.showShareUrl=$externalize(false,$Bool);k[0]={};m[0]=false;j[0]=new K.ImportContext.ptr({},(function(a,b,f,g,h,i,j,k,l,m,n,o){return function(p){var $ptr,p,q,r,s,t,u;q=(r=k[0][$String.keyFor(p)],r!==undefined?[r.v,true]:[X.nil,false]);s=q[0];t=q[1];if(t){return[s,$ifaceNil];}u=p;(m[0]||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(u)]={k:u,v:new U.ptr()};return[new K.Archive.ptr("","",V.nil,W.nil,Z.nil,W.nil,W.nil,false),$ifaceNil];};})(a,b,f,g,h,i,j,k,l,m,n,o));h[0]=F.NewFileSet();l[0]=0;S(f[0]);g[0]=M.ElementById("code");g[0].On("input",(function(a,b,f,g,h,i,j,k,l,m,n,o){return function(p){var $ptr,p;f[0].Object.showShareUrl=$externalize(false,$Bool);b[0].URLUtils.Object.hash=$externalize("",$String);};})(a,b,f,g,h,i,j,k,l,m,n,o));g[0].On("keydown",(function(a,b,f,g,h,i,j,k,l,m,n,o){return function(p){var $ptr,p,q,r,s,t,u,v,w,x,y;q="";r=$parseInt(p.Object.keyCode)>>0;if(r===(9)){q="\t";}else if(r===(13)){q="\n";s=$parseInt(g[0].Prop("selectionStart"))>>0;t=$internalize(f[0].Object.code,$String);u=H.LastIndex(t.substring(0,s),"\n")+1>>0;while(true){if(!(u>0;}}if(!(q==="")){f[0].Object.showShareUrl=$externalize(false,$Bool);b[0].URLUtils.Object.hash=$externalize("",$String);w=$parseInt(g[0].Prop("selectionStart"))>>0;x=$parseInt(g[0].Prop("selectionEnd"))>>0;y=$internalize(f[0].Object.code,$String);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o){return function(){var $ptr;f[0].Object.code=$externalize(y.substring(0,w)+q+y.substring(x),$String);};})(a,b,f,g,h,i,j,k,l,m,n,o));g[0].SetProp(new $String("selectionStart"),new $Int((w+q.length>>0)));g[0].SetProp(new $String("selectionEnd"),new $Int((w+q.length>>0)));p.PreventDefault();}};})(a,b,f,g,h,i,j,k,l,m,n,o));o[0]=$throwNilPointerError;o[0]=(function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];Q=T.nil;f[0].Object.output=$externalize(Q,T);m[0]={};r=D.ParseFile(h[0],"prog.go",new W($stringToBytes($internalize(f[0].Object.code,$String))),4);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:u=$assertType(t,E.ErrorList,true);v=u[0];w=u[1];if(w){$s=4;continue;}$s=5;continue;case 4:x=v;y=0;case 6:if(!(y=x.$length)?$throwRuntimeError("index out of range"):x.$array[x.$offset+y]);aa=z.Error();$s=8;case 8:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}Q=$append(Q,$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:aa}]));y++;$s=6;continue;case 7:f[0].Object.output=$externalize(Q,T);$s=-1;return;return;case 5:ab=t.Error();$s=9;case 9:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:ab}])]),T);$s=-1;return;return;case 3:ad=K.Compile("main",new AB([s]),h[0],j[0],false);$s=10;case 10:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];t=ac[1];af="main";(k[0]||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(af)]={k:af,v:ae};if(!($interfaceIsEqual(t,$ifaceNil))&&($keys(m[0]).length===0)){$s=11;continue;}$s=12;continue;case 11:ag=$assertType(t,K.ErrorList,true);ah=ag[0];ai=ag[1];if(ai){$s=13;continue;}$s=14;continue;case 13:aj=T.nil;ak=ah;al=0;case 15:if(!(al=ak.$length)?$throwRuntimeError("index out of range"):ak.$array[ak.$offset+al]);an=am.Error();$s=17;case 17:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}aj=$append(aj,$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:an}]));al++;$s=15;continue;case 16:f[0].Object.output=$externalize(aj,T);$s=-1;return;return;case 14:ao=t.Error();$s=18;case 18:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:ao}])]),T);$s=-1;return;return;case 12:ap=AC.nil;if($keys(m[0]).length===0){$s=19;continue;}$s=20;continue;case 19:ar=K.ImportDependencies(ae,j[0].Import);$s=21;case 21:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;ap=aq[0];case 20:if(!(($keys(m[0]).length===0))){$s=22;continue;}$s=23;continue;case 22:l[0]=0;as=m[0];at=0;au=$keys(as);while(true){if(!(at>0)===200))){$s=2;continue;}$s=3;continue;case 2:f[0].Apply((function(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to load package \""+ay[0]+"\""}])]),T);};})(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;case 3:bb=$assertType($internalize(new($global.Uint8Array)(av[0].Object.response),$emptyInterface),W);bd=K.ReadArchive(ay[0]+".a",ay[0],A.NewReader(bb),j[0].Packages);$s=4;case 4:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;be=ay[0];(k[0]||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(be)]={k:be,v:bc[0]};az[0]=bc[1];if(!($interfaceIsEqual(az[0],$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:f[0].Apply((function(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p){return function $b(){var $ptr,bf,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;bf=$f.bf;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:bf=az[0].Error();$s=1;case 1:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:bf}])]),T);$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.bf=bf;$f.$s=$s;$f.$r=$r;return $f;};})(a,av,ay,az,b,f,g,h,i,j,k,l,m,n,o,p));$s=-1;return;return;case 6:l[0]=l[0]+(1)>>0;if(l[0]===$keys(m[0]).length){$s=7;continue;}$s=8;continue;case 7:$r=o[0](p[0]);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.$s=$s;$f.$r=$r;return $f;};})(a,av,b,f,g,h,i,j,k,l,m,n,o,p),[ax]);at++;}$s=-1;return;return;case 23:if(p[0]){$s=-1;return;return;}ay=A.NewBuffer(W.nil);ay.WriteString("try{\n");az=K.WriteProgramCode(ap,new K.SourceMapFilter.ptr(ay,$throwNilPointerError,0,0,AD.nil));$s=24;case 24:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}az;ay.WriteString("} catch (err) {\ngoPanicHandler(err.message);\n}\n");$checkForDeadlock=$externalize(true,$Bool);$global.eval(ay.String());$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o);f[0].Object.run=$externalize(o[0],AE);$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=$recv(a[0]);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p[0];$r=o[0](true);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);f[0].Object.format=$externalize((function(a,b,f,g,h,i,j,k,l,m,n,o){return function(){var $ptr;$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];q=[q];r=new W($stringToBytes($internalize(f[0].Object.code,$String)));q[0]=W.nil;p[0]=$ifaceNil;s=!!(f[0].Object.imports);if(s){$s=2;continue;}if(s===(false)){$s=3;continue;}$s=4;continue;case 2:u=J.Process("prog.go",r,AF.nil);$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;q[0]=t[0];p[0]=t[1];$s=4;continue;case 3:w=C.Source(r);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;q[0]=v[0];p[0]=v[1];case 4:case 1:if(!($interfaceIsEqual(p[0],$ifaceNil))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p,q){return function $b(){var $ptr,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:x=p[0].Error();$s=1;case 1:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:x}])]),T);$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o,p,q));$s=-1;return;return;}f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,p,q){return function(){var $ptr;f[0].Object.code=$externalize($bytesToString(q[0]),$String);f[0].Object.output=$externalize(new T([]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,p,q));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);};})(a,b,f,g,h,i,j,k,l,m,n,o),AG);f[0].Object.share=$externalize((function(a,b,f,g,h,i,j,k,l,m,n,o){return function(){var $ptr,p;p=O.NewRequest("POST","https://snippets.gopherjs.org/share");p.Object.responseType=$externalize("arraybuffer",$String);$go((function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(){var $ptr,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=p.Send(new W($stringToBytes($internalize(f[0].Object.code,$String))));$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))||!((($parseInt(p.Object.status)>>0)===200))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,q){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to share snippet"}])]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,q));$s=-1;return;return;}q[0]=$assertType($internalize(new($global.Uint8Array)(p.Object.response),$emptyInterface),W);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,q){return function(){var $ptr,t;t=$bytesToString(q[0]);b[0].URLUtils.Object.hash=$externalize("#/"+t,$String);f[0].Object.shareUrl=$externalize($internalize(b[0].Object,$String),$String);f[0].Object.showShareUrl=$externalize(true,$Bool);$go((function(a,b,f,g,h,i,j,k,l,m,n,o,q){return function $b(){var $ptr,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=I.Sleep(new I.Duration(0,1000000));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=N.GetWindow().Document();$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u.GetElementByID("share-url");$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$r=$assertType(v,AH).Select();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o,q),[]);};})(a,b,f,g,h,i,j,k,l,m,n,o,q));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o),[]);};})(a,b,f,g,h,i,j,k,l,m,n,o),AG);p=N.GetWindow().Top();$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.AddEventListener("hashchange",false,(function(a,b,f,g,h,i,j,k,l,m,n,o){return function $b(q){var $ptr,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=[r];s=[s];$r=q.PreventDefault();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(H.HasPrefix($internalize(b[0].URLUtils.Object.hash,$String),"#/")){r[0]=$internalize(b[0].URLUtils.Object.hash,$String).substring(2);s[0]=O.NewRequest("GET","https://snippets.gopherjs.org/p/"+r[0]);s[0].Object.responseType=$externalize("arraybuffer",$String);$go((function(a,b,f,g,h,i,j,k,l,m,n,o,r,s){return function $b(){var $ptr,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=[t];u=s[0].Send($ifaceNil);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;if(!($interfaceIsEqual(v,$ifaceNil))||!((($parseInt(s[0].Object.status)>>0)===200))){f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t){return function(){var $ptr;f[0].Object.output=$externalize(new T([$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"failed to load snippet \""+r[0]+"\""}])]),T);};})(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t));$s=-1;return;return;}t[0]=$assertType($internalize(new($global.Uint8Array)(s[0].Object.response),$emptyInterface),W);f[0].Apply((function(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t){return function(){var $ptr;f[0].Object.code=$externalize($bytesToString(t[0]),$String);};})(a,b,f,g,h,i,j,k,l,m,n,o,r,s,t));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o,r,s),[]);}$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,f,g,h,i,j,k,l,m,n,o));$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$s=-1;return;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));$s=-1;return;return;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};S=function(a){var $ptr,a;$global.goPrintToConsole=(function(b){var $ptr,b,c,d,e,f,g,h,i;c=H.Split($bytesToString(b),"\n");if((Q.$length===0)||!((d=(e=Q.$length-1>>0,((e<0||e>=Q.$length)?$throwRuntimeError("index out of range"):Q.$array[Q.$offset+e]))[$String.keyFor("type")],d!==undefined?d.v:"")==="out")){Q=$append(Q,$makeMap($String.keyFor,[{k:"type",v:"out"},{k:"content",v:""}]));}f=Q.$length-1>>0;g="content";(((f<0||f>=Q.$length)?$throwRuntimeError("index out of range"):Q.$array[Q.$offset+f])||$throwRuntimeError("assignment to entry in nil map"))[$String.keyFor(g)]={k:g,v:(h=((f<0||f>=Q.$length)?$throwRuntimeError("index out of range"):Q.$array[Q.$offset+f])[$String.keyFor("content")],h!==undefined?h.v:"")+((0>=c.$length?$throwRuntimeError("index out of range"):c.$array[c.$offset+0]))};i=1;while(true){if(!(i=c.$length)?$throwRuntimeError("index out of range"):c.$array[c.$offset+i])}]));i=i+(1)>>0;}a.Object.output=$externalize(Q,T);a.EvalAsync((function(){var $ptr;I.AfterFunc(new I.Duration(0,0),(function(){var $ptr,j;j=M.ElementById("output");j.SetProp(new $String("scrollTop"),new $jsObjectPtr(j.Prop("scrollHeight")));}));}));});$global.goPanicHandler=(function(b){var $ptr,b;Q=$append(Q,$makeMap($String.keyFor,[{k:"type",v:"err"},{k:"content",v:"panic: "+b}]));a.Object.output=$externalize(Q,T);});};P.init($String,$String);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=T.nil;if($pkg===$mainPkg){$s=16;continue;}$s=17;continue;case 16:$r=R();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 17:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $synthesizeMethods(); var $mainPkg = $packages["github.com/gopherjs/gopherjs.github.io/playground"]; $packages["runtime"].$init();