PageSourceSearch

https://ok777.co.jp/js/plugins.js

js ok777.co.jp collected 2026-10-02 11:48:26 UTC 9,064 bytes, 231 lines download raw bytes

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

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.