PageSourceSearch

https://bonnegueule.fr/cdn/shop/t/9/assets/__vite-animation.9a0166b7.js

js bonnegueule.fr collected 2026-10-02 10:05:06 UTC 1,800 bytes, 1 lines download raw bytes

1const a=class{constructor(i){this._effect=i,this._playState="idle",this._finished=Promise.resolve()}get finished(){return this._finished}get animationEffects(){return this._effect instanceof s?[this._effect]:this._effect.animationEffects}cancel(){this.animationEffects.forEach(i=>i.cancel())}finish(){this.animationEffects.forEach(i=>i.finish())}play(){this._playState="running",this._effect.play(),this._finished=this._effect.finished,this._finished.then(()=>{this._playState="finished"},i=>{this._playState="idle"})}},s=class{constructor(i,t,n={}){i&&("Animation"in window?this._animation=new Animation(new KeyframeEffect(i,t,n)):(n.fill="forwards",this._animation=i.animate(t,n),this._animation.pause()),this._animation.addEventListener("finish",()=>{i.style.opacity=t.hasOwnProperty("opacity")?t.opacity[t.opacity.length-1]:null,i.style.visibility=t.hasOwnProperty("visibility")?t.visibility[t.visibility.length-1]:null}))}get finished(){return this._animation?this._animation.finished?this._animation.finished:new Promise(i=>this._animation.onfinish=i):Promise.resolve()}play(){this._animation&&(this._animation.startTime=null,this._animation.play())}cancel(){this._animation&&this._animation.cancel()}finish(){this._animation&&this._animation.finish()}},e=class{constructor(i){this._childrenEffects=i,this._finished=Promise.resolve()}get finished(){return this._finished}get animationEffects(){return this._childrenEffects.flatMap(i=>i instanceof s?i:i.animationEffects)}},f=class extends e{play(){const i=[];for(const t of this._childrenEffects)t.play(),i.push(t.finished);this._finished=Promise.all(i)}},h=class extends e{play(){this._finished=new Promise(async(i,t)=>{try{for(const n of this._childrenEffects)n.play(),await n.finished;i()}catch{t()}})}};export{a as C,f as P,h as S,s as a};

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.