| 
									
										
										
										
											2018-01-27 17:34:08 -08:00
										 |  |  | <:Window bind:online /> | 
					
						
							| 
									
										
										
										
											2018-02-03 10:57:45 -08:00
										 |  |  | <Nav :page /> | 
					
						
							| 
									
										
										
										
											2018-01-06 15:51:25 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-24 09:47:31 -08:00
										 |  |  | {{#if virtual}} | 
					
						
							| 
									
										
										
										
											2018-01-27 10:46:52 -08:00
										 |  |  |   <VirtualListContainer realm="{{$currentInstance + '/' + virtualRealm}}"> | 
					
						
							| 
									
										
										
										
											2018-01-24 09:47:31 -08:00
										 |  |  |     <main> | 
					
						
							|  |  |  |       <slot></slot> | 
					
						
							|  |  |  |     </main> | 
					
						
							|  |  |  |   </VirtualListContainer> | 
					
						
							|  |  |  | {{else}} | 
					
						
							|  |  |  |   <div class="container"> | 
					
						
							|  |  |  |     <main> | 
					
						
							|  |  |  |       <slot></slot> | 
					
						
							|  |  |  |     </main> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | {{/if}} | 
					
						
							| 
									
										
										
										
											2018-01-06 15:51:25 -08:00
										 |  |  | <script> | 
					
						
							|  |  |  | 	import Nav from './Nav.html'; | 
					
						
							| 
									
										
										
										
											2018-01-25 08:23:14 -08:00
										 |  |  | 	import VirtualListContainer from './virtualList/VirtualListContainer.html' | 
					
						
							| 
									
										
										
										
											2018-01-28 13:09:39 -08:00
										 |  |  |   import { store } from '../_store/store' | 
					
						
							| 
									
										
										
										
											2018-01-06 15:51:25 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	export default { | 
					
						
							| 
									
										
										
										
											2018-01-27 17:34:08 -08:00
										 |  |  | 	  oncreate() { | 
					
						
							|  |  |  | 	    this.observe('online', online => { | 
					
						
							|  |  |  | 	      this.store.set({online: online}) | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2018-01-06 15:51:25 -08:00
										 |  |  | 		components: { | 
					
						
							| 
									
										
										
										
											2018-01-22 21:30:14 -08:00
										 |  |  | 		  VirtualListContainer, | 
					
						
							| 
									
										
										
										
											2018-01-06 15:51:25 -08:00
										 |  |  | 			Nav | 
					
						
							| 
									
										
										
										
											2018-01-27 10:46:52 -08:00
										 |  |  | 		}, | 
					
						
							|  |  |  |     store: () => store | 
					
						
							| 
									
										
										
										
											2018-01-22 21:30:14 -08:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2018-01-06 15:51:25 -08:00
										 |  |  | </script> |