| 
						
						
						
					 | 
					 | 
					@ -1,7 +1,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					/** @import { Effect, Source } from '#client' */
 | 
					 | 
					 | 
					 | 
					/** @import { Effect, Source } from '#client' */
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { DIRTY } from '#client/constants';
 | 
					 | 
					 | 
					 | 
					import { DIRTY } from '#client/constants';
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { noop } from '../../shared/utils.js';
 | 
					 | 
					 | 
					 | 
					import { schedule_effect, set_signal_status } from '../runtime.js';
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { flushSync } from '../runtime.js';
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { raf } from '../timing.js';
 | 
					 | 
					 | 
					 | 
					import { raf } from '../timing.js';
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { internal_set, mark_reactions, pending } from './sources.js';
 | 
					 | 
					 | 
					 | 
					import { internal_set, mark_reactions, pending } from './sources.js';
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -31,6 +30,9 @@ export class Batch {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						/** @type {Map<Source, any>} */
 | 
					 | 
					 | 
					 | 
						/** @type {Map<Source, any>} */
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						#current = new Map();
 | 
					 | 
					 | 
					 | 
						#current = new Map();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						/** @type {Set<Effect>} */
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						effects = new Set();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						/** @type {Set<Effect>} */
 | 
					 | 
					 | 
					 | 
						/** @type {Set<Effect>} */
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						skipped_effects = new Set();
 | 
					 | 
					 | 
					 | 
						skipped_effects = new Set();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -49,6 +51,13 @@ export class Batch {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								source.v = current;
 | 
					 | 
					 | 
					 | 
								source.v = current;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							}
 | 
					 | 
					 | 
					 | 
							}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
							for (const e of this.effects) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
								if (e.fn) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
									set_signal_status(e, DIRTY);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
									schedule_effect(e);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
								}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
							}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							for (const batch of batches) {
 | 
					 | 
					 | 
					 | 
							for (const batch of batches) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								if (batch === this) continue;
 | 
					 | 
					 | 
					 | 
								if (batch === this) continue;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |