PageSourceSearch

https://www.lmwatc.com/js/banner.js

js lmwatc.com collected 2026-10-07 00:26:43 UTC 4,786 bytes, 135 lines download raw bytes

vendor: 4,786 bytes, lines 1-135
1// t: current time, b: begInnIng value, c: change In value, d: duration
2jQuery.easing['jswing'] = jQuery.easing['swing'];
3
4jQuery.extend( jQuery.easing,
5{
6	def: 'easeOutQuad',
7	swing: function (x, t, b, c, d) {
8		//alert(jQuery.easing.default);
9		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
10	},
11	easeInQuad: function (x, t, b, c, d) {
12		return c*(t/=d)*t + b;
13	},
14	easeOutQuad: function (x, t, b, c, d) {
15		return -c *(t/=d)*(t-2) + b;
16	},
17	easeInOutQuad: function (x, t, b, c, d) {
18		if ((t/=d/2) < 1) return c/2*t*t + b;
19		return -c/2 * ((--t)*(t-2) - 1) + b;
20	},
21	easeInCubic: function (x, t, b, c, d) {
22		return c*(t/=d)*t*t + b;
23	},
24	easeOutCubic: function (x, t, b, c, d) {
25		return c*((t=t/d-1)*t*t + 1) + b;
26	},
27	easeInOutCubic: function (x, t, b, c, d) {
28		if ((t/=d/2) < 1) return c/2*t*t*t + b;
29		return c/2*((t-=2)*t*t + 2) + b;
30	},
31	easeInQuart: function (x, t, b, c, d) {
32		return c*(t/=d)*t*t*t + b;
33	},
34	easeOutQuart: function (x, t, b, c, d) {
35		return -c * ((t=t/d-1)*t*t*t - 1) + b;
36	},
37	easeInOutQuart: function (x, t, b, c, d) {
38		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
39		return -c/2 * ((t-=2)*t*t*t - 2) + b;
40	},
41	easeInQuint: function (x, t, b, c, d) {
42		return c*(t/=d)*t*t*t*t + b;
43	},
44	easeOutQuint: function (x, t, b, c, d) {
45		return c*((t=t/d-1)*t*t*t*t + 1) + b;
46	},
47	easeInOutQuint: function (x, t, b, c, d) {
48		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
49		return c/2*((t-=2)*t*t*t*t + 2) + b;
50	},
51	easeInSine: function (x, t, b, c, d) {
52		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
53	},
54	easeOutSine: function (x, t, b, c, d) {
55		return c * Math.sin(t/d * (Math.PI/2)) + b;
56	},
57	easeInOutSine: function (x, t, b, c, d) {
58		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
59	},
60	easeInExpo: function (x, t, b, c, d) {
61		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
62	},
63	easeOutExpo: function (x, t, b, c, d) {
64		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
65	},
66	easeInOutExpo: function (x, t, b, c, d) {
67		if (t==0) return b;
68		if (t==d) return b+c;
69		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
70		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
71	},
72	easeInCirc: function (x, t, b, c, d) {
73		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
74	},
75	easeOutCirc: function (x, t, b, c, d) {
76		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
77	},
78	easeInOutCirc: function (x, t, b, c, d) {
79		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
80		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
81	},
82	easeInElastic: function (x, t, b, c, d) {
83		var s=1.70158;var p=0;var a=c;
84		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
85		if (a < Math.abs(c)) { a=c; var s=p/4; }
86		else var s = p/(2*Math.PI) * Math.asin (c/a);
87		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
88	},
89	easeOutElastic: function (x, t, b, c, d) {
90		var s=1.70158;var p=0;var a=c;
91		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
92		if (a < Math.abs(c)) { a=c; var s=p/4; }
93		else var s = p/(2*Math.PI) * Math.asin (c/a);
94		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
95	},
96	easeInOutElastic: function (x, t, b, c, d) {
97		var s=1.70158;var p=0;var a=c;
98		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
99		if (a < Math.abs(c)) { a=c; var s=p/4; }
100		else var s = p/(2*Math.PI) * Math.asin (c/a);
101		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
102		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
103	},
104	easeInBack: function (x, t, b, c, d, s) {
105		if (s == undefined) s = 1.70158;
106		return c*(t/=d)*t*((s+1)*t - s) + b;
107	},
108	easeOutBack: function (x, t, b, c, d, s) {
109		if (s == undefined) s = 1.70158;
110		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
111	},
112	easeInOutBack: function (x, t, b, c, d, s) {
113		if (s == undefined) s = 1.70158; 
114		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
115		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
116	},
117	easeInBounce: function (x, t, b, c, d) {
118		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
119	},
120	easeOutBounce: function (x, t, b, c, d) {
121		if ((t/=d) < (1/2.75)) {
122			return c*(7.5625*t*t) + b;
123		} else if (t < (2/2.75)) {
124			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
125		} else if (t < (2.5/2.75)) {
126			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
127		} else {
128			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
129		}
130	},
131	easeInOutBounce: function (x, t, b, c, d) {
132		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
133		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
134	}
135});

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.