PageSourceSearch

https://washingtoncomposers.org/sites/all/themes/designmd/js/jquery.easing.1.3_oat5aq.js

js washingtoncomposers.org collected 2026-09-29 19:33:15 UTC 8,819 bytes, 215 lines download raw bytes

vendor: 8,387 bytes, lines 1-207
1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10/*
11 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
12 *
13 * Uses the built in easing capabilities added In jQuery 1.1
14 * to offer multiple easing options
15 *
16 * TERMS OF USE - jQuery Easing
17 * 
18 * Open source under the BSD License. 
19 * 
20 * Copyright © 2008 George McGinley Smith
21 * All rights reserved.
22 * 
23 * Redistribution and use in source and binary forms, with or without modification, 
24 * are permitted provided that the following conditions are met:
25 * 
26 * Redistributions of source code must retain the above copyright notice, this list of 
27 * conditions and the following disclaimer.
28 * Redistributions in binary form must reproduce the above copyright notice, this list 
29 * of conditions and the following disclaimer in the documentation and/or other materials 
30 * provided with the distribution.
31 * 
32 * Neither the name of the author nor the names of contributors may be used to endorse 
33 * or promote products derived from this software without specific prior written permission.
34 * 
35 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
36 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
37 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
38 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
39 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
40 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
41 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
42 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
43 * OF THE POSSIBILITY OF SUCH DAMAGE. 
44 *
45*/
46
47// t: current time, b: begInnIng value, c: change In value, d: duration
48jQuery.easing['jswing'] = jQuery.easing['swing'];
49
50jQuery.extend( jQuery.easing,
51{
52	def: 'easeOutQuad',
53	swing: function (x, t, b, c, d) {
54		//alert(jQuery.easing.default);
55		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
56	},
57	easeInQuad: function (x, t, b, c, d) {
58		return c*(t/=d)*t + b;
59	},
60	easeOutQuad: function (x, t, b, c, d) {
61		return -c *(t/=d)*(t-2) + b;
62	},
63	easeInOutQuad: function (x, t, b, c, d) {
64		if ((t/=d/2) < 1) return c/2*t*t + b;
65		return -c/2 * ((--t)*(t-2) - 1) + b;
66	},
67	easeInCubic: function (x, t, b, c, d) {
68		return c*(t/=d)*t*t + b;
69	},
70	easeOutCubic: function (x, t, b, c, d) {
71		return c*((t=t/d-1)*t*t + 1) + b;
72	},
73	easeInOutCubic: function (x, t, b, c, d) {
74		if ((t/=d/2) < 1) return c/2*t*t*t + b;
75		return c/2*((t-=2)*t*t + 2) + b;
76	},
77	easeInQuart: function (x, t, b, c, d) {
78		return c*(t/=d)*t*t*t + b;
79	},
80	easeOutQuart: function (x, t, b, c, d) {
81		return -c * ((t=t/d-1)*t*t*t - 1) + b;
82	},
83	easeInOutQuart: function (x, t, b, c, d) {
84		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
85		return -c/2 * ((t-=2)*t*t*t - 2) + b;
86	},
87	easeInQuint: function (x, t, b, c, d) {
88		return c*(t/=d)*t*t*t*t + b;
89	},
90	easeOutQuint: function (x, t, b, c, d) {
91		return c*((t=t/d-1)*t*t*t*t + 1) + b;
92	},
93	easeInOutQuint: function (x, t, b, c, d) {
94		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
95		return c/2*((t-=2)*t*t*t*t + 2) + b;
96	},
97	easeInSine: function (x, t, b, c, d) {
98		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
99	},
100	easeOutSine: function (x, t, b, c, d) {
101		return c * Math.sin(t/d * (Math.PI/2)) + b;
102	},
103	easeInOutSine: function (x, t, b, c, d) {
104		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
105	},
106	easeInExpo: function (x, t, b, c, d) {
107		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
108	},
109	easeOutExpo: function (x, t, b, c, d) {
110		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
111	},
112	easeInOutExpo: function (x, t, b, c, d) {
113		if (t==0) return b;
114		if (t==d) return b+c;
115		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
116		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
117	},
118	easeInCirc: function (x, t, b, c, d) {
119		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
120	},
121	easeOutCirc: function (x, t, b, c, d) {
122		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
123	},
124	easeInOutCirc: function (x, t, b, c, d) {
125		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
126		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
127	},
128	easeInElastic: function (x, t, b, c, d) {
129		var s=1.70158;var p=0;var a=c;
130		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
131		if (a < Math.abs(c)) { a=c; var s=p/4; }
132		else var s = p/(2*Math.PI) * Math.asin (c/a);
133		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
134	},
135	easeOutElastic: function (x, t, b, c, d) {
136		var s=1.70158;var p=0;var a=c;
137		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
138		if (a < Math.abs(c)) { a=c; var s=p/4; }
139		else var s = p/(2*Math.PI) * Math.asin (c/a);
140		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
141	},
142	easeInOutElastic: function (x, t, b, c, d) {
143		var s=1.70158;var p=0;var a=c;
144		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
145		if (a < Math.abs(c)) { a=c; var s=p/4; }
146		else var s = p/(2*Math.PI) * Math.asin (c/a);
147		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
148		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
149	},
150	easeInBack: function (x, t, b, c, d, s) {
151		if (s == undefined) s = 1.70158;
152		return c*(t/=d)*t*((s+1)*t - s) + b;
153	},
154	easeOutBack: function (x, t, b, c, d, s) {
155		if (s == undefined) s = 1.70158;
156		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
157	},
158	easeInOutBack: function (x, t, b, c, d, s) {
159		if (s == undefined) s = 1.70158; 
160		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
161		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
162	},
163	easeInBounce: function (x, t, b, c, d) {
164		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
165	},
166	easeOutBounce: function (x, t, b, c, d) {
167		if ((t/=d) < (1/2.75)) {
168			return c*(7.5625*t*t) + b;
169		} else if (t < (2/2.75)) {
170			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
171		} else if (t < (2.5/2.75)) {
172			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
173		} else {
174			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
175		}
176	},
177	easeInOutBounce: function (x, t, b, c, d) {
178		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
179		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
180	}
181});
182
183/*
184 *
185 * TERMS OF USE - EASING EQUATIONS
186 * 
187 * Open source under the BSD License. 
188 * 
189 * Copyright © 2001 Robert Penner
190 * All rights reserved.
191 * 
192 * Redistribution and use in source and binary forms, with or without modification, 
193 * are permitted provided that the following conditions are met:
194 * 
195 * Redistributions of source code must retain the above copyright notice, this list of 
196 * conditions and the following disclaimer.
197 * Redistributions in binary form must reproduce the above copyright notice, this list 
198 * of conditions and the following disclaimer in the documentation and/or other materials 
199 * provided with the distribution.
200 * 
201 * Neither the name of the author nor the names of contributors may be used to endorse 
202 * or promote products derived from this software without specific prior written permission.
203 * 
204 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
205 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
206 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
207 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
208 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
209 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
210 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
211 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
212 * OF THE POSSIBILITY OF SUCH DAMAGE. 
213 *
214 */
215}

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.