// source --> https://www.winterreise.fr/wp-content/plugins/ultimate-layouts-vc/assets/front-end/lazysizes.js?ver=2.2.0 /*config*/ window.lazySizesConfig = window.lazySizesConfig || {}; window.lazySizesConfig.lazyClass = 'ul-lazysizes-load'; window.lazySizesConfig.preloadClass = 'ul-lazysizes-preload'; window.lazySizesConfig.loadingClass = 'ul-lazysizes-loading'; window.lazySizesConfig.loadedClass = 'ul-lazysizes-loaded'; lazySizesConfig.loadMode = 1; /*! lazysizes - v3.0.0 */ !function(a,b){var c=b(a,a.document);a.lazySizes=c,"object"==typeof module&&module.exports&&(module.exports=c)}(window,function(a,b){"use strict";if(b.getElementsByClassName){var c,d=b.documentElement,e=a.Date,f=a.HTMLPictureElement,g="addEventListener",h="getAttribute",i=a[g],j=a.setTimeout,k=a.requestAnimationFrame||j,l=a.requestIdleCallback,m=/^picture$/i,n=["load","error","lazyincluded","_lazyloaded"],o={},p=Array.prototype.forEach,q=function(a,b){return o[b]||(o[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),o[b].test(a[h]("class")||"")&&o[b]},r=function(a,b){q(a,b)||a.setAttribute("class",(a[h]("class")||"").trim()+" "+b)},s=function(a,b){var c;(c=q(a,b))&&a.setAttribute("class",(a[h]("class")||"").replace(c," "))},t=function(a,b,c){var d=c?g:"removeEventListener";c&&t(a,b),n.forEach(function(c){a[d](c,b)})},u=function(a,c,d,e,f){var g=b.createEvent("CustomEvent");return g.initCustomEvent(c,!e,!f,d||{}),a.dispatchEvent(g),g},v=function(b,d){var e;!f&&(e=a.picturefill||c.pf)?e({reevaluate:!0,elements:[b]}):d&&d.src&&(b.src=d.src)},w=function(a,b){return(getComputedStyle(a,null)||{})[b]},x=function(a,b,d){for(d=d||a.offsetWidth;df&&(f=0),a||9>f&&l?i():j(i,f))}},B=function(a){var b,c,d=99,f=function(){b=null,a()},g=function(){var a=e.now()-c;d>a?j(g,d-a):(l||f)(f)};return function(){c=e.now(),b||(b=j(g,d))}},C=function(){var f,k,l,n,o,x,C,E,F,G,H,I,J,K,L,M=/^img$/i,N=/^iframe$/i,O="onscroll"in a&&!/glebot/.test(navigator.userAgent),P=0,Q=0,R=0,S=-1,T=function(a){R--,a&&a.target&&t(a.target,T),(!a||0>R||!a.target)&&(R=0)},U=function(a,c){var e,f=a,g="hidden"==w(b.body,"visibility")||"hidden"!=w(a,"visibility");for(F-=c,I+=c,G-=c,H+=c;g&&(f=f.offsetParent)&&f!=b.body&&f!=d;)g=(w(f,"opacity")||1)>0,g&&"visible"!=w(f,"overflow")&&(e=f.getBoundingClientRect(),g=H>e.left&&Ge.top-1&&FR&&(a=f.length)){e=0,S++,null==K&&("expand"in c||(c.expand=d.clientHeight>500&&d.clientWidth>500?500:370),J=c.expand,K=J*c.expFactor),K>Q&&1>R&&S>2&&o>2&&!b.hidden?(Q=K,S=0):Q=o>1&&S>1&&6>R?J:P;for(;a>e;e++)if(f[e]&&!f[e]._lazyRace)if(O)if((p=f[e][h]("data-expand"))&&(m=1*p)||(m=Q),q!==m&&(C=innerWidth+m*L,E=innerHeight+m,n=-1*m,q=m),g=f[e].getBoundingClientRect(),(I=g.bottom)>=n&&(F=g.top)<=E&&(H=g.right)>=n*L&&(G=g.left)<=C&&(I||H||G||F)&&(l&&3>R&&!p&&(3>o||4>S)||U(f[e],m))){if(ba(f[e]),j=!0,R>9)break}else!j&&l&&!i&&4>R&&4>S&&o>2&&(k[0]||c.preloadAfterLoad)&&(k[0]||!p&&(I||H||G||F||"auto"!=f[e][h](c.sizesAttr)))&&(i=k[0]||f[e]);else ba(f[e]);i&&!j&&ba(i)}},W=A(V),X=function(a){r(a.target,c.loadedClass),s(a.target,c.loadingClass),t(a.target,Z)},Y=z(X),Z=function(a){Y({target:a.target})},$=function(a,b){try{a.contentWindow.location.replace(b)}catch(c){a.src=b}},_=function(a){var b,d,e=a[h](c.srcsetAttr);(b=c.customMedia[a[h]("data-media")||a[h]("media")])&&a.setAttribute("media",b),e&&a.setAttribute("srcset",e),b&&(d=a.parentNode,d.insertBefore(a.cloneNode(),a),d.removeChild(a))},aa=z(function(a,b,d,e,f){var g,i,k,l,o,q;(o=u(a,"lazybeforeunveil",b)).defaultPrevented||(e&&(d?r(a,c.autosizesClass):a.setAttribute("sizes",e)),i=a[h](c.srcsetAttr),g=a[h](c.srcAttr),f&&(k=a.parentNode,l=k&&m.test(k.nodeName||"")),q=b.firesLoad||"src"in a&&(i||g||l),o={target:a},q&&(t(a,T,!0),clearTimeout(n),n=j(T,2500),r(a,c.loadingClass),t(a,Z,!0)),l&&p.call(k.getElementsByTagName("source"),_),i?a.setAttribute("srcset",i):g&&!l&&(N.test(a.nodeName)?$(a,g):a.src=g),(i||l)&&v(a,{src:g})),a._lazyRace&&delete a._lazyRace,s(a,c.lazyClass),y(function(){(!q||a.complete&&a.naturalWidth>1)&&(q?T(o):R--,X(o))},!0)}),ba=function(a){var b,d=M.test(a.nodeName),e=d&&(a[h](c.sizesAttr)||a[h]("sizes")),f="auto"==e;(!f&&l||!d||!a.src&&!a.srcset||a.complete||q(a,c.errorClass))&&(b=u(a,"lazyunveilread").detail,f&&D.updateElem(a,!0,a.offsetWidth),a._lazyRace=!0,R++,aa(a,b,f,e,d))},ca=function(){if(!l){if(e.now()-x<999)return void j(ca,999);var a=B(function(){c.loadMode=3,W()});l=!0,c.loadMode=3,W(),i("scroll",function(){3==c.loadMode&&(c.loadMode=2),a()},!0)}};return{_:function(){x=e.now(),f=b.getElementsByClassName(c.lazyClass),k=b.getElementsByClassName(c.lazyClass+" "+c.preloadClass),L=c.hFac,i("scroll",W,!0),i("resize",W,!0),a.MutationObserver?new MutationObserver(W).observe(d,{childList:!0,subtree:!0,attributes:!0}):(d[g]("DOMNodeInserted",W,!0),d[g]("DOMAttrModified",W,!0),setInterval(W,999)),i("hashchange",W,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(a){b[g](a,W,!0)}),/d$|^c/.test(b.readyState)?ca():(i("load",ca),b[g]("DOMContentLoaded",W),j(ca,2e4)),f.length?(V(),y._lsFlush()):W()},checkElems:W,unveil:ba}}(),D=function(){var a,d=z(function(a,b,c,d){var e,f,g;if(a._lazysizesWidth=d,d+="px",a.setAttribute("sizes",d),m.test(b.nodeName||""))for(e=b.getElementsByTagName("source"),f=0,g=e.length;g>f;f++)e[f].setAttribute("sizes",d);c.detail.dataAttr||v(a,c.detail)}),e=function(a,b,c){var e,f=a.parentNode;f&&(c=x(a,f,c),e=u(a,"lazybeforesizes",{width:c,dataAttr:!!b}),e.defaultPrevented||(c=e.detail.width,c&&c!==a._lazysizesWidth&&d(a,f,e,c)))},f=function(){var b,c=a.length;if(c)for(b=0;c>b;b++)e(a[b])},g=B(f);return{_:function(){a=b.getElementsByClassName(c.autosizesClass),i("resize",g)},checkElems:g,updateElem:e}}(),E=function(){E.i||(E.i=!0,D._(),C._())};return function(){var b,d={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2};c=a.lazySizesConfig||a.lazysizesConfig||{};for(b in d)b in c||(c[b]=d[b]);a.lazySizesConfig=c,j(function(){c.init&&E()})}(),{cfg:c,autoSizer:D,loader:C,init:E,uP:v,aC:r,rC:s,hC:q,fire:u,gW:x,rAF:y}}}); // source --> https://www.winterreise.fr/wp-includes/js/jquery/jquery.js?ver=1.12.4 /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",K),a.removeEventListener("load",K)):(d.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",K),a.addEventListener("load",K);else{d.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll("left")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst="0"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName("body")[0],c&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b},N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0; }return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\w:-]+)/,_=/^$|\/(?:java|ecma)script/i,aa=/^\s+/,ba="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ca(a){var b=ba.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML="
a",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:l.htmlSerialize?[0,"",""]:[1,"X
","
"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?""!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&fa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n("';break;case"vimeo":t[a].slideHasIframe=!0,n.controls&&"none"!==n.controls?(n.vatr=n.vatr.replace("background=0","background=1"),-1==n.vatr.toLowerCase().indexOf("background")&&(n.vatr=n.vatr+"&background=1")):(n.vatr=n.vatr.replace("background=1","background=0"),-1==n.vatr.toLowerCase().indexOf("background")&&(n.vatr=n.vatr+"&background=0")),n.vatr="autoplay="+(!0===n.aplay?1:0)+"&"+n.vatr,n.bgvideo&&(n.prePlayForaWhile=!0),i&&!0===n.aplay&&(n.vatr="muted=1&"+n.vatr),n.loop&&(n.vatr="loop=1&"+n.vatr),n.videomarkup=''}if(!(null!=n.poster&&n.poster.length>2)||i&&n.npom){if(i&&n.notonmobile)return!1;0!=e.find("iframe").length||"youtube"!=n.type&&"vimeo"!=n.type||(delete n.vimeoplayer,e.append(n.videomarkup),h(e,a,!("vimeo"!==n.newtype||!n.bgvideo),!0))}else d&&0==e.find("rs-poster").length&&e.append(n.posterMarkup),0==e.find("iframe").length&&(n.jsposter=e.find("rs-poster"),n.jsposter.on("click",function(){if(t.playVideo(e,a,!0),i){if(n.notonmobile)return!1;tpGS.gsap.to(n.jsposter,.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),t.showVideo(e.find("iframe"))}}));if("none"!==n.doverlay&&void 0!==n.doverlay){var g=t.createOverlay(a,n.doverlay,n.doverlaysize,{0:n.doverlaycolora,1:n.doverlaycolorb});n.bgvideo&&1!=e.closest("rs-sbg-wrap").find("rs-dotted").length?e.closest("rs-sbg-wrap").append(''):n.bgvideo||1==e.find("rs-dotted").length||e.append('')}n.bgvideo&&(e[0].style.display="none",e[0].style.zIndex=0,tpGS.gsap.set(e.find("video, iframe"),{opacity:0}))}}}});var r=function(e,t,i){e.addEventListener?e.addEventListener(t,i,{capture:!1,passive:!0}):e.attachEvent(t,i,{capture:!1,passive:!0})},o=function(e,t,i){var a={};return a.video=e,a.type=t,a.settings=i,a},s=function(e,i){var a=t[e].videos[i[0].id];(a.bgvideo||i.hasClass("rs-fsv"))&&((void 0===a.ratio||a.ratio.split(":").length<=1)&&(a.ratio="16:9"),requestAnimationFrame(function(){t.prepareCoveredVideo(e)}))},n=function(e,t){var a=e.vimeoplayer;a.getPaused().then(function(r){e.volumetoken=!0;var o=!r,s=a.setVolume(t);void 0!==s&&s.then(function(t){a.getPaused().then(function(t){o===t&&(e.volume="mute",e.volumetoken=!0,a.setVolume(0),a.play())}).catch(function(e){console.log("Get Paused Function Failed for Vimeo Volume Changes Inside the Promise")})}).catch(function(t){o&&(e.volume="mute",e.volumetoken=!0,a.setVolume(0),a.play()),i&&_(e,0)})}).catch(function(){console.log("Get Paused Function Failed for Vimeo Volume Changes")})},d=function(e,t){var i=e.player.getPlayerState();"mute"===t?e.player.mute():(e.player.unMute(),e.player.setVolume(t)),setTimeout(function(){1===i&&1!==e.player.getPlayerState()&&(e.player.mute(),e.player.playVideo())},39)},l=function(e,t){if("playVideo"===e.cRS){var a=e.video.play();void 0!==a&&a.then(function(e){}).catch(function(i){e.video.pause(),!0!==t&&l(e,!0)}),i&&_(e,0)}},c=function(e){if("playVideo"===e.cRS){var t=e.vimeoplayer.play();void 0!==t&&t.then(function(e){}).catch(function(t){e.vimeoplayer.volumetoken=!0,e.vimeoplayer.setVolume(0),e.vimeoplayer.play()})}},p=function(e){"playVideo"===e.cRS&&e.player.playVideo()},g=function(e,i,a,r){clearTimeout(i.repeatedPosterCalls),i.repeatedPosterCalls=setTimeout(function(){"show"===a||"playing"===i.cSS&&!0!==i.VideoIsVisible?(void 0!==i.showhideposter&&i.showhideposter.pause(),i.showhideposter=tpGS.gsap.timeline(),i.jsposter.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jsposter,.3,{zIndex:5,autoAlpha:0,force3D:"auto",ease:"power3.inOut"}),0),i.jvideo.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jvideo,void 0!==r?r:.001,{opacity:1,display:"block",ease:i.jsposter.length>0?"power3.inOut":"power3.out"}),0),i.VideoIsVisible=!0):("hide"===a||"paused"===i.cSS&&1!=t.checkfullscreenEnabled(e)&&i.jsposter.length>0&&!1!==i.VideoIsVisible&&!0!==i.seeking)&&(void 0!==i.showhideposter&&i.showhideposter.pause(),i.showhideposter=tpGS.gsap.timeline(),i.jsposter.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jsposter,.3,{zIndex:5,autoAlpha:1,force3D:"auto",ease:"power3.inOut"}),0),i.jvideo.length>0&&i.showhideposter.add(tpGS.gsap.to(i.jvideo,void 0!==r?r:.001,{opacity:0,ease:i.jsposter.length>0?"power3.inOut":"power3.out"}),.3),i.bgvideo&&void 0!==i.nBG&&void 0!==i.nBG.loadobj&&(i.nBG.video=i.nBG.loadobj.img),i.VideoIsVisible=!1)},void 0!==a?0:100)},u=function(e,i,a){e.cSS="playing",e.vimeostarted=!0,e.nextslidecalled=!1,e.jsposter=void 0===e.jsposter||0===e.jsposter.length?i.find("rs-poster"):e.jsposter,e.jvideo=i.find("iframe"),t[a].c.trigger("revolution.slide.onvideoplay",o(e.vimeoplayer,"vimeo",e)),t[a].stopByVideo=e.pausetimer,b(i,a),"mute"==e.volume||0===e.volume||t.lastToggleState(i.data("videomutetoggledby"))||!0===t[a].globalmute?(e.volumetoken=!0,e.vimeoplayer.setVolume(0)):n(e,parseInt(e.volcache,0)/100||.75),t.toggleState(e.videotoggledby)},h=function(e,a,r,n){var l=t[a].videos[e[0].id],c="iframe"+Math.round(1e5*Math.random()+1);if(l.jvideo=e.find("iframe"),s(a,e),l.jvideo.attr("id",c),l.startvideonow=r,l.videolistenerexist){if(r)switch(l.type){case"youtube":t.playVideo(e,a),-1!=l.ssec&&l.player.seekTo(l.ssec);break;case"vimeo":t.playVideo(e,a),-1!=l.ssec&&l.vimeoplayer.seekTo(l.ssec)}}else switch(l.type){case"youtube":if("undefined"==typeof YT||void 0===YT.Player)return t.checkVideoApis(e,a),void setTimeout(function(){h(e,a,r,n)},50);l.player=new YT.Player(c,{events:{onStateChange:function(i){i.data==YT.PlayerState.PLAYING?(l.cSS="playing",t[a].onceVideoPlayed=!0,"mute"==l.volume||0===l.volume||t.lastToggleState(e.data("videomutetoggledby"))||!0===t[a].globalmute?l.player.mute():d(l,parseInt(l.volcache,0)||75),t[a].stopByVideo=!0,b(e,a),l.pausetimer?t[a].c.trigger("stoptimer"):t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideoplay",o(l.player,"youtube",l)),t.toggleState(l.videotoggledby)):(l.cSS="paused",0==i.data&&l.loop&&(-1!=l.ssec&&l.player.seekTo(l.ssec),t.playVideo(e,a),t.toggleState(l.videotoggledby)),-1!=i.data&&3!=i.data&&(t[a].stopByVideo=!1,t[a].tonpause=!1,w(e,a),t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(l.player,"youtube",l)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby)),0==i.data&&l.nse?(m(),l.nseTriggered=!0,t[a].c.revnext(),w(e,a)):(w(e,a),t[a].stopByVideo=!1,3!==i.data&&(-1!=l.lasteventdata&&3!=l.lasteventdata&&void 0!==l.lasteventdata||-1!=i.data&&3!=i.data)&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(l.player,"youtube",l)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(l.videotoggledby))),clearTimeout(l.postOrVideoTimer),3!==i.data&&(l.postOrVideoTimer=setTimeout(function(){g(a,l)},1===l.lasteventdata&&2===i.data||2===l.lasteventdata&&3!==i.data?1e3:0),l.lasteventdata=i.data)},onReady:function(i){var r,o=t.is_mobile(),s=e.hasClass("rs-layer-video");l.ready=!0,!o&&(!t.isSafari11()||o&&s)||"RS-BGVIDEO"!==e[0].tagName&&(!s||!0!==l.aplay&&"true"!==l.aplay)||(r=!0,l.player.setVolume(0),l.volume="mute",l.player.mute(),clearTimeout(e.data("mobilevideotimr")),2!==l.player.getPlayerState()&&-1!==l.player.getPlayerState()||e.data("mobilevideotimr",setTimeout(function(){t.playVideo(e,a)},500))),r||"mute"!=l.volume||(l.player.setVolume(0),l.player.mute()),e.addClass("rs-apiready"),null==l.speed&&1===l.speed||i.target.setPlaybackRate(parseFloat(l.speed)),l.jsposter.unbind("click"),l.jsposter.on("click",function(){t.playVideo(e,a,!0)}),l.startvideonow?(t.playVideo(e,a),-1!=l.ssec&&l.player.seekTo(l.ssec)):n&&g(a,l,"show",.2),l.videolistenerexist=!0}}});break;case"vimeo":if("undefined"==typeof Vimeo||void 0===Vimeo.Player)return t.checkVideoApis(e,a),void setTimeout(function(){h(e,a,r,n)},50);for(var p,v=l.jvideo.attr("src"),f={},y=v,_=/([^&=]+)=([^&]*)/g;p=_.exec(y);)f[decodeURIComponent(p[1])]=decodeURIComponent(p[2]);v=(v=null!=f.player_id?v.replace(f.player_id,c):v+"&player_id="+c).replace(/&api=0|&api=1/g,"");var x,S=t.is_mobile()||t.isSafari11(),k="RS-BGVIDEO"===e[0].tagName;if(S&&k&&(v+="&background=1"),l.jvideo.attr("src",v),l.vimeoplayer=void 0===l.vimeoplayer||!1===l.vimeoplayer?new Vimeo.Player(c):l.vimeoplayer,S)k?x=!0:(l.aplay||"true"===l.aplay)&&(x=!0),x&&(l.volumetoken=!0,l.vimeoplayer.setVolume(0),l.volume="mute");l.vimeoplayer.on("play",function(i){t[a].onceVideoPlayed=!0,l.cSS="playing",l.vimeostarted||u(l,e,a)}),l.vimeoplayer.on("loaded",function(i){var r={};l.vimeoplayer.getVideoWidth().then(function(t){r.width=t,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,s(a,e))}),l.vimeoplayer.getVideoHeight().then(function(t){r.height=t,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,s(a,e))}),l.startvideonow?("mute"===l.volume&&(l.volumetoken=!0,l.vimeoplayer.setVolume(0)),t.playVideo(e,a),-1!=l.ssec&&l.vimeoplayer.setCurrentTime(l.ssec)):n&&g(a,l,"show",.2)}),e.addClass("rs-apiready"),l.vimeoplayer.on("volumechange",function(e){l.volumetoken&&(l.volume=e.volume),l.volumetoken=!1}),l.vimeoplayer.on("timeupdate",function(i){g(a,l),l.vimeostarted||0===i.percent||void 0!==t[a].activeRSSlide&&l.slideid!==t.gA(t[a].slides[t[a].activeRSSlide],"key")||u(l,e,a),l.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),l.currenttime=i.seconds,0!=l.esec&&-1!==l.esec&&l.esec ');var d="video, rs-poster, .tp-video-play-button";void 0!==n.poster&&n.controls&&(d=".tp-video-play-button"),e.find(d).on("click",function(){!1===n.loop&&n.esec>0&&n.esec<=n.video.currentTime||(e.hasClass("videoisplaying")?t.stopVideo(e,a):t.playVideo(e,a,!0))})}(e.hasClass("rs-fsv")||n.bgvideo)&&(n.bgvideo||e.hasClass("rs-fsv")?(n.html5vid.addClass("fullcoveredvideo"),void 0!==n.ratio&&1!=n.ratio.split(":").length||(n.ratio="16:9"),t.prepareCoveredVideo(a)):n.html5vid.addClass("rs-fsv")),r(n.video,"canplaythrough",function(){t.preLoadAudioDone(e,a,"canplaythrough")}),r(n.video,"canplay",function(){t.preLoadAudioDone(e,a,"canplay")}),r(n.video,"progress",function(){t.preLoadAudioDone(e,a,"progress")}),r(n.video,"pause",function(){i&&_(n,1)}),r(n.video,"timeupdate",function(e){this.BGrendered=!0,g(a,n),-1===n.esec&&n.loop&&1==window.isSafari11&&(n.esec=n.video.duration-.075),void 0!==n.lastCurrentTime?n.fps=n.video.currentTime-n.lastCurrentTime:n.fps=.1,n.lastCurrentTime=n.video.currentTime,0!=n.esec&&-1!=n.esec&&n.esec1?n.volcache/100:n.volcache,"mute"==n.volume?n.video.muted=!0:null!=n.volcache&&(n.video.volume=n.volcache)),e.addClass("videoisplaying"),b(e,a),clearTimeout(n.showCoverSoon),!0!==n.pausetimer||"audio"==n.tag?(t[a].stopByVideo=!1,t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n))):(t[a].stopByVideo=!0,t[a].c.trigger("revolution.slide.onvideoplay",o(n.video,"html5",n))),n.pausetimer&&"playing"==t[a].sliderstatus&&(t[a].stopByVideo=!0,t[a].c.trigger("stoptimer")),t.toggleState(n.videotoggledby)}),r(n.video,"seeked",function(){n.seeking=!1}),r(n.video,"seeking",function(){n.seeking=!0}),r(n.video,"pause",function(i){n.cSS="paused",g(a,n),e.removeClass("videoisplaying"),n.bgvideo&&(n.nBG.drawVideoCanvasImagesRecall=!1,n.nBG.videoisplaying=!1),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n)),null!=t[a].videoIsPlaying&&t[a].videoIsPlaying.attr("id")!=e.attr("id")||t.unToggleState(n.videotoggledby)}),r(n.video,"ended",function(){n.cSS="paused",m(),g(a,n),w(e,a),t[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&t[a].c.trigger("starttimer"),t[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",e.data())),n.nse&&n.video.currentTime>0&&(1==!t[a].jcnah&&(n.nseTriggered=!0,t[a].c.revnext(),t[a].jcnah=!0),setTimeout(function(){t[a].jcnah=!1},1500)),e.removeClass("videoisplaying"),n.bgvideo&&(n.nBG.drawVideoCanvasImagesRecall=!1,n.nBG.videoisplaying=!1),!0!==t[a].inviewport&&void 0!==t[a].inviewport||(t[a].lastplayedvideos=[])})},f=function(e){return"t"===e||!0===e||"true"===e||"f"!==e&&!1!==e&&"false"!==e&&e},y=function(e,t,i){e.audio="audio"===t;var r=void 0===e.video?[]:e.video.split(";"),o={volume:e.audio?1:"mute",pload:"auto",ratio:"16:9",loop:!0,aplay:"true",fitCover:!0,afs:!0,controls:!1,nse:!0,npom:!1,opom:!1,inline:!0,notonmobile:!1,start:-1,end:-1,doverlay:"none",doverlaysize:1,doverlaycolora:"transparent",doverlaycolorb:"#000000",scop:!1,rwd:!0,speed:1,ploadwait:5,stopAV:1!==e.bgvideo,noInt:!1,volcache:75};for(var s in r)if(r.hasOwnProperty(s)){var n=r[s].split(":");switch(n[0]){case"v":o.volume=n[1];break;case"vd":o.volcache=n[1];break;case"p":o.pload=n[1];break;case"ar":o.ratio=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"ap":o.aplay=f(n[1]);break;case"vfc":o.fitCover=f(n[1]);break;case"afs":o.afs=f(n[1]);break;case"vc":o.controls=n[1];break;case"nse":o.nse=f(n[1]);break;case"npom":o.npom=f(n[1]);break;case"opom":o.opom=f(n[1]);break;case"t":o.vtype=n[1];break;case"inl":o.inline=f(n[1]);break;case"nomo":o.notonmobile=f(n[1]);break;case"sta":o.start=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"end":o.end=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"do":o.doverlay=n[1];break;case"dos":o.doverlaysize=n[1];break;case"doca":o.doverlaycolora=n[1];break;case"docb":o.doverlaycolorb=n[1];break;case"scop":o.scop=f(n[1]);break;case"rwd":o.rwd=f(n[1]);break;case"sp":o.speed=n[1];break;case"vw":o.ploadwait=parseInt(n[1],0)||5;break;case"sav":o.stopAV=f(n[1]);break;case"noint":o.noInt=f(n[1]);break;case"l":o.loopcache=n[1],o.loop="loop"===n[1]||"loopandnoslidestop"===n[1]||"none"!==n[1]&&f(n[1]);break;case"ptimer":o.pausetimer=f(n[1]);break;case"sat":o.waitToSlideTrans=f(n[1])}}return null==e.mp4&&null==e.webm&&(o.fitCover=!1),void 0!==e.bgvideo&&(o.bgvideo=e.bgvideo),o.noInt&&(o.controls=!1),void 0!==e.mp4&&(o.mp4=e.mp4),void 0!==e.videomp4&&(o.mp4=e.videomp4),void 0!==e.ytid&&(o.ytid=e.ytid),void 0!==e.ogv&&(o.ogv=e.ogv),void 0!==e.webm&&(o.webm=e.webm),void 0!==e.vimeoid&&(o.vimeoid=e.vimeoid),void 0!==e.vatr&&(o.vatr=e.vatr),void 0!==e.videoattributes&&(o.vatr=e.videoattributes),void 0!==e.poster&&(o.poster=e.poster),o.slideid=i,o.aplay="true"===o.aplay||o.aplay,1===o.bgvideo&&(o.volume="mute"),o.ssec=a(o.start),o.esec=a(o.end),o.pausetimer=void 0===o.pausetimer?"loopandnoslidestop"!==o.loopcache:o.pausetimer,o.inColumn=e._incolumn,o.audio=e.audio,!0!==o.loop&&"true"!==o.loop||!0!==o.nse&&"true"!==o.nse||(o.loop=!1),o},b=function(e,i){if(t[i].playingvideos=void 0===t[i].playingvideos?new Array:t[i].playingvideos,t[i].videos[e[0].id].stopAV&&void 0!==t[i].playingvideos&&t[i].playingvideos.length>0)for(var a in t[i].lastplayedvideos=jQuery.extend(!0,[],t[i].playingvideos),t[i].playingvideos)t[i].playingvideos.hasOwnProperty(a)&&t.stopVideo(t[i].playingvideos[a],i);t[i].playingvideos.push(e),t[i].videoIsPlaying=e},w=function(e,i){void 0!==t[i]&&void 0!==t[i]&&null!=t[i].playingvideos&&jQuery.inArray(e,t[i].playingvideos)>=0&&t[i].playingvideos.splice(jQuery.inArray(e,t[i].playingvideos),1)},_=function(e,a){if(void 0!==e&&(void 0===a&&(a=0),i&&!e.bgvideo)){e.playPauseBtnTween&&e.playPauseBtnTween.kill&&e.playPauseBtnTween.kill();var r=t.closestNode(e.video,"RS-LAYER"),o=e.controls?1:0,s=e.controls?0:.3;e.controls&&e.poster&&0===a&&(s=0,o=0),r&&(e.playPauseBtnTween=tpGS.gsap.to(r.querySelector(".tp-video-play-button"),{duration:s,delay:o,opacity:a}))}}}(jQuery); // source --> https://www.winterreise.fr/wp-content/plugins/supercarousel/public/js/supercarouselmerged.js?ver=3.0.0 /*jquery.supercarousel*/ /* * jQuery Super Carousel Plugin v3.0 * Copyright (C) 2017 Taraprasad Swain * Author URL: http://www.taraprasad.com * Plugin URL: http://www.supercarousel.com */ !function(jQuery){jQuery.fn.supercarousel=function(customOptions){var $this=this,$$=jQuery(this),$wrap,locknav=!1,oldWindowWidth,superWrapXPos,superWrapYPos,ishidden=0,swipeid=!1,perPage=0,totalPages=1,currentPage=0,sucar=jQuery.fn.supercarousel,df=sucar.defaults,slides=[],currentSlide=0,totalSlides=0,sliderWidth=0,cssObj={},cssImgObj={},options,resetOptions=function(){if(options=jQuery.extend({},df,customOptions),$wrap){if(options.slideGap=parseInt(options.slideGap),$wrap.width()>=options.desktopMinWidth?"visible"==options.respDesktop?options.visible=options.desktopVisible:"fixwidth"==options.respDesktop?options.itemWidth=options.desktopWidth:"fixheight"==options.respDesktop&&(options.itemHeight=options.desktopHeight):$wrap.width()>=options.laptopMinWidth?"visible"==options.respLaptop?options.visible=options.laptopVisible:"fixwidth"==options.respLaptop?options.itemWidth=options.laptopWidth:"fixheight"==options.respLaptop&&(options.itemHeight=options.laptopHeight):$wrap.width()>=options.tabletMinWidth?"visible"==options.respTablet?options.visible=options.tabletVisible:"fixwidth"==options.respTablet?options.itemWidth=options.tabletWidth:"fixheight"==options.respTablet&&(options.itemHeight=options.tabletHeight):$wrap.width()0)for(var e=0;e+options.customrespmin[e]&&$wrap.width()<+options.customrespmax[e]){"visible"!=options.customrespby[e]||isNaN(options.customrespvisible[e])?"fixwidth"!=options.customrespby[e]||isNaN(options.customrespwidth[e])?"fixheight"!=options.customrespby[e]||isNaN(options.customrespheight[e])||(options.itemHeight=+options.customrespheight[e]):options.itemWidth=+options.customrespwidth[e]:options.visible=+options.customrespvisible[e] break}$$.find(">div img.super_image").length&&(options.type="image")}},createSuperCarousel=function(){if($$.wrap('
').css({display:"block",visibility:"visible"}),$wrap=$$.parent()){var e=$$.html() $$.prepend(e),$$.append(e),removeUnwantedTags(),totalSlides=$$.children().length/3,resetOptions(),checkLightBox(),disableLinks(),options.onload($$),$wrap.height(800),checkNavigation(),resetSlides(),setTimeout(function(){resetSlides()},500)}},removeUnwantedTags=function(){$$.find(">").not("div").remove()},disableLinks=function(){return options.onslideclick&&""!=options.onslideclick?($$.find(">div a").click(function(e){e.preventDefault()}),void $$.find(">div").click(function(event){event.preventDefault(),eval(options.onslideclick+"(this);")})):void $$.find(">div a").click(function(e){jQuery(e.target).hasClass("superswipe")&&e.preventDefault()})},checkLightBox=function(){if($wrap&&(!options.onslideclick||""==options.onslideclick)){getRandomInt(1e5,999999),$$.find(">div").length/3 $$.find(">div a.superlight").superLightBox({mediaCaption:"data-caption"})}},getRandomInt=function(e,t){return Math.floor(Math.random()*(t-e))+e},resetSlides=function(){$wrap&&(resetOptions(),checkParams(),resetStyleObj(),resetSlidePositions(),calculateTotalPages(),resetPagination(),resetWrapHeight(),gotoPage(currentPage),$$.stop(!0,!0))},checkNavigation=function(){1==options.nextPrev&&($wrap.parent().find(".supernext").click(function(e){e.preventDefault(),(totalPages-1>currentPage||options.circular)&&gotoPage(currentPage+1)}).css({display:"block"}),$wrap.parent().find(".superprev").click(function(e){e.preventDefault(),(currentPage>0||options.circular)&&gotoPage(currentPage-1)}).css({display:"block"}),options.arrowsOut&&$wrap.css({"margin-left":$wrap.parent().find(".superprev").width(),"margin-right":$wrap.parent().find(".supernext").width()})),options.swipe&&$this.registerSwipe(),options.keys&&jQuery("body").keyup(function(e){49==e.keyCode?gotoPage(0):50==e.keyCode?gotoPage(1):51==e.keyCode?gotoPage(2):52==e.keyCode?gotoPage(3):53==e.keyCode?gotoPage(4):54==e.keyCode?gotoPage(5):55==e.keyCode?gotoPage(6):56==e.keyCode?gotoPage(7):57==e.keyCode?gotoPage(8):58==e.keyCode?gotoPage(9):37==e.keyCode?gotoPage(currentPage-1):39==e.keyCode?gotoPage(currentPage+1):38==e.keyCode?gotoPage(currentPage-1):40==e.keyCode&&gotoPage(currentPage+1)}),options.mouseWheel&&$wrap.bind("mousewheel",function(e,t){$wrap.ismouseover()&&(gotoPage(t>0?currentPage-1:currentPage+1),e.preventDefault())})},getPageByDistance=function(e){var t=currentPage,i=-calculateNewLeft(t)-e if(e>0){for(;-calculateNewLeft(t)>i&&(!(t>=totalPages)||options.circular);)t++ if(t>=totalPages&&!options.circular)return totalPages-1}else{for(;-calculateNewLeft(t)=t)||options.circular);)t-- if(0>=t&&!options.circular)return 0}return t},superCarouselSwipe=function(e,t){var i={swipe:function(e){},swipeLeft:function(e){},swipeRight:function(e){},swipeUp:function(e){},swipeDown:function(e){},swipeStart:function(e){},swipeEnd:function(e,t){}},o=jQuery.extend({},i,t),s={} s.sX=0,s.sY=0,s.eX=0,s.eY=0 var n="" e.on("touchstart",function(e){var t=e.originalEvent.touches[0] s.sX=t.screenX,s.sY=t.screenY,o.swipeStart(s)}),e.on("touchmove",function(e){var t=e.originalEvent.touches[0] s.eX=t.screenX,s.eY=t.screenY,o.swipe(s)}),e.on("touchend",function(e){jQuery(window).width(),jQuery(window).height() n=s.eX>s.sX?"r":"l",""!=n&&("l"==n?o.swipeLeft(s):"r"==n?o.swipeRight(s):"u"==n?o.swipeUp(s):"d"==n&&o.swipeDown(s)),o.swipeEnd(s,n),n=""})} $this.registerSwipe=function(){options.swipe&&superCarouselSwipe($wrap,{swipeStart:function(e){superWrapXPos=$$.position().left,superWrapYPos=jQuery(window).scrollTop()},swipe:function(e){var t=-sliderWidth,i=-2*sliderWidth+$wrap.width(),o=e.eX-e.sX+superWrapXPos,s=e.sY-e.eY+superWrapYPos 0>s&&(s=0),o>t&&!options.circular?o=t:i>o&&!options.circular&&(o=i),$$.stop(!0,!0).css({left:o})},swipeEnd:function(e,t){var i=Math.abs(e.eX-e.sX),o=.2*$wrap.width() if(i>o){if("r"==t){var s=getPageByDistance(-i) gotoPage(currentPage>0||options.circular?s:currentPage)}else if("l"==t){var s=getPageByDistance(i) gotoPage(totalPages-1>currentPage||options.circular?s:currentPage)}}else $$.animate({left:-calculateNewLeft(currentPage)})}})} var removeSuperSwipeClass=function(e){swipeid=setTimeout(function(){jQuery(e.target).removeClass("superswipe")},500)},checkAutoScroll=function(){if($wrap&&"1"==options.autoscroll){options.effect="slide",("up"==options.direction||"down"==options.direction)&&(options.direction="left") var e,t,i=calculateNewLeft(0),o=!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),s=-1!=navigator.appVersion.indexOf("Win")?!0:!1,n=1 o&&s&&(n=4),"left"==options.direction?(e=-(2*i),t="-="+options.scrollspeed*n+"px"):(e=-i,i=2*i,$$.css({left:-i}),t="+="+options.scrollspeed*n+"px"),checkSuperTimeout(i,t,e)}},checkSuperTimeout=function(e,t,i){setTimeout(function(){return locknav||options.pauseOver&&$wrap.ismouseover()?void checkSuperTimeout(e,t,i):($$.css({left:t}),Math.abs(i)-Math.abs(e)<$wrap.width()&&(e=calculateNewLeft(0),"left"==options.direction?i=-(2*e):(i=-e,e=2*e)),"left"==options.direction?$$.position().lefti&&$$.css({left:-e}),void checkSuperTimeout(e,t,i))},options.scrollinterval)},checkAutoPlay=function(){$wrap&&options.auto&&!options.autoscroll&&setInterval(function(){locknav||(options.pauseOver?$wrap.ismouseover()||autoPlay():autoPlay())},options.pauseTime)},autoPlay=function(){"left"==options.direction||"down"==options.direction?gotoPage(currentPage+1):("right"==options.direction||"up"==options.direction)&&gotoPage(currentPage-1)},resetPagination=function(){if(options.paging)for($wrap.parent().find(".pagination").html(""),m=0;m'+(m+1)+"").click(function(e){e.preventDefault(),gotoPage(jQuery(this).index())}) $wrap.parent().find(".pagination").append(e)}},gotoPage=function(e){if(!locknav){if(e>=totalPages&&!options.circular)return void gotoPage(0) if(0>e&&!options.circular)return void gotoPage(totalPages-1) options.onchange($$,currentPage,totalPages),e!=totalPages-1||options.circular||""==options.next?""!=options.next&&jQuery(options.next).hasClass("disabled")&&jQuery(options.next).removeClass("disabled"):jQuery(options.next).addClass("disabled"),0!=e||options.circular||""==options.prev?""!=options.prev&&jQuery(options.prev).hasClass("disabled")&&jQuery(options.prev).removeClass("disabled"):jQuery(options.prev).addClass("disabled"),currentPage=e,"slide"==options.effect?"left"==options.direction||"right"==options.direction?slideHorizontal():("up"==options.direction||"down"==options.direction)&&slideVertical():"focus"==options.effect?slideFocusHorizontal():"fade"==options.effect&&slideFadeIn(),options.paging&&$wrap.parent().find(".pagination").find(">a:eq("+currentPage+")").length>0&&($wrap.parent().find(".pagination").find(">a").removeClass("selected"),$wrap.parent().find(".pagination").find(">a:eq("+currentPage+")").addClass("selected"))}},calculateNewLeft=function(e){var t if(!$wrap)return 0 if(options.step>0){var i=e*options.step+totalSlides 0>i?i=0:i>$$.find(">div").length-1&&(i=totalSlides),t=$$.find(">div:eq("+i+")").position().left}else t=e*$wrap.outerWidth(!1),t+=sliderWidth if(!options.circular){var o=-2*sliderWidth+$wrap.outerWidth(!1) o>-t&&(t=-o)}var o=-2*sliderWidth,s=-1*sliderWidth+$wrap.outerWidth(!1) return s>0&&(s=0),o>=-t&¤tPage>0?(t=-o,currentPage=0):-t>=s&&0>currentPage&&(t=-s,currentPage=totalPages-1),t},slideFadeIn=function(){var e=calculateNewLeft(currentPage) locknav=!0 var t=$$.clone().css({position:"absolute",display:"none",zIndex:0,left:-e,top:$$.position().top}).appendTo($wrap) t.fadeIn(options.easingTime,options.easing,function(){$$.css({left:-e}),t.remove(),locknav=!1 var i=-2*sliderWidth,o=-1*sliderWidth+$wrap.outerWidth(!1) o>0&&(o=0),i>=-e?$$.css({left:-e+sliderWidth}):-e>=o&&$$.css({left:-e-sliderWidth})})},slideVertical=function(){var e=calculateNewLeft(currentPage) if(locknav=!0,"up"==options.direction)if(-e<$$.position().left)var t=1 else var t=-1 else if("down"==options.direction)if(-e<$$.position().left)var t=-1 else var t=1 var i=$$.clone().css({position:"absolute",zIndex:0,left:-e,top:$$.position().top+$wrap.outerHeight(!0)*t}).appendTo($wrap) i.stop(!0,!0).animate({top:$$.position().top},options.easingTime,options.easing,function(){$$.css({left:-e}),i.remove(),locknav=!1 var t=-2*sliderWidth,o=-1*sliderWidth+$wrap.outerWidth(!1) o>0&&(o=0),t>=-e?$$.css({left:-e+sliderWidth}):-e>=o&&$$.css({left:-e-sliderWidth})})},slideFocusHorizontal=function(){var e=calculateNewLeft(currentPage),t=currentPage*options.step+totalSlides $$.find(">div").removeClass("focus"),$$.find(">div:eq("+t+")").addClass("focus"),$$.find(">div:eq("+(t+totalSlides)+")").addClass("focus"),$$.find(">div:eq("+(t-totalSlides)+")").addClass("focus") var i=$$.find(">div:eq("+t+")").width()/2-$wrap.width()/2 e+=i,locknav=!0,$$.stop(!0,!0).animate({left:-e},options.easingTime,options.easing,function(){locknav=!1 var t=-2*sliderWidth-i,o=-1*sliderWidth-i+$wrap.outerWidth(!1) o>0&&(o=0),t>=-e?$$.css({left:-e+sliderWidth}):-e>=o&&$$.css({left:-e-sliderWidth})}),resetWrapHeight()},slideHorizontal=function(){var e=calculateNewLeft(currentPage) locknav=!0,$$.stop(!0,!0).animate({left:-e},options.easingTime,options.easing,function(){locknav=!1 var t=-2*sliderWidth,i=-1*sliderWidth+$wrap.outerWidth(!1) i>0&&(i=0),t>=-e?$$.css({left:-e+sliderWidth}):-e>=i&&$$.css({left:-e-sliderWidth})}),resetWrapHeight()},checkParams=function(){options.step>totalSlides&&(options.step=totalSlides),options.visible&&(options.step>options.visible||0==options.step)&&(options.step=options.visible)},resetStyleObj=function(){$$.removeClass("superfixheight"),options.visible?(cssObj={width:getVisibleSlideWidth(),height:"auto"},cssImgObj={width:"100%",height:"auto"}):""!=options.itemWidth?(cssObj={width:options.itemWidth,height:"auto"},cssImgObj={width:"100%",height:"auto"}):""!=options.itemHeight&&(cssObj={width:"auto",height:"auto"},cssImgObj={width:"auto",height:options.itemHeight},$$.addClass("superfixheight")),$$.find(">div").css(cssObj),checkImageCarousel()},calculateTotalPages=function(){var e=$$.find(">div:last") if(sliderWidth=(e.position().left+e.outerWidth(!1))/3,!$wrap)return 0 if(options.step>0){if(options.visible&&1==options.visible)return void(totalPages=totalSlides) if(options.visible&&options.visible>1)return totalPages=(totalSlides-(options.visible-options.step))/options.step,void(1>totalPages&&(totalPages=1)) totalPages=1 for(var t=-1*calculateNewLeft(totalPages-1),i=-2*sliderWidth+$wrap.outerWidth(!1);t>i;)totalPages++,t=-1*calculateNewLeft(totalPages-1)}else totalPages=Math.ceil(sliderWidth/$wrap.outerWidth(!1))},resetSlidePositions=function(){$$.find(">div").each(function(){$ele=jQuery(this),""!=options.itemHeight&&"image"==options.type&&$ele.width($ele.find(".super_image").width()),$ele.prev().length>0?$ele.css({left:$ele.prev().position().left+$ele.prev().outerWidth(!1)+options.slideGap}):$ele.css({left:0})})},resetWrapHeight=function(){if(options.autoHeight&&options.step>0){var e,t=currentPage*options.step+totalSlides if(options.visible)e=$$.find(">div").slice(t,t+options.visible).superMaxHeightElement().outerHeight(!0) else if(options.itemWidth){var i=Math.ceil($wrap.width()/options.itemWidth) e=$$.find(">div").slice(t,t+i).superMaxHeightElement().outerHeight(!0)}else e=$$.find(">div:eq("+t+")").outerHeight(!0) return void $wrap.stop(!0,!0).animate({height:e+1},700,"swing",function(){})}var o=0 for(k=totalSlides;k<2*totalSlides;k++)t=$$.children(":eq("+k+")"),t.outerHeight(!0)>o&&(o=t.outerHeight(!0)) $wrap&&$wrap.height(o+1)},checkImageCarousel=function(){"image"==options.type&&$$.find("img").css(cssImgObj)},getVisibleSlides=function(){return options.visible?options.visible:""!=options.itemWidth?Math.ceil($wrap.width()/options.itemWidth):0},getVisibleSlideWidth=function(){return $wrap?Math.ceil(($wrap.width()-(options.visible-1)*options.slideGap)/options.visible):0},delayReset=function(){setTimeout(function(){resetSlides()},500)},registerHiddenCarousel=function(){setInterval(function(){$wrap.parent().is(":visible")?1==ishidden&&(delayReset(),ishidden=0):ishidden=1},500)},isIE=function(e,t){var i=jQuery('
').appendTo(jQuery("body")) i.html("") var o=i.find("a").length return i.remove(),o},checkIsHidden=function(){options.superhidden&®isterHiddenCarousel()} return oldWindowWidth=jQuery(window).width(),jQuery(window).resize(function(){jQuery(window).width()!=oldWindowWidth&&(resetSlides(),oldWindowWidth=jQuery(window).width())}),$$.find("img").length?$$.imagesLoaded(function(){createSuperCarousel(),checkAutoPlay(),checkAutoScroll(),checkIsHidden()}):(createSuperCarousel(),checkAutoPlay(),checkAutoScroll(),checkIsHidden()),$this} var opts=jQuery.fn.supercarousel opts.defaults={source:"Image",itemWidth:"",itemHeight:"",desktopMinWidth:1200,laptopMinWidth:992,tabletMinWidth:450,mobileMinWidth:0,direction:"left",effect:"slide",respDesktop:"visible",desktopVisible:"5",desktopWidth:"400",desktopHeight:"400",respLaptop:"visible",laptopVisible:"3",laptopWidth:"300",laptopHeight:"300",respTablet:"visible",tabletVisible:"2",tabletWidth:"200",tabletHeight:"200",respMobile:"visible",mobileVisible:"1",mobileWidth:"200",mobileHeight:"200",customrespmin:[],customrespmax:[],customrespby:[],customrespvisible:[],customrespwidth:[],customrespheight:[],arrowsOut:!1,slideGap:5,step:1,type:"content",auto:!1,autoscroll:!1,scrollspeed:1,scrollinterval:10,autoHeight:!1,easing:"swing",easingTime:700,pauseTime:1e3,pauseOver:!0,next:"",prev:"",paging:!1,circular:!1,mouseWheel:!1,swipe:!1,keys:!1,superhidden:!1,carouselid:0,onchange:function(e,t,i){},onload:function(e){}}}(jQuery),jQuery.fn.superMaxHeightElement=function(){var e=null,t=0 return this.each(function(){var i=jQuery(this).height() i>t&&(t=i,e=jQuery(this))}),e},jQuery(document).ready(function(){jQuery(".supercrsl").each(function(){var e=jQuery(this).data("carouseloptions") if(e){var t=["desktopVisible","desktopWidth","desktopHeight","laptopVisible","laptopWidth","laptopHeight","tabletVisible","tabletWidth","tabletHeight","mobileVisible","mobileWidth","mobileHeight","easingTime","step","pauseTime","scrollspeed","slideGap"],i=["auto","pauseOver","autoscroll","autoHeight","nextPrev","arrowsOut","circular","mouseWheel","swipe","keys","superhidden","paging"] for(var o in t)e[t[o]]=parseInt(e[t[o]]) for(var o in i)e[i[o]]=1==parseInt(e[i[o]])?!0:!1 jQuery(this).find(".supercarousel").supercarousel(e)}})}),jQuery.expr[":"].hiddenByParent=function(e){return jQuery(e).parents("*:not(:visible)").length} /*jquery.easing*/ jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g)/g,template:">"},dq:{regex:/(")/g,template:"""},sq:{regex:/(')/g,template:"'"},link:{regex:/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,template:'$1'},user:{regex:/((?:^|[^a-zA-Z0-9_!#$%&*@@]|RT:?))([@@])([a-zA-Z0-9_]{1,20})(\/[a-zA-Z][a-zA-Z0-9_-]{0,24})?/g,template:'$1@$3$4'},hash:{regex:/(^|\s)#(\w+)/g,template:'$1#$2'},email:{regex:/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi,template:'$1'}};var i=e.extend(r,n);e.each(i,function(e,n){t=t.replace(n.regex,n.template)});return t}})})(jQuery); /*jquery.framerate*/ jQuery.fn.framerate=function(e){var t=jQuery.extend({framerate:30,logframes:!1},e),i=Math.floor(1e3/t.framerate) jQuery.extend(jQuery.fx.prototype,{custom:function(e,t,o){function s(e){return n.step(e)}this.startTime=(new Date).getTime(),this.start=e,this.end=t,this.unit=o||this.unit||"px",this.now=this.start,this.pos=this.state=0 var n=this s.elem=this.elem,void 0===jQuery.timerId&&(jQuery.timerId=!1),s()&&jQuery.timers.push(s)&&!jQuery.timerId&&(jQuery.timerId=setInterval(jQuery.fx.tick,i))}}) var o=(new Date).getTime() jQuery.extend(jQuery.fx,{tick:function(){if(t.logframes){var e=(new Date).getTime() console.log(Math.floor(1e3/(e-o))),o=e}for(var i=jQuery.timers,s=0;se.mlp.x&&o.top<=e.mlp.y&&o.top+t.outerHeight()>e.mlp.y}),i}}(jQuery); /*jquery.mousewheel*/ !function(e){function t(t){var i=t||window.event,o=[].slice.call(arguments,1),s=0,n=0,a=0 return t=e.event.fix(i),t.type="mousewheel",i.wheelDelta&&(s=i.wheelDelta/120),i.detail&&(s=-i.detail/3),a=s,void 0!==i.axis&&i.axis===i.HORIZONTAL_AXIS&&(a=0,n=-1*s),void 0!==i.wheelDeltaY&&(a=i.wheelDeltaY/120),void 0!==i.wheelDeltaX&&(n=-1*i.wheelDeltaX/120),o.unshift(t,s,n,a),(e.event.dispatch||e.event.handle).apply(this,o)}var i=["DOMMouseScroll","mousewheel"] if(e.event.fixHooks)for(var o=i.length;o;)e.event.fixHooks[i[--o]]=e.event.mouseHooks e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1) else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1) else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery); /*jquery.superlightbox*/ /* * jQuery SuperLightBox Plugin v1.0 * Copyright (C) 2017 Taraprasad Swain * Author URL: http://www.taraprasad.com * Email: swain.tara@gmail.com */ jQuery.fn.superLightBox=function(e){var t,o,r,i,a={gallery:!0,swipe:!0,keyboard:!0,closeOutClick:!0,videopreviewurl:"images/video-preview.jpg",galleryThumbnailWidth:100,galleryThumbanilGap:1,maxZoom:3,mediaAttribute:"href",mediaCaption:"data-superlightcaption"},n=[],s=[],l=[],p=[],d=0,c=0,u=0,g=jQuery.extend({},a,e) g.keyboard&&jQuery(document).keyup(function(e){jQuery(".superlightboxcontainer").length&&jQuery(".superlightboxcontainer").hasClass(i)&&(e.preventDefault(),27==e.keyCode?f():37==e.keyCode||38==e.keyCode?y(t-1):(39==e.keyCode||40==e.keyCode)&&y(t+1))}),jQuery(window).resize(function(){jQuery(".superlightboxcontainer").length&&jQuery(".superlightboxcontainer").hasClass(i)&&(S(),v())}) var m=function(e){var o=e.attr("href") if(n.indexOf(o)>-1){t=n.indexOf(o),jQuery(".superlightboxcontainer").length&&jQuery(".superlightboxcontainer").remove(),jQuery("body").append(O()) var r='
' jQuery(".superlightbox_slider").append(r),jQuery(".superlightbox_slider").append(r),jQuery(".superlightbox_slider").append(r),g.gallery&&n.length>1&&_(),jQuery(".superlightboxcontainer").fadeIn(),x(),y(t)}},_=function(){var e="" for(var t in n)e+=b(n[t],t) jQuery(".superlightbox_gallery_wrapper").append(e) var o=0 jQuery(".superlightbox_gallery_wrapper > div").each(function(e){var t=e*g.galleryThumbnailWidth+e*g.galleryThumbanilGap o=t,jQuery(this).css({left:t})}),o+=g.galleryThumbnailWidth,jQuery(".superlightbox_gallery_wrapper").width(o)},h=function(e){if(jQuery(".superlightboxcontainer").length){var t=jQuery(window).width() if(jQuery(".superlightbox_gallery_wrapper").width()>t){var o=parseInt(jQuery(".superlightbox_gallery_wrapper").position().left),r=o-e*t,i=-jQuery(".superlightbox_gallery_wrapper").width()+t i>r?r=i:r>0&&(r=0),jQuery(".superlightbox_gallery_wrapper").animate({left:r},g.easingTime,function(){})}}},v=function(){if(jQuery(".superlightboxcontainer").length&&g.gallery){if(jQuery(window).width()>jQuery(".superlightbox_gallery_wrapper").width()){var e=(jQuery(window).width()-jQuery(".superlightbox_gallery_wrapper").width())/2 jQuery(".superlightbox_gallery_wrapper").css({left:e})}else jQuery(".superlightbox_gallery_wrapper").css({left:0}) jQuery(".superlightbox_gallery_wrapper").is(":visible")?jQuery(".superlightbox_gallery_nav").show():jQuery(".superlightbox_gallery_nav").hide()}},b=function(e,t){var o=R(e),r="",i="" "image"==o?r=e:"youtube"==o?(r=N(e),i=" superlightbox_video"+U(e)):"vimeo"==o&&(r=g.videopreviewurl,I(e),i=" superlightbox_video"+D(e)) var a='
" return a},f=function(){if(jQuery(".superlightboxcontainer").length){var e=jQuery(".superlightbox_slide"+t) e.length&&e.addClass("superlightbox_remove"),jQuery(".superlightboxcontainer").fadeOut("slow",function(){jQuery(this).remove()})}},x=function(){jQuery(".superlightboxcontainer").length&&(jQuery(".superlightbox_close").click(function(){f()}),g.closeOutClick&&jQuery(".superlightbox_slider").click(function(e){"IMG"!=e.target.nodeName&&f()}),jQuery(".superlightbox_prev").click(function(){y(t-1)}),jQuery(".superlightbox_next").click(function(){y(t+1)}),g.gallery&&(jQuery(".superlightbox_gallery_button").click(function(){jQuery(this).hasClass("superlightbox_gallery_open")?(jQuery(this).removeClass("superlightbox_gallery_open"),jQuery(this).addClass("superlightbox_gallery_close"),jQuery(".superlightbox_gallery_wrapper").slideDown(),jQuery(".superlightbox_slider").addClass("superlightbox_gallery_visible"),v()):(jQuery(this).removeClass("superlightbox_gallery_close"),jQuery(this).addClass("superlightbox_gallery_open"),jQuery(".superlightbox_gallery_wrapper").slideUp(),jQuery(".superlightbox_gallery_nav").hide(),jQuery(".superlightbox_slider").removeClass("superlightbox_gallery_visible"))}),jQuery(".superlightbox_gallery_prev").click(function(){h(-1)}),jQuery(".superlightbox_gallery_next").click(function(){h(1)}),jQuery(".superlightbox_gallery_wrapper > div").click(function(){y(jQuery(this).index())}),g.swipe&&H(".superlightbox_gallery_wrapper",{swipeStart:function(e){d=jQuery(".superlightbox_gallery_wrapper").position().left},swipe:function(e){jQuery(window).width() jQuery(".superlightbox_gallery_wrapper").css({left:e.eX-e.sX+d})},swipeEnd:function(e,t){var o=(Math.abs(e.sX)-Math.abs(e.eX),jQuery(window).width()),r=jQuery(".superlightbox_gallery_wrapper").width() if(o>r){var i=(o-r)/2 jQuery(".superlightbox_gallery_wrapper").animate({left:i},g.easingTime)}else jQuery(".superlightbox_gallery_wrapper").position().left>0?jQuery(".superlightbox_gallery_wrapper").animate({left:0},g.easingTime):jQuery(".superlightbox_gallery_wrapper").position().left<-r+o&&jQuery(".superlightbox_gallery_wrapper").animate({left:-r+o},g.easingTime)}})),g.swipe&&H(".superlightbox_wrapper",{pinchImage:".superlightbox_slider > div:eq(1) img",maxZoom:g.maxZoom,pinchZoom:function(e){jQuery(".superlightbox_slider > div:eq(1) img").css(e)},pinchZoomStart:function(e){jQuery(".superlightbox_slider").addClass("superlightbox_sliding")},pinchZoomEnd:function(e){jQuery(".superlightbox_slider").removeClass("superlightbox_sliding"),Q()},swipeStart:function(e){jQuery(".superlightbox_slider").addClass("superlightbox_sliding")},swipe:function(e){var t=jQuery(window).width() jQuery(".superlightbox_slider").css({left:-t+e.eX-e.sX})},swipeEnd:function(e,o){var r=Math.abs(e.sX)-Math.abs(e.eX),i=jQuery(window).width(),a=.2*i if(Math.abs(r)>a)y(r>0?t+1:t-1) else{var i=jQuery(window).width() jQuery(".superlightbox_slider").animate({left:-i},g.easingTime,function(){jQuery(".superlightbox_slider").removeClass("superlightbox_sliding")})}}}))},y=function(e){var i="right" t>e&&(i="left"),0>e||e==n.length-1?(e=n.length-1,o=e-1,r=0):e>=n.length||0==e?(e=0,o=n.length-1,r=1):(o=e-1,r=e+1) var a,s=P(e),l=1 return e==t?void(0==jQuery(".superlightbox_slider > div.superlightbox_slide"+e).length&&(jQuery(".superlightbox_slider > div:first").replaceWith(P(o)),jQuery(".superlightbox_slider > div:eq(1)").replaceWith(s),jQuery(".superlightbox_slider > div:last").replaceWith(P(r)),E(o),E(e),E(r),Q())):("left"==i?(a=jQuery(".superlightbox_slider > div:first"),l=-1):a=jQuery(".superlightbox_slider > div:last"),a.hasClass("superlightbox_slide"+e)||(a.replaceWith(s),E(e),Q()),w(l),void(t=e))},w=function(e){if(jQuery(".superlightboxcontainer").length&&3==jQuery(".superlightbox_slider > div").length){var t=jQuery(window).width(),o=0 e>0&&(o=-2*t),jQuery(".superlightbox_slider").addClass("superlightbox_sliding"),jQuery(".superlightbox_slider").animate({left:o},g.easingTime,k)}},k=function(){var e=".superlightbox_slider > .superlightbox_slide"+t,i=".superlightbox_slider > .superlightbox_slide"+r,a=".superlightbox_slider > .superlightbox_slide"+o jQuery(".superlightbox_slider > div").not(e+","+i+","+a).remove(),jQuery(e).length>1&&(0==jQuery(".superlightbox_slider").position().left?jQuery(e+":last").remove():jQuery(e+":first").remove()),jQuery(a).length>1&&jQuery(a+":last").remove(),jQuery(i).length>1&&jQuery(i+":first").remove(),jQuery(".superlightbox_slider > div:first").hasClass("superlightbox_slide"+o)||(jQuery(a).remove(),jQuery(".superlightbox_slider").prepend(P(o)),E(o)),jQuery(".superlightbox_slider > div:last").hasClass("superlightbox_slide"+r)||(jQuery(i).remove(),jQuery(".superlightbox_slider").append(P(r)),E(r)),jQuery(".superlightbox_slider").removeClass("superlightbox_sliding"),Q(),j(t)},S=function(){j(o),j(t),j(r),Q()},j=function(e){if(jQuery(".superlightboxcontainer").length){var o=jQuery(window).height(),r=jQuery(window).width() if(l[e]){e==t&&(u=0,c=0) var i=jQuery(".superlightbox_slide"+e),a=l[e],n=p[e],s=parseInt(a*r),d=parseInt(n*o) s>o?(i.find("img").css({height:o,width:d,left:"50%",top:"50%"}),jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").length&&jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").css({"max-width":d})):(i.find("img").css({width:r,height:s,left:"50%",top:"50%"}),jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").length&&jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").css({"max-width":r}))}else jQuery(".superlightbox_slide"+e).find(".superlightbox_embed_wrapper").length&&(jQuery(".superlightbox_slide"+e).find(".superlightbox_embed_wrapper").css({"max-width":parseInt(1.77*o)}),jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").length&&jQuery(".superlightbox_slide"+e).find(".superlightbox_caption").css({"max-width":parseInt(1.77*o)}))}},Q=function(){var e=jQuery(window).width() jQuery(".superlightbox_slider > div").each(function(t){jQuery(this).css({left:t*e,width:e})}),jQuery(".superlightbox_slider").css({left:-e,width:3*e})},P=function(e){if(!n[e])return"" var t,o=n[e],r=R(o) return"image"==r?t='
':"youtube"==r?(t='
',t+=A(o)):"vimeo"==r&&(t='
',t+=W(o)),""!=s[e]&&(t+='
'+s[e]+"
"),t+="
"},E=function(e){var t=n[e],o=R(t) if("image"!=o)return void j(e) var r=new Image r.superindex=e,r.onload=T,r.src=t},T=function(){if(void 0!==this.superindex&&jQuery(".superlightbox_slide"+this.superindex).length){var e=jQuery(".superlightbox_slide"+this.superindex),t="" ""!=s[this.superindex]&&(t='
'+s[this.superindex]+"
"),e.html(''+t),l[this.superindex]=this.naturalHeight/this.naturalWidth,p[this.superindex]=this.naturalWidth/this.naturalHeight,j(this.superindex),setTimeout(function(){e.removeClass("superloading")},800)}},R=function(e){var t=e.split(".").reverse()[0].toLowerCase() return jQuery.inArray(t,["jpg","jpeg","png","gif"])>-1?"image":$(e)?"youtube":C(e)?"vimeo":""},C=function(e){var t=/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i,o=t.exec(e) return o&&o[1]},$=function(e){var t=/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9_\-]+)/i,o=t.exec(e) return o&&o[1]},A=function(e){var t=U(e) return'
'},U=function(e){var t=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/) return null!=t?t[1]:""},N=function(e){var t=U(e) return"https://img.youtube.com/vi/"+t+"/0.jpg"},W=function(e){var t=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(\S+)/g if(t.test(e))var o='
',e=e.replace(t,o) return e},I=function(e){var t=D(e) jQuery.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+t+".json",jsonp:"callback",dataType:"jsonp",success:function(e){if(jQuery(".superlightbox_video"+e[0].id).length){var t=e[0].thumbnail_large jQuery(".superlightbox_video"+e[0].id).css({"background-image":"url('"+t+"')"})}}})},D=function(e){var t=e.match(/^.+vimeo.com\/(.*\/)?([^#\?]*)/) return t?t[2]||t[1]:null},O=function(){return''},M=function(e,t){t=t||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" for(var o="",r=0;e>r;r++){var i=Math.floor(Math.random()*t.length) o+=t.substring(i,i+1)}return o},H=function(e,t){var o={pinchImage:"",pinchZoom:function(e){},pinchZoomStart:function(){},pinchZoomEnd:function(){},swipe:function(e){},swipeLeft:function(e){},swipeRight:function(e){},swipeUp:function(e){},swipeDown:function(e){},swipeStart:function(e){},swipeEnd:function(e,t){},maxZoom:3},r=jQuery.extend({},o,t),i={},a=!1,n=!1 i.sX=0,i.sY=0,i.eX=0,i.eY=0 var s,l,p,d,g,m,_,h,v,b,f,x,y,w,k,S,j,Q,P,E,T,R,C,$,A,U,N,W,I=.1,D=20,O=40,M=40,H=50,z="",L=1,F=0,Y=0,X=c,B=u,q=jQuery(e) q.on("touchstart",function(e){if(1==e.originalEvent.touches.length){a=!0,n=!1 var t=e.originalEvent.touches[0] i.sX=t.screenX,i.sY=t.clientY,1==L?r.swipeStart(i):r.pinchZoomStart()}else if(2==e.originalEvent.touches.length){a=!1,n=!0 var o=jQuery(window).width()/2,g=jQuery(window).height()/2 0==c&&0==c&&(c=jQuery(r.pinchImage).width(),u=jQuery(r.pinchImage).height(),X=c,B=u,L=1,F=o-X,Y=g-B),s=e.originalEvent.touches[0].clientX,l=e.originalEvent.touches[0].clientY,p=e.originalEvent.touches[1].clientX,d=e.originalEvent.touches[1].clientY,j=(s+p)/2,Q=(l+d)/2,N=(j-F)/X,W=(Q-Y)/B,v=Math.sqrt(Math.pow(p-s,2)+Math.pow(d-l,2)),r.pinchZoomStart()}}),q.on("touchmove",function(e){if(e.preventDefault(),a){var t=e.originalEvent.touches[0] if(i.eX=t.screenX,i.eY=t.clientY,L>1){var o={} o.left=F+X+(i.eX-i.sX),o.top=Y+B+(i.eY-i.sY),r.pinchZoom(o)}else r.swipe(i)}else if(n){g=e.originalEvent.touches[0].clientX,m=e.originalEvent.touches[0].clientY,_=e.originalEvent.touches[1].clientX,h=e.originalEvent.touches[1].clientY,b=Math.sqrt(Math.pow(_-g,2)+Math.pow(h-m,2)),f=b/v,x=f*L,w=c*x,y=u*x,P=(g+_)/2,E=(m+h)/2,T=(X-w)*N,R=(B-y)*W,C=-j+P,$=-Q+E,A=T+C,U=R+$,k=parseInt(F+A),S=parseInt(Y+U) var o={} o.left=k+w,o.top=S+y,o.width=w,o.height=y,r.pinchZoom(o)}}),q.on("touchend",function(e){if(a){if(L>1)return F+=i.eX-i.sX,void(Y+=i.eY-i.sY) var t=jQuery(window).width(),o=jQuery(window).height() D=t*I,M=o*I,(i.eX-D>i.sX||i.eX+Di.eY-H&&(z=i.eX>i.sX?"l":"r"),(i.eY-M>i.sY||i.eY+Mi.eX-O&&(z=i.eY>i.sY?"d":"u"),""!=z&&("l"==z?r.swipeLeft(i):"r"==z?r.swipeRight(i):"u"==z?r.swipeUp(i):"d"==z&&r.swipeDown(i)),r.swipeEnd(i,z),z=""}else if(n){var s=jQuery(window).width()/2,l=jQuery(window).height()/2 if(1>x){x=1 var p={} p.left="50%",p.top="50%",p.width=c,p.height=u,r.pinchZoom(p),k=s-c,S=l-u,w=c,y=u}else if(x>r.maxZoom){x=r.maxZoom,w=c*x,y=u*x,T=(X-w)*N,R=(B-y)*W,C=-j+P,$=-Q+E,A=T+C,U=R+$,k=parseInt(F+A),S=parseInt(Y+U) var p={} p.left=k+w,p.top=S+y,p.width=w,p.height=y,r.pinchZoom(p)}F=k,Y=S,X=w,B=y,L=x,r.pinchZoomEnd()}a=!1,n=!1}),q.on("touchcancel",function(e){a=!1,n=!1})} return i=M(10),this.each(function(){var e=jQuery(this),t=e.attr(g.mediaAttribute) if(jQuery.inArray(t,n)<0){n.push(t) var o=void 0!==e.attr(g.mediaCaption)?e.attr(g.mediaCaption):"" s.push(o)}e.click(function(e){e.preventDefault(),m(jQuery(this))})})}; // source --> https://www.winterreise.fr/wp-content/plugins/om-cc-gallery/shared/assets/js/vendor/modernizr.min.js?ver=2.8.3 /*! * Modernizr v2.8.3 * www.modernizr.com * * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton * Available under the BSD and MIT licenses: www.modernizr.com/license/ */ window.Modernizr=function(e,t,n){function r(e){b.cssText=e}function o(e,t){return r(S.join(e+";")+(t||""))}function a(e,t){return typeof e===t}function i(e,t){return!!~(""+e).indexOf(t)}function c(e,t){for(var r in e){var o=e[r];if(!i(o,"-")&&b[o]!==n)return"pfx"!=t||o}return!1}function s(e,t,r){for(var o in e){var i=t[e[o]];if(i!==n)return r===!1?e[o]:a(i,"function")?i.bind(r||t):i}return!1}function u(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+k.join(r+" ")+r).split(" ");return a(t,"string")||a(t,"undefined")?c(o,t):(o=(e+" "+T.join(r+" ")+r).split(" "),s(o,t,n))}function l(){p.input=function(n){for(var r=0,o=n.length;r',e,""].join(""),u.id=v,(l?u:d).innerHTML+=a,d.appendChild(u),l||(d.style.background="",d.style.overflow="hidden",s=g.style.overflow,g.style.overflow="hidden",g.appendChild(d)),i=n(u,e),l?u.parentNode.removeChild(u):(d.parentNode.removeChild(d),g.style.overflow=s),!!i},z=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return F("@media "+t+" { #"+v+" { position: absolute; } }",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},A=function(){function e(e,o){o=o||t.createElement(r[e]||"div"),e="on"+e;var i=e in o;return i||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(e,""),i=a(o[e],"function"),a(o[e],"undefined")||(o[e]=n),o.removeAttribute(e))),o=null,i}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),L={}.hasOwnProperty;f=a(L,"undefined")||a(L.call,"undefined")?function(e,t){return t in e&&a(e.constructor.prototype[t],"undefined")}:function(e,t){return L.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=D.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var a=new o,i=t.apply(a,n.concat(D.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(D.call(arguments)))};return r}),M.flexbox=function(){return u("flexWrap")},M.flexboxlegacy=function(){return u("boxDirection")},M.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M.canvastext=function(){return!(!p.canvas||!a(t.createElement("canvas").getContext("2d").fillText,"function"))},M.webgl=function(){return!!e.WebGLRenderingContext},M.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:F(["@media (",S.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},M.geolocation=function(){return"geolocation"in navigator},M.postmessage=function(){return!!e.postMessage},M.websqldatabase=function(){return!!e.openDatabase},M.indexedDB=function(){return!!u("indexedDB",e)},M.hashchange=function(){return A("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},M.history=function(){return!(!e.history||!history.pushState)},M.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},M.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},M.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),i(b.backgroundColor,"rgba")},M.hsla=function(){return r("background-color:hsla(120,40%,100%,.5)"),i(b.backgroundColor,"rgba")||i(b.backgroundColor,"hsla")},M.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},M.backgroundsize=function(){return u("backgroundSize")},M.borderimage=function(){return u("borderImage")},M.borderradius=function(){return u("borderRadius")},M.boxshadow=function(){return u("boxShadow")},M.textshadow=function(){return""===t.createElement("div").style.textShadow},M.opacity=function(){return o("opacity:.55"),/^0.55$/.test(b.opacity)},M.cssanimations=function(){return u("animationName")},M.csscolumns=function(){return u("columnCount")},M.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return r((e+"-webkit- ".split(" ").join(t+e)+S.join(n+e)).slice(0,-e.length)),i(b.backgroundImage,"gradient")},M.cssreflections=function(){return u("boxReflect")},M.csstransforms=function(){return!!u("transform")},M.csstransforms3d=function(){var e=!!u("perspective");return e&&"webkitPerspective"in g.style&&F("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t,n){e=9===t.offsetLeft&&3===t.offsetHeight}),e},M.csstransitions=function(){return u("transition")},M.fontface=function(){var e;return F('@font-face {font-family:"font";src:url("https://")}',function(n,r){var o=t.getElementById("smodernizr"),a=o.sheet||o.styleSheet,i=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";e=/src/i.test(i)&&0===i.indexOf(r.split(" ")[0])}),e},M.generatedcontent=function(){var e;return F(["#",v,"{font:0/0 a}#",v,':after{content:"',x,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},M.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},M.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},M.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(e){return!1}},M.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(e){return!1}},M.webworkers=function(){return!!e.Worker},M.applicationcache=function(){return!!e.applicationCache},M.svg=function(){return!!t.createElementNS&&!!t.createElementNS(N.svg,"svg").createSVGRect},M.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==N.svg},M.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(w.call(t.createElementNS(N.svg,"animate")))},M.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(w.call(t.createElementNS(N.svg,"clipPath")))};for(var H in M)f(M,H)&&(d=H.toLowerCase(),p[d]=M[H](),$.push((p[d]?"":"no-")+d));return p.input||l(),p.addTest=function(e,t){if("object"==typeof e)for(var r in e)f(e,r)&&p.addTest(r,e[r]);else{if(e=e.toLowerCase(),p[e]!==n)return p;t="function"==typeof t?t():t,"undefined"!=typeof h&&h&&(g.className+=" "+(t?"":"no-")+e),p[e]=t}return p},r(""),y=E=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=v[e[h]];return t||(t={},g++,e[h]=g,v[g]=t),t}function a(e,n,r){if(n||(n=t),l)return n.createElement(e);r||(r=o(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||m.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function i(e,n){if(e||(e=t),l)return e.createDocumentFragment();n=n||o(e);for(var a=n.frag.cloneNode(),i=0,c=r(),s=c.length;i",u="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,l=!0}}();var y={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:f.shivCSS!==!1,supportsUnknownElements:l,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:s,createElement:a,createDocumentFragment:i};e.html5=y,s(t)}(this,t),p._version=m,p._prefixes=S,p._domPrefixes=T,p._cssomPrefixes=k,p.mq=z,p.hasEvent=A,p.testProp=function(e){return c([e])},p.testAllProps=u,p.testStyles=F,p.prefixed=function(e,t,n){return t?u(e,t,n):u(e,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+$.join(" "):""),p}(this,this.document);