<!-- This program is free software: you can redistribute it and/or modify
  
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									it under the terms of the GNU Lesser General Public License as published by
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									the Free Software Foundation, either version 3 of the License, or
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									(at your option) any later version.
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									This program is distributed in the hope that it will be useful,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									but WITHOUT ANY WARRANTY; without even the implied warranty of
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									GNU Lesser General Public License for more details.
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									You should have received a copy of the GNU Lesser General Public License
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									along with this program.  If not, see < http: / / www . gnu . org / licenses / > .
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
								-->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< html >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< head >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< title > TextSecure Options< / title > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< link  rel = "stylesheet"  href = "css/options.css" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< link  rel = "stylesheet"  href = "css/forms.css" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< link  rel = "stylesheet"  href = "css/buttons.css" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / head >  
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
								< body  data-name = "curve25519"  data-tools = "pnacl"  data-configs = "Debug Release"  data-path = "pnacl/{config}" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< div  id = "listener" > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< div  id = "log" > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< h1 > < img  id = "textsecure-icon"  src = 'icon.png' / >  TextSecure< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< div  id = "init-setup"  class = "hidden" > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
										< h2 > Welcome to TextSecure. To get started please get a 6-digit setup code from your phone and enter it below.< / h2 > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
										< p > Phone number (including country code): +< input  type = "text"  maxlength = 3  size = "3"  id = "countrycode"  / >  < input  type = "text"  maxlength = 14  size = "14"  id = "number"  / > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										< button  id = "init-go-single-client"  class = "btn" > Send single-client code< / button > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
										< div  id = "init-setup-verification"  class = "hidden" > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
											< p > Code: < input  type = "text"  pattern = "[0-9]{3}-?[0-9]{3}"  title = "Enter the 6-didgit verificaion code displayed on your phone."  size = "8"  id = "code"  / > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											< button  id = "init-go"  class = "btn" > Sync< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< / div > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< div  id = "verify"  class = "hidden" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										< div  id = "verify1" > Verifying number and setup code...< span  id = "verify1done" > < / span > < / div > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
										< div  id = "verify2" > Syncing with existing devices...< span  id = "verify2done" > < / span > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										< div  id = "verify3" > Generating keys...< span  id = "verify3done" > < / span > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										< div  id = "verify4" > Registering...< span  id = "verify4done" > < / span > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< / div > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< div  id = "setup-complete"  class = "hidden" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										< h2 > You are now registered on TextSecure with number < span  id = "complete-number" > < / span > < / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< / div > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/nacl-common.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/jquery.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/CryptoJS.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/curve255.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/Long.min.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/ByteBuffer.min.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/ProtoBuf.min.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/underscore.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/backbone.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js-deps/backbone.localStorage.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/helpers.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/webcrypto.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/crypto.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/models/messages.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/models/threads.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/api.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/sendmessage.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/chromium.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
									
										 
								
							 
							
								 
							
							
									< script  type = "text/javascript"  src = "js/options.js" > < / script > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / body >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / html >