19 lines
		
	
	
		
			329 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			329 B
		
	
	
	
		
			JavaScript
		
	
	
	
| /**
 | |
|  * @license
 | |
|  * Copyright 2023 Google LLC
 | |
|  * SPDX-License-Identifier: Apache-2.0
 | |
|  */
 | |
| const s = Symbol("internals"), t = Symbol("privateInternals");
 | |
| function i(n) {
 | |
|   class e extends n {
 | |
|     get [s]() {
 | |
|       return this[t] || (this[t] = this.attachInternals()), this[t];
 | |
|     }
 | |
|   }
 | |
|   return e;
 | |
| }
 | |
| export {
 | |
|   s as i,
 | |
|   i as m
 | |
| };
 |