PageSourceSearch

https://www.lise.edu.cn/skin/school798/js/wow.min.js

js lise.edu.cn collected 2026-10-06 00:35:49 UTC 9,828 bytes, 152 lines download raw bytes

vendor: 9,828 bytes, lines 1-152
1/*! WOW - v1.1.3 - 2016-05-06
2* Copyright (c) 2016 Matthieu Aussaguel;*/
3(function(){
4	var a,b,c,d,e,f=function(a,b){
5		return function(){return a.apply(b,arguments)}},
6		g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};
7		b=function(){
8			function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},
9			a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},
10			a.prototype.createEvent=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=null),null!=document.createEvent?(e=document.createEvent("CustomEvent"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e},
11			a.prototype.emitEvent=function(a,b){return null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)?a["on"+b]():void 0},
12			a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c},
13			a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]},
14			a.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},a}(),
15		c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),
16		a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(
17			a=function(){function a(){
18				"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),
19				"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")
20				}
21				return a.notSupported=!0,a.prototype.observe=function(){},a}()),
22		d=this.getComputedStyle||function(a,b){
23			return this.getPropertyValue=function(b){
24				var c;
25				return"float"===b&&(b="styleFloat"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),
26				(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\-([a-z]){1})/g,
27				this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),
28				this.scrollHandler=f(this.scrollHandler,this),this.resetAnimation=f(this.resetAnimation,this),
29				this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),
30				null!=a.scrollContainer&&(this.config.scrollContainer=document.querySelector(a.scrollContainer)),
31				this.animationNameCache=new c,
32				this.wowEvent=this.util().createEvent(this.config.boxClass)}return e.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},
33				e.prototype.init=function(){
34					var a;
35					return this.element=window.document.documentElement,
36					"interactive"===(a=document.readyState)||"complete"===a?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),
37					this.finished=[]},e.prototype.start=function(){
38						var b,c,d,e;
39						if(this.stopped=!1,
40							this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll("."+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),
41							this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),
42							this.boxes.length)
43						if(this.disabled())
44							this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);
45						return this.disabled()||(this.util().addEvent(
46							this.config.scrollContainer||window,"scroll",
47							this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),
48							this.interval=setInterval(this.scrollCallback,50)),
49							this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d>c;c++)f=b[c],
50							g.push(function(){
51								var a,b,c,d;
52								for(c=f.addedNodes||[],d=[],a=0,b=c.length;b>a;a++)e=c[a],
53								d.push(this.doSync(e));return d}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},
54								e.prototype.stop=function(){
55									return this.stopped=!0,this.util().removeEvent(
56									this.config.scrollContainer||window,"scroll",this.scrollHandler),
57									this.util().removeEvent(window,"resize",this.scrollHandler),
58									null!=this.interval?clearInterval(this.interval):void 0},
59								e.prototype.sync=function(b){
60									return a.notSupported?this.doSync(this.element):void 0},
61								e.prototype.doSync=function(a){
62									var b,c,d,e,f;
63									if(null==a&&(a=this.element),1===a.nodeType){
64										for(a=a.parentNode||a,e=a.querySelectorAll("."+this.config.boxClass),
65										f=[],c=0,d=e.length;d>c;c++)b=e[c],
66										g.call(this.all,b)<0?(
67											this.boxes.push(b),
68											this.all.push(b),
69											this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),
70											f.push(this.scrolled=!0)):f.push(void 0);return f}},
71								e.prototype.show=function(a){
72									return this.applyStyle(a),
73									a.className=a.className+" "+this.config.animateClass,
74									null!=this.config.callback&&this.config.callback(a),
75									this.util().emitEvent(a,this.wowEvent),
76									this.util().addEvent(a,"animationend",this.resetAnimation),
77									this.util().addEvent(a,"oanimationend",this.resetAnimation),
78									this.util().addEvent(a,"webkitAnimationEnd",this.resetAnimation),
79									this.util().addEvent(a,"MSAnimationEnd",this.resetAnimation),a},
80								e.prototype.applyStyle=function(a,b){
81									var c,d,e;
82									return d=a.getAttribute("data-wow-duration"),
83										c=a.getAttribute("data-wow-delay"),
84										e=a.getAttribute("data-wow-iteration"),
85									this.animate(function(f){
86										return function(){return f.customStyle(a,b,d,c,e)}}(this))},
87								e.prototype.animate=function(){
88									return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:
89									function(a){return a()}}(),
90								e.prototype.resetStyle=function(){
91									var a,b,c,d,e;
92									for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility="visible");return e},
93								e.prototype.resetAnimation=function(a){
94									var b;
95									return a.type.toLowerCase().indexOf("animationend")>=0?(b=a.target||a.srcElement,b.className=b.className.replace(this.config.animateClass,"").trim()):void 0},
96								e.prototype.customStyle=function(a,b,c,d,e){
97									return b&&this.cacheAnimationName(a),
98									a.style.visibility=b?"hidden":"visible",
99									c&&this.vendorSet(a.style,{animationDuration:c}),
100									d&&this.vendorSet(a.style,{animationDelay:d}),
101									e&&this.vendorSet(a.style,{animationIterationCount:e}),
102									this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},
103								e.prototype.vendors=["moz","webkit"],
104								e.prototype.vendorSet=function(a,b){var c,d,e,f;d=[];
105								for(c in b)e=b[c],a[""+c]=e,d.push(function(){var b,d,g,h;
106								for(g=this.vendors,h=[],b=0,d=g.length;d>b;b++)f=g[b],
107								h.push(a[""+f+c.charAt(0).toUpperCase()+c.substr(1)]=e);return h}.call(this));return d},
108								e.prototype.vendorCSS=function(a,b){
109									var c,e,f,g,h,i;
110									for(h=d(a),g=h.getPropertyCSSValue(b),
111									f=this.vendors,c=0,e=f.length;e>c;c++)i=f[c],
112									g=g||h.getPropertyCSSValue("-"+i+"-"+b);return g},
113								e.prototype.animationName=function(a){
114									var b;
115									try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=d(a).getPropertyValue("animation-name")}return"none"===b?"":b},
116								e.prototype.cacheAnimationName=function(a){
117									return this.animationNameCache.set(a,this.animationName(a))},
118								e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},
119								e.prototype.scrollHandler=function(){return this.scrolled=!0},
120								e.prototype.scrollCallback=function(){
121									var a;
122									return!this.scrolled||(this.scrolled=!1,
123									this.boxes=function(){
124										var b,c,d,e;
125										for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],
126										a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),
127										this.boxes.length||this.config.live)?void 0:this.stop()},
128								e.prototype.offsetTop=function(a){
129									for(var b;void 0===a.offsetTop;)a=a.parentNode;
130									for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},
131								e.prototype.isVisible=function(a){
132									var b,c,d,e,f;
133									return c=a.getAttribute("data-wow-offset")||this.config.offset,
134									f=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,
135									e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,
136									d=this.offsetTop(a),
137									b=d+a.clientHeight,
138									e>=d&&b>=f},
139								e.prototype.util=function(){
140									return null!=this._util?this._util:this._util=new b},
141								e.prototype.disabled=function(){
142									return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this);
143									
144									
145									
146									
147									
148									
149									
150									
151									
152									

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.