vendor: 22,721 bytes, line 1
1!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function i(e){var t=!!e&&"length"in e&&e.length,i=he.type(e);return"function"!==i&&!he.isWindow(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function n(e,t,i){if(he.isFunction(t))return he.grep(e,function(e,n){return!!t.call(e,n,e)!==i});if(t.nodeType)return he.grep(e,function(e){return e===t!==i});if("string"==typeof t){if(Ce.test(t))return he.filter(t,e,i);t=he.filter(t,e)}return he.grep(e,function(e){return he.inArray(e,t)>-1!==i})}function s(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function r(e){var t={};return he.each(e.match(Ae)||[],function(e,i){t[i]=!0}),t}function a(){ne.addEventListener?(ne.removeEventListener("DOMContentLoaded",o),e.removeEventListener("load",o)):(ne.detachEvent("onreadystatechange",o),e.detachEvent("onload",o))}function o(){(ne.addEventListener||"load"===e.event.type||"complete"===ne.readyState)&&(a(),he.ready())}function l(e,t,i){if(void 0===i&&1===e.nodeType){var n="data-"+t.replace(Le,"-$1").toLowerCase();if("string"==typeof(i=e.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:De.test(i)?he.parseJSON(i):i)}catch(s){}he.data(e,t,i)}else i=void 0}return i}function d(e){var t;for(t in e)if(("data"!==t||!he.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,i,n){if(Me(e)){var s,r,a=he.expando,o=e.nodeType,l=o?he.cache:e,d=o?e[a]:e[a]&&a;if(d&&l[d]&&(n||l[d].data)||void 0!==i||"string"!=typeof t)return d||(d=o?e[a]=ie.pop()||he.guid++:a),l[d]||(l[d]=o?{}:{toJSON:he.noop}),"object"!=typeof t&&"function"!=typeof t||(n?l[d]=he.extend(l[d],t):l[d].data=he.extend(l[d].data,t)),r=l[d],n||(r.data||(r.data={}),r=r.data),void 0!==i&&(r[he.camelCase(t)]=i),"string"==typeof t?null==(s=r[t])&&(s=r[he.camelCase(t)]):s=r,s}}function u(e,t,i){if(Me(e)){var n,s,r=e.nodeType,a=r?he.cache:e,o=r?e[he.expando]:he.expando;if(a[o]){if(t&&(n=i?a[o]:a[o].data)){he.isArray(t)?t=t.concat(he.map(t,he.camelCase)):t in n?t=[t]:(t=he.camelCase(t),t=t in n?[t]:t.split(" ")),s=t.length;for(;s--;)delete n[t[s]];if(i?!d(n):!he.isEmptyObject(n))return}(i||(delete a[o].data,d(a[o])))&&(r?he.cleanData([e],!0):ue.deleteExpando||a!=a.window?delete a[o]:a[o]=void 0)}}}function p(e,t,i,n){var s,r=1,a=20,o=n?function(){return n.cur()}:function(){return he.css(e,t,"")},l=o(),d=i&&i[3]||(he.cssNumber[t]?"":"px"),c=(he.cssNumber[t]||"px"!==d&&+l)&&Oe.exec(he.css(e,t));if(c&&c[3]!==d){d=d||c[3],i=i||[],c=+l||1;do r=r||".5",c/=r,he.style(e,t,c+d);while(r!==(r=o()/l)&&1!==r&&--a)}return i&&(c=+c||+l||0,s=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=d,n.start=c,n.end=s)),s}function h(e){var t=Be.split("|"),i=e.createDocumentFragment();if(i.createElement)for(;t.length;)i.createElement(t.pop());return i}function f(e,t){var i,n,s=0,r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!r)for(r=[],i=e.childNodes||e;null!=(n=i[s]);s++)!t||he.nodeName(n,t)?r.push(n):he.merge(r,f(n,t));return void 0===t||t&&he.nodeName(e,t)?he.merge([e],r):r}function m(e,t){for(var i,n=0;null!=(i=e[n]);n++)he._data(i,"globalEval",!t||he._data(t[n],"globalEval"))}function v(e){He.test(e.type)&&(e.defaultChecked=e.checked)}function g(e,t,i,n,s){for(var r,a,o,l,d,c,u,p=e.length,g=h(t),y=[],b=0;b<p;b++)if((a=e[b])||0===a)if("object"===he.type(a))he.merge(y,a.nodeType?[a]:a);else if(Ve.test(a)){for(l=l||g.appendChild(t.createElement("div")),d=(Ne.exec(a)||["",""])[1].toLowerCase(),u=We[d]||We._default,l.innerHTML=u[1]+he.htmlPrefilter(a)+u[2],r=u[0];r--;)l=l.lastChild;if(!ue.leadingWhitespace&&Re.test(a)&&y.push(t.createTextNode(Re.exec(a)[0])),!ue.tbody)for(a="table"!==d||Xe.test(a)?"<table>"!==u[1]||Xe.test(a)?0:l:l.firstChild,r=a&&a.childNodes.length;r--;)he.nodeName(c=a.childNodes[r],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(he.merge(y,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=g.lastChild}else y.push(t.createTextNode(a));for(l&&g.removeChild(l),ue.appendChecked||he.grep(f(y,"input"),v),b=0;a=y[b++];)if(n&&he.inArray(a,n)>-1)s&&s.push(a);else if(o=he.contains(a.ownerDocument,a),l=f(g.appendChild(a),"script"),o&&m(l),i)for(r=0;a=l[r++];)qe.test(a.type||"")&&i.push(a);return l=null,g}function y(){return!0}function b(){return!1}function w(){try{return ne.activeElement}catch(e){}}function x(e,t,i,n,s,r){var a,o;if("object"==typeof t){"string"!=typeof i&&(n=n||i,i=void 0);for(o in t)x(e,o,i,n,t[o],r);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=b;else if(!s)return e;return 1===r&&(a=s,s=function(e){return he().off(e),a.apply(this,arguments)},s.guid=a.guid||(a.guid=he.guid++)),e.each(function(){he.event.add(this,t,s,n,i)})}function T(e,t){return he.nodeName(e,"table")&&he.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==he.find.attr(e,"type"))+"/"+e.type,e}function S(e){var t=nt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function E(e,t){if(1===t.nodeType&&he.hasData(e)){var i,n,s,r=he._data(e),a=he._data(t,r),o=r.events;if(o){delete a.handle,a.events={};for(i in o)for(n=0,s=o[i].length;n<s;n++)he.event.add(t,i,o[i][n])}a.data&&(a.data=he.extend({},a.data))}}function k(e,t){var i,n,s;if(1===t.nodeType){if(i=t.nodeName.toLowerCase(),!ue.noCloneEvent&&t[he.expando]){s=he._data(t);for(n in s.events)he.removeEvent(t,n,s.handle);t.removeAttribute(he.expando)}"script"===i&&t.text!==e.text?(C(t).text=e.text,S(t)):"object"===i?(t.parentNode&&(t.outerHTML=e.outerHTML),ue.html5Clone&&e.innerHTML&&!he.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===i&&He.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===i?t.defaultSelected=t.selected=e.defaultSelected:"input"!==i&&"textarea"!==i||(t.defaultValue=e.defaultValue)}}function $(e,t,i,n){t=re.apply([],t);var s,r,a,o,l,d,c=0,u=e.length,p=u-1,h=t[0],m=he.isFunction(h);if(m||u>1&&"string"==typeof h&&!ue.checkClone&&it.test(h))return e.each(function(s){var r=e.eq(s);m&&(t[0]=h.call(this,s,r.html())),$(r,t,i,n)});if(u&&(d=g(t,e[0].ownerDocument,!1,e,n),s=d.firstChild,1===d.childNodes.length&&(d=s),s||n)){for(o=he.map(f(d,"script"),C),a=o.length;c<u;c++)r=d,c!==p&&(r=he.clone(r,!0,!0),a&&he.merge(o,f(r,"script"))),i.call(e[c],r,c);if(a)for(l=o[o.length-1].ownerDocument,he.map(o,S),c=0;c<a;c++)r=o[c],qe.test(r.type||"")&&!he._data(r,"globalEval")&&he.contains(l,r)&&(r.src?he._evalUrl&&he._evalUrl(r.src):he.globalEval((r.text||r.textContent||r.innerHTML||"").replace(st,"")));d=s=null}return e}function A(e,t,i){for(var n,s=t?he.filter(t,e):e,r=0;null!=(n=s[r]);r++)i||1!==n.nodeType||he.cleanData(f(n)),n.parentNode&&(i&&he.contains(n.ownerDocument,n)&&m(f(n,"script")),n.parentNode.removeChild(n));return e}function _(e,t){var i=he(t.createElement(e)).appendTo(t.body),n=he.css(i[0],"display");return i.detach(),n}function P(e){var t=ne,i=lt[e];return i||(i=_(e,t),"none"!==i&&i||(ot=(ot||he("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(ot[0].contentWindow||ot[0].contentDocument).document,t.write(),t.close(),i=_(e,t),ot.detach()),lt[e]=i),i}function M(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function D(e){if(e in Ct)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),i=Tt.length;i--;)if((e=Tt[i]+t)in Ct)return e}function L(e,t){for(var i,n,s,r=[],a=0,o=e.length;a<o;a++)n=e[a],n.style&&(r[a]=he._data(n,"olddisplay"),i=n.style.display,t?(r[a]||"none"!==i||(n.style.display=""),""===n.style.display&&je(n)&&(r[a]=he._data(n,"olddisplay",P(n.nodeName)))):(s=je(n),(i&&"none"!==i||!s)&&he._data(n,"olddisplay",s?i:he.css(n,"display"))));for(a=0;a<o;a++)n=e[a],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?r[a]||"":"none"));return e}function z(e,t,i){var n=bt.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function O(e,t,i,n,s){for(var r=i===(n?"border":"content")?4:"width"===t?1:0,a=0;r<4;r+=2)"margin"===i&&(a+=he.css(e,i+Ie[r],!0,s)),n?("content"===i&&(a-=he.css(e,"padding"+Ie[r],!0,s)),"margin"!==i&&(a-=he.css(e,"border"+Ie[r]+"Width",!0,s))):(a+=he.css(e,"padding"+Ie[r],!0,s),"padding"!==i&&(a+=he.css(e,"border"+Ie[r]+"Width",!0,s)));return a}function I(e,t,i){var n=!0,s="width"===t?e.offsetWidth:e.offsetHeight,r=ht(e),a=ue.boxSizing&&"border-box"===he.css(e,"boxSizing",!1,r);if(s<=0||null==s){if(s=ft(e,t,r),(s<0||null==s)&&(s=e.style[t]),ct.test(s))return s;n=a&&(ue.boxSizingReliable()||s===e.style[t]),s=parseFloat(s)||0}return s+O(e,t,i||(a?"border":"content"),n,r)+"px"}function j(e,t,i,n,s){return new j.prototype.init(e,t,i,n,s)}function F(){return e.setTimeout(function(){St=void 0}),St=he.now()}function H(e,t){var i,n={height:e},s=0;for(t=t?1:0;s<4;s+=2-t)i=Ie[s],n["margin"+i]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function N(e,t,i){for(var n,s=(B.tweeners[t]||[]).concat(B.tweeners["*"]),r=0,a=s.length;r<a;r++)if(n=s[r].call(i,t,e))return n}function q(e,t,i){var n,s,r,a,o,l,d,c,u=this,p={},h=e.style,f=e.nodeType&&je(e),m=he._data(e,"fxshow");i.queue||(o=he._queueHooks(e,"fx"),null==o.unqueued&&(o.unqueued=0,l=o.empty.fire,o.empty.fire=function(){o.unqueued||l()}),o.unqueued++,u.always(function(){u.always(function(){o.unqueued--,he.queue(e,"fx").length||o.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[h.overflow,h.overflowX,h.overflowY],d=he.css(e,"display"),"inline"===(c="none"===d?he._data(e,"olddisplay")||P(e.nodeName):d)&&"none"===he.css(e,"float")&&(ue.inlineBlockNeedsLayout&&"inline"!==P(e.nodeName)?h.zoom=1:h.display="inline-block")),i.overflow&&(h.overflow="hidden",ue.shrinkWrapBlocks()||u.always(function(){h.overflow=i.overflow[0],h.overflowX=i.overflow[1],h.overflowY=i.overflow[2]}));for(n in t)if(s=t[n],kt.exec(s)){if(delete t[n],r=r||"toggle"===s,s===(f?"hide":"show")){if("show"!==s||!m||void 0===m[n])continue;f=!0}p[n]=m&&m[n]||he.style(e,n)}else d=void 0;if(he.isEmptyObject(p))"inline"===("none"===d?P(e.nodeName):d)&&(h.display=d);else{m?"hidden"in m&&(f=m.hidden):m=he._data(e,"fxshow",{}),r&&(m.hidden=!f),f?he(e).show():u.done(function(){he(e).hide()}),u.done(function(){var t;he._removeData(e,"fxshow");for(t in p)he.style(e,t,p[t])});for(n in p)a=N(f?m[n]:0,n,u),n in m||(m[n]=a.start,f&&(a.end=a.start,a.start="width"===n||"height"===n?1:0))}}function R(e,t){var i,n,s,r,a;for(i in e)if(n=he.camelCase(i),s=t[n],r=e[i],he.isArray(r)&&(s=r[1],r=e[i]=r[0]),i!==n&&(e[n]=r,delete e[i]),(a=he.cssHooks[n])&&"expand"in a){r=a.expand(r),delete e[n];for(i in r)i in e||(e[i]=r[i],t[i]=s)}else t[n]=s}function B(e,t,i){var n,s,r=0,a=B.prefilters.length,o=he.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var t=St||F(),i=Math.max(0,d.startTime+d.duration-t),n=i/d.duration||0,r=1-n,a=0,l=d.tweens.length;a<l;a++)d.tweens[a].run(r);return o.notifyWith(e,[d,r,i]),r<1&&l?i:(o.resolveWith(e,[d]),!1)},d=o.promise({elem:e,props:he.extend({},t),opts:he.extend(!0,{specialEasing:{},easing:he.easing._default},i),originalProperties:t,originalOptions:i,startTime:St||F(),duration:i.duration,tweens:[],createTween:function(t,i){var n=he.Tween(e,d.opts,t,i,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(n),n},stop:function(t){var i=0,n=t?d.tweens.length:0;if(s)return this;for(s=!0;i<n;i++)d.tweens[i].run(1);return t?(o.notifyWith(e,[d,1,0]),o.resolveWith(e,[d,t])):o.rejectWith(e,[d,t]),this}}),c=d.props;for(R(c,d.opts.specialEasing);r<a;r++)if(n=B.prefilters[r].call(d,e,c,d.opts))return he.isFunction(n.stop)&&(he._queueHooks(d.elem,d.opts.queue).stop=he.proxy(n.stop,n)),n;return he.map(c,N,d),he.isFunction(d.opts.start)&&d.opts.start.call(e,d),he.fx.timer(he.extend(l,{elem:e,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}function W(e){return he.attr(e,"class")||""}function V(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,s=0,r=t.toLowerCase().match(Ae)||[];if(he.isFunction(i))for(;n=r[s++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function X(e,t,i,n){function s(o){var l;return r[o]=!0,he.each(e[o]||[],function(e,o){var d=o(t,i,n);return"string"!=typeof d||a||r[d]?a?!(l=d):void 0:(t.dataTypes.unshift(d),s(d),!1)}),l}var r={},a=e===Kt;return s(t.dataTypes[0])||!r["*"]&&s("*")}function G(e,t){var i,n,s=he.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((s[n]?e:i||(i={}))[n]=t[n]);return i&&he.extend(!0,e,i),e}function Y(e,t,i){for(var n,s,r,a,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===s&&(s=e.mimeType||t.getResponseHeader("Content-Type"));if(s)for(a in o)if(o[a]&&o[a].test(s)){l.unshift(a);break}if(l[0]in i)r=l[0];else{for(a in i){if(!l[0]||e.converters[a+" "+l[0]]){r=a;break}n||(n=a)}r=r||n}if(r)return r!==l[0]&&l.unshift(r),i[r]}function U(e,t,i,n){var s,r,a,o,l,d={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)d[a.toLowerCase()]=e.converters[a];for(r=c.shift();r;)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=d[l+" "+r]||d["* "+r]))for(s in d)if(o=s.split(" "),o[1]===r&&(a=d[l+" "+o[0]]||d["* "+o[0]])){!0===a?a=d[s]:!0!==d[s]&&(r=o[0],c.unshift(o[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(u){return{state:"parsererror",error:a?u:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}function Q(e){return e.style&&e.style.display||he.css(e,"display")}function K(e){if(!he.contains(e.ownerDocument||ne,e))return!0;for(;e&&1===e.nodeType;){if("none"===Q(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function Z(e,t,i,n){var s;if(he.isArray(t))he.each(t,function(t,s){i||ii.test(e)?n(e,s):Z(e+"["+("object"==typeof s&&null!=s?t:"")+"]",s,i,n)});else if(i||"object"!==he.type(t))n(e,t);else for(s in t)Z(e+"["+s+"]",t[s],i,n)}function J(){try{return new e.XMLHttpRequest}catch(t){}}function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function te(e){return he.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ie=[],ne=e.document,se=ie.slice,re=ie.concat,ae=ie.push,oe=ie.indexOf,le={},de=le.toString,ce=le.hasOwnProperty,ue={},pe="1.12.4",he=function(e,t){return new he.fn.init(e,t)},fe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,me=/^-ms-/,ve=/-([\da-z])/gi,ge=function(e,t){return t.toUpperCase()};he.fn=he.prototype={jquery:pe,constructor:he,selector:"",length:0,toArray:function(){return se.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:se.call(this)},pushStack:function(e){var t=he.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return he.each(this,e)},map:function(e){return this.pushStack(he.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(se.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:ae,sort:ie.sort,splice:ie.splice},he.extend=he.fn.extend=function(){var e,t,i,n,s,r,a=arguments[0]||{},o=1,l=arguments.length,d=!1;for("boolean"==typeof a&&(d=a,a=arguments[o]||{},o++),"object"==typeof a||he.isFunction(a)||(a={}),o===l&&(a=this,o--);o<l;o++)if(null!=(s=arguments[o]))for(n in s)e=a[n],i=s[n],"__proto__"!==n&&a!==i&&(d&&i&&(he.isPlainObject(i)||(t=he.isArray(i)))?(t?(t=!1,r=e&&he.isArray(e)?e:[]):r=e&&he.isPlainObject(e)?e:{},a[n]=he.extend(d,r,i)):void 0!==i&&(a[n]=i));return a},he.extend({expando:"jQuery"+(pe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===he.type(e)},isArray:Array.isArray||function(e){return"array"===he.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!he.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==he.type(e)||e.nodeType||he.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(!ue.ownFirst)for(t in e)return ce.call(e,t);for(t in e);return void 0===t||ce.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?le[de.call(e)]||"object":typeof e},globalEval:function(t){t&&he.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(me,"ms-").replace(ve,ge)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,s=0;if(i(e))for(n=e.length;s<n&&!1!==t.call(e[s],s,e[s]);s++);else for(s in e)if(!1===t.call(e[s],s,e[s]))break;return e},trim:function(e){return null==e?"":(e+"").replace(fe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?he.merge(n,"string"==typeof e?[e]:e):ae.call(n,e)),n},inArray:function(e,t,i){var n;if(t){if(oe)return oe.call(t,e,i);for(n=t.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in t&&t[i]===e)return i}return-1},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;)e[s++]=t[n++];if(i!==i)for(;void 0!==t[n];)e[s++]=t[n++];return e.length=s,e},grep:function(e,t,i){for(var n,s=[],r=0,a=e.length,o=!i;r<a;r++)(n=!t(e[r],r))!==o&&s.push(e[r]);return s},map:function(e,t,n){var s,r,a=0,o=[];if(i(e))for(s=e.length;a<s;a++)null!=(r=t(e[a],a,n))&&o.push(r);else for(a in e)null!=(r=t(e[a],a,n))&&o.push(r);return re.apply([],o)},guid:1,proxy:function(e,t){var i,n,s;if("string"==typeof t&&(s=e[t],t=e,e=s),he.isFunction(e))return i=se.call(arguments,2),n=function(){return e.apply(t||this,i.concat(se.call(arguments)))},n.guid=e.guid=e.guid||he.guid++,n},now:function(){return+new Date},support:ue}),"function"==typeof Symbol&&(he.fn[Symbol.iterator]=ie[Symbol.iterator]),he.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){le["[object "+t+"]"]=t.toLowerCase()});var ye=function(e){function t(e,t,i,n){var s,r,a,o,l,d,u,h,f=t&&t.ownerDocument,m=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return i;if(!n&&((t?t.ownerDocument||t:N)!==D&&M(t),t=t||D,z)){if(11!==m&&(d=ge.exec(e)))if(s=d[1]){if(9===m){if(!(a=t.getElementById(s)))return i;if(a.id===s)return i.push(a),i}else if(f&&(a=f.getElementById(s))&&F(t,a)&&a.id===s)return i.push(a),i}else{if(d[2])return Z.apply(i,t.getElementsByTagName(e)),i;if((s=d[3])&&x.getElementsByClassName&&t.getElementsByClassName)return Z.apply(i,t.getElementsByClassName(s)),i}if(x.qsa&&!V[e+" "]&&(!O||!O.test(e))){if(1!==m)f=t,h=e;else if("object"!==t.nodeName.toLowerCase()){for((o=t.getAttribute("id"))?o=o.replace(be,"\\$&"):t.setAttribute("id",o=H),u=E(e),r=u.length,l=pe.test(o)?"#"+o:"[id='"+o+"']";r--;)u[r]=l+" "+p(u[r]);h=u.join(","),f=ye.test(e)&&c(t.parentNode)||t}if(h)try{return Z.apply(i,f.querySelectorAll(h)),i}catch(v){}finally{o===H&&t.removeAttribute("id")}}}return $(e.replace(oe,"$1"),t,i,n)}function i(){function e(i,n){return t.push(i+" ")>T.cacheLength&&delete e[t.shift()],e[i+" "]=n}var t=[];return e}function n(e){return e[H]=!0,e}function s(e){var t=D.createElement("div");try{return!!e(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function r(e,t){for(var i=e.split("|"),n=i.length;n--;)T.attrHandle[i[n]]=t}function a(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||G)-(~e.sourceIndex||G);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function o(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function d(e){return n(function(t){return t=+t,n(function(i,n){for(var s,r=e([],i.length,t),a=r.length;a--;)i[s=r[a]]&&(i[s]=!(n[s]=i[s]))})})}function c(e){return e&&void 0!==e.getElementsByTagName&&e}function u(){}function p(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function h(e,t,i){var n=t.dir,s=i&&"parentNode"===n,r=R++;return t.first?function(t,i,r){for(;t=t[n];)if(1===t.nodeType||s)return e(t,i,r)}:function(t,i,a){var o,l,d,c=[q,r];if(a){for(;t=t[n];)if((1===t.nodeType||s)&&e(t,i,a))return!0}else for(;t=t[n];)if(1===t.nodeType||s){if(d=t[H]||(t[H]={}),l=d[t.uniqueID]||(d[t.uniqueID]={}),(o=l[n])&&o[0]===q&&o[1]===r)return c[2]=o[2];if(l[n]=c,c[2]=e(t,i,a))return!0}}}function f(e){return e.length>1?function(t,i,n){for(var s=e.length;s--;)if(!e[s](t,i,n))return!1;return!0}:e[0]}function m(e,i,n){for(var s=0,r=i.length;s<r;s++)t(e,i[s],n);return n}function v(e,t,i,n,s){for(var r,a=[],o=0,l=e.length,d=null!=t;o<l;o++)(r=e[o])&&(i&&!i(r,n,s)||(a.push(r),d&&t.push(o)));return a}function g(e,t,i,s,r,a){return s&&!s[H]&&(s=g(s)),r&&!r[H]&&(r=g(r,a)),n(function(n,a,o,l){var d,c,u,p=[],h=[],f=a.length,g=n||m(t||"*",o.nodeType?[o]:o,[]),y=!e||!n&&t?g:v(g,p,e,o,l),b=i?r||(n?e:f||s)?[]:a:y;if(i&&i(y,b,o,l),s)for(d=v(b,h),s(d,[],o,l),c=d.length;c--;)(u=d[c])&&(b[h[c]]=!(y[h[c]]=u));if(n){if(r||e){if(r){for(d=[],c=b.length;c--;)(u=b[c])&&d.push(y[c]=u);r(null,b=[],d,l)}for(c=b.length;c--;)(u=b[c])&&(d=r?ee(n,u):p[c])>-1&&(n[d]=!(a[d]=u))}}else b=v(b===a?b.splice(f,b.length):b),r?r(null,a,b,l):Z.apply(a,b)})}function y(e){for(var t,i,n,s=e.length,r=T.relative[e[0].type],a=r||T.relative[" "],o=r?1:0,l=h(function(e){return e===t},a,!0),d=h(function(e){return ee(t,e)>-1},a,!0),c=[function(e,i,n){var s=!r&&(n||i!==A)||((t=i).nodeType?l(e,i,n):d(e,i,n));return t=null,s}];o<s;o++)if(i=T.relative[e[o].type])c=[h(f(c),i)];else{if(i=T.filter[e[o].type].apply(null,e[o].matches),i[H]){for(n=++o;n<s&&!T.relative[e[n].type];n++);return g(o>1&&f(c),o>1&&p(e.slice(0,o-1).concat({value:" "===e[o-2].type?"*":""})).replace(oe,"$1"),i,o<n&&y(e.slice(o,n)),n<s&&y(e=e.slice(n)),n<s&&p(e))}c.push(i)}return f(c)}function b(e,i){var s=i.length>0,r=e.length>0,a=function(n,a,o,l,d){var c,u,p,h=0,f="0",m=n&&[],g=[],y=A,b=n||r&&T.find.TAG("*",d),w=q+=null==y?1:Math.random()||.1,x=b.length;for(d&&(A=a===D||a||d);f!==x&&null!=(c=b[f]);f++){if(r&&c){for(u=0,a||c.ownerDocument===D||(M(c),o=!z);p=e[u++];)if(p(c,a||D,o)){l.push(c);break}
vendor: 5,381 bytes, line 1
1d&&(q=w)}s&&((c=!p&&c)&&h--,n&&m.push(c))}if(h+=f,s&&f!==h){for(u=0;p=i[u++];)p(m,g,a,o);if(n){if(h>0)for(;f--;)m[f]||g[f]||(g[f]=Q.call(l));g=v(g)}Z.apply(l,g),d&&!n&&g.length>0&&h+i.length>1&&t.uniqueSort(l)}return d&&(q=w,A=y),m};return s?n(a):a}var w,x,T,C,S,E,k,$,A,_,P,M,D,L,z,O,I,j,F,H="sizzle"+1*new Date,N=e.document,q=0,R=0,B=i(),W=i(),V=i(),X=function(e,t){return e===t&&(P=!0),0},G=1<<31,Y={}.hasOwnProperty,U=[],Q=U.pop,K=U.push,Z=U.push,J=U.slice,ee=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",se="\\["+ie+"*("+ne+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ne+"))|)"+ie+"*\\]",re=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+se+")*)|.*)\\)|)",ae=new RegExp(ie+"+","g"),oe=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),le=new RegExp("^"+ie+"*,"+ie+"*"),de=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),ce=new RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),ue=new RegExp(re),pe=new RegExp("^"+ne+"$"),he={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),xe=function(e,t,i){var n="0x"+t-65536;return n!==n||i?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},Te=function(){M()};try{Z.apply(U=J.call(N.childNodes),N.childNodes),U[N.childNodes.length].nodeType}catch(Ce){Z={apply:U.length?function(e,t){K.apply(e,J.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}x=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},M=t.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:N;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,L=D.documentElement,z=!S(D),(i=D.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Te,!1):i.attachEvent&&i.attachEvent("onunload",Te)),x.attributes=s(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=s(function(e){return e.appendChild(D.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ve.test(D.getElementsByClassName),x.getById=s(function(e){return L.appendChild(e).id=H,!D.getElementsByName||!D.getElementsByName(H).length}),x.getById?(T.find.ID=function(e,t){if(void 0!==t.getElementById&&z){var i=t.getElementById(e);return i?[i]:[]}},T.filter.ID=function(e){var t=e.replace(we,xe);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(we,xe);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}}),T.find.TAG=x.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,r=t.getElementsByTagName(e);if("*"===e){for(;i=r[s++];)1===i.nodeType&&n.push(i);return n}return r},T.find.CLASS=x.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&z)return t.getElementsByClassName(e)},I=[],O=[],(x.qsa=ve.test(D.querySelectorAll))&&(s(function(e){L.appendChild(e).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+ie+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+H+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+H+"+*").length||O.push(".#.+[+~]")}),s(function(e){var t=D.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+ie+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(x.matchesSelector=ve.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&s(function(e){x.disconnectedMatch=j.call(e,"div"),j.call(e,"[s!='']:x"),I.push("!=",re)}),O=O.length&&new RegExp(O.join("|")),I=I.length&&new RegExp(I.join("|")),t=ve.test(L.compareDocumentPosition),F=t||ve.test(L.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return P=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;
vendor: 67,250 bytes, lines 1-3
1return i||(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&i||!x.sortDetached&&t.compareDocumentPosition(e)===i?e===D||e.ownerDocument===N&&F(N,e)?-1:t===D||t.ownerDocument===N&&F(N,t)?1:_?ee(_,e)-ee(_,t):0:4&i?-1:1)}:function(e,t){if(e===t)return P=!0,0;var i,n=0,s=e.parentNode,r=t.parentNode,o=[e],l=[t];if(!s||!r)return e===D?-1:t===D?1:s?-1:r?1:_?ee(_,e)-ee(_,t):0;if(s===r)return a(e,t);for(i=e;i=i.parentNode;)o.unshift(i);for(i=t;i=i.parentNode;)l.unshift(i);for(;o[n]===l[n];)n++;return n?a(o[n],l[n]):o[n]===N?-1:l[n]===N?1:0},D):D},t.matches=function(e,i){return t(e,null,null,i)},t.matchesSelector=function(e,i){if((e.ownerDocument||e)!==D&&M(e),i=i.replace(ce,"='$1']"),x.matchesSelector&&z&&!V[i+" "]&&(!I||!I.test(i))&&(!O||!O.test(i)))try{var n=j.call(e,i);if(n||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(s){}return t(i,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==D&&M(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==D&&M(e);var i=T.attrHandle[t.toLowerCase()],n=i&&Y.call(T.attrHandle,t.toLowerCase())?i(e,t,!z):void 0;return void 0!==n?n:x.attributes||!z?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,i=[],n=0,s=0;if(P=!x.detectDuplicates,_=!x.sortStable&&e.slice(0),e.sort(X),P){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)e.splice(i[n],1)}return _=null,e},C=t.getText=function(e){var t,i="",n=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=C(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[n++];)i+=C(t);return i},T=t.selectors={cacheLength:50,createPseudo:n,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(we,xe),e[3]=(e[3]||e[4]||e[5]||"").replace(we,xe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&ue.test(i)&&(t=E(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(we,xe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(s){var r=t.attr(s,e);return null==r?"!="===i:!i||(r+="","="===i?r===n:"!="===i?r!==n:"^="===i?n&&0===r.indexOf(n):"*="===i?n&&r.indexOf(n)>-1:"$="===i?n&&r.slice(-n.length)===n:"~="===i?(" "+r.replace(ae," ")+" ").indexOf(n)>-1:"|="===i&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,i,n,s){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),o="of-type"===t;return 1===n&&0===s?function(e){return!!e.parentNode}:function(t,i,l){var d,c,u,p,h,f,m=r!==a?"nextSibling":"previousSibling",v=t.parentNode,g=o&&t.nodeName.toLowerCase(),y=!l&&!o,b=!1;if(v){if(r){for(;m;){for(p=t;p=p[m];)if(o?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?v.firstChild:v.lastChild],a&&y){for(p=v,u=p[H]||(p[H]={}),c=u[p.uniqueID]||(u[p.uniqueID]={}),d=c[e]||[],h=d[0]===q&&d[1],b=h&&d[2],p=h&&v.childNodes[h];p=++h&&p&&p[m]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){ 2c[e]=[q,h,b];break}}else if(y&&(p=t,u=p[H]||(p[H]={}),c=u[p.uniqueID]||(u[p.uniqueID]={}),d=c[e]||[],h=d[0]===q&&d[1],b=h),!1===b)for(;(p=++h&&p&&p[m]||(b=h=0)||f.pop())&&((o?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++b||(y&&(u=p[H]||(p[H]={}),c=u[p.uniqueID]||(u[p.uniqueID]={}),c[e]=[q,b]),p!==t)););return(b-=s)===n||b%n==0&&b/n>=0}}},PSEUDO:function(e,i){var s,r=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return r[H]?r(i):r.length>1?(s=[e,e,"",i],T.setFilters.hasOwnProperty(e.toLowerCase())?n(function(e,t){for(var n,s=r(e,i),a=s.length;a--;)n=ee(e,s[a]),e[n]=!(t[n]=s[a])}):function(e){return r(e,0,s)}):r}},pseudos:{not:n(function(e){var t=[],i=[],s=k(e.replace(oe,"$1"));return s[H]?n(function(e,t,i,n){for(var r,a=s(e,null,n,[]),o=e.length;o--;)(r=a[o])&&(e[o]=!(t[o]=r))}):function(e,n,r){return t[0]=e,s(t,null,r,i),t[0]=null,!i.pop()}}),has:n(function(e){return function(i){return t(e,i).length>0}}),contains:n(function(e){return e=e.replace(we,xe),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:n(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(we,xe).toLowerCase(),function(t){var i;do if(i=z?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===L},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:d(function(){return[0]}),last:d(function(e,t){return[t-1]}),eq:d(function(e,t,i){return[i<0?i+t:i]}),even:d(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:d(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:d(function(e,t,i){for(var n=i<0?i+t:i;--n>=0;)e.push(n);return e}),gt:d(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}},T.pseudos.nth=T.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[w]=o(w);for(w in{submit:!0,reset:!0})T.pseudos[w]=l(w);return u.prototype=T.filters=T.pseudos,T.setFilters=new u,E=t.tokenize=function(e,i){var n,s,r,a,o,l,d,c=W[e+" "];if(c)return i?0:c.slice(0);for(o=e,l=[],d=T.preFilter;o;){n&&!(s=le.exec(o))||(s&&(o=o.slice(s[0].length)||o),l.push(r=[])),n=!1,(s=de.exec(o))&&(n=s.shift(),r.push({value:n,type:s[0].replace(oe," ")}),o=o.slice(n.length));for(a in T.filter)!(s=he[a].exec(o))||d[a]&&!(s=d[a](s))||(n=s.shift(),r.push({value:n,type:a,matches:s}),o=o.slice(n.length));if(!n)break}return i?o.length:o?t.error(e):W(e,l).slice(0)},k=t.compile=function(e,t){var i,n=[],s=[],r=V[e+" "];if(!r){for(t||(t=E(e)),i=t.length;i--;)r=y(t[i]),r[H]?n.push(r):s.push(r);r=V(e,b(s,n)),r.selector=e}return r},$=t.select=function(e,t,i,n){var s,r,a,o,l,d="function"==typeof e&&e,u=!n&&E(e=d.selector||e);if(i=i||[],1===u.length){if(r=u[0]=u[0].slice(0),r.length>2&&"ID"===(a=r[0]).type&&x.getById&&9===t.nodeType&&z&&T.relative[r[1].type]){if(!(t=(T.find.ID(a.matches[0].replace(we,xe),t)||[])[0]))return i;d&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(s=he.needsContext.test(e)?0:r.length;s--&&(a=r[s],!T.relative[o=a.type]);)if((l=T.find[o])&&(n=l(a.matches[0].replace(we,xe),ye.test(r[0].type)&&c(t.parentNode)||t))){if(r.splice(s,1),!(e=n.length&&p(r)))return Z.apply(i,n),i;break}}return(d||k(e,u))(n,t,!z,i,!t||ye.test(e)&&c(t.parentNode)||t),i},x.sortStable=H.split("").sort(X).join("")===H,x.detectDuplicates=!!P,M(),x.sortDetached=s(function(e){return 1&e.compareDocumentPosition(D.createElement("div"))}),s(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||r("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&s(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||r("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),s(function(e){return null==e.getAttribute("disabled")})||r(te,function(e,t,i){var n;if(!i)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),t}(e);he.find=ye,he.expr=ye.selectors,he.expr[":"]=he.expr.pseudos,he.uniqueSort=he.unique=ye.uniqueSort,he.text=ye.getText,he.isXMLDoc=ye.isXML,he.contains=ye.contains;var be=function(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&he(e).is(i))break;n.push(e)}return n},we=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},xe=he.expr.match.needsContext,Te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ce=/^.[^:#\[\.,]*$/;he.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?he.find.matchesSelector(n,e)?[n]:[]:he.find.matches(e,he.grep(t,function(e){return 1===e.nodeType}))},he.fn.extend({find:function(e){var t,i=[],n=this,s=n.length;if("string"!=typeof e)return this.pushStack(he(e).filter(function(){for(t=0;t<s;t++)if(he.contains(n[t],this))return!0}));for(t=0;t<s;t++)he.find(e,n[t],i);return i=this.pushStack(s>1?he.unique(i):i),i.selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(n(this,e||[],!1))},not:function(e){return this.pushStack(n(this,e||[],!0))},is:function(e){return!!n(this,"string"==typeof e&&xe.test(e)?he(e):e||[],!1).length}});var Se,Ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(he.fn.init=function(e,t,i){var n,s;if(!e)return this;if(i=i||Se,"string"==typeof e){if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ee.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof he?t[0]:t,he.merge(this,he.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:ne,!0)),Te.test(n[1])&&he.isPlainObject(t))for(n in t)he.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((s=ne.getElementById(n[2]))&&s.parentNode){if(s.id!==n[2])return Se.find(e);this.length=1,this[0]=s}return this.context=ne,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):he.isFunction(e)?void 0!==i.ready?i.ready(e):e(he):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),he.makeArray(e,this))}).prototype=he.fn,Se=he(ne);var ke=/^(?:parents|prev(?:Until|All))/,$e={children:!0,contents:!0,next:!0,prev:!0};he.fn.extend({has:function(e){var t,i=he(e,this),n=i.length;return this.filter(function(){for(t=0;t<n;t++)if(he.contains(this,i[t]))return!0})},closest:function(e,t){for(var i,n=0,s=this.length,r=[],a=xe.test(e)||"string"!=typeof e?he(e,t||this.context):0;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(a?a.index(i)>-1:1===i.nodeType&&he.find.matchesSelector(i,e))){r.push(i);break}return this.pushStack(r.length>1?he.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?he.inArray(this[0],he(e)):he.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(he.uniqueSort(he.merge(this.get(),he(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),he.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return be(e,"parentNode")},parentsUntil:function(e,t,i){return be(e,"parentNode",i)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return be(e,"nextSibling")},prevAll:function(e){return be(e,"previousSibling")},nextUntil:function(e,t,i){return be(e,"nextSibling",i)},prevUntil:function(e,t,i){return be(e,"previousSibling",i)},siblings:function(e){return we((e.parentNode||{}).firstChild,e)},children:function(e){return we(e.firstChild)},contents:function(e){return he.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:he.merge([],e.childNodes)}},function(e,t){he.fn[e]=function(i,n){var s=he.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(s=he.filter(n,s)),this.length>1&&($e[e]||(s=he.uniqueSort(s)),ke.test(e)&&(s=s.reverse())),this.pushStack(s)}});var Ae=/\S+/g;he.Callbacks=function(e){e="string"==typeof e?r(e):he.extend({},e);var t,i,n,s,a=[],o=[],l=-1,d=function(){for(s=e.once,n=t=!0;o.length;l=-1)for(i=o.shift();++l<a.length;)!1===a[l].apply(i[0],i[1])&&e.stopOnFalse&&(l=a.length,i=!1);e.memory||(i=!1),t=!1,s&&(a=i?[]:"")},c={add:function(){return a&&(i&&!t&&(l=a.length-1,o.push(i)),function n(t){he.each(t,function(t,i){he.isFunction(i)?e.unique&&c.has(i)||a.push(i):i&&i.length&&"string"!==he.type(i)&&n(i)})}(arguments),i&&!t&&d()),this},remove:function(){return he.each(arguments,function(e,t){for(var i;(i=he.inArray(t,a,i))>-1;)a.splice(i,1),i<=l&&l--}),this},has:function(e){return e?he.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return s=o=[],a=i="",this},disabled:function(){return!a},lock:function(){return s=!0,i||c.disable(),this},locked:function(){return!!s},fireWith:function(e,i){return s||(i=i||[],i=[e,i.slice?i.slice():i],o.push(i),t||d()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},he.extend({Deferred:function(e){var t=[["resolve","done",he.Callbacks("once memory"),"resolved"],["reject","fail",he.Callbacks("once memory"),"rejected"],["notify","progress",he.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var e=arguments;return he.Deferred(function(i){he.each(t,function(t,r){var a=he.isFunction(e[t])&&e[t];s[r[1]](function(){var e=a&&a.apply(this,arguments);e&&he.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[r[0]+"With"](this===n?i.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?he.extend(e,n):n}},s={};return n.pipe=n.then,he.each(t,function(e,r){var a=r[2],o=r[3];n[r[1]]=a.add,o&&a.add(function(){i=o},t[1^e][2].disable,t[2][2].lock),s[r[0]]=function(){return s[r[0]+"With"](this===s?n:this,arguments),this},s[r[0]+"With"]=a.fireWith}),n.promise(s),e&&e.call(s,s),s},when:function(e){var t,i,n,s=0,r=se.call(arguments),a=r.length,o=1!==a||e&&he.isFunction(e.promise)?a:0,l=1===o?e:he.Deferred(),d=function(e,i,n){return function(s){i[e]=this,n[e]=arguments.length>1?se.call(arguments):s,n===t?l.notifyWith(i,n):--o||l.resolveWith(i,n)}};if(a>1)for(t=new Array(a),i=new Array(a),n=new Array(a);s<a;s++)r[s]&&he.isFunction(r[s].promise)?r[s].promise().progress(d(s,i,t)).done(d(s,n,r)).fail(l.reject):--o;return o||l.resolveWith(n,r),l.promise()}});var _e;he.fn.ready=function(e){return he.ready.promise().done(e),this},he.extend({isReady:!1,readyWait:1,holdReady:function(e){e?he.readyWait++:he.ready(!0)},ready:function(e){(!0===e?--he.readyWait:he.isReady)||(he.isReady=!0,!0!==e&&--he.readyWait>0||(_e.resolveWith(ne,[he]),he.fn.triggerHandler&&(he(ne).triggerHandler("ready"),he(ne).off("ready"))))}}),he.ready.promise=function(t){if(!_e)if(_e=he.Deferred(),"complete"===ne.readyState||"loading"!==ne.readyState&&!ne.documentElement.doScroll)e.setTimeout(he.ready);else if(ne.addEventListener)ne.addEventListener("DOMContentLoaded",o),e.addEventListener("load",o);else{ne.attachEvent("onreadystatechange",o),e.attachEvent("onload",o);var i=!1;try{i=null==e.frameElement&&ne.documentElement}catch(n){}i&&i.doScroll&&function s(){if(!he.isReady){try{i.doScroll("left")}catch(t){return e.setTimeout(s,50)}a(),he.ready()}}()}return _e.promise(t)},he.ready.promise();var Pe;for(Pe in he(ue))break;ue.ownFirst="0"===Pe,ue.inlineBlockNeedsLayout=!1,he(function(){var e,t,i,n;(i=ne.getElementsByTagName("body")[0])&&i.style&&(t=ne.createElement("div"),n=ne.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ue.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(i.style.zoom=1)),i.removeChild(n))}),function(){var e=ne.createElement("div");ue.deleteExpando=!0;try{delete e.test}catch(t){ue.deleteExpando=!1}e=null}();var Me=function(e){var t=he.noData[(e.nodeName+" ").toLowerCase()],i=+e.nodeType||1;return(1===i||9===i)&&(!t||!0!==t&&e.getAttribute("classid")===t)},De=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Le=/([A-Z])/g;he.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?he.cache[e[he.expando]]:e[he.expando])&&!d(e)},data:function(e,t,i){return c(e,t,i)},removeData:function(e,t){return u(e,t)},_data:function(e,t,i){return c(e,t,i,!0)},_removeData:function(e,t){return u(e,t,!0)}}),he.fn.extend({data:function(e,t){var i,n,s,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(s=he.data(r),1===r.nodeType&&!he._data(r,"parsedAttrs"))){for(i=a.length;i--;)a[i]&&(n=a[i].name,0===n.indexOf("data-")&&(n=he.camelCase(n.slice(5)),l(r,n,s[n])));he._data(r,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){he.data(this,e)}):arguments.length>1?this.each(function(){he.data(this,e,t)}):r?l(r,e,he.data(r,e)):void 0},removeData:function(e){return this.each(function(){he.removeData(this,e)})}}),he.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=he._data(e,t),i&&(!n||he.isArray(i)?n=he._data(e,t,he.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=he.queue(e,t),n=i.length,s=i.shift(),r=he._queueHooks(e,t),a=function(){he.dequeue(e,t)};"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete r.stop,s.call(e,a,r)),!n&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return he._data(e,i)||he._data(e,i,{empty:he.Callbacks("once memory").add(function(){he._removeData(e,t+"queue"),he._removeData(e,i)})})}}),he.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?he.queue(this[0],e):void 0===t?this:this.each(function(){var i=he.queue(this,e,t);he._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&he.dequeue(this,e)})},dequeue:function(e){return this.each(function(){he.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,s=he.Deferred(),r=this,a=this.length,o=function(){--n||s.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=he._data(r[a],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(o));return o(),s.promise(t)}}),function(){var e;ue.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,i,n;return(i=ne.getElementsByTagName("body")[0])&&i.style?(t=ne.createElement("div"),n=ne.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(ne.createElement("div")).style.width="5px",e=3!==t.offsetWidth),i.removeChild(n),e):void 0}}();var ze=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Oe=new RegExp("^(?:([+-])=|)("+ze+")([a-z%]*)$","i"),Ie=["Top","Right","Bottom","Left"],je=function(e,t){return e=t||e,"none"===he.css(e,"display")||!he.contains(e.ownerDocument,e)},Fe=function(e,t,i,n,s,r,a){var o=0,l=e.length,d=null==i;if("object"===he.type(i)){s=!0;for(o in i)Fe(e,t,o,i[o],!0,r,a)}else if(void 0!==n&&(s=!0,he.isFunction(n)||(a=!0),d&&(a?(t.call(e,n),t=null):(d=t,t=function(e,t,i){return d.call(he(e),i)})),t))for(;o<l;o++)t(e[o],i,a?n:n.call(e[o],o,t(e[o],i)));return s?e:d?t.call(e):l?t(e[0],i):r},He=/^(?:checkbox|radio)$/i,Ne=/<([\w:-]+)/,qe=/^$|\/(?:java|ecma)script/i,Re=/^\s+/,Be="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(){var e=ne.createElement("div"),t=ne.createDocumentFragment(),i=ne.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ue.leadingWhitespace=3===e.firstChild.nodeType,ue.tbody=!e.getElementsByTagName("tbody").length,ue.htmlSerialize=!!e.getElementsByTagName("link").length,ue.html5Clone="<:nav></:nav>"!==ne.createElement("nav").cloneNode(!0).outerHTML,i.type="checkbox",i.checked=!0,t.appendChild(i),ue.appendChecked=i.checked,e.innerHTML="<textarea>x</textarea>",ue.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),i=ne.createElement("input"),i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),ue.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.noCloneEvent=!!e.addEventListener,e[he.expando]=1,ue.attributes=!e.getAttribute(he.expando)}();var We={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ue.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};We.optgroup=We.option,We.tbody=We.tfoot=We.colgroup=We.caption=We.thead,We.th=We.td;var Ve=/<|&#?\w+;/,Xe=/<tbody/i;!function(){var t,i,n=ne.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})i="on"+t,(ue[t]=i in e)||(n.setAttribute(i,"t"),ue[t]=!1===n.attributes[i].expando);n=null}();var Ge=/^(?:input|select|textarea)$/i,Ye=/^key/,Ue=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Qe=/^(?:focusinfocus|focusoutblur)$/,Ke=/^([^.]*)(?:\.(.+)|)/;he.event={global:{},add:function(e,t,i,n,s){var r,a,o,l,d,c,u,p,h,f,m,v=he._data(e);if(v){for(i.handler&&(l=i,i=l.handler,s=l.selector),i.guid||(i.guid=he.guid++),(a=v.events)||(a=v.events={}),(c=v.handle)||(c=v.handle=function(e){return void 0===he||e&&he.event.triggered===e.type?void 0:he.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(Ae)||[""],o=t.length;o--;)r=Ke.exec(t[o])||[],h=m=r[1],f=(r[2]||"").split(".").sort(),h&&(d=he.event.special[h]||{},h=(s?d.delegateType:d.bindType)||h,d=he.event.special[h]||{},u=he.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&he.expr.match.needsContext.test(s),namespace:f.join(".")},l),(p=a[h])||(p=a[h]=[],p.delegateCount=0,d.setup&&!1!==d.setup.call(e,n,f,c)||(e.addEventListener?e.addEventListener(h,c,!1):e.attachEvent&&e.attachEvent("on"+h,c))),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=i.guid)),s?p.splice(p.delegateCount++,0,u):p.push(u),he.event.global[h]=!0);e=null}},remove:function(e,t,i,n,s){var r,a,o,l,d,c,u,p,h,f,m,v=he.hasData(e)&&he._data(e);if(v&&(c=v.events)){for(t=(t||"").match(Ae)||[""],d=t.length;d--;)if(o=Ke.exec(t[d])||[],h=m=o[1],f=(o[2]||"").split(".").sort(),h){for(u=he.event.special[h]||{},h=(n?u.delegateType:u.bindType)||h,p=c[h]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=p.length;r--;)a=p[r],!s&&m!==a.origType||i&&i.guid!==a.guid||o&&!o.test(a.namespace)||n&&n!==a.selector&&("**"!==n||!a.selector)||(p.splice(r,1),a.selector&&p.delegateCount--,u.remove&&u.remove.call(e,a));l&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,f,v.handle)||he.removeEvent(e,h,v.handle),delete c[h])}else for(h in c)he.event.remove(e,h+t[d],i,n,!0);he.isEmptyObject(c)&&(delete v.handle,he._removeData(e,"events"))}},trigger:function(t,i,n,s){var r,a,o,l,d,c,u,p=[n||ne],h=ce.call(t,"type")?t.type:t,f=ce.call(t,"namespace")?t.namespace.split("."):[];if(o=c=n=n||ne,3!==n.nodeType&&8!==n.nodeType&&!Qe.test(h+he.event.triggered)&&(h.indexOf(".")>-1&&(f=h.split("."),h=f.shift(),f.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[he.expando]?t:new he.Event(h,"object"==typeof t&&t),t.isTrigger=s?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),i=null==i?[t]:he.makeArray(i,[t]),d=he.event.special[h]||{},s||!d.trigger||!1!==d.trigger.apply(n,i))){if(!s&&!d.noBubble&&!he.isWindow(n)){for(l=d.delegateType||h,Qe.test(l+h)||(o=o.parentNode);o;o=o.parentNode)p.push(o),c=o;c===(n.ownerDocument||ne)&&p.push(c.defaultView||c.parentWindow||e)}for(u=0;(o=p[u++])&&!t.isPropagationStopped();)t.type=u>1?l:d.bindType||h,r=(he._data(o,"events")||{})[t.type]&&he._data(o,"handle"),r&&r.apply(o,i),(r=a&&o[a])&&r.apply&&Me(o)&&(t.result=r.apply(o,i),!1===t.result&&t.preventDefault());if(t.type=h,!s&&!t.isDefaultPrevented()&&(!d._default||!1===d._default.apply(p.pop(),i))&&Me(n)&&a&&n[h]&&!he.isWindow(n)){c=n[a],c&&(n[a]=null),he.event.triggered=h;try{n[h]()}catch(m){}he.event.triggered=void 0,c&&(n[a]=c)}return t.result}},dispatch:function(e){e=he.event.fix(e);var t,i,n,s,r,a=[],o=se.call(arguments),l=(he._data(this,"events")||{})[e.type]||[],d=he.event.special[e.type]||{};if(o[0]=e,e.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,e)){for(a=he.event.handlers.call(this,e,l),t=0;(s=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=s.elem,i=0;(r=s.handlers[i++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(r.namespace)||(e.handleObj=r,e.data=r.data,void 0!==(n=((he.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,o))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,s,r,a=[],o=t.delegateCount,l=e.target;if(o&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(n=[],i=0;i<o;i++)r=t[i],s=r.selector+" ",void 0===n[s]&&(n[s]=r.needsContext?he(s,this).index(l)>-1:he.find(s,this,null,[l]).length),n[s]&&n.push(r);n.length&&a.push({elem:l,handlers:n})}return o<t.length&&a.push({elem:this,handlers:t.slice(o)}),a},fix:function(e){if(e[he.expando])return e;var t,i,n,s=e.type,r=e,a=this.fixHooks[s];for(a||(this.fixHooks[s]=a=Ue.test(s)?this.mouseHooks:Ye.test(s)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,e=new he.Event(r),t=n.length;t--;)i=n[t],e[i]=r[i];return e.target||(e.target=r.srcElement||ne),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,r):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,s,r=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||ne,s=n.documentElement,i=n.body,e.pageX=t.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===r||(e.which=1&r?1:2&r?3:4&r?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==w()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===w()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(he.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return he.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,i){var n=he.extend(new he.Event,i,{type:e,isSimulated:!0});he.event.trigger(n,null,t),n.isDefaultPrevented()&&i.preventDefault()}},he.removeEvent=ne.removeEventListener?function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)}:function(e,t,i){var n="on"+t;e.detachEvent&&(void 0===e[n]&&(e[n]=null),e.detachEvent(n,i))},he.Event=function(e,t){return this instanceof he.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?y:b):this.type=e,t&&he.extend(this,t),this.timeStamp=e&&e.timeStamp||he.now(),this[he.expando]=!0,void 0):new he.Event(e,t)},he.Event.prototype={constructor:he.Event,isDefaultPrevented:b,isPropagationStopped:b,isImmediatePropagationStopped:b,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=y,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=y,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=y,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},he.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){he.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=this,s=e.relatedTarget,r=e.handleObj;return s&&(s===n||he.contains(n,s))||(e.type=r.origType,i=r.handler.apply(this,arguments),e.type=t),i}}}),ue.submit||(he.event.special.submit={setup:function(){return!he.nodeName(this,"form")&&void he.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,i=he.nodeName(t,"input")||he.nodeName(t,"button")?he.prop(t,"form"):void 0;i&&!he._data(i,"submit")&&(he.event.add(i,"submit._submit",function(e){e._submitBubble=!0}),he._data(i,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&he.event.simulate("submit",this.parentNode,e))},teardown:function(){return!he.nodeName(this,"form")&&void he.event.remove(this,"._submit")}}),ue.change||(he.event.special.change={setup:function(){return Ge.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(he.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),he.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),he.event.simulate("change",this,e)})),!1):void he.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ge.test(t.nodeName)&&!he._data(t,"change")&&(he.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||he.event.simulate("change",this.parentNode,e)}),he._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return he.event.remove(this,"._change"),!Ge.test(this.nodeName)}}),ue.focusin||he.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(e){he.event.simulate(t,e.target,he.event.fix(e))};he.event.special[t]={setup:function(){var n=this.ownerDocument||this,s=he._data(n,t);s||n.addEventListener(e,i,!0),he._data(n,t,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this,s=he._data(n,t)-1;s?he._data(n,t,s):(n.removeEventListener(e,i,!0),he._removeData(n,t))}}}),he.fn.extend({on:function(e,t,i,n){return x(this,e,t,i,n)},one:function(e,t,i,n){return x(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,he(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(s in e)this.off(s,t,e[s]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=b),this.each(function(){he.event.remove(this,e,i,t)})},trigger:function(e,t){return this.each(function(){he.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return he.event.trigger(e,t,i,!0)}});var Ze=/ jQuery\d+="(?:null|\d+)"/g,Je=new RegExp("<(?:"+Be+")[\\s/>]","i"),et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,tt=/<script|<style|<link/i,it=/checked\s*(?:[^=]|=\s*.checked.)/i,nt=/^true\/(.*)/,st=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rt=h(ne),at=rt.appendChild(ne.createElement("div"));he.extend({htmlPrefilter:function(e){return e.replace(et,"<$1></$2>")},clone:function(e,t,i){var n,s,r,a,o,l=he.contains(e.ownerDocument,e);if(ue.html5Clone||he.isXMLDoc(e)||!Je.test("<"+e.nodeName+">")?r=e.cloneNode(!0):(at.innerHTML=e.outerHTML,at.removeChild(r=at.firstChild)),!(ue.noCloneEvent&&ue.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||he.isXMLDoc(e)))for(n=f(r),o=f(e),a=0;null!=(s=o[a]);++a)n[a]&&k(s,n[a]);if(t)if(i)for(o=o||f(e),n=n||f(r),a=0;null!=(s=o[a]);a++)E(s,n[a]);else E(e,r);return n=f(r,"script"),n.length>0&&m(n,!l&&f(e,"script")),n=o=s=null,r},cleanData:function(e,t){for(var i,n,s,r,a=0,o=he.expando,l=he.cache,d=ue.attributes,c=he.event.special;null!=(i=e[a]);a++)if((t||Me(i))&&(s=i[o],r=s&&l[s])){if(r.events)for(n in r.events)c[n]?he.event.remove(i,n):he.removeEvent(i,n,r.handle);l[s]&&(delete l[s],d||void 0===i.removeAttribute?i[o]=void 0:i.removeAttribute(o),ie.push(s))}}}),he.fn.extend({domManip:$,detach:function(e){return A(this,e,!0)},remove:function(e){return A(this,e)},text:function(e){return Fe(this,function(e){return void 0===e?he.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ne).createTextNode(e))},null,e,arguments.length)},append:function(){return $(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||T(this,e).appendChild(e)})},prepend:function(){return $(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&he.cleanData(f(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&he.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return he.clone(this,e,t)})},html:function(e){return Fe(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ze,""):void 0;if("string"==typeof e&&!tt.test(e)&&(ue.htmlSerialize||!Je.test(e))&&(ue.leadingWhitespace||!Re.test(e))&&!We[(Ne.exec(e)||["",""])[1].toLowerCase()]){e=he.htmlPrefilter(e);try{for(;i<n;i++)t=this[i]||{},1===t.nodeType&&(he.cleanData(f(t,!1)),t.innerHTML=e);t=0}catch(s){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return $(this,arguments,function(t){var i=this.parentNode;he.inArray(this,e)<0&&(he.cleanData(f(this)),i&&i.replaceChild(t,this))},e)}}),he.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){he.fn[e]=function(e){for(var i,n=0,s=[],r=he(e),a=r.length-1;n<=a;n++)i=n===a?this:this.clone(!0), 3he(r[n])[t](i),ae.apply(s,i.get());return this.pushStack(s)}});var ot,lt={HTML:"block",BODY:"block"},dt=/^margin/,ct=new RegExp("^("+ze+")(?!px)[a-z%]+$","i"),ut=function(e,t,i,n){var s,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];s=i.apply(e,n||[]);for(r in t)e.style[r]=a[r];return s},pt=ne.documentElement;!function(){function t(){var t,c,u=ne.documentElement;u.appendChild(l),d.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i=s=o=!1,n=a=!0,e.getComputedStyle&&(c=e.getComputedStyle(d),i="1%"!==(c||{}).top,o="2px"===(c||{}).marginLeft,s="4px"===(c||{width:"4px"}).width,d.style.marginRight="50%",n="4px"===(c||{marginRight:"4px"}).marginRight,t=d.appendChild(ne.createElement("div")),t.style.cssText=d.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",d.style.width="1px",a=!parseFloat((e.getComputedStyle(t)||{}).marginRight),d.removeChild(t)),d.style.display="none",r=0===d.getClientRects().length,r&&(d.style.display="",d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",d.childNodes[0].style.borderCollapse="separate",t=d.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",(r=0===t[0].offsetHeight)&&(t[0].style.display="",t[1].style.display="none",r=0===t[0].offsetHeight)),u.removeChild(l)}var i,n,s,r,a,o,l=ne.createElement("div"),d=ne.createElement("div");d.style&&(d.style.cssText="float:left;opacity:.5",ue.opacity="0.5"===d.style.opacity,ue.cssFloat=!!d.style.cssFloat,d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",ue.clearCloneStyle="content-box"===d.style.backgroundClip,l=ne.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",d.innerHTML="",l.appendChild(d),ue.boxSizing=""===d.style.boxSizing||""===d.style.MozBoxSizing||""===d.style.WebkitBoxSizing,he.extend(ue,{reliableHiddenOffsets:function(){return null==i&&t(),r},boxSizingReliable:function(){return null==i&&t(),s},pixelMarginRight:function(){return null==i&&t(),n},pixelPosition:function(){return null==i&&t(),i},reliableMarginRight:function(){return null==i&&t(),a},reliableMarginLeft:function(){return null==i&&t(),o}}))}();var ht,ft,mt=/^(top|right|bottom|left)$/;e.getComputedStyle?(ht=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=e),i.getComputedStyle(t)},ft=function(e,t,i){var n,s,r,a,o=e.style;return i=i||ht(e),a=i?i.getPropertyValue(t)||i[t]:void 0,""!==a&&void 0!==a||he.contains(e.ownerDocument,e)||(a=he.style(e,t)),i&&!ue.pixelMarginRight()&&ct.test(a)&&dt.test(t)&&(n=o.width,s=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=a,a=i.width,o.width=n,o.minWidth=s,o.maxWidth=r),void 0===a?a:a+""}):pt.currentStyle&&(ht=function(e){return e.currentStyle},ft=function(e,t,i){var n,s,r,a,o=e.style;return i=i||ht(e),a=i?i[t]:void 0,null==a&&o&&o[t]&&(a=o[t]),ct.test(a)&&!mt.test(t)&&(n=o.left,s=e.runtimeStyle,r=s&&s.left,r&&(s.left=e.currentStyle.left),o.left="fontSize"===t?"1em":a,a=o.pixelLeft+"px",o.left=n,r&&(s.left=r)),void 0===a?a:a+""||"auto"});var vt=/alpha\([^)]*\)/i,gt=/opacity\s*=\s*([^)]*)/i,yt=/^(none|table(?!-c[ea]).+)/,bt=new RegExp("^("+ze+")(.*)$","i"),wt={position:"absolute",visibility:"hidden",display:"block"},xt={letterSpacing:"0",fontWeight:"400"},Tt=["Webkit","O","Moz","ms"],Ct=ne.createElement("div").style;he.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=ft(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ue.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,r,a,o=he.camelCase(t),l=e.style;if(t=he.cssProps[o]||(he.cssProps[o]=D(o)||o),a=he.cssHooks[t]||he.cssHooks[o],void 0===i)return a&&"get"in a&&void 0!==(s=a.get(e,!1,n))?s:l[t];if(r=typeof i,"string"===r&&(s=Oe.exec(i))&&s[1]&&(i=p(e,t,s),r="number"),null!=i&&i===i&&("number"===r&&(i+=s&&s[3]||(he.cssNumber[o]?"":"px")),ue.clearCloneStyle||""!==i||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(i=a.set(e,i,n)))))try{l[t]=i}catch(d){}}},css:function(e,t,i,n){var s,r,a,o=he.camelCase(t);return t=he.cssProps[o]||(he.cssProps[o]=D(o)||o),a=he.cssHooks[t]||he.cssHooks[o],a&&"get"in a&&(r=a.get(e,!0,i)),void 0===r&&(r=ft(e,t,n)),"normal"===r&&t in xt&&(r=xt[t]),""===i||i?(s=parseFloat(r),!0===i||isFinite(s)?s||0:r):r}}),he.each(["height","width"],function(e,t){he.cssHooks[t]={get:function(e,i,n){if(i)return yt.test(he.css(e,"display"))&&0===e.offsetWidth?ut(e,wt,function(){return I(e,t,n)}):I(e,t,n)},set:function(e,i,n){var s=n&&ht(e);return z(e,i,n?O(e,t,n,ue.boxSizing&&"border-box"===he.css(e,"boxSizing",!1,s),s):0)}}}),ue.opacity||(he.cssHooks.opacity={get:function(e,t){return gt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var i=e.style,n=e.currentStyle,s=he.isNumeric(t)?"alpha(opacity="+100*t+")":"",r=n&&n.filter||i.filter||"";i.zoom=1,(t>=1||""===t)&&""===he.trim(r.replace(vt,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===t||n&&!n.filter)||(i.filter=vt.test(r)?r.replace(vt,s):r+" "+s)}}),he.cssHooks.marginRight=M(ue.reliableMarginRight,function(e,t){if(t)return ut(e,{display:"inline-block"},ft,[e,"marginRight"])}),he.cssHooks.marginLeft=M(ue.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ft(e,"marginLeft"))||(he.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-ut(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),he.each({margin:"",padding:"",border:"Width"},function(e,t){he.cssHooks[e+t]={expand:function(i){for(var n=0,s={},r="string"==typeof i?i.split(" "):[i];n<4;n++)s[e+Ie[n]+t]=r[n]||r[n-2]||r[0];return s}},dt.test(e)||(he.cssHooks[e+t].set=z)}),he.fn.extend({css:function(e,t){return Fe(this,function(e,t,i){var n,s,r={},a=0;if(he.isArray(t)){for(n=ht(e),s=t.length;a<s;a++)r[t[a]]=he.css(e,t[a],!1,n);return r}return void 0!==i?he.style(e,t,i):he.css(e,t)},e,t,arguments.length>1)},show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){je(this)?he(this).show():he(this).hide()})}}),he.Tween=j,j.prototype={constructor:j,init:function(e,t,i,n,s,r){this.elem=e,this.prop=i,this.easing=s||he.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=r||(he.cssNumber[i]?"":"px")},cur:function(){var e=j.propHooks[this.prop];return e&&e.get?e.get(this):j.propHooks._default.get(this)},run:function(e){var t,i=j.propHooks[this.prop];return this.options.duration?this.pos=t=he.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):j.propHooks._default.set(this),this}},j.prototype.init.prototype=j.prototype,j.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=he.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){he.fx.step[e.prop]?he.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[he.cssProps[e.prop]]&&!he.cssHooks[e.prop]?e.elem[e.prop]=e.now:he.style(e.elem,e.prop,e.now+e.unit)}}},j.propHooks.scrollTop=j.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},he.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},he.fx=j.prototype.init,he.fx.step={};var St,Et,kt=/^(?:toggle|show|hide)$/,$t=/queueHooks$/;he.Animation=he.extend(B,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return p(i.elem,e,Oe.exec(t),i),i}]},tweener:function(e,t){he.isFunction(e)?(t=e,e=["*"]):e=e.match(Ae);for(var i,n=0,s=e.length;n<s;n++)i=e[n],B.tweeners[i]=B.tweeners[i]||[],B.tweeners[i].unshift(t)},prefilters:[q],prefilter:function(e,t){t?B.prefilters.unshift(e):B.prefilters.push(e)}}),he.speed=function(e,t,i){var n=e&&"object"==typeof e?he.extend({},e):{complete:i||!i&&t||he.isFunction(e)&&e,duration:e,easing:i&&t||t&&!he.isFunction(t)&&t};return n.duration=he.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in he.fx.speeds?he.fx.speeds[n.duration]:he.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){he.isFunction(n.old)&&n.old.call(this),n.queue&&he.dequeue(this,n.queue)},n},he.fn.extend({fadeTo:function(e,t,i,n){return this.filter(je).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var s=he.isEmptyObject(e),r=he.speed(t,i,n),a=function(){var t=B(this,he.extend({},e),r);(s||he._data(this,"finish"))&&t.stop(!0)};return a.finish=a,s||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,s=null!=e&&e+"queueHooks",r=he.timers,a=he._data(this);if(s)a[s]&&a[s].stop&&n(a[s]);else for(s in a)a[s]&&a[s].stop&&$t.test(s)&&n(a[s]);for(s=r.length;s--;)r[s].elem!==this||null!=e&&r[s].queue!==e||(r[s].anim.stop(i),t=!1,r.splice(s,1));!t&&i||he.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,i=he._data(this),n=i[e+"queue"],s=i[e+"queueHooks"],r=he.timers,a=n?n.length:0;for(i.finish=!0,he.queue(this,e,[]),s&&s.stop&&s.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish})}}),he.each(["toggle","show","hide"],function(e,t){var i=he.fn[t];he.fn[t]=function(e,n,s){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(H(t,!0),e,n,s)}}),he.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){he.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}}),he.timers=[],he.fx.tick=function(){var e,t=he.timers,i=0;for(St=he.now();i<t.length;i++)(e=t[i])()||t[i]!==e||t.splice(i--,1);t.length||he.fx.stop(),St=void 0},he.fx.timer=function(e){he.timers.push(e),e()?he.fx.start():he.timers.pop()},he.fx.interval=13,he.fx.start=function(){Et||(Et=e.setInterval(he.fx.tick,he.fx.interval))},he.fx.stop=function(){e.clearInterval(Et),Et=null},he.fx.speeds={slow:600,fast:200,_default:400},he.fn.delay=function(t,i){return t=he.fx?he.fx.speeds[t]||t:t,i=i||"fx",this.queue(i,function(i,n){var s=e.setTimeout(i,t);n.stop=function(){e.clearTimeout(s)}})},function(){var e,t=ne.createElement("input"),i=ne.createElement("div"),n=ne.createElement("select"),s=n.appendChild(ne.createElement("option"));i=ne.createElement("div"),i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=i.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),i.appendChild(t),e=i.getElementsByTagName("a")[0],e.style.cssText="top:1px",ue.getSetAttribute="t"!==i.className,ue.style=/top/.test(e.getAttribute("style")),ue.hrefNormalized="/a"===e.getAttribute("href"),ue.checkOn=!!t.value,ue.optSelected=s.selected,ue.enctype=!!ne.createElement("form").enctype,n.disabled=!0,ue.optDisabled=!s.disabled,t=ne.createElement("input"),t.setAttribute("value",""),ue.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),ue.radioValue="t"===t.value}();var At=/\r/g,_t=/[\x20\t\r\n\f]+/g;he.fn.extend({val:function(e){var t,i,n,s=this[0];return arguments.length?(n=he.isFunction(e),this.each(function(i){var s;1===this.nodeType&&(s=n?e.call(this,i,he(this).val()):e,null==s?s="":"number"==typeof s?s+="":he.isArray(s)&&(s=he.map(s,function(e){return null==e?"":e+""})),(t=he.valHooks[this.type]||he.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,s,"value")||(this.value=s))})):s?(t=he.valHooks[s.type]||he.valHooks[s.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(s,"value"))?i:(i=s.value,"string"==typeof i?i.replace(At,""):null==i?"":i):void 0}}),he.extend({valHooks:{option:{get:function(e){var t=he.find.attr(e,"value");return null!=t?t:he.trim(he.text(e)).replace(_t," ")}},select:{get:function(e){for(var t,i,n=e.options,s=e.selectedIndex,r="select-one"===e.type||s<0,a=r?null:[],o=r?s+1:n.length,l=s<0?o:r?s:0;l<o;l++)if(i=n[l],(i.selected||l===s)&&(ue.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!he.nodeName(i.parentNode,"optgroup"))){if(t=he(i).val(),r)return t;a.push(t)}return a},set:function(e,t){for(var i,n,s=e.options,r=he.makeArray(t),a=s.length;a--;)if(n=s[a],he.inArray(he.valHooks.option.get(n),r)>-1)try{n.selected=i=!0}catch(o){n.scrollHeight}else n.selected=!1;return i||(e.selectedIndex=-1),s}}}}),he.each(["radio","checkbox"],function(){he.valHooks[this]={set:function(e,t){if(he.isArray(t))return e.checked=he.inArray(he(e).val(),t)>-1}},ue.checkOn||(he.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Pt,Mt,Dt=he.expr.attrHandle,Lt=/^(?:checked|selected)$/i,zt=ue.getSetAttribute,Ot=ue.input;he.fn.extend({attr:function(e,t){return Fe(this,he.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){he.removeAttr(this,e)})}}),he.extend({attr:function(e,t,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?he.prop(e,t,i):(1===r&&he.isXMLDoc(e)||(t=t.toLowerCase(),s=he.attrHooks[t]||(he.expr.match.bool.test(t)?Mt:Pt)),void 0!==i?null===i?void he.removeAttr(e,t):s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:(e.setAttribute(t,i+""),i):s&&"get"in s&&null!==(n=s.get(e,t))?n:(n=he.find.attr(e,t),null==n?void 0:n))},attrHooks:{type:{set:function(e,t){if(!ue.radioValue&&"radio"===t&&he.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n,s=0,r=t&&t.match(Ae);if(r&&1===e.nodeType)for(;i=r[s++];)n=he.propFix[i]||i,he.expr.match.bool.test(i)?Ot&&zt||!Lt.test(i)?e[n]=!1:e[he.camelCase("default-"+i)]=e[n]=!1:he.attr(e,i,""),e.removeAttribute(zt?i:n)}}),Mt={set:function(e,t,i){return!1===t?he.removeAttr(e,i):Ot&&zt||!Lt.test(i)?e.setAttribute(!zt&&he.propFix[i]||i,i):e[he.camelCase("default-"+i)]=e[i]=!0,i}},he.each(he.expr.match.bool.source.match(/\w+/g),function(e,t){var i=Dt[t]||he.find.attr;Ot&&zt||!Lt.test(t)?Dt[t]=function(e,t,n){var s,r;return n||(r=Dt[t],Dt[t]=s,s=null!=i(e,t,n)?t.toLowerCase():null,Dt[t]=r),s}:Dt[t]=function(e,t,i){if(!i)return e[he.camelCase("default-"+t)]?t.toLowerCase():null}}),Ot&&zt||(he.attrHooks.value={set:function(e,t,i){return he.nodeName(e,"input")?void(e.defaultValue=t):Pt&&Pt.set(e,t,i)}}),zt||(Pt={set:function(e,t,i){var n=e.getAttributeNode(i);if(n||e.setAttributeNode(n=e.ownerDocument.createAttribute(i)),n.value=t+="","value"===i||t===e.getAttribute(i))return t}},Dt.id=Dt.name=Dt.coords=function(e,t,i){var n;if(!i)return(n=e.getAttributeNode(t))&&""!==n.value?n.value:null},he.valHooks.button={get:function(e,t){var i=e.getAttributeNode(t);if(i&&i.specified)return i.value},set:Pt.set},he.attrHooks.contenteditable={set:function(e,t,i){Pt.set(e,""!==t&&t,i)}},he.each(["width","height"],function(e,t){he.attrHooks[t]={set:function(e,i){if(""===i)return e.setAttribute(t,"auto"),i}}})),ue.style||(he.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var It=/^(?:input|select|textarea|button|object)$/i,jt=/^(?:a|area)$/i;he.fn.extend({prop:function(e,t){return Fe(this,he.prop,e,t,arguments.length>1)},removeProp:function(e){return e=he.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),he.extend({prop:function(e,t,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&he.isXMLDoc(e)||(t=he.propFix[t]||t,s=he.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=he.find.attr(e,"tabindex");return t?parseInt(t,10):It.test(e.nodeName)||jt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ue.hrefNormalized||he.each(["href","src"],function(e,t){he.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ue.optSelected||(he.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),he.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){he.propFix[this.toLowerCase()]=this}),ue.enctype||(he.propFix.enctype="encoding");var Ft=/[\t\r\n\f]/g;he.fn.extend({addClass:function(e){var t,i,n,s,r,a,o,l=0;if(he.isFunction(e))return this.each(function(t){he(this).addClass(e.call(this,t,W(this)))});if("string"==typeof e&&e)for(t=e.match(Ae)||[];i=this[l++];)if(s=W(i),n=1===i.nodeType&&(" "+s+" ").replace(Ft," ")){for(a=0;r=t[a++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");o=he.trim(n),s!==o&&he.attr(i,"class",o)}return this},removeClass:function(e){var t,i,n,s,r,a,o,l=0;if(he.isFunction(e))return this.each(function(t){he(this).removeClass(e.call(this,t,W(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ae)||[];i=this[l++];)if(s=W(i),n=1===i.nodeType&&(" "+s+" ").replace(Ft," ")){for(a=0;r=t[a++];)for(;n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");o=he.trim(n),s!==o&&he.attr(i,"class",o)}return this},toggleClass:function(e,t){var i=typeof e;return"boolean"==typeof t&&"string"===i?t?this.addClass(e):this.removeClass(e):he.isFunction(e)?this.each(function(i){he(this).toggleClass(e.call(this,i,W(this),t),t)}):this.each(function(){var t,n,s,r;if("string"===i)for(n=0,s=he(this),r=e.match(Ae)||[];t=r[n++];)s.hasClass(t)?s.removeClass(t):s.addClass(t);else void 0!==e&&"boolean"!==i||(t=W(this),t&&he._data(this,"__className__",t),he.attr(this,"class",t||!1===e?"":he._data(this,"__className__")||""))})},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&(" "+W(i)+" ").replace(Ft," ").indexOf(t)>-1)return!0;return!1}}),he.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){he.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}),he.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Ht=e.location,Nt=he.now(),qt=/\?/,Rt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;he.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var i,n=null,s=he.trim(t+"");return s&&!he.trim(s.replace(Rt,function(e,t,s,r){return i&&t&&(n=0),0===n?e:(i=s||t,n+=!r-!s,"")}))?Function("return "+s)():he.error("Invalid JSON: "+t)},he.parseXML=function(t){var i,n;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(n=new e.DOMParser,i=n.parseFromString(t,"text/xml")):(i=new e.ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(t))}catch(s){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||he.error("Invalid XML: "+t),i};var Bt=/#.*$/,Wt=/([?&])_=[^&]*/,Vt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Xt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gt=/^(?:GET|HEAD)$/,Yt=/^\/\//,Ut=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Qt={},Kt={},Zt="*/".concat("*"),Jt=Ht.href,ei=Ut.exec(Jt.toLowerCase())||[];he.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Jt,type:"GET",isLocal:Xt.test(ei[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":he.parseJSON,"text xml":he.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?G(G(e,he.ajaxSettings),t):G(he.ajaxSettings,e)},ajaxPrefilter:V(Qt),ajaxTransport:V(Kt),ajax:function(t,i){function n(t,i,n,s){var r,u,y,b,x,C=i;2!==w&&(w=2,l&&e.clearTimeout(l),c=void 0,o=s||"",T.readyState=t>0?4:0,r=t>=200&&t<300||304===t,n&&(b=Y(p,T,n)),b=U(p,b,T,r),r?(p.ifModified&&(x=T.getResponseHeader("Last-Modified"),x&&(he.lastModified[a]=x),(x=T.getResponseHeader("etag"))&&(he.etag[a]=x)),204===t||"HEAD"===p.type?C="nocontent":304===t?C="notmodified":(C=b.state,u=b.data,y=b.error,r=!y)):(y=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(i||C)+"",r?m.resolveWith(h,[u,C,T]):m.rejectWith(h,[T,C,y]),T.statusCode(g),g=void 0,d&&f.trigger(r?"ajaxSuccess":"ajaxError",[T,p,r?u:y]),v.fireWith(h,[T,C]),d&&(f.trigger("ajaxComplete",[T,p]),--he.active||he.event.trigger("ajaxStop")))}"object"==typeof t&&(i=t,t=void 0),i=i||{};var s,r,a,o,l,d,c,u,p=he.ajaxSetup({},i),h=p.context||p,f=p.context&&(h.nodeType||h.jquery)?he(h):he.event,m=he.Deferred(),v=he.Callbacks("once memory"),g=p.statusCode||{},y={},b={},w=0,x="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!u)for(u={};t=Vt.exec(o);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?o:null},setRequestHeader:function(e,t){var i=e.toLowerCase();return w||(e=b[i]=b[i]||e,y[e]=t),this},overrideMimeType:function(e){return w||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)g[t]=[g[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||x;return c&&c.abort(t),n(0,t),this}};if(m.promise(T).complete=v.add,T.success=T.done,T.error=T.fail,p.url=((t||p.url||Jt)+"").replace(Bt,"").replace(Yt,ei[1]+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=he.trim(p.dataType||"*").toLowerCase().match(Ae)||[""],null==p.crossDomain&&(s=Ut.exec(p.url.toLowerCase()),p.crossDomain=!(!s||s[1]===ei[1]&&s[2]===ei[2]&&(s[3]||("http:"===s[1]?"80":"443"))===(ei[3]||("http:"===ei[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=he.param(p.data,p.traditional)),X(Qt,p,i,T),2===w)return T;d=he.event&&p.global,d&&0==he.active++&&he.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Gt.test(p.type),a=p.url,p.hasContent||(p.data&&(a=p.url+=(qt.test(a)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Wt.test(a)?a.replace(Wt,"$1_="+Nt++):a+(qt.test(a)?"&":"?")+"_="+Nt++)),p.ifModified&&(he.lastModified[a]&&T.setRequestHeader("If-Modified-Since",he.lastModified[a]),he.etag[a]&&T.setRequestHeader("If-None-Match",he.etag[a])),(p.data&&p.hasContent&&!1!==p.contentType||i.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Zt+"; q=0.01":""):p.accepts["*"]);for(r in p.headers)T.setRequestHeader(r,p.headers[r]);if(p.beforeSend&&(!1===p.beforeSend.call(h,T,p)||2===w))return T.abort();x="abort";for(r in{success:1,error:1,complete:1})T[r](p[r]);if(c=X(Kt,p,i,T)){if(T.readyState=1,d&&f.trigger("ajaxSend",[T,p]),2===w)return T;p.async&&p.timeout>0&&(l=e.setTimeout(function(){T.abort("timeout")},p.timeout));try{w=1,c.send(y,n)}catch(C){if(!(w<2))throw C;n(-1,C)}}else n(-1,"No Transport");return T},getJSON:function(e,t,i){return he.get(e,t,i,"json")},getScript:function(e,t){return he.get(e,void 0,t,"script")}}),he.each(["get","post"],function(e,t){he[t]=function(e,i,n,s){return he.isFunction(i)&&(s=s||n,n=i,i=void 0),he.ajax(he.extend({url:e,type:t,dataType:s,data:i,success:n},he.isPlainObject(e)&&e))}}),he._evalUrl=function(e){return he.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},he.fn.extend({wrapAll:function(e){if(he.isFunction(e))return this.each(function(t){he(this).wrapAll(e.call(this,t))});if(this[0]){var t=he(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return he.isFunction(e)?this.each(function(t){he(this).wrapInner(e.call(this,t))}):this.each(function(){var t=he(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=he.isFunction(e);return this.each(function(i){he(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(){return this.parent().each(function(){he.nodeName(this,"body")||he(this).replaceWith(this.childNodes)}).end()}}),he.expr.filters.hidden=function(e){return ue.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:K(e)},he.expr.filters.visible=function(e){return!he.expr.filters.hidden(e)};var ti=/%20/g,ii=/\[\]$/,ni=/\r?\n/g,si=/^(?:submit|button|image|reset|file)$/i,ri=/^(?:input|select|textarea|keygen)/i;he.param=function(e,t){var i,n=[],s=function(e,t){t=he.isFunction(t)?t():null==t?"":t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=he.ajaxSettings&&he.ajaxSettings.traditional),he.isArray(e)||e.jquery&&!he.isPlainObject(e))he.each(e,function(){s(this.name,this.value)});else for(i in e)Z(i,e[i],t,s);return n.join("&").replace(ti,"+")},he.fn.extend({serialize:function(){return he.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=he.prop(this,"elements");return e?he.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!he(this).is(":disabled")&&ri.test(this.nodeName)&&!si.test(e)&&(this.checked||!He.test(e))}).map(function(e,t){var i=he(this).val();return null==i?null:he.isArray(i)?he.map(i,function(e){return{name:t.name,value:e.replace(ni,"\r\n")}}):{name:t.name,value:i.replace(ni,"\r\n")}}).get()}}),he.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?ee():ne.documentMode>8?J():/^(get|post|head|put|delete|options)$/i.test(this.type)&&J()||ee()}:J;var ai=0,oi={},li=he.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in oi)oi[e](void 0,!0)}),ue.cors=!!li&&"withCredentials"in li,(li=ue.ajax=!!li)&&he.ajaxTransport(function(t){if(!t.crossDomain||ue.cors){var i;return{send:function(n,s){var r,a=t.xhr(),o=++ai;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)a[r]=t.xhrFields[r];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)void 0!==n[r]&&a.setRequestHeader(r,n[r]+"");a.send(t.hasContent&&t.data||null),i=function(e,n){var r,l,d;if(i&&(n||4===a.readyState))if(delete oi[o],i=void 0,a.onreadystatechange=he.noop,n)4!==a.readyState&&a.abort();else{d={},r=a.status,"string"==typeof a.responseText&&(d.text=a.responseText);try{l=a.statusText}catch(c){l=""}r||!t.isLocal||t.crossDomain?1223===r&&(r=204):r=d.text?200:404}d&&s(r,l,d,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(i):a.onreadystatechange=oi[o]=i:i()},abort:function(){i&&i(void 0,!0)}}}}),he.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return he.globalEval(e),e}}}),he.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),he.ajaxTransport("script",function(e){if(e.crossDomain){var t,i=ne.head||he("head")[0]||ne.documentElement;return{send:function(n,s){t=ne.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,i){(i||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,i||s(200,"success"))},i.insertBefore(t,i.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var di=[],ci=/(=)\?(?=&|$)|\?\?/;he.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=di.pop()||he.expando+"_"+Nt++;return this[e]=!0,e}}),he.ajaxPrefilter("json jsonp",function(t,i,n){var s,r,a,o=!1!==t.jsonp&&(ci.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ci.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return s=t.jsonpCallback=he.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(ci,"$1"+s):!1!==t.jsonp&&(t.url+=(qt.test(t.url)?"&":"?")+t.jsonp+"="+s),t.converters["script json"]=function(){return a||he.error(s+" was not called"),a[0]},t.dataTypes[0]="json",r=e[s],e[s]=function(){a=arguments},n.always(function(){void 0===r?he(e).removeProp(s):e[s]=r,t[s]&&(t.jsonpCallback=i.jsonpCallback,di.push(s)),a&&he.isFunction(r)&&r(a[0]),a=r=void 0}),"script"}),he.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||ne;var n=Te.exec(e),s=!i&&[];return n?[t.createElement(n[1])]:(n=g([e],t,s),s&&s.length&&he(s).remove(),he.merge([],n.childNodes))};var ui=he.fn.load;he.fn.load=function(e,t,i){if("string"!=typeof e&&ui)return ui.apply(this,arguments);var n,s,r,a=this,o=e.indexOf(" ");return o>-1&&(n=he.trim(e.slice(o,e.length)),e=e.slice(0,o)),he.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),a.length>0&&he.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(n?he("<div>").append(he.parseHTML(e)).find(n):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,r||[e.responseText,t,e])})}),this},he.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){he.fn[t]=function(e){return this.on(t,e)}}),he.expr.filters.animated=function(e){return he.grep(he.timers,function(t){return e===t.elem}).length},he.offset={setOffset:function(e,t,i){var n,s,r,a,o,l,d,c=he.css(e,"position"),u=he(e),p={};"static"===c&&(e.style.position="relative"),o=u.offset(),r=he.css(e,"top"),l=he.css(e,"left"),d=("absolute"===c||"fixed"===c)&&he.inArray("auto",[r,l])>-1,d?(n=u.position(),a=n.top,s=n.left):(a=parseFloat(r)||0,s=parseFloat(l)||0),he.isFunction(t)&&(t=t.call(e,i,he.extend({},o))),null!=t.top&&(p.top=t.top-o.top+a),null!=t.left&&(p.left=t.left-o.left+s),"using"in t?t.using.call(e,p):u.css(p)}},he.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){he.offset.setOffset(this,e,t)});var t,i,n={top:0,left:0},s=this[0],r=s&&s.ownerDocument;return r?(t=r.documentElement,he.contains(t,s)?(void 0!==s.getBoundingClientRect&&(n=s.getBoundingClientRect()),i=te(r),{top:n.top+(i.pageYOffset||t.scrollTop)-(t.clientTop||0),left
3:n.left+(i.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0},position:function(){if(this[0]){var e,t,i={top:0,left:0},n=this[0];return"fixed"===he.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),he.nodeName(e[0],"html")||(i=e.offset()),i.top+=he.css(e[0],"borderTopWidth",!0),i.left+=he.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-he.css(n,"marginTop",!0),left:t.left-i.left-he.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!he.nodeName(e,"html")&&"static"===he.css(e,"position");)e=e.offsetParent;return e||pt})}}),he.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i=/Y/.test(t);he.fn[e]=function(n){ 4return Fe(this,function(e,n,s){var r=te(e);return void 0===s?r?t in r?r[t]:r.document.documentElement[n]:e[n]:void(r?r.scrollTo(i?he(r).scrollLeft():s,i?s:he(r).scrollTop()):e[n]=s)},e,n,arguments.length,null)}}),he.each(["top","left"],function(e,t){he.cssHooks[t]=M(ue.pixelPosition,function(e,i){if(i)return i=ft(e,t),ct.test(i)?he(e).position()[t]+"px":i})}),he.each({Height:"height",Width:"width"},function(e,t){he.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,n){he.fn[n]=function(n,s){var r=arguments.length&&(i||"boolean"!=typeof n),a=i||(!0===n||!0===s?"margin":"border");return Fe(this,function(t,i,n){var s;return he.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===n?he.css(t,i,a):he.style(t,i,n,a)},t,r?n:void 0,r,null)}})}),he.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}}),he.fn.size=function(){return this.length},he.fn.andSelf=he.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return he});var pi=e.jQuery,hi=e.$;return he.noConflict=function(t){return e.$===he&&(e.$=hi),t&&e.jQuery===he&&(e.jQuery=pi),he},t||(e.jQuery=e.$=he),he}),jQuery.noConflict(),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.Blazy=t()}(this,function(){"use strict";function e(e){var i=e._util;i.elements=m(e.options),i.count=i.elements.length,i.destroyed&&(i.destroyed=!1,e.options.container&&b(e.options.container,function(e){g(e,"scroll",i.validateT)}),g(window,"resize",i.saveViewportOffsetT),g(window,"resize",i.validateT),g(window,"scroll",i.validateT)),t(e)}function t(e){for(var t=e._util,n=0;n<t.count;n++){var s=t.elements[n];(i(s,e.options)||h(s,e.options.successClass))&&(e.load(s),t.elements.splice(n,1),t.count--,n--)}0===t.count&&e.destroy()}function i(e,t){var i=e.getBoundingClientRect();if(t.container&&S){var s=e.closest(t.containerClass);if(s){var r=s.getBoundingClientRect();if(n(r,T)){var a=r.top-t.offset,o=r.right+t.offset,l=r.bottom+t.offset,d=r.left-t.offset,c={top:a>T.top?a:T.top,right:o<T.right?o:T.right,bottom:l<T.bottom?l:T.bottom,left:d>T.left?d:T.left};return n(i,c)}return!1}}return n(i,T)}function n(e,t){return e.right>=t.left&&e.bottom>=t.top&&e.left<=t.right&&e.top<=t.bottom}function s(e,t,i){if(!h(e,i.successClass)&&(t||i.loadInvisible||e.offsetWidth>0&&e.offsetHeight>0)){var n=c(e,x)||c(e,i.src);if(n){var s=n.split(i.separator),d=s[C&&s.length>1?1:0],u=c(e,i.srcset),m=p(e,"img"),v=e.parentNode,w=v&&p(v,"picture");if(m||void 0===e.src){var T=new Image,S=d.substring(d.lastIndexOf(".")+1);if("svg"!==S){var $=d.slice(0,-S.length)+"webp";d=r($)&&Modernizr.webp?$:d}var A=function(){i.error&&i.error(e,"invalid"),f(e,i.errorClass),y(T,"error",A),y(T,"load",_)},_=function(){m?w||l(e,d,u):e.style.backgroundImage='url("'+d+'")',a(e,i),y(T,"load",_),y(T,"error",A)};w&&(T=e,b(v.getElementsByTagName("source"),function(e){o(e,k,i.srcset)})),g(T,"error",A),g(T,"load",_),l(T,d,u)}else e.src=d,a(e,i)}else p(e,"video")?(b(e.getElementsByTagName("source"),function(e){o(e,E,i.src)}),e.load(),a(e,i)):(i.error&&i.error(e,"missing"),f(e,i.errorClass))}}function r(e){var t=new XMLHttpRequest;return t.open("HEAD",e,!1),t.send(),404!=t.status}function a(e,t){f(e,t.successClass),t.success&&t.success(e),u(e,t.src),u(e,t.srcset),b(t.breakpoints,function(t){u(e,t.src)})}function o(e,t,i){var n=c(e,i);n&&(d(e,t,n),u(e,i))}function l(e,t,i){i&&d(e,k,i),e.src=t}function d(e,t,i){e.setAttribute(t,i)}function c(e,t){return e.getAttribute(t)}function u(e,t){e.removeAttribute(t)}
4function p(e,t){return e.nodeName.toLowerCase()===t}function h(e,t){return(" "+e.className+" ").indexOf(" "+t+" ")!==-1}function f(e,t){h(e,t)||(e.className+=" "+t)}function m(e){for(var t=[],i=e.root.querySelectorAll(e.selector),n=i.length;n--;t.unshift(i[n]));return t}function v(e){T.bottom=(window.innerHeight||document.documentElement.clientHeight)+e,T.right=(window.innerWidth||document.documentElement.clientWidth)+e}function g(e,t,i){e.attachEvent?e.attachEvent&&e.attachEvent("on"+t,i):e.addEventListener(t,i,{capture:!1,passive:!0})}function y(e,t,i){e.detachEvent?e.detachEvent&&e.detachEvent("on"+t,i):e.removeEventListener(t,i,{capture:!1,passive:!0})}function b(e,t){if(e&&t)for(var i=e.length,n=0;n<i&&t(e[n],n)!==!1;n++);}function w(e,t,i){var n=0;return function(){var s=+new Date;s-n<t||(n=s,e.apply(i,arguments))}}var x,T,C,S,E="src",k="srcset";return function(i){if(!document.querySelectorAll){var n=document.createStyleSheet();document.querySelectorAll=function(e,t,i,s,r){for(r=document.all,t=[],e=e.replace(/\[for\b/gi,"[htmlFor").split(","),i=e.length;i--;){for(n.addRule(e[i],"k:v"),s=r.length;s--;)r[s].currentStyle.k&&t.push(r[s]);n.removeRule(0)}return t}}var r=this,a=r._util={};a.elements=[],a.destroyed=!0,r.options=i||{},r.options.error=r.options.error||!1,r.options.offset=r.options.offset||100,r.options.root=r.options.root||document,r.options.success=r.options.success||!1,r.options.selector=r.options.selector||".b-lazy",r.options.separator=r.options.separator||"|",r.options.containerClass=r.options.container,r.options.container=!!r.options.containerClass&&document.querySelectorAll(r.options.containerClass),r.options.errorClass=r.options.errorClass||"b-error",r.options.breakpoints=r.options.breakpoints||!1,r.options.loadInvisible=r.options.loadInvisible||!1,r.options.successClass=r.options.successClass||"b-loaded",r.options.validateDelay=r.options.validateDelay||25,r.options.saveViewportOffsetDelay=r.options.saveViewportOffsetDelay||50,r.options.srcset=r.options.srcset||"data-srcset",r.options.src=x=r.options.src||"data-src",S=Element.prototype.closest,C=window.devicePixelRatio>1,T={},T.top=0-r.options.offset,T.left=0-r.options.offset,r.revalidate=function(){e(r)},r.load=function(e,t){var i=this.options;e&&void 0===e.length?s(e,t,i):b(e,function(e){s(e,t,i)})},r.destroy=function(){var e=r._util;r.options.container&&b(r.options.container,function(t){y(t,"scroll",e.validateT)}),y(window,"scroll",e.validateT),y(window,"resize",e.validateT),y(window,"resize",e.saveViewportOffsetT),e.count=0,e.elements.length=0,e.destroyed=!0},a.validateT=w(function(){t(r)},r.options.validateDelay,r),a.saveViewportOffsetT=w(function(){v(r.options.offset)},r.options.saveViewportOffsetDelay,r),v(r.options.offset),b(r.options.breakpoints,function(e){if(e.width>=window.screen.width)return x=e.src,!1}),setTimeout(function(){e(r)})}}),function(e){function t(e,t){for(var i=[],n=0;n<e;n++)n<=(e-1)/2?i.push(n):i.push((e-1)/2-n);return"left"===t?(i.reverse(),i):"right"===t?i:void 0}function i(i,n){if(!i.data("isanimating")){var r,a,o,l,d,c,u=i.data("config"),p=(u.num-1)/2,h=i.data("totalNum");if("left"===n)o=(i.data("index")-1+h)%h;else{if("right"!==n)return;o=(i.data("index")+1)%i.data("totalNum")}var f=s(i);d=f.indexs[0],c=f.indexs[u.num-1],i.data("index",o);var m=s(i),v=t(u.num,n);h===u.num?animationTimeForEdge=0:h-u.num===2?animationTimeForEdge=u.animationTime/2:animationTimeForEdge=u.animationTime,i.find("ul li").each(function(t,s){a=m.hashIndexs[t],void 0!==a?(r=Math.pow(u.scale,Math.abs(a-p)),i.data("isanimating",!0),e(s).css({display:"block","z-index":v[a]+9999}).animate({width:r*u.maxWidth,height:r*u.maxHeight,left:a*(u.distance/3)+(1-r)*u.maxWidth*3,top:(1-r)*u.maxHeight/2},u.animationTime,function(){i.data("isanimating",!1)})):(r=Math.pow(u.scale,p),l={display:"none",left:p*u.distance+(1-r)*u.maxWidth/2,top:0},"left"===n&&t===c?e(s).css("z-index",-1).animate({left:"-="+u.distance+"px"},u.animationTime,function(){e(s).css(l)}):"right"===n&&t===d?e(s).css("z-index",-1).animate({left:"+="+u.distance+"px"},u.animationTime,function(){e(s).css(l)}):e(s).css({display:"none",width:r*u.maxWidth,height:r*u.maxHeight,left:p*u.distance+(1-r)*u.maxWidth/2,top:0}))})}}function n(e){var t=null;if("object"==typeof e&&null!==e){t={};for(var i in a)a.hasOwnProperty(i)&&(t[i]=a[i]);for(i in e)e.hasOwnProperty(i)&&t.hasOwnProperty(i)&&(t[i]=e[i])}return t}function s(e){for(var t,i=[],n=(e.data("config").num-1)/2,s=e.data("index")||0,r=e.data("totalNum")||0,a=-n;a<=n;a++)t=s+a,i.push((t<0?t+r:t)%r);var o={};for(a=0;a<i.length;a++)o[i[a]]=a;return{indexs:i,hashIndexs:o}}function r(t){var i,n=s(t),r=9999,a=t.data("config"),o=(a.num-1)/2,l=o*a.distance*2+a.maxWidth,d=t.width(),c=t.height();d<l&&t.width(l),c<a.maxHeight&&t.height(a.maxHeight),t.find("ul li img").css({width:"100%",height:"100%"}),t.find("ul").css({position:"relative",width:l,height:a.maxHeight,"list-style":"none",padding:0,margin:0,marginLeft:"50%",left:-l/2,top:(t.height()-a.maxHeight)/2}),t.find(".left").css({position:"absolute",left:10,top:"50%","z-index":9999+t.data("totalNum")+1}),t.find(".right").css({position:"absolute",right:10,top:"50%","z-index":9999+t.data("totalNum")+1}),t.find("ul li").each(function(t,s){var l=n.hashIndexs[t];void 0!==l?(i=Math.pow(a.scale,Math.abs(l-o)),r=9999+(l>o?a.num-1-l:l),e(s).css({display:"block",position:"absolute","z-index":r,overflow:"hidden",
4width:i*a.maxWidth,height:i*a.maxHeight,left:l*a.distance+(1-i)*a.maxWidth*Number(l>o),top:(1-i)*a.maxHeight/2})):(i=Math.pow(a.scale,o),e(s).css({display:"none",position:"absolute",overflow:"hidden",width:i*a.maxWidth,height:i*a.maxHeight,left:o*a.distance+(1-i)*a.maxWidth/2,top:0}))})}if(void 0!==e){var a={num:3,maxWidth:250,maxHeight:150,autoPlay:!0,showTime:1e3,animationTime:300,scale:.8,distance:50};e.fn.carousel=function(t){var s,a,o;e(this).each(function(l,d){if(o=e(d),"object"==typeof t&&null!==t){if(s=n(t),a=o.find("ul li").length,a<=0||a%2===0)return;(s.num<=0||s.num>a)&&(s.num=a),o.data("config",s),o.data("index",0),o.data("totalNum",a),r(o),o.find(".left").off("click").on("click",function(e){return function(){i(e,"left")}}(o)),o.find(".right").off("click").on("click",function(e){return function(){i(e,"right")}}(o)),function(e){var t;clearInterval(e.data("auto")),e.data("config").autoPlay?(t=setInterval(function(){i(e,"right")},e.data("config").showTime),e.data("auto",t),e.find("ul").off("mouseenter").on("mouseenter",function(){clearInterval(e.data("auto"))}).off("mouseleave").on("mouseleave",function(){t=setInterval(function(){i(e,"right")},e.data("config").showTime),e.data("auto",t)})):e.find("ul").off("mouseenter").off("mouseleave")}(o)}})}}}(jQuery),function(e){e.fn.CircularCarousel=function(t){function i(e,t,i){var n=0,s=0,a=-i*(Math.PI/180),u=Math.sin(a),p=Math.cos(a),h=c,b=c+1;for(v=[],f.eq(c).addClass("active");s<m;){n+=360/m;var w=n*(Math.PI/180),x=Math.sin(w),T=Math.cos(w),C=e+(d*T*p-l*x*u),S=t+(d*T*u+l*x*p);C=Math.floor(C),S=Math.floor(S),h++,h<0?h=m-1:h===m&&(h=0),b++,b<0?b=m-1:b>=m&&(b=0),f.eq(h).css("margin-top",C+"px"),f.eq(h).css("margin-left",S+"px");var E={top:f.eq(b).offset().top,index:b};v.push(E),s++}var k=f.eq(c),$=f.eq(y);o.trigger("itemBeforeActive",k),o.trigger("itemBeforeDeactivate",$);setTimeout(function(){o.trigger("itemActive",k),o.trigger("itemAfterDeactivate",$)},g);r(c)}function n(e,t,n){var r=0;if(1===t)for(;r<e;){setTimeout(function(){var e=f.eq(c);e.removeClass("active"),y=c,c++,s(),i(u,p,h,null)},r*n);r++}else{r=e;for(var a=0;r>0;){setTimeout(function(){var e=f.eq(c);e.removeClass("active"),y=c,c--,s(),i(u,p,h,null)},a*n);a++,r--}}}function s(){c<0?c=m-1:c>=m&&(c=0)}function r(e){for(var t=v.sort(function(e,t){return e.top-t.top}),i=0;i<t.length;)t[i].index===e&&(f.eq(t[i].index-1).css({"z-index":t.length-1}),f.eq(t[i].index).css({"z-index":t.length-1})),f.eq(t[i].index).css("z-index",i),i++;var n=c+1;n<0?n=m-1:n>=m&&(n=0),f.eq(n).css("z-index",m),f.eq(c).css("z-index",m+1)}function a(e,t,i){for(var n=0,s=0,r=t;r!==i;)s++,r=r===e.length-1?0:r+1;for(r=t;r!==i;)n++,r=0===r?e.length-1:r-1;return n>s?{direction:1,steps:s}:{direction:0,steps:n}}var o=e(this),l=t.ovalWidth,d=t.ovalHeight,c=t.activeItem,u=t.offsetX,p=t.offsetY,h=t.angle,f=o.find("."+t.className),m=f.length,v=[],g=t.duration,y=c;i(u,p,h);var b=(setTimeout(function(){f.addClass("transition");var e=t.duration/1e3+"s";f.css("transition-duration",e)},10),{cycleActive:function(e){var t=f.eq(c);t.removeClass("active"),y=c,c="previous"===e?c-1:c+1,s(),i(u,p,h,null)},cycleActiveTo:function(e){var t=f.eq(c);t.removeClass("active");var r=Math.abs(e-c);if(r>=2){var o=a(f,c,e);n(o.steps,o.direction,g-100)}else y=c,c=e,s(),i(u,p,h,null)},on:function(e,t){o.on(e,t)}});return b}}(jQuery),function(e){e.fn.flipster=function(t){var i="string"==typeof t;if(i)var n=t,s=Array.prototype.slice.call(arguments,1);else var r={itemContainer:"ul",itemSelector:"li",style:"coverflow",start:"center",enableKeyboard:!0,enableMousewheel:!0,enableTouch:!0,enableNav:!1,enableNavButtons:!1,onItemSwitch:e.noop,disableRotation:!1,navPosition:"before",prevText:"Previous",nextText:"next"},a=e.extend({},r,t),o=e(window);return this.each(function(){function t(){E=0}function r(){g.height(l()),v.css("height","auto"),"carousel"===a.style&&g.width(y.width())}function l(){var t=0;return y.each(function(){e(this).height()>t&&(t=e(this).height())}),t}function d(){if(a.enableNav&&y.length>1){var t=[],i=[],n=[];y.each(function(){var s=e(this).data("flip-category"),r=e(this).attr("id"),a=e(this).attr("title");if("undefined"!=typeof s&&e.inArray(s,t)<0&&(t.push(s),n[s]='<li class="flip-nav-category"><a href="#" class="flip-nav-category-link" data-flip-category="'+s+'">'+s+'</a>\n<ul class="flip-nav-items">\n'),e.inArray(r,i)<0){i.push(r);var o='<a href="#'+r+'" class="flip-nav-item-link">'+a+"</a></li>\n";"undefined"!=typeof s?n[s]=n[s]+'<li class="flip-nav-item">'+o:n[r]='<li class="flip-nav-item no-category">'+o}});var s='<ul class="flipster-nav">\n';for(var r in t)n[t[r]]=n[t[r]]+"</ul>\n</li>\n";for(var o in n)s+=n[o];s+="</ul>",b="after"!=a.navPosition.toLowerCase()?e(s).prependTo(v):e(s).appendTo(v),w=b.find("a").on("click",function(t){var i;i=e(this).hasClass("flip-nav-category-link")?y.filter("[data-flip-category='"+e(this).data("flip-category")+"']"):e(this.hash),i.length&&(h(i),t.preventDefault())})}}function c(){if(a.enableNav&&y.length>1){var t=e(y[C]);b.find(".flip-nav-current").removeClass("flip-nav-current"),w.filter("[href='#"+t.attr("id")+"']").addClass("flip-nav-current"),w.filter("[data-flip-category='"+t.data("flip-category")+"']").parent().addClass("flip-nav-current")}}function u(){a.enableNavButtons&&y.length>1&&(v.find(".flipto-prev, .flipto-next").remove(),v.append("<a href='#' class='flipto-prev'>"+a.prevText+"</a> <a href='#' class='flipto-next'>"+a.nextText+"</a>"),v.children(".flipto-prev").on("click",function(e){h("left"),e.preventDefault()}),v.children(".flipto-next").on("click",function(e){h("right"),e.preventDefault()}))}function p(){var t=e(y[C]).addClass("flip-current");
4if(y.removeClass("flip-prev flip-next flip-current flip-past flip-future no-transition"),"carousel"===a.style){y.addClass("flip-hidden");var i=e(y[C+1]),n=e(y[C+2]),s=e(y[C-1]),o=e(y[C-2]);0===C?(s=y.last(),o=s.prev()):1===C?o=y.last():C===y.length-2?n=y.first():C===y.length-1&&(i=y.first(),n=e(y[1])),n.removeClass("flip-hidden").addClass("flip-future"),o.removeClass("flip-hidden").addClass("flip-past"),i.removeClass("flip-hidden").addClass("flip-next"),s.removeClass("flip-hidden").addClass("flip-prev")}else{var l=t.outerWidth()/2,d=0,u=g.width(),p=t.outerWidth(),h=y.index(t)*p/2+l/2;y.removeClass("flip-hidden");for(var f=0;f<y.length;f++){var m=e(y[f]),v=m.outerWidth();f<C?m.addClass("flip-past").css({"z-index":f,left:f*v/2+"px"}):f>C&&m.addClass("flip-future").css({"z-index":y.length-f,left:f*v/2+l+"px"})}t.css({"z-index":y.length+1,left:h+"px"}),d=h+p/2-u/2;var b=-1*d+"px";if(T){var w=e(".flip-past"),x=e(".flip-future");for(e(".flip-current").css("zoom","1.0"),f=0;f<w.length;f++)e(w[f]).css("zoom",100-5*(w.length-f)+"%");for(f=0;f<x.length;f++)e(x[f]).css("zoom",100-5*(f+1)+"%");g.animate({left:b},333)}else g.css("left",b)}t.addClass("flip-current").removeClass("flip-prev flip-next flip-past flip-future flip-hidden"),r(),c(),a.onItemSwitch.call(this)}function h(e){y.length>1&&("left"===e?C>0?C--:C=y.length-1:"right"===e?C<y.length-1?C++:C=0:C="number"==typeof e?e:y.index(e),p())}function f(){v.addClass("flipster flipster-active flipster-"+a.style).css("visibility","hidden"),a.disableRotation&&v.addClass("no-rotate"),g=v.find(a.itemContainer).addClass("flip-items"),y=g.find(a.itemSelector).addClass("flip-item flip-hidden").wrapInner("<div class='flip-content' />");var i=!1,n=document.createElement("b");n.innerHTML="<!--[if IE 9]><i></i><![endif]-->";var s=1===n.getElementsByTagName("i").length;(i||s)&&(T=!0,g.addClass("compatibility")),d(),u(),a.start&&y.length>1&&(C="center"===a.start?!y.length%2?y.length/2+1:Math.floor(y.length/2):a.start),r(),v.hide().css("visibility","visible").fadeIn(400,function(){p()}),o.resize(function(){r(),p()}),y.on("click",function(t){e(this).hasClass("flip-current")||t.preventDefault(),h(y.index(this))}),a.enableKeyboard&&y.length>1&&(o.on("keydown.flipster",function(e){if(E++,E%7===0||1===E){var t=e.which;37===t?(e.preventDefault(),h("left")):39===t&&(e.preventDefault(),h("right"))}}),o.on("keyup.flipster",function(e){E=0})),a.enableMousewheel&&y.length>1&&v.on("mousewheel.flipster",function(e){x=window.setTimeout(t,500),E++,E%4!==0&&1!==E||(window.clearTimeout(x),h(e.originalEvent.wheelDelta/120>0?"left":"right"),e.preventDefault())}),a.enableTouch&&y.length>1&&(v.on("touchstart.flipster",function(e){S=e.originalEvent.targetTouches[0].screenX}),v.on("touchmove.flipster",function(e){e.preventDefault();var t=e.originalEvent.targetTouches[0].screenX,i=t-S;i>y[0].clientWidth/1.75?(h("left"),S=t):i<-1*(y[0].clientWidth/1.75)&&(h("right"),S=t)}),v.on("touchend.flipster",function(e){S=0}))}var m,v=e(this);if(i)return m=v.data("methods"),m[n].apply(this,s);var g,y,b,w,x,T,C=0,S=0,E=0;m={jump:h},v.data("methods",m),v.hasClass("flipster-active")||f()})}}(jQuery),!function(e,t,i){function n(e,t){return typeof e===t}function s(){var e,t,i,s,r,a,o;for(var c in d)if(d.hasOwnProperty(c)){if(e=[],t=d[c],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(i=0;i<t.options.aliases.length;i++)e.push(t.options.aliases[i].toLowerCase());for(s=n(t.fn,"function")?t.fn():t.fn,r=0;r<e.length;r++)a=e[r],o=a.split("."),1===o.length?u[o[0]]=s:(!u[o[0]]||u[o[0]]instanceof Boolean||(u[o[0]]=new Boolean(u[o[0]])),u[o[0]][o[1]]=s),l.push((s?"":"no-")+o.join("-"))}}function r(e){var t=p.className,i=u._config.classPrefix||"";if(h&&(t=t.baseVal),u._config.enableJSClass){var n=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");t=t.replace(n,"$1"+i+"js$2")}u._config.enableClasses&&(t+=" "+i+e.join(" "+i),h?p.className.baseVal=t:p.className=t)}function a(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):h?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function o(e,t){if("object"==typeof e)for(var i in e)f(e,i)&&o(i,e[i]);else{e=e.toLowerCase();var n=e.split("."),s=u[n[0]];if(2==n.length&&(s=s[n[1]]),"undefined"!=typeof s)return u;t="function"==typeof t?t():t,1==n.length?u[n[0]]=t:(!u[n[0]]||u[n[0]]instanceof Boolean||(u[n[0]]=new Boolean(u[n[0]])),u[n[0]][n[1]]=t),r([(t&&0!=t?"":"no-")+n.join("-")]),u._trigger(e,t)}return u}var l=[],d=[],c={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout(function(){t(i[e])},0)},addTest:function(e,t,i){d.push({name:e,fn:t,options:i})},addAsyncTest:function(e){d.push({name:null,fn:e})}},u=function(){};u.prototype=c,u=new u;var p=t.documentElement,h="svg"===p.nodeName.toLowerCase();u.addTest("srcset","srcset"in a("img"));var f;!function(){var e={}.hasOwnProperty;f=n(e,"undefined")||n(e.call,"undefined")?function(e,t){return t in e&&n(e.constructor.prototype[t],"undefined")}:function(t,i){return e.call(t,i)}}(),c._l={},c.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),u.hasOwnProperty(e)&&setTimeout(function(){u._trigger(e,u[e])},0)},c._trigger=function(e,t){if(this._l[e]){var i=this._l[e];setTimeout(function(){var e,n;for(e=0;e<i.length;e++)(n=i[e])(t)},0),delete this._l[e]}},u._q.push(function(){c.addTest=o}),u.addAsyncTest(function(){var e=new Image;e.onerror=function(){o("webpanimation",!1,{aliases:["webp-animation"]})},e.onload=function(){o("webpanimation",1==e.width,{aliases:["webp-animation"]})},e.src="data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"}),u.addAsyncTest(function(){function e(e,t,i){function n(t){var n=!(!t||"load"!==t.type)&&1==s.width,r="webp"===e;o(e,r&&n?new Boolean(n):n),i&&i(t)}var s=new Image;s.onerror=n,s.onload=n,s.src=t}var t=[{uri:"data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=",name:"webp"},{uri:"data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",name:"webp.alpha"},{uri:"data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA",name:"webp.animation"},{uri:"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",name:"webp.lossless"}],i=t.shift();e(i.name,i.uri,function(i){if(i&&"load"===i.type)for(var n=0;n<t.length;n++)e(t[n].name,t[n].uri)})}),u.addAsyncTest(function(){var e=new Image;e.onerror=function(){o("webpalpha",!1,{aliases:["webp-alpha"]})},e.onload=function(){o("webpalpha",1==e.width,{aliases:["webp-alpha"]})},e.src="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="}),u.addAsyncTest(function(){var e=new Image;e.onerror=function(){o("webplossless",!1,{aliases:["webp-lossless"]})},e.onload=function(){o("webplossless",1==e.width,{aliases:["webp-lossless"]})},e.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}),s(),r(l),delete c.addTest,delete c.addAsyncTest;for(var m=0;m<u._q.length;m++)u._q[m]();e.Modernizr=u}(window,document),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self).parsley=t(e.jQuery)}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var i=[],n=!0,s=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(i.push(a.value),!t||i.length!==t);n=!0);}catch(e){s=!0,r=e}finally{try{n||null==o["return"]||o["return"]()}finally{if(s)throw r}}return i}}
vendor: 37,458 bytes, lines 4-5
4(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,i=new Array(e.length);t<e.length;t++)i[t]=e[t];return i}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(){}function a(){this.__id__=T.generateID()}function o(t){e.extend(!0,this,t)}function l(e,t){this.__class__="ValidatorRegistry",this.locale="en",this.init(e||{},t||{})}function d(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function c(e,t){return function(i){for(var n=arguments.length,r=new Array(1<n?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return r.pop(),t.apply(void 0,[i].concat(s((o=e,r.map(T.parse[o])))));var o}}function u(e){return{validateDate:c("date",e),validateNumber:c("number",e),requirementType:e.length<=2?"string":["string","string"],priority:30}}function p(t,i,n){this.__class__="Form",this.element=t,this.$element=e(t),this.domOptions=i,this.options=n,this.parent=window.Parsley,this.fields=[],this.validationResult=null}function h(e,t,n,s,r){var a=window.Parsley._validatorRegistry.validators[t],l=new o(a);i(this,{validator:l,name:t,requirements:n,priority:s=s||e.options[t+"Priority"]||l.priority,isDomConstraint:r=!0===r}),this._parseRequirements(e.options)}function f(t,i,n,s){this.__class__="Field",this.element=t,this.$element=e(t),void 0!==s&&(this.parent=s),this.options=n,this.domOptions=i,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()}function m(){this.__class__="FieldMultiple"}function v(n,s,r){this.element=n,this.$element=e(n);var a=this.$element.data("Parsley");if(a)return void 0!==r&&a.parent===window.Parsley&&(a.parent=r,a._resetOptions(a.options)),"object"===t(s)&&i(a.options,s),a;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if(void 0!==r&&"Form"!==r.__class__)throw new Error("Parent instance must be a Form instance");return this.parent=r||window.Parsley,this.init(s)}function g(){T.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")}function y(e,t){return e.parsleyAdaptedCallback||(e.parsleyAdaptedCallback=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift(this),e.apply(t||M,i)}),e.parsleyAdaptedCallback}function b(e){return 0===e.lastIndexOf(D,0)?e.substr(D.length):e}var w=1,x={},T={attr:function(e,t,i){var n,s,r,a=new RegExp("^"+t,"i");if(void 0===i)i={};else for(n in i)i.hasOwnProperty(n)&&delete i[n];if(!e)return i;for(n=(r=e.attributes).length;n--;)(s=r[n])&&s.specified&&a.test(s.name)&&(i[this.camelize(s.name.slice(t.length))]=this.deserializeValue(s.value));return i},checkAttr:function(e,t,i){return e.hasAttribute(t+i)},setAttr:function(e,t,i,n){e.setAttribute(this.dasherize(t+i),String(n))},getType:function(e){return e.getAttribute("type")||"text"},generateID:function(){return""+w++},deserializeValue:function(e){var t;try{return e?"true"==e||"false"!=e&&("null"==e?null:isNaN(t=Number(e))?/^[\[\{]/.test(e)?JSON.parse(e):e:t):e}catch(t){return e}},camelize:function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},dasherize:function(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var e;window.console&&"function"==typeof window.console.warn&&(e=window.console).warn.apply(e,arguments)},warnOnce:function(e){x[e]||(x[e]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){x={}},trimString:function(e){return e.replace(/^\s+|\s+$/g,"")},parse:{date:function(e){var t=e.match(/^(\d{4,})-(\d\d)-(\d\d)$/);if(!t)return null;var i=n(t.map(function(e){return parseInt(e,10)}),4),s=(i[0],i[1]),r=i[2],a=i[3],o=new Date(s,r-1,a);return o.getFullYear()!==s||o.getMonth()+1!==r||o.getDate()!==a?null:o},string:function(e){return e},integer:function(e){return isNaN(e)?null:parseInt(e,10)},number:function(e){if(isNaN(e))throw null;return parseFloat(e)},"boolean":function(e){return!/^\s*false\s*$/i.test(e)},object:function(e){return T.deserializeValue(e)},regexp:function(e){var t="";return e=/^\/.*\/(?:[gimy]*)$/.test(e)?(t=e.replace(/.*\/([gimy]*)$/,"$1"),e.replace(new RegExp("^/(.*?)/"+t+"$"),"$1")):"^"+e+"$",new RegExp(e,t)}},parseRequirement:function(e,t){var i=this.parse[e||"string"];if(!i)throw'Unknown requirement specification: "'+e+'"';var n=i(t);if(null===n)throw"Requirement is not a ".concat(e,': "').concat(t,'"');return n},namespaceEvents:function(t,i){return(t=this.trimString(t||"").split(/\s+/))[0]?e.map(t,function(e){return"".concat(e,".").concat(i)}).join(" "):""},difference:function(t,i){var n=[];return e.each(t,function(e,t){-1==i.indexOf(t)&&n.push(t)}),n},all:function(t){return e.when.apply(e,s(t).concat([42,42]))},objectCreate:Object.create||function(e){if(1<arguments.length)throw Error("Second argument not supported");if("object"!=t(e))throw TypeError("Argument must be an object");r.prototype=e;var i=new r;return r.prototype=null,i},_SubmitSelector:'input[type="submit"], button:submit'},C={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,triggerAfterFailure:"input",errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(){},errorsContainer:function(){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"};a.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function(){function t(){var t=e.Deferred();return!0!==i.validationResult&&t.reject(),t.resolve().promise()}var i=this;return[t,t]},actualizeOptions:function(){return T.attr(this.element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(e){for(var t in this.domOptions=T.objectCreate(this.parent.options),this.options=T.objectCreate(this.domOptions),e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.actualizeOptions()},_listeners:null,on:function(e,t){return this._listeners=this._listeners||{},(this._listeners[e]=this._listeners[e]||[]).push(t),this},subscribe:function(t,i){e.listenTo(this,t.toLowerCase(),i)},off:function(e,t){var i=this._listeners&&this._listeners[e];if(i)if(t)for(var n=i.length;n--;)i[n]===t&&i.splice(n,1);else delete this._listeners[e];return this},unsubscribe:function(t){e.unsubscribeTo(this,t.toLowerCase())},trigger:function(e,t,i){t=t||this;var n,s=this._listeners&&this._listeners[e];if(s)for(var r=s.length;r--;)if(!1===(n=s[r].call(t,t,i)))return n;return!this.parent||this.parent.trigger(e,t,i)},asyncIsValid:function(e,t){return T.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:e,force:t})},_findRelated:function(){return this.options.multiple?e(this.parent.element.querySelectorAll("[".concat(this.options.namespace,'multiple="').concat(this.options.multiple,'"]'))):this.$element}},o.prototype={validate:function(e,t){if(this.fn)return 3<arguments.length&&(t=[].slice.call(arguments,1,-1)),this.fn(e,t);if(Array.isArray(e)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}var i=arguments[arguments.length-1];if(this.validateDate&&i._isDateInput())return arguments[0]=T.parse.date(arguments[0]),null!==arguments[0]&&this.validateDate.apply(this,arguments);if(this.validateNumber)return!e||!isNaN(e)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(t,i){if("string"!=typeof t)return Array.isArray(t)?t:[t];var n=this.requirementType;if(Array.isArray(n)){for(var s=function(e,t){var i=e.match(/^\s*\[(.*)\]\s*$/);if(!i)throw'Requirement is not an array: "'+e+'"';var n=i[1].split(",").map(T.trimString);if(n.length!==t)throw"Requirement has "+n.length+" values when "+t+" are needed";return n}(t,n.length),r=0;r<s.length;r++)s[r]=T.parseRequirement(n[r],s[r]);return s}return e.isPlainObject(n)?function(e,t,i){var n=null,s={};for(var r in e)if(r){var a=i(r);"string"==typeof a&&(a=T.parseRequirement(e[r],a)), 5s[r]=a}else n=T.parseRequirement(e[r],t);return[n,s]}(n,t,i):[T.parseRequirement(n,t)]},requirementType:"string",priority:2};var S={email:/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))$/,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,date:{test:function(e){return null!==T.parse.date(e)}},url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-zA-Z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$")};S.range=S.number,l.prototype={init:function(e,t){for(var n in this.catalog=t,this.validators=i({},this.validators),e)this.addValidator(n,e[n].fn,e[n].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(e){if(void 0===this.catalog[e])throw new Error(e+" is not available in the catalog");return this.locale=e,this},addCatalog:function(e,i,n){return"object"===t(i)&&(this.catalog[e]=i),!0===n?this.setLocale(e):this},addMessage:function(e,t,i){return void 0===this.catalog[e]&&(this.catalog[e]={}),this.catalog[e][t]=i,this},addMessages:function(e,t){for(var i in t)this.addMessage(e,i,t[i]);return this},addValidator:function(e,t,i){if(this.validators[e])T.warn('Validator "'+e+'" is already defined.');else if(C.hasOwnProperty(e))return void T.warn('"'+e+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},hasValidator:function(e){return!!this.validators[e]},updateValidator:function(e,t,i){return this.validators[e]?this._setValidator.apply(this,arguments):(T.warn('Validator "'+e+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(e){return this.validators[e]||T.warn('Validator "'+e+'" is not defined.'),delete this.validators[e],this},_setValidator:function(e,i,n){for(var s in"object"!==t(i)&&(i={fn:i,priority:n}),i.validate||(i=new o(i)),(this.validators[e]=i).messages||{})this.addMessage(s,e,i.messages[s]);return this},getErrorMessage:function(e){var t;return t="type"===e.name?(this.catalog[this.locale][e.name]||{})[e.requirements]:this.formatMessage(this.catalog[this.locale][e.name],e.requirements),t||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(e,i){if("object"!==t(i))return"string"==typeof e?e.replace(/%s/i,i):"";for(var n in i)e=this.formatMessage(e,i[n]);return e},validators:{notblank:{validateString:function(e){return/\S/.test(e)},priority:2},required:{validateMultiple:function(e){return 0<e.length},validateString:function(e){return/\S/.test(e)},priority:512},type:{validateString:function(e,t,i){var n=2<arguments.length&&void 0!==i?i:{},s=n.step,r=void 0===s?"any":s,a=n.base,o=void 0===a?0:a,l=S[t];if(!l)throw new Error("validator type `"+t+"` is not supported");if(!e)return!0;if(!l.test(e))return!1;if("number"===t&&!/^any$/i.test(r||"")){var c=Number(e),u=Math.max(d(r),d(o));if(d(c)>u)return!1;var p=function(e){return Math.round(e*Math.pow(10,u))};if((p(c)-p(o))%p(r)!=0)return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(e,t){return!e||t.test(e)},requirementType:"regexp",priority:64},minlength:{validateString:function(e,t){return!e||e.length>=t},requirementType:"integer",priority:30},maxlength:{validateString:function(e,t){return e.length<=t},requirementType:"integer",priority:30},length:{validateString:function(e,t,i){return!e||e.length>=t&&e.length<=i},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(e,t){return e.length>=t},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(e,t){return e.length<=t},requirementType:"integer",priority:30},check:{validateMultiple:function(e,t,i){return e.length>=t&&e.length<=i},requirementType:["integer","integer"],priority:30},min:u(function(e,t){return t<=e}),max:u(function(e,t){return e<=t}),range:u(function(e,t,i){return t<=e&&e<=i}),equalto:{validateString:function(t,i){if(!t)return!0;var n=e(i);return n.length?t===n.val():t===i},priority:256},euvatin:{validateString:function(e){return!e||/^[A-Z][A-Z][A-Za-z0-9 -]{2,}$/.test(e)},priority:30}}};var E={};E.Form={_actualizeTriggers:function(){var e=this;this.$element.on("submit.Parsley",function(t){e.onSubmitValidate(t)}),this.$element.on("click.Parsley",T._SubmitSelector,function(t){e.onSubmitButton(t)}),!1!==this.options.uiEnabled&&this.element.setAttribute("novalidate","")},focus:function(){if(!(this._focusedField=null)===this.validationResult||"none"===this.options.focus)return null;for(var e=0;e<this.fields.length;e++){var t=this.fields[e];if(!0!==t.validationResult&&0<t.validationResult.length&&void 0===t.options.noFocus&&(this._focusedField=t.$element,"first"===this.options.focus))break}return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function(){this.$element.off(".Parsley")}},E.Field={_reflowUI:function(){if(this._buildUI(),this._ui){var e=function t(e,i,n){for(var s=[],r=[],a=0;a<e.length;a++){for(var o=!1,l=0;l<i.length;l++)if(e[a].assert.name===i[l].assert.name){o=!0;break}o?r.push(e[a]):s.push(e[a])}return{kept:r,added:s,removed:n?[]:t(i,e,!0).added}}(this.validationResult,this._ui.lastValidationResult);this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(e),this._actualizeTriggers(),!e.kept.length&&!e.added.length||this._failedOnce||(this._failedOnce=!0,this._actualizeTriggers())}},getErrorsMessages:function(){if(!0===this.validationResult)return[];for(var e=[],t=0;t<this.validationResult.length;t++)e.push(this.validationResult[t].errorMessage||this._getErrorMessage(this.validationResult[t].assert));return e},addError:function(e,t){var i=1<arguments.length&&void 0!==t?t:{},n=i.message,s=i.assert,r=i.updateClass,a=void 0===r||r;this._buildUI(),this._addError(e,{message:n,assert:s}),a&&this._errorClass()},updateError:function(e,t){var i=1<arguments.length&&void 0!==t?t:{},n=i.message,s=i.assert,r=i.updateClass,a=void 0===r||r;this._buildUI(),this._updateError(e,{message:n,assert:s}),a&&this._errorClass()},removeError:function(e,t){var i=(1<arguments.length&&void 0!==t?t:{}).updateClass,n=void 0===i||i;this._buildUI(),this._removeError(e),n&&this._manageStatusClass()},_manageStatusClass:function(){this.hasConstraints()&&this.needsValidation()&&!0===this.validationResult?this._successClass():0<this.validationResult.length?this._errorClass():this._resetClass()},_manageErrorsMessages:function(t){if(void 0===this.options.errorsMessagesDisabled){if(void 0!==this.options.errorMessage)return t.added.length||t.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append(e(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").find(".parsley-custom-error-message").html(this.options.errorMessage)):(this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-custom-error-message").remove());for(var i=0;i<t.removed.length;i++)this._removeError(t.removed[i].assert.name);for(i=0;i<t.added.length;i++)this._addError(t.added[i].assert.name,{message:t.added[i].errorMessage,assert:t.added[i].assert});for(i=0;i<t.kept.length;i++)this._updateError(t.kept[i].assert.name,{message:t.kept[i].errorMessage,assert:t.kept[i].assert})}},_addError:function(t,i){var n=i.message,s=i.assert;this._insertErrorWrapper(),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").append(e(this.options.errorTemplate).addClass("parsley-"+t).html(n||this._getErrorMessage(s)))},_updateError:function(e,t){var i=t.message,n=t.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+e).html(i||this._getErrorMessage(n))},_removeError:function(e){this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-"+e).remove()},_getErrorMessage:function(e){var t=e.name+"Message";return void 0!==this.options[t]?window.Parsley.formatMessage(this.options[t],e.requirements):window.Parsley.getErrorMessage(e)},_buildUI:function(){if(!this._ui&&!1!==this.options.uiEnabled){var t={};this.element.setAttribute(this.options.namespace+"id",this.__id__),t.$errorClassHandler=this._manageClassHandler(),t.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),t.$errorsWrapper=e(this.options.errorsWrapper).attr("id",t.errorsWrapperId),t.lastValidationResult=[],t.validationInformationVisible=!1,this._ui=t}},_manageClassHandler:function(){if("string"==typeof this.options.classHandler&&e(this.options.classHandler).length)return e(this.options.classHandler);var i=this.options.classHandler;if("string"==typeof this.options.classHandler&&"function"==typeof window[this.options.classHandler]&&(i=window[this.options.classHandler]),"function"==typeof i){var n=i.call(this,this);if(void 0!==n&&n.length)return n}else{if("object"===t(i)&&i instanceof jQuery&&i.length)return i;i&&T.warn("The class handler `"+i+"` does not exist in DOM nor as a global JS function")}return this._inputHolder()},_inputHolder:function(){return this.options.multiple&&"SELECT"!==this.element.nodeName?this.$element.parent():this.$element},_insertErrorWrapper:function(){var i=this.options.errorsContainer;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof i){if(e(i).length)return e(i).append(this._ui.$errorsWrapper);"function"==typeof window[i]?i=window[i]:T.warn("The errors container `"+i+"` does not exist in DOM nor as a global JS function")}return"function"==typeof i&&(i=i.call(this,this)),"object"===t(i)&&i.length?i.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function(){var e,t=this,i=this._findRelated();i.off(".Parsley"),this._failedOnce?i.on(T.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),function(){t._validateIfNeeded()}):(e=T.namespaceEvents(this.options.trigger,"Parsley"))&&i.on(e,function(e){t._validateIfNeeded(e)})},_validateIfNeeded:function(e){var t=this;e&&/key|input/.test(e.type)&&(!this._ui||!this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||(this.options.debounce?(window.clearTimeout(this._debounced),this._debounced=window.setTimeout(function(){return t.validate()},this.options.debounce)):this.validate())},_resetUI:function(){this._failedOnce=!1,this._actualizeTriggers(),void 0!==this._ui&&(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function(){this._resetUI(),void 0!==this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}};var k={pending:null,resolved:!0,rejected:!1};p.prototype={onSubmitValidate:function(e){var t=this;if(!0!==e.parsley){var i=this._submitSource||this.$element.find(T._SubmitSelector)[0];if(this._submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),!i||null===i.getAttribute("formnovalidate")){window.Parsley._remoteCache={};var n=this.whenValidate({event:e});"resolved"===n.state()&&!1!==this._trigger("submit")||(e.stopImmediatePropagation(),e.preventDefault(),"pending"===n.state()&&n.done(function(){t._submit(i)}))}}},onSubmitButton:function(e){this._submitSource=e.currentTarget},_submit:function(t){if(!1!==this._trigger("submit")){if(t){var n=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1);0===n.length&&(n=e('<input class="parsley-synthetic-submit-button" type="hidden">').appendTo(this.$element)),n.attr({name:t.getAttribute("name"),value:t.getAttribute("value")})}this.$element.trigger(i(e.Event("submit"),{parsley:!0}))}},validate:function(t){if(1<=arguments.length&&!e.isPlainObject(t)){T.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments);t={group:i[0],force:i[1],event:i[2]}}return k[this.whenValidate(t).state()]},whenValidate:function(t){var n,r=this,a=0<arguments.length&&void 0!==t?t:{},o=a.group,l=a.force,d=a.event;(this.submitEvent=d)&&(this.submitEvent=i({},d,{preventDefault:function(){T.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),r.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var c=this._withoutReactualizingFormOptions(function(){return e.map(r.fields,function(e){return e.whenValidate({force:l,group:o})})});return(n=T.all(c).done(function(){r._trigger("success")}).fail(function(){r.validationResult=!1,r.focus(),r._trigger("error")}).always(function(){r._trigger("validated")})).pipe.apply(n,s(this._pipeAccordingToValidationResult()))},isValid:function(t){if(1<=arguments.length&&!e.isPlainObject(t)){T.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments);t={group:i[0],force:i[1]}}return k[this.whenValid(t).state()]},whenValid:function(t){var i=this,n=0<arguments.length&&void 0!==t?t:{},s=n.group,r=n.force;this._refreshFields();var a=this._withoutReactualizingFormOptions(function(){return e.map(i.fields,function(e){return e.whenValid({group:s,force:r})})});return T.all(a)},refresh:function(){return this._refreshFields(),this},reset:function(){for(var e=0;e<this.fields.length;e++)this.fields[e].reset();this._trigger("reset")},destroy:function(){this._destroyUI();for(var e=0;e<this.fields.length;e++)this.fields[e].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var t=this,i=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){t.$element.find(t.options.inputs).not(t.options.excluded).not("[".concat(t.options.namespace,"excluded=true]")).each(function(e,i){var n=new window.Parsley.Factory(i,{},t);if("Field"===n.__class__||"FieldMultiple"===n.__class__){var s=n.__class__+"-"+n.__id__;void 0===t.fieldsMappedById[s]&&(t.fieldsMappedById[s]=n,t.fields.push(n))}}),e.each(T.difference(i,t.fields),function(e,t){t.reset()})}),this},_withoutReactualizingFormOptions:function(e){var t=this.actualizeOptions;this.actualizeOptions=function(){return this};var i=e();return this.actualizeOptions=t,i},_trigger:function(e){return this.trigger("form:"+e)}};var $={pending:null,resolved:!0,rejected:!(h.prototype={validate:function(e,t){var i;return(i=this.validator).validate.apply(i,[e].concat(s(this.requirementList),[t]))},_parseRequirements:function(e){var t=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(i){return e[t.name+((n=i)[0].toUpperCase()+n.slice(1))];var n})}})};f.prototype={validate:function(t){1<=arguments.length&&!e.isPlainObject(t)&&(T.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),t={options:t});var i=this.whenValidate(t);if(!i)return!0;switch(i.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(e){var t,i=this,n=0<arguments.length&&void 0!==e?e:{},r=n.force,a=n.group;if(this.refresh(),!a||this._isInGroup(a))return this.value=this.getValue(),this._trigger("validate"),(t=this.whenValid({force:r,value:this.value,_refreshed:!0}).always(function(){i._reflowUI()}).done(function(){i._trigger("success")}).fail(function(){i._trigger("error")}).always(function(){i._trigger("validated")})).pipe.apply(t,s(this._pipeAccordingToValidationResult()))},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(e){return void 0===e&&(e=this.getValue()),!(!e.length&&!this._isRequired()&&void 0===this.options.validateIfEmpty)},_isInGroup:function(t){return Array.isArray(this.options.group)?-1!==e.inArray(t,this.options.group):this.options.group===t},isValid:function(t){if(1<=arguments.length&&!e.isPlainObject(t)){T.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var i=Array.prototype.slice.call(arguments);t={force:i[0],value:i[1]}}var n=this.whenValid(t);return!n||$[n.state()]},whenValid:function(t){var i=this,n=0<arguments.length&&void 0!==t?t:{},s=n.force,r=void 0!==s&&s,a=n.value,o=n.group;if(n._refreshed||this.refresh(),!o||this._isInGroup(o)){if(this.validationResult=!0,!this.hasConstraints())return e.when();if(null==a&&(a=this.getValue()),!this.needsValidation(a)&&!0!==r)return e.when();var l=this._getGroupedConstraints(),d=[];return e.each(l,function(t,n){var s=T.all(e.map(n,function(e){return i._validateConstraint(a,e)}));if(d.push(s),"rejected"===s.state())return!1}),T.all(d)}},_validateConstraint:function(t,i){var n=this,s=i.validate(t,this);return!1===s&&(s=e.Deferred().reject()),T.all([s]).fail(function(e){n.validationResult instanceof Array||(n.validationResult=[]),n.validationResult.push({assert:i,errorMessage:"string"==typeof e&&e})})},getValue:function(){var e;return null==(e="function"==typeof this.options.value?this.options.value(this):void 0!==this.options.value?this.options.value:this.$element.val())?"":this._handleWhitespace(e)},reset:function(){return this._resetUI(),this._trigger("reset")},destroy:function(){this._destroyUI(),this.$element.removeData("Parsley"),this.$element.removeData("FieldMultiple"),this._trigger("destroy")},refresh:function(){return this._refreshConstraints(),this},_refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},refreshConstraints:function(){return T.warnOnce("Parsley's refreshConstraints is deprecated. Please use refresh"),this.refresh()},addConstraint:function(e,t,i,n){if(window.Parsley._validatorRegistry.validators[e]){var s=new h(this,e,t,i,n);"undefined"!==this.constraintsByName[s.name]&&this.removeConstraint(s.name),this.constraints.push(s),this.constraintsByName[s.name]=s}return this},removeConstraint:function(e){for(var t=0;t<this.constraints.length;t++)if(e===this.constraints[t].name){this.constraints.splice(t,1);break}return delete this.constraintsByName[e],this},updateConstraint:function(e,t,i){return this.removeConstraint(e).addConstraint(e,t,i)},_bindConstraints:function(){for(var e=[],t={},i=0;i<this.constraints.length;i++)!1===this.constraints[i].isDomConstraint&&(e.push(this.constraints[i]),t[this.constraints[i].name]=this.constraints[i]);for(var n in this.constraints=e,this.constraintsByName=t,this.options)this.addConstraint(n,this.options[n],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){null!==this.element.getAttribute("required")&&this.addConstraint("required",!0,void 0,!0),null!==this.element.getAttribute("pattern")&&this.addConstraint("pattern",this.element.getAttribute("pattern"),void 0,!0);var e=this.element.getAttribute("min"),t=this.element.getAttribute("max");null!==e&&null!==t?this.addConstraint("range",[e,t],void 0,!0):null!==e?this.addConstraint("min",e,void 0,!0):null!==t&&this.addConstraint("max",t,void 0,!0),null!==this.element.getAttribute("minlength")&&null!==this.element.getAttribute("maxlength")?this.addConstraint("length",[this.element.getAttribute("minlength"),this.element.getAttribute("maxlength")],void 0,!0):null!==this.element.getAttribute("minlength")?this.addConstraint("minlength",this.element.getAttribute("minlength"),void 0,!0):null!==this.element.getAttribute("maxlength")&&this.addConstraint("maxlength",this.element.getAttribute("maxlength"),void 0,!0);var i=T.getType(this.element);return"number"===i?this.addConstraint("type",["number",{step:this.element.getAttribute("step")||"1",base:e||this.element.getAttribute("value")}],void 0,!0):/^(email|url|range|date)$/i.test(i)?this.addConstraint("type",i,void 0,!0):this},_isRequired:function(){return void 0!==this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(e){return this.trigger("field:"+e)},_handleWhitespace:function(e){return!0===this.options.trimValue&&T.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(e=e.replace(/\s{2,}/g," ")),"trim"!==this.options.whitespace&&"squish"!==this.options.whitespace&&!0!==this.options.trimValue||(e=T.trimString(e)),e},_isDateInput:function(){var e=this.constraintsByName.type;return e&&"date"===e.requirements},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var e=[],t={},i=0;i<this.constraints.length;i++){var n=this.constraints[i].priority;t[n]||e.push(t[n]=[]),t[n].push(this.constraints[i])}return e.sort(function(e,t){return t[0].priority-e[0].priority}),e}},m.prototype={addElement:function(e){return this.$elements.push(e),this},_refreshConstraints:function(){var t;if(this.constraints=[],"SELECT"===this.element.nodeName)return this.actualizeOptions()._bindConstraints(),this;for(var i=0;i<this.$elements.length;i++)if(e("html").has(this.$elements[i]).length){t=this.$elements[i].data("FieldMultiple")._refreshConstraints().constraints;for(var n=0;n<t.length;n++)this.addConstraint(t[n].name,t[n].requirements,t[n].priority,t[n].isDomConstraint)}else this.$elements.splice(i,1);return this},getValue:function(){if("function"==typeof this.options.value)return this.options.value(this);if(void 0!==this.options.value)return this.options.value;if("INPUT"===this.element.nodeName){var t=T.getType(this.element);if("radio"===t)return this._findRelated().filter(":checked").val()||"";if("checkbox"===t){var i=[];return this._findRelated().filter(":checked").each(function(){i.push(e(this).val())}),i}}return"SELECT"===this.element.nodeName&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}},v.prototype={init:function(e){return this.__class__="Parsley",this.__version__="2.9.2",this.__id__=T.generateID(),this._resetOptions(e),"FORM"===this.element.nodeName||T.checkAttr(this.element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){var e=T.getType(this.element);return"radio"===e||"checkbox"===e||"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple")},handleMultiple:function(){var t,i,n=this;if(this.options.multiple=this.options.multiple||(t=this.element.getAttribute("name"))||this.element.getAttribute("id"),"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return T.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),t&&e('input[name="'+t+'"]').each(function(e,t){var i=T.getType(t);"radio"!==i&&"checkbox"!==i||t.setAttribute(n.options.namespace+"multiple",n.options.multiple)});for(var s=this._findRelated(),r=0;r<s.length;r++)if(void 0!==(i=e(s.get(r)).data("Parsley"))){this.$element.data("FieldMultiple")||i.addElement(this.$element);break}return this.bind("parsleyField",!0),i||this.bind("parsleyFieldMultiple")},bind:function(t,i){var n;switch(t){case"parsleyForm":n=e.extend(new p(this.element,this.domOptions,this.options),new a,window.ParsleyExtend)._bindFields();break;case"parsleyField":n=e.extend(new f(this.element,this.domOptions,this.options,this.parent),new a,window.ParsleyExtend);break;case"parsleyFieldMultiple":n=e.extend(new f(this.element,this.domOptions,this.options,this.parent),new m,new a,window.ParsleyExtend)._init();break;default:throw new Error(t+"is not a supported Parsley type")}return this.options.multiple&&T.setAttr(this.element,this.options.namespace,"multiple",this.options.multiple),void 0!==i?this.$element.data("FieldMultiple",n):(this.$element.data("Parsley",n),n._actualizeTriggers(),n._trigger("init")),n}};var A=e.fn.jquery.split(".");if(parseInt(A[0])<=1&&parseInt(A[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";A.forEach||T.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var _=i(new a,{element:document,$element:e(document),actualizeOptions:null,_resetOptions:null,Factory:v,version:"2.9.2"});i(f.prototype,E.Field,a.prototype),i(p.prototype,E.Form,a.prototype),i(v.prototype,a.prototype),e.fn.parsley=e.fn.psly=function(t){if(1<this.length){var i=[];return this.each(function(){i.push(e(this).parsley(t))}),i}if(0!=this.length)return new v(this[0],t)},void 0===window.ParsleyExtend&&(window.ParsleyExtend={}),_.options=i(T.objectCreate(C),window.ParsleyConfig),window.ParsleyConfig=_.options,window.Parsley=window.psly=_,_.Utils=T,window.ParsleyUtils={},e.each(T,function(e,t){"function"==typeof t&&(window.ParsleyUtils[e]=function(){return T.warnOnce("Accessing `window.ParsleyUtils` is deprecated. Use `window.Parsley.Utils` instead."),T[e].apply(T,arguments)})});var P=window.Parsley._validatorRegistry=new l(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},e.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator hasValidator".split(" "),function(e,t){window.Parsley[t]=function(){return P[t].apply(P,arguments)},window.ParsleyValidator[t]=function(){var e;return T.warnOnce("Accessing the method '".concat(t,"' through Validator is deprecated. Simply call 'window.Parsley.").concat(t,"(...)'")),(e=window.Parsley)[t].apply(e,arguments)}}),window.Parsley.UI=E,window.ParsleyUI={removeError:function(e,t,i){var n=!0!==i;return T.warnOnce("Accessing UI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),e.removeError(t,{updateClass:n})},getErrorsMessages:function(e){return T.warnOnce("Accessing UI is deprecated. Call 'getErrorsMessages' on the instance directly."),e.getErrorsMessages()}},e.each("addError updateError".split(" "),function(e,t){window.ParsleyUI[t]=function(e,i,n,s,r){var a=!0!==r;return T.warnOnce("Accessing UI is deprecated. Call '".concat(t,"' on the instance directly. Please comment in issue 1073 as to your need to call this method.")),e[t](i,{message:n,assert:s,updateClass:a})}}),!1!==window.ParsleyConfig.autoBind&&e(function(){e("[data-parsley-validate]").length&&e("[data-parsley-validate]").parsley()});var M=e({}),D="parsley:";return e.listen=function(e,i){var n;if(g(),"object"===t(arguments[1])&&"function"==typeof arguments[2]&&(n=arguments[1],i=arguments[2]),"function"!=typeof i)throw new Error("Wrong parameters");window.Parsley.on(b(e),y(i,n))},e.listenTo=function(e,t,i){if(g(),!(e instanceof f||e instanceof p))throw new Error("Mu
5st give Parsley instance");if("string"!=typeof t||"function"!=typeof i)throw new Error("Wrong parameters");e.on(b(t),y(i))},e.unsubscribe=function(e,t){if(g(),"string"!=typeof e||"function"!=typeof t)throw new Error("Wrong arguments");window.Parsley.off(b(e),t.parsleyAdaptedCallback)},e.unsubscribeTo=function(e,t){if(g(),!(e instanceof f||e instanceof p))throw new Error("Must give Parsley instance");e.off(b(t))},e.unsubscribeAll=function(t){g(),window.Parsley.off(b(t)),e("form,input,textarea,select").each(function(){var i=e(this).data("Parsley");i&&i.off(b(t))})},e.emit=function(e,t){g();var i=t instanceof f||t instanceof p,n=Array.prototype.slice.call(arguments,i?2:1);n.unshift(b(e)),i||(t=window.Parsley),t.trigger.apply(t,s(n))},e.extend(!0,_,{asyncValidators:{"default":{fn:function(e){return 200<=e.status&&e.status<300},url:!1},reverse:{fn:function(e){return e.status<200||300<=e.status},url:!1}},addAsyncValidator:function(e,t,i,n){return _.asyncValidators[e]={fn:t,url:i||!1,options:n||{}},this}}),_.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(t,i,n,s){function r(){var t=_.asyncValidators[d].fn.call(s,u,i,n);return t=t||e.Deferred().reject(),e.when(t)}var a,o,l={},d=n.validator||(!0===n.reverse?"reverse":"default");if(void 0===_.asyncValidators[d])throw new Error("Calling an undefined async validator: `"+d+"`");-1<(i=_.asyncValidators[d].url||i).indexOf("{value}")?i=i.replace("{value}",encodeURIComponent(t)):l[s.element.getAttribute("name")||s.element.getAttribute("id")]=t;var c=e.extend(!0,n.options||{},_.asyncValidators[d].options);a=e.extend(!0,{},{url:i,data:l,type:"GET"},c),s.trigger("field:ajaxoptions",s,a),o=e.param(a),void 0===_._remoteCache&&(_._remoteCache={});var u=_._remoteCache[o]=_._remoteCache[o]||e.ajax(a);return u.then(r,r)},priority:-1}),_.on("form:submit",function(){_._remoteCache={}}),a.prototype.addAsyncValidator=function(){return T.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),_.addAsyncValidator.apply(_,arguments)},_.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same.",euvatin:"It's not a valid VAT Identification Number." 6}),_.setLocale("en"),(new function(){var t=this,n=window||global;i(this,{isNativeEvent:function(e){return e.originalEvent&&!1!==e.originalEvent.isTrusted},fakeInputEvent:function(i){t.isNativeEvent(i)&&e(i.target).trigger("input")},misbehaves:function(i){t.isNativeEvent(i)&&(t.behavesOk(i),e(document).on("change.inputevent",i.data.selector,t.fakeInputEvent),t.fakeInputEvent(i))},behavesOk:function(i){t.isNativeEvent(i)&&e(document).off("input.inputevent",i.data.selector,t.behavesOk).off("change.inputevent",i.data.selector,t.misbehaves)},install:function(){if(!n.inputEventPatched){n.inputEventPatched="0.0.3";for(var i=0,s=["select",'input[type="checkbox"]','input[type="radio"]','input[type="file"]'];i<s.length;i++){var r=s[i];e(document).on("input.inputevent",r,{selector:r},t.behavesOk).on("change.inputevent",r,{selector:r},t.misbehaves)}}},uninstall:function(){delete n.inputEventPatched,e(document).off(".inputevent")}})}).install(),_}),!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=window.Slick||{};(t=function(){var t=0;return function(i,n){var s,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 7,559 bytes, line 6
6sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=e(i),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,s=e(i).data("slick")||{},r.options=e.extend({},r.defaults,n,s),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=e.proxy(r.autoPlay,r),r.autoPlayClear=e.proxy(r.autoPlayClear,r),r.autoPlayIterator=e.proxy(r.autoPlayIterator,r),r.changeSlide=e.proxy(r.changeSlide,r),r.clickHandler=e.proxy(r.clickHandler,r),r.selectHandler=e.proxy(r.selectHandler,r),r.setPosition=e.proxy(r.setPosition,r),r.swipeHandler=e.proxy(r.swipeHandler,r),r.dragHandler=e.proxy(r.dragHandler,r),r.keyHandler=e.proxy(r.keyHandler,r),r.instanceUid=t++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,n){var s=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=s.slideCount)return!1;s.unload(),"number"==typeof i?0===i&&0===s.$slides.length?e(t).appendTo(s.$slideTrack):n?e(t).insertBefore(s.$slides.eq(i)):e(t).insertAfter(s.$slides.eq(i)):!0===n?e(t).prependTo(s.$slideTrack):e(t).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(t,i){e(i).attr("data-slick-index",t)}),s.$slidesCache=s.$slides,s.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var n={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(t=-t),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:t},s.options.speed,s.options.easing,i):s.$slideTrack.animate({top:t},s.options.speed,s.options.easing,i):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),e({animStart:s.currentLeft}).animate({animStart:t},{duration:s.options.speed,easing:s.options.easing,step:function(e){e=Math.ceil(e),!1===s.options.vertical?(n[s.animType]="translate("+e+"px, 0px)",s.$slideTrack.css(n)):(n[s.animType]="translate(0px,"+e+"px)",s.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(s.applyTransition(),t=Math.ceil(t),!1===s.options.vertical?n[s.animType]="translate3d("+t+"px, 0px, 0px)":n[s.animType]="translate3d(0px,"+t+"px, 0px)",s.$slideTrack.css(n),i&&setTimeout(function(){s.disableTransition(),i.call()},s.options.speed))},t.prototype.getNavTarget=function(){var t=this,i=t.options.asNavFor;return i&&null!==i&&(i=e(i).not(t.$slider)),i},t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})},t.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,n=this;if(!0===n.options.dots){for(n.$slider.addClass("slick-dotted"),i=e("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)i.append(e("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,n,s,r,a,o=this;if(n=document.createDocumentFragment(),r=o.$slider.children(),o.options.rows>1){for(a=o.options.slidesPerRow*o.options.rows,s=Math.ceil(r.length/a),e=0;e<s;e++){var l=document.createElement("div");for(t=0;t<o.options.rows;t++){var d=document.createElement("div");for(i=0;i<o.options.slidesPerRow;i++){var c=e*a+(t*o.options.slidesPerRow+i);r.get(c)&&d.appendChild(r.get(c))}l.appendChild(d)}n.appendChild(l)}o.$slider.empty().append(n),o.$slider.children().children().children().css({width:100/o.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,i){var n,s,r,a=this,o=!1,l=a.$slider.width(),d=window.innerWidth||e(window).width();if("window"===a.respondTo?r=d:"slider"===a.respondTo?r=l:"min"===a.respondTo&&(r=Math.min(d,l)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){s=null;for(n in a.breakpoints)a.breakpoints.hasOwnProperty(n)&&(!1===a.originalSettings.mobileFirst?r<a.breakpoints[n]&&(s=a.breakpoints[n]):r>a.breakpoints[n]&&(s=a.breakpoints[n]));
vendor: 2,477 bytes, line 6
6null!==s?null!==a.activeBreakpoint?(s!==a.activeBreakpoint||i)&&(a.activeBreakpoint=s,"unslick"===a.breakpointSettings[s]?a.unslick(s):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[s]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),o=s):(a.activeBreakpoint=s,"unslick"===a.breakpointSettings[s]?a.unslick(s):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[s]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),o=s):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),o=s),t||!1===o||a.$slider.trigger("breakpoint",[a,o])}},t.prototype.changeSlide=function(t,i){var n,s,r,a=this,o=e(t.currentTarget);switch(o.is("a")&&t.preventDefault(),o.is("li")||(o=o.closest("li")),r=a.slideCount%a.options.slidesToScroll!=0,n=r?0:(a.slideCount-a.currentSlide)%a.options.slidesToScroll,t.data.message){case"previous":s=0===n?a.options.slidesToScroll:a.options.slidesToShow-n,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide-s,!1,i);break;case"next":s=0===n?a.options.slidesToScroll:n,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide+s,!1,i);break;case"index":var l=0===t.data.index?0:t.data.index||o.index()*a.options.slidesToScroll;a.slideHandler(a.checkNavigable(l),!1,i),o.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i;if(t=this.getNavigableIndexes(),i=0,e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.
6slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){e(this).attr("style",e(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(e),t.call()},i.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var n=e(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=n.is(":focus"),t.autoPlay())},0)})},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},t.prototype.getLeft=function(e){var t,i,n,s,r=this,a=0;return r.slideOffset=0,i=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,s=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?s=-1.5:1===r.options.slidesToShow&&(s=-2)),a=i*r.options.slidesToShow*s),r.slideCount%r.options.slidesToScroll!=0&&e+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(e>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(e-r.slideCount))*r.slideWidth*-1,a=(r.options.slidesToShow-(e-r.slideCount))*i*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,a=r.slideCount%r.options.slidesToScroll*i*-1))):e+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(e+r.options.slidesToShow-r.slideCount)*r.slideWidth,a=(e+r.options.slidesToShow-r.slideCount)*i),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,a=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),t=!1===r.options.vertical?e*r.slideWidth*-1+r.slideOffset:e*i*-1+a,!0===r.options.variableWidth&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow),t=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===r.options.centerMode&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow+1),t=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(r.$list.width()-n.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,n=0,s=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,e=2*t.slideCount);i<e;)s.push(i),i=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return s},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(s,r){if(r.offsetLeft-i+e(r).outerWidth()/2>-1*n.swipeLeft)return t=r,!1}),Math.abs(e(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
6parseInt(e)}},t)},t.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},t.prototype.initADA=function(){var t=this,i=Math.ceil(t.slideCount/t.options.slidesToShow),n=t.getNavigableIndexes().filter(function(e){return e>=0&&e<t.slideCount});t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){var s=n.indexOf(i);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==s&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+s})}),t.$dots.attr("role","tablist").find("li").each(function(s){var r=n[s];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+s,"aria-controls":"slick-slide"+t.instanceUid+r,"aria-label":s+1+" of "+i,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=t.currentSlide,r=s+t.options.slidesToShow;s<r;s++)t.$slides.eq(s).attr("tabindex",0);t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
6,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each(function(){var t=e(this),i=e(this).attr("data-lazy"),n=e(this).attr("data-srcset"),s=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),a=document.createElement("img");a.onload=function(){t.animate({opacity:0}
vendor: 15,511 bytes, lines 6-7
6,100,function(){n&&(t.attr("srcset",n),s&&t.attr("sizes",s)),t.attr("src",i).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,i])})},a.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,i])},a.src=i})}var i,n,s,r=this;if(!0===r.options.centerMode?!0===r.options.infinite?s=(n=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),s=r.options.slidesToShow/2+1+2+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,s=Math.ceil(n+r.options.slidesToShow),!0===r.options.fade&&(n>0&&n--,s<=r.slideCount&&s++)),i=r.$slider.find(".slick-slide").slice(n,s),"anticipated"===r.options.lazyLoad)for(var a=n-1,o=s,l=r.$slider.find(".slick-slide"),d=0;d<r.options.slidesToScroll;d++)a<0&&(a=r.slideCount-1),i=(i=i.add(l.eq(a))).add(l.eq(o)),a--,o++;t(i),r.slideCount<=r.options.slidesToShow?t(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?t(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&t(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&e(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var i,n,s,r,a,o=this,l=e("img[data-lazy]",o.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),s=i.attr("data-srcset"),r=i.attr("data-sizes")||o.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){s&&(i.attr("srcset",s),r&&i.attr("sizes",r)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===o.options.adaptiveHeight&&o.setPosition(),o.$slider.trigger("lazyLoaded",[o,i,n]),o.progressiveLazyLoad()},a.onerror=function(){t<3?setTimeout(function(){o.progressiveLazyLoad(t+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,i,n]),o.progressiveLazyLoad())},a.src=n):o.$slider.trigger("allImagesLoaded",[o])},t.prototype.refresh=function(t){var i,n,s=this;n=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>n&&(s.currentSlide=n),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),i=s.currentSlide,s.destroy(!0),e.extend(s,s.initials,{currentSlide:i}),s.init(),t||s.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,n,s=this,r=s.options.responsive||null;if("array"===e.type(r)&&r.length){s.respondTo=s.options.respondTo||"window";for(t in r)if(n=s.breakpoints.length-1,r.hasOwnProperty(t)){for(i=r[t].breakpoint;n>=0;)s.breakpoints[n]&&s.breakpoints[n]===i&&s.breakpoints.splice(n,1),n--;s.breakpoints.push(i),s.breakpointSettings[i]=r[t].settings}s.breakpoints.sort(function(e,t){return s.options.mobileFirst?e-t:t-e})}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var n=this;return e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,!(n.slideCount<1||e<0||e>n.slideCount-1)&&(n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(e).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit(),void 0)},t.prototype.setCSS=function(e){var t,i,n=this,s={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",s[n.positionProp]=e,!1===n.transformsEnabled?n.$slideTrack.css(s):(s={},!1===n.cssTransitions?(s[n.animType]="translate("+t+", "+i+")",n.$slideTrack.css(s)):(s[n.animType]="translate3d("+t+", "+i+", 0px)",n.$slideTrack.css(s)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,i=this;i.$slides.each(function(n,s){t=i.slideWidth*n*-1,!0===i.options.rtl?e(s).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}):e(s).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,i,n,s,r,a=this,o=!1;if("object"===e.type(arguments[0])?(n=arguments[0],o=arguments[1],r="multiple"):"string"===e.type(arguments[0])&&(n=arguments[0],s=arguments[1],o=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)a.options[n]=s;else if("multiple"===r)e.each(n,function(e,t){a.options[e]=t});else if("responsive"===r)for(i in s)if("array"!==e.type(a.options.responsive))a.options.responsive=[s[i]];else{ 7for(t=a.options.responsive.length-1;t>=0;)a.options.responsive[t].breakpoint===s[i].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(s[i])}o&&(a.unload(),a.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,i,n,s,r=this;if(i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(e).addClass("slick-current"),!0===r.options.centerMode){var a=r.options.slidesToShow%2==0?1:0;t=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(e>=t&&e<=r.slideCount-1-t?r.$slides.slice(e-t+a,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(n=r.options.slidesToShow+e,i.slice(n-t+1+a,n+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):e===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=r.slideCount-r.options.slidesToShow?r.$slides.slice(e,e+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(s=r.slideCount%r.options.slidesToShow,n=!0===r.options.infinite?r.options.slidesToShow+e:e,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-e<r.options.slidesToShow?i.slice(n-(r.options.slidesToShow-s),n+s).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},t.prototype.setupInfinite=function(){var t,i,n,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(i=null,s.slideCount>s.options.slidesToShow)){for(n=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,t=s.slideCount;t>s.slideCount-n;t-=1)i=t-1,e(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(t=0;t<n+s.slideCount;t+=1)i=t,e(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},t.prototype.interrupt=function(e){var t=this;e||t.autoPlay(),t.interrupted=e},t.prototype.selectHandler=function(t){var i=this,n=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),s=parseInt(n.attr("data-slick-index"));s||(s=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(s,!1,!0):i.slideHandler(s)},t.prototype.slideHandler=function(e,t,i){var n,s,r,a,o,l=null,d=this;if(t=t||!1,!(!0===d.animating&&!0===d.options.waitForAnimate||!0===d.options.fade&&d.currentSlide===e))if(!1===t&&d.asNavFor(e),n=e,l=d.getLeft(n),a=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?a:d.swipeLeft,!1===d.options.infinite&&!1===d.options.centerMode&&(e<0||e>d.getDotCount()*d.options.slidesToScroll))!1===d.options.fade&&(n=d.currentSlide,!0!==i?d.animateSlide(a,function(){d.postSlide(n)}):d.postSlide(n));else if(!1===d.options.infinite&&!0===d.options.centerMode&&(e<0||e>d.slideCount-d.options.slidesToScroll))!1===d.options.fade&&(n=d.currentSlide,!0!==i?d.animateSlide(a,function(){d.postSlide(n)}):d.postSlide(n));else{if(d.options.autoplay&&clearInterval(d.autoPlayTimer),s=n<0?d.slideCount%d.options.slidesToScroll!=0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+n:n>=d.slideCount?d.slideCount%d.options.slidesToScroll!=0?0:n-d.slideCount:n,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,s]),r=d.currentSlide,d.currentSlide=s,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(o=(o=d.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),!0===d.options.fade)return!0!==i?(d.fadeSlideOut(r),d.fadeSlide(s,function(){d.postSlide(s)})):d.postSlide(s),void d.animateHeight();!0!==i?d.animateSlide(l,function(){d.postSlide(s)}):d.postSlide(s)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,n,s=this;return e=s.touchObject.startX-s.touchObject.curX,t=s.touchObject.startY-s.touchObject.curY,i=Math.atan2(t,e),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0?!1===s.options.rtl?"left":"right":n<=360&&n>=315?!1===s.options.rtl?"left":"right":n>=135&&n<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mou
7se")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,n,s,r,a,o=this;return r=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!o.dragging||o.scrolling||r&&1!==r.length)&&(t=o.getLeft(o.currentSlide),o.touchObject.curX=void 0!==r?r[0].pageX:e.clientX,o.touchObject.curY=void 0!==r?r[0].pageY:e.clientY,o.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(o.touchObject.curX-o.touchObject.startX,2))),a=Math.round(Math.sqrt(Math.pow(o.touchObject.curY-o.touchObject.startY,2))),!o.options.verticalSwiping&&!o.swiping&&a>4?(o.scrolling=!0,!1):(!0===o.options.verticalSwiping&&(o.touchObject.swipeLength=a),i=o.swipeDirection(),void 0!==e.originalEvent&&o.touchObject.swipeLength>4&&(o.swiping=!0,e.preventDefault()),s=(!1===o.options.rtl?1:-1)*(o.touchObject.curX>o.touchObject.startX?1:-1),!0===o.options.verticalSwiping&&(s=o.touchObject.curY>o.touchObject.startY?1:-1),n=o.touchObject.swipeLength,o.touchObject.edgeHit=!1,!1===o.options.infinite&&(0===o.currentSlide&&"right"===i||o.currentSlide>=o.getDotCount()&&"left"===i)&&(n=o.touchObject.swipeLength*o.options.edgeFriction,o.touchObject.edgeHit=!0),!1===o.options.vertical?o.swipeLeft=t+n*s:o.swipeLeft=t+n*(o.$list.height()/o.listWidth)*s,!0===o.options.verticalSwiping&&(o.swipeLeft=t+n*s),!0!==o.options.fade&&!1!==o.options.touchMove&&(!0===o.animating?(o.swipeLeft=null,!1):void o.setCSS(o.swipeLeft))))},t.prototype.swipeStart=function(e){var t,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0,void 0)},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,i,n=this,s=arguments[0],r=Array.prototype.slice.call(arguments,1
7),a=n.length;for(e=0;e<a;e++)if("object"==typeof s||void 0===s?n[e].slick=new t(n[e],s):i=n[e].slick[s].apply(n[e].slick,r),void 0!==i)return i;return n}}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,function(){"use strict";function e(e,t){var i=[],n=0;if(e&&!t&&e instanceof u)return e;if(e)if("string"==typeof e){var s,r,a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){var o="div";for(0===a.indexOf("<li")&&(o="ul"),0===a.indexOf("<tr")&&(o="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(o="tr"),0===a.indexOf("<tbody")&&(o="table"),0===a.indexOf("<option")&&(o="select"),(r=d.createElement(o)).innerHTML=a,n=0;n<r.childNodes.length;n+=1)i.push(r.childNodes[n])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||d).querySelectorAll(e.trim()):[d.getElementById(e.trim().split("#")[1])],n=0;n<s.length;n+=1)s[n]&&i.push(s[n])}else if(e.nodeType||e===c||e===d)i.push(e);else if(e.length>0&&e[0].nodeType)for(n=0;n<e.length;n+=1)i.push(e[n]);return new u(i)}function t(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}function i(t){var i=this.touchEventsData,n=this.params,s=this.touches;if(!this.animating||!n.preventInteractionOnTransition){var r=t;r.originalEvent&&(r=r.originalEvent);var a=e(r.target);if(("wrapper"!==n.touchEventsTarget||a.closest(this.wrapperEl).length)&&(i.isTouchEvent="touchstart"===r.type,(i.isTouchEvent||!("which"in r)||3!==r.which)&&!(!i.isTouchEvent&&"button"in r&&r.button>0||i.isTouched&&i.isMoved)))if(n.noSwiping&&a.closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])this.allowClick=!0;else if(!n.swipeHandler||a.closest(n.swipeHandler)[0]){s.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,s.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var o=s.currentX,l=s.currentY,u=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,p=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!u||!(o<=p||o>=c.screen.width-p)){if(h.extend(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=o,s.startY=l,i.touchStartTime=h.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,n.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==r.type){var f=!0;a.is(i.formElements)&&(f=!1),d.activeElement&&e(d.activeElement).is(i.formElements)&&d.activeElement!==a[0]&&d.activeElement.blur();var m=f&&this.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||m)&&r.preventDefault()}this.emit("touchStart",r)}}}}function n(t){var i=this.touchEventsData,n=this.params,s=this.touches,r=this.rtlTranslate,a=t;if(a.originalEvent&&(a=a.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==a.type){var o="touchmove"===a.type&&a.targetTouches&&(a.targetTouches[0]||a.changedTouches[0]),l="touchmove"===a.type?o.pageX:a.pageX,c="touchmove"===a.type?o.pageY:a.pageY;if(a.preventedByNestedSwiper)return s.startX=l,void(s.startY=c);if(!this.allowTouchMove)return this.allowClick=!1,void(i.isTouched&&(h.extend(s,{startX:l,startY:c,currentX:l,currentY:c}),i.touchStartTime=h.now()));if(i.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(this.isVertical()){if(c<s.startY&&this.translate<=this.maxTranslate()||c>s.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<s.startX&&this.translate<=this.maxTranslate()||l>s.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&d.activeElement&&a.target===d.activeElement&&e(a.target).is(i.formElements))return i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",a),!(a.targetTouches&&a.targetTouches.length>1)){s.currentX=l,s.currentY=c;var u=s.currentX-s.startX,p=s.currentY-s.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(p,2))<this.params.threshold)){var f;if(void 0===i.isScrolling&&(this.isHorizontal()&&s.currentY===s.startY||this.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:u*u+p*p>=25&&(f=180*Math.atan2(Math.abs(p),Math.abs(u))/Math.PI,i.isScrolling=this.isHorizontal()?f>n.touchAngle:90-f>
7n.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",a),void 0===i.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,n.cssMode||a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation(),i.isMoved||(n.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!n.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",a)),this.emit("sliderMove",a),i.isMoved=!0;var m=this.isHorizontal()?u:p;s.diff=m,m*=n.touchRatio,r&&(m=-m),this.swipeDirection=m>0?"prev":"next",i.currentTranslate=m+i.startTranslate;var v=!0,g=n.resistanceRatio;if(n.touchReleaseOnEdges&&(g=0),m>0&&i.currentTranslate>this.minTranslate()?(v=!1,n.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+m,g))):m<0&&i.currentTranslate<this.maxTranslate()&&(v=!1,n.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-m,g))),v&&(a.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.threshold>0){if(!(Math.abs(m)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
7if(!i.allowThresholdMove)return i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,void(s.diff=this.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),n.freeMode&&(0===i.velocities.length&&i.velocities.push({position:s[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:s[this.isHorizontal()?"currentX":"currentY"],time:h.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",a)}function s(e){var t=this,i=t.touchEventsData,n=t.params,s=t.touches,r=t.rtlTranslate,a=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=h.now(),p=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),p<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=h.now(),h.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,c=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){var f=i.velocities.pop(),m=i.velocities.pop(),v=f.position-m.position,g=f.time-m.time;t.velocity=v/g,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(g>150||h.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;
7var y=1e3*n.freeModeMomentumRatio,b=t.velocity*y,w=t.translate+b;r&&(w=-w);var x,T,C=!1,S=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(w<t.maxTranslate())n.freeModeMomentumBounce?(w+t.maxTranslate()<-S&&(w=t.maxTranslate()-S),x=t.maxTranslate(),C=!0,i.allowMomentumBounce=!0):w=t.maxTranslate(),n.loop&&n.centeredSlides&&(T=!0);else if(w>t.minTranslate())n.freeModeMomentumBounce?(w-t.minTranslate()>S&&(w=t.minTranslate()+S),x=t.minTranslate(),C=!0,i.allowMomentumBounce=!0):w=t.minTranslate(),n.loop&&n.centeredSlides&&(T=!0);else if(n.freeModeSticky){for(var E,k=0;k<l.length;k+=1)if(l[k]>-w){E=k;break}w=-(w=Math.abs(l[E]-w)<Math.abs(l[E-1]-w)||"next"===t.swipeDirection?l[E]:l[E-1])}if(T&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity){if(y=r?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity),n.freeModeSticky){var $=Math.abs((r?-w:w)-t.translate),A=t.slidesSizesGrid[t.activeIndex];y=$<A?n.speed:$<2*A?1.5*n.speed:2.5*n.speed}}else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&C?(t.updateProgress(x),t.setTransition(y),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),t.setTranslate(x),a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(w),t.setTransition(y),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(w),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||p>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var _=0,P=t.slidesSizesGrid[0],M=0;M<o.length;M+=M<n.slidesPerGroupSkip?1:n.slidesPerGroup){var D=M<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==o[M+D]?c>=o[M]&&c<o[M+D]&&(_=M,P=o[M+D]-o[M]):c>=o[M]&&(_=M,P=o[o.length-1]-o[o.length-2])}var L=(c-o[_])/P,z=_<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(p>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(L>=n.longSwipesRatio?t.slideTo(_+z):t.slideTo(_)),"prev"===t.swipeDirection&&(L>1-n.longSwipesRatio?t.slideTo(_+z):t.slideTo(_))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(_+z),"prev"===t.swipeDirection&&t.slideTo(_)):d.target===t.navigation.nextEl?t.slideTo(_+z):t.slideTo(_)}}}function r(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,n=this.allowSlidePrev,s=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=n,this.allowSlideNext=i,this.params.watchOverflow&&s!==this.snapGrid&&this.checkOverflow()}}function a(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function o(){var e=this.wrapperEl;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var t=this.maxTranslate()-this.minTranslate();(0===t?0:(this.translate-this.minTranslate())/t)!==this.progress&&this.updateProgress(this.translate),this.emit("setTranslate",this.translate,!1)}function l(){}var d="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,c="undefined"==typeof window?{document:d,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,u=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};e.fn=u.prototype,e.Class=u,e.Dom7=u;var p={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===i.length)this[n].setAttribute(e,t);else for(var s in e)this[n][s]=e[s],this[n].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var n=0;n<this.length;n+=1)(i=this[n]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var s=i.getAttribute("data-"+e);return s||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){function t(t){var i=t.target;if(i){var n=t.target.dom7EventData||[];if(n.indexOf(t)<0&&n.unshift(t),e(i).is(o))l.apply(i,n);else for(var s=e(i).parents(),r=0;r<s.length;r+=1)e(s[r]).is(o)&&l.apply(s[r],n)}}function i(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),l.apply(this,t)}for(var n,s=[],r=arguments.length;r--;)s[r]=arguments[r];var a=s[0],o=s[1],l=s[2],d=s[3];"function"==typeof s[1]&&(a=(n=s)[0],l=n[1],d=n[2],o=void 0),d||(d=!1);for(var c,u=a.split(" "),p=0;p<this.length;p+=1){var h=this[p];if(o)for(c=0;c<u.length;c+=1){var f=u[c];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[f]||(h.dom7LiveListeners[f]=[]),h.dom7LiveListeners[f].push({listener:l,proxyListener:t}),h.addEventListener(f,t,d)}else for(c=0;c<u.length;c+=1){var m=u[c];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[m]||(h.dom7Listeners[m]=[]),h.dom7Listeners[m].push({listener:l,proxyListener:i}),h.addEventListener(m,i,d)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=t[0],s=t[1],r=t[2],a=t[3];"function"==typeof t[1]&&(n=(e=t)[0],r=e[1],a=e[2],s=void 0),a||(a=!1);for(var o=n.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],c=0;c<this.length;c+=1){var u=this[c],p=void 0;if(!s&&u.dom7Listeners?p=u.dom7Listeners[d]:s&&u.dom7LiveListeners&&(p=u.dom7LiveListeners[d]),p&&p.length)for(var h=p.length-1;h>=0;h-=1){var f=p[h];r&&f.listener===r?(u.removeEventListener(d,f.proxyListener,a),p.splice(h,1)):r&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===r?(u.removeEventListener(d,f.proxyListener,a),p.splice(h,1)):r||(u.removeEventListener(d,f.proxyListener,a),p.splice(h,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=e[0].split(" "),n=e[1],s=0;s<i.length;s+=1)for(var r=i[s],a=0;a<this.length;a+=1){var o=this[a],l=void 0;try{l=new c.CustomEvent(r,{detail:n,bubbles:!0,cancelable:!0})}catch(c){(l=d.createEvent("Event")).initEvent(r,!0,!0),l.detail=n}o.dom7EventData=e.filter(function(e,t){return t>0}),o.dispatchEvent(l),o.dom7EventData=[],delete o.dom7EventData}return this},transitionEnd:function(e){function t(r){if(r.target===this)for(e.call(this,r),i=0;i<n.length;i+=1)s.off(n[i],t)}var i,n=["webkitTransitionEnd","transitionend"],s=this;if(e)for(i=0;i<n.length;i+=1)s.on(n[i],t);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+
vendor: 7,193 bytes, lines 7-8
7parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),i=d.body,n=e.clientTop||i.clientTop||0,s=e.clientLeft||i.clientLeft||0,r=e===c?c.scrollY:e.scrollTop,a=e===c?c.scrollX:e.scrollLeft;return{top:t.top+r-n,left:t.left+a-s}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return c.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(t){var i,n,s=this[0];if(!s||void 0===t)return!1;if("string"==typeof t){if(s.matches)return s.matches(t);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(t);if(s.msMatchesSelector)return s.msMatchesSelector(t);for(i=e(t),n=0;n<i.length;n+=1)if(i[n]===s)return!0;return!1}if(t===d)return s===d;if(t===c)return s===c;if(t.nodeType||t instanceof u){for(i=t.nodeType?[t]:t,n=0;n<i.length;n+=1)if(i[n]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new u(e>i-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var n=0;n<t.length;n+=1){e=t[n];for(var s=0;s<this.length;s+=1)if("string"==typeof e){var r=d.createElement("div");for(r.innerHTML=e;r.firstChild;)this[s].appendChild(r.firstChild)}else if(e instanceof u)for(var a=0;a<e.length;a+=1)this[s].appendChild(e[a]);else this[s].appendChild(e)}return this},prepend:function(e){var t,i;for(t=0;t<this.length;t+=1)if("string"==typeof e){var n=d.createElement("div");for(n.innerHTML=e,i=n.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(n.childNodes[i],this[t].childNodes[0])}else if(e instanceof u)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(t){return new u(this.length>0?t?this[0].nextElementSibling&&e(this[0].nextElementSibling).is(t)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(t){var i=[],n=this[0];if(!n)return new u([]);for(;n.nextElementSibling;){var s=n.nextElementSibling;t?e(s).is(t)&&i.push(s):i.push(s),n=s}return new u(i)},prev:function(t){if(this.length>0){var i=this[0];return new u(t?i.previousElementSibling&&e(i.previousElementSibling).is(t)?[i.previousElementSibling]:[]:i.previousElementSibling?[i.previousElementSibling]:[]); 8}return new u([])},prevAll:function(t){var i=[],n=this[0];if(!n)return new u([]);for(;n.previousElementSibling;){var s=n.previousElementSibling;t?e(s).is(t)&&i.push(s):i.push(s),n=s}return new u(i)},parent:function(i){for(var n=[],s=0;s<this.length;s+=1)null!==this[s].parentNode&&(i?e(this[s].parentNode).is(i)&&n.push(this[s].parentNode):n.push(this[s].parentNode));return e(t(n))},parents:function(i){for(var n=[],s=0;s<this.length;s+=1)for(var r=this[s].parentNode;r;)i?e(r).is(i)&&n.push(r):n.push(r),r=r.parentNode;return e(t(n))},closest:function(e){var t=this;return void 0===e?new u([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var n=this[i].querySelectorAll(e),s=0;s<n.length;s+=1)t.push(n[s]);return new u(t)},children:function(i){for(var n=[],s=0;s<this.length;s+=1)for(var r=this[s].childNodes,a=0;a<r.length;a+=1)i?1===r[a].nodeType&&e(r[a]).is(i)&&n.push(r[a]):1===r[a].nodeType&&n.push(r[a]);return new u(t(n))},filter:function(e){for(var t=[],i=0;i<this.length;i+=1)e.call(this[i],i,this[i])&&t.push(this[i]);return new u(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var n,s;for(n=0;n<t.length;n+=1){var r=e(t[n]);for(s=0;s<r.length;s+=1)this[this.length]=r[s],this.length+=1}return this},styles:function(){return this[0]?c.getComputedStyle(this[0],null):{}}};Object.keys(p).forEach(function(t){e.fn[t]=e.fn[t]||p[t]});var h={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){var i,n,s;void 0===t&&(t="x");var r=c.getComputedStyle(e,null);return c.WebKitCSSMatrix?((n=r.transform||r.webkitTransform).split(",").length>6&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new c.WebKitCSSMatrix("none"===n?"":n)):i=(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=c.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=c.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0},parseUrlQuery:function(e){var t,i,n,s,r={},a=e||c.location.href;if("string"==typeof a&&a.length)for(s=(i=(a=a.indexOf("?")>-1?a.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<s;t+=1)n=i[t].replace(/#\S+/g,"").split("="),r[decodeURIComponent(n[0])]=void 0===n[1]?void 0:decodeURIComponent(n[1])||"";return r},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),n=1;n<e.length;n+=1){var s=e[n];if(null!=s)for(var r=Object.keys(Object(s)),a=0,o=r.length;a<o;a+=1){var l=r[a],d=Object.getOwnPropertyDescriptor(s,l);void 0!==d&&d.enumerable&&(h.isObject(i[l])&&h.isObject(s[l])?h.extend(i[l],s[l]):!h.isObject(i[l])&&h.isObject(s[l])?(i[l]={},h.extend(i[l],s[l])):i[l]=s[l])}}return i}},f={touch:c.Modernizr&&!0===c.Modernizr.touch||!!(c.navigator.maxTouchPoints>0||"ontouchstart"in c||c.DocumentTouch&&d instanceof c.DocumentTouch),pointerEvents:!!c.PointerEvent&&"maxTouchPoints"in c.navigator&&c.navigator.maxTouchPoints>0,observer:"MutationObserver"in c||"WebkitMutationObserver"in c,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});c.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in c},m=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={}
8,t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},v={components:{configurable:!0}};m.prototype.on=function(e,t,i){var n=this;if("function"!=typeof t)return n;var s=i?"unshift":"push";return e.split(" ").forEach(function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)}),n},m.prototype.once=function(e,t,i){function n(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];s.off(e,n),n.f7proxy&&delete n.f7proxy,t.apply(s,i)}var s=this;return"function"!=typeof t?s:(n.f7proxy=t,s.on(e,n,i))},m.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach(function(n,s){(n===t||n.f7proxy&&n.f7proxy===t)&&i.eventsListeners[e].splice(s,1)})}),i):i},m.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,n,s,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),s=r):(i=e[0].events,n=e[0].data,s=e[0].context||r);var a=Array.isArray(i)?i:i.split(" ");return a.forEach(function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(s,n)})}}),r},m.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i];n.params&&h.extend(e,n.params)})},m.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i],s=e[i]||{};n.instance&&Object.keys(n.instance).forEach(function(e){var i=n.instance[e];t[e]="function"==typeof i?i.bind(t):i}),n.on&&t.on&&Object.keys(n.on).forEach(function(e){t.on(e,n.on[e])}),n.create&&n.create.bind(t)(s)})},v.components.set=function(e){this.use&&this.use(e)},m.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;n.prototype.modules||(n.prototype.modules={});var s=e.name||Object.keys(n.prototype.modules).length+"_"+h.now();return n.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach(function(t){n.prototype[t]=e.proto[t]}),e["static"]&&Object.keys(e["static"]).forEach(function(t){n[t]=e["static"][t]}),e.install&&e.install.apply(n,t),n},m.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;return Array.isArray(e)?(e.forEach(function(e){return n.installModule(e)}),n):n.installModule.apply(n,[e].concat(t))},Object.defineProperties(m,v);var g,y,b,w,x,T,C,S,E,k,$,A,_,P,M,D={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),h.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){function e(e){return!t.cssMode||e!==l.length-1}var t=this.params,i=this.$wrapperEl,n=this.size,s=this.rtlTranslate,r=this.wrongRTL,a=this.virtual&&t.virtual.enabled,o=a?this.virtual.slides.length:this.slides.length,l=i.children("."+this.params.slideClass),d=a?this.virtual.slides.length:l.length,u=[],p=[],f=[],m=t.slidesOffsetBefore;"function"==typeof m&&(m=t.slidesOffsetBefore.call(this));var v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(this));var g=this.snapGrid.length,y=this.snapGrid.length,b=t.spaceBetween,w=-m,x=0,T=0;if(void 0!==n){var C,S;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*n),this.virtualSize=-b,s?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(C=Math.floor(d/t.slidesPerColumn)===d/this.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(C=Math.max(C,t.slidesPerView*t.slidesPerColumn)));for(var E,k=t.slidesPerColumn,$=C/k,A=Math.floor(d/t.slidesPerColumn),_=0;_<d;_+=1){S=0;var P=l.eq(_);
8if(t.slidesPerColumn>1){var M=void 0,D=void 0,L=void 0;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){var z=Math.floor(_/(t.slidesPerGroup*t.slidesPerColumn)),O=_-t.slidesPerColumn*t.slidesPerGroup*z,I=0===z?t.slidesPerGroup:Math.min(Math.ceil((d-z*k*t.slidesPerGroup)/k),t.slidesPerGroup);M=(D=O-(L=Math.floor(O/I))*I+z*t.slidesPerGroup)+L*C/k,P.css({"-webkit-box-ordinal-group":M,"-moz-box-ordinal-group":M,"-ms-flex-order":M,"-webkit-order":M,order:M})}else"column"===t.slidesPerColumnFill?(L=_-(D=Math.floor(_/k))*k,(D>A||D===A&&L===k-1)&&(L+=1)>=k&&(L=0,D+=1)):D=_-(L=Math.floor(_/$))*$;P.css("margin-"+(this.isHorizontal()?"top":"left"),0!==L&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==P.css("display")){if("auto"===t.slidesPerView){var j=c.getComputedStyle(P[0],null),F=P[0].style.transform,H=P[0].style.webkitTransform;if(F&&(P[0].style.transform="none"),H&&(P[0].style.webkitTransform="none"),t.roundLengths)S=this.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0);else if(this.isHorizontal()){var N=parseFloat(j.getPropertyValue("width")),q=parseFloat(j.getPropertyValue("padding-left")),R=parseFloat(j.getPropertyValue("padding-right")),B=parseFloat(j.getPropertyValue("margin-left")),W=parseFloat(j.getPropertyValue("margin-right")),V=j.getPropertyValue("box-sizing");S=V&&"border-box"===V?N+B+W:N+q+R+B+W}else{var X=parseFloat(j.getPropertyValue("height")),G=parseFloat(j.getPropertyValue("padding-top")),Y=parseFloat(j.getPropertyValue("padding-bottom")),U=parseFloat(j.getPropertyValue("margin-top")),Q=parseFloat(j.getPropertyValue("margin-bottom")),K=j.getPropertyValue("box-sizing");S=K&&"border-box"===K?X+U+Q:X+G+Y+U+Q}F&&(P[0].style.transform=F),H&&(P[0].style.webkitTransform=H),t.roundLengths&&(S=Math.floor(S))}else S=(n-(t.slidesPerView-1)*b)/t.slidesPerView,t.roundLengths&&(S=Math.floor(S)),l[_]&&(this.isHorizontal()?l[_].style.width=S+"px":l[_].style.height=S+"px");l[_]&&(l[_].swiperSlideSize=S),f.push(S),t.centeredSlides?(w=w+S/2+x/2+b,0===x&&0!==_&&(w=w-n/2-b),0===_&&(w=w-n/2-b),Math.abs(w)<.001&&(w=0),t.roundLengths&&(w=Math.floor(w)),T%t.slidesPerGroup==0&&u.push(w),p.push(w)):(t.roundLengths&&(w=Math.floor(w)),(T-Math.min(this.params.slidesPerGroupSkip,T))%this.params.slidesPerGroup==0&&u.push(w),p.push(w),w=w+S+b),this.virtualSize+=S+b,x=S,T+=1}}if(this.virtualSize=Math.max(this.virtualSize,n)+v,s&&r&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:this.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(this.isHorizontal()?i.css({width:this.virtualSize+t.spaceBetween+"px"}):i.css({height:this.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(this.virtualSize=(S+t.spaceBetween)*C,this.virtualSize=Math.ceil(this.virtualSize/t.slidesPerColumn)-t.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+t.spaceBetween+"px"}):i.css({height:this.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){E=[];for(var Z=0;Z<u.length;Z+=1){var J=u[Z];t.roundLengths&&(J=Math.floor(J)),u[Z]<this.virtualSize+u[0]&&E.push(J)}u=E}if(!t.centeredSlides){E=[];for(var ee=0;ee<u.length;ee+=1){var te=u[ee];t.roundLengths&&(te=Math.floor(te)),u[ee]<=this.virtualSize-n&&E.push(te)}u=E,Math.floor(this.virtualSize-n)-Math.floor(u[u.length-1])>1&&u.push(this.virtualSize-n)}if(0===u.length&&(u=[0]),0!==t.spaceBetween&&(this.isHorizontal()?s?l.filter(e).css({marginLeft:b+"px"}):l.filter(e).css({marginRight:b+"px"}):l.filter(e).css({marginBottom:b+"px"})),t.centeredSlides&&t.centeredSlidesBounds){var ie=0;f.forEach(function(e){ie+=e+(t.spaceBetween?t.spaceBetween:0)});var ne=(ie-=t.spaceBetween)-n;u=u.map(function(e){return e<0?-m:e>ne?ne+v:e})}if(t.centerInsufficientSlides){var se=0;if(f.forEach(function(e){se+=e+(t.spaceBetween?t.spaceBetween:0)}),(se-=t.spaceBetween)<n){var re=(n-se)/2;u.forEach(function(e,t){u[t]=e-re}),p.forEach(function(e,t){p[t]=e+re})}}h.extend(this,{slides:l,snapGrid:u,slidesGrid:p,slidesSizesGrid:f}),d!==o&&this.emit("slidesLengthChange"),u.length!==g&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),p.length!==y&&this.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],n=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var s=this.activeIndex+t;if(s>this.slides.length)break;i.push(this.slides.eq(s)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;n=r>n?r:n}n&&this.$wrapperEl.css("height",n+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);var i=this.params,n=this.slides,s=this.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();var r=-t;s&&(r=t),n.removeClass(i.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var a=0;a<n.length;a+=1){var o=n[a],l=(r+(i.centeredSlides?this.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility){var d=-(r-o.swiperSlideOffset),c=d+this.slidesSizesGrid[a];(d>=0&&d<this.size-1||c>1&&c<=this.size||d<=0&&c>=this.size)&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(a),n.eq(a).addClass(i.slideVisibleClass))}o.progress=s?-l:l}this.visibleSlides=e(this.visibleSlides)}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var i=this.params,n=this.maxTranslate()-this.minTranslate(),s=this.progress,r=this.isBeg
8inning,a=this.isEnd,o=r,l=a;0===n?(s=0,r=!0,a=!0):(r=(s=(e-this.minTranslate())/n)<=0,a=s>=1),h.extend(this,{progress:s,isBeginning:r,isEnd:a}),(i.watchSlidesProgress||i.watchSlidesVisibility)&&this.updateSlidesProgress(e),r&&!o&&this.emit("reachBeginning toEdge"),a&&!l&&this.emit("reachEnd toEdge"),(o&&!r||l&&!a)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,n=this.$wrapperEl,s=this.activeIndex,r=this.realIndex,a=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+s+'"]'):t.eq(s)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);
8i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,n=this.slidesGrid,s=this.snapGrid,r=this.params,a=this.activeIndex,o=this.realIndex,l=this.snapIndex,d=e;if(void 0===d){for(var c=0;c<n.length;c+=1)void 0!==n[c+1]?i>=n[c]&&i<n[c+1]-(n[c+1]-n[c])/2?d=c:i>=n[c]&&i<n[c+1]&&(d=c+1):i>=n[c]&&(d=c);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(s.indexOf(i)>=0)t=s.indexOf(i);else{var u=Math.min(r.slidesPerGroupSkip,d);t=u+Math.floor((d-u)/r.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),d!==a){var p=parseInt(this.slides.eq(d).attr("data-swiper-slide-index")||d,10);h.extend(this,{snapIndex:t,realIndex:p,previousIndex:a,activeIndex:d}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==p&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(t){var i=this.params,n=e(t.target).closest("."+i.slideClass)[0],s=!1;if(n)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===n&&(s=!0);return n&&s?(this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(e(n).attr("data-swiper-slide-index"),10):this.clickedIndex=e(n).index(),i.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide(),void 0):(this.clickedSlide=void 0,void(this.clickedIndex=void 0))}},L={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,n=this.translate,s=this.$wrapperEl;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;var r=h.getTranslate(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,n=this.params,s=this.$wrapperEl,r=this.wrapperEl,a=this.progress,o=0,l=0;this.isHorizontal()?o=i?-e:e:l=e,n.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),n.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-l:n.virtualTranslate||s.transform("translate3d("+o+"px, "+l+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:l;var d=this.maxTranslate()-this.minTranslate();(0===d?0:(e-this.minTranslate())/d)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,s){var r;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);var a=this,o=a.params,l=a.wrapperEl;if(a.animating&&o.preventInteractionOnTransition)return!1;var d,c=a.minTranslate(),u=a.maxTranslate();if(d=n&&e>c?c:n&&e<u?u:e,a.updateProgress(d),o.cssMode){var p=a.isHorizontal();return 0===t?l[p?"scrollLeft":"scrollTop"]=-d:l.scrollTo?l.scrollTo(((r={})[p?"left":"top"]=-d,r.behavior="smooth",r)):l[p?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(a.setTransition(0),a.setTranslate(d),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(d),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,i&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}},z={setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit
8("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.params,s=this.previousIndex;if(!n.cssMode){n.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),this.emit("transitionStart"),e&&i!==s){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.previousIndex,s=this.params;if(this.animating=!1,!s.cssMode){this.setTransition(0);var r=t;if(r||(r=i>n?"next":i<n?"prev":"reset"),this.emit("transitionEnd"),e&&i!==n){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===r?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}}},O={slideTo:function(e,t,i,n){var s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var r=this,a=e;a<0&&(a=0);var o=r.params,l=r.snapGrid,d=r.slidesGrid,c=r.previousIndex,u=r.activeIndex,p=r.rtlTranslate,h=r.wrapperEl;if(r.animating&&o.preventInteractionOnTransition)return!1;var f=Math.min(r.params.slidesPerGroupSkip,a),m=f+Math.floor((a-f)/r.params.slidesPerGroup);m>=d.length&&(m=d.length-1),(u||o.initialSlide||0)===(c||0)&&i&&r.emit("beforeSlideChangeStart");var v,g=-l[m];if(r.updateProgress(g),o.normalizeSlideIndex)for(var y=0;y<d.length;y+=1)-Math.floor(100*g)>=Math.floor(100*d[y])&&(a=y);if(r.initialized&&a!==u){if(!r.allowSlideNext&&g<r.translate&&g<r.minTranslate())return!1;if(!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(u||0)!==a)return!1}if(v=a>u?"next":a<u?"prev":"reset",p&&-g===r.translate||!p&&g===r.translate)return r.updateActiveIndex(a),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(g),"reset"!==v&&(r.transitionStart(i,v),r.transitionEnd(i,v)),!1;if(o.cssMode){var b=r.isHorizontal();return 0===t?h[b?"scrollLeft":"scrollTop"]=-g:h.scrollTo?h.scrollTo(((s={})[b?"left":"top"]=-g,s.behavior="smooth",s)):h[b?"scrollLeft":"scrollTop"]=-g,!0}return 0===t?(r.setTransition(0),r.setTranslate(g),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,v),r.transitionEnd(i,v)):(r.setTransition(t),r.setTranslate(g),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,v),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,v))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,r=this.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+r,e,t,i)},slidePrev:function(e,t,i){function n(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,r=this.animating,a=this.snapGrid,o=this.slidesGrid,l=this.rtlTranslate;if(s.loop){if(r)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}var d,c=n(l?this.translate:-this.translate),u=a.map(function(e){return n(e)}),p=(o.map(function(e){return n(e)}),a[u.indexOf(c)],a[u.indexOf(c)-1]);return void 0===p&&s.cssMode&&a.forEach(function(e){!p&&c>=e&&(p=e)}),void 0!==p&&(d=o.indexOf(p))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var s=this.activeIndex,r=Math.min(this.params.slidesPerGroupSkip,s),a=r+Math.floor((s-r)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[a]){var l=this.snapGrid[a];o-l>(this.snapGrid[a+1]-l)*n&&(s+=this.params.slidesPerGroup)}else{var d=this.snapGrid[a-1];o-d<=(this.snapGrid[a]-d)*n&&(s-=this.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,this.slidesGrid.length-1),this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var t,i=this,n=i.params,s=i.$wrapperEl,r="auto"===n.slidesPerView?i.slidesPerViewDynamic():n.slidesPerView,a=i.clickedIndex;if(n.loop){if(i.animating)return;t=parseInt(e(i.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<i.loopedSlides-r/2||a>i.slides.length-i.loopedSlides+r/2?(i.loopFix(),a=s.children("."+n.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),h.nextTick(function(){i.slideTo(a)})):i.slideTo(a):a>i.slides.length-r?(i.loopFix(),a=s.children("."+n.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),h.nextTick(function(){i.slideTo(a)})):i.slideTo(a)}else i.slideTo(a)}},I={loopCreate:function(){var t=this,i=t.params,n=t.$wrapperEl;n.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var s=n.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var r=i.slidesPerGroup-s.length%i.slidesPerGroup;if(r!==i.slidesPerGroup){for(var a=0;a<r;a+=1){var o=e(d.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);n.append(o)}s=n.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=s.length),t.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>s.length&&(t.loopedSlides=s.length);var l=[],c=[];s.each(function(i,n){var r=e(n);i<t.loopedSlides&&c.push(n),i<s.length&&i>=s.length-t.loopedSlides&&l.push(n),r.attr("data-swiper-slide-index",i)});for(var u=0;u<c.length;u+=1)n.append(e(c[u].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var p=l.length-1;p>=0;p-=1)n.prepend(e(l[p].cloneNode(!0)).addClass(i.slideDuplicateClass))}
8,loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,n=this.loopedSlides,s=this.allowSlidePrev,r=this.allowSlideNext,a=this.snapGrid,o=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var l=-a[t]-this.getTranslate();t<n?(e=i.length-3*n+t,e+=n,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)):t>=i.length-n&&(e=-i.length+t+n,e+=n,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)),this.allowSlidePrev=s,this.allowSlideNext=r,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},j={setGrabCursor:function(e){if(!(f.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){f.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},F={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.append(e[n]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&f.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&this.loopDestroy();var s=n+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);s=n+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&f.observer||this.update(),this.slideTo(s,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,n=this.params,s=this.activeIndex;n.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+n.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var a=s>e?s+1:s,o=[],l=r-1;l>=e;l-=1){var d=this.slides.eq(l);d.remove(),o.unshift(d)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);a=s>e?s+t.length:s}else i.append(t);for(var u=0;u<o.length;u+=1)i.append(o[u]);n.loop&&this.loopCreate(),n.observer&&f.observer||this.update(),n.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var s,r=n;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)s=e[a],this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1);r=Math.max(r,0)}else s=e,this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&f.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},H=(g=c.navigator.platform,y=c.navigator.userAgent,b={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!c.cordova&&!c.phonegap),phonegap:!(!c.cordova&&!c.phonegap),electron:!1},w=c.screen.width,x=c.screen.height,T=y.match(/(Android);?[\s\/]+([\d.]+)?/),C=y.match(/(iPad).*OS\s([\d_]+)/),S=y.match(/(iPod)(.*OS\s([\d_]+))?/),E=!C&&y.match(/(iPhone\sOS|iOS)\s([\d_]+)/),k=y.indexOf("MSIE ")>=0||y.indexOf("Trident/")>=0,$=y.indexOf("Edge/")>=0,A=y.indexOf("Gecko/")>=0&&y.indexOf("Firefox/")>=0,_="Win32"===g,P=y.toLowerCase().indexOf("electron")>=0,M="MacIntel"===g,!C&&M&&f.touch&&(1024===w&&1366===x||834===w&&1194===x||834===w&&1112===x||768===w&&1024===x)&&(C=y.match(/(Version)\/([\d.]+)/),M=!1),b.ie=k,b.edge=$,b.firefox=A,T&&!_&&(b.os="android",b.osVersion=T[2],b.android=!0,b.androidChrome=y.toLowerCase().indexOf("chrome")>=0),(C||E||S)&&(b.os="ios",b.ios=!0),E&&!S&&(b.osVersion=E[2].replace(/_/g,"."),b.iphone=!0),C&&(b.osVersion=C[2].replace(/_/g,"."),b.ipad=!0),S&&(b.osVersion=S[3]?S[3].replace(/_/g,"."):null,b.ipod=!0),b.i
8os&&b.osVersion&&y.indexOf("Version/")>=0&&"10"===b.osVersion.split(".")[0]&&(b.osVersion=y.toLowerCase().split("version/")[1].split(" ")[0]),b.webView=!(!(E||C||S)||!y.match(/.*AppleWebKit(?!.*Safari)/i)&&!c.navigator.standalone)||c.matchMedia&&c.matchMedia("(display-mode: standalone)").matches,b.webview=b.webView,b.standalone=b.webView,b.desktop=!(b.ios||b.android)||P,b.desktop&&(b.electron=P,b.macos=M,b.windows=_,b.macos&&(b.os="macos"),b.windows&&(b.os="windows")),b.pixelRatio=c.devicePixelRatio||1,b),N=!1,q={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0, 9touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},R={update:D,translate:L,transition:z,slide:O,loop:I,grabCursor:j,manipulation:F,events:{attachEvents:function(){var e=this.params,t=this.touchEvents,c=this.el,u=this.wrapperEl;this.onTouchStart=i.bind(this),this.onTouchMove=n.bind(this),this.onTouchEnd=s.bind(this),e.cssMode&&(this.onScroll=o.bind(this)),this.onClick=a.bind(this);var p=!!e.nested;if(!f.touch&&f.pointerEvents)c.addEventListener(t.start,this.onTouchStart,!1),d.addEventListener(t.move,this.onTouchMove,p),d.addEventListener(t.end,this.onTouchEnd,!1);else{if(f.touch){var h=!("touchstart"!==t.start||!f.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};c.addEventListener(t.start,this.onTouchStart,h),c.addEventListener(t.move,this.onTouchMove,f.passiveListener?{passive:!1,capture:p}:p),c.addEventListener(t.end,this.onTouchEnd,h),t.cancel&&c.addEventListener(t.cancel,this.onTouchEnd,h),N||(d.addEventListener("touchstart",l),N=!0)}(e.simulateTouch&&!H.ios&&!H.android||e.simulateTouch&&!f.touch&&H.ios)&&(c.addEventListener("mousedown",this.onTouchStart,!1),d.addEventListener("mousemove",this.onTouchMove,p),d.addEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&c.addEventListener("click",this.onClick,!0),e.cssMode&&u.addEventListener("scroll",this.onScroll),e.updateOnWindowResize?this.on(H.ios||H.android?"resize orientationchange observerUpdate":"resize observerUpdate",r,!0):this.on("observerUpdate",r,!0)},detachEvents:function(){var e=this.params,t=this.touchEvents,i=this.el,n=this.wrapperEl,s=!!e.nested;
9if(!f.touch&&f.pointerEvents)i.removeEventListener(t.start,this.onTouchStart,!1),d.removeEventListener(t.move,this.onTouchMove,s),d.removeEventListener(t.end,this.onTouchEnd,!1);else{if(f.touch){var a=!("onTouchStart"!==t.start||!f.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(t.start,this.onTouchStart,a),i.removeEventListener(t.move,this.onTouchMove,s),i.removeEventListener(t.end,this.onTouchEnd,a),t.cancel&&i.removeEventListener(t.cancel,this.onTouchEnd,a)}(e.simulateTouch&&!H.ios&&!H.android||e.simulateTouch&&!f.touch&&H.ios)&&(i.removeEventListener("mousedown",this.onTouchStart,!1),d.removeEventListener("mousemove",this.onTouchMove,s),d.removeEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&i.removeEventListener("click",this.onClick,!0),e.cssMode&&n.removeEventListener("scroll",this.onScroll),this.off(H.ios||H.android?"resize orientationchange observerUpdate":"resize observerUpdate",r)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var n=this.params,s=this.$el,r=n.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var a=this.getBreakpoint(r);if(a&&this.currentBreakpoint!==a){var o=a in r?r[a]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var l=o||this.originalParams,d=n.slidesPerColumn>1,c=l.slidesPerColumn>1;d&&!c?s.removeClass(n.containerModifierClass+"multirow "+n.containerModifierClass+"multirow-column"):!d&&c&&(s.addClass(n.containerModifierClass+"multirow"),"column"===l.slidesPerColumnFill&&s.addClass(n.containerModifierClass+"multirow-column"));var u=l.direction&&l.direction!==n.direction,p=n.loop&&(l.slidesPerView!==n.slidesPerView||u);u&&t&&this.changeDirection(),h.extend(this.params,l),h.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=a,p&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",l)}}},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map(function(e){if("string"==typeof e&&e.startsWith("@")){var t=parseFloat(e.substr(1));return{value:c.innerHeight*t,point:e}}return{value:e,point:e}});i.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var n=0;n<i.length;n+=1){var s=i[n],r=s.point;s.value<=c.innerWidth&&(t=r)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?this.isLocked=i<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,n=this.$el,s=[];s.push("initialized"),s.push(t.direction),t.freeMode&&s.push("free-mode"),t.autoHeight&&s.push("autoheight"),i&&s.push("rtl"),t.slidesPerColumn>1&&(s.push("multirow"),"column"===t.slidesPerColumnFill&&s.push("multirow-column")),H.android&&s.push("android"),H.ios&&s.push("ios"),t.cssMode&&s.push("css-mode"),s.forEach(function(i){e.push(t.containerModifierClass+i)}),n.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,n,s,r){function a(){r&&r()}var o;e.complete&&s?a():t?((o=new c.Image).onload=a,o.onerror=a,n&&(o.sizes=n),i&&(o.srcset=i),t&&(o.src=t)):a()},preloadImages:function(){function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(
9),t.emit("imagesReady")))}var t=this;t.imagesToLoad=t.$el.find("img");for(var i=0;i<t.imagesToLoad.length;i+=1){var n=t.imagesToLoad[i];t.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,e)}}}},B={},W=function(t){function i(){for(var n,s,r,a=[],o=arguments.length;o--;)a[o]=arguments[o];1===a.length&&a[0].constructor&&a[0].constructor===Object?r=a[0]:(s=(n=a)[0],r=n[1]),r||(r={}),r=h.extend({},r),s&&!r.el&&(r.el=s),t.call(this,r),Object.keys(R).forEach(function(e){Object.keys(R[e]).forEach(function(t){i.prototype[t]||(i.prototype[t]=R[e][t])})});var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach(function(e){var t=l.modules[e];if(t.params){var i=Object.keys(t.params)[0],n=t.params[i];if("object"!=typeof n||null===n)return;if(!(i in r&&"enabled"in n))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}});var d=h.extend({},q);l.useModulesParams(d),l.params=h.extend({},d,B,r),l.originalParams=h.extend({},l.params),l.passedParams=h.extend({},r),l.$=e;var c=e(l.params.el);if(s=c[0]){if(c.length>1){var u=[];return c.each(function(e,t){var n=h.extend({},r,{el:t});u.push(new i(n))}),u}var p,m,v;return s.swiper=l,c.data("swiper",l),s&&s.shadowRoot&&s.shadowRoot.querySelector?(p=e(s.shadowRoot.querySelector("."+l.params.wrapperClass))).children=function(e){return c.children(e)}:p=c.children("."+l.params.wrapperClass),h.extend(l,{$el:c,el:s,$wrapperEl:p,wrapperEl:p[0],classNames:[],slides:e(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===s.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===p.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(m=["touchstart","touchmove","touchend","touchcancel"],v=["mousedown","mousemove","mouseup"],f.pointerEvents&&(v=["pointerdown","pointermove","pointerup"]),l.touchEventsTouch={start:m[0],move:m[1],end:m[2],cancel:m[3]},l.touchEventsDesktop={start:v[0],move:v[1],end:v[2]},f.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:h.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}t&&(i.__proto__=t),i.prototype=Object.create(t&&t.prototype),i.prototype.constructor=i;var n={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return i.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,n=this.size,s=this.activeIndex,r=1;if(e.centeredSlides){for(var a,o=t[s].swiperSlideSize,l=s+1;l<t.length;l+=1)t[l]&&!a&&(r+=1,(o+=t[l].swiperSlideSize)>n&&(a=!0));for(var d=s-1;d>=0;d-=1)t[d]&&!a&&(r+=1,(o+=t[d].swiperSlideSize)>n&&(a=!0))}else for(var c=s+1;c<t.length;c+=1)i[c]-i[s]<n&&(r+=1);return r},i.prototype.update=function(){function e(){var e=t.rtlTranslate?-1*t.translate:t.translate,i=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(i),t.updateActiveIndex(),t.updateSlidesClasses()}var t=this;if(t&&!t.destroyed){var i=t.snapGrid,n=t.params;n.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode?(e(),t.params.autoHeight&&t.updateAutoHeight()):(("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0))||e(),n.watchOverflow&&i!==t.snapGrid&&t.checkOverflow(),t.emit("update")}},i.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e?this:(this.$el.removeClass(""+this.params.containerModifierClass+i).addClass(""+this.params.containerModifierClass+e),this.params.direction=e,this.slides.each(function(t,i){"vertical"===e?i.style.width="":i.style.height=""}
9),this.emit("changeDirection"),t&&this.update(),this)},i.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},i.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,n=i.params,s=i.$el,r=i.$wrapperEl,a=i.slides;return void 0===i.params||i.destroyed?null:(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),h.deleteProps(i)),i.destroyed=!0,null)},i.extendDefaults=function(e){h.extend(B,e)},n.extendedDefaults.get=function(){return B},n.defaults.get=function(){return q},n.Class.get=function(){return t},n.$.get=function(){return e},Object.defineProperties(i,n),i}(m),V={name:"device",proto:{device:H},"static":{device:H}},X={name:"support",proto:{support:f},"static":{support:f}},G={isEdge:!!c.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=c.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(c.navigator.userAgent)},Y={name:"browser",proto:{browser:G},"static":{browser:G}},U={name:"resize",create:function(){var e=this;h.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){c.addEventListener("resize",this.resize.resizeHandler),c.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){c.removeEventListener("resize",this.resize.resizeHandler),c.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},Q={func:c.MutationObserver||c.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,n=new(0,Q.func)(function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};c.requestAnimationFrame?c.requestAnimationFrame(t):c.setTimeout(t,0)}else i.emit("observerUpdate",e[0])});n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(n)},init:function(){if(f.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},K={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){h.extend(this,{observer:{init:Q.init.bind(this),attach:Q.attach.bind(this),destroy:Q.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},Z={update:function(e){function t(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.lazy&&i.params.lazy.enabled&&i.lazy.load()}var i=this,n=i.params,s=n.slidesPerView,r=n.slidesPerGroup,a=n.centeredSlides,o=i.params.virtual,l=o.addSlidesBefore,d=o.addSlidesAfter,c=i.virtual,u=c.from,p=c.to,f=c.slides,m=c.slidesGrid,v=c.renderSlide,g=c.offset;i.updateActiveIndex();var y,b,w,x=i.activeIndex||0;y=i.rtlTranslate?"right":i.isHorizontal()?"left":"top",a?(b=Math.floor(s/2)+r+l,w=Math.floor(s/2)+r+d):(b=s+(r-1)+l,w=r+d);var T=Math.max((x||0)-w,0),C=Math.min((x||0)+b,f.length-1),S=(i.slidesGrid[T]||0)-(i.slidesGrid[0]||0);if(h.extend(i.virtual,{from:T,to:C,offset:S,slidesGrid:i.slidesGrid}),u===T&&p===C&&!e)return i.slidesGrid!==m&&S!==g&&i.slides.css(y,S+"px"),void i.updateProgress();if(i.params.virtual.renderExternal)return i.params.virtual.renderExternal.call(i,{offset:S,from:T,to:C,slides:function(){for(var e=[],t=T;t<=C;t+=1)e.push(f[t]);return e}()}),void t();var E=[],k=[];if(e)i.$wrapperEl.find("."+i.params.slideClass).remove();else for(var $=u;$<=p;$+=1)($<T||$>C)&&i.$wrapperEl.find("."+i.params.slideClass+'[data-swiper-slide-index="'+$+'"]').remove();for(var A=0;A<f.length;A+=1)A>=T&&A<=C&&(void 0===p||e?k.push(A):(A>p&&k.push(A),A<u&&E.push(A)));
9k.forEach(function(e){i.$wrapperEl.append(v(f[e],e))}),E.sort(function(e,t){return t-e}).forEach(function(e){i.$wrapperEl.prepend(v(f[e],e))}),i.$wrapperEl.children(".swiper-slide").css(y,S+"px"),t()},renderSlide:function(t,i){var n=this.params.virtual;if(n.cache&&this.virtual.cache[i])return this.virtual.cache[i];var s=e(n.renderSlide?n.renderSlide.call(this,t,i):'<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+i+'">'+t+"</div>");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",i),n.cache&&(this.virtual.cache[i]=s),s},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,n=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&this.virtual.slides.unshift(e[s]);i=t+e.length,n=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,a={};Object.keys(r).forEach(function(e){var t=r[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),a[parseInt(e,10)+n]=t}),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},J={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){h.extend(this,{virtual:{update:Z.update.bind(this),appendSlide:Z.appendSlide.bind(this),prependSlide:Z.prependSlide.bind(this),removeSlide:Z.removeSlide.bind(this),removeAllSlides:Z.removeAllSlides.bind(this),renderSlide:Z.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};h.extend(this.params,e),h.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
9)}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},ee={handle:function(e){var t=this.rtlTranslate,i=e;i.originalEvent&&(i=i.originalEvent);var n=i.keyCode||i.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===n||this.isVertical()&&40===n||34===n))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===n||this.isVertical()&&38===n||33===n))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||d.activeElement&&d.activeElement.nodeName&&("input"===d.activeElement.nodeName.toLowerCase()||"textarea"===d.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===n||34===n||37===n||39===n||38===n||40===n)){var s=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var r=c.innerWidth,a=c.innerHeight,o=this.$el.offset();t&&(o.left-=this.$el[0].scrollLeft);for(var l=[[o.left,o.top],[o.left+this.width,o.top],[o.left,o.top+this.height],[o.left+this.width,o.top+this.height]],u=0;u<l.length;u+=1){var p=l[u];p[0]>=0&&p[0]<=r&&p[1]>=0&&p[1]<=a&&(s=!0)}if(!s)return}this.isHorizontal()?(33!==n&&34!==n&&37!==n&&39!==n||(i.preventDefault?i.preventDefault():i.returnValue=!1),(34!==n&&39!==n||t)&&(33!==n&&37!==n||!t)||this.slideNext(),(33!==n&&37!==n||t)&&(34!==n&&39!==n||!t)||this.slidePrev()):(33!==n&&34!==n&&38!==n&&40!==n||(i.preventDefault?i.preventDefault():i.returnValue=!1),34!==n&&40!==n||this.slideNext(),33!==n&&38!==n||this.slidePrev()),this.emit("keyPress",n)}}
9,enable:function(){this.keyboard.enabled||(e(d).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(e(d).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},te={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){h.extend(this,{keyboard:{enabled:!1,enable:ee.enable.bind(this),disable:ee.disable.bind(this),handle:ee.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},ie={lastScrollTime:h.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return c.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in d;if(!e){var t=d.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&d.implementation&&d.implementation.hasFeature&&!0!==d.implementation.hasFeature("","")&&(e=d.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,n=0,s=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=s,s=0),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(t){var i=t,n=this,s=n.params.mousewheel;n.params.cssMode&&i.preventDefault();var r=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(r=e(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!r[0].contains(i.target)&&!s.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var a=0,o=n.rtlTranslate?-1:1,l=ie.normalize(i);if(s.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;a=l.pixelX*o}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;a=l.pixelY}else a=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*o:-l.pixelY;if(0===a)return!0;if(s.invert&&(a=-a),n.params.freeMode){var d={time:h.now(),delta:Math.abs(a),direction:Math.sign(a)},c=n.mousewheel.lastEventBeforeSnap,u=c&&d.time<c.time+500&&d.delta<=c.delta&&d.direction===c.direction;if(!u){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();var p=n.getTranslate()+a*s.sensitivity,f=n.isBeginning,m=n.isEnd;if(p>=n.minTranslate()&&(p=n.minTranslate()),p<=n.maxTranslate()&&(p=n.maxTranslate()),n.setTransition(0),n.setTranslate(p),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!f&&n.isBeginning||!m&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;var v=n.mousewheel.recentWheelEvents;v.length>=15&&v.shift();var g=v.length?v[v.length-1]:void 0,y=v[0];if(v.push(d),g&&(d.delta>g.delta||d.direction!==g.direction))v.splice(0);else if(v.length>=15&&d.time-y.time<500&&y.delta-d.delta>=1&&d.delta<=6){var b=a>0?.8:.2;n.mousewheel.lastEventBeforeSnap=d,v.splice(0),n.mousewheel.timeout=h.nextTick(function(){n.slideToClosest(n.params.speed,!0,void 0,b)},0)}n.mousewheel.timeout||(n.mousewheel.timeout=h.nextTick(function(){n.mousewheel.lastEventBeforeSnap=d,v.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))}if(u||n.emit("scroll",i),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),p===n.minTranslate()||p===n.maxTranslate())return!0}}else{var w={time:h.now(),delta:Math.abs(a),direction:Math.sign(a),raw:t},x=n.mousewheel.recentWheelEvents;x.length>=2&&x.shift();var T=x.length?x[x.length-1]:void 0;if(x.push(w),T?(w.direction!==T.direction||w.delta>T.delta)&&n.mousewheel.animateSlider(w):n.mousewheel.animateSlider(w),n.mousewheel.releaseScroll(w))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&h.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit
9("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new c.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var t=ie.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(t,this.mousewheel.handle),!0;if(!t)return!1;if(this.mousewheel.enabled)return!1;var i=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(i=e(this.params.mousewheel.eventsTarged)),i.on("mouseenter",this.mousewheel.handleMouseEnter),i.on("mouseleave",this.mousewheel.handleMouseLeave),i.on(t,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var t=ie.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(t,this.mousewheel.handle),!0;if(!t)return!1;if(!this.mousewheel.enabled)return!1;var i=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(i=e(this.params.mousewheel.eventsTarged)),i.off(t,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},ne={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(this.isBeginning?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var t,i,n=this.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(t=e(n.nextEl),this.params.uniqueNavElements&&"string"==typeof n.nextEl&&t.length>1&&1===this.$el.find(n.nextEl).length&&(t=this.$el.find(n.nextEl))),n.prevEl&&(i=e(n.prevEl),this.params.uniqueNavElements&&"string"==typeof n.prevEl&&i.length>1&&1===this.$el.find(n.prevEl).length&&(i=this.$el.find(n.prevEl))),t&&t.length>0&&t.on("click",this.navigation.onNextClick),i&&i.length>0&&i.on("click",this.navigation.onPrevClick),h.extend(this.navigation,{$nextEl:t,nextEl:t&&t[0],$prevEl:i,prevEl:i&&i[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},se={update:function(){var t=this.rtl,i=this.params.pagination;if(i.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var n,s=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,a=this.params.loop?Math.ceil((s-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((n=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>s-1-2*this.loopedSlides&&(n-=s-2*this.loopedSlides),n>a-1&&(n-=a),n<0&&"bullets"!==this.params.paginationType&&(n=a+n)):n=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===i.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var o,l,d,c=this.pagination.bullets;if(i.dynamicBullets&&(this.pagination.bulletSize=c.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=n-this.previousIndex,this.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=n-this.pagination.dynamicBulletIndex,d=((l=o+(Math.min(c.length,i.dynamicMainBullets)-1))+o)/2),c.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),r.length>1)c.each(function(t,s){var r=e(s),a=r.index();a===n&&r.addClass(i.bulletActiveClass),i.dynamicBullets&&(a>=o&&a<=l&&r.addClass(i.bulletActiveClass+"-main"),a===o&&r.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),a===l&&r.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else{var u=c.eq(n),p=u.index();if(u.addClass(i.bulletActiveClass),i.dynamicBullets){for(var h=c.eq(o),f=c.eq(l),m=o;m<=l;m+=1)c.eq(m).addClass(i.bulletActiveClass+"-main");if(this.params.loop)if(p>=c.length-i.dynamicMainBullets){for(var v=i.dynamicMainBullets;v>=0;v-=1)c.eq(c.length-v).addClass(i.bulletActiveClass+"-main");c.eq(c.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else h.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else h.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var g=Math.min(c.length,i.dynamicMainBullets+4),y=(this.pagination.bulletSize*g-this.pagination.bulletSize)/2-d*this.pagination.bulletSize,b=t?"right":"left";c.css(this.isHorizontal()?b:"top",y+"px")}}
9if("fraction"===i.type&&(r.find("."+i.currentClass).text(i.formatFractionCurrent(n+1)),r.find("."+i.totalClass).text(i.formatFractionTotal(a))),"progressbar"===i.type){var w;w=i.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var x=(n+1)/a,T=1,C=1;"horizontal"===w?T=x:C=x,r.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+T+") scaleY("+C+")").transition(this.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(this,n+1,a)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,n="";if("bullets"===e.type){for(var s=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<s;r+=1)n+=e.renderBullet?e.renderBullet.call(this,r,e.bulletClass):"<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(n),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>', 10i.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var t=this,i=t.params.pagination;if(i.el){var n=e(i.el);0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof i.el&&n.length>1&&1===t.$el.find(i.el).length&&(n=t.$el.find(i.el)),"bullets"===i.type&&i.clickable&&n.addClass(i.clickableClass),n.addClass(i.modifierClass+i.type),"bullets"===i.type&&i.dynamicBullets&&(n.addClass(""+i.modifierClass+i.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),"progressbar"===i.type&&i.progressbarOpposite&&n.addClass(i.progressbarOppositeClass),i.clickable&&n.on("click","."+i.bulletClass,function(i){i.preventDefault();var n=e(this).index()*t.params.slidesPerGroup;t.params.loop&&(n+=t.loopedSlides),t.slideTo(n)}),h.extend(t.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},re={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,n=e.dragSize,s=e.trackSize,r=e.$dragEl,a=e.$el,o=this.params.scrollbar,l=n,d=(s-n)*i;t?(d=-d)>0?(l=n-d,d=0):-d+n>s&&(l=s+d):d<0?(l=n+d,d=0):d+n>s&&(l=s-d),this.isHorizontal()?(r.transform("translate3d("+d+"px, 0, 0)"),r[0].style.width=l+"px"):(r.transform("translate3d(0px, "+d+"px, 0)"),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){a[0].style.opacity=0,a.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var n,s=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,a=r*(s/this.size);n="auto"===this.params.scrollbar.dragSize?s*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=n+"px":t[0].style.height=n+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),h.extend(e,{trackSize:s,divider:r,moveDivider:a,dragSize:n}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,n=this.rtlTranslate,s=i.$el,r=i.dragSize,a=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-s.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(a-r),t=Math.max(Math.min(t,1),0),n&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()}
10,onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),s.transition(0),t.hide&&s.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,n=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),n.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=h.nextTick(function(){s.css("opacity",0),s.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,n=this.params,s=e.$el[0],r=!(!f.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},a=!(!f.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};f.touch?(s.addEventListener(t.start,this.scrollbar.onDragStart,r),s.addEventListener(t.move,this.scrollbar.onDragMove,r),s.addEventListener(t.end,this.scrollbar.onDragEnd,a)):(s.addEventListener(i.start,this.scrollbar.onDragStart,r),d.addEventListener(i.move,this.scrollbar.onDragMove,r),d.addEventListener(i.end,this.scrollbar.onDragEnd,a))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,n=this.params,s=e.$el[0],r=!(!f.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},a=!(!f.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};f.touch?(s.removeEventListener(t.start,this.scrollbar.onDragStart,r),s.removeEventListener(t.move,this.scrollbar.onDragMove,r),s.removeEventListener(t.end,this.scrollbar.onDragEnd,a)):(s.removeEventListener(i.start,this.scrollbar.onDragStart,r),d.removeEventListener(i.move,this.scrollbar.onDragMove,r),d.removeEventListener(i.end,this.scrollbar.onDragEnd,a))}},init:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.$el,n=this.params.scrollbar,s=e(n.el);this.params.uniqueNavElements&&"string"==typeof n.el&&s.length>1&&1===i.find(n.el).length&&(s=i.find(n.el));var r=s.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=e('<div class="'+this.params.scrollbar.dragClass+'"></div>'),s.append(r)),h.extend(t,{$el:s,el:s[0],$dragEl:r,dragEl:r[0]}),n.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},ae={setTransform:function(t,i){var n=this.rtl,s=e(t),r=n?-1:1,a=s.attr("data-swiper-parallax")||"0",o=s.attr("data-swiper-parallax-x"),l=s.attr("data-swiper-parallax-y"),d=s.attr("data-swiper-parallax-scale"),c=s.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=a,l="0"):(l=a,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*r+"%":o*i*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*i+"%":l*i+"px",null!=c){var u=c-(c-1)*(1-Math.abs(i));s[0].style.opacity=u}if(null==d)s.transform("translate3d("+o+", "+l+", 0px)");else{var p=d-(d-1)*(1-Math.abs(i));s.transform("translate3d("+o+", "+l+", 0px) scale("+p+")")}},setTranslate:function(){var t=this,i=t.$el,n=t.slides,s=t.progress,r=t.snapGrid;i.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,i){t.parallax.setTransform(i,s)}),n.each(function(i,n){var a=n.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(i/2)-s*(r.length-1)),a=Math.min(Math.max(a,-1),1),e(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,i){t.parallax.setTransform(i,a)})})},setTransition:function(t){void 0===t&&(t=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(i,n){var s=e(n),r=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(r=0),s.transition(r)})}},oe={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(s-i,2))},onGestureStart:function(t){var i=this.params.zoom,n=this.zoom,s=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!f.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;n.fakeGestureTouched=!0,s.scaleStart=oe.getDistanceBetweenTouches(t)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=e(t.target).closest(".swiper-slide"),0===s.$slideEl.length&&(s.$slideEl=this.slides.eq(this.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+i.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl.transition(0),this.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!f.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,n.scaleMove=oe.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(f.gestures?i.scale=e.scale*i.currentScale:i.scale=n.scaleMove/n.scaleStart*i.currentScale,i.scale>n.maxRatio&&(i.scale=n.maxRatio-1+Math.pow(i.scale-n.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),n.$imageEl.transform("translate3d(0,
100,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!f.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!H.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),t.minRatio),n.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,n=t.image;i.$imageEl&&0!==i.$imageEl.length&&(n.isTouched||(H.android&&e.preventDefault(),n.isTouched=!0,n.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,n=t.image,s=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,n.isTouched&&i.$slideEl)){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=h.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=h.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var r=n.width*t.scale,a=n.height*t.scale;if(!(r<i.slideWidth&&a<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-r/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-a/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=n.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=n.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(n.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(n.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(n.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(n.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=n.touchesCurrent.x,s.prevPositionY=n.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var s=300,r=300,a=n.x*s,o=i.currentX+a,l=n.y*r,d=i.currentY+l;0!==n.x&&(s=Math.abs((o-i.currentX)/n.x)),0!==n.y&&(r=Math.abs((d-i.currentY)/n.y));var c=Math.max(s,r);i.currentX=o,i.currentY=d;var u=i.width*e.scale,p=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-u/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-p/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(c).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,
100,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t["in"](e)},"in":function(t){var i,n,s,r,a,o,l,d,c,u,p,h,f,m,v,g,y=this.zoom,b=this.params.zoom,w=y.gesture,x=y.image;w.$slideEl||(w.$slideEl=this.clickedSlide?e(this.clickedSlide):this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas"),w.$imageWrapEl=w.$imageEl.parent("."+b.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&(w.$slideEl.addClass(""+b.zoomedSlideClass),void 0===x.touchesStart.x&&t?(i="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(i=x.touchesStart.x,n=x.touchesStart.y),y.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,y.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,t?(v=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,s=w.$slideEl.offset().left+v/2-i,r=w.$slideEl.offset().top+g/2-n,l=w.$imageEl[0].offsetWidth,d=w.$imageEl[0].offsetHeight,c=l*y.scale,u=d*y.scale,f=-(p=Math.min(v/2-c/2,0)),m=-(h=Math.min(g/2-u/2,0)),(a=s*y.scale)<p&&(a=p),a>f&&(a=f),(o=r*y.scale)<h&&(o=h),o>m&&(o=m)):(a=0,o=0),w.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+o+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+y.scale+")"))},out:function(){var t=this.zoom,i=this.params.zoom,n=t.gesture;n.$slideEl||(n.$slideEl=this.clickedSlide?e(this.clickedSlide):this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+i.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+i.zoomedSlideClass),n.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!f.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!f.passiveListener||{passive:!1,capture:!0};f.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,i),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!f.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!f.passiveListener||{passive:!1,capture:!0};f.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,i),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}}},le={loadInSlide:function(t,i){void 0===i&&(i=!0);var n=this,s=n.params.lazy;if(void 0!==t&&0!==n.slides.length){var r=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):n.slides.eq(t),a=r.find("."+s.elementClass+":not(."+s.loadedClass+"):not(."+s.loadingClass+")");!r.hasClass(s.elementClass)||r.hasClass(s.loadedClass)||r.hasClass(s.loadingClass)||(a=a.add(r[0])),0!==a.length&&a.each(function(t,a){var o=e(a);o.addClass(s.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),c=o.attr("data-srcset"),u=o.attr("data-sizes");n.loadImage(o[0],d||l,c,u,!1,function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){
vendor: 4,146 bytes, line 10
10if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(c&&(o.attr("srcset",c),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),r.find("."+s.preloaderClass).remove(),n.params.loop&&i){var e=r.attr("data-swiper-slide-index");if(r.hasClass(n.params.slideDuplicateClass)){var t=n.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(t.index(),!1)}else{var a=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');n.lazy.loadInSlide(a.index(),!1)}}n.emit("lazyImageReady",r[0],o[0])}}),n.emit("lazyImageLoad",r[0],o[0])})}},load:function(){function t(e){if(l){if(s.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(a[e])return!0;return!1}function i(t){return l?e(t).attr("data-swiper-slide-index"):e(t).index()}var n=this,s=n.$wrapperEl,r=n.params,a=n.slides,o=n.activeIndex,l=n.virtual&&r.virtual.enabled,d=r.lazy,c=r.slidesPerView;if("auto"===c&&(c=0),n.lazy.initialImageLoaded||(n.lazy.initialImageLoaded=!0),n.params.watchSlidesVisibility)s.children("."+r.slideVisibleClass).each(function(t,i){var s=l?e(i).attr("data-swiper-slide-index"):e(i).index();n.lazy.loadInSlide(s)});else if(c>1)for(var u=o;u<o+c;u+=1)t(u)&&n.lazy.loadInSlide(u);else n.lazy.loadInSlide(o);if(d.loadPrevNext)if(c>1||d.loadPrevNextAmount&&d.loadPrevNextAmount>1){for(var p=d.loadPrevNextAmount,h=c,f=Math.min(o+h+Math.max(p,h),a.length),m=Math.max(o-Math.max(h,p),0),v=o+c;v<f;v+=1)t(v)&&n.lazy.loadInSlide(v);for(var g=m;g<o;g+=1)t(g)&&n.lazy.loadInSlide(g)}else{var y=s.children("."+r.slideNextClass);y.length>0&&n.lazy.loadInSlide(i(y));var b=s.children("."+r.slidePrevClass);b.length>0&&n.lazy.loadInSlide(i(b))}}},de={LinearSpline:function(e,t){var i,n,s,r,a,o=function(e,t){for(n=-1,i=e.length;i-n>1;)e[s=i+n>>1]<=t?n=s:i=s;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=o(this.x,e),r=a-1,(e-this.x[r])*(this.y[a]-this.y[r])/(this.x[a]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new de.LinearSpline(this.slidesGrid,e.slidesGrid):new de.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){function i(e){var t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),s=-r.controller.spline.interpolate(-t)),s&&"container"!==r.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),s=(t-r.minTranslate())*n+e.minTranslate()),r.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,r),e.updateActiveIndex(),e.updateSlidesClasses()}var n,s,r=this,a=r.controller.control;if(Array.isArray(a))for(var o=0;o<a.length;o+=1)a[o]!==t&&a[o]instanceof W&&i(a[o]);else a instanceof W&&t!==a&&i(a)},setTransition:function(e,t){function i(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.params.autoHeight&&h.nextTick(function(){t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(function(){r&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())}))}var n,s=this,r=s.controller.control;if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==t&&r[n]instanceof W&&i(r[n]);else r instanceof W&&t!==r&&i(r)}},ce={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(t){var i=this.params.a11y;if(13===t.keyCode){var n=e(t.target);this.navigation&&this.navigation.$nextEl&&n.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(i.lastSlideMessage):this.a11y.notify(i.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&n.is(this.navigation.$prevEl)&&(this.isBeg
10inning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(i.firstSlideMessage):this.a11y.notify(i.prevSlideMessage)),this.pagination&&n.is("."+this.params.pagination.bulletClass)&&n[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop&&this.navigation){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var t=this,i=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(n,s){var r=e(s);t.a11y.makeElFocusable(r),t.a11y.addElRole(r,"button"),t.a11y.addElLabel(r,i.paginationBulletMessage.replace(/{{index}}/,r.index()+1))})},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},ue={init:function(){if(this.params.history){if(!c.history||!c.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=ue.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||c.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||c.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=ue.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=c.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(t),n=ue.slugify(i.attr("data-history"));c.location.pathname.includes(e)||(n=e+"/"+n);var s=c.history.state;s&&s.value===n||(this.params.history.replaceState?c.history.replaceState({value:n},null,n):c.history.pushState({value:n},null,n))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var n=0,s=this.slides.length;n<s;n+=1){var r=this.slides.eq(n);if(ue.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var a=r.index();this.slideTo(a,e,i)}}else this.slideTo(0,e,i)}},pe={onHashCange:function(){var e=d.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var t=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index();if(void 0===t)return;this.slideTo(t)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&c.history&&c.history.replaceState)c.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||"");else{var e=this.slides.eq(this.activeIndex),t=e.attr("data-hash")||e.attr("data-history");d.location.hash=t||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var t=d.location.hash.replace("#","");if(t)for(var i=0,n=this.slides.length;i<n;i+=1){var s=this.slides.eq(i);if((s.attr("data-hash")||s.attr("data-history"))===t&&!s.hasClass(this.params.slideDuplicateClass)){var r=s.index();this.slideTo(r,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&e(c).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&e(c).off("hashchange",this.hashNavigation.onHashCange)}},he={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=h.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
10!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},fe={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),n=-i[0].swiperSlideOffset;this.params.virtualTranslate||(n-=this.translate);var s=0;this.isHorizontal()||(s=n,n=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+n+"px, "+s+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,n=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;i.transitionEnd(function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)n.trigger(e[i])}})}}},me={setTranslate:function(){var t,i=this.$el,n=this.$wrapperEl,s=this.slides,r=this.width,a=this.height,o=this.rtlTranslate,l=this.size,d=this.params.cubeEffect,c=this.isHorizontal(),u=this.virtual&&this.params.virtual.enabled,p=0;d.shadow&&(c?(0===(t=n.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),n.append(t)),t.css({height:r+"px"})):0===(t=i.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),i.append(t)));for(var h=0;h<s.length;h+=1){var f=s.eq(h),m=h;u&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var v=90*m,g=Math.floor(v/360);o&&(v=-v,g=Math.floor(-v/360));var y=Math.max(Math.min(f[0].progress,1),-1),b=0,w=0,x=0;m%4==0?(b=4*-g*l,x=0):(m-1)%4==0?(b=0,x=4*-g*l):(m-2)%4==0?(b=l+4*g*l,x=l):(m-3)%4==0&&(b=-l,x=3*l+4*l*g),o&&(b=-b),c||(w=b,b=0);var T="rotateX("+(c?0:-v)+"deg) rotateY("+(c?v:0)+"deg) translate3d("+b+"px, "+w+"px, "+x+"px)";if(y<=1&&y>-1&&(p=90*m+90*y,o&&(p=90*-m-90*y)),f.transform(T),d.slideShadows){var C=c?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),S=c?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===C.length&&(C=e('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),f.append(C)),0===S.length&&(S=e('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),f.append(S)),C.length&&(C[0].style.opacity=Math.max(-y,0)),S.length&&(S[0].style.opacity=Math.max(y,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(c)t.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")");else{var E=Math.abs(p)-90*Math.floor(Math.abs(p)/90),k=1.5-(Math.sin(2*E*Math.PI/360)/2+Math.cos(2*E*Math.PI/360)/2),$=d.shadowScale,A=d.shadowScale/k,_=d.shadowOffset;t.transform("scale3d("+$+", 1, "+A+") translate3d(0px, "+(a/2+_)+"px, "+-a/2/A+"px) rotateX(-90deg)")}var P=G.isSafari||G.isUiWebView?-l/2:0;n.transform("translate3d(0px,0,"+P+"px) rotateX("+(this.isHorizontal()?0:p)+"deg) rotateY("+(this.isHorizontal()?-p:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ve={ 11setTranslate:function(){for(var t=this.slides,i=this.rtlTranslate,n=0;n<t.length;n+=1){var s=t.eq(n),r=s[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,
111),-1));var a=-180*r,o=0,l=-s[0].swiperSlideOffset,d=0;if(this.isHorizontal()?i&&(a=-a):(d=l,l=0,o=-a,a=0),s[0].style.zIndex=-Math.abs(Math.round(r))+t.length,this.params.flipEffect.slideShadows){var c=this.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),u=this.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===c.length&&(c=e('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),s.append(c)),0===u.length&&(u=e('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),s.append(u)),c.length&&(c[0].style.opacity=Math.max(-r,0)),u.length&&(u[0].style.opacity=Math.max(r,0))}s.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+a+"deg)")}},setTransition:function(e){var t=this,i=t.slides,n=t.activeIndex,s=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(n).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}})}}},ge={setTranslate:function(){for(var t=this.width,i=this.height,n=this.slides,s=this.$wrapperEl,r=this.slidesSizesGrid,a=this.params.coverflowEffect,o=this.isHorizontal(),l=this.translate,d=o?t/2-l:i/2-l,c=o?a.rotate:-a.rotate,u=a.depth,p=0,h=n.length;p<h;p+=1){var m=n.eq(p),v=r[p],g=(d-m[0].swiperSlideOffset-v/2)/v*a.modifier,y=o?c*g:0,b=o?0:c*g,w=-u*Math.abs(g),x=o?0:a.stretch*g,T=o?a.stretch*g:0;Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0);var C="translate3d("+T+"px,"+x+"px,"+w+"px) rotateX("+b+"deg) rotateY("+y+"deg)";if(m.transform(C),m[0].style.zIndex=1-Math.abs(Math.round(g)),a.slideShadows){var S=o?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),E=o?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===S.length&&(S=e('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),m.append(S)),0===E.length&&(E=e('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),m.append(E)),S.length&&(S[0].style.opacity=g>0?g:0),E.length&&(E[0].style.opacity=-g>0?-g:0)}}(f.pointerEvents||f.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=d+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ye={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,h.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),h.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):h.isObject(e.swiper)&&(this.thumbs.swiper=new t(h.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var t=this.thumbs.swiper;if(t){var i=t.clickedIndex,n=t.clickedSlide;if(!(n&&e(n).hasClass(this.params.thumbs.slideThumbActiveClass)||null==i)){var s;if(s=t.params.loop?parseInt(e(t.clickedSlide).attr("data-swiper-slide-index"),10):i,this.params.loop){var r=this.activeIndex;this.slides.eq(r).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,r=this.activeIndex);var a=this.slides.eq(r).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),o=this.slides.eq(r).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=void 0===a?o:void 0===o?a:o-r<r-a?o:a}this.slideTo(s)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var n,s=t.activeIndex;if(t.params.loop){t.slides.eq(s).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,s=t.activeIndex);var r=t.slides.eq(s).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),a=t.slides.eq(s).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();n=void 0===r?a:void 0===a?r:a-s==s-r?s:a-s<s-r?a:r}else n=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(n)<0&&(t.params.centeredSlides?n=n>s?n-Math.floor(i/2)+1:n+Math.floor(i/2)-1:n>s&&(n=n-i+1),t.slideTo(n,e?0:void 0))}var o=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(o=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(o=1),o=Math.floor(o),t.slides.removeClass(l),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var d=0;d<o;d+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+d)+'"]').addClass(l);else for(var c=0;c<o;c+=1)t.slides.eq(this.realIndex+c).addClass(l)}}}
vendor: 16,384 bytes, line 11
11,be=[V,X,Y,U,K,J,te,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){h.extend(this,{mousewheel:{enabled:!1,enable:ie.enable.bind(this),disable:ie.disable.bind(this),handle:ie.handle.bind(this),handleMouseEnter:ie.handleMouseEnter.bind(this),handleMouseLeave:ie.handleMouseLeave.bind(this),animateSlider:ie.animateSlider.bind(this),releaseScroll:ie.releaseScroll.bind(this),lastScrollTime:h.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){h.extend(this,{navigation:{init:ne.init.bind(this),update:ne.update.bind(this),destroy:ne.destroy.bind(this),onNextClick:ne.onNextClick.bind(this),onPrevClick:ne.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(t){var i,n=this.navigation,s=n.$nextEl,r=n.$prevEl;!this.params.navigation.hideOnClick||e(t.target).is(r)||e(t.target).is(s)||(s?i=s.hasClass(this.params.navigation.hiddenClass):r&&(i=r.hasClass(this.params.navigation.hiddenClass)),!0===i?this.emit("navigationShow",this):this.emit("navigationHide",this),s&&s.toggleClass(this.params.navigation.hiddenClass),r&&r.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){h.extend(this,{pagination:{init:se.init.bind(this),render:se.render.bind(this),update:se.update.bind(this),destroy:se.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(t){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!e(t.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){h.extend(this,{scrollbar:{init:re.init.bind(this),destroy:re.destroy.bind(this),updateSize:re.updateSize.bind(this),setTranslate:re.setTranslate.bind(this),setTransition:re.setTransition.bind(this),enableDraggable:re.enableDraggable.bind(this),disableDraggable:re.disableDraggable.bind(this),setDragPosition:re.setDragPosition.bind(this),getPointerPosition:re.getPointerPosition.bind(this),onDragStart:re.onDragStart.bind(this),onDragMove:re.onDragMove.bind(this),onDragEnd:re.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){h.extend(this,{parallax:{setTransform:ae.setTransform.bind(this),setTranslate:ae.setTranslate.bind(this),setTransition:ae.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(i){t[i]=oe[i].bind(e)}),h.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,s)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){h.extend(this,{lazy:{initialImageLoaded:!1,load:le.load.bind(this),loadInSlide:le.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){h.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:de.getInterpolateFunction.bind(this),setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;h.extend(t,{a11y:{liveRegion:e('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(ce).forEach(function(e){t.a11y[e]=ce[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){h.extend(this,{history:{init:ue.init.bind(this),setHistory:ue.setHistory.bind(this),setHistoryPopState:ue.setHistoryPopState.bind(this),scrollToSlide:ue.scrollToSlide.bind(this),destroy:ue.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){h.extend(this,{hashNavigation:{initialized:!1,init:pe.init.bind(this),destroy:pe.destroy.bind(this),setHash:pe.setHash.bind(this),onHashCange:pe.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;h.extend(e,{autoplay:{running:!1,paused:!1,run:he.run.bind(e),start:he.start.bind(e),stop:he.stop.bind(e),pause:he.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){h.extend(this,{fadeEffect:{setTranslate:fe.setTranslate.bind(this),setTransition:fe.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};h.extend(this.params,e),h.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){h.extend(this,{cubeEffect:{setTranslate:me.setTranslate.bind(this),setTransition:me.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};h.extend(this.params,e),h.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){h.extend(this,{flipEffect:{setTranslate:ve.setTranslate.bind(this),setTransition:ve.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};h.extend(this.params,e),h.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){h.extend(this,{coverflowEffect:{setTranslate:ge.setTranslate.bind(this),setTransition:ge.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{multipleActiveThumbs:!0,swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){h.extend(this,{thumbs:{swiper:null,init:ye.init.bind(this),update:ye.update.bind(this),onThumbClick:ye.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:f
vendor: 5,336 bytes, line 11
11unction(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===W.use&&(W.use=W.Class.use,W.installModule=W.Class.installModule),W.use(be),W}),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(i),i}:e(jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var t;return function(){if(!t||!t.requirejs){t?i=t:t={};var e,i,n;!function(t){function s(e,t){return x.call(e,t)}function r(e,t){var i,n,s,r,a,o,l,d,c,u,p,h,f=t&&t.split("/"),m=b.map,v=m&&m["*"]||{};if(e){for(e=e.split("/"),a=e.length-1,b.nodeIdCompat&&C.test(e[a])&&(e[a]=e[a].replace(C,"")),"."===e[0].charAt(0)&&f&&(h=f.slice(0,f.length-1),e=h.concat(e)),c=0;c<e.length;c++)if("."===(p=e[c]))e.splice(c,1),c-=1;else if(".."===p){if(0===c||1===c&&".."===e[2]||".."===e[c-1])continue;c>0&&(e.splice(c-1,2),c-=2)}e=e.join("/")}if((f||v)&&m){for(i=e.split("/"),c=i.length;c>0;c-=1){if(n=i.slice(0,c).join("/"),f)for(u=f.length;u>0;u-=1)if((s=m[f.slice(0,u).join("/")])&&(s=s[n])){r=s,o=c;break}if(r)break;!l&&v&&v[n]&&(l=v[n],d=c)}!r&&l&&(r=l,o=d),r&&(i.splice(0,o,r),e=i.join("/"))}return e}function a(e,i){return function(){var n=T.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),f.apply(t,n.concat([e,i]))}}function o(e){return function(t){return r(t,e)}}function l(e){return function(t){g[e]=t}}function d(e){if(s(y,e)){var i=y[e];delete y[e],w[e]=!0,h.apply(t,i)}if(!s(g,e)&&!s(w,e))throw new Error("No "+e);return g[e]}function c(e){var t,i=e?e.indexOf("!"):-1;return i>-1&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function u(e){return e?c(e):[]}function p(e){return function(){return b&&b.config&&b.config[e]||{}}}var h,f,m,v,g={},y={},b={},w={},x=Object.prototype.hasOwnProperty,T=[].slice,C=/\.js$/;m=function(e,t){var i,n=c(e),s=n[0],a=t[1];return e=n[1],s&&(s=r(s,a),i=d(s)),s?e=i&&i.normalize?i.normalize(e,o(a)):r(e,a):(e=r(e,a),n=c(e),s=n[0],e=n[1],s&&(i=d(s))),{f:s?s+"!"+e:e,n:e,pr:s,p:i}},v={require:function(e){return a(e)},exports:function(e){var t=g[e];return void 0!==t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:p(e)}}},h=function(e,i,n,r){var o,c,p,h,f,b,x,T=[],C=typeof n;if(r=r||e,b=u(r),"undefined"===C||"function"===C){for(i=!i.length&&n.length?["require","exports","module"]:i,f=0;f<i.length;f+=1)if(h=m(i[f],b),"require"===(c=h.f))T[f]=v.require(e);else if("exports"===c)T[f]=v.exports(e),x=!0;else if("module"===c)o=T[f]=v.module(e);else if(s(g,c)||s(y,c)||s(w,c))T[f]=d(c);else{if(!h.p)throw new Error(e+" missing "+c);h.p.load(h.n,a(r,!0),l(c),{}),T[f]=g[c]}p=n?n.apply(g[e],T):void 0,e&&(o&&o.exports!==t&&o.exports!==g[e]?g[e]=o.exports:p===t&&x||(g[e]=p))}else e&&(g[e]=n)},e=i=f=function(e,i,n,s,r){if("string"==typeof e)return v[e]?v[e](i):d(m(e,u(i)).f);if(!e.splice){if(b=e,b.deps&&f(b.deps,b.callback),!i)return;i.splice?(e=i,i=n,n=null):e=t}return i=i||function(){},"function"==typeof n&&(n=s,s=r),s?h(t,e,i,n):setTimeout(function(){h(t,e,i,n)},4),f},f.config=function(e){return f(e)},e._defined=g,n=function(e,t,i){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(i=t,t=[]),s(g,e)||s(y,e)||(y[e]=[e,t,i])},n.amd={jQuery:!0}}(),t.requirejs=e,t.require=i,t.define=n}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(e){function t(e){var t=e.prototype,i=[];for(var n in t)"function"==typeof t[n]&&"constructor"!==n&&i.push(n);return i}var i={};i.Extend=function(e,t){function i(){this.constructor=e}var n={}.hasOwnProperty;for(var s in t)n.call(t,s)&&(e[s]=t[s]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},i.Decorate=function(e,i){function n(){var t=Array.prototype.unshift,n=i.prototype.constructor.length,s=e.prototype.constructor;n>0&&(t.call(arguments,e.prototype.constructor),s=i.prototype.constructor),s.apply(this,arguments)}function s(){this.constructor=n}var r=t(i),a=t(e);i.displayName=e.displayName,n.prototype=new s;for(var o=0;o<a.length;o++){var l=a[o];n.prototype[l]=e.prototype[l]}for(var d=(function(e){var t=function(){};e in n.prototype&&(t=n.prototype[e]);var s=i.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),s.apply(this,arguments)}}),c=0;c<r.length;c++){var u=r[c];n.prototype[u]=d(u)}return n};var n=function(){this.listeners={}};n.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},n.prototype.trigger=function(e){var t=Array.prototype.slice,i=t.call(arguments,1
11);this.listeners=this.listeners||{},null==i&&(i=[]),0===i.length&&i.push({}),i[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(e,t){for(var i=0,n=e.length;i<n;i++)e[i].apply(this,t)},i.Observable=n,i.generateChars=function(e){for(var t="",i=0;i<e;i++)t+=Math.floor(36*Math.random()).toString(36);return t},i.bind=function(e,t){return function(){e.apply(t,arguments)}},i._convertData=function(e){for(var t in e){var i=t.split("-"),n=e;if(1!==i.length){for(var s=0;s<i.length;s++){var r=i[s];r=r.substring(0,1).toLowerCase()+r.substring(1),r in n||(n[r]={}),s==i.length-1&&(n[r]=e[t]),n=n[r]}delete e[t]}}return e},i.hasScroll=function(t,i){var n=e(i),s=i.style.overflowX,r=i.style.overflowY;return(s!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===s||"scroll"===r||n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth)},i.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},i.appendMany=function(t,i){if("1.7"===e.fn.jquery.substr(0,3)){var n=e();e.map(i,function(e){n=n.add(e)}),i=n}t.append(i)},i.__cache={};var s=0;return i.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++s),t=s.toString())),t},i.StoreData=function(e,t,n){var s=i.GetUniqueElementId(e);i.__cache[s]||(i.__cache[s]={}),i.__cache[s][t]=n},i.GetData=function(t,n){var s=i.GetUniqueElementId(t);return n?i.__cache[s]&&null!=i.__cache[s][n]?i.__cache[s][n]:e(t).data(n):i.__cache[s]},i.RemoveData=function(e){var t=i.GetUniqueElementId(e);null!=i.__cache[t]&&delete i.__cache[t]},i}),t.define("select2/results",["jquery","./utils"],function(e,t){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=e('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),s=this.options.get("translations").get(t.message);n.append(i(s(t.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));e.results=this.sort(e.results);for(var i=0;i<e.results.length;i++){var n=e.results[i],s=this.option(n);t.push(s)}this.$results.append(t)},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current(function(n){var s=e.map(n,function(e){return e.id.toString()});i.$results.find(".select2-results__option[aria-selected]").each(function(){var i=e(this),n=t.GetData(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(r,s)>-1?i.attr("aria-selected","true"):i.attr("aria-selected","false")})})},i.prototype.showLoading=function(e){this.hideLoading();var t=this.options.get("translations").get("searching"),i={disabled:!0,loading:!0,text:t(e)},n=this.option(i);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var n=document.createElement("li");n.className="select2-results__option";var s={role:"treeitem","aria-selected":"false"};
vendor: 5,807 bytes, lines 11-12
11i.disabled&&(delete s["aria-selected"],s["aria-disabled"]="true"),null==i.id&&delete s["aria-selected"],null!=i._resultId&&(n.id=i._resultId),i.title&&(n.title=i.title),i.children&&(s.role="group",s["aria-label"]=i.text,delete s["aria-selected"]);for(var r in s){var a=s[r];n.setAttribute(r,a)}if(i.children){var o=e(n),l=document.createElement("strong");l.className="select2-results__group",e(l),this.template(i,l);for(var d=[],c=0;c<i.children.length;c++){var u=i.children[c],p=this.option(u);d.push(p)}var h=e("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});h.append(d),o.append(l),o.append(h)}else this.template(i,n);return t.StoreData(n,"data",i), 12n},i.prototype.bind=function(i,n){var s=this,r=i.id+"-results";this.$results.attr("id",r),i.on("results:all",function(e){s.clear(),s.append(e.data),i.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),i.on("results:append",function(e){s.append(e.data),i.isOpen()&&s.setClasses()}),i.on("query",function(e){s.hideMessages(),s.showLoading(e)}),i.on("select",function(){i.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),i.on("unselect",function(){i.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),i.on("open",function(){s.$results.attr("aria-expanded","true"),s.$results.attr("aria-hidden","false"),s.setClasses(),s.ensureHighlightVisible()}),i.on("close",function(){s.$results.attr("aria-expanded","false"),s.$results.attr("aria-hidden","true"),s.$results.removeAttr("aria-activedescendant")}),i.on("results:toggle",function(){var e=s.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),i.on("results:select",function(){var e=s.getHighlightedResults();if(0!==e.length){var i=t.GetData(e[0],"data");"true"==e.attr("aria-selected")?s.trigger("close",{}):s.trigger("select",{data:i})}}),i.on("results:previous",function(){var e=s.getHighlightedResults(),t=s.$results.find("[aria-selected]"),i=t.index(e);if(0!==i){var n=i-1;0===e.length&&(n=0);var r=t.eq(n);r.trigger("mouseenter");var a=s.$results.offset().top,o=r.offset().top,l=s.$results.scrollTop()+(o-a);0===n?s.$results.scrollTop(0):o-a<0&&s.$results.scrollTop(l)}}),i.on("results:next",function(){var e=s.getHighlightedResults(),t=s.$results.find("[aria-selected]"),i=t.index(e),n=i+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var a=s.$results.offset().top+s.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),l=s.$results.scrollTop()+o-a;0===n?s.$results.scrollTop(0):o>a&&s.$results.scrollTop(l)}}),i.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),i.on("results:message",function(e){s.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=s.$results.scrollTop(),i=s.$results.get(0).scrollHeight-t+e.deltaY,n=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&i<=s.$results.height();n?(s.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(s.$results.scrollTop(s.$results.get(0).scrollHeight-s.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(i){var n=e(this),r=t.GetData(this,"data");return"true"===n.attr("aria-selected")?void(s.options.get("multiple")?s.trigger("unselect",{originalEvent:i,data:r}):s.trigger("close",{})):void s.trigger("select",{originalEvent:i,data:r})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(i){var n=t.GetData(this,"data");s.getHighlightedResults().removeClass("select2-results__option--highlighted"),s.trigger("results:focus",{data:n,element:e(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]"),i=t.index(e),n=this.$results.offset().top,s=e.offset().top,r=this.$results.scrollTop()+(s-n),a=s-n;r-=2*e.outerHeight(!1),i<=2?this.$results.scrollTop(0):(a>this.$results.outerHeight()||a<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(t,i){var n=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),r=n(t,i);null==r?i.style.display="none":"string"==typeof r?i.innerHTML=s(r):e(i).append(r)},i}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,i){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var i=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),this.$selection=i,i},n.prototype.bind=function(e,t){var n=this,s=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===i.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",s),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","fal
12se"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),e.on("disable",function(){n.$selection.attr("tabindex","-1")})},n.prototype._handleBlur=function(t){var i=this;window.setTimeout(function(){document.activeElement==i.$selection[0]||e.contains(i.$selection[0],document.activeElement)||i.trigger("blur",t)},1)},n.prototype._attachCloseHandler=function(i){e(document.body).on("mousedown.select2."+i.id,function(i){var n=e(i.target),s=n.closest(".select2");e(".select2.select2-container--open").each(function(){e(this),this!=s[0]&&t.GetData(this,"element").select2("close")})})},n.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},n.prototype.position=function(e,t){t.find(".selection").append(e)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},n}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,i,n){function s(){s.__super__.constructor.apply(this,arguments)}return i.Extend(s,t),s.prototype.render=function(){var e=s.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},s.prototype.bind=function(e,t){var i=this;s.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(e){1===e.which&&i.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("focus",function(t){e.isOpen()||i.$selection.focus()})},s.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},s.prototype.display=function(e,t){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(e,t))},s.prototype.selectionContainer=function(){return e("<span></span>")},s.prototype.update=function(e){if(0===e.length)return void this.clear();var t=e[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(t,i);i.empty().append(n),i.attr("title",t.title||t.text)},s}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,i){function n(e,t){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,t),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(t,s){var r=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){r.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!r.options.get("disabled")){var n=e(this),s=n.parent(),a=i.GetData(s[0],"data");r.trigger("unselect",{originalEvent:t,data:a})}})},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(e,t))},n.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var s=e[n],r=this.selectionContainer(),a=this.display(s,r);r.append(a),r.attr("title",s.title||s.text),i.StoreData(r[0],"data",s),t.push(r)}var o=this.$selection.find(".select2-selection__rendered");i.appendMany(o,t)}},n}),t.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),e.call(this,t,i)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var i=this.selectionContainer();return i.html(this.display(t)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},t.prototype.update=function(e,t){var i=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||i)return e.call(this,t);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},t}
12),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(e,t,i){function n(){}return n.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){n._handleClear(e)}),t.on("keypress",function(e){n._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var s=i.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var a={data:s};if(this.trigger("clear",a),a.prevented)return void this.$element.val(r);for(var o=0;o<s.length;o++)if(a={data:s[o]},this.trigger("unselect",a),a.prevented)return void this.$element.val(r);this.$element.trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,i,n){n.isOpen()||i.which!=t.DELETE&&i.which!=t.BACKSPACE||this._handleClear(i)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var s=e('<span class="select2-selection__clear">×</span>');i.StoreData(s[0],"data",n),this.$selection.find(".select2-selection__rendered").prepend(s)}},n}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,i){function n(e,t,i){e.call(this,t,i)}return n.prototype.render=function(t){var i=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=i,this.$search=i.find("input");var n=t.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(e,n,s){var r=this;e.call(this,n,s),n.on("open",function(){r.$search.trigger("focus")}),n.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),n.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),n.on("disable",function(){r.$search.prop("disabled",!0)}),n.on("focus",function(e){r.$search.trigger("focus")}),n.on("results:focus",function(e){r.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".select2-search--inline",function(e){r.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){r._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===i.BACKSPACE&&""===r.$search.val()){var n=r.$searchContainer.prev(".select2-selection__choice");if(n.length>0){var s=t.GetData(n[0],"data");r.searchRemoveChoice(s),e.preventDefault()}}});var a=document.documentMode,o=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){return o?void r.$selection.off("input.search input.searchcheck"):void r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(o&&"input"===e.type)return void r.$selection.off("input.search input.searchcheck");var t=e.which;t!=i.SHIFT&&t!=i.CTRL&&t!=i.ALT&&t!=i.TAB&&r.handleSearch(e)})},n.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},n.prototype.update=function(e,t){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&this.$search.focus()},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},n}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,i,n){var s=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];t.call(this,i,n),i.on("*",function(t,i){if(-1!==e.inArray(t,r)){i=i||{};var n=e.Event("select2:"+t,{params:i});s.$element.trigger(n),-1!==e.inArray(t,a)&&(i.prevented=n.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var n=t(e);
12i._cache[e]=n}return new i(i._cache[e])},i}),t.define("select2/diacritics",[],function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"
12c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï"}}),t.define("select2/data/base",["../utils"],function(e){function t(e,i){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,i){var n=t.id+"-result-";return n+=e.generateChars(4),n+=null!=i.id?"-"+i.id.toString():"-"+e.generateChars(4)},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,i){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,e),n.prototype.current=function(e){var t=[],n=this;this.$element.find(":selected").each(function(){var e=i(this),s=n.item(e);t.push(s)}),e(t)}
vendor: 4,379 bytes, line 12
12,n.prototype.select=function(e){var t=this;if(e.selected=!0,i(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var s=[];e=[e],e.push.apply(e,n);for(var r=0;r<e.length;r++){var a=e[r].id;-1===i.inArray(a,s)&&s.push(a)}t.$element.val(s),t.$element.trigger("change")});else{var n=e.id;this.$element.val(n),this.$element.trigger("change")}},n.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,i(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current(function(n){for(var s=[],r=0;r<n.length;r++){var a=n[r].id;a!==e.id&&-1===i.inArray(a,s)&&s.push(a)}t.$element.val(s),t.$element.trigger("change")})}},n.prototype.bind=function(e,t){var i=this;this.container=e,e.on("select",function(e){i.select(e.data)}),e.on("unselect",function(e){i.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){t.RemoveData(this)})},n.prototype.query=function(e,t){var n=[],s=this;this.$element.children().each(function(){var t=i(this);if(t.is("option")||t.is("optgroup")){var r=s.item(t),a=s.matches(e,r);null!==a&&n.push(a)}}),t({results:n})},n.prototype.addOptions=function(e){t.appendMany(this.$element,e)},n.prototype.option=function(e){var n;e.children?(n=document.createElement("optgroup"),n.label=e.text):(n=document.createElement("option"),void 0!==n.textContent?n.textContent=e.text:n.innerText=e.text),void 0!==e.id&&(n.value=e.id),e.disabled&&(n.disabled=!0),e.selected&&(n.selected=!0),e.title&&(n.title=e.title);var s=i(n),r=this._normalizeItem(e);return r.element=n,t.StoreData(n,"data",r),s},n.prototype.item=function(e){var n={};if(null!=(n=t.GetData(e[0],"data")))return n;if(e.is("option"))n={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){n={text:e.prop("label"),children:[],title:e.prop("title")};for(var s=e.children("option"),r=[],a=0;a<s.length;a++){var o=i(s[a]),l=this.item(o);r.push(l)}n.children=r}return n=this._normalizeItem(n),n.element=e[0],t.StoreData(e[0],"data",n),n},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e}),e=i.extend({},{text:""},e);var t={selected:!1,disabled:!1};return null!=e.id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),i.extend({},t,e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,i){function n(e,t){var i=t.get("data")||[];n.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(i))}return t.Extend(n,e),n.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,i){return i.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),n.__super__.select.call(this,e)},n.prototype.convertToOptions=function(e){function n(e){return function(){return i(this).val()==e.id}}for(var s=this,r=this.$element.find("option"),a=r.map(function(){return s.item(i(this)).id}).get(),o=[],l=0;l<e.length;l++){var d=this._normalizeItem(e[l]);if(i.inArray(d.id,a)>=0){var c=r.filter(n(d)),u=this.item(c),p=i.extend(!0,{},d,u),h=this.option(p);c.replaceWith(h)}else{var f=this.option(d);if(d.children){var m=this.convertToOptions(d.children);t.appendMany(f,m)}o.push(f)}}return o},n}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,i){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return i.extend({},e,{q:e.term})},transport:function(e,t,n){var s=i.ajax(e);return s.then(t),s.fail(n),s}};return i.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(e,t){function n(){var n=r.transport(r,function(n){var r=s.processResults(n,e);s.options.get("debug")&&window.console&&console.error&&(r&&r.results&&i.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)}
vendor: 5,156 bytes, lines 12-13
12,function(){"status"in n&&(0===n.status||"0"===n.status)||s.trigger("results:message",{message:"errorLoading"})});s._request=n}var s=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=i.extend({type:"GET"},this.ajaxOptions);"function"==typeof r.url&&(r.url=r.url.call(this.$element,e)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(n,this.ajaxOptions.delay)):n()},n}),t.define("select2/data/tags",["jquery"],function(e){function t(t,i,n){var s=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var a=n.get("insertTag");if(void 0!==a&&(this.insertTag=a),t.call(this,i,n),e.isArray(s))for(var o=0;o<s.length;o++){var l=s[o],d=this._normalizeItem(l),c=this.option(d);this.$element.append(c)}}return t.prototype.query=function(e,t,i){function n(e,r){for(var a=e.results,o=0;o<a.length;o++){var l=a[o],d=null!=l.children&&!n({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||d)return!r&&(e.data=a,void i(e))}if(r)return!0;var c=s.createTag(t);if(null!=c){var u=s.option(c);u.attr("data-select2-tag",!0),s.addOptions([u]),s.insertTag(a,c)}e.results=a,i(e)}var s=this;return this._removeOldTags(),null==t.term||null!=t.page?void e.call(this,t,i):void e.call(this,t,n)},t.prototype.createTag=function(t,i){var n=e.trim(i.term);return""===n?null:{id:n,text:n}},t.prototype.insertTag=function(e,t,i){t.unshift(i)},t.prototype._removeOldTags=function(t){this._lastTag,this.$element.find("option[data-select2-tag]").each(function(){this.selected||e(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),e.call(this,t,i)}return t.prototype.bind=function(e,t,i){e.call(this,t,i),this.$search=t.dropdown.$search||t.selection.$search||i.find(".select2-search__field")},t.prototype.query=function(t,i,n){function s(t){var i=a._normalizeItem(t);if(!a.$element.find("option").filter(function(){return e(this).val()===i.id}).length){var n=a.option(i);n.attr("data-select2-tag",!0),a._removeOldTags(),a.addOptions([n])}r(i)}function r(e){a.trigger("select",{data:e})}var a=this;i.term=i.term||"";var o=this.tokenizer(i,this.options,s);o.term!==i.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),i.term=o.term),t.call(this,i,n)},t.prototype.tokenizer=function(t,i,n,s){for(var r=n.get("tokenSeparators")||[],a=i.term,o=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};o<a.length;){var d=a[o];if(-1!==e.inArray(d,r)){var c=a.substr(0,o),u=e.extend({},i,{term:c}),p=l(u);null!=p?(s(p),a=a.substr(o+1)||"",o=0):o++}else o++}return{term:a}},t}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,i){this.minimumInputLength=i.get("minimumInputLength"),e.call(this,t,i)}return e.prototype.query=function(e,t,i){return t.term=t.term||"",t.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):void e.call(this,t,i)},e}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,i){this.maximumInputLength=i.get("maximumInputLength"),e.call(this,t,i)}return e.prototype.query=function(e,t,i){return t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):void e.call(this,t,i)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),e.call(this,t,i)}return e.prototype.query=function(e,t,i){var n=this;this.current(function(s){var r=null!=s?s.length:0;return n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?void n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):void e.call(n,t,i)})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},i.prototype.bind=function(){},i.prototype.position=function(e,t){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),t.define("select2/dropdown/search",["jquery","../utils"],function(e,t){function i(){}return i.prototype.render=function(t){var i=t.call(this),n=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>'); 13return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(t,i,n){var s=this;t.call(this,i,n),this.$search.on("keydown",function(e){s.trigger("keypress",e),s._
vendor: 4,222 bytes, line 13
13keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){s.handleSearch(e)}),i.on("open",function(){s.$search.attr("tabindex",0),s.$search.focus(),window.setTimeout(function(){s.$search.focus()},0)}),i.on("close",function(){s.$search.attr("tabindex",-1),s.$search.val(""),s.$search.blur()}),i.on("focus",function(){i.isOpen()||s.$search.focus()}),i.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(s.showSearch(e)?s.$searchContainer.removeClass("select2-search--hide"):s.$searchContainer.addClass("select2-search--hide"))})},i.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.showSearch=function(e,t){return!0},i}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),e.call(this,t,i,n)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var i=t.slice(0),n=t.length-1;n>=0;n--){var s=t[n];this.placeholder.id===s.id&&i.splice(n,1)}return i},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,i,n){this.lastParams={},e.call(this,t,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,i,n){var s=this;t.call(this,i,n),i.on("query",function(e){s.lastParams=e,s.loading=!0}),i.on("query:append",function(e){s.lastParams=e,s.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,s.$loadingMore[0]);!s.loading&&t&&s.$results.offset().top+s.$results.outerHeight(!1)+50>=s.$loadingMore.offset().top+s.$loadingMore.outerHeight(!1)&&s.loadMore()})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return t.html(i(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function i(t,i,n){this.$dropdownParent=n.get("dropdownParent")||e(document.body),t.call(this,i,n)}return i.prototype.bind=function(e,t,i){var n=this,s=!1;e.call(this,t,i),t.on("open",function(){n._showDropdown(),n._attachPositioningHandler(t),s||(s=!0,t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),t.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},i.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(e,t,i){t.attr("class",i.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(t){var i=e("<span></span>"),n=t.call(this);return i.append(n),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i,n){var s=this,r="scroll.select2."+n.id,a="resize.select2."+n.id,o="orientationchange.select2."+n.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(r,function(i){var n=t.GetData(this,"select2-scroll-position");e(this).scrollTop(n.y)}),e(window).on(r+" "+a+" "+o,function(e){s._positionDropdown(),s._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,n){var s="scroll.
13select2."+n.id,r="resize.select2."+n.id,a="orientationchange.select2."+n.id;this.$container.parents().filter(t.hasScroll).off(s),e(window).off(s+" "+r+" "+a)},i.prototype._positionDropdown=function(){var t=e(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),s=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=r.top,a.bottom=r.top+a.height;var o={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},d=l.top<r.top-o.height,c=l.bottom>r.bottom+o.height,u={left:r.left,top:a.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h=p.offset();u.top-=h.top,u.left-=h.left,i||n||(s="below"),c||!d||i?!d&&c&&i&&(s="below"):s="above",("above"==s||i&&"below"!==s)&&(u.top=a.top-h.top-o.height),null!=s&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+s),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+s)),this.$dropdownContainer.css(u)},i.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},i.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var i=0,n=0;n<t.length;n++){var s=t[n];s.children?i+=e(s.children):i++}return i}function t(e,t,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,i,n)}return t.prototype.showSearch=function(t,i){return!(e(i.data.results)<this.minimumResultsForSearch)&&t.call(this,i)},t}),t.define("select2/dropdown/selectOnClose",["../utils"],function(e){function t(){}return t.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),t.on("close",function(e){n._handleSelectOnClose(e)})},t.prototype._handleSelectOnClose=function(t,i){if(i&&null!=i.originalSelect2Event){var n=i.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var s=this.getHighlightedResults();if(!(s.length<1)){var r=e.GetData(s[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},t}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,i){var n=this;e.call(this,t,i),t.on("select",function(e){n._selectTriggered(e)}),t.on("unselect",function(e){n._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var i=t.originalEvent;i&&i.ctrlKey||this.trigger("close",{originalEvent:i,originalSelect2Event:t})},e}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,i="Please delete "+t+" character";return 1!=t&&(i+="s"),i},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,i,n,s,r,a,o,l,d,c,u,p,h,f,m,v,g,y,b,w,x,T,C,S,E,k,$,A){function _(){this.reset()}return _.prototype.apply=function(e){if(e=H.extend(!0,{},this.defaults,e),null==e.dataAdapter){if(null!=e.ajax?e.dataAdapter=f:null!=e.data?e.dataAdapter=h:e.dataAdapter=p,e.minimumInputLength>0&&(e.dataAdapter=d.Decorate(e.dataAdapter,g)),e.maximumInputLength>0&&(e.dataAdapter=d.Decorate(e.dataAdapter,y)),e.maximumSelectionLength>0&&(e.dataAdapter=d.Decorate(e.dataAdapter,b)),e.tags&&(e.dataAdapter=d.Decorate(e.dataAdapter,m)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=d.Decorate(e.dataAdapter,v)),null!=e.query){var u=t(e.amdBase+"compat/query");e.dataAdapter=d.Decorate(e.dataAdapter,u)}if(null!=e.initSelection){var A=t(e.amdBase+"compat/initSelection");e.dataAdapter=d.Decorate(e.dataAdapter,A)}}if(null==e.resultsAdapter&&(e.resultsAdapter=i,null!=e.ajax&&(e.resultsAdapter=d.Decorate(e.resultsAdapter,C)),null!=e.placeholder&&(e.resultsAdapter=d.Decorate(e.resultsAdapter,T)),e.selectOnClose&&(e.resultsAdapter=d.Decorate(e.resultsAdapter,k))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=w;else{var _=d.Decorate(w,x);e.dropdownAdapter=_}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=d.Decorate(e.dropdownAdapter,E)),e.closeOnSelect&&(e.dropdownAdapter=d.Decorate(e.dropdownAdapter,$)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var P=t(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=d.Decorate(e.dropdownAdapter,P)}e.dropdownAdapter=d.Decorate(e.dropdownAdapter,S)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=s:e.selectionAdapter=n,null!=e.placeholder&&(e.selectionAdapter=d.Decorate(e.selectionAdapter,r)),e.allowClear&&(e.selectionAdapter=d.Decorate(e.selectionAdapter,a)),e.multiple&&(e.selectionAdapter=d.Decorate(e.selectionAdapter,o)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptC
vendor: 3,987 bytes, line 13
13ontainerCssClass){var M=t(e.amdBase+"compat/containerCss");e.selectionAdapter=d.Decorate(e.selectionAdapter,M)}e.selectionAdapter=d.Decorate(e.selectionAdapter,l)}if("string"==typeof e.language)if(e.language.indexOf("-")>0){var D=e.language.split("-"),L=D[0];e.language=[e.language,L]}else e.language=[e.language];if(H.isArray(e.language)){var z=new c;e.language.push("en");for(var O=e.language,I=0;I<O.length;I++){var j=O[I],F={};try{F=c.loadPath(j)}catch(H){try{j=this.defaults.amdLanguageBase+j,F=c.loadPath(j)}catch(H){e.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+j+'" could not be automatically loaded. A fallback will be used instead.');continue}}z.extend(F)}e.translations=z}else{var N=c.loadPath(this.defaults.amdLanguageBase+"en"),q=new c(e.language);q.extend(N),e.translations=q}return e},_.prototype.reset=function(){function t(e){function t(e){return u[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function i(n,s){if(""===e.trim(n.term))return s;if(s.children&&s.children.length>0){for(var r=e.extend(!0,{},s),a=s.children.length-1;a>=0;a--)null==i(n,s.children[a])&&r.children.splice(a,1);return r.children.length>0?r:i(n,r)}var o=t(s.text).toUpperCase(),l=t(n.term).toUpperCase();return o.indexOf(l)>-1?s:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:d.escapeMarkup,language:A,matcher:i,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},_.prototype.set=function(t,i){var n=e.camelCase(t),s={};s[n]=i;var r=d._convertData(s);e.extend(!0,this.defaults,r)},new _}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,i,n){function s(t,s){if(this.options=t,null!=s&&this.fromElement(s),this.options=i.apply(this.options),s&&s.is("input")){var r=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,r)}}return s.prototype.fromElement=function(e){var i=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),n.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(e[0],"data",n.GetData(e[0],"select2Tags")),n.StoreData(e[0],"tags",!0)),n.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",n.GetData(e[0],"ajaxUrl")),n.StoreData(e[0],"ajax-Url",n.GetData(e[0],"ajaxUrl")));var s={};s=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,n.GetData(e[0])):n.GetData(e[0]);var r=t.extend(!0,{},s);r=n._convertData(r);for(var a in r)t.inArray(a,i)>-1||(t.isPlainObject(this.options[a])?t.extend(this.options[a],r[a]):this.options[a]=r[a]);return this},s.prototype.get=function(e){return this.options[e]},s.prototype.set=function(e,t){this.options[e]=t},s}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,i,n){var s=function(e,n){
vendor: 6,459 bytes, line 13
13null!=i.GetData(e[0],"select2")&&i.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),s.__super__.constructor.call(this);var r=e.attr("tabindex")||0;i.StoreData(e[0],"old-tabindex",r),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var o=this.render();this._placeContainer(o);var l=this.options.get("selectionAdapter");this.selection=new l(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,o);var d=this.options.get("dropdownAdapter");this.dropdown=new d(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,o);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){u.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),i.StoreData(e[0],"select2",this)};return i.Extend(s,i.Observable),s.prototype._generateId=function(e){var t="";return t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+i.generateChars(2):i.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),t="select2-"+t},s.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},s.prototype._resolveWidth=function(e,t){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var n=this._resolveWidth(e,"style");return null!=n?n:this._resolveWidth(e,"element")}if("element"==t){var s=e.outerWidth(!1);return s<=0?"auto":s+"px"}if("style"==t){var r=e.attr("style");if("string"!=typeof r)return null;for(var a=r.split(";"),o=0,l=a.length;o<l;o+=1){var d=a[o].replace(/\s/g,""),c=d.match(i);if(null!==c&&c.length>=1)return c[1]}return null}return t},s.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},s.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){e.each(i,t._syncA),e.each(i,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},s.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,i){e.trigger(t,i)})},s.prototype._registerSelectionEvents=function(){var t=this,i=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(n,s){-1===e.inArray(n,i)&&t.trigger(n,s)})},s.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,i){e.trigger(t,i)})},s.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,i){e.trigger(t,i)})},s.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(i){e.trigger("results:all",{data:i,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(i){e.trigger("results:append",{data:i,query:t})})}),this.on("keypress",function(t){var i=t.which;e.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&t.altKey?(e.close(),t.preventDefault()):i===n.ENTER?(e.trigger("results:select",{}),t.preventDefault()):i===n.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):i===n.UP?(e.trigger("results:previous",{}),t.preventDefault()):i===n.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},s.prototype._syncSubtree=function(e,t){var i=!1,n=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var s=0;s<t.addedNodes.length;s++){var r=t.addedNodes[s];r.selected&&(i=!0)}else t.removedNodes&&t.removedNodes.length>0&&(i=!0);else i=!0;i&&this.dataAdapter.current(function(e){n.trigger("selection:update",{data:e})})}},s.prototype.trigger=function(e,t){var i=s.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in n){var r=n[e],a={prevented:!1,name:e,args:t};if(i.call(this,r,a),a.prevented)return void(t.prevented=!0)}i.call(this,e,t)},s.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},s.prototype.open=function(){this.isOpen()||this.trigger("query",{})},s.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},s.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},s.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")}
13,s.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},s.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},s.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},s.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var i=t[0];e.isArray(i)&&(i=e.map(i,function(e){return e.toString()})),this.$element.val(i).trigger("change")},s.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),i.RemoveData(this.$element[0]),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},s.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),i.StoreData(t[0],"element",this.$element),t},s}),t.define("jquery-mousewheel",["jquery"],function(e){return e}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(e,t,i,n,s){if(null==e.fn.select2){var r=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var n=e.extend(!0,{},t);new i(e(this),n)}),this;if("string"==typeof t){var n,a=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,a)}),e.inArray(t,r)>-1?this:n}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=n),i}),{define:t.define,require:t.require}}(),i=t.require("jquery.select2");return e.fn.select2.amd=t,i}),function(e,t,i,n){"use strict";function s(e,t){var n,s,r,a=[],o=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=f(e.data.options,t)),n=t.$target||i(e.currentTarget).trigger("blur"),r=i.fancybox.getInstance(),r&&r.$trigger&&r.$trigger.is(n)||(t.selector?a=i(t.selector):(s=n.attr("data-fancybox")||"",s?(a=e.data?e.data.items:[],a=a.length?a.filter('[data-fancybox="'+s+'"]'):i('[data-fancybox="'+s+'"]')):a=[n]),o=i(a).index(n),o<0&&(o=0),r=i.fancybox.open(a,t,o),r.$trigger=n))}if(e.console=e.console||{info:function(e){}},i){if(i.fn.fancybox)return void console.info("fancyBox already initialized");var r={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
13<path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeClose:i.noop,afterClose:i.noop,onActivate:i.noop,onDeactivate:i.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},a=i(e),o=i(t),l=0,d=function(e){return e&&e.hasOwnProperty&&e instanceof i},c=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}}(),u=function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)}}(),p=function(){var e,i=t.createElement("fakeelement"),s={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in s)if(i.style[e]!==n)return s[e];return"transitionend"}(),h=function(e){return e&&e.length&&e[0].offsetHeight},f=function(e,t){var n=i.extend(!0,{},e,t);return i.each(t,function(e,t){i.isArray(t)&&(n[e]=t)}),n},m=function(e){var n,s;return!(!e||e.ownerDocument!==t)&&(i(".fancybox-container").css("pointer-events","none"),n={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},s=t.elementFromPoint(n.x,n.y)===e,i(".fancybox-container").css("pointer-events",""),s)},v=function(e,t,n){var s=this;s.opts=f({index:n},i.fancybox.defaults),i.isPlainObject(t)&&(s.opts=f(s.opts,t)),i.fancybox.isMobile&&(s.opts=f(s.opts,s.opts.mobile)),s.id=s.opts.id||++l,s.currIndex=parseInt(s.opts.index,10)||0,s.prevIndex=null,s.prevPos=null,s.currPos=0,s.firstRun=!0,s.group=[],s.slides={},s.addContent(e),s.group.length&&s.init()};i.extend(v.prototype,{init:function(){var n,s,r=this,a=r.group[r.currIndex],o=a.opts;o.closeExisting&&i.fancybox.close(!0),i("body").addClass("fancybox-active"),!i.fancybox.getInstance()&&o.hideScrollbar!==!1&&!i.fancybox.isMobile&&t.body.scrollHeight>
vendor: 49,211 bytes, lines 13-15
13e.innerHeight&&(i("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-t.documentElement.clientWidth)+"px;}</style>"),i("body").addClass("compensate-for-scrollbar")),s="",i.each(o.buttons,function(e,t){s+=o.btnTpl[t]||""}),n=i(r.translate(r,o.baseTpl.replace("{{buttons}}",s).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+r.id).addClass(o.baseClass).data("FancyBox",r).appendTo(o.parentEl), 14r.$refs={container:n},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(e){r.$refs[e]=n.find(".fancybox-"+e)}),r.trigger("onInit"),r.activate(),r.jumpTo(r.currIndex)},translate:function(e,t){var i=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,function(e,t){return i[t]===n?e:i[t]})},addContent:function(e){var t,s=this,r=i.makeArray(e);i.each(r,function(e,t){var r,a,o,l,d,c={},u={};i.isPlainObject(t)?(c=t,u=t.opts||t):"object"===i.type(t)&&i(t).length?(r=i(t),u=r.data()||{},u=i.extend(!0,{},u,u.options),u.$orig=r,c.src=s.opts.src||u.src||r.attr("href"),c.type||c.src||(c.type="inline",c.src=t)):c={type:"html",src:t+""},c.opts=i.extend(!0,{},s.opts,u),i.isArray(u.buttons)&&(c.opts.buttons=u.buttons),i.fancybox.isMobile&&c.opts.mobile&&(c.opts=f(c.opts,c.opts.mobile)),a=c.type||c.opts.type,l=c.src||"",!a&&l&&((o=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",c.opts.video.format||(c.opts.video.format="video/"+("ogv"===o[1]?"ogg":o[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",c=i.extend(!0,c,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(a="inline")),a?c.type=a:s.trigger("objectNeedsType",c),c.contentType||(c.contentType=i.inArray(c.type,["html","inline","ajax"])>-1?"html":c.type),c.index=s.group.length,"auto"==c.opts.smallBtn&&(c.opts.smallBtn=i.inArray(c.type,["html","inline","ajax"])>-1),"auto"===c.opts.toolbar&&(c.opts.toolbar=!c.opts.smallBtn),c.$thumb=c.opts.$thumb||null,c.opts.$trigger&&c.index===s.opts.index&&(c.$thumb=c.opts.$trigger.find("img:first"),c.$thumb.length&&(c.opts.$orig=c.opts.$trigger)),c.$thumb&&c.$thumb.length||!c.opts.$orig||(c.$thumb=c.opts.$orig.find("img:first")),c.$thumb&&!c.$thumb.length&&(c.$thumb=null),c.thumb=c.opts.thumb||(c.$thumb?c.$thumb[0].src:null),"function"===i.type(c.opts.caption)&&(c.opts.caption=c.opts.caption.apply(t,[s,c])),"function"===i.type(s.opts.caption)&&(c.opts.caption=s.opts.caption.apply(t,[s,c])),c.opts.caption instanceof i||(c.opts.caption=c.opts.caption===n?"":c.opts.caption+""),"ajax"===c.type&&(d=l.split(/\s+/,2),d.length>1&&(c.src=d.shift(),c.opts.filter=d.shift())),c.opts.modal&&(c.opts=i.extend(!0,c.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),s.group.push(c)}),Object.keys(s.slides).length&&(s.updateControls(),t=s.Thumbs,t&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation(),e.preventDefault(),t.close(e)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(e){e.stopPropagation(),e.preventDefault(),t.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(e){e.stopPropagation(),e.preventDefault(),t.next()}).on("click.fb","[data-fancybox-zoom]",function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()}),a.on("orientationchange.fb resize.fb",function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&u(t.requestId),t.requestId=c(function(){t.update(e)})):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout(function(){t.$refs.stage.show(),t.update(e)},i.fancybox.isMobile?600:250))}),o.on("keydown.fb",function(e){var n=i.fancybox?i.fancybox.getInstance():null,s=n.current,r=e.keyCode||e.which;if(9==r)return void(s.opts.trapFocus&&t.focus(e));if(!(!s.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||i(e.target).is("input,textarea,video,audio,select")))return 8===r||27===r?(e.preventDefault(),void t.close(e)):37===r||38===r?(e.preventDefault(),void t.previous()):39===r||40===r?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,r)}),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,o.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1}),t.idleInterval=e.setInterval(function(){t.idleSecondsCounter++,t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())},1e3))},removeEvents:function(){var t=this;a.off("orientationchange.fb resize.fb"),o.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),t.idleInterval&&(e.clearInterval(t.idleInterval),t.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var s,r,a,o,l,d,c,u,p,f=this,m=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(e=parseInt(e,10),a=f.current?f.current.opts.loop:f.opts.loop,!a&&(e<0||e>=m))return!1;if(s=f.firstRun=!Object.keys(f.slides).length,l=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,o=f.createSlide(e),m>1&&((a||o.index<m-1)&&f.createSlide(e+1),(a||o.index>0)&&f.createSlide(e-1)),f.current=o,f.currIndex=o.index,f.currPos=o.pos,f.trigger("beforeShow",s),f.updateControls(),o.forcedDuration=n,i.isNumeric(t)?o.forcedDuration=t:t=o.opts[s?"animationDuration":"transitionDuration"],t=parseInt(t,10),r=f.isMoved(o),o.$slide.addClass("fancybox-slide--current"),s)return o.opts.animationEffect&&t&&f.$refs.container.css("transition-duration",t+"ms"),f.$refs.container.addClass("fancybox-is-open").trigger("focus"),f.loadSlide(o),void f.preload("image");d=i.fancybox.getTranslate(l.$slide),c=i.fancybox.getTranslate(f.$refs.stage),i.each(f.slides,function(e,t){i.fancybox.stop(t.$slide,!0)}),l.pos!==o.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),r?(p=d.left-(l.pos*d.width+l.pos*l.opts.gutter),i.each(f.slides,function(e,n){n.$slide.removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var s=n.pos*d.width+n.pos*n.opts.gutter;i.fancybox.setTranslate(n.$slide,{top:0,left:s-c.left+p}),n.pos!==o.pos&&n.$slide.addClass("fancybox-slide--"+(n.pos>o.pos?"next":"previous")),h(n.$slide),i.fancybox.animate(n.$slide,{top:0,left:(n.pos-o.pos)*d.width+(n.pos-o.pos)*n.opts.gutter},t,function(){n.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),n.pos===f.currPos&&f.complete()})})):t&&o.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+o.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>o.pos?"next":"previous")),i.fancybox.animate(l.$slide,u,t,function(){l.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),o.isLoaded?f.revealContent(o):f.loadSlide(o),f.preload("image")}},createSlide:function(e){var t,n,s=this;return n=e%s.group.length,n=n<0?s.group.length+n:n,!s.slides[e]&&s.group[n]&&(t=i('<div class="fancybox-slide"></div>').appendTo(s.$refs.stage),s.slides[e]=i.extend(!0,{},s.group[n],{pos:e,$slide:t,isLoaded:!1}),s.updateSlide(s.slides[e])),s.slides[e]},scaleToActual:function(e,t,s){var r,a,o,l,d,c=this,u=c.current,p=u.$content,h=i.fancybox.getTranslate(u.$slide).width,f=i.fancybox.getTranslate(u.$slide).height,m=u.width,v=u.height;c.isAnimating||c.isMoved()||!p||"image"!=u.type||!u.isLoaded||u.hasError||(c.isAnimating=!0,i.fancybox.stop(p),e=e===n?.5*h:e,t=t===n?.5*f:t,r=i.fancybox.getTranslate(p),r.top-=i.fancybox.getTranslate(u.$slide).top,r.left-=i.fancybox.getTranslate(u.$slide).left,l=m/r.width,d=v/r.height,a=.5*h-.5*m,o=.5*f-.5*v,m>h&&(a=r.left*l-(e*l-e),a>0&&(a=0),a<h-m&&(a=h-m)),v>f&&(o=r.top*d-(t*d-t),o>0&&(o=0),o<f-v&&(o=f-v)),c.updateCursor(m,v),i.fancybox.animate(p,{top:o,left:a,scaleX:l,scaleY:d},s||366,function(){c.isAnimating=!1}),c.SlideShow&&c.SlideShow.isActive&&c.SlideShow.stop())},scaleToFit:function(e){var t,n=this,s=n.current,r=s.$content;n.isAnimating||n.isMoved()||!r||"image"!=s.type||!s.isLoaded||s.hasError||(n.isAnimating=!0,i.fancybox.stop(r),t=n.getFitPos(s),n.updateCursor(t.width,t.height),i.fancybox.animate(r,{top:t.top,left:t.left,scaleX:t.width/r.width(),scaleY:t.height/r.height()},e||366,function(){n.isAnimating=!1}))},getFitPos:function(e){var t,n,s,r,a=this,o=e.$content,l=e.$slide,d=e.width||e.opts.width,c=e.height||e.opts.height,u={};return!!(e.isLoaded&&o&&o.length)&&(t=i.fancybox.getTranslate(a.$refs.stage).width,n=i.fancybox.getTranslate(a.$refs.stage).height,t-=parseFloat(l.css("paddingLeft"))+parseFloat(l.css("paddingRight"))+parseFloat(o.css("marginLeft"))+parseFloat(o.css("marginRight")),n-=parseFloat(l.css("paddingTop"))+parseFloat(l.css("paddingBottom"))+parseFloat(o.css("marginTop"))+parseFloat(o.css("marginBottom")),d&&c||(d=t,c=n),s=Math.min(1,t/d,n/c),d=s*d,c=s*c,d>t-.5&&(d=t),c>n-.5&&(c=n),"image"===e.type?(u.top=Math.floor(.5*(n-c))+parseFloat(l.css("paddingTop")),u.left=Math.floor(.5*(t-d))+parseFloat(l.css("paddingLeft"))):"video"===e.contentType&&(r=e.opts.width&&e.opts.height?d/c:e.opts.ratio||16/9,c>d/r?c=d/r:d>c*r&&(d=c*r)),u.width=d,u.height=c,u)},update:function(e){var t=this;i.each(t.slides,function(i,n){t.updateSlide(n,e)})},updateSlide:function(e,t){var n=this,s=e&&e.$content,r=e.width||e.opts.width,a=e.height||e.opts.height,o=e.$slide;n.adjustCaption(e),s&&(r||a||"video"===e.contentType)&&!e.hasError&&(i.fancybox.stop(s),i.fancybox.setTranslate(s,n.getFitPos(e)),e.pos===n.currPos&&(n.isAnimating=!1,n.updateCursor())),n.adjustLayout(e),o.length&&(o.trigger("refresh"),e.pos===n.currPos&&n.$refs.toolbar.add(n.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",o.get(0).scrollHeight>o.get(0).clientHeight)),n.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,s=t.current,r=s.$slide;!t.isClosing&&s&&(r.siblings().css({transform:"",opacity:""}),r.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),i.fancybox.animate(r,{top:0,left:0,opacity:1},e===n?0:e,function(){r.css({transform:"",opacity:""}),s.isComplete||t.complete()},!1))},isMoved:function(e){var t,n,s=e||this.current;return!!s&&(n=i.fancybox.getTranslate(this.$refs.stage),t=i.fancybox.getTranslate(s.$slide),!s.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-n.top)>.5||Math.abs(t.left-n.left)>.5))},updateCursor:function(e,t){var n,s,r=this,a=r.current,o=r.$refs.container;a&&!r.isClosing&&r.Guestures&&(o.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),n=r.canPan(e,t),s=!!n||r.isZoomable(),o.toggleClass("fancybox-is-zoomable",s),i("[data-fancybox-zoom]").prop("disabled",!s),n?o.addClass("fancybox-can-pan"):s&&("zoom"===a.opts.clickContent||i.isFunction(a.opts.clickContent)&&"zoom"==a.opts.clickContent(a))?o.addClass("fancybox-can-zoomIn"):a.opts.touch&&(a.opts.touch.vertical||r.group.length>1)&&"video"!==a.contentType&&o.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,i=t.current;if(i&&!t.isClosing&&"image"===i.type&&!i.hasError){if(!i.isLoaded)return!0;if(e=t.getFitPos(i),e&&(i.width>e.width||i.height>e.height))return!0}return!1},isScaledDown:function(e,t){var s=this,r=!1,a=s.current,o=a.$content;return e!==n&&t!==n?r=e<a.width&&t<a.height:o&&(r=i.fancybox.getTranslate(o),r=r.width<a.width&&r.height<a.height),r},canPan:function(e,t){var s=this,r=s.current,a=null,o=!1;return"image"===r.type&&(r.isComplete||e&&t)&&!r.hasError&&(o=s.getFitPos(r),e!==n&&t!==n?a={width:e,height:t}:r.isComplete&&(a=i.fancybox.getTranslate(r.$content)),a&&o&&(o=Math.abs(a.width-o.width)>1.5||Math.abs(a.height-o.height)>1.5)),o},loadSlide:function(e){var t,n,s,r=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,r.trigger("beforeLoad",e)===!1)return e.isLoading=!1,!1;switch(t=e.type,n=e.$slide,n.off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":r.setImage(e);break;case"iframe":r.setIframe(e);break;case"html":r.setContent(e,e.src||e.content);break;case"video":r.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":i(e.src).length?r.setContent(e,i(e.src)):r.setError(e);break;case"ajax":r.showLoading(e),s=i.ajax(i.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,i){"success"===i&&r.setContent(e,t)},error:function(t,i){t&&"abort"!==i&&r.setError(e)}})),n.one("onReset",function(){s.abort()});break;default:r.setError(e)}return!0}},setImage:function(e){var n,s=this;setTimeout(function(){var t=e.$image;s.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||s.showLoading(e)},50),s.checkSrcset(e),e.$content=i('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),e.opts.preload!==!1&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,n=t.createElement("img"),n.onerror=function(){i(this).remove(),e.$ghost=null},n.onload=function(){s.afterLoad(e)},e.$ghost=i(n).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),s.setBigImage(e)},checkSrcset:function(t){var i,n,s,r,a=t.opts.srcset||t.opts.image.srcset;if(a){s=e.devicePixelRatio||1,r=e.innerWidth*s,n=a.split(",").map(function(e){var t={};return e.trim().split(/\s+/).forEach(function(e,i){var n=parseInt(e.substring(0,e.length-1),10);return 0===i?t.url=e:void(n&&(t.value=n,t.postfix=e[e.length-1]))}),t}),n.sort(function(e,t){return e.value-t.value});for(var o=0;o<n.length;o++){var l=n[o];if("w"===l.postfix&&l.value>=r||"x"===l.postfix&&l.value>=s){i=l;break}}!i&&n.length&&(i=n[n.length-1]),i&&(t.src=i.url,t.width&&t.height&&"w"==i.postfix&&(t.height=t.width/t.height*i.value,t.width=i.value),t.opts.srcset=a)}},setBigImage:function(e){var n=this,s=t.createElement("img"),r=i(s);e.$image=r.one("error",function(){n.setError(e)}).one("load",function(){var t;e.$ghost||(n.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),n.afterLoad(e)),n.isClosing||(e.opts.srcset&&(t=e.opts.sizes,t&&"auto"!==t||(t=(e.width/e.height>1&&a.width()/a.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),r.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout(function(){e.$ghost&&!n.isClosing&&e.$ghost.hide()},Math.min(300,Math.max(1e3,e.height/1600))),n.hideLoading(e))}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(s.complete||"complete"==s.readyState)&&r.naturalWidth&&r.naturalHeight?r.trigger("load"):s.error&&r.trigger("error")},resolveImageSlideSize:function(e,t,i){var n=parseInt(e.opts.width,10),s=parseInt(e.opts.height,10);e.width=t,e.height=i,n>0&&(e.width=n,e.height=Math.floor(n*i/t)),s>0&&(e.width=Math.floor(s*t/i),e.height=s)},setIframe:function(e){var t,s=this,r=e.opts.iframe,a=e.$slide;e.$content=i('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(a),a.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=i(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content),r.preload?(s.showLoading(e),t.on("load.fb error.fb",function(t){this.isReady=1,e.$slide.trigger("refresh"),s.afterLoad(e)}),a.on("refresh.fb",function(){var i,s,o=e.$content,l=r.css.width,d=r.css.height;if(1===t[0].isReady){try{i=t.contents(),s=i.find("body")}catch(c){}s&&s.length&&s.children().length&&(a.css("overflow","visible"),o.css({width:"100%","max-width":"100%",height:"9999px"}),l===n&&(l=Math.ceil(Math.max(s[0].clientWidth,s.outerWidth(!0)))),o.css("width",l?l:"").css("max-width",""),d===n&&(d=Math.ceil(Math.max(s[0].clientHeight,s.outerHeight(!0)))),o.css("height",d?d:""),a.css("overflow","auto")),o.removeClass("fancybox-is-hidden")}})):s.afterLoad(e),t.attr("src",e.src),a.one("onReset",function(){try{i(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}i(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1})},setContent:function(e,t){var n=this;n.isClosing||(n.hideLoading(e),e.$content&&i.fancybox.stop(e.$content),e.$slide.empty(),d(t)&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=i("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===i.type(t)&&(t=i("<div>").append(i.trim(t)).contents()),e.opts.filter&&(t=i("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",function(){i(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(i(this).empty(),e.isLoaded=!1,e.isRevealed=!1)}),i(t).appendTo(e.$slide),i(t).is("video,audio")&&(i(t).addClass("fancybox-video"),i(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||i(t).attr("width"),e.opts.height=e.opts.height||i(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),n.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){var t=this;e=e||t.current,e&&!e.$spinner&&(e.$spinner=i(t.translate(t,t.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){var t=this;e=e||t.current,e&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=i(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",function(e){return 2==e.button&&e.preventDefault(),!0}),"image"===e.type&&i('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(),t.revealContent(e))},adjustCaption:function(e){var t,i=this,n=e||i.current,s=n.opts.caption,r=n.opts.preventCaptionOverlap,a=i.$refs.caption,o=!1;a.toggleClass("fancybox-caption--separate",r),r&&s&&s.length&&(n.pos!==i.currPos?(t=a.clone().appendTo(a.parent()),t.children().eq(0).empty().html(s),o=t.outerHeight(!0),t.empty().remove()):i.$caption&&(o=i.$caption.outerHeight(!0)),n.$slide.css("padding-bottom",o||""))},adjustLayout:function(e){var t,i,n,s,r=this,a=e||r.current;a.isLoaded&&a.opts.disableLayoutFix!==!0&&(a.$content.css("margin-bottom",""),a.$content.outerHeight()>a.$slide.height()+.5&&(n=a.$slide[0].style["padding-bottom"],s=a.$slide.css("padding-bottom"),parseFloat(s)>0&&(t=a.$slide[0].scrollHeight,a.$slide.css("padding-bottom",0),Math.abs(t-a.$slide[0].scrollHeight)<1&&(i=s),a.$slide.css("padding-bottom",n))),a.$content.css("margin-bottom",i))},revealContent:function(e){var t,s,r,a,o=this,l=e.$slide,d=!1,c=!1,u=o.isMoved(e),p=e.isRevealed;return e.isRevealed=!0,t=e.opts[o.firstRun?"animationEffect":"transitionEffect"],r=e.opts[o.firstRun?"animationDuration":"transitionDuration"],r=parseInt(e.forcedDuration===n?r:e.forcedDuration,10),!u&&e.pos===o.currPos&&r||(t=!1),"zoom"===t&&(e.pos===o.currPos&&r&&"image"===e.type&&!e.hasError&&(c=o.getThumbPos(e))?d=o.getFitPos(e):t="fade"),"zoom"===t?(o.isAnimating=!0,d.scaleX=d.width/c.width,d.scaleY=d.height/c.height,a=e.opts.zoomOpacity,"auto"==a&&(a=Math.abs(e.width/e.height-c.width/c.height)>.1),a&&(c.opacity=.1,d.opacity=1),i.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),c),h(e.$content),void i.fancybox.animate(e.$content,d,r,function(){o.isAnimating=!1,o.complete()})):(o.updateSlide(e),t?(i.fancybox.stop(l),s="fancybox-slide--"+(e.pos>=o.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,l.addClass(s).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),h(l),"image"!==e.type&&e.$content.hide().show(0),void i.fancybox.animate(l,"fancybox-slide--current",r,function(){l.removeClass(s).css({transform:"",opacity:""}),e.pos===o.currPos&&o.complete()},!0)):(e.$content.removeClass("fancybox-is-hidden"),p||!u||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===o.currPos&&o.complete())))},getThumbPos:function(e){var t,n,s,r,a,o=!1,l=e.$thumb;return!(!l||!m(l[0]))&&(t=i.fancybox.getTranslate(l),n=parseFloat(l.css("border-top-width")||0),s=parseFloat(l.css("border-right-width")||0),r=parseFloat(l.css("border-bottom-width")||0),a=parseFloat(l.css("border-left-width")||0),o={top:t.top+n,left:t.left+a,width:t.width-s-a,height:t.height-n-r,scaleX:1,scaleY:1},t.width>0&&t.height>0&&o)},complete:function(){var e,t=this,n=t.current,s={};!t.isMoved()&&n.isLoaded&&(n.isComplete||(n.isComplete=!0,n.$slide.siblings().trigger("onReset"),t.preload("inline"),h(n.$slide),n.$slide.addClass("fancybox-slide--complete"),i.each(t.slides,function(e,n){n.pos>=t.currPos-1&&n.pos<=t.currPos+1?s[n.pos]=n:n&&(i.fancybox.stop(n.$slide),n.$slide.off().remove())}),t.slides=s),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),n.opts.video.autoStart&&n.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()}),n.opts.autoFocus&&"html"===n.contentType&&(e=n.$content.find("input[autofocus]:enabled:visible:first"),e.length?e.trigger("focus"):t.focus(null,!0)),n.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,i,n=this;n.group.length<2||(i=n.slides[n.currPos+1],t=n.slides[n.currPos-1],t&&t.type===e&&n.loadSlide(t),i&&i.type===e&&n.loadSlide(i))},focus:function(e,n){var s,r,a=this,o=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");a.isClosing||(s=!e&&a.current&&a.current.isComplete?a.current.$slide.find("*:visible"+(n?":not(.fancybox-close-small)":"")):a.$refs.container.find("*:visible"),s=s.filter(o).filter(function(){return"hidden"!==i(this).css("visibility")&&!i(this).hasClass("disabled")}),s.length?(r=s.index(t.activeElement),e&&e.shiftKey?(r<0||0==r)&&(e.preventDefault(),s.eq(s.length-1).trigger("focus")):(r<0||r==s.length-1)&&(e&&e.preventDefault(),s.eq(0).trigger("focus"))):a.$refs.container.trigger("focus"))},activate:function(){var e=this;i(".fancybox-container").each(function(){var t=i(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)}),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var n,s,r,a,o,l,d,u=this,p=u.current,f=function(){u.cleanUp(e)};return!u.isClosing&&(u.isClosing=!0,u.trigger("beforeClose",e)===!1?(u.isClosing=!1,c(function(){u.update()}),!1):(u.removeEvents(),r=p.$content,n=p.opts.animationEffect,s=i.isNumeric(t)?t:n?p.opts.animationDuration:0,p.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),e!==!0?i.fancybox.stop(p.$slide):n=!1,p.$slide.siblings().trigger("onReset").remove(),s&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",s+"ms"),u.hideLoading(p),u.hideControls(!0),u.updateCursor(),"zoom"!==n||r&&s&&"image"===p.type&&!u.isMoved()&&!p.hasError&&(d=u.getThumbPos(p))||(n="fade"),"zoom"===n?(i.fancybox.stop(r),a=i.fancybox.getTranslate(r),l={top:a.top,left:a.left,scaleX:a.width/d.width,scaleY:a.height/d.height,width:d.width,height:d.height},o=p.opts.zoomOpacity,"auto"==o&&(o=Math.abs(p.width/p.height-d.width/d.height)>.1),o&&(d.opacity=0),i.fancybox.setTranslate(r,l),h(r),i.fancybox.animate(r,d,s,f),!0):(n&&s?i.fancybox.animate(p.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+n,s,f):e===!0?setTimeout(f,s):f(),!0)))},cleanUp:function(t){var n,s,r,a=this,o=a.current.opts.$orig;a.current.$slide.trigger("onReset"),a.$refs.container.empty().remove(),a.trigger("afterClose",t),a.current.opts.backFocus&&(o&&o.length&&o.is(":visible")||(o=a.$trigger),o&&o.length&&(s=e.scrollX,r=e.scrollY,o.trigger("focus"),i("html, body").scrollTop(r).scrollLeft(s))),a.current=null,n=i.fancybox.getInstance(),n?n.activate():(i("body").removeClass("fancybox-active compensate-for-scrollbar"),i("#fancybox-style-noscroll").remove())},trigger:function(e,t){var n,s=Array.prototype.slice.call(arguments,1),r=this,a=t&&t.opts?t:r.current;return a?s.unshift(a):a=r,s.unshift(r),i.isFunction(a.opts[e])&&(n=a.opts[e].apply(a,s)),n===!1?n:void("afterClose"!==e&&r.$refs?r.$refs.container.trigger(e+".fb",s):o.trigger(e+".fb",s))},updateControls:function(){var e=this,n=e.current,s=n.index,r=e.$refs.container,a=e.$refs.caption,o=n.opts.caption;n.$slide.trigger("refresh"),o&&o.length?(e.$caption=a,a.children().eq(0).html(o)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),r.find("[data-fancybox-count]").html(e.group.length),r.find("[data-fancybox-index]").html(s+1),r.find("[data-fancybox-prev]").prop("disabled",!n.opts.loop&&s<=0),r.find("[data-fancybox-next]").prop("disabled",!n.opts.loop&&s>=e.group.length-1),"image"===n.type?r.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",n.opts.image.src||n.src).show():n.opts.toolbar&&r.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),i(t.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=this,i=["infobar","toolbar","nav"];!e&&t.current.opts.preventCaptionOverlap||i.push("caption"),this.$refs.container.removeClass(i.map(function(e){return"fancybox-show-"+e}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this,t=e.current?e.current.opts:e.opts,i=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,i.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),i.fancybox={version:"3.5.7",defaults:r,getInstance:function(e){var t=i('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),n=Array.prototype.slice.call(arguments,1);return t instanceof v&&("string"===i.type(e)?t[e].apply(t,n):"function"===i.type(e)&&e.apply(t,n),t)},open:function(e,t,i){return new v(e,t,i)},close:function(e){var t=this.getInstance();t&&(t.close(),e===!0&&this.close(e))},destroy:function(){this.close(!0),o.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var i=t.createElement("div");return e.getComputedStyle&&e.getComputedStyle(i)&&e.getComputedStyle(i).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)}(),getTranslate:function(e){var t;return!(!e||!e.length)&&(t=e[0].getBoundingClientRect(),{top:t.top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))})},setTranslate:function(e,t){var i="",s={};if(e&&t)return t.left===n&&t.top===n||(i=(t.left===n?e.position().left:t.left)+"px, "+(t.top===n?e.position().top:t.top)+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),t.scaleX!==n&&t.scaleY!==n?i+=" scale("+t.scaleX+", "+t.scaleY+")":t.scaleX!==n&&(i+=" scaleX("+t.scaleX+")"),i.length&&(s.transform=i),t.opacity!==n&&(s.opacity=t.opacity),t.width!==n&&(s.width=t.width),t.height!==n&&(s.height=t.height),e.css(s)},animate:function(e,t,s,r,a){var o,l=this;i.isFunction(s)&&(r=s,s=null),l.stop(e),o=l.getTranslate(e),e.on(p,function(d){(!d||!d.originalEvent||e.is(d.originalEvent.target)&&"z-index"!=d.originalEvent.propertyName)&&(l.stop(e),i.isNumeric(s)&&e.css("transition-duration",""),i.isPlainObject(t)?t.scaleX!==n&&t.scaleY!==n&&l.setTranslate(e,{top:t.top,left:t.left,width:o.width*t.scaleX,height:o.height*t.scaleY,scaleX:1,scaleY:1}):a!==!0&&e.removeClass(t),i.isFunction(r)&&r(d))}),i.isNumeric(s)&&e.css("transition-duration",s+"ms"),i.isPlainObject(t)?(t.scaleX!==n&&t.scaleY!==n&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),i.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout(function(){e.trigger(p)},s+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(p),e.off(p).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},i.fn.fancybox=function(e){var t;return e=e||{},t=e.selector||!1,t?i("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},s):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},s),this},o.on("click.fb-start","[data-fancybox]",s),o.on("click.fb-start","[data-fancybox-trigger]",function(e){i('[data-fancybox="'+i(this).attr("data-fancybox-trigger")+'"]').eq(i(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:i(this)})}),function(){var e=".fancybox-button",t="fancybox-focus",n=null;o.on("mousedown mouseup focus blur",e,function(s){switch(s.type){case"mousedown":n=i(this);break;case"mouseup":n=null;break;case"focusin":i(e).removeClass(t),i(this).is(n)||i(this).is("[disabled]")||i(this).addClass(t);break;case"focusout":i(e).removeClass(t)}})}()}}(window,document,jQuery),function(e){"use strict";var t={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},i=function(t,i,n){if(t)return n=n||"","object"===e.type(n)&&(n=e.param(n,!0)),e.each(i,function(e,i){t=t.replace("$"+e,i||"")}),n.length&&(t+=(t.indexOf("?")>0?"&":"?")+n),t};e(document).on("objectNeedsType.fb",function(n,s,r){var a,o,l,d,c,u,p,h=r.src||"",f=!1;a=e.extend(!0,{},t,r.opts.media),e.each(a,function(t,n){if(l=h.match(n.matcher)){if(f=n.type,p=t,u={},n.paramPlace&&l[n.paramPlace]){c=l[n.paramPlace],"?"==c[0]&&(c=c.substring(1)),c=c.split("&");for(var s=0;s<c.length;++s){var a=c[s].split("=",2);2==a.length&&(u[a[0]]=decodeURIComponent(a[1].replace(/\+/g," ")))}}return d=e.extend(!0,{},n.params,r.opts[t],u), 15h="function"===e.type(n.url)?n.url.call(this,l,d,r):i(n.url,l,d),o="function"===e.type(n.thumb)?n.thumb.call(this,l,d,r):i(n.thumb,l),"youtube"===t?h=h.replace(/&t=((\d+)m)?(\d+)s/,function(e,t,i,n){return"&start="+((i?60*parseInt(i,10):0)+parseInt(n,10))}):"vimeo"===t&&(h=h.replace("&%23","#")),!1}}),f?(r.opts.thumb||r.opts.$thumb&&r.opts.$thumb.length||(r.opts.thumb=o),"iframe"===f&&(r.opts=e.extend(!0,r.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),e.extend(r,{type:f,src:h,origSrc:r.src,contentSource:p,contentType:"image"===f?"image":"gmap_place"==p||"gmap_search"==p?"map":"video"})):h&&(r.type=r.opts.defaultType)});var n={youtube:{src:"https://www.youtube.com/iframe_api","class":"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js","class":"Vimeo",loading:!1,loaded:!1},load:function(e){var t,i=this;return this[e].loaded?void setTimeout(function(){i.done(e)}):void(this[e].loading||(this[e].loading=!0,t=document.createElement("script"),t.type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){i[e].loaded=!0,i.done(e)}:t.onload=function(){i[e].loaded=!0,i.done(e)},document.body.appendChild(t)))},done:function(t){var i,n,s;"youtube"===t&&delete window.onYouTubeIframeAPIReady,i=e.fancybox.getInstance(),i&&(n=i.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?s=new YT.Player(n.attr("id"),{events:{onStateChange:function(e){0==e.data&&i.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&(s=new Vimeo.Player(n),s.on("ended",function(){i.next()})))}};e(document).on({"afterShow.fb":function(e,t,i){t.group.length>1&&("youtube"===i.contentSource||"vimeo"===i.contentSource)&&n.load(i.contentSource)}})}(jQuery),function(e,t,i){"use strict";var n=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}}(),s=function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)}}(),r=function(t){var i=[];t=t.originalEvent||t||e.e,t=t.touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t];for(var n in t)t[n].pageX?i.push({x:t[n].pageX,y:t[n].pageY}):t[n].clientX&&i.push({x:t[n].clientX,y:t[n].clientY});return i},a=function(e,t,i){return t&&e?"x"===i?e.x-t.x:"y"===i?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},o=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||i.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,n=e[0].attributes,s=n.length;t<s;t++)if("data-fancybox-"===n[t].nodeName.substr(0,14))return!0;return!1},l=function(t){var i=e.getComputedStyle(t)["overflow-y"],n=e.getComputedStyle(t)["overflow-x"],s=("scroll"===i||"auto"===i)&&t.scrollHeight>t.clientHeight,r=("scroll"===n||"auto"===n)&&t.scrollWidth>t.clientWidth;return s||r},d=function(e){for(var t=!1;;){if(t=l(e.get(0)))break;if(e=e.parent(),!e.length||e.hasClass("fancybox-stage")||e.is("body"))break}return t},c=function(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",i.proxy(t,"ontouchstart"))};c.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),i(t).off(".fb.touch"),e.requestId&&(s(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},c.prototype.ontouchstart=function(n){var s=this,l=i(n.target),c=s.instance,u=c.current,p=u.$slide,h=u.$content,f="touchstart"==n.type;if(f&&s.$container.off("mousedown.fb.touch"),(!n.originalEvent||2!=n.originalEvent.button)&&p.length&&l.length&&!o(l)&&!o(l.parent())&&(l.is("img")||!(n.originalEvent.clientX>l[0].clientWidth+l.offset().left))){if(!u||c.isAnimating||u.$slide.hasClass("fancybox-animated"))return n.stopPropagation(),void n.preventDefault();s.realPoints=s.startPoints=r(n),s.startPoints.length&&(u.touch&&n.stopPropagation(),s.startEvent=n,s.canTap=!0,s.$target=l,s.$content=h,s.opts=u.opts.touch,s.isPanning=!1,s.isSwiping=!1,s.isZooming=!1,s.isScrolling=!1,s.canPan=c.canPan(),s.startTime=(new Date).getTime(),s.distanceX=s.distanceY=s.distance=0,s.canvasWidth=Math.round(p[0].clientWidth),s.canvasHeight=Math.round(p[0].clientHeight),s.contentLastPos=null,s.contentStartPos=i.fancybox.getTranslate(s.$content)||{top:0,left:0},s.sliderStartPos=i.fancybox.getTranslate(p),s.stagePos=i.fancybox.getTranslate(c.$refs.stage),s.sliderStartPos.top-=s.stagePos.top,s.sliderStartPos.left-=s.stagePos.left,s.contentStartPos.top-=s.stagePos.top,s.contentStartPos.left-=s.stagePos.left,i(t).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",i.proxy(s,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",i.proxy(s,"ontouchmove")),i.fancybox.isMobile&&t.addEventListener("scroll",s.onscroll,!0),((s.opts||s.canPan)&&(l.is(s.$stage)||s.$stage.find(l).length)||(l.is(".fancybox-image")&&n.preventDefault(),i.fancybox.isMobile&&l.parents(".fancybox-caption").length))&&(s.isScrollable=d(l)||d(l.parent()),i.fancybox.isMobile&&s.isScrollable||n.preventDefault(),(1===s.startPoints.length||u.hasError)&&(s.canPan?(i.fancybox.stop(s.$content),s.isPanning=!0):s.isSwiping=!0,s.$container.addClass("fancybox-is-grabbing")),2===s.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(s.canTap=!1,s.isSwiping=!1,s.isPanning=!1,s.isZooming=!0,i.fancybox.stop(s.$content),s.centerPointStartX=.5*(s.startPoints[0].x+s.startPoints[1].x)-i(e).scrollLeft(),s.centerPointStartY=.5*(s.startPoints[0].y+s.startPoints[1].y)-i(e).scrollTop(),s.percentageOfImageAtPinchPointX=(s.centerPointStartX-s.contentStartPos.left)/s.contentStartPos.width,s.percentageOfImageAtPinchPointY=(s.centerPointStartY-s.contentStartPos.top)/s.contentStartPos.height,s.startDistanceBetweenFingers=a(s.startPoints[0],s.startPoints[1]))))}},c.prototype.onscroll=function(e){var i=this;i.isScrolling=!0,t.removeEventListener("scroll",i.onscroll,!0)},c.prototype.ontouchmove=function(e){var t=this;return void 0!==e.originalEvent.buttons&&0===e.originalEvent.buttons?void t.ontouchend(e):t.isScrolling?void(t.canTap=!1):(t.newPoints=r(e),void((t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&t.isSwiping===!0||e.preventDefault(),t.distanceX=a(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=a(t.newPoints[0],t.startPoints[0],"y"),t.distance=a(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))))},c.prototype.onSwipe=function(t){var r,a=this,o=a.instance,l=a.isSwiping,d=a.sliderStartPos.left||0;if(l!==!0)"x"==l&&(a.distanceX>0&&(a.instance.group.length<2||0===a.instance.current.index&&!a.instance.current.opts.loop)?d+=Math.pow(a.distanceX,.8):a.distanceX<0&&(a.instance.group.length<2||a.instance.current.index===a.instance.group.length-1&&!a.instance.current.opts.loop)?d-=Math.pow(-a.distanceX,.8):d+=a.distanceX),a.sliderLastPos={top:"x"==l?0:a.sliderStartPos.top+a.distanceY,left:d},a.requestId&&(s(a.requestId),a.requestId=null),a.requestId=n(function(){a.sliderLastPos&&(i.each(a.instance.slides,function(e,t){var n=t.pos-a.instance.currPos;i.fancybox.setTranslate(t.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+n*a.canvasWidth+n*t.opts.gutter})}),a.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(a.distance)>10){if(a.canTap=!1,o.group.length<2&&a.opts.vertical?a.isSwiping="y":o.isDragging||a.opts.vertical===!1||"auto"===a.opts.vertical&&i(e).width()>800?a.isSwiping="x":(r=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=r>45&&r<135?"y":"x"),"y"===a.isSwiping&&i.fancybox.isMobile&&a.isScrollable)return void(a.isScrolling=!0);o.isDragging=a.isSwiping,a.startPoints=a.newPoints,i.each(o.slides,function(e,t){var n,s;i.fancybox.stop(t.$slide),n=i.fancybox.getTranslate(t.$slide),s=i.fancybox.getTranslate(o.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),t.pos===o.current.pos&&(a.sliderStartPos.top=n.top-s.top,a.sliderStartPos.left=n.left-s.left),i.fancybox.setTranslate(t.$slide,{top:n.top-s.top,left:n.left-s.left})}),o.SlideShow&&o.SlideShow.isActive&&o.SlideShow.stop()}},c.prototype.onPan=function(){var e=this;return a(e.newPoints[0],e.realPoints[0])<(i.fancybox.isMobile?10:5)?void(e.startPoints=e.newPoints):(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&s(e.requestId),void(e.requestId=n(function(){i.fancybox.setTranslate(e.$content,e.contentLastPos)})))},c.prototype.limitMovement=function(){var e,t,i,n,s,r,a=this,o=a.canvasWidth,l=a.canvasHeight,d=a.distanceX,c=a.distanceY,u=a.contentStartPos,p=u.left,h=u.top,f=u.width,m=u.height;return s=f>o?p+d:p,r=h+c,e=Math.max(0,.5*o-.5*f),t=Math.max(0,.5*l-.5*m),i=Math.min(o-f,.5*o-.5*f),n=Math.min(l-m,.5*l-.5*m),d>0&&s>e&&(s=e-1+Math.pow(-e+p+d,.8)||0),d<0&&s<i&&(s=i+1-Math.pow(i-p-d,.8)||0),c>0&&r>t&&(r=t-1+Math.pow(-t+h+c,.8)||0),c<0&&r<n&&(r=n+1-Math.pow(n-h-c,.8)||0),{top:r,left:s}},c.prototype.limitPosition=function(e,t,i,n){var s=this,r=s.canvasWidth,a=s.canvasHeight;return i>r?(e=e>0?0:e,e=e<r-i?r-i:e):e=Math.max(0,r/2-i/2),n>a?(t=t>0?0:t,t=t<a-n?a-n:t):t=Math.max(0,a/2-n/2),{top:t,left:e}},c.prototype.onZoom=function(){var t=this,r=t.contentStartPos,o=r.width,l=r.height,d=r.left,c=r.top,u=a(t.newPoints[0],t.newPoints[1]),p=u/t.startDistanceBetweenFingers,h=Math.floor(o*p),f=Math.floor(l*p),m=(o-h)*t.percentageOfImageAtPinchPointX,v=(l-f)*t.percentageOfImageAtPinchPointY,g=(t.newPoints[0].x+t.newPoints[1].x)/2-i(e).scrollLeft(),y=(t.newPoints[0].y+t.newPoints[1].y)/2-i(e).scrollTop(),b=g-t.centerPointStartX,w=y-t.centerPointStartY,x=d+(m+b),T=c+(v+w),C={top:T,left:x,scaleX:p,scaleY:p};t.canTap=!1,t.newWidth=h,t.newHeight=f,t.contentLastPos=C,t.requestId&&s(t.requestId),t.requestId=n(function(){i.fancybox.setTranslate(t.$content,t.contentLastPos)})},c.prototype.ontouchend=function(e){var n=this,a=n.isSwiping,o=n.isPanning,l=n.isZooming,d=n.isScrolling;return n.endPoints=r(e),n.dMs=Math.max((new Date).getTime()-n.startTime,1),n.$container.removeClass("fancybox-is-grabbing"),i(t).off(".fb.touch"),t.removeEventListener("scroll",n.onscroll,!0),n.requestId&&(s(n.requestId),n.requestId=null),n.isSwiping=!1,n.isPanning=!1,n.isZooming=!1,n.isScrolling=!1,n.instance.isDragging=!1,n.canTap?n.onTap(e):(n.speed=100,n.velocityX=n.distanceX/n.dMs*.5,n.velocityY=n.distanceY/n.dMs*.5,void(o?n.endPanning():l?n.endZooming():n.endSwiping(a,d)))},c.prototype.endSwiping=function(e,t){var n=this,s=!1,r=n.instance.group.length,a=Math.abs(n.distanceX),o="x"==e&&r>1&&(n.dMs>130&&a>10||a>50),l=300;n.sliderLastPos=null,"y"==e&&!t&&Math.abs(n.distanceY)>50?(i.fancybox.animate(n.instance.current.$slide,{top:n.sliderStartPos.top+n.distanceY+150*n.velocityY,opacity:0},200),s=n.instance.close(!0,250)):o&&n.distanceX>0?s=n.instance.previous(l):o&&n.distanceX<0&&(s=n.instance.next(l)),s!==!1||"x"!=e&&"y"!=e||n.instance.centerSlide(200),n.$container.removeClass("fancybox-is-sliding")},c.prototype.endPanning=function(){var e,t,n,s=this;s.contentLastPos&&(s.opts.momentum===!1||s.dMs>350?(e=s.contentLastPos.left,t=s.contentLastPos.top):(e=s.contentLastPos.left+500*s.velocityX,t=s.contentLastPos.top+500*s.velocityY),n=s.limitPosition(e,t,s.contentStartPos.width,s.contentStartPos.height),n.width=s.contentStartPos.width,n.height=s.contentStartPos.height,i.fancybox.animate(s.$content,n,366))},c.prototype.endZooming=function(){var e,t,n,s,r=this,a=r.instance.current,o=r.newWidth,l=r.newHeight;r.contentLastPos&&(e=r.contentLastPos.left,t=r.contentLastPos.top,s={top:t,left:e,width:o,height:l,scaleX:1,scaleY:1},i.fancybox.setTranslate(r.$content,s),o<r.canvasWidth&&l<r.canvasHeight?r.instance.scaleToFit(150):o>a.width||l>a.height?r.instance.scaleToActual(r.centerPointStartX,r.centerPointStartY,150):(n=r.limitPosition(e,t,o,l),i.fancybox.animate(r.$content,n,150)))},c.prototype.onTap=function(t){var n,s=this,a=i(t.target),o=s.instance,l=o.current,d=t&&r(t)||s.startPoints,c=d[0]?d[0].x-i(e).scrollLeft()-s.stagePos.left:0,u=d[0]?d[0].y-i(e).scrollTop()-s.stagePos.top:0,p=function(e){var n=l.opts[e];if(i.isFunction(n)&&(n=n.apply(o,[l,t])),n)switch(n){case"close":o.close(s.startEvent);break;case"toggleControls":o.toggleControls();break;case"next":o.next();break;case"nextOrClose":o.group.length>1?o.next():o.close(s.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(o.canPan()?o.scaleToFit():o.isScaledDown()?o.scaleToActual(c,u):o.group.length<2&&o.close(s.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(a.is("img")||!(c>a[0].clientWidth+a.offset().left))){if(a.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))n="Outside";else if(a.is(".fancybox-slide"))n="Slide";else{if(!o.current.$content||!o.current.$content.find(a).addBack().filter(a).length)return;n="Content"}if(s.tapped){if(clearTimeout(s.tapped),s.tapped=null,Math.abs(c-s.tapX)>50||Math.abs(u-s.tapY)>50)return this;p("dblclick"+n)}else s.tapX=c,s.tapY=u,l.opts["dblclick"+n]&&l.opts["dblclick"+n]!==l.opts["click"+n]?s.tapped=setTimeout(function(){s.tapped=null,o.isAnimating||p("click"+n)},500):p("click"+n);return this}},i(t).on("onActivate.fb",function(e,t){t&&!t.Guestures&&(t.Guestures=new c(t))}).on("beforeClose.fb",function(e,t){t&&t.Guestures&&t.Guestures.destroy()})}(window,document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var i=function(e){this.instance=e,this.init()};t.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,i=e.instance,n=i.group[i.currIndex].opts.slideShow;e.$button=i.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){e.toggle()}),i.group.length<2||!n?e.$button.hide():n.progress&&(e.$progress=t('<div class="fancybox-progress"></div>').appendTo(i.$refs.inner))},set:function(e){var i=this,n=i.instance,s=n.current;s&&(e===!0||s.opts.loop||n.currIndex<n.group.length-1)?i.isActive&&"video"!==s.contentType&&(i.$progress&&t.fancybox.animate(i.$progress.show(),{scaleX:1},s.opts.slideShow.speed),i.timer=setTimeout(function(){n.current.opts.loop||n.current.index!=n.group.length-1?n.next():n.jumpTo(0)},s.opts.slideShow.speed)):(i.stop(),n.idleSecondsCounter=0,n.showControls())},clear:function(){var e=this;clearTimeout(e.timer),e.timer=null,e.$progress&&e.$progress.removeAttr("style").hide()},start:function(){var e=this,t=e.instance.current;t&&(e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),e.isActive=!0,t.isComplete&&e.set(!0),e.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this,t=e.instance.current;e.clear(),e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),e.isActive=!1,e.instance.trigger("onSlideShowChange",!1),e.$progress&&e.$progress.removeAttr("style").hide()},toggle:function(){var e=this;e.isActive?e.stop():e.start()}}),t(e).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new i(t))},"beforeShow.fb":function(e,t,i,n){var s=t&&t.SlideShow;n?s&&i.opts.slideShow.autoStart&&s.start():s&&s.isActive&&s.clear()},"afterShow.fb":function(e,t,i){var n=t&&t.SlideShow;n&&n.isActive&&n.set()},"afterKeydown.fb":function(i,n,s,r,a){var o=n&&n.SlideShow;!o||!s.opts.slideShow||80!==a&&32!==a||t(e.activeElement).is("button,a,input")||(r.preventDefault(),o.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var i=t&&t.SlideShow;i&&i.stop()}}),t(e).on("visibilitychange",function(){var i=t.fancybox.getInstance(),n=i&&i.SlideShow;n&&n.isActive&&(e.hidden?n.clear():n.set())})}(document,jQuery),function(e,t){"use strict";var i=function(){for(var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["
15webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i={},n=0;n<t.length;n++){var s=t[n];if(s&&s[1]in e){for(var r=0;r<s.length;r++)i[t[0][r]]=s[r];return i}}return!1}();if(i){var n={request:function(t){t=t||e.documentElement,t[i.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[i.exitFullscreen]()},toggle:function(t){t=t||e.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(e[i.fullscreenElement])},enabled:function(){return Boolean(e[i.fullscreenEnabled])}};t.extend(!0,t.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),t(e).on(i.fullscreenchange,function(){var e=n.isFullscreen(),i=t.fancybox.getInstance();i&&(i.current&&"image"===i.current.type&&i.isAnimating&&(i.isAnimating=!1,i.update(!0,!0,0),i.isComplete||i.complete()),i.trigger("onFullscreenChange",e),i.$refs.container.toggleClass("fancybox-is-fullscreen",e),i.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))})}t(e).on({"onInit.fb":function(e,t){var s;return i?void(t&&t.group[t.currIndex].opts.fullScreen?(s=t.$refs.container,s.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation(),e.preventDefault(),n.toggle()}),t.opts.fullScreen&&t.opts.fullScreen.autoStart===!0&&n.request(),t.FullScreen=n):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()):void t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,i,n,s){t&&t.FullScreen&&70===s&&(n.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&n.exit()}})}(document,jQuery),function(e,t){"use strict";var i="fancybox-thumbs",n=i+"-active";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var s=function(e){this.init(e)};t.extend(s.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,i=e.group,n=0;t.instance=e,t.opts=i[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var s=0,r=i.length;s<r&&(i[s].thumb&&n++,!(n>1));s++);n>1&&t.opts?(t.$button.removeAttr("style").on("click",function(){t.toggle()}),t.isActive=!0):t.$button.hide()},create:function(){var e,n=this,s=n.instance,r=n.opts.parentEl,a=[];n.$grid||(n.$grid=t('<div class="'+i+" "+i+"-"+n.opts.axis+'"></div>').appendTo(s.$refs.container.find(r).addBack().filter(r)),n.$grid.on("click","a",function(){s.jumpTo(t(this).attr("data-index"))})),n.$list||(n.$list=t('<div class="'+i+'__list">').appendTo(n.$grid)),t.each(s.group,function(t,i){e=i.thumb,e||"image"!==i.type||(e=i.src),a.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(e&&e.length?' style="background-image:url('+e+')"':'class="fancybox-thumbs-missing"')+"></a>")}),n.$list[0].innerHTML=a.join(""),"x"===n.opts.axis&&n.$list.width(parseInt(n.$grid.css("padding-right"),10)+s.group.length*n.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,i,s=this,r=s.$list,a=s.$grid;s.instance.current&&(t=r.children().removeClass(n).filter('[data-index="'+s.instance.current.index+'"]').addClass(n),i=t.position(),"y"===s.opts.axis&&(i.top<0||i.top>r.height()-t.outerHeight())?r.stop().animate({scrollTop:r.scrollTop()+i.top},e):"x"===s.opts.axis&&(i.left<a.scrollLeft()||i.left>a.scrollLeft()+(a.width()-t.outerWidth()))&&r.parent().stop().animate({scrollLeft:i.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.instance.update(
vendor: 6,720 bytes, line 15
15)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var i;t&&!t.Thumbs&&(i=new s(t),i.isActive&&i.opts.autoStart===!0&&i.show())},"beforeShow.fb":function(e,t,i,n){var s=t&&t.Thumbs;s&&s.isVisible&&s.focus(n?0:250)},"afterKeydown.fb":function(e,t,i,n,s){var r=t&&t.Thumbs;r&&r.isActive&&71===s&&(n.preventDefault(),r.toggle())},"beforeClose.fb":function(e,t){var i=t&&t.Thumbs;i&&i.isVisible&&i.opts.hideOnClose!==!1&&i.$grid.hide()}})}(document,jQuery),function(e,t){"use strict";function i(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})}t.extend(!0,t.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),t(e).on("click","[data-fancybox-share]",function(){var e,n,s=t.fancybox.getInstance(),r=s.current||null;r&&("function"===t.type(r.opts.share.url)&&(e=r.opts.share.url.apply(r,[s,r])),n=r.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===r.type?encodeURIComponent(r.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,i(e)).replace(/\{\{descr\}\}/g,s.$caption?encodeURIComponent(s.$caption.text()):""),t.fancybox.open({src:s.translate(s,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){s.$refs.container.one("beforeClose.fb",function(){e.close(null,0)}),t.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})}(document,jQuery),function(e,t,i){"use strict";function n(){var t=e.location.hash.substr(1),i=t.split("-"),n=i.length>1&&/^\+?\d+$/.test(i[i.length-1])?parseInt(i.pop(-1),10)||1:1,s=i.join("-");return{hash:t,index:n<1?1:n,gallery:s}}function s(e){""!==e.gallery&&i("[data-fancybox='"+i.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function r(e){var t,i;return!!e&&(t=e.current?e.current.opts:e.opts,i=t.hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""),""!==i&&i)}i.escapeSelector||(i.escapeSelector=function(e){var t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e};return(e+"").replace(t,i)}),i(function(){i.fancybox.defaults.hash!==!1&&(i(t).on({"onInit.fb":function(e,t){var i,s;t.group[t.currIndex].opts.hash!==!1&&(i=n(),s=r(t),s&&i.gallery&&s==i.gallery&&(t.currIndex=i.index-1))},"beforeShow.fb":function(i,n,s,a){var o;s&&s.opts.hash!==!1&&(o=r(n),o&&(n.currentHash=o+(n.group.length>1?"-"+(s.index+1):""),e.location.hash!=="#"+n.currentHash&&(a&&!n.origHash&&(n.origHash=e.location.hash),n.hashTimer&&clearTimeout(n.hashTimer),n.hashTimer=setTimeout(function(){"replaceState"in e.history?(e.history[a?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+n.currentHash),a&&(n.hasCreatedHistory=!0)):e.location.hash=n.currentHash,n.hashTimer=null},300))))},"beforeClose.fb":function(i,n,s){s&&s.opts.hash!==!1&&(clearTimeout(n.hashTimer),n.currentHash&&n.hasCreatedHistory?e.history.back():n.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(n.origHash||"")):e.location.hash=n.origHash),n.currentHash=null)}}),i(e).on("hashchange.fb",function(){var e=n(),t=null;i.each(i(".fancybox-container").get().reverse(),function(e,n){var s=i(n).data("FancyBox");if(s&&s.currentHash)return t=s,!1}),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&s(e)}),setTimeout(function(){i.fancybox.getInstance()||s(n())},50))})}(window,document,jQuery),function(e,t){"use strict";var i=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,n){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(e){var n=t.current,s=(new Date).getTime();t.group.length<2||n.opts.wheel===!1||"auto"===n.opts.wheel&&"image"!==n.type||(e.preventDefault(),e.stopPropagation(),n.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,s-i<250||(i=s,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))})}})}(document,jQuery),function(e){function t(){}function i(e,t,i){var n=new Date;n.setTime(n.getTime()+12*i*60*60*1e3),document.cookie=e+"="+t+";expires="+n.toUTCString()}function n(e,t){var i=e.data("lat"),n=e.data("lng"),s={lat:parseFloat(i),lng:parseFloat(n)},r=new google.maps.Marker({position:s,map:t});if(t.markers.push(r),e.html()){var a=new google.maps.InfoWindow({content:e.html()});google.maps.event.addListener(r,"click",function(){a.open(t,r)}
15)}}function s(e){var t=new google.maps.LatLngBounds;e.markers.forEach(function(e){t.extend({lat:e.position.lat(),lng:e.position.lng()})}),1==e.markers.length?e.setCenter(t.getCenter()):e.fitBounds(t)}function r(t){var i=t.find(".marker"),r={zoom:t.data("zoom")||16,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!1,styles:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}]},a=new google.maps.Map(t[0],r);return a.markers=[],i.each(function(){n(e(this),a)}),s(a),a}var a=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;a&&jQuery("header").append("<style>*{font-family: 'Open Sans', sans-serif; }</style>");document.documentElement.scrollTop;e(document).ready(function(){e(window).scroll(function(){e(window).scrollTop()>=10?(e(".top-ribbon").addClass("hidden"),e(".menu-click").addClass("hidden-ribbon")):(e(".top-ribbon").removeClass("hidden"),e(".menu-click").removeClass("hidden-ribbon"))}),t(),e(".popup-wrap").length>0?(console.log(1),setTimeout(function(){1!=sessionStorage.getItem("popup")&&(e(".popup-wrap").hasClass("shown")||(e(".popup-wrap").show().addClass("shown"),e(".popup-wrap").find(".subscribe_form").addClass("active")))},2e4)):console.log(0)}),e(document).on("click",".popup-wrap.shown .subscribe_form .subscribe_popup_close",function(){e(".popup-wrap").find(".subscribe_form").removeClass("active"),e(this).parent().parent().hide(),sessionStorage.setItem("popup",1)});var o=0,l=0,d=0;document.addEventListener("mousemove",function(e){o=e.clientX,l=e.clientY}),e(document).mouseleave(function(){1!=sessionStorage.getItem("popup")&&l<100&&(d<1&&!e(".popup-wrap").hasClass("shown")&&(e(".popup-wrap").show().addClass("shown"),e(".popup-wrap").find(".subscribe_form").addClass("active")),d++)}),e(".menu-item-has-children").on("click",function(){e(this).find("ul.sub-menu").hasClass("open")?e(this).find("ul.sub-menu").removeClass("open"):e(this).find("ul.sub-menu").addClass("open")}),e("nav.pagination.custom-ajax.studenti a").click(function(t){;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.