小工具整理
This commit is contained in:
commit
1011eb44e1
566 files changed
+267142
No files matched your search
@@ -0,0 +1,3 @@
|
||||
/*! For license information please see vendor-angular.js.LICENSE.txt */
|
||||
"use strict";(self.webpackChunk_bitwarden_browser=self.webpackChunk_bitwarden_browser||[]).push([[902],{32125:(t,e,n)=>{n.d(e,{IO:()=>p,LC:()=>r,SB:()=>h,X$:()=>o,ZE:()=>g,ZN:()=>m,_j:()=>s,eR:()=>d,jt:()=>a,k1:()=>_,l3:()=>i,oB:()=>c,ru:()=>l,vP:()=>u});class s{}class r{}const i="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function h(t,e,n){return{type:0,name:t,styles:e,options:n}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function f(t){Promise.resolve(null).then(t)}class m{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_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(){f((()=>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){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class g{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,s=0;const r=this.players.length;0==r?f((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++e==r&&this._onFinish()})),t.onDestroy((()=>{++n==r&&this._onDestroy()})),t.onStart((()=>{++s==r&&this._onStart()}))})),this.totalTime=this.players.reduce(((t,e)=>Math.max(t,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){const e=t*this.totalTime;this.players.forEach((t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))}getPosition(){const t=this.players.reduce(((t,e)=>null===t||e.totalTime>t.totalTime?e:t),null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach((t=>{t.beforeDestroy&&t.beforeDestroy()}))}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}const _="!"},39293:(t,e,n)=>{n.d(e,{rt:()=>rt,mK:()=>O,vO:()=>H,X6:()=>z,yG:()=>j});var s=n(10585),r=n(78470),i=n(24170),o=n(97123),a=n(99918),l=n(41386),u=n(72963),c=n(17108),h=n(64413),d=n(95351),p=n(61872),f=n(10205),m=n(68621),g=n(72118);class _{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}_.ɵfac=function(t){return new(t||_)},_.ɵprov=r.Yz7({token:_,factory:_.ɵfac,providedIn:"root"});class y{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach(((t,e)=>this._cleanupObserver(e)))}observe(t){const e=(0,f.fI)(t);return new m.y((t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}}))}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new a.x,n=this._mutationObserverFactory.create((t=>e.next(t)));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._obLine truncated
|
||||
//# sourceMappingURL=vendor-angular.js.map
|
||||
Reference in new issue
Block a user