1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8272],{8272:function(e,i,t){t.d(i,{updateLife:function(){return u}});var n=t(7363);function u(e,i,t){if(!e.life)return;let u=e.life,a=!1;if(e.spawning){if(u.delayTime+=i.value,!(u.delayTime>=e.life.delay))return;a=!0,e.spawning=!1,u.delayTime=0,u.time=0}if(-1===u.duration||e.spawning||(a?u.time=0:u.time+=i.value,u.time<u.duration))return;if(u.time=0,e.life.count>0&&e.life.count--,0===e.life.count){e.destroy();return}let l=(0,n.Cs)(0,t.width),d=(0,n.Cs)(0,t.width);e.position.x=(0,n.vd)(l),e.position.y=(0,n.vd)(d),e.spawning=!0,u.delayTime=0,u.time=0,e.reset();let f=e.options.life;f&&(u.delay=(0,n.Gu)(f.delay.value)*n.X5,u.duration=(0,n.Gu)(f.duration.value)*n.X5)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.