PageSourceSearch

https://daleearnhardt.net/chunk-HRJQKXSV.js

js daleearnhardt.net collected 2026-10-02 13:32:12 UTC 6,120 bytes, 1 lines download raw bytes

1import{Ca as m,Q as d,S as a,Sb as g,V as l,W as u,qa as y,va as p}from"./chunk-XVYVV7QW.js";var r=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(r||{}),x="*";function q(e,t){return{type:r.Trigger,name:e,definitions:t,options:{}}}function L(e,t=null){return{type:r.Animate,styles:t,timings:e}}function T(e,t=null){return{type:r.Group,steps:e,options:t}}function P(e,t=null){return{type:r.Sequence,steps:e,options:t}}function $(e){return{type:r.Style,styles:e,offset:null}}function B(e,t,s){return{type:r.State,name:e,styles:t,options:s}}function G(e){return{type:r.Keyframes,steps:e}}function K(e,t,s=null){return{type:r.Transition,expr:e,animation:t,options:s}}var v=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=a({token:e,factory:()=>u(b),providedIn:"root"})}return e})(),c=class{},b=(()=>{class e extends v{animationModuleType=u(y,{optional:!0});_nextAnimationId=0;_renderer;constructor(s,n){super();let i={id:"0",encapsulation:p.None,styles:[],data:{animation:[]}};if(this._renderer=s.createRenderer(n.body,i),this.animationModuleType===null&&!w(this._renderer))throw new d(3600,!1)}build(s){let n=this._nextAnimationId;this._nextAnimationId++;let i=Array.isArray(s)?P(s):s;return S(this._renderer,null,n,"register",[i]),new _(n,this._renderer)}static \u0275fac=function(n){return new(n||e)(l(m),l(g))};static \u0275prov=a({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_=class extends c{_id;_renderer;constructor(t,s){super(),this._id=t,this._renderer=s}create(t,s){return new f(this._id,t,s||{},this._renderer)}},f=class{id;element;_renderer;parentPlayer=null;_started=!1;constructor(t,s,n,i){this.id=t,this.element=s,this._renderer=i,this._command("create",n)}_listen(t,s){return this._renderer.listen(this.element,`@@${this.id}:${t}`,s)}_command(t,...s){S(this._renderer,this.element,this.id,t,s)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return I(this._renderer)?.engine?.players[this.id]?.getPosition()??0}totalTime=0};function S(e,t,s,n,i){e.setProperty(t,`@@${s}:${n}`,i)}function I(e){let t=e.\u0275type;return t===0?e:t===1?e.animationRenderer:null}function w(e){let t=e.\u0275type;return t===0||t===1}var D=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,s=0){this.totalTime=t+s}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let s=t=="start"?this._onStartFns:this._onDoneFns;
vendor: 1,951 bytes, line 1
1s.forEach(n=>n()),s.length=0}},F=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let s=0,n=0,i=0,h=this.players.length;h==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++s==h&&this._onFinish()}),o.onDestroy(()=>{++n==h&&this._onDestroy()}),o.onStart(()=>{++i==h&&this._onStart()})}),this.totalTime=this.players.reduce((o,E)=>Math.max(o,E.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let s=t*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,s/n.totalTime):1;n.setPosition(i)})}getPosition(){let t=this.players.reduce((s,n)=>s===null||n.totalTime>s.totalTime?n:s,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let s=t=="start"?this._onStartFns:this._onDoneFns;s.forEach(n=>n()),s.length=0}},N="!";export{r as a,x as b,q as c,L as d,T as e,P as f,$ as g,B as h,G as i,K as j,v as k,D as l,F as m,N as n};

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.