| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  | {{define "form/realitySettings"}} | 
					
						
							|  |  |  | <template> | 
					
						
							|  |  |  |     <a-form-item label='Show'> | 
					
						
							|  |  |  |         <a-switch v-model="inbound.stream.reality.show"></a-switch> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label='Xver'> | 
					
						
							|  |  |  |         <a-input-number v-model.number="inbound.stream.reality.xver" :min="0"></a-input-number> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label='uTLS'> | 
					
						
							| 
									
										
										
										
											2025-04-06 09:40:33 +00:00
										 |  |  |         <a-select v-model="inbound.stream.reality.settings.fingerprint" :style="{ width: '100%' }" | 
					
						
							| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  |             :dropdown-class-name="themeSwitcher.currentTheme"> | 
					
						
							|  |  |  |             <a-select-option v-for="key in UTLS_FINGERPRINT" :value="key">[[ key ]]</a-select-option> | 
					
						
							|  |  |  |         </a-select> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							| 
									
										
										
										
											2025-09-09 12:35:21 +00:00
										 |  |  |     <a-form-item label='Target'> | 
					
						
							|  |  |  |         <a-input v-model.trim="inbound.stream.reality.target"></a-input> | 
					
						
							| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label='SNI'> | 
					
						
							|  |  |  |         <a-input v-model.trim="inbound.stream.reality.serverNames"></a-input> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label='Max Time Diff (ms)'> | 
					
						
							|  |  |  |         <a-input-number v-model.number="inbound.stream.reality.maxTimediff" :min="0"></a-input-number> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							| 
									
										
										
										
											2025-07-28 11:45:47 +00:00
										 |  |  |     <a-form-item label='Min Client Ver'> | 
					
						
							|  |  |  |         <a-input v-model.trim="inbound.stream.reality.minClientVer"></a-input> | 
					
						
							| 
									
										
										
										
											2024-09-27 12:57:04 +00:00
										 |  |  |     </a-form-item> | 
					
						
							| 
									
										
										
										
											2025-07-28 11:45:47 +00:00
										 |  |  |     <a-form-item label='Max Client Ver'> | 
					
						
							|  |  |  |         <a-input v-model.trim="inbound.stream.reality.maxClientVer"></a-input> | 
					
						
							| 
									
										
										
										
											2024-09-27 12:57:04 +00:00
										 |  |  |     </a-form-item> | 
					
						
							| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  |     <a-form-item> | 
					
						
							|  |  |  |         <template slot="label"> | 
					
						
							|  |  |  |             <a-tooltip> | 
					
						
							|  |  |  |                 <template slot="title"> | 
					
						
							|  |  |  |                     <span>{{ i18n "reset" }}</span> | 
					
						
							|  |  |  |                 </template> Short IDs <a-icon @click="inbound.stream.reality.shortIds = RandomUtil.randomShortIds()" | 
					
						
							|  |  |  |                     type="sync"></a-icon> | 
					
						
							|  |  |  |             </a-tooltip> | 
					
						
							|  |  |  |         </template> | 
					
						
							| 
									
										
										
										
											2025-08-03 22:57:06 +00:00
										 |  |  |         <a-textarea v-model.trim="inbound.stream.reality.shortIds"></a-textarea> | 
					
						
							| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label='SpiderX'> | 
					
						
							|  |  |  |         <a-input v-model.trim="inbound.stream.reality.settings.spiderX"></a-input> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label='{{ i18n "pages.inbounds.publicKey" }}'> | 
					
						
							| 
									
										
										
										
											2025-08-03 22:57:06 +00:00
										 |  |  |         <a-textarea v-model="inbound.stream.reality.settings.publicKey"></a-textarea> | 
					
						
							| 
									
										
										
										
											2025-03-04 09:36:02 +00:00
										 |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label='{{ i18n "pages.inbounds.privatekey" }}'> | 
					
						
							| 
									
										
										
										
											2025-08-03 22:57:06 +00:00
										 |  |  |         <a-textarea v-model="inbound.stream.reality.privateKey"></a-textarea> | 
					
						
							| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label=" "> | 
					
						
							| 
									
										
										
										
											2025-09-08 19:17:48 +00:00
										 |  |  |         <a-space> | 
					
						
							|  |  |  |             <a-button type="primary" icon="import" @click="getNewX25519Cert">Get New Cert</a-button> | 
					
						
							|  |  |  |             <a-button danger @click="clearX25519Cert">Clear</a-button> | 
					
						
							|  |  |  |         </a-space> | 
					
						
							| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  |     </a-form-item> | 
					
						
							| 
									
										
										
										
											2025-07-24 23:22:01 +00:00
										 |  |  |     <a-form-item label="mldsa65 Seed"> | 
					
						
							| 
									
										
										
										
											2025-08-03 22:57:06 +00:00
										 |  |  |         <a-textarea v-model="inbound.stream.reality.mldsa65Seed"></a-textarea> | 
					
						
							| 
									
										
										
										
											2025-07-24 23:22:01 +00:00
										 |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label="mldsa65 Verify"> | 
					
						
							|  |  |  |         <a-textarea v-model="inbound.stream.reality.settings.mldsa65Verify"></a-textarea> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							|  |  |  |     <a-form-item label=" "> | 
					
						
							| 
									
										
										
										
											2025-09-08 19:17:48 +00:00
										 |  |  |         <a-space> | 
					
						
							|  |  |  |             <a-button type="primary" icon="import" @click="getNewmldsa65">Get New Seed</a-button> | 
					
						
							|  |  |  |             <a-button danger @click="clearMldsa65">Clear</a-button> | 
					
						
							|  |  |  |         </a-space> | 
					
						
							| 
									
										
										
										
											2025-07-24 23:22:01 +00:00
										 |  |  |     </a-form-item> | 
					
						
							| 
									
										
										
										
											2024-09-26 13:55:56 +00:00
										 |  |  | </template> | 
					
						
							|  |  |  | {{end}} |