| 
						
						
						
					 | 
					@ -1,8 +1,11 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					tag app-edit | 
					 | 
					 | 
					tag app-edit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						get render? do mounted? | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						active = no | 
					 | 
					 | 
						active = no | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						def mount | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							$dn.setSelectionRange 0, 0 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							$dn.focus! | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						def open data | 
					 | 
					 | 
						def open data | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							link = data | 
					 | 
					 | 
							link = data | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							new_link_text = value=api.construct_link_text(link) | 
					 | 
					 | 
							new_link_text = value=api.construct_link_text(link) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -11,11 +14,6 @@ tag app-edit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						def close | 
					 | 
					 | 
						def close | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							active = no | 
					 | 
					 | 
							active = no | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						def mount | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							setTimeout(&, 40) do | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								$dn.focus! | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							imba.commit! | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						def handle_click_set_default_bang | 
					 | 
					 | 
						def handle_click_set_default_bang | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							config.set_default_bang link | 
					 | 
					 | 
							config.set_default_bang link | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							close! | 
					 | 
					 | 
							close! | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -59,16 +57,6 @@ tag app-edit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										<.tip-hotkey> "Click" | 
					 | 
					 | 
										<.tip-hotkey> "Click" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										<.tip-content> "Set Default Bang" | 
					 | 
					 | 
										<.tip-content> "Set Default Bang" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							else | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								tips.push <> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									<.tip | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										@click=close | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										@hotkey('esc').capture.if(!state.loading)=close | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										<.tip-hotkey> "Esc" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
										<.tip-content> "Cancel" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							if link.is_bang | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							tips.push <> | 
					 | 
					 | 
							tips.push <> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								<.tip | 
					 | 
					 | 
								<.tip | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									@click=close | 
					 | 
					 | 
									@click=close | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -85,6 +73,6 @@ tag app-edit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								css d:flex fld:column gap:20px w:100% | 
					 | 
					 | 
								css d:flex fld:column gap:20px w:100% | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								<div> | 
					 | 
					 | 
								<div> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
									<input$dn bind=new_link_text> | 
					 | 
					 | 
									<input$dn autofocus bind=new_link_text> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								<app-tips tips=tips> | 
					 | 
					 | 
								<app-tips tips=tips> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  |