2021-10-15 05:20:02 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								import  { FixedUiElement }  from  "./Base/FixedUiElement" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  Combine  from  "./Base/Combine" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  MoreScreen  from  "./BigComponents/MoreScreen" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  Translations  from  "./i18n/Translations" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  Constants  from  "../Models/Constants" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  UserRelatedState  from  "../Logic/State/UserRelatedState" ;  
						 
					
						
							
								
									
										
										
										
											2021-10-16 18:30:24 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								import  { Utils }  from  "../Utils" ;  
						 
					
						
							
								
									
										
										
										
											2021-10-17 03:35:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								import  LanguagePicker  from  "./LanguagePicker" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  IndexText  from  "./BigComponents/IndexText" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  FeaturedMessage  from  "./BigComponents/FeaturedMessage" ;  
						 
					
						
							
								
									
										
										
										
											2021-10-15 05:20:02 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								export  default  class  AllThemesGui  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    constructor ( )  { 
							 
						 
					
						
							
								
									
										
										
										
											2021-11-07 16:34:51 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        try  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            new  FixedUiElement ( "" ) . AttachTo ( "centermessage" ) 
							 
						 
					
						
							
								
									
										
										
										
											2021-11-09 01:49:07 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            const  state  =  new  UserRelatedState ( undefined ,  undefined ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-11-07 16:34:51 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            const  intro  =  new  Combine ( [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                LanguagePicker . CreateLanguagePicker ( Translations . t . index . title . SupportedLanguages ( ) ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    . SetClass ( "absolute top-2 right-3" ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                new  IndexText ( ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            ] ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            new  Combine ( [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                intro , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                new  FeaturedMessage ( ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                new  MoreScreen ( state ,  true ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                Translations . t . general . aboutMapcomplete 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    . Subs ( { "osmcha_link" :  Utils . OsmChaLinkFor ( 7 ) } ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    . SetClass ( "link-underline" ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                new  FixedUiElement ( "v"  +  Constants . vNumber ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            ] ) . SetClass ( "block m-5 lg:w-3/4 lg:ml-40" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                . SetStyle ( "pointer-events: all;" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                . AttachTo ( "topleft-tools" ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        }  catch  ( e )  { 
							 
						 
					
						
							
								
									
										
										
										
											2021-11-05 01:19:27 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            new  FixedUiElement ( "Seems like no layers are compiled - check the output of `npm run generate:layeroverview`. Is this visible online? Contact pietervdvn immediately!" ) . SetClass ( "alert" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                . AttachTo ( "centermessage" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-15 05:20:02 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    } 
							 
						 
					
						
							
								
									
										
										
										
											2021-11-05 01:19:27 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								}