| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -248,7 +248,7 @@ ${JSON.stringify(mention, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							let self = this;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							return html`
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								<fieldset
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									style="backdrop-filter: brightness(1.2); padding: 0.5em; border: 1px solid black"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									style="padding: 0.5em; border: 1px solid black"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<legend>Mentions</legend>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									${mentions.map((x) => self.render_mention(x))}
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -339,6 +339,9 @@ ${JSON.stringify(mention, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						if (this.message?.decrypted?.type == 'post') {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							content = this.message.decrypted;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						let class_background = this.message?.decrypted
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							? 'w3-pale-red'
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							: 'w3-theme-d4';
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						let self = this;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						let raw_button;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						switch (this.format) {
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -397,8 +400,8 @@ ${JSON.stringify(mention, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							let body;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							return html`
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								<div
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									class="w3-card-4"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									style="backdrop-filter: brightness(1.2); margin-top: 8px; padding: 16px; display: inline-block; overflow-wrap: anywhere"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									class="w3-card-4 w3-theme-d4 w3-border-theme"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									style="margin-top: 8px; padding: 16px; display: inline-block; overflow-wrap: anywhere"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<tf-user id=${self.message.author} .users=${self.users}></tf-user>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<span style="padding-right: 8px"
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -424,8 +427,8 @@ ${JSON.stringify(mention, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						if (this.message?.type === 'contact_group') {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							return html` <div
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								class="w3-card-4"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								style="border: 1px solid black; backdrop-filter: brightness(1.2); margin-top: 8px; padding: 16px; overflow-wrap: anywhere"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								class="w3-card-4 w3-theme-d4 w3-border-theme"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								style="margin-top: 8px; padding: 16px; overflow-wrap: anywhere"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								${this.message.messages.map(
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									(x) =>
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -440,8 +443,8 @@ ${JSON.stringify(mention, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							</div>`;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						} else if (this.message.placeholder) {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							return html` <div
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								class="w3-card-4"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								style="border: 1px solid black; backdrop-filter: brightness(1.2); margin-top: 8px; padding: 16px; overflow-wrap: anywhere"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								class="w3-card-4 w3-theme-d4 w3-border-theme"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								style="margin-top: 8px; padding: 16px; overflow-wrap: anywhere"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								<a target="_top" href=${'#' + this.message.id}>${this.message.id}</a>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								(placeholder)
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -570,9 +573,6 @@ ${JSON.stringify(content, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								let is_encrypted = this.message?.decrypted
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									? html`<span style="align-self: center">🔓</span>`
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									: undefined;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								let style_background = this.message?.decrypted
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									? 'background-color: rgba(255, 0, 0, 0.2)'
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									: 'backdrop-filter: brightness(1.2)';
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								return html`
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<style>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										code {
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -589,8 +589,8 @@ ${JSON.stringify(content, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									</style>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<div
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										class="w3-card-4"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										style="border: 1px solid black; ${style_background}; margin-top: 8px; padding: 16px"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										class="w3-card-4 ${class_background} w3-border-theme"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										style="margin-top: 8px; padding: 16px"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										<div style="display: flex; flex-direction: row">
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
											<tf-user id=${this.message.author} .users=${this.users}></tf-user>
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -616,9 +616,6 @@ ${JSON.stringify(content, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								let is_encrypted = this.message?.decrypted
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									? html`<span style="align-self: center">🔓</span>`
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									: undefined;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								let style_background = this.message?.decrypted
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									? 'background: rgba(255, 0, 0, 0.2)'
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									: 'backdrop-filter: brightness(1.2)';
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								return html`
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<style>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										code {
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -635,8 +632,8 @@ ${JSON.stringify(content, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									</style>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<div
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										class="w3-card-4"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										style="border: 1px solid black; ${style_background}; margin-top: 8px; padding: 16px"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										class="w3-card-4 ${class_background} w3-border-theme"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										style="margin-top: 8px; padding: 16px"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										<div style="display: flex; flex-direction: row">
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
											<tf-user id=${this.message.author} .users=${this.users}></tf-user>
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -726,8 +723,8 @@ ${JSON.stringify(content, null, 2)}</pre
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									</style>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									<div
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										class="w3-card-4"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										style="border: 1px solid black; backdrop-filter: brightness(1.2); margin-top: 8px; padding: 16px"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										class="w3-card-4 w3-theme-d4 w3-border-theme"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										style="margin-top: 8px; padding: 16px"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
										<div style="display: flex; flex-direction: row">
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
											<tf-user id=${this.message.author} .users=${this.users}></tf-user>
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				 
 |