2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								import  { Conversion ,  DesugaringContext }  from  "./Conversion" ;  
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								import  LayerConfig  from  "../LayerConfig" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  { LayerConfigJson }  from  "../Json/LayerConfigJson" ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  Translations  from  "../../../UI/i18n/Translations" ;  
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								import  PointRenderingConfigJson  from  "../Json/PointRenderingConfigJson" ;  
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								export  default  class  CreateNoteImportLayer  extends  Conversion < LayerConfigJson ,  LayerConfigJson >  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    / * * 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     *  A  closed  note  is  included  if  it  is  less  then  'n' - days  closed 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     *  @private 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     * / 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    private  readonly  _includeClosedNotesDays : number ; 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    constructor ( includeClosedNotesDays =  0 )  { 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        super ( [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "Advanced conversion which deducts a layer showing all notes that are 'importable' (i.e. a note that contains a link to some MapComplete theme, with hash '#import')." , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "The import buttons and matches will be based on the presets of the given theme" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        ] . join ( "\n\n" ) ,  [ ] ) 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        this . _includeClosedNotesDays  =  includeClosedNotesDays ; 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    convert ( state : DesugaringContext ,  layerJson : LayerConfigJson ,  context : string ) :  {  result : LayerConfigJson ;  errors : string [ ] ;  warnings : string [ ]  }  { 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        const  errors  =  [ ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  warnings  =  [ ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  t  =  Translations . t . importLayer ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        / * * 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         *  The  note  itself  will  contain  ` tags=k=v;k=v;k=v;...
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         *  This  must  be  matched  with  a  regex . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         *  This  is  a  simple  JSON - object  as  how  it ' ll  be  put  into  the  layerConfigJson  directly 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         * / 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  isShownIfAny  : any [ ]  =  [ ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  layer  =  new  LayerConfig ( layerJson ,  "while constructing a note-import layer" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        for  ( const  preset  of  layer . presets )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            const  mustMatchAll  =  [ ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            for  ( const  tag  of  preset . tags )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                const  key  =  tag . key 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                const  value  =  tag . value 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                const  condition  =  "_tags~(^|.*;)" + key + "\=" + value + "($|;.*)" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                mustMatchAll . push ( condition ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            isShownIfAny . push ( { and :mustMatchAll } ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  pointRenderings  =  ( layerJson . mapRendering ? ? [ ] ) . filter ( r  = >  r !==  null  &&  r [ "location" ]  !==  undefined ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  firstRender  =   < PointRenderingConfigJson > ( pointRenderings  [ 0 ] ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  icon  =  firstRender . icon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  iconBadges  =  [ ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        if ( icon  !==  undefined ) { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            iconBadges . push ( { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                if :  { and : [ ] } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                then :icon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            } ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  importButton  =  { } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  translations  =  t . importButton . Subs ( { layerId : layer.id ,  title : layer.presets [ 0 ] . title } ) . translations 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            for  ( const  key  in  translations )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                importButton [ key ]  =  "{" + translations [ key ] + "}" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            }     
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        const  result  : LayerConfigJson  =  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "id" :  "note_import_" + layer . id , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            // By disabling the name, the import-layers won't pollute the filter view "name": t.layerName.Subs({title: layer.title.render}).translations,
 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								            "description" :  t . description . Subs ( { title : layer.title.render } ) . translations , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "source" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "osmTags" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "and" :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        "id~*" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                "geoJson" :  "https://api.openstreetmap.org/api/0.6/notes.json?limit=10000&closed=" + this . _includeClosedNotesDays + "&bbox={x_min},{y_min},{x_max},{y_max}" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "geoJsonZoomLevel" :  10 , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                "maxCacheAge" :  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            } , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            "minzoom" :  12 , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								            "title" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "render" :  t . popupTitle . Subs ( { title : layer.presets [ 0 ] . title } ) . translations 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "calculatedTags" :  [ 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                "_first_comment=feat.get('comments')[0].text.toLowerCase()" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "_trigger_index=(() => {const lines = feat.properties['_first_comment'].split('\\n'); const matchesMapCompleteURL = lines.map(l => l.match(\".*https://mapcomplete.osm.be/\\([a-zA-Z_-]+\\)\\(.html\\).*#import\")); const matchedIndexes = matchesMapCompleteURL.map((doesMatch, i) => [doesMatch !== null, i]).filter(v => v[0]).map(v => v[1]); return matchedIndexes[0] })()" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "_comments_count=feat.get('comments').length" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "_intro=(() => {const lines = feat.properties['_first_comment'].split('\\n'); lines.splice(feat.get('_trigger_index')-1, lines.length); return lines.filter(l => l !== '').join('<br/>');})()" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "_tags=(() => {let lines = feat.properties['_first_comment'].split('\\n').map(l => l.trim()); lines.splice(0, feat.get('_trigger_index') + 1); lines = lines.filter(l => l != ''); return lines.join(';');})()" 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								            ] , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "isShown" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "render" :  "no" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                "mappings" :  [ 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                    { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        "if" :  "comments!~.*https://mapcomplete.osm.be.*" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        "then" : "no" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    } , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                    { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        "if" :  { and :  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                [ "_trigger_index~*" , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                                    { or : isShownIfAny } 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                                ] } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        "then" :  "yes" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "titleIcons" :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "render" :  "<a href='https://openstreetmap.org/note/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'></a>" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            ] , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "tagRenderings" :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "Intro" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "render" :  "{_intro}" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "conversation" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "render" :  "{visualize_note_comments(comments,1)}" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    condition :  "_comments_count>1" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "import" , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                    "render" :  importButton , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    condition :  "closed_at=" 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "close_note_" , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                    "render" :  "{close_note(Does not exist<br/>, ./assets/svg/close.svg, id, This feature does not exist)}" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    condition :  "closed_at=" 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "close_note_mapped" , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                    "render" :  "{close_note(Already mapped, ./assets/svg/checkmark.svg, id, Already mapped)}" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    condition :  "closed_at=" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "handled" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "render" :  t . importHandled . translations , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    condition :  "closed_at~*" 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "comment" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "render" :  "{add_note_comment()}" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "id" :  "add_image" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "render" :  "{add_image_to_note()}" 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    id : "alltags" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    render : "{all_tags()}" 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            ] , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            "mapRendering" :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "location" :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        "point" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        "centroid" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    ] , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "icon" :  { 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        "render" :  "circle:white;help:black" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        mappings : [ { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            if :  { or : [ "closed_at~*" , "_imported=yes" ] } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            then : "circle:white;checkmark:black" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        } ] 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                    } , 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-21 01:57:16 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                    iconBadges , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                    "iconSize" :  "40,40,center" 
							 
						 
					
						
							
								
									
										
										
										
											2022-01-14 13:58:37 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        return  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            result , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            errors ,  warnings 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}