PageSourceSearch

https://www.daunen-federn.de/theme/41f3b6bfae6473a5fdce3463390f662…refront.ClipAnimator-keFLDMNZ.mjs.bbe4df.js

js daunen-federn.de collected 2026-09-25 05:57:49 UTC 3,319 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[81961],{1961(t,e,i){i.d(e,{ClipAnimator:()=>l});var s=i(9451),r=i(7572),n=Object.defineProperty,o=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,h=(t,e,i)=>o(t,"symbol"!=typeof e?e+"":e,i);class l extends r.A{constructor(t,e){for(let i of(super(),h(this,"_mixer"),h(this,"_actions",new Map),h(this,"_currentAction",null),h(this,"_state","idle"),h(this,"_loop","once"),this._mixer=new s.Iw4(t),e)){let t=this._mixer.clipAction(i);t.clampWhenFinished=!0,t.loop=s.G3T,this._actions.set(i.name,t)}this._mixer.addEventListener("finished",()=>{this._state="idle",this.dispatchEvent({type:"complete",target:this})})}get state(){return this._state}get duration(){var t;return(null==(t=this._currentAction)?void 0:t.getClip().duration)??0}get loop(){return this._loop}set loop(t){this._loop=t,this._currentAction&&(this._currentAction.loop=this._resolveLoopConstant(t))}_resolveLoopConstant(t){switch(t){case"repeat":return s.aMy;case"pingpong":return s.lc7;default:return s.G3T}}get time(){var t;return(null==(t=this._currentAction)?void 0:t.time)??0}set time(t){this._currentAction&&(this._currentAction.time=t)}get clipNames(){return[...this._actions.keys()]}get currentClipName(){return this._currentAction?this._currentAction.getClip().name:null}play(t){let e=t??this._actions.keys().next().value??void 0;if(void 0===e)return this;let i=this._actions.get(e);return i&&(this._currentAction&&this._currentAction!==i?(this._currentAction.fadeOut(.3),i.reset().fadeIn(.3)):"idle"===this._state&&i.reset(),i.loop=this._resolveLoopConstant(this._loop),i.play(),this._state="playing",this._currentAction=i,this._currentAction.paused=!1,this.dispatchEvent({type:"play",target:this})),this}pause(){return this._state="paused",this._currentAction&&(this._currentAction.paused=!0),this.dispatchEvent({type:"pause",target:this}),this}resume(){return this._state="playing",this._currentAction&&(this._currentAction.paused=!1),this.dispatchEvent({type:"resume",target:this}),this}stop(){return this._state="idle",this._mixer.stopAllAction(),this._currentAction=null,this.dispatchEvent({type:"stop",target:this}),this}update(t){this._mixer.update(t)}dispose(){this._mixer.stopAllAction(),this._mixer.uncacheRoot(this._mixer.getRoot()),this._actions.clear(),this._currentAction=null,this._state="idle"}}},7572(t,e,i){i.d(e,{A:()=>l});var s=i(9451),r=Object.defineProperty,n=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>n(t,"symbol"!=typeof e?e+"":e,i);class h{addEventListener(t,e){void 0===this._listeners&&(this._listeners={});let i=this._listeners;void 0===i[t]&&(i[t]=[]),-1===i[t].indexOf(e)&&i[t].push(e)}hasEventListener(t,e){if(void 0===this._listeners)return!1;let i=this._listeners;return void 0!==i[t]&&-1!==i[t].indexOf(e)}removeEventListener(t,e){if(void 0===this._listeners)return;let i=this._listeners[t];if(void 0!==i){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}}dispatchEvent(t){if(void 0===this._listeners)return;let e=this._listeners[t.type];if(void 0!==e){t.target=this;let i=e.slice(0);for(let e=0,s=i.length;e<s;e++)i[e].call(this,t);t.target=null}}}class l extends h{constructor(){super(...arguments),o(this,"_uuid",s.cj9.generateUUID())}get uuid(){return this._uuid}}}}]);

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.