1
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Swiper=t()}
2
(this,function(){"use strict";var e="undefined"==typeof document?{body:{}
3
,addEventListener:function(){}
4
,removeEventListener:function(){}
5
,activeElement:{blur:function(){}
6
,nodeName:""}
7
,querySelector:function(){return null}
8
,querySelectorAll:function(){return[]}
9
,getElementById:function(){return null}
10
,createEvent:function(){return{initEvent:function(){}
11
}
12
}
13
,createElement:function(){return{children:[],childNodes:[],style:{}
14
,setAttribute:function(){}
15
,getElementsByTagName:function(){return[]}
16
}
17
}
18
,location:{hash:""}
19
}
20
:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""}
21
,location:{}
22
,history:{}
23
,CustomEvent:function(){return this}
24
,addEventListener:function(){}
25
,removeEventListener:function(){}
26
,getComputedStyle:function(){return{getPropertyValue:function(){return""}
27
}
28
}
29
,Image:function(){}
30
,Date:function(){}
31
,screen:{}
32
,setTimeout:function(){}
33
,clearTimeout:function(){}
34
}
35
:window,i=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this}
36
;function s(s,a){var r=[],n=0;if(s&&!a&&s instanceof i)return s;if(s)if("string"==typeof s){var o,l,d=s.trim();if(d.indexOf("<")>=0&&d.indexOf(">")>=0){var h="div";for(0===d.indexOf("<li")&&(h="ul"),0===d.indexOf("<tr")&&(h="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"),0===d.indexOf("<tbody")&&(h="table"),0===d.indexOf("<option")&&(h="select"),(l=e.createElement(h)).innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}
37
else for(o=a||"#"!==s[0]||s.match(/[ .<>:~]/)?(a||e).querySelectorAll(s.trim()):[e.getElementById(s.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}
38
else if(s.nodeType||s===t||s===e)r.push(s);else if(s.length>0&&s[0].nodeType)for(n=0;n<s.length;n+=1)r.push(s[n]);return new i(r)}
39
function a(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}
40
s.fn=i.prototype,s.Class=i,s.Dom7=i;var r={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s].classList&&this[s].classList.add(t[i]);return this}
...
</html>